atlas

Research map / Architectures and efficiency / Attention and transformers

Fundamental Limits of Prompt Tuning Transformers: Universality, Capacity and Efficiency

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and learnability · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that prompt tuning a single-head, single-layer transformer is a universal approximator for Lipschitz seq2seq functions, gives memorization bounds, and identifies a norm-based efficiency phase transition (sub-quadratic/almost-linear inference) under SETH.

Problem

Theoretical limits of prompt tuning: whether minimal single-head, single-layer transformers can universally approximate seq2seq functions and memorize datasets via soft prompts, and what computational cost (under SETH) prompt tuning inference requires.

Approach

Extends contextual mapping of rank-1 attention to attention with any-rank weights, combines quantization/piecewise-constant approximation with a chained reduction to show prompt tuning on 1-head 1-layer transformers is universal, and ties inference efficiency to the norm bound of soft-prompt-induced queries, keys and values (sub-quadratic impossible beyond B=O(sqrt(log L)) under SETH; almost-linea

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use a single-head, single-layer attention transformer for prompt tuningPrompt tuning · Lipschitz seq-to-seq functionsapproximation error: \leq \epsilonHelped
Reduce FFN depth to 2 while increasing width to O((1/ε)^{d(L_p + L)}) neuronsSingle-head, single-layer prompt-tuning transformer · Lipschitz seq-to-seq functionsFFN layer count: 2 FFN layers; O((1/ε)^{d (L_p + L)}) MLP neuronsHelped
Use a soft prompt with L_p ≥ LλSingle-head, single-layer prompt-tuning transformer · General datasets with embeddings generated from a C-Lipschitz functionmemorization error: \leq \epsilonHelped
Allow Q, K, and V max norms at B = C_b √log(L_p+L)Approximate Prompt Tuning Inference · Apti with d = C log(L_p+L)inference time: no O((L_p+L)^{2-q})-time (sub-quadratic) algorithmHurt
Keep Q, K, and V max norms below o(√log(L_p+L)) and use low-rank approximationApproximate Prompt Tuning Inference · Apti with d = O(log(L_p+L))inference time: (L_p+L)^{1+o(1)}Helped
Extend attention weight matrices from rank 1 to any rankSingle-head, single-layer attention · Separated input sequencescontextual mapping weight-rank coverage: any rankHelped

Limitations

Experimental setup

Baselines: Wang et al. 2024 prompt tuning universality Petrov et al. prompt tuning expressivity

Builds on: prompt tuning contextual mapping (Kajitsuka and Sato) SETH Boltzmann operator analysis of attention

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy