CLAILGOct 29, 2024

The Impact of Inference Acceleration on Bias of LLMs

arXiv:2410.22118v312 citationsh-index: 24NAACL
Originality Synthesis-oriented
AI Analysis

This work addresses the problem of unintended bias changes in LLMs for developers and users applying efficiency optimizations, highlighting a critical but often overlooked aspect of model deployment.

The study investigated how inference acceleration techniques like quantization and pruning affect demographic bias in Large Language Models, finding that these optimizations can unpredictably and significantly alter bias levels across different models and bias types.

Last few years have seen unprecedented advances in capabilities of Large Language Models (LLMs). These advancements promise to benefit a vast array of application domains. However, due to their immense size, performing inference with LLMs is both costly and slow. Consequently, a plethora of recent work has proposed strategies to enhance inference efficiency, e.g., quantization, pruning, and caching. These acceleration strategies reduce the inference cost and latency, often by several factors, while maintaining much of the predictive performance measured via common benchmarks. In this work, we explore another critical aspect of LLM performance: demographic bias in model generations due to inference acceleration optimizations. Using a wide range of metrics, we probe bias in model outputs from a number of angles. Analysis of outputs before and after inference acceleration shows significant change in bias. Worryingly, these bias effects are complex and unpredictable. A combination of an acceleration strategy and bias type may show little bias change in one model but may lead to a large effect in another. Our results highlight a need for in-depth and case-by-case evaluation of model bias after it has been modified to accelerate inference.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes