potentialpaper

QUILL: In-Weight Computation with MLPs

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:18 UTC · d28afcac7152 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "HBLYFq9eb5"
- }
- ],
- "title": "QUILL: In-Weight Computation with MLPs",
- "authors": [],
- "abstract": "Language models continue to improve across mathematics, programming, and long-context reasoning tasks. \nNevertheless, elementary arithmetic remains unreliable. \nExisting remedies use additional reasoning tokens or dedicated numerical executors. \nWe instead study $\\textit{in-weight computation}$: encoding numerical functions directly in ordinary MLP weights for forward-pass execution, with intermediate values retained as neural activations. \nWe introduce $\\textbf{QUILL} (\\textbf{QU}asi-\\textbf{I}nterpo\\textbf{L}ant \\textbf{L}ayers)$, which constructs single-hidden-layer MLP approximations using quasi-interpolation theory. \nFor univariate analytic functions, QUILL achieves geometric error decay to a finite-precision floor, with $O(\\log(1/\\varepsilon))$ width and working precision for target error $\\varepsilon$.\nThe construction also reveals conditions under which gradient descent is slow to acquire the hidden-layer scales supporting high precision. \nWe extend QUILL to multivariate polynomial programs by composing square modules into multipliers.\nFor bounded computations in the realizable precision regime, the resulting QUILL circuits attain output error $\\varepsilon$ with $O(\\log(2+\\kappa/\\varepsilon))$ nonlinear neurons per multiplication, where $\\(\\kappa\\)$ bounds the amplification of local approximation errors.\nTested polynomial programs, including dot products and determinants, achieve sampled relative $L^2$ errors below $6.5\\times10^{-14}$ in FP64. \nAdditional primitives support non-polynomial functions, fixed-step numerical algorithms, and bounded discrete programs. \nAs a proof of concept, we install a width-80 QUILL squaring module in three frozen language models. \nWith engineered routing and input/output handling, the installed pathway returns correct answers in all $2{,}250$ evaluations across three-, five-, and seven-digit inputs.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "d6c41b5e-5da8-41b0-aa47-7e06a53f4abe"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "QUILL: In-Weight Computation with MLPs",
+ "authors": [],
+ "abstract": "Language models continue to improve across mathematics, programming, and long-context reasoning tasks. \nNevertheless, elementary arithmetic remains unreliable. \nExisting remedies use additional reasoning tokens or dedicated numerical executors. \nWe instead study $\\textit{in-weight computation}$: encoding numerical functions directly in ordinary MLP weights for forward-pass execution, with intermediate values retained as neural activations. \nWe introduce $\\textbf{QUILL} (\\textbf{QU}asi-\\textbf{I}nterpo\\textbf{L}ant \\textbf{L}ayers)$, which constructs single-hidden-layer MLP approximations using quasi-interpolation theory. \nFor univariate analytic functions, QUILL achieves geometric error decay to a finite-precision floor, with $O(\\log(1/\\varepsilon))$ width and working precision for target error $\\varepsilon$.\nThe construction also reveals conditions under which gradient descent is slow to acquire the hidden-layer scales supporting high precision. \nWe extend QUILL to multivariate polynomial programs by composing square modules into multipliers.\nFor bounded computations in the realizable precision regime, the resulting QUILL circuits attain output error $\\varepsilon$ with $O(\\log(2+\\kappa/\\varepsilon))$ nonlinear neurons per multiplication, where $\\(\\kappa\\)$ bounds the amplification of local approximation errors.\nTested polynomial programs, including dot products and determinants, achieve sampled relative $L^2$ errors below $6.5\\times10^{-14}$ in FP64. \nAdditional primitives support non-polynomial functions, fixed-step numerical algorithms, and bounded discrete programs. \nAs a proof of concept, we install a width-80 QUILL squaring module in three frozen language models. \nWith engineered routing and input/output handling, the installed pathway returns correct answers in all $2{,}250$ evaluations across three-, five-, and seven-digit inputs.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}