paper-with-me

홈 › Papers

Context-Aware Clustering using Large Language Models

2024-05-02 · Sindhu Tipirneni, Ravinarayana Adkathimar, Nurendra Choudhary, Gaurush Hiranandani, Rana Ali Amjad, Vassilis N. Ioannidis, Changhe Yuan, Chandan K. Reddy

Despite the remarkable success of Large Language Models (LLMs) in text understanding and generation, their potential for text clustering tasks remains underexplored. We observed that powerful closed-source LLMs provide good quality clusterings of entity sets but are not scalable due to the massive compute power required and the associated costs. Thus, we propose CACTUS (Context-Aware ClusTering with aUgmented triplet losS), a systematic approach that leverages open-source LLMs for efficient and effective supervised clustering of entity subsets, particularly focusing on text-based entities. Existing text clustering methods fail to effectively capture the context provided by the entity subset. Moreover, though there are several language modeling based approaches for clustering, very few are designed for the task of supervised clustering. This paper introduces a novel approach towards clustering entity subsets using LLMs by capturing context via a scalable inter-entity attention mechanism. We propose a novel augmented triplet loss function tailored for supervised clustering, which addresses the inherent challenges of directly applying the triplet loss to this problem. Furthermore, we introduce a self-supervised clustering task based on text augmentation techniques to improve the generalization of our model. For evaluation, we collect ground truth clusterings from a closed-source LLM and transfer this knowledge to an open-source LLM under the supervised clustering framework, allowing a faster and cheaper open-source model to perform the same task. Experiments on various e-commerce query and product clustering datasets demonstrate that our proposed approach significantly outperforms existing unsupervised and supervised baselines under various external clustering evaluation metrics.

📄 PDF Abstract BibTeX arXiv:2405.00988

Code (0)

등록된 구현이 없습니다.

Tasks

ClusteringLanguage ModelingLanguage ModellingText AugmentationText ClusteringTriplet

Methods 이 논문이 사용한 방법론

Triplet Loss The goal of Triplet loss, in the context of Siamese Networks, is to maximize the joint probability among all score-pairs i.e. the product of all probabilities. By using its…

Similar Papers 제목 키워드 기반

Task-Aware Clustering for Prompting Vision-Language Models

2025-01-01 · CVPR 2025 1 · Fusheng Hao, Fengxiang He, Fuxiang Wu, Tichao Wang 외

Prompt learning has attracted widespread attention in adapting vision-language models to downstream tasks. Existing methods largely rely on optimization strategies to ensure the task-awareness of learnable prompts. D…

ClusteringDomain GeneralizationPrompt Learning

Context-Aware Hierarchical Taxonomy Generation for Scientific Papers via LLM-Guided Multi-Aspect Clustering

2025-09-23 · Kun Zhu, Lizi Liao, Yuxuan Gu, Lei Huang 외 arxiv

The rapid growth of scientific literature demands efficient methods to organize and synthesize research findings. Existing taxonomy construction methods, leveraging unsupervised clustering or direct prompting of large la…

Word Sense Induction with Attentive Context Clustering

2021-12-01 · NLP4DH (ICON) 2021 12 · Moshe Stekel, Amos Azaria, Shai Gordin

In this paper, we present ACCWSI (Attentive Context Clustering WSI), a method for Word Sense Induction, suitable for languages with limited resources. Pretrained on a small corpus and given an ambiguous word (query word)…

ClusteringWord Sense Induction

Struc-EMB: The Potential of Structure-Aware Encoding in Language Embeddings

2025-10-09 · Shikun Liu, Haoyu Wang, Mufei Li, Pan Li arxiv

Text embeddings from Large Language Models (LLMs) have become foundational for numerous applications. However, these models typically operate on raw text, overlooking the rich structural information, such as hyperlinks o…

CATMark: A Context-Aware Thresholding Framework for Robust Cross-Task Watermarking in Large Language Models

2025-09-27 · Yu Zhang, Shuliang Liu, Xu Yang, Xuming Hu arxiv

Watermarking algorithms for Large Language Models (LLMs) effectively identify machine-generated content by embedding and detecting hidden statistical features in text. However, such embedding leads to a decline in text q…

Text Generation