Causal-Guided Active Learning for Debiasing Large Language Models

Li Du, Zhouhao Sun, Xiao Ding, Yixuan Ma, Yang Zhao +3 more
8/23/2024
cs.CLcs.AI

No official code found. Best implementation: spirit-moon-fly/CAL (26 stars, last commit 2024-11-26).

Abstract

Although achieving promising performance, recent analyses show that current generative large language models (LLMs) may still capture dataset biases and utilize them for generation, leading to poor generalizability and harmfulness of LLMs. However, due to the diversity of dataset biases and the over-optimization problem, previous prior-knowledge-based debiasing methods and fine-tuning-based debiasing methods may not be suitable for current LLMs. To address this issue, we explore combining active learning with the causal mechanisms and propose a casual-guided active learning (CAL) framework, which utilizes LLMs itself to automatically and autonomously identify informative biased samples and induce the bias patterns. Then a cost-effective and efficient in-context learning based method is employed to prevent LLMs from utilizing dataset biases during generation. Experimental results show that CAL can effectively recognize typical biased instances and induce various bias patterns for debiasing LLMs.

View on arXivView PDF

Code Implementations(1)

spirit-moon-fly/CALCommunity100%
263Shell, PythonJun 3, 20241 years ago

Similar Papers

Cite this paper

@article{du2024causalguided,
  title  = {Causal-Guided Active Learning for Debiasing Large Language Models},
  author = {Li Du and Zhouhao Sun and Xiao Ding and Yixuan Ma and Yang Zhao and Kaitao Qiu and Ting Liu and Bing Qin},
  year   = {2024},
  eprint = {2408.12942},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.12942v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.12942.svg)](https://codeofpaper.com/paper/2408.12942)

Discussion