🛰️ Daily AI Frontier
‹ back to 2026-08-10

Training-Free Universal Approximation by Prompting Random Transformers

Research LLMs & Foundation Models

Ranking

Overall 69
Content 80
Popularity 43

Observed public metrics from 1 member.

Merged summary

TL;DR - A theory paper showing that a single-layer softmax attention network with random, untrained weights can universally approximate Hölder functions on a compact manifold when steered by a suitably constructed soft prompt — implying that, in an approximation-theoretic sense, pretraining is optional and task behavior can live in the prompt rather than the weights.

  • Soft prompts are constructed explicitly (one per target function, independent of the query) by solving linear systems that match attention logits to Gaussian kernel exponents, making the frozen transformer emulate the classical Nadaraya-Watson kernel estimator.
  • The construction needs only a mild rank condition on the weights, which the authors show holds almost surely under Gaussian initialization.
  • Because it inherits kernel-regression guarantees, the prompted network achieves universal approximation with minimax-optimal rates governed by the data's intrinsic dimension, not the ambient one.
  • The paper quantifies the "cost of prompting" as a tradeoff among soft-prompt token norm, prompt length, and hidden dimension, with numerical experiments corroborating the constructions and predicted rates.

Sources (1)

Training-Free Universal Approximation by Prompting Random Transformers

arXiv cs.LG Alexander Hsu, Rongjie Lai 2026-08-10 arXiv:2608.09558
Public signals Semantic Scholar citations 0 · Semantic Scholar influential citations 0
Providers: Hugging Face · N/A OpenAlex · N/A Publisher · N/A Semantic Scholar · Citations 0 · Influential citations 0 X · N/A Fetched 2026-09-07 14:26:25.745224 UTC

TL;DR - A theory paper showing that a single-layer softmax attention network with random, untrained weights can universally approximate Hölder functions on a compact manifold when steered by a suitably constructed soft prompt — implying that, in an approximation-theoretic sense, pretraining is optional and task behavior can live in the prompt rather than the weights.

  • Soft prompts are constructed explicitly (one per target function, independent of the query) by solving linear systems that match attention logits to Gaussian kernel exponents, making the frozen transformer emulate the classical Nadaraya-Watson kernel estimator.
  • The construction needs only a mild rank condition on the weights, which the authors show holds almost surely under Gaussian initialization.
  • Because it inherits kernel-regression guarantees, the prompted network achieves universal approximation with minimax-optimal rates governed by the data's intrinsic dimension, not the ambient one.
  • The paper quantifies the "cost of prompting" as a tradeoff among soft-prompt token norm, prompt length, and hidden dimension, with numerical experiments corroborating the constructions and predicted rates.
item →