Abstract
Large Language Models (LLMs) frequently exhibit social biases inherited from their training data. While debiasing techniques exist, they are often English-centric and fail to transfer effectively across languages due to varying linguistic and cultural contexts. We present Iterative Multilingual Spectral Attribute Erasure (IMSAE), a novel method that identifies and removes shared bias subspaces across multiple languages. By iteratively applying spectral decomposition with language-specific masking, IMSAE enables effective debiasing even for low-resource languages where demographic labels are unavailable.
Introduction
The proliferation of multilingual LLMs has highlighted a critical challenge: the persistence of human prejudices across different linguistic representations. Current debiasing methods typically require large, demographically labeled datasets, which are scarce for most non-English languages. Furthermore, simply applying an English-derived "fix" to other languages often fails because bias manifests differently across linguistic structures. IMSAE addresses this by leveraging the shared semantic space of multilingual models to transfer fairness from data-rich languages to data-poor ones.
The IMSAE Framework
IMSAE is a structural extension of the monolingual Spectral Attribute Erasure (SAL) algorithm. Rather than treating bias as a single direction, IMSAE conceptualizes it as a joint subspace shared across languages.
The algorithm operates through three primary stages:
- Cross-Covariance Calculation: It measures the relationship between internal model representations ($X$) and protected attributes ($Z$).
- Iterative SVD: Unlike joint methods that pool all data at once, IMSAE performs Singular Value Decomposition (SVD) iteratively on subsets of languages. This prevents language-specific noise from diluting broad bias patterns.
- Language Masking and Projection: Using a "language mask," the algorithm identifies vector space directions strongly correlated with protected attributes across the selected group. It then projects the embeddings into a null space, effectively erasing sensitive information while preserving semantic utility.
Experimental Setup and Datasets
The study evaluated IMSAE across eight languages and five demographic dimensions (gender, race, age, country of origin, and user status) using three primary datasets:
- Multilingual BiasBios: Professional biographies used to evaluate gender bias in profession prediction.
- Multilingual Twitter Hate Speech: A dataset for testing bias across multiple demographic intersections.
- MSEFair (Multilingual Stack Exchange Fairness): A new dataset introduced by the authors featuring authentic posts from Stack Overflow in English, Russian, and Portuguese. It uses "user reputation" as a protected attribute to test if models unfairly judge post helpfulness based on author status.
Results and Discussion
IMSAE demonstrates a significant "zero-shot" advantage, where a target language (e.g., French) can be debiased using only data from other source languages. This capability is vital for low-resource languages lacking demographic labels.
Key findings include:
- Superior Bias Reduction: IMSAE consistently outperformed monolingual baselines. For instance, it achieved an 11.6% reduction in Polish gender bias, compared to 8.8% for the best monolingual approach.
- Utility Preservation: Performance drops on downstream tasks remained generally below 2%, proving that the method erases bias without destroying the model's functional capabilities.
- Model Agnosticism: The method proved effective across diverse architectures, including mBERT, Llama 3.1, and Mistral.
Conclusion and Future Work
IMSAE provides a robust framework for multilingual fairness by exploiting the shared mathematical signatures of bias in aligned embedding spaces. However, the method's efficacy depends on the quality of the model's multilingual alignment. Future research should expand this work to typologically diverse non-European languages and explore multi-layer applications to address the distributed nature of bias within neural networks.
Summary updated