A Case Study of Cross-Lingual Zero-Shot Generalization for Classical Languages in LLMs

V. S. D. S. Mahesh Akavarapu, Hrishikesh Terdalkar, Pramit Bhattacharyya, Shubhangi Agarwal, Vishakha Deulgaonkar +3 more
5/19/2025
cs.CL

No official code found. Best implementation: mahesh-ak/SktQA (0 stars, Apache-2.0, last commit 2025-05-31).

Abstract

Large Language Models (LLMs) have demonstrated remarkable generalization capabilities across diverse tasks and languages. In this study, we focus on natural language understanding in three classical languages -- Sanskrit, Ancient Greek and Latin -- to investigate the factors affecting cross-lingual zero-shot generalization. First, we explore named entity recognition and machine translation into English. While LLMs perform equal to or better than fine-tuned baselines on out-of-domain data, smaller models often struggle, especially with niche or abstract entity types. In addition, we concentrate on Sanskrit by presenting a factoid question-answering (QA) dataset and show that incorporating context via retrieval-augmented generation approach significantly boosts performance. In contrast, we observe pronounced performance drops for smaller LLMs across these QA tasks. These results suggest model scale as an important factor influencing cross-lingual generalization. Assuming that models used such as GPT-4o and Llama-3.1 are not instruction fine-tuned on classical languages, our findings provide insights into how LLMs may generalize on these languages and their consequent utility in classical studies.

View on arXivView PDF

Code Implementations(1)

mahesh-ak/SktQACommunity100%
Apache-2.0

Sanskrit Question Answering with LLMs

00Python, MakefileAug 18, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{akavarapu2025case,
  title  = {A Case Study of Cross-Lingual Zero-Shot Generalization for Classical Languages in LLMs},
  author = {V. S. D. S. Mahesh Akavarapu and Hrishikesh Terdalkar and Pramit Bhattacharyya and Shubhangi Agarwal and Vishakha Deulgaonkar and Pralay Manna and Chaitali Dangarikar and Arnab Bhattacharya},
  year   = {2025},
  eprint = {2505.13173},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.13173v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.13173.svg)](https://codeofpaper.com/paper/2505.13173)

Discussion