REVIEW 3 major objections 5 minor 19 references
HERCULES: Hierarchical Embedding-based Recursive Clustering Using LLMs for Efficient Summarization
T0 review · 3 major / 5 minor · reviewed 2026-08-06 · deepseek-v4-flash
Pith's one-line read Recursive k-means plus LLM-written labels turns abstract clusters into a readable tree of topics.
desk verdict A transparent, well-engineered clustering tool that clearly credits its borrowed core, but the interpretability payoff is asserted rather than measured. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The machinery is a recursive k-means loop in which the representation of a parent cluster is the centroid of its children, with an optional iterative resampling step that re-runs k-means on core members to refine centroids. After each level, an adaptive LLM prompt is assembled per cluster from representative level-0 items, sampled immediate child summaries, optional numeric statistics, and an optional 'topic seed' that orients the labeling; responses are parsed as JSON and embedded for the next level when description mode is active. This prompt pipeline is what carries the interpretability claim, because every node of the tree ends up carrying a short human-readable label grounded in the data below it.
What would settle it
Ask human evaluators to inspect a random sample of clusters from the 20 Newsgroups runs and mark each LLM title as accurate, partial, or wrong against the cluster's actual documents; if a substantial share of titles are marked wrong or partial, the interpretability claim fails. A cheaper version: hold out half of each cluster's members, generate the title from the other half, and measure how often the title matches the held-out members better than titles from other clusters.
Extended reading notes
Core claim
The paper's central discovery is that LLM-generated summaries can be made the organizing interface of a hierarchical cluster tree. Starting from individual items at level 0, Hercules applies k-means recursively, and after each merge it prompts an LLM with representative level-0 samples, immediate children's titles and descriptions, and (for numeric data) statistics, asking for a concise title and one-to-two-sentence description per cluster. In 'direct' mode clustering uses the original item embeddings; in 'description' mode higher levels cluster the embeddings of the LLM summaries themselves, letting the model's semantic reading steer the hierarchy. The authors report that on the 20 Newsgroups corpus the resulting three-level tree yields top-level themes such as hardware, sports, and religion, with the LLM also isolating an 'empty posts' cluster, and that the best Hercules configuration reaches an adjusted Rand index of 0.405 against 0.468 for flat k-means on the same embeddings. They read this as competitive performance plus an interpretability bonus that the metrics do not capture.
Load-bearing premise
The load-bearing premise is that a few sampled items, plus the previous level's summaries, give the LLM enough information to write a title and description that faithfully represent the whole cluster; the paper does not verify this with human judges.
Editorial extensions
If this is right
- A user can explore a large corpus top-down: broad themes at the top, finer sub-themes at each lower level, without reading the raw items.
- Because every cluster carries a description embedding, cluster quality can be assessed in summary space, not only in original feature space.
- The topic seed gives analysts a way to steer labels toward their research question, and in description mode this steering propagates up the hierarchy.
- The same code path handles text, images, and numeric vectors one modality at a time, so the interpretability layer transfers across data types.
- If the summaries are trustworthy, the hierarchy itself becomes a deliverable: a structured, human-readable map of an unlabeled dataset.
Reading between the lines
- The interpretability claim is only as strong as the summary fidelity; a direct extension would be a human evaluation where annotators judge whether each title covers all or almost all members of its cluster.
- Description mode's lower ARI in the paper may understate its value: the summaries could be judged on whether they capture the data's actual themes, not on recovering the original newsgroup labels.
- The pipeline could be applied to any recursive partition, not just k-means; replacing k-means with another hierarchical algorithm would preserve the LLM-summarization contribution.
- The interactive visualization suggests a testable workflow: users who navigate by LLM titles should find relevant documents faster than users navigating raw embeddings or PCA coordinates.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces HERCULES, a hierarchical k-means clustering algorithm that recursively partitions data (text, images, or numeric vectors, one modality per run) and uses LLMs to generate a title and description for every cluster at every level. The method supports a 'direct' mode (clustering on original embeddings or scaled features) and a 'description' mode (clustering on embeddings of LLM-generated summaries), an optional topic seed to guide summarization, iterative centroid resampling, and a companion Python package with evaluation metrics and an interactive Dash visualization app. The authors evaluate the method on the 20 Newsgroups dataset, comparing a representative HERCULES configuration with LSA-based and flat embedding-based baselines, and report a 2^5 factorial ablation over representation mode, embedding model, LLM model, resampling, and topic seed. The central claim is that LLM-generated summaries at each hierarchy level significantly enhance interpretability compared with flat clustering.
Significance. The idea of combining recursive k-means with LLM-generated cluster explanations is timely and the open-source implementation (with visualization and evaluation tooling) is a potentially useful practical contribution. The paper is clearly written and the algorithmic details are transparent. However, the main quantitative evidence does not yet substantiate the central claim: HERCULES is slightly worse than flat CloudEmbeddings+KMeans on ARI/NMI, and the proposed interpretability advantage is supported only by anecdotal examples and by self-referential embedding-based metrics that share the same embedding model used for clustering. If a rigorous human evaluation (or an equivalent fidelity test against ground-truth topic descriptions) were added and showed genuine improvements in human understanding, the paper would be a solid systems contribution. As it stands, the headline claim is plausible but unverified.
major comments (3)
- [§7.2, §7.3] The paper's central claim—stated in the abstract and reiterated in §8—is that LLM-generated titles and descriptions 'significantly enhance interpretability.' This claim is supported only by the qualitative examples in §7.3 from a single dataset and by the LLM Silhouette score in §7.2. No human evaluation, structured user study, or comparison of generated summaries against ground-truth topic descriptions is provided. The LLM Silhouette is computed on embeddings of the summaries themselves and therefore measures distinctiveness of the summaries in an embedding space, not their fidelity or usefulness to a human reader. A user study with ratings of title/description accuracy, informativeness, or usefulness for identifying cluster content is required to support the headline claim.
- [§7.1] The head-to-head comparison in Table 1 shows that HERCULES (direct mode, cloud models) achieves ARI 0.405 and NMI 0.591, whereas flat CloudEmbeddings+KMeans achieves ARI 0.468 and NMI 0.618. The text acknowledges this but argues that HERCULES provides a 'full interpretable hierarchy' as a qualitative advantage. Since interpretability is never measured, the empirical record currently shows only a modest accuracy loss without any demonstrated benefit. The comparison would be persuasive if interpretability were quantified on the same runs, e.g., by having users identify cluster content or verify titles against held-out items.
- [§3.4, §3.7] The fidelity of the LLM summaries depends on the representative L0 samples and child summaries included in the prompt, yet no sensitivity analysis is reported for prompt_l0_sample_size, sampling strategy, or prompt_immediate_child_sample_size. For large clusters (such as the 'Replies, Responses, and General Discussions' cluster in §7.3), the sampled items may not reflect the cluster's overall content, and higher-level summaries built from child summaries may compound sampling errors. Additionally, the Topic Alignment Score defined in §3.7 uses the same embedding model family that produced the cluster representations and description embeddings; it measures geometric alignment in that embedding space, not semantic fidelity to a human topic. A sensitivity analysis, ideally combined with human-rated summary fidelity, is needed to establish that the generated summaries are not artifacts of an unrepresentative sample.
minor comments (5)
- [§4, Algorithm 3] In Algorithm 3, the variable 'L' is first used as the LLM client in Algorithm 1 and in line 31, but line 12 assigns the k-means output to 'L, Ccentroids', shadowing the LLM client with a labels variable. Please rename the labels variable (e.g., 'lab') to avoid confusion.
- [§6.3, Table 1] The reported 'Clustering Time' is difficult to interpret because the text notes that HERCULES runtimes benefited from an embedding cache, but it is not clear whether the reported values include LLM summarization time or only the k-means loop. Please clarify what the timing includes.
- [Throughout] The paper uses both 'HERCULES' (abstract, title) and 'Hercules' (body text) inconsistently; please standardize the capitalization.
- [§7.1] The phrase 'dramatic improvement of more than 7x over the best LSA baseline' is misleading because the embedding baselines also show large improvements over LSA; the comparison is really about embedding-based methods versus LSA, not about HERCULES specifically.
- [§7.2] For description mode, the LLM Silhouette is computed on the same description embeddings used for clustering; this should be acknowledged as a coherence measure for the summarization process rather than a measure of interpretation quality.
Circularity Check
No circular derivation: HERCULES's recursive k-means core is externally credited, and its quantitative claims rest on standard external ARI/NMI comparisons rather than fitted parameters.
full rationale
The paper's central chain is algorithmic rather than derived: HERCULES applies recursive k-means (explicitly attributed to Vo et al. 2024) and augments each cluster with LLM-generated titles/descriptions. No parameter is fitted to the evaluation targets, no self-citation provides load-bearing justification, and no uniqueness theorem is imported from the authors' prior work. The main quantitative evidence against baselines uses standard external metrics (ARI, NMI) on 20 Newsgroups ground-truth labels, which are independent of the method's internals. The LLM-silhouette and topic-alignment scores are embedding-based proxies and could be questioned on validity grounds (e.g., the same embedding family is used for clustering and for evaluating summary separability, and interpretability is not measured by human raters), but those are correctness/validation limitations, not circular reductions by construction. The derivation chain is therefore self-contained.
Assumptions & free parameters
free parameters (4)
- level_cluster_counts =
[100, 20, 5]
- use_resampling =
True/False
- representation_mode =
'direct' or 'description'
- prompt_l0_sample_size =
Not specified
assumptions (4)
- standard math K-means minimizes within-cluster variance on the given representations.
- domain assumption Pre-trained embedding models produce vectors whose similarities reflect semantic similarity.
- domain assumption LLMs return valid JSON and produce titles and descriptions that are faithful summaries of the provided context.
- domain assumption The 20 Newsgroups dataset labels correspond to sensible clusters.
Cite this review
Pith. "Pith review of HERCULES: Hierarchical Embedding-based Recursive Clustering Using LLMs for Efficient Summarization." pith.science (2026). https://pith.science/paper/CU6IK7HP
@misc{pith2026250619992,
author = {Pith},
title = {Pith review of: HERCULES: Hierarchical Embedding-based Recursive Clustering Using LLMs for Efficient Summarization},
year = {2026},
howpublished = {\url{https://pith.science/paper/CU6IK7HP}},
note = {Machine review of arXiv:2506.19992}
}
read the original abstract
The explosive growth of complex datasets across various modalities necessitates advanced analytical tools that not only group data effectively but also provide human-understandable insights into the discovered structures. We introduce HERCULES (Hierarchical Embedding-based Recursive Clustering Using LLMs for Efficient Summarization), a novel algorithm and Python package designed for hierarchical k-means clustering of diverse data types, including text, images, and numeric data (processed one modality per run). HERCULES constructs a cluster hierarchy by recursively applying k-means clustering, starting from individual data points at level 0. A key innovation is its deep integration of Large Language Models (LLMs) to generate semantically rich titles and descriptions for clusters at each level of the hierarchy, significantly enhancing interpretability. The algorithm supports two main representation modes: `direct' mode, which clusters based on original data embeddings or scaled numeric features, and `description' mode, which clusters based on embeddings derived from LLM-generated summaries. Users can provide a `topic\_seed' to guide LLM-generated summaries towards specific themes. An interactive visualization tool facilitates thorough analysis and understanding of the clustering results. We demonstrate HERCULES's capabilities and discuss its potential for extracting meaningful, hierarchical knowledge from complex datasets.
Figures
Reference graph
Works this paper leans on
-
[1]
Language models are few-shot learners
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Pra- fulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information pro- cessing systems, 33:1877–1901, 2020
work page 1901
-
[2]
Bert: Pre- training of deep bidirectional transformers for language understanding
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre- training of deep bidirectional transformers for language understanding. In Proceed- ings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 (long and short papers), pages 4171–4186, 2019
work page 2019
-
[3]
Text clustering as classification with llms
Chen Huang and Guoxiu He. Text clustering as classification with llms. arXiv preprint arXiv:2410.00927, 2024
arXiv 2024
-
[4]
Anil K Jain, M Narasimha Murty, and Patrick J Flynn. Data clustering: a review. ACM computing surveys (CSUR) , 31(3):264–323, 1999
work page 1999
-
[5]
Image clustering conditioned on text criteria
Sehyun Kwon, Jaeseung Park, Minkyu Kim, Jaewoong Cho, Ernest K Ryu, and Kangwook Lee. Image clustering conditioned on text criteria. arXiv preprint arXiv:2310.18297, 2023
arXiv 2023
-
[6]
Concept induction: Analyzing unstructured text with high-level concepts using lloom
Michelle S Lam, Janice Teoh, James A Landay, Jeffrey Heer, and Michael S Bern- stein. Concept induction: Analyzing unstructured text with high-level concepts using lloom. In Proceedings of the 2024 CHI Conference on Human Factors in Computing Systems, pages 1–28, 2024
work page 2024
-
[7]
Human-interpretable clustering of short text using large language models
Justin K Miller and Tristram J Alexander. Human-interpretable clustering of short text using large language models. Royal Society Open Science , 12(1):241692, 2025
work page 2025
-
[8]
Tom Mitchell. Twenty Newsgroups. UCI Machine Learning Repository, 1997. DOI: https://doi.org/10.24432/C5C323
doi:10.24432/c5c323 1997
Show all 19 references
-
[9]
A data and analytics web app framework for python, no javascript required
Chris Parmer, Philippe Duval, and Alex Johnson. A data and analytics web app framework for python, no javascript required
-
[10]
Pedregosa, G
F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blon- del, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Courna- peau, M. Brucher, M. Perrot, and E. Duchesnay. Scikit-learn: Machine learning in Python. Journal of Machine Lear...
2011
-
[11]
Learning transferable visual models from natural language supervision
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sand- hini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In Interna- tional conference on machine learning...
2021
-
[12]
Sentence-bert: Sentence embeddings using siamese bert-networks
Nils Reimers and Iryna Gurevych. Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv preprint arXiv:1908.10084 , 2019. 21
1908 arXiv
-
[13]
Clio: Privacy-preserving insights into real-world ai use
Alex Tamkin, Miles McCain, Kunal Handa, Esin Durmus, Liane Lovitt, Ankur Rathi, Saffron Huang, Alfred Mountfield, Jerry Hong, Stuart Ritchie, et al. Clio: Privacy-preserving insights into real-world ai use. arXiv preprint arXiv:2412.13678 , 2024
2024 arXiv
-
[14]
Gemini: a family of highly capable multimodal models
Gemini Team, Rohan Anil, Sebastian Borgeaud, Jean-Baptiste Alayrac, Jiahui Yu, Radu Soricut, Johan Schalkwyk, Andrew M Dai, Anja Hauth, Katie Millican, et al. Gemini: a family of highly capable multimodal models. arXiv preprint arXiv:2312.11805, 2023
2023 arXiv
-
[15]
Gemma 3 technical report
Gemma Team, Aishwarya Kamath, Johan Ferret, Shreya Pathak, Nino Vieillard, Ramona Merhej, Sarah Perrin, Tatiana Matejovicova, Alexandre Ram´ e, Morgane Rivi` ere, et al. Gemma 3 technical report. arXiv preprint arXiv:2503.19786 , 2025
2025 arXiv
-
[16]
Context-aware clustering using large language models
Sindhu Tipirneni, Ravinarayana Adkathimar, Nurendra Choudhary, Gaurush Hi- ranandani, Rana Ali Amjad, Vassilis N Ioannidis, Changhe Yuan, and Chandan K Reddy. Context-aware clustering using large language models. arXiv preprint arXiv:2405.00988, 2024
2024 arXiv
-
[17]
Llama: Open and efficient foundation language models
Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timoth´ ee Lacroix, Baptiste Rozi` ere, Naman Goyal, Eric Hambro, Faisal Azhar, et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023
2023 arXiv
-
[18]
Large language models enable few-shot clustering
Vijay Viswanathan, Kiril Gashteovski, Kiril Gashteovski, Carolin Lawrence, Tong- shuang Wu, and Graham Neubig. Large language models enable few-shot clustering. Transactions of the Association for Computational Linguistics , 12:321–333, 2024
2024
-
[19]
Automatic data curation for self-supervised learning: A clustering-based ap- proach
Huy V Vo, Vasil Khalidov, Timoth´ ee Darcet, Th´ eo Moutakanni, Nikita Smetanin, Marc Szafraniec, Hugo Touvron, Camille Couprie, Maxime Oquab, Armand Joulin, et al. Automatic data curation for self-supervised learning: A clustering-based ap- proach. arXiv preprint arXiv:2405.1...
2024 arXiv
Reviewed August 6, 2026 · model on record in the stance chip above.
Discussion (0). Sign in to comment.