Abstract
Two-dimensional data maps can visually reveal information about the relations between data instances. Popular techniques to construct data maps are t-SNE and UMAP. The resulting point-based visualizations, though, provide information only through their interpretation. We here consider a set of abstracts from the articles on longevity to argue for using keyword extraction methods to label clusters of documents in the map. Among the considered approaches, the best results were obtained by recently proposed YAKE!. Surprisingly, a classical TF-IDF term ranking outperformed graph and embedding-based techniques.
Introduction
Data scientists frequently utilize dimensionality reduction techniques like t-SNE or UMAP to project high-dimensional text data into 2D maps. While these visualizations are excellent for identifying clusters, they often lack inherent interpretability. A user is presented with a "point cloud" but cannot immediately discern why specific documents are grouped together without manual inspection. This research addresses this "interpretability gap" by developing a pipeline to automatically extract and assign meaningful labels to these clusters, transforming a generic scatter plot into a functional, explainable map.
Methodology
The proposed analysis pipeline consists of several stages:
- Document Embedding: Text is vectorized using fastText, representing each document as a weighted average of its word vectors.
- Dimensionality Reduction: High-dimensional vectors are projected into 2D space using t-SNE.
- Clustering: A Gaussian Mixture Model (GMM) is applied to the 2D coordinates. A probability threshold ($P \le 0.6$) ensures that documents are only assigned to clusters where they exhibit strong membership.
- Keyword Extraction: Five methods were compared to identify optimal cluster labels: TF-IDF, YAKE!, RAKE, TextRank, and an embedding-based approach.
- Statistical Enrichment: A hypergeometric test ($p < 0.05$) was employed to select keywords that appear significantly more frequently within a cluster compared to the rest of the corpus.
The study utilized a corpus of 16,791 PubMed abstracts related to longevity. A subset of 4,594 articles with author-assigned keywords served as the ground truth for quantitative evaluation.
Results
The quantitative evaluation revealed that YAKE! consistently outperformed other methods in terms of precision, recall, and F1 score across varying numbers of keywords. Notably, the classical TF-IDF statistical baseline outperformed more complex graph-based (RAKE, TextRank) and deep-learning embedding-based techniques.
Qualitatively, the pipeline successfully generated an annotated map where clusters represent distinct thematic sub-fields. For example, Cluster 8, characterized by terms like "mouse," "cell," and "rat," clearly identifies laboratory studies, while Cluster 5 focuses on "population aging."
Discussion and Conclusion
The findings highlight a "simplicity surprise": statistical baselines like TF-IDF remain robust and competitive against modern deep learning approaches for keyword ranking in specific domains. YAKE! proved to be the most versatile and effective tool, likely due to its ability to operate on a single-document basis without external corpora.
While the study was limited to medical abstracts, the proposed pipeline offers a scalable framework for creating explainable document maps in any specialized field. Future work will explore the generalizability of these findings across diverse datasets, such as legal or news documents, to further refine the utility of automated cluster labeling in large-scale literature navigation.
Summary updated