Understanding and Mitigating Political Stance Cross-topic Generalization in Large Language Models
Jiayi Zhang, Shu Yang, Junchao Wu, Derek F. Wong, Di Wang
TL;DR
This work uncovers neuron-level encodings of political stances in LLMs, revealing general political neurons that influence cross-topic ideology and topic-specific neurons that govern individual topics. It introduces PNLAC to locate these neurons via Activation Contrast and PAS, and demonstrates through activation patching that general neurons drive cross-topic shifts while topic-specific neurons control topic-specific stances. To mitigate undesired cross-topic generalization, the authors propose InhibitFT, which freezes general political neurons during fine-tuning and tunes only topic-specific neurons, achieving ~20% reduction in cross-topic coupling with minimal utility loss and showing effectiveness even when freezing as few as 5% of neurons. The approach provides a principled, interpretable method to control political stances in LLMs, with robust results across multiple models and datasets and practical implications for alignment and safety in open-ended generation tasks.
Abstract
Fine-tuning Large Language Models on a political topic will significantly manipulate their political stance on various issues and unintentionally affect their stance on unrelated topics. While previous studies have proposed this issue, there is still a lack of understanding regarding the internal representations of these stances and the mechanisms that lead to unintended cross-topic generalization. In this paper, we systematically explore the internal mechanisms underlying this phenomenon from a neuron-level perspective and how to mitigate the cross-topic generalization of political fine-tuning. Firstly, we propose Political Neuron Localization through Activation Contrasting (PNLAC) to identify two distinct types of political neurons: general political neurons, which govern stance across multiple political topics, and topic-specific neurons} that affect the model's political stance on individual topics. We find the existence of these political neuron types across four models and datasets through activation patching experiments. Leveraging these insights, we introduce InhibitFT, an inhibition-based fine-tuning method, effectively mitigating the cross-topic stance generalization. Experimental results demonstrate the robustness of identified neuron types across various models and datasets, and show that InhibitFT significantly reduces the cross-topic stance generalization by 20% on average, while preserving topic-specific performance. Moreover, we demonstrate that selectively inhibiting only 5% of neurons is sufficient to effectively mitigate the cross-topic stance generalization.
