从鲁棒性到预训练语言模型中改进的泛化与校准
From Robustness to Improved Generalization and Calibration in Pre-trained Language Models
AI总结:
本文提出两阶段正则化方法JacHess,通过最小化PLM中间表示的Jacobian和Hessian范数提升表示平滑性,在GLUE基准上显著改善域内泛化与校准。
摘要:
增强预训练语言模型(PLMs)的泛化能力和不确定性量化对其有效性与可靠性至关重要。基于机器学习研究中确立的鲁棒性对改进泛化的重要性,我们研究了通过Jacobian和Hessian正则化实现的表示平滑性在提升PLM性能中的作用。尽管此类正则化方法已在计算机视觉中被证明有效,但它们在自然语言处理(NLP)中的应用面临独特挑战,因为PLM输入来自离散域。我们提出了一种新颖的两阶段正则化方法JacHess,该方法在PLM中间表示相对于其输入的Jacobian和Hessian矩阵范数上进行最小化。我们使用GLUE基准的评估表明,JacHess显著改善了PLM的域内泛化和校准,优于未正则化的微调及其他类似正则化方法。
英文摘要:
Enhancing generalization and uncertainty quantification in pre-trained language models (PLMs) is crucial for their effectiveness and reliability. Building on machine learning research that established the importance of robustness for improving generalization, we investigate the role of representation smoothness, achieved via Jacobian and Hessian regularization, in enhancing PLM performance. Although such regularization methods have proven effective in computer vision, their application in natural language processing (NLP), where PLM inputs are derived from a discrete domain, poses unique challenges. We introduce a novel two-phase regularization approach, JacHess, which minimizes the norms of the Jacobian and Hessian matrices within PLM intermediate representations relative to their inputs. Our evaluation using the GLUE benchmark demonstrates that JacHess significantly improves in-domain generalization and calibration in PLMs, outperforming unregularized fine-tuning and other similar regularization methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。