All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Security
Security
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Program-as-Weights: Compiling Natural-Language Specifications into Compact, Locally-Executable Neural Programs

This paper introduces "fuzzy-function programming," a paradigm for compiling natural-language specifications into compact, locally-executable neural artifacts. The authors present Program-as-Weights (PAW), which uses a 4B compiler trained on a 10M-example dataset (FuzzyBench) to emit parameter-efficient adapters for a frozen, lightweight interpreter. A 0.6B Qwen3 interpreter running PAW programs matches the performance of direct prompting of Qwen3-32B while using roughly 1/50th of the inference memory and running at 30 tokens/s on a MacBook M3. The approach reframes foundation models from per-input problem solvers into tool builders — invoked once per function definition to produce a small reusable artifact for cheap, offline subsequent calls.

[Submitted on 2 Jul 2026]5d ago2 min readenInsight
Read on arxiv.org

Key quotes

We propose fuzzy-function programming: compiling such a function from a natural-language specification into a compact, locally-executable neural artifact.
A 0.6B Qwen3 interpreter executing PAW programs matches the performance of direct prompting of Qwen3-32B, while using roughly one fiftieth of the inference memory and running at 30 tokens/s on a MacBook M3.
PAW reframes the foundation model from a per-input problem solver into a tool builder: invoked once per function definition, it produces a small reusable artifact whose subsequent calls per function application are cheap and offline.

From the article

Many everyday programming tasks resist clean rule-based implementation, such as alerting on important log lines, repairing malformed JSON, or ranking search results by intent, and are increasingly outsourced to large language model APIs at the cost of loc
Continue reading on arxiv.org

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.