[논문 리뷰] Context-Aware Counterfactual Data Augmentation for Gender Bias Mitigation in Language Models
Context-CDA는 대형 LM을 사용하여 맥락이 풍부한, 성별-flipped 카운터팩추얼을 생성하고, 의미-엔트로피 필터링을 더해 여러 아키텍처에서 언어 모델링 성능을 해치지 않으면서 편향을 완화한다.
A challenge in mitigating social bias in fine-tuned language models (LMs) is the potential reduction in language modeling capability, which can harm downstream performance. Counterfactual data augmentation (CDA), a widely used method for fine-tuning, highlights this issue by generating synthetic data that may align poorly with real-world distributions or creating overly simplistic counterfactuals that ignore the social context of altered sensitive attributes (e.g., gender) in the pretraining corpus. To address these limitations, we propose a simple yet effective context-augmented CDA method, Context-CDA, which uses large LMs to enhance the diversity and contextual relevance of the debiasing corpus. By minimizing discrepancies between the debiasing corpus and pretraining data through augmented context, this approach ensures better alignment, enhancing language modeling capability. We then employ uncertainty-based filtering to exclude generated counterfactuals considered low-quality by the target smaller LMs (i.e., LMs to be debiased), further improving the fine-tuning corpus quality. Experimental results on gender bias benchmarks demonstrate that Context-CDA effectively mitigates bias without sacrificing language modeling performance while offering insights into social biases by analyzing distribution shifts in next-token generation probabilities.
연구 동기 및 목표
- LM에서 언어 모델링 능력을 희생하지 않고 성별 편향을 줄일 필요성을 제시한다.
- vanilla CDA의 한계(분포 불일치 및 맥락 무감도 등)를 식별하고 맥락 인지적 증강을 제안한다.
- 의미 엔트로피 필터링을 갖춘 Context-CDA를 제안하여 편향 제거를 위한 데이터 품질을 향상시킨다.
- 다양한 아키텍처(인코더, 인코더-디코더, 디코더) 전반에 걸친 모델 비의존적 편향 제거 효과를 시연한다.
- 편향 제거가 다음 토큰 분포와 다운스트림 작업 성능에 미치는 영향을 밝힌다.]
- method:["큰 LM에 의한 프롬프트를 통해 맥락을 더 풍부하게 한 성별 반전 카운터팩추얼을 재구성하도록 하여 편향 제거 코퍼스를 확장한다 (Context-CDA).","미세 조정 전에 높은 불확실성/저품질의 카운터팩추얼을 제거하기 위해 의미-엔트로피 기반 필터링을 적용한다.","필터링된 Context-CDA 데이터로 대상 소형 LMs를 미세 조정하여 표현을 편향 제거한다.","다섯 모델(BERT, DistilBERT, T5, GPT-2, Llama-3.2-1B)에서 StereoSet와 CrowS-Pairs로 고유 편향을 평가한다.","BiasBios, STS-B, NLI-Bias, QNLI, RTE, SST-2에서 외생적 편향 및 다운스트림 작업 성능을 평가한다."]
- research_questions:[
제안 방법
- Augment the debiasing corpus by prompting a large LM to rephrase gender-flipped counterfactuals with richer context (Context-CDA).
- Apply semantic-entropy-based filtering to remove high-uncertainty/low-quality counterfactuals before fine-tuning.
- Fine-tune target smaller LMs on the filtered Context-CDA data to debias representations.
- Evaluate intrinsic bias with StereoSet and CrowS-Pairs across five models (BERT, DistilBERT, T5, GPT-2, Llama-3.2-1B).
- Evaluate extrinsic bias and downstream task performance on BiasBios, STS-B, NLI-Bias, QNLI, RTE, and SST-2.
실험 결과
연구 질문
- RQ1Context-CDA가 인코더, 인코더-디코더, 디코더-온리 모델 전반에서 vanilla CDA보다 고유 성별 편향을 더 효과적으로 감소시키는가?
- RQ2의미-엔트로피 필터링이 카운터팩추얼의 품질을 향상시키고 언어 모델링에 해를 끼치지 않으면서 편향 제거를 더 강화하는가?
- RQ3Context-CDA가 다양한 아키텍처와 다운스트림 작업에서 강건하고 모델에 의존하지 않는가?
- RQ4편향 제거가 언어 모델링 지표와 다음 토큰 분포에 어떤 영향을 미치는가?
- RQ5Context-CDA를 사용할 때 편향 완화와 다운스트림 작업 성능 간의 균형은 무엇인가?
주요 결과
- Context-CDA는 BERT, DistilBERT, GPT-2, Llama-3.2-1B, 및 T5에서 vanilla CDA보다 고유 편향을 더 일관되게 감소시킨다.
- Context-CDA는 CDA 및 Vanilla에 비해 언어 모델링 능력(LMS 및 ICAT)을 보존하거나 향상시킨다.
- Semantic-entropy filtering of counterfactuals further enhances debiasing effectiveness and maintains fluency.
- Across architectures, Context-CDA shows robust, model-agnostic debiasing with balanced next-token distributions between male and female terms.
- Extrinsic-bias performance on downstream tasks is maintained or improved under Context-CDA versus CDA.
- Convergence analyses indicate bias-mitigation stabilizes around epochs 75–85, with no overfitting observed.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.