Transformers for Tabular Data: A Training Perspective of Self-Attention via Optimal Transport
Alessandro Quadrio, Antonio Candelieri

TL;DR
This paper explores self-attention training in Transformers for tabular data through Optimal Transport, proposing an OT-based training method that improves efficiency and scalability while maintaining competitive accuracy.
Contribution
It introduces an OT-based algorithm for training self-attention in tabular data, addressing training inefficiencies and scalability issues of standard Transformers.
Findings
Final self-attention often approximates OT optimal coupling
OT-based training reduces computational cost
Method achieves comparable accuracy to Transformers
Abstract
This thesis examines self-attention training through the lens of Optimal Transport (OT) and develops an OT-based alternative for tabular classification. The study tracks intermediate projections of the self-attention layer during training and evaluates their evolution using discrete OT metrics, including Wasserstein distance, Monge gap, optimality, and efficiency. Experiments are conducted on classification tasks with two and three classes, as well as on a biomedical dataset. Results indicate that the final self-attention mapping often approximates the OT optimal coupling, yet the training trajectory remains inefficient. Pretraining the MLP section on synthetic data partially improves convergence but is sensitive to their initialization. To address these limitations, an OT-based algorithm is introduced: it generates class-specific dummy Gaussian distributions, computes an OT alignment…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning · Generative Adversarial Networks and Image Synthesis · Advanced Neural Network Applications
