ruizheliUOA / Awesome-Interpretability-in-Large-Language-Models

This repository collects all relevant resources about interpretability in LLMs
Creative Commons Zero v1.0 Universal
265 stars 16 forks source link

Add related paper: Preference Tuning For Toxicity Mitigation Generalizes Across Languages #4

Closed SeuperHakkerJa closed 3 months ago

SeuperHakkerJa commented 3 months ago

Hi,

I'd like to suggest adding a new paper to the "Interpretable Analysis of LLMs" section. The paper, titled "Preference Tuning For Toxicity Mitigation Generalizes Across Languages," involves mechanistic interpretability analysis on MLP layers and explores cross-lingual generalization.

Link: https://arxiv.org/abs/2406.16235

Abstract: Detoxifying multilingual Large Language Models (LLMs) has become crucial due to their increasing global use. In this work, we explore zero-shot cross-lingual generalization of preference tuning in detoxifying LLMs. Unlike previous studies that show limited cross-lingual generalization for other safety tasks, we demonstrate that Direct Preference Optimization (DPO) training with only English data can significantly reduce toxicity in multilingual open-ended generations. For example, the probability of mGPT-1.3B generating toxic continuations drops from 46.8% to 3.9% across 17 different languages after training. Our results also extend to other multilingual LLMs, such as BLOOM, Llama3, and Aya-23. Using mechanistic interpretability tools like causal intervention and activation analysis, we identified the dual multilinguality property of MLP layers in LLMs, which explains the cross-lingual generalization of DPO. Finally, we show that bilingual sentence retrieval can predict the cross-lingual transferability of DPO preference tuning.

Thank you for considering my suggestion!

Best regards, Jacob