cs.LGFeb 17, 2026

Approximation Theory for Lipschitz Continuous Transformers

Authors: Takashi Furuya, Davide Murari, Carola-Bibiane Schönlieb

Organizations: Faculty of Life and Medical Sciences, Department of Biomedical Engineering, Doshisha University, RIKEN AIP · Department of Applied Mathematics and Theoretical Physics, University of Cambridge

Abstract

Stability and robustness are critical for deploying Transformers in safety-sensitive settings. A principled way to enforce such behavior is to constrain the model's Lipschitz constant. However, approximation-theoretic guarantees for architectures that explicitly preserve Lipschitz continuity have yet to be established. In this work, we bridge this gap by introducing a class of gradient-descent-type in-context Transformers that are Lipschitz-continuous by construction. We realize both MLP and attention blocks as explicit Euler steps of negative gradient flows, ensuring inherent stability without sacrificing expressivity. We prove a universal approximation theorem for this class within a Lipschitz-constrained function space. Crucially, our analysis adopts a measure-theoretic formalism, interpreting Transformers as operators on probability measures, to yield approximation guarantees independent of token count. These results provide a rigorous theoretical foundation for the design of robust, Lipschitz continuous Transformer architectures.

Explore similar work

CardsList
  1. Stability of Measure-to-Measure Transformers on Sub-Gaussian Data

    Oct 6, 2026Frank Cole, Nicholas H. Nelsen, Takashi FuruyaTransformerStatistical Learning Theory

  2. Numerical stability analysis of large language models

    Mar 13, 2025Stanislav Budzinskiy, Wenyi Fang, Longbin Zeng +1Transformer InferenceTransformer Attention

  3. Approximation Error Upper and Lower Bounds for Hölder Class with Transformers

    May 8, 2026Xin He, Yuling Jiao, Xiliang Lu +1TransformerNeural Network Approximation Theory