arXiv Machine Learning

Provably Learning Multi-Head Attention with Queries

arXiv:2608. 03294v1 Announce Type: new Abstract: We study the problem of learning multi-head softmax attention from black-box input-output access.

arXiv Computation and Language
Nov 4

Conic Certification of Transformer Attention

The paper introduces a conic programming framework for certifying transformer attention, providing guarantees on how far an attention head’s output can shift under input perturbations. It shows that the main challenge lies in the bilinear interaction between varying queries and keys, making certification NP-hard over boxes and inapproximable when logits can shift by a constant. The authors present an exponential cone moment relaxation that yields a quadratic error bound in the perturbation radius, and demonstrate that this approach outperforms linear bound propagation on GPT‑2, achieving tighter bounds and matching predicted second‑order accuracy.

By Masoud Ataei
arXiv Machine Learning
Sep 4

A Closed-Form Formula for Consistent Lipschitz Regression on Metric Spaces with Sparse Neural Network Realizations

arXiv:2609. 03129v1 Announce Type: cross Abstract: Several classical machine-learning methods, such as KRRs and SVRs, are both computationally and analytically tractable since their estimators either admit closed-form expressions or are obtained by minimizing convex training objectives; neither feature is generally available for deep neural networks.

By Ruiyang Hong, Hrad Ghoukasian, Anastasis Kratsios
arXiv Machine Learning
Jun 30

Actively Learning Halfspaces without Synthetic Data

arXiv:2509. 20848v2 Announce Type: replace-cross Abstract: In the classic point location problem, one is given an arbitrary dataset $X \subset \mathbb{R}^d$ of $n$ points with query access to an unknown halfspace $f : \mathbb{R}^d \to \{0,1\}$, and the goal is to learn the label of every point in $X$.

By Hadley Black, Kasper Green Larsen, Arya Mazumdar, Barna Saha, Geelon So
arXiv Machine Learning
Oct 8

EntroPrefill: Renyi-Guided Context Pruning with Conditional Stability Guarantees for Retrieval-Augmented Generation

EntroPrefill introduces a Renyi‑guided context pruning method for retrieval‑augmented generation, coupling a proposal mechanism with constraints on discarded attention mass. The approach includes a sink‑isolated, regularized head pooling strategy that balances specialization and worst‑head coverage, and derives a computable upper bound on token removal along with finite‑sample observer guarantees for adaptive pruning layers. The paper also establishes a conditional transformer perturbation bound with Lipschitz constants, a first‑token decision‑margin corollary, and a counterexample illustrating limits of shallow observations, while outlining a systems analysis that distinguishes query‑head unions, physical page allocation, and KV‑transfer payload to provide an arithmetic break‑even condition for pruning.

By Inbasekaran S
arXiv Machine Learning
6d ago

Exact Sequence Interpolation with Transformers

The paper proves that transformer models can exactly interpolate any finite dataset of input sequences in ℝ^d (d ≥ 2) to output sequences of equal or smaller length. It constructs a transformer with O(∑m^j) blocks and O(d∑m^j) parameters, using alternating feed‑forward and self‑attention layers, low‑rank attention matrices, and a clustering effect to keep complexity independent of input length. The results are first shown for hardmax self‑attention, then extended to softmax, and the authors provide convergence guarantees to a global minimizer under regularized training, thereby explaining transformers’ strong performance on exact sequence‑to‑sequence interpolation tasks.

By Albert Alcalde, Giovanni Fantuzzi, Enrique Zuazua