Lune

ACL2025Top-tier venue

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 Romney Robinson, Kalvin Chang, Rebecca Byrnes, Aravind Mysore, Carolyn P. Rosé, David R. Mortensen

2025Year
1Citations
1Top-tier citations

Abstract

Historical linguists have long written "programs" that convert reconstructed words in an ancestor language into their attested descendants via ordered string rewrite functions (called SOUND LAWS) However, writing these programs is error-prone, motivating the development of automated SOUND LAW INDUCTION (SLI) which we formulate as Programming by Examples (PBE) with Large Language Models (LLMs). While LLMs have been effective for code generation, recent work has shown that PBE with LLMs is challenging but improvable by fine-tuning, especially with training data drawn from the same distribution as evaluation data. In this paper, we create a conceptual framework regarding what constitutes a "similar distribution" for SLI and propose four kinds of synthetic data generation methods with varying amounts of inductive bias to investigate what leads to the best performance. Based on the results, we create a SOTA open source model for SLI as PBE (+6% pass rate with a third of the parameters of the next best open source LLM).

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext cedd00c6-5e80-4be9-b41e-9ebd208d8f9c

Cited by top-tier papers1

Ask how each one uses it

Builds on6

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines