atlas

Research map / Architectures and efficiency / RNNs and normalization

Optimal Control for Transformer Architectures: Enhancing Generalization, Robustness and Efficiency

NeurIPS 2025 · Architectures and efficiency › RNNs and normalization · approach: Scalable approximation and equivariant compute · 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.

Proposes OT-Transformer, a plug-and-play continuous-time reformulation of pretrained-architecture Transformers (single ODE over composed blocks) with an optimal-transport kinetic-energy regularizer, showing better test performance with fewer parameters across seven experiments and proving stable forward propagation and distributional robustness.

Problem

Transformer architectures are chosen by trial and error, and training lacks theoretical guarantees on stability, robustness, and generalization; prior continuous-time Transformer formulations did not improve performance.

Approach

Treat the full stack of Transformer blocks as one dynamical system whose velocity field is the Transformer, and add an optimal-transport (kinetic energy) regularizer on the velocity; optimal control/HJB regularity then yields Lipschitz stable forward propagation and Wasserstein distributional robustness.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply OT regularization and continuous-time formulationSet Transformer · ModelNet40 point cloud classificationaccuracy: 87.4% ± 0.45% -> 89.9% ± 0.42%Helped
Apply OT regularization and continuous-time formulationViT · MNIST image classificationaccuracy: 93.0% ± 0.69% -> 97.1% ± 0.16%Helped
Apply OT regularization and continuous-time formulationViT · Cats and Dogs image classificationaccuracy: 77.6% ± 0.86% -> 79.0% ± 0.31%Helped
Apply OT regularization and continuous-time formulationEncoder-only Transformer · IMDb sentiment analysisaccuracy: 83.9% ± 0.26% -> 84.6% ± 0.55%Helped
Apply OT regularization and continuous-time formulationnanoGPT · Shakespeare character-leveltest loss: 2.68 ± 0.006 -> 1.44 ± 0.005Helped
Apply OT regularization and continuous-time formulationGPT-2 · Shakespeare word-leveltest loss: 5.18 ± 0.032 -> 4.96 ± 0.012Helped
Apply OT regularization and continuous-time formulationGPT-2 · OpenWebTexttest loss: 3.21 -> 2.91Helped
Add OT regularization (ablation)OT-Transformer · MNIST image classificationaccuracy: 96.8% ± 0.23% -> 97.1% ± 0.16%Helped
Add OT regularization (ablation)OT-Transformer · Cats and Dogs image classificationaccuracy: 78.2% ± 0.39% -> 79.0% ± 0.31%Helped
Add OT regularization (ablation)OT-Transformer · IMDb sentiment analysisaccuracy: 82.7% ± 0.38% -> 84.6% ± 0.55%Helped
Vary OT regularization strength λ (ablation)nanoGPT · Shakespeare character-leveltest loss: 2.68 ± 0.019; 2.29 ± 0.017; 2.05 ± 0.009; 1.52 ± 0.002; 1.44 ± 0.004; 1.48 ± 0.003Mixed
Vary integration time step T/Δt (ablation)nanoGPT · Shakespeare character-leveltest loss: 1.46 ± 0.003; 1.43 ± 0.002; 1.44 ± 0.004; 1.46 ± 0.002; 1.49 ± 0.008No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Shakespeare OpenWebText ModelNet40 MNIST Cats and Dogs IMDb

Benchmarks: Shakespeare char-level Shakespeare word-level OpenWebText ModelNet40 MNIST Cats and Dogs IMDb

Metrics: test loss test accuracy parameter count accuracy drop under noise/dropout

Baselines: nanoGPT baseline GPT-2 baseline Set Transformer ViT N-ODE Transformer Unregularized OT-Transformer

Builds on: Neural ODE Benamou-Brenier formulation Transformer (Vaswani et al.) N-ODE Transformer

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