Skip to main content
QUICK REVIEW

[论文解读] Adaptive loose optimization for robust question answering

Jie Ma, Pinghui Wang|arXiv (Cornell University)|May 6, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用 3
一句话总结

本文提出自适应松散优化(ALO),一种新颖的损失函数,通过基于前一优化状态与当前优化状态之比自适应地降低训练损失,使问答模型在同时实现分布内与分布外性能的最先进水平。通过在非去偏模型中减弱过度的偏见学习,同时在去偏模型中保留轻微的偏见学习,ALO 在不牺牲标准基准测试准确率的前提下提升了模型的鲁棒性。

ABSTRACT

Question answering methods are well-known for leveraging data bias, such as the language prior in visual question answering and the position bias in machine reading comprehension (extractive question answering). Current debiasing methods often come at the cost of significant in-distribution performance to achieve favorable out-of-distribution generalizability, while non-debiasing methods sacrifice a considerable amount of out-of-distribution performance in order to obtain high in-distribution performance. Therefore, it is challenging for them to deal with the complicated changing real-world situations. In this paper, we propose a simple yet effective novel loss function with adaptive loose optimization, which seeks to make the best of both worlds for question answering. Our main technical contribution is to reduce the loss adaptively according to the ratio between the previous and current optimization state on mini-batch training data. This loose optimization can be used to prevent non-debiasing methods from overlearning data bias while enabling debiasing methods to maintain slight bias learning. Experiments on the visual question answering datasets, including VQA v2, VQA-CP v1, VQA-CP v2, GQA-OOD, and the extractive question answering dataset SQuAD demonstrate that our approach enables QA methods to obtain state-of-the-art in- and out-of-distribution performance in most cases. The source code has been released publicly in \url{https://github.com/reml-group/ALO}.

研究动机与目标

  • 解决问答模型在分布内与分布外性能之间的权衡问题。
  • 减少对视觉和抽取式问答中语言和位置偏见等数据偏见的过拟合。
  • 使非去偏与去偏方法均能在多样化分布场景下实现优异性能。
  • 开发一种简单、高效且可扩展的优化策略,在分布偏移下保持模型鲁棒性。

提出的方法

  • 提出一种新颖的损失函数,基于小批量训练数据中前一优化状态与当前优化状态的比值,自适应地降低损失。
  • 引入一个动态缩放因子 γ ∈ (0,1),用于控制松散优化的程度,在反向传播过程中减少梯度。
  • 将自适应松散优化应用于非去偏模型(如 BERT)和去偏模型(如 RUBi、BERT+LM),使其在避免过拟合的同时仍能从偏见中学习到少量信息。
  • 通过基于导数的理论分析表明,梯度更新幅度被减小,从而在非去偏模型中实现更弱的偏见学习,在去偏模型中实现受控的去偏过程。
  • 采用多头架构,损失按批次自适应计算,使模型能够动态调整优化强度。
  • 可无缝集成至现有问答框架中,无需架构修改,因此可轻松扩展至多种模型与数据集。

实验结果

研究问题

  • RQ1是否存在一种统一的优化策略,能够同时提升问答模型在分布内与分布外的性能?
  • RQ2如何在不降低分布内准确率的前提下,减少对语言和位置线索等数据偏见的过拟合?
  • RQ3自适应松散优化在多大程度上能够保留有用的偏见信号,同时缓解有害的过拟合?
  • RQ4是否可能通过一种简单、即插即用的损失函数,在分布偏移下实现鲁棒性能?

主要发现

  • ALO 使 BERT 等非去偏模型在分布内(VQA v2.0)和分布外(VQA-CP v1、VQA-CP v2、GQA-OOD)基准上均达到最先进性能。
  • 结合 ALO 后,去偏模型如 BERT+LM 和 RUBi 在提升分布内准确率的同时,仍保持强大的分布外泛化能力。
  • 在 SQuAD 上,ALO 在分布内(SQuAD k=1 dev)和分布外(SQuAD k=2 train)设置下均提升了性能,定性结果表明预测更加自信且准确。
  • 理论分析确认,ALO 可将梯度幅度最多减少为原来的 1 倍,从而确保非去偏模型中偏见学习更弱,而去偏模型中实现受控的去偏过程。
  • ALO 在多个基准上均达到最先进结果,包括 VQA v2.0、VQA-CP v1、VQA-CP v2、GQA-OOD 及 SQuAD 变体,展现出广泛的适用性。
  • 该方法具有高度可扩展性,如其成功集成至 BERT、SMRL 和 BERT+LM 等多样化模型中而无需架构修改所示。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。