Analyzing the mechanisms of demographic bias in LLMs in medical settingsElucidating Mechanisms of Demographic Bias in LLMs for Healthcare
AI summary
The authors use mechanistic interpretability methods to analyze LLM representations of demographic information and bias in medical settings, finding that gender information is highly concentrated in MLP layers. These gender representations can be reliably manipulated at inference time via patching, clinical case texts for specific diseases can be modified at targeted points, and downstream clinical predictions related to gender (such as patient depression risk) are also affected. Representations of patient race are more dispersed but can still be intervened upon to some extent. The authors state that, to their knowledge, this is the first use of mechanistic interpretability methods for LLMs in the medical domain.