Skip to content
HN On Hacker News ↗

Program-as-Weights: A Programming Paradigm for Fuzzy Functions

▲ 53 points 9 comments by simonpure 5d ago HN discussion ↗

Pangram verdict · v3.3

We believe that this document is fully human-written

7 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 203
PEAK AI % 7% · §1
Analyzed
Jul 3
backend: pangram/v3.3
Segments scanned
1 windows
avg 203 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 203 words · 1 segments analyzed

Human AI-generated
§1 Human · 7%

View PDF HTML (experimental) Abstract: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 locality, reproducibility, and price. We propose fuzzy-function programming: compiling such a function from a natural-language specification into a compact, locally-executable neural artifact. We instantiate this paradigm with Program-as-Weights (PAW), in which a 4B compiler trained on FuzzyBench, a 10M-example dataset we release, emits parameter-efficient adapters for a frozen, lightweight interpreter. 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.

Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL) Cite as: arXiv:2607.02512 [cs.LG]   (or arXiv:2607.02512v1 [cs.LG] for this version)   https://doi.org/10.48550/arXiv.2607.02512 arXiv-issued DOI via DataCite (pending registration) Submission history From: Yuntian Deng [view email] [v1] Thu, 2 Jul 2026 17:59:50 UTC (1,727 KB)