arXiv:2608.29324cs.CLAug 2026

Manuscript Offprint

arXiv:2608.29324

Padārtha: Ontology-Grounded Fine-Grained NER Benchmark for Classical Sanskrit

Sujoy Sarkar, Pretam Ray, Paramhans Shah, Manoj Balaji Jagadeeshan, Akash Gairola, Arjuna S R, Pawan Goyal

Abstract

Annotation schemas are not neutral. When applied to classical literature, tag sets developed for modern journalistic texts impose source-culture definitions on texts they were never designed to describe. We instead ground a schema in the tradition of the text itself introducing Padārtha, the first ontology-grounded fine-grained Named Entity Recognition (NER) benchmark for Sanskrit, built on the Mahābhārata epic. Our tag set derives from Nyāya-Vaiṃsika, a classical Indian ontological system, yielding 18 fine-grained categories organized under 10 ontological nodes and mapped onto five standard coarse tags, ensuring interoperability with existing benchmarks. Expert annotators label over 12.6K entries from a scholarly index of named entities, linked to corresponding mentions in the Mahānāma corpus, producing fine-grained annotations for 108,335 entity mentions across 73,632 verses, along with a 5,000-verse expert-verified test set sampled to stress rare mentions. We present the first systematic benchmarking of generative NER against traditional architectures for Sanskrit, finding that fine-tuned generative models perform comparably to task-specific systems. However, all systems show a sharp decline from coarse to fine granularity and struggle with out-of-entity mentions unseen during training. The limitation is not due to data scarcity alone, as fine-tuned models recall unseen entities far worse than seen ones and tend to default to the majority sense under lexical ambiguity.

1 Introduction

As a core task in natural language understanding, Named Entity Recognition (NER) is widely adopted across domains such as news (Tedeschi and Navigli, 2022), medical texts (Luo et al., 2022), and social media (Derczynski et al., 2017). Despite its broad applicability, current systems perform well on coarse categories but struggle with nuanced or specialised entity types (Ding et al., 2021; Katz et al., 2023; Fetahu et al., 2023), with performance dropping further as categories move deeper into a hierarchy (Katz et al., 2023). These challenges have been studied almost exclusively in standard domains; literary text, where entities follow distinct distributions and narrative behaviour, remains comparatively neglected (Vala et al., 2015; Bamman et al., 2019; Silva and Moro, 2024; Zhao et al., 2025).

Creating fine-grained NER datasets for literary texts, particularly classical corpora such as epics, religious works, and historical literature, is challenging because standard tagsets either lack sufficient granularity or are designed for modern, journalistic domains with limited domain-specific types (Liu et al., 2021). These limitations are amplified in texts containing culturally specific items (CSIs). Schema like OntoNotes do not represent mythological entities (Tedeschi and Navigli, 2022), while CoNLL-style tagsets remain overly coarse, relying on ill-defined catch-all categories such as MISC (Mayhew et al., 2024). The difficulty is not that a label is missing but that the underlying partition of the world is wrong: “Garuda”, for instance, is simultaneously a bird, a deity, the son of Kaśyapa and Vinatā, and the vehicle of Viṇu, and HiNER (Murthy et al., 2022) reports precisely this class of entity as resistant to assignment under PERSON. Consequently, if such schemes are not applied with due care, they risk overlooking the complexity of the target culture and imposing source-culture concepts onto it (Hershcovich et al., 2022).

Beyond schema limitations, annotated literary data are scarce (Zhao et al., 2025), especially for historical texts where corpus construction requires costly expert knowledge (Palladino, 2026). Unlike standardized news text, fiction exhibits substantial lexical variation with diverse, context-dependent naming conventions (Han et al., 2021), and a few major entities typically dominate literary dis-course (Manikantan et al., 2024). This skewed distribution leaves rare entities highly susceptible to out-of-entity (OOE) failures (Jiang et al., 2025), where mention tokens at test time are entirely unseen during training.

This raises a question that the literary NER literature has not addressed: when a text’s entities resist an imported tagset, is it better to extend that tagset ad hoc, or to ground the schema in a categorical system internal to the text’s own intellectual tradition? We argue for the latter. An emic schema, one drawn from within the tradition, fixes category boundaries that were articulated independently of the annotation task, and so cannot be accused of being drawn to fit the data post hoc; this is the constructive counterpart to the warning of Hershcovich et al. (2022).

To bridge these gaps and investigate the unique challenges of the literary domain, we introduce Padärtha, the first fine-grained NER benchmark in Sanskrit, based on the Mahābhārata, one of the longest epics in world literature. Its vast narrative captures diverse naming conventions, while its composition in Sanskrit, a morphologically rich language, presents additional computational hurdles and establishes a typological contrast to standard English benchmarks. In this work, our core contributions are:

(1) Ontology-Grounded Hierarchical Tagset We propose an annotation scheme grounded in Sanskrit linguistic extensions of Nyāya–Vaišesika (NV) (Nair et al., 2013), an ancient Indian ontological framework, to capture culturally specific items (CSIs) at the granularity the epic demands. The scheme has 18 fine-grained leaves under 10 ontology nodes, each mapping to one of five standard tags (PER, LOC, NORP, MISC, TIME), so it stays compatible with existing NER benchmarks (Figure 1).

(2) Fine-Grained Sanskrit NER Dataset We build Padärtha based on the Mahānāma corpus (Sarkar et al., 2025), which pre-links mentions to Sørensen's Index (Sørensen, 1904). A Sanskrit scholar labeled 12.6K index entries from their descriptions using our schema; projecting these labels through the existing links gives 73,632 verses and 108,335 mentions. We then read and corrected a 5,000-verse test set by hand to serve as gold evaluation data.

(3) Comprehensive Benchmarking Motivated by the shift toward modern LLMs, we benchmark

Figure

padārtha = ontological root; dravya = substance; guna = quality; upādhi = incidental property; prthvī = earth; ātman = soul; sthānam = places; calasajīvah = mobile living beings; acalanirjīvah = immobile non-living things; manusyetarah = non-human beings.

Figure 1: Nyāya-Vaišesika ontology hierarchy underlying the tagset. Leaf nodes correspond to fine-grained categories (glosses and examples in Table 1). Color indicates standard coarse category (legend).

decoder-only LLMs under both parameter-efficient fine-tuning and few-shot in-context learning, contextualized against a CRF baseline, a fine-tuned encoder, and a generative encoder-decoder. Performance degrades consistently as categorical granularity increases, evaluated on a test split constructed to capture rare and unseen OOE mentions.

(4) Empirical and Theoretical Analysis of Fine-Grained Challenges We analyze the degradation at finer granularity along four dimensions: memorization vs. generalization, lexical ambiguity, information-theoretic difficulty, and qualitative error patterns. Fine-tuned models show substantially lower recall on unseen entities and default to the majority sense under ambiguity. Information-theoretic analysis confirms that context, rather than the entity itself, serves as the primary signal.

References (19)