Mitigating Transformer Overconfidence via Lipschitz Regularization. Ye, W., Ma, Y., Cao, X., & Tang, K. In Proceedings of the Thirty-Ninth Conference on Uncertainty in Artificial Intelligence, pages 2422–2432, July, 2023. PMLR. ISSN: 2640-3498
Mitigating Transformer Overconfidence via Lipschitz Regularization [link]Paper  abstract   bibtex   
Though Transformers have achieved promising results in many computer vision tasks, they tend to be over-confident in predictions, as the standard Dot Product Self-Attention (DPSA) can barely preserve distance for the unbounded input domain. In this work, we fill this gap by proposing a novel Lipschitz Regularized Transformer (LRFormer). Specifically, we present a new similarity function with the distance within Banach Space to ensure the Lipschitzness and also regularize the term by a contractive Lipschitz Bound. The proposed method is analyzed with a theoretical guarantee, providing a rigorous basis for its effectiveness and reliability. Extensive experiments conducted on standard vision benchmarks demonstrate that our method outperforms the state-of-the-art single forward pass approaches in prediction, calibration, and uncertainty estimation.
@inproceedings{ye_mitigating_2023,
	title = {Mitigating {Transformer} {Overconfidence} via {Lipschitz} {Regularization}},
	url = {https://proceedings.mlr.press/v216/ye23a.html},
	abstract = {Though Transformers have achieved promising results in many computer vision tasks, they tend to be over-confident in predictions, as the standard Dot Product Self-Attention (DPSA) can barely preserve distance for the unbounded input domain. In this work, we fill this gap by proposing a novel Lipschitz Regularized Transformer (LRFormer). Specifically, we present a new similarity function with the distance within Banach Space to ensure the Lipschitzness and also regularize the term by a contractive Lipschitz Bound. The proposed method is analyzed with a theoretical guarantee, providing a rigorous basis for its effectiveness and reliability. Extensive experiments conducted on standard vision benchmarks demonstrate that our method outperforms the state-of-the-art single forward pass approaches in prediction, calibration, and uncertainty estimation.},
	language = {en},
	urldate = {2025-06-02},
	booktitle = {Proceedings of the {Thirty}-{Ninth} {Conference} on {Uncertainty} in {Artificial} {Intelligence}},
	publisher = {PMLR},
	author = {Ye, Wenqian and Ma, Yunsheng and Cao, Xu and Tang, Kun},
	month = jul,
	year = {2023},
	note = {ISSN: 2640-3498},
	pages = {2422--2432},
}

Downloads: 0