通过Lipschitz正则化缓解Transformer的过度自信
Mitigating Transformer Overconfidence via Lipschitz Regularization
AI总结:
针对Transformer因标准点积自注意力难以保持无界输入域距离而过度自信的问题,提出基于巴拿赫空间距离相似函数与收缩Lipschitz界的LRFormer,经理论保证与实验验证,在预测、校准及不确定性估计上优于现有单前向传播最优方法。
摘要:
尽管Transformer已在众多计算机视觉任务中取得可观成果,但它们往往对预测结果过度自信,因为标准的点积自注意力(Dot Product Self-Attention, DPSA)在无界输入域上几乎无法保持距离特性。为填补这一研究空白,本文提出一种新型Lipschitz正则化Transformer(Lipschitz Regularized Transformer, LRFormer)。具体而言,我们提出一种基于巴拿赫空间内距离的新型相似性函数,以确保Lipschitz连续性,同时通过收缩Lipschitz界对该项进行正则化。我们对所提方法进行了理论保证分析,为其有效性与可靠性提供了严谨依据。在标准视觉基准上开展的大量实验表明,本文方法在预测、校准及不确定性估计方面均优于现有最先进的单前向传播方法。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。