Reasoning Boosts Opinion Alignment in LLMs
Organizations: ETH Zurich, Switzerland
Abstract
Opinion modeling aims to capture individual or group political preferences, enabling applications such as digital democracies, where models could help shape fairer and more popular policies. Given their versatility, strong generalization capabilities, and demonstrated success across diverse text-to-text applications, large language models (LLMs) are natural candidates for this task. However, due to their statistical nature and limited causal understanding, they tend to produce biased opinions when prompted naively. In this work, we study whether reasoning can improve opinion alignment. Motivated by the recent advancement in mathematical reasoning enabled by reinforcement learning (RL), we train models to produce profile-consistent answers through structured reasoning. We evaluate our approach on three datasets covering U.S., European, and Swiss politics. Results indicate that reasoning enhances opinion modeling and is competitive with strong baselines, but does not fully remove bias, highlighting the need for additional mechanisms to build faithful political digital twins using LLMs. By releasing both our method and datasets, we establish a solid baseline to support future research on LLM opinion alignment.
Figures & tables
| Question: |
| Do you agree that it is not really that big a problem if some people have more of a chance in life than others? |
| Before (prompting on base model) |
| No. I don’t think that’s right. Everyone deserves an equal shot at succeeding in life, no matter where they’re from or who their parents are. If some people have more opportunities and resources, it’s not fair to others. We should be working to level the playing field and give everyone a fair chance to succeed. |
| After ( SFT+GRPO ) |
| <reasoning> Some inequality in wealth and opportunity is inevitable and indeed necessary to provide incentives for hard work and innovation – the issue is not eliminating all differences but rather ensuring that everyone has access to basic necessities and opportunities to improve themselves – other countries with significant equality have still struggled with poverty and stagnation. </reasoning> |
| <answer> A) Yes </answer> |
| Setting | Unit | #Units | Labels | Train Q | Test Q |
|---|---|---|---|---|---|
| smartvote (CH) | Candidate | 18 | {Yes, No} | 48 | 12 (topic-strat.) |
| WoM (DE) | Party | 6 | {Yes, Neutral, No} | see Table 5 | 30 (EU&I) |
| ANES 2020 (US) | Respondent | 21 | {Yes, Neutral, No} | 67 | 12 (random) |
| Base model | Method | Dataset | ||
|---|---|---|---|---|
| smartvote | WoM | ANES | ||
| Untrained baselines | random | |||
| majority | ||||
| Llama 3.1 8B | icl | .66) | .02) | .79) |
| ORPO | .81) | .16) | .41) | |
| SFT | .34) | .56) | ||
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Party | Political Orientation | Group |
|---|---|---|
| SVP | Right-wing conservative | Right |
| SP | Center-left social democratic | Left |
| FDP | Center-right liberal | Right |
| The Center | Center/Christian democratic | Center |
| Green Party | Left-wing green | Left |
| GLP | Center-left green liberal | Center |
| Party | Political Orientation | # Train Q. | Train. distr. | Test distr. | Group |
|---|---|---|---|---|---|
| Yes/Neutral/No | Yes/Neutral/No | ||||
| CDU/CSU | Center-right Christian democratic | 646 | 52.32 / 39.16 / 8.51 | 60.0 / 36.67 / 3.33 | Right |
| SPD | Center-left social democratic | 760 | 55.92 / 32.63 / 11.45 | 63.33 / 33.33 / 3.33 | Center |
| Grüne | Center-left green | 722 | 52.08 / 37.40 / 10.53 | 73.33 / 20.0 / 6.67 | Left |
| FDP | Center-right liberal | 760 | 48.68 / 42.37 / 8.95 | 46.67 / 53.33 / 0.00 | Center |
| Die Linke | Left-wing socialist | 646 | 52.17 / 41.80 / 6.04 | 56.67 / 40.0 / 3.33 | Left |
| Ideology | Group |
|---|---|
| Extremely liberal | Left |
| Liberal | Left |
| Slightly liberal | Center |
| Moderate | Center |
| Slightly conservative | Center |
| Conservative | Right |
| Question: Social programs should be maintained even at the cost of higher taxes |
|---|
| <reasoning> We are committed to social justice and therefore to strong social work and high social spending. For us, social policy always means more than mere benefit payments. We are committed to free childcare for all children up to the age of ten years and for senior citizens and nursing services that look after them with respect and dignity. </reasoning> |
| <answer> A </answer> |
| Question: Should the construction of new nuclear power plants in Switzerland be allowed again? |
|---|
| <reasoning > Switzerland has historically been committed to a policy of non-proliferation of nuclear weapons. Allowing new nuclear power plants could potentially compromise this policy, as there is a risk that nuclear materials or technology could be diverted or transferred to other countries with questionable intentions, potentially contributing to the development of nuclear weapons. </reasoning > |
| <answer > B </answer > |
| Question: The legalization of same-sex marriages is a good thing. |
|---|
| <reasoning> In the future, there should be no further debates on the equality of homo and heterosexual couples. There must also be further prostitution-free areas to protect the neighborhood from the influence of street prostitution. </reasoning> |
| <answer> A </answer> |
| Base model | Method | Dataset | ||
|---|---|---|---|---|
| smartvote | WoM | ANES | ||
| Untrained baselines | random | |||
| majority | ||||
| Llama 3.1 8B | icl | .79) | .2) | .43) |
| ORPO | .47) | .97) | .61) | |
| SFT | .00) | .30) | .93) | |
| Base model | Method | Dataset | ||
|---|---|---|---|---|
| smartvote | WoM | ANES | ||
| Untrained baselines | random | |||
| majority | ||||
| Llama 3.1 8B | icl | .79) | .19) | .69) |
| ORPO | .47) | .15) | .61) | |
| SFT | .0) | .36) | .92) | |
| P-values | Cohen’s d | ||||||
|---|---|---|---|---|---|---|---|
| Model | Baseline | smartvote | WoM | ANES | smartvote | WoM | ANES |
| Llama 3.1 8B | icl | 0.0003 | 0.0000 | 0.0000 | 2.54 | 8.51 | 12.30 |
| ORPO | 0.0000 | 0.0008 | 0.0093 | 9.29 | 1.99 | 1.50 | |
| SFT | 0.0013 | 0.0409 | 0.9991 | 1.90 | 0.94 | -1.95 | |
| GRPO | 0.0000 | 0.0000 | 0.0000 | 6.61 | 4.74 | 5.39 | |
| Qwen3 8B | icl | 0.0140 | 0.0000 | 0.0000 | 1.23 | 16.72 | 11.75 |
| P-values | Cohen’s d | ||||||
|---|---|---|---|---|---|---|---|
| Model | Baseline | smartvote | WoM | ANES | smartvote | WoM | ANES |
| Llama 3.1 8B | icl | 0.0006 | 0.0000 | 0.0000 | 2.29 | 18.66 | 13.45 |
| ORPO | 0.0000 | 0.0000 | 0.0001 | 5.52 | 3.64 | 3.77 | |
| SFT | 0.0001 | 0.0017 | 0.1714 | 2.58 | 1.78 | 0.49 | |
| GRPO | 0.0000 | 0.0000 | 0.0000 | 3.33 | 5.63 | 6.53 | |
| Qwen3 8B | icl | 0.0013 | 0.0000 | 0.0000 | 1.82 | 18.09 | 6.50 |
| Metric | N | Intercept ( ) | Slope ( ) | Slope SE | Slope 95% CI |
|---|---|---|---|---|---|
| F1 Score (Macro) | 21 | 0.5517 | -0.6741 | 0.2091 | [-1.3039, -0.4084] |
| Accuracy | 21 | 0.7803 | -0.8562 | 0.2139 | [-1.1117, -0.2364] |
| Metric | r | p-value | RMSE | ||
| F1 Score (Macro) | -0.5946 | 0.3535 | 0.004472 | 0.1250 | |
| Accuracy | -0.6763 | 0.4574 | 0.1279 |
| Metric | N | Intercept ( ) | Slope ( ) | Slope SE | Slope 95% CI |
|---|---|---|---|---|---|
| F1 Score (Macro) | 21 | ||||
| Accuracy | 21 | ||||
| Metric | r | p-value | RMSE | ||
| F1 Score (Macro) | |||||
| Accuracy |
Political Bias in Language Models
Political bias in language models concerns how training, prompts, languages, and interactions shape ideological outputs and unequal treatment.
See all 62 papers