arXiv Machine Learning

When Can Prefixes Compile LoRA? Exact Resource-Capped Tests for Frozen Attention

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
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 AI
Aug 24

From Attention Masks to Inert Zero-Vector Tokens: OAttention and O-Closure for Token Dynamics

The paper introduces OAttention, a token‑level attention mechanism that assigns each token a presence coefficient based on its hidden representation. This coefficient both gates the token’s output and weights its contribution to other tokens, making zero‑vector tokens behave as true zeros and enabling exact null‑receiver, null‑source, and empty‑support properties. The authors extend this idea to local O‑components and an O‑Transformer, and demonstrate small performance changes when retrofitting a pretrained TabPFN model.

By Heyang Gong