ArchTopic - LLM-Enhanced Framework for Archival Topic Extraction and Thematic Clustering
Concise topic tagging of individual records enhances searchability and supports targeted thematic analysis within large archival corpora. Aggregating these tags into higher-level representations enables macro-scale pattern discovery and user-centric navigation across heterogeneous historical datasets. To meet these objectives, we developed a three-stage computational framework named ArchTopic - LLM-Enhanced Framework for Archival Topic Extraction and Thematic Clustering. Stage 1 applies zero-shot prompting with the LLaMA 3.2 3B model for context-driven topic extraction. Stage 2 enforces semantic alignment between generated topics and source texts through multilingual embedding comparison, cosine-similarity thresholding, and iterative refinement via a dual-LLM ensemble. Stage 3 builds a higher-level representation of the entire corpus by concatenating validated text and topic embeddings, reducing dimensionality with UMAP for topology preservation, clustering with k-means determined by the elbow criterion, and labeling clusters using YAKE (Yet Another Keyword Extractor) augmented with LLM-guided label synthesis. Our evaluation of more than 180,000 administrative correspondence records (1581–1859) from the Portuguese Overseas Historical Archive (Arquivo Histórico Ultramarino), specifically the Collection of Conselho Ultramarino, shows that the proposed framework produces well-separated, semantically coherent clusters, while embedding-space visualizations and word-cloud analyses confirm thematic integrity. We validate the framework’s superior cluster distinctiveness, label coherence, and computational throughput through comparative benchmarks against traditional Latent Dirichlet Allocation (LDA) and BERTopic approaches. Integrated LLM prompting, embedding validation, and clustering algorithms together establish a reproducible, scalable framework for thematic exploration and intuitive navigation of extensive archival collections.
- Link
- https://zenodo.org/records/24404807
- Found by
- Zenodo
- Authors
- Błoch, Agata, Hussain, Saddam, Vicente Martín, Irene María, Vasques Filho, Demival, Podsiadły, Artur
- Categories
- benchmark, evaluation, dataset
- Published
- 2026-11-21 (dated by deposition created; source publication_date was 2026-11-23)
- Last seen by the radar
- 2026-11-21
- Downloads
- 0
- Views
- 0
- Radar score
- 53.72 / 100 (how it is scored)
- Why it scored so
- Matched: benchmark, corpus, dataset, evaluat; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.24404807