ExplorerArtificial IntelligenceAI
Research PaperResearchia:202609.04001

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

Yuntian Deng

Abstract

Many recurring text functions are easy to describe but difficult to implement with rules, while calling a large remote model for every input introduces repeated cost, latency, and dependency on a provider. We present compile by training, which turns a natural-language specification into a reusable neural function. At compile time, teacher models generate task-specific examples that are used to train a small adapter for a compact interpreter. The resulting function runs without the teachers and c...

Submitted: September 4, 2026Subjects: AI; Artificial Intelligence

Description / Details

Many recurring text functions are easy to describe but difficult to implement with rules, while calling a large remote model for every input introduces repeated cost, latency, and dependency on a provider. We present compile by training, which turns a natural-language specification into a reusable neural function. At compile time, teacher models generate task-specific examples that are used to train a small adapter for a compact interpreter. The resulting function runs without the teachers and can be stored, versioned, and composed like ordinary software. On FuzzyBench-Hard, a subset on which the Program-as-Weights fast compiler produced no exact matches, compile by training reaches 83.6% semantic accuracy. This higher accuracy comes with a higher compile-time cost: roughly a minute rather than seconds for the fast compiler. We deploy the compiler in a public interactive service and demonstrate compiled functions in a multi-site website helper, a language-controlled 3D avatar, and a bidirectional English-Claudish translator.


Source: arXiv:2609.04199v1 - http://arxiv.org/abs/2609.04199v1 PDF: https://arxiv.org/pdf/2609.04199v1 Original Link: http://arxiv.org/abs/2609.04199v1

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Access Paper
View Source PDF
Submission Info
Date:
Sep 4, 2026
Topic:
Artificial Intelligence
Area:
AI
Comments:
0
Bookmark