Skip to content
OpenTrain AIFor AI Companies

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

Yuntian Deng, Pengyu Nie, Stuart ShieberPublished Sep 3, 2026
arXiv PDF
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Missing
Not verified yet
Time to first repro
A few hours
Fast first run
Risk flags
0
None detected

Abstract

Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.

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.

Results and benchmarks

Freshness tier: hot
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.

Implementation

Best maintained implementation now

Recommended
Confidence: Medium
Reproducibility: Strong

Python SDK for ProgramAsWeights — compile natural language specs into neural programs that run locally

369 stars · 35 forks · Last push Oct 20, 2026 · MIT license

  • License
  • CI
  • Dependencies
  • Docker

Matched via arXiv identifier search · Strong overlap with paper title keywords · Community adoption signal (369 stars)

Why this implementation
Confidence: medium

programasweights/programasweights-python is the best available implementation candidate based on ranking signals, but recommendation confidence is not yet high. CI workflows are present. License is declared (MIT).

Open programasweights/programasweights-python
Reproduction risks
  • No repository-level red flags were detected, but paper-specific preprocessing and hyperparameter details may still be under-specified.
  • Selected programasweights/programasweights-python as the strongest maintained implementation for new work.
  • Includes CI workflow signals.
  • Includes dependency/environment manifest signals.
  • Repository activity is within the last 24 months.

Compare implementation paths

Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.

Maintenance
Active
Confidence
Medium
Reproducibility
Strong
Stars
369
Last push
Oct 20, 2026 (6d)

Matched via arXiv identifier search · Strong overlap with paper title keywords

  • No Docker setup
Maintenance
Active
Confidence
Low
Reproducibility
Strong
Stars
274
Last push
Oct 20, 2026 (6d)

Matched via arXiv identifier search · Community adoption signal (274 stars)

  • No tagged releases
  • No Docker setup
  • Low confidence match
Maintenance
Active
Confidence
Low
Reproducibility
Moderate
Stars
34
Last push
Oct 20, 2026 (6d)

Matched via arXiv identifier search · Community adoption signal (34 stars)

  • No CI pipeline detected
  • No tagged releases
  • No Docker setup

Reproduction readiness

Time to first repro: hours
Last checked: Oct 25, 2026

Ready to run

Ready to reproduce

  • Clone programasweights/programasweights-python and install dependencies from pyproject.toml.
  • CI pipeline detected, so automated tests are in place.
  • Last updated 6 days ago.
Open programasweights/programasweights-python

Quick start

git clone https://github.com/programasweights/programasweights-python.git
pip install -e .

Repositories and ecosystem

Official

No additional official repositories detected.

Community

  • Compile natural-language function descriptions into reusable local PAW programs.

    18 stars · 3 forks · Last push Oct 20, 2026 · MIT license

  • programasweights/skills
    Confidence: Medium

    ProgramAsWeights agent skill - compile natural-language specs into tiny, locally-running neural functions for fuzzy text tasks (classify, extract, repair, fuzzy-match, triage, route). npx skills add programasweights/skills

    9 stars · 2 forks · Last push Oct 20, 2026 · MIT license

Hugging Face artifacts

No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.

Models

No trustworthy models matches right now.

Search models on Hugging Face

Datasets

Curated Related

Spaces

No trustworthy spaces matches right now.

Search spaces on Hugging Face

Research context

Tasks

None detected

Methods

LoRA / Parameter-efficient tuning

Domains

None detected

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Jump to Paper2Code search queries derived from this paper's research context.