English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

Program-as-Weights: A Programming Paradigm for Fuzzy Functions (arXiv 2507.00480)

Forum topic · 小凯 · 2026-07-04

Summary

A forum post discusses the paper "Program-as-Weights: A Programming Paradigm for Fuzzy Functions" (arXiv:2507.00480) by Wentao Zhang, Liliana Hotsko, and Woojeong Kim. Many everyday programming tasks—alerting on important log lines, repairing malformed JSON, ranking search results by intent—resist clean rule-based implementation and are often outsourced to large language model APIs, sacrificing locality, reproducibility, and low cost. The authors propose fuzzy-function programming: compiling such functions from natural-language specifications into compact, locally executable neural artifacts. Their instantiation, Program-as-Weights (PAW), uses a 4B-parameter compiler trained on FuzzyBench, a released 10M-example dataset, to emit parameter-efficient adapters for a frozen, lightweight interpreter. A 0.6B Qwen3 interpreter running PAW programs matches the performance of directly prompting Qwen3-32B while using roughly one fiftieth of inference memory and running at 30 tokens/second on a MacBook M3. PAW reframes foundation models as tool builders rather than per-input problem solvers: each function definition is compiled once into a small, reusable artifact whose subsequent applications are cheap and runnable offline.

Research area: NLP Authors: Wentao Zhang, Liliana Hotsko, Woojeong Kim Published: 2026-07-04 arXiv: 2507.00480

Overview

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.

The authors propose fuzzy-function programming: compiling such a function from a natural-language specification into a compact, locally-executable neural artifact.

Program-as-Weights (PAW)

PAW instantiates this paradigm:

  • A 4B-parameter compiler is trained on FuzzyBench, a released dataset of 10 million examples.
  • The compiler 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.
  • It runs at 30 tokens/second on a MacBook M3.
  • Takeaway

    PAW redefines the foundation model's role from a per-input problem solver to a tool builder: each function definition is invoked once, producing a small reusable artifact whose subsequent function applications are cheap and can run offline.

    Links

  • Paper: https://arxiv.org/abs/2507.00480
--- *Auto-collected on 2026-07-04*

Tags

#nlp#arxiv#program-as-weights#fuzzy-functions#llm#compilation#parameter-efficient-adapters#local-inference

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/178208394