用无监督文本重写消除模型偏见,提升公平性与泛化能力。
RAZOR: Sharpening Knowledge by Cutting Bias with Unsupervised Text Rewriting
- 通过迭代重写有偏文本片段,利用词频与位置信息构建修正空间。
- 在FEVER、MNLI和SNLI上F1分数分别提升3.5%、6.5%,优于现有无监督方法。
- 无需先验偏见知识即可减少偏见词出现频率两倍,适合模型公平性研究者。
尽管大语言模型在多种任务中表现优异,但其高昂的计算成本常使用户选择预训练-微调流程。然而,人工构建数据集中普遍存在的偏见会引入词元与标签间的虚假相关性,形成所谓捷径,损害微调模型的泛化能力。现有去偏方法多依赖特定数据集偏见的先验知识,获取困难。我们提出RAZOR(Rewriting And Zero-bias Optimization Refinement),一种基于文本重写的无监督、数据驱动的去偏新方法。RAZOR利用大模型迭代重写潜在有偏文本段落,通过启发式选择替代项,在由词统计与位置信息定义的捷径空间中进行优化。该过程旨在使表面文本特征更贴近多样化标签分布,促进真实语言模式的学习。相比无监督最先进模型,RAZOR在FEVER上提升3.5%的F1分数,在MNLI与SNLI上提升6.5%。此外,无需先验偏见信息即可将偏见相关词汇减少两倍,效果接近依赖先验信息的最先进方法。本工作强调数据处理而非结构修改,凸显数据质量对模型性能与公平性的关键作用。研究还通过引入偏见减少与整体效能指标,推动更稳健的去偏评估基准建设。
原文摘要 · Abstract (English)
Despite the widespread use of LLMs due to their superior performance in various tasks, their high computational costs often lead potential users to opt for the pretraining-finetuning pipeline. However, biases prevalent in manually constructed datasets can introduce spurious correlations between tokens and labels, creating so-called shortcuts and hindering the generalizability of fine-tuned models. Existing debiasing methods often rely on prior knowledge of specific dataset biases, which is challenging to acquire a priori. We propose RAZOR (Rewriting And Zero-bias Optimization Refinement), a novel, unsupervised, and data-focused debiasing approach based on text rewriting for shortcut mitigation. RAZOR leverages LLMs to iteratively rewrite potentially biased text segments by replacing them with heuristically selected alternatives in a shortcut space defined by token statistics and positional information. This process aims to align surface-level text features more closely with diverse label distributions, thereby promoting the learning of genuine linguistic patterns. Compared with unsupervised SoTA models, RAZOR improves by 3.5% on the FEVER and 6.5% on MNLI and SNLI datasets according to the F1 score. Additionally, RAZOR effectively mitigates specific known biases, reducing bias-related terms by x2 without requiring prior bias information, a result that is on par with SoTA models that leverage prior information. Our work prioritizes data manipulation over architectural modifications, emphasizing the pivotal role of data quality in enhancing model performance and fairness. This research contributes to developing more robust evaluation benchmarks for debiasing methods by incorporating metrics for bias reduction and overall model efficacy.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。