HERCULES: Hierarchical Embedding-based Recursive Clustering Using LLMs for Efficient Summarization
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2025Gemma 3 Technical Reportcited by 1,824
- 2024Concept Induction: Analyzing Unstructured Text with High-Level Concepts Using LLooMcited by 78
- 2023Large Language Models Enable Few-Shot Clusteringcited by 72
- 2024Clio: Privacy-Preserving Insights into Real-World AI Usecited by 72
- 2024Automatic Data Curation for Self-Supervised Learning: A Clustering-Based Approachcited by 50
- 2024Text Clustering with Large Language Model Embeddingscited by 27
- 2023Image Clustering Conditioned on Text Criteriacited by 26
3 more
- 2024Text Clustering as Classification with LLMscited by 16
- 2024Context-Aware Clustering using Large Language Modelscited by 9
- 2024Human-interpretable clustering of short-text using large language modelscited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
- 2025LLM-MemCluster: Empowering Large Language Models with Dynamic Memory for Text Clusteringcited by 3
- 2025LogiPart: Local Large Language Models for Data Exploration at Scale with Logical Partitioningcited by 0
- 2026Manifold Bandits: Bayesian Curriculum Learning over the Latent Geometry of Large Language Modelscited by 0
- 2026Manifold Bandits: Bayesian Curriculum Learning over the Latent Geometry of Large Language Models18 Jun 2026
- 2025LLM-MemCluster: Empowering Large Language Models with Dynamic Memory for Text Clustering19 Nov 2025
- 2025LogiPart: Local Large Language Models for Data Exploration at Scale with Logical Partitioning26 Sep 2025