Sanskrit MT with explicit linguistic structure and stable definition errors
arXiv announcements of 11 November 2026 · 2 papers
Shipping translation systems means deciding how much structure to force into the stack before the model starts improvising: for Classical Sanskrit, MITRA-Swarm tackles Sandhi, Samāsa, and meter-driven zero-anaphora with explicit splitting, parallel generalist and domain-tuned translators, and a discourse-aware ellipsis restorer. On the evaluation side, “When Local Definitions Are Missing” shows how LMs misread locally defined terms in contracts, Reddit glossaries, and decentralized-exchange documentation, using multiple-choice questions where the answer changes once the definition is supplied.
Use explicit Sandhi, compound, and ellipsis handling for Sanskrit MT, because the multi-agent setup adds 0.63 MQM over a monolithic baseline and cuts severe failures from 9.0% to 7.6%.
Abstract
Classical Sanskrit poses three challenges unresolved by single-call monolithic models: morphophonemic fusion Sandhi, dense nominal compounding Samāsa, and discourse-level zero-anaphora forced by poetic meter. We present MITRA-Swarm, a multi-agent architecture injecting explicit linguistic structure into an otherwise monolithic pipeline: a Sandhi-splitting agent, a parallel array of generalist gemma-4-26B-A4B-it and domain-specialized gemma-2-mitra-it translators, and a discourse-aware Ellipsis Restorer that consults corpus-derived register tags to avoid inventing active-voice subjects in impersonal legal and philosophical registers. Two separated judges evaluate quality: a routing judge (J_route, same model family as the generators) driving an internal critique loop, and an independent reporting judge (J_report=gpt-4o-mini, no shared vendor lineage) scoring every output exactly once. On a stratified benchmark of 1,000 verses across five registers (23,990 scored verdicts, 12-condition pre-registered ablation), the full swarm reaches 85.90 MQM against a monolithic baseline of 85.27 (Δ=+0.63, p_adj=0.0018, 95% CI [+0.30,+0.97]), and isolated discourse restoration alone accounts for +0.44 MQM (p_adj=0.0288), outperforming a call-count-matched self-refinement baseline by +0.51 MQM (p_adj=0.0288). Severe per-verse failures (MQM<80) fall from 9.0% to 7.6%, at roughly 9x the per-verse inference cost of the baseline. Additionally, J_route scores its own family's outputs 2-7 MQM higher than J_report on every one of the 12 conditions, empirically motivating the two-judge split; and a preflight screen of a 192,151-entry retrieval index against all 12 evaluation works verifies 0 reference leaks across 269 runtime checks. These are small gains on a metric saturating near 85-86.
When a source introduces local definitions, expect familiar words to drive stable MT or QA errors that confidence and repeated answers do not expose, and feed the definition in if you want to fix more than half the contract cases.
Abstract
Contracts, technical manuals, and online communities often give familiar words special meanings and define them in one place. A language model that reads a passage without that definition may use the usual meaning and give an answer that sounds right but is wrong. We study this with multiple-choice questions whose correct answers depend on a local definition. The questions come from a synthetic vocabulary, commercial contracts, Reddit community glossaries, and the documentation of a decentralized exchange. We ask three language models each question with and without the definition. Without using the answer key, we then test whether their repeated answers and stated confidence reveal their own errors. Separately, we give a small open model the answer key and test whether it can predict which questions larger models get wrong. We report three findings. (1) Familiar words that a source redefines cause the most errors. Models often repeat the same wrong answer, and neither repeated answers nor stated confidence reliably flag it. (2) The source definition fixes most errors on synthetic questions, but a definition drawn from the model's own prior knowledge does not. In real contracts, the source definition fixes only about half of the errors. (3) Given an answer key, a small model can rank questions by how likely larger models are to get them wrong. These results call for tests that check answers against the full source, including its local definitions.