arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.13683cs.CLcs.AIcs.CY
收藏

预条件测试时适应用于叙事生成中的分布外去偏

Preconditioned Test-Time Adaptation for Out-of-Distribution Debiasing in Narrative Generation

Laboratory for Artificial Intelligence in Mathematics Education, Stevens Institute of Technology(数学教育中的人工智能实验室,史蒂文斯理工学院);Independent Researcher(独立研究者);NLP2CT Lab, Department of Computer and Information Science, University of Macau(NLP2CT实验室,澳门大学计算机与信息科学系)

Hanwen Shen, Ting Ying, Jiajie Lu, Shanshan Wang

AI总结:

本文提出CAP-TTA框架,通过预条件预计算实现测试时适应,有效减少毒性/偏见评分,降低延迟并防止灾难性遗忘,提升叙事流畅度。

摘要:

尽管去偏大型语言模型(LLMs)在处理已知或低偏见提示时表现优异,但它们在不熟悉且高偏见提示上往往表现不佳。我们通过分布外(OOD)检测证明,这些高偏见提示导致分布偏移,降低静态模型性能。为实现实时修正,我们提出CAP-TTA,一种测试时适应框架。CAP-TTA仅在偏风险得分超过设定阈值时触发上下文感知LoRA更新。通过利用离线预计算的对角预条件器,它确保了快速稳定的优化。在多个基准和人类评估中,CAP-TTA显著降低了毒性/偏见评分,比标准优化方法(如AdamW或SGD)具有明显更低的延迟。此外,它防止了灾难性遗忘,并在不牺牲去偏性能的情况下,显著提升了叙事流畅度,优于现有最佳基线。

英文摘要:

Although debiased large language models (LLMs) excel at handling known or low-bias prompts, they often fail on unfamiliar and high-bias prompts. We demonstrate via out-of-distribution (OOD) detection that these high-bias prompts cause a distribution shift, degrading static model performance. To enable real-time correction, we propose CAP-TTA, a test-time adaptation framework. CAP-TTA triggers context-aware LoRA updates only when a bias-risk score exceeds a set threshold. By utilizing an offline precomputed diagonal preconditioner, it ensures fast and stable optimization. Across multiple benchmarks and human evaluations, CAP-TTA effectively reduces toxicity/bias score with significantly lower latency than standard optimization methods (e.g., AdamW or SGD). Furthermore, it prevents catastrophic forgetting, and substantially improves narrative fluency over state-of-the-art baselines without compromising debiasing performance.

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

↑