arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.09815cs.LGcs.AI
收藏

基于平滑伪投影器的变换器模型校正

Correction of Transformer-Based Models with Smoothing Pseudo-Projector

Profiteya LLC;Mass General Brigham

Vitaly Bulgakov

AI总结:

本文提出一种基于伪投影器的变换器模型校正方法,通过抑制噪声敏感性提升训练动态和鲁棒性。

摘要:

伪投影器是一种轻量级的修改,可以集成到现有的语言模型和其他神经网络中,而无需改变其核心架构。它可以被视为一个隐藏表示校正器,通过抑制由标签无关输入内容诱导的方向来减少对噪声的敏感性。该设计灵感来源于多网格(MG)范式,最初开发用于加速迭代求解偏微分方程和边界值问题的收敛,后来通过代数多网格方法扩展到更一般的线性系统。我们将这种方法称为伪投影器,因为其线性原型对应于一个严格幂等的正交投影器,而实际的实现使用了可学习的限制和延展操作符,因此通常不满足精确正交投影的性质。我们在基于变换器的文本分类任务以及受控的合成基准上评估了所提出的方法,证明了其在提高训练动态和鲁棒性方面的有效性。实验结果,加上支持的理论启发式方法,表明在多种设置中训练行为的一致改进,没有观察到其他不良影响。下一步将是将此方法扩展到语言模型。

英文摘要:

The pseudo-projector is a lightweight modification that can be integrated into existing language models and other neural networks without altering their core architecture. It can be viewed as a hidden-representation corrector that reduces sensitivity to noise by suppressing directions induced by label-irrelevant input content. The design is inspired by the multigrid (MG) paradigm, originally developed to accelerate the convergence of iterative solvers for partial differential equations and boundary value problems, and later extended to more general linear systems through algebraic multigrid methods. We refer to the method as a pseudo-projector because its linear prototype corresponds to a strictly idempotent orthogonal projector, whereas the practical formulation employs learnable restriction and prolongation operators and therefore does not, in general, satisfy the properties of an exact orthogonal projection. We evaluate the proposed approach on transformer-based text classification tasks, as well as controlled synthetic benchmarks, demonstrating its effectiveness in improving training dynamics and robustness. Experimental results, together with supporting theoretical heuristics, indicate consistent improvements in training behavior across a range of settings, with no adverse effects observed otherwise. Our next step will be to extend this approach to language models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑