Diké
Collaborative project
Bias, fairness and ethics of compressed language models
Funded by ANR
(AAPG 2021, 2022-2026)
Diké - named after the Greek goddess of justice - is a research project funded by the French National Research Agency (ANR) studying how model compression affects fairness, bias, uncertainty, safety, and model robustness.
Compression methods such as pruning, quantization, and distillation can substantially reduce the computational and memory requirements of language models. However, compressed models are often evaluated mainly through aggregate task performance, leaving open the question of whether model performance on safety benchmarks is preserved.
Introduced new evaluation resources for French language models, including FrenchToxicityPrompts for toxicity evaluation and HistoiresMorales for evaluating moral alignment.
The project studies the impact of pruning, quantization, and distillation on properties beyond aggregate predictive performance, including group fairness, uncertainty, confidence, calibration, multilingual performance, and robustness.
The project develops methods for learning fair and transferable representations, including Wasserstein-based independence objectives designed to reduce dependence on sensitive attributes and transfer fairness across domains.
The project develops compression methods that explicitly account for fairness, including Fair-GPTQ for fairness-aware quantization and Debias-SparseGPT for bias-aware pruning.
Large-scale models like BERT and GPT-3, while easily accessible, pose scalability challenges due to their immense size—ranging from 110 million to 175 billion parameters. Recent compression techniques aim to improve their usability by employing such methods as:
In that scientific context, the Diké project builds upon the following key observation. All compression techniques only focus on preserving the model accuracy on a given task. But there is no such thing as a free lunch: if we remove most of these weights (sometimes 99%!) and the accuracy of the model remains the same if not higher, we may be trading for model bias, fairness or ethics without knowing it. We study the hypothesis that what is discarded may be related to harmful side effects.