Research map / Large language models / Language, safety and interpretability
Programming by Example meets Historical Linguistics: A Large Language Model Based Approach to Sound Law Induction
Atharva Naik, Darsh Agrawal, Hong Sng, Clayton Marr, Kexun Zhang, Nathaniel Robinson, Kalvin Chang, Rebecca Byrnes, Aravind Mysore, Carolyn Rose, David Mortensen
Carnegie Mellon University · The Ohio State University · John Hopkins University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use LLM-generated nonce-word inputs instead of random inputs (ablation) | Magicoder fine-tuned on random programs · SLI single-law benchmark (avg) | pass rate: 52.8 -> 59.1 | Improved |
| use Proto-Oceanic words as inputs instead of random inputs (ablation) | Magicoder fine-tuned on random programs · SLI single-law benchmark (avg) | pass rate: 52.8 -> 58.4 | Improved |
| use Proto-Tangkhulic words as inputs instead of random inputs (ablation) | Magicoder fine-tuned on random programs · SLI single-law benchmark (avg) | pass rate: 52.8 -> 54.5 | No clear effect |
| use nonce-word inputs instead of real proto-language inputs (poc) (ablation) | Magicoder fine-tuned on random programs · SLI single-law benchmark (avg) | pass rate: 58.4 -> 59.1 | No clear effect |
| use Index Diachronica sound laws instead of random programs (ptk inputs) (ablation) | Magicoder fine-tuned on proto-language inputs · SLI single-law benchmark (avg) | pass rate: 54.5 -> 39.1 | Hurt |
| use Index Diachronica sound laws instead of random programs (poc inputs) (ablation) | Magicoder fine-tuned on proto-language inputs · SLI single-law benchmark (avg) | pass rate: 58.4 -> 50.5 | Hurt |
| use Index Diachronica programs with poc inputs instead of random programs and random inputs (ablation) | Magicoder · SLI single-law benchmark (avg) | pass rate: 52.8 -> 50.5 | No clear effect |
| use Proto-Oceanic instead of Proto-Tangkhulic inputs with Index Diachronica programs (ablation) | Magicoder · SLI single-law benchmark (avg) | pass rate: 39.1 -> 50.5 | Improved |
| fine-tune on 2.5k synthetic instances | Magicoder-S-DS-6.7B · SLI single-law benchmark (avg) | pass rate: 2.4 -> 59.1 | Improved |
| use GPT-4o instead of Codestral-22B to generate RP-LI training data (ablation) | PySLICoder · SLI single-law benchmark (avg) | pass rate: 59.1 -> 68.4 | Improved |
| compare PySLICoder-RP-LI-gpt-4o with Codestral-22B | open-source LLMs · SLI single-law benchmark (avg) | pass rate: 62.2 -> 68.4 | Improved |
| compare PySLICoder-RP-LI-codestral with its data generator Codestral-22B | PySLICoder · SLI single-law benchmark (avg) | pass rate: 62.2 -> 59.1 | Hurt |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- PBEBench: A Multi-Step Programming by Examples Reasoning Benchmark inspired by Historical Linguistics (ACL 2026 · similarity 0.92)
- AutoCodeBench: Large Language Models are Automatic Code Benchmark Generators (ICLR 2026 · similarity 0.86)
- Is Programming by Example Solved by LLMs? (NeurIPS 2024 · similarity 0.86)
- Programming Every Example: Lifting Pre-training Data Quality Like Experts at Scale (ICML 2025 · similarity 0.85)
- Automating Thought of Search: A Journey Towards Soundness and Completeness (Student Abstract) (AAAI 2025 · similarity 0.85)
- Generating Pragmatic Examples to Train Neural Program Synthesizers (ICLR 2024 · similarity 0.84)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.