Search the guide

Start with a guide

EMNLP 2026 System Demonstrations

Compile by Training: Turning Natural-Language Specifications into Local Neural Functions

Yuntian Deng, Pengyu Nie, Stuart Shieber

Compiles a function description into a reusable local program by generating training examples and optimizing an adapter.

How it works

Construction
Teacher models generate examples from the specification. Gradient descent refines the adapter initialized by PAW’s fast compiler.
Preparation and training
Training happens at function compilation; the saved program runs without the teachers.
Execution
A frozen Qwen3-0.6B interpreter runs the saved function locally without further teacher calls.

Cite this work

BibTeX
@inproceedings{deng-etal-2026-compile,
  title = { {Compile by Training: Turning Natural-Language Specifications into Local Neural Functions} },
  author = {Deng, Yuntian and Nie, Pengyu and Shieber, Stuart},
  year = {2026},
  booktitle = {Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing: System Demonstrations},
  publisher = {Association for Computational Linguistics},
  pages = {830--839},
  doi = {10.18653/2026.emnlp-demos.78},
  month = {October},
  address = {Budapest, Hungary},
  isbn = {979-8-89176-461-3},
  editor = {Agrawal, Sweta and Abad, Alberto},
  url = {https://aclanthology.org/2026.emnlp-demos.78/}
}

Related reading