Synthetic Function Demonstrations Improve Generation in Low-Resource Programming Languages
Not on the map. Why?
Abstract (arXiv)
A key consideration when training an LLM is whether the target language is more or less resourced, for example English compared to Welsh, or Python compared to Excel. Typical training data for programming languages consists of real program demonstrations coupled with explanatory human-written comments. In this work we present a novel approach to the creation of such data for low resource programming languages, which lack naturally occurring data. Our process generates synthetic, textbook-quality demonstrations of how to use library functions, which we show makes for good model finetuning data. We demonstrate in an example domain of Excel Formulas. First, we collate language documentation, then we use this to augment a powerful teacher model which generates synthetic training data, and finally finetune student models on the demonstrations. Our technique improves student performance on 2 question-answering datasets: WikiTQ and TAT-QA. We also show advantages of finetuning over standard RAG approaches, which can offer only modest improvement due to the unfamiliarity of the target domain to student models.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 16 of its 23 references that are in the map. First posted on arXiv 24 Mar 2025.
Builds on
16 of 23 references.
References · 16
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 515
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
- 2021TAT-QA: A Question Answering Benchmark on a Hybrid of Tabular and Textual Content in Financecited by 408
- 2022Unnatural Instructions: Tuning Language Models with (Almost) No Human Laborcited by 397
- 2022The Stack: 3 TB of permissively licensed source codecited by 359
- 2021GPT3Mix: Leveraging Large-scale Language Models for Text Augmentationcited by 187
- 2022Language Models of Code are Few-Shot Commonsense Learnerscited by 160
- 2020Low-resource Languages: A Review of Past Work and Future Challengescited by 91
4 more
- 2024A Survey on LLM-based Code Generation for Low-Resource and Domain-Specific Programming Languagescited by 66
- 2024Code Prompting Elicits Conditional Reasoning Abilities in Text+Code LLMscited by 20
- 2023InstructExcel: A Benchmark for Natural Language Instruction in Excelcited by 15
- 2024NL2Formula: Generating Spreadsheet Formulas from Natural Language Queriescited by 8
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Towards Active Synthetic Data Generation for Finetuning Language Models
- 2025Synthetic Data Generation Using Large Language Models: Advances in Text and Code
- 2024Evaluating Language Models as Synthetic Data Generators
- 2024Balancing Cost and Effectiveness of Synthetic Data Generation Strategies for LLMs
- 2025BARE: Leveraging Base Language Models for Few-Shot Synthetic Data Generation
- 2025Demystifying Synthetic Data in LLM Pre-training: A Systematic Study of Scaling Laws, Benefits, and Pitfalls
- 2024Low-Cost Language Models: Survey and Performance Evaluation on Python Code Generation
- 2024Seed-Free Synthetic Data Generation Framework for Instruction-Tuning LLMs: A Case Study in Thai