Mapping Hymns and Organizing Concepts in the Rigveda: Quantitatively Connecting the Vedic Suktas
Venkatesh Bollineni, Igor Crk, Eren Gultepe
TL;DR
The paper tackles the challenge of organizing the Rigveda's vast, archaic text by building a network of suktas using three embedding strategies and a six-step NLP pipeline. A novel mean-LSA embedding is introduced, combining word-level LSA vectors into per-suktа representations, and the networks' significance is tested against a null permutation distribution. Results show mean-LSA produces a statistically significant topic structure (modularity around $Q=0.944$, $p<0.01$) that aligns with all seven traditional suktā groupings, while SBERT and Doc2Vec fail to achieve significance. The study provides a data-driven framework for navigating the Rigveda and highlights the importance of statistical validation for topic networks in ancient texts, with implications for future Sanskrit NLP and sacred-text analytics.
Abstract
Accessing and gaining insight into the Rigveda poses a non-trivial challenge due to its extremely ancient Sanskrit language, poetic structure, and large volume of text. By using NLP techniques, this study identified topics and semantic connections of hymns within the Rigveda that were corroborated by seven well-known groupings of hymns. The 1,028 suktas (hymns) from the modern English translation of the Rigveda by Jamison and Brereton were preprocessed and sukta-level embeddings were obtained using, i) a novel adaptation of LSA, presented herein, ii) SBERT, and iii) Doc2Vec embeddings. Following an UMAP dimension reduction of the vectors, the network of suktas was formed using k-nearest neighbours. Then, community detection of topics in the sukta networks was performed with the Louvain, Leiden, and label propagation methods, whose statistical significance of the formed topics were determined using an appropriate null distribution. Only the novel adaptation of LSA using the Leiden method, had detected sukta topic networks that were significant (z = 2.726, p < .01) with a modularity score of 0.944. Of the seven famous sukta groupings analyzed (e.g., creation, funeral, water, etc.) the LSA derived network was successful in all seven cases, while Doc2Vec was not significant and failed to detect the relevant suktas. SBERT detected four of the famous suktas as separate groups, but mistakenly combined three of them into a single mixed group. Also, the SBERT network was not statistically significant.
