paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Attention Pruning: Automated Fairness Repair of Language Models via Surrogate Simulated Annealing

注意力剪枝:基于代理模拟退火的语言模型自动化公平性修复
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 1/10 · 该论文的研究目标是提升LLM本身的公平性,用注意力头剪枝和代理模拟退火做后处理偏见缓解,属于以LLM为目标的优化/修复工作,不涉及用户关注的核心方向(PL→AI静态分析、Agentic程序、AI→PL形式化验证、浮点或贝叶斯程序分析)。虽然用到搜索优化,但与程序语言分析基本无关。引用 4 inbox
Vishnu Asutosh Dasu, Md Rafi Ur Rashid, Vipul Gupta, Saeid Tizpaz-Niari, Gang Tan
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 Attention Pruning,用代理模拟退火搜索注意力头剪枝参数,自动降低语言模型的性别偏见并兼顾效用。

大语言模型在敏感社会场景中会编码并延续训练数据中的社会偏见,而修改训练数据往往不可行,因此需要后处理公平性修复。本文研究通过剪枝注意力头进行偏见缓解,但寻找最优剪枝参数是组合优化问题,需在公平性与效用间权衡。作者提出 Attention Pruning,一种公平感知的代理模拟退火方法:用代理深度神经网络建模注意力头状态与公平性/效用指标之间的关系,从而避免直接搜索巨大的LLM参数空间。实验表明,该方法在性别偏见上最高降低40%,优于当前最佳方法,同时兼顾模型效用。

问题
大语言模型会从训练数据中习得并放大社会偏见,直接修改训练数据不可行,需要高效的后处理公平性修复方法;其中选择最优注意力头剪枝参数是组合优化难题。
方法
提出 Attention Pruning,用代理深度神经网络拟合注意力头状态与公平性/效用指标的关系,并采用公平感知的代理模拟退火在剪枝空间中进行高效优化。
评估
在语言模型上进行实验,性别偏见最高降低40%,优于现有最佳方法,并考察公平性与效用的平衡。
原文摘要(Abstract)

This paper explores pruning attention heads as a post-processing bias mitigation method for large language models (LLMs). As LLMs expand into sensitive social contexts, fairness concerns become crucial since these models encode and perpetuate societal biases from their training data. While modifying training datasets is prohibitive, post-processing techniques like pruning attention heads can provide feasible approaches to improve fairness. However, identifying optimal parameters to prune presents a combinatorial challenge requiring efficient solutions that balance model fairness and utility. We introduce Attention Pruning, a fairness-aware surrogate simulated annealing approach that uses surrogate deep neural networks to efficiently model the relationship between attention head states and fairness/utility metrics, enabling optimization without directly searching the massive LLM parameter space. Our experimental evaluation shows that Attention Pruning achieves up to \(40\%\) reduction in gender bias, outperforming the state-of-the-art. Warning: This paper contains content that some readers may find offensive and harmful.

链接与引用

DOI 原文 · arXiv · DBLP

BibTeX
@inproceedings{abs-2503-15815,
  title = {Attention Pruning: Automated Fairness Repair of Language Models via Surrogate Simulated Annealing},
  author = {Vishnu Asutosh Dasu and Md Rafi Ur Rashid and Vipul Gupta and Saeid Tizpaz-Niari and Gang Tan},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3744916.3773115}
}