mlsanityData to 14 Oct 2026

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

arXiv 2506.19992 ↗First posted 24 Jun 2025cs.LG cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

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 `topicseed' 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.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 15 of its 24 references that are in the map. First posted on arXiv 24 Jun 2025.

Builds on

15 of 24 references.

References · 15

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  6. 2025Gemma 3 Technical Reportcited by 1,824
  7. 2024Concept Induction: Analyzing Unstructured Text with High-Level Concepts Using LLooMcited by 78
  8. 2023Large Language Models Enable Few-Shot Clusteringcited by 72
  9. 2024Clio: Privacy-Preserving Insights into Real-World AI Usecited by 72
  10. 2024Automatic Data Curation for Self-Supervised Learning: A Clustering-Based Approachcited by 50
  11. 2024Text Clustering with Large Language Model Embeddingscited by 27
  12. 2023Image Clustering Conditioned on Text Criteriacited by 26
3 more
  1. 2024Text Clustering as Classification with LLMscited by 16
  2. 2024Context-Aware Clustering using Large Language Modelscited by 9
  3. 2024Human-interpretable clustering of short-text using large language modelscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.