Pith. sign in

REVIEW 2 cited by

Context-Aware Clustering using Large Language Models

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2405.00988 v1 pith:GAWY7KPE submitted 2024-05-02 cs.CL cs.LG

classification cs.CLcs.LG
keywords clusteringsupervisedentityllmstextapproachlanguageloss
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. In-context Clustering-based Entity Resolution with Large Language Models: A Design Space Exploration

    cs.DB 2025-06 conditional novelty 6.0 of 10

    In-context clustering, where an LLM groups sets of records directly, can perform entity resolution with far fewer API calls than pairwise matching, though quality gains depend heavily on an embedding-based guardrail.

  2. HERCULES: Hierarchical Embedding-based Recursive Clustering Using LLMs for Efficient Summarization

    cs.LG 2025-06 conditional novelty 5.0 of 10

    A recursive k-means clustering pipeline that asks an LLM to summarize each cluster at every level, with a demonstration on 20 Newsgroups.

Pith tools