Boosting the Capabilities of Compact Models in Low-Data Contexts with Large Language Models and Retrieval-Augmented Generation
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
The data and compute requirements of current language modeling technology pose challenges for the processing and analysis of low-resource languages. Declarative linguistic knowledge has the potential to partially bridge this data scarcity gap by providing models with useful inductive bias in the form of language-specific rules. In this paper, we propose a retrieval augmented generation (RAG) framework backed by a large language model (LLM) to correct the output of a smaller model for the linguistic task of morphological glossing. We leverage linguistic information to make up for the lack of data and trainable parameters, while allowing for inputs from written descriptive grammars interpreted and distilled through an LLM. The results demonstrate that significant leaps in performance and efficiency are possible with the right combination of: a) linguistic inputs in the form of grammars, b) the interpretive power of LLMs, and c) the trainability of smaller token classification networks. We show that a compact, RAG-supported model is highly effective in data-scarce settings, achieving a new state-of-the-art for this task and our target languages. Our work also offers documentary linguists a more reliable and more usable tool for morphological glossing by providing well-reasoned explanations and confidence scores for each output.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 12 of its 25 references that are in the map. First posted on arXiv 1 Oct 2024.
Builds on
12 of 25 references.
References · 12
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 504
- 2024Can we teach language models to gloss endangered languages?cited by 14
- 2024Wav2Gloss: Generating Interlinear Glossed Text from Speechcited by 8
- 2021Improving BERT Pretraining with Syntactic Supervisioncited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024From MTEB to MTOB: Retrieval-Augmented Classification for Descriptive Grammars
- 2025When Retrieval Succeeds and Fails: Rethinking Retrieval-Augmented Generation for LLMs
- 2026Hybrid Neural-LLM Pipeline for Morphological Glossing in Endangered Language Documentation: A Case Study of Jungar Tuvan
- 2023Retrieval-Augmented Generation for Large Language Models: A Survey
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models
- 2024Contextual Compression in Retrieval-Augmented Generation for Large Language Models: A Survey
- 2026Little Brains, Big Feats: Exploring Compact Language Models
- 2024RAG and RAU: A Survey on Retrieval-Augmented Language Model in Natural Language Processing