Understanding the effect of model compression on social bias in large language models

G Gonçalves, E Strubell - arXiv preprint arXiv:2312.05662, 2023 - arxiv.org
arXiv preprint arXiv:2312.05662, 2023arxiv.org
Large Language Models (LLMs) trained with self-supervision on vast corpora of web text fit
to the social biases of that text. Without intervention, these social biases persist in the
model's predictions in downstream tasks, leading to representational harm. Many strategies
have been proposed to mitigate the effects of inappropriate social biases learned during
pretraining. Simultaneously, methods for model compression have become increasingly
popular to reduce the computational burden of LLMs. Despite the popularity and need for …
Large Language Models (LLMs) trained with self-supervision on vast corpora of web text fit to the social biases of that text. Without intervention, these social biases persist in the model's predictions in downstream tasks, leading to representational harm. Many strategies have been proposed to mitigate the effects of inappropriate social biases learned during pretraining. Simultaneously, methods for model compression have become increasingly popular to reduce the computational burden of LLMs. Despite the popularity and need for both approaches, little work has been done to explore the interplay between these two. We perform a carefully controlled study of the impact of model compression via quantization and knowledge distillation on measures of social bias in LLMs. Longer pretraining and larger models led to higher social bias, and quantization showed a regularizer effect with its best trade-off around 20% of the original pretraining time.
arxiv.org