2026-10-11 16:37 UTC

University of Waterloo's ProgramAsWeights team claims its project compiles English function descriptions into locally callable CPU models, potentially replacing repeated API inference for narrow Python tasks.

state: seedheat: lowuncertainty: highconvergesscott: mediumlocal-inference small-model-specialization llm-toolingUniversity of Waterlooyuntiandeng

What is this?

Program-as-Weights (PAW) is a University of Waterloo-associated research project and Python package that turns English specifications for narrow, fuzzy text tasks into reusable neural artifacts callable locally as Python functions, without per-call API requests. The supplied author listing names Wentao Zhang, Liliana Hotsko, Woojeong Kim, Pengyu Nie, Stuart Shieber, and Yuntian Deng; the original paper describes a 4B compiler producing programs for a fixed 0.6B interpreter rather than fine-tuning separately for each task. The results also include a distinct “Compile by Training” repository that generates teacher examples and fine-tunes a small model, so its mechanism should not be conflated with the original compiler. CPU execution is described in a secondary snippet, but the supplied excerpts do not establish independently measured task accuracy, speed, or cost savings.

Why it matters to Scott

Waterloo-associated PAW converges with Scott’s code-callable, reusable AI capabilities and extends his existing Ollama bulk-classification setup with a concrete alternative worth benchmarking: compile narrow English task specifications into local neural artifacts rather than repeatedly prompting a general model. This is not established as a replacement—accuracy, CPU speed and amortized savings remain unverified, and neural artifacts do not establish the regeneration guarantees required by The Prompt Is Source; the radar’s AgentJIT and compiled-agent-skills pages track adjacent approaches, not this development.
ip:framework.code-first-architectureip:framework.the-prompt-is-sourcedev:technology.ollamadev:concept.model-to-model-delegationradar:agentjit-trajectory-compilationradar:compiled-agent-skills-token-reductionradar:concept.local-inferenceradar:concept.small-models
queries asked of Scott's wikis
  • local inference economics versus repeated API calls
  • task-specialized small models versus general LLMs
  • natural-language specifications compiled into executable artifacts
  • reusable AI functions in coding-agent tooling
  • evaluation and reproducibility of fuzzy text functions
  • local neural functions for RAG ranking and log filtering

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p50momentum: steady2 platformsage 4322h
points/hour across evidence · reading as of 2026-10-12 02:59:37.977291+11:00 · deterministic, not a model opinion

How the heat travelled

04-14 14:00⭐ origin echo-reconstructedThe earlier first-party announcement says: “We built a system where a neural compiler takes a plain-English function description and produce
Yuntian Deng (@yuntiandeng) on other (echo) · attributed from reddit.post.1wk0w5b
—
09-18 20:06first on r/LocalLLaMA · published · +3774.1hProgramAsWeights: describe an AI function in English, compile it once, and run it locally on CPU
yuntiandeng
—
09-19 23:35first on r/MachineLearning · published · +3801.6hProgramAsWeights: compile English function descriptions into neural programs that run locally [R]
yuntiandeng
—
09-18 20:06amplified on r/LocalLLaMAreddit.post.1wk0w5b
yuntiandeng
peak 27 · 6 comments · 24% of case engagement
09-19 23:35amplified on r/MachineLearning 👑reddit.post.1wl13eu
yuntiandeng
peak 98 · 7 comments · 76% of case engagement
09-18 20:20our radar first saw it · +3774.3hdiscovery anchor: reddit.post.1wk0w5b—

Evidence (3) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 redditProgramAsWeights: describe an AI function in English, compile it once, and run it locally on CPU
LocalLLaMA
yuntiandeng276
🟧 echo.other ⭐The earlier first-party announcement says: “We built a system where a neural compiler takes a plain-English function description and produceYuntian Deng (@yuntiandeng)——
🟠 redditProgramAsWeights: compile English function descriptions into neural programs that run locally [R]
MachineLearning
yuntiandeng987

Interpretation history

Decision trace