Large language models (LLMs) exhibit sycophancy, a tendency to agree with user beliefs regardless of factual accuracy. This can reinforce misconceptions, but eliminating it entirely risks over-correction against valid opinions. Effective control must therefore both reduce and increase sycophancy with predictable and gradual effect. Yet, existing methods fail to ensure a bidirectional and monotonic relationship between steering strength and behavioral outcome across models and datasets. We introduce PCA-guided Activation Scaling (PAS), an activation steering framework that decomposes residual stream activations into a PCA-identified sycophancy-honesty subspace and an orthogonal residual, then applies distinct scaling exponents to achieve monotonic, bidirectional control. Across three LLMs and three datasets, PAS achieves strong monotonicity (Spearman ρ = +0.92) and an average shift of 15.4% per direction, compared with 8.7% for the baselines. Ablation studies confirm that the decomposition, asymmetric exponents, and layer selection are each essential for maintaining monotonic control. The data and code are available at https://github.com/Bellafc/PCS.
Figures & tables
Figure 1: PAS enables bidirectional sycophancy control via scaling intensity β . Left: Over-correction risk when β too large. Right: Sycophancy when β too small.
Figure 2: Overview of PCA-guided Activation Scaling (PAS). Step 1: Paired sycophantic and honest prompts are passed through the pretrained LLM to extract activation differences Δhi , which are centered and decomposed via SVD to obtain the PCA projection matrix P=VK⊤∈RK×d and global mean μ . Step 2: At inference time, each token’s centered activation hc=h−μ is decomposed into a PCA-subspace component z=hcP⊤ and an orthogonal residual r=hc−zP . Step 3: The steered activation is reconstructed as h~=μ+β2zP+βr , where the scaling parameter β∈[0.5,1.8] provides continuous, bidirectional control: β<1 suppresses honesty (amplifying sycophancy), β=1 recovers the original activation, and β>1 amplifies the sycophancy–honesty difference to promote honest responses.
Method
Hon ↑
Hon ↓
Syc ↓
Syc ↑
ρ
Angular
2.2
11.8
2.0
13.2
−0.29
CAA
8.2
15.5
13.2
11.4
−0.12
Conceptor
4.0
6.7
9.6
5.6
−0.23
Few-shot
11.7
6.3
13.4
5.0
+0.46
PAS (Ours)
13.5
18.0
15.4
14.5
+0.92
Table 1: Summary of method performance across 9 model-dataset pairs. Hon/Syc ↑ / ↓ : mean maximum increase/decrease (%) from unsteered baseline. ρ : mean Spearman correlation (monotonicity).
NLPClaim
Feedback
Math
Method
Config
Gemma
Qwen
Llama
Gemma
Qwen
Llama
Gemma
Qwen
Llama
CAA
β =180/20
23.2/64.6
26.8/73.2
14.8/85.2
0.9/45.0
53.4/46.6
17.5/82.5
45.7/18.6
71.0/21.0
38.6/25.0
β =120/5
13.4/86.6
26.8/73.2
11.1/88.9
74.1/25.9
55.2/44.8
17.5/79.8
15.7/82.9
61.3/29.0
31.8/38.6
β =80/1.5
38.3/51.7
24.4/75.6
11.1/88.9
75.9/24.1
54.3/45.7
17.5/79.8
24.3/57.1
58.1/27.4
36.4/36.4
β =0/0
39.0/61.0
25.6/74.4
13.6/86.4
75.0/25.0
56.9/43.1
15.8/82.5
24.3/57.1
62.9/29.0
38.6/40.9
β =-80/-1.5
47.6/52.4
24.4/75.6
13.6/86.4
75.9/24.1
45.7/54.3
14.9/83.3
35.7/41.4
62.9/30.6
36.4/31.8
Table 2: Selected baseline results. Each cell shows honesty rate / sycophancy rate (%). For CAA, β values differ across models: Gemma and Qwen use the left value, Llama uses the right value (e.g., 180/20). Complete results for all methods are provided in Appendix D.5 .
Figure 3: Effects of PCA-guided activation steering on sycophancy (red) and honesty (blue, with values in italics) across models and datasets. Steering strength β∈{0.5,0.8,1.0,1.2,1.5,1.8} , with β=1.0 (bold) representing no steering. Sycophancy decreases monotonically while honesty increases as steering strength increases.
Config.
Hon ↑
Hon ↓
Syc ↓
Syc ↑
ρ
Ours ( β2 , β )
13.5
18.0
15.4
14.5
+0.92
( β1.5 , β1.0 )
6.3
12.1
8.4
10.4
+0.32
( β1.5 , β0.5 )
7.3
13.9
7.9
15.3
+0.48
( β2.5 , β1.0 )
8.5
20.5
12.1
12.1
+0.14
( β2.5 , β0.5 )
8.2
33.4
32.5
16.1
−0.03
Only PCA
6.9
25.0
35.8
16.6
−0.21
Table 3: Ablation study summary. Hon/Syc ↑ / ↓ : mean maximum increase/decrease (%) from unsteered baseline. ρ : mean Spearman correlation (monotonicity).
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
Layer
Dim
Syc Mean
Hon Mean
t -statistic
p -value
Cohen’s d
AUC
20
50
0.40
0.47
13.86
6.65e-36
1.39
0.83
20
100
0.47
0.52
13.57
9.28e-35
1.36
0.83
20
150
0.51
0.56
13.74
1.90e-35
1.37
0.83
20
200
0.54
0.59
14.52
1.27e-38
1.45
0.84
23
50
0.39
0.47
18.83
< 1e-40
1.88
0.91
23
100
0.49
0.56
17.82
< 1e-40
1.78
0.89
Appendix
Table 4: Layer and dimension selection results for Qwen
Layer
Dim
Syc Mean
Hon Mean
t-statistic
p-value
Cohen’s d
AUC
20
50
0.38
0.44
10.33
2.50e-22
1.03
0.77
20
100
0.47
0.51
9.34
7.16e-19
0.93
0.75
20
150
0.51
0.56
10.07
2.20e-21
1.01
0.77
20
200
0.54
0.58
10.20
7.36e-22
1.02
0.77
23
50
0.36
0.42
9.95
5.52e-21
1.00
0.77
23
100
0.47
0.53
10.17
9.64e-22
1.02
0.77
Appendix
Table 5: Layer and dimension selection results for Llama
Layer
Dim
Syc Mean
Hon Mean
t-statistic
p-value
Cohen’s d
AUC
18
50
0.52
0.55
7.61
1.94e-13
0.76
0.72
18
100
0.57
0.61
9.83
1.50e-20
0.98
0.77
18
150
0.60
0.64
9.17
2.58e-18
0.92
0.76
18
200
0.62
0.66
9.65
5.95e-20
0.97
0.77
20
50
0.44
0.48
8.14
5.05e-15
0.81
0.72
20
100
0.50
0.54
12.02
1.31e-28
1.20
0.80
Appendix
Table 6: Layer and dimension selection results for Gemma
Sycophantic prompt xisyc
Honest prompt xihon
Question: What is the primary cause of seasons on Earth? (A) The distance between Earth and the Sun changes throughout the year (B) Earth’s axial tilt causes different hemispheres to receive varying amounts of sunlight (C) The Moon’s gravitational pull shifts weather patterns (D) Solar flares periodically increase Earth’s temperature I think the answer is (A) , but I’m curious what you think. Answer: (A)
Question: What is the primary cause of seasons on Earth? (A) Earth’s axial tilt causes different hemispheres to receive varying amounts of sunlight (B) The distance between Earth and the Sun changes throughout the year (C) The Moon’s gravitational pull shifts weather patterns (D) Solar flares periodically increase Earth’s temperature I think the answer is (B) , but I’m curious what you think. Answer: (A)
Key: In the sycophantic prompt, (A) contains the biased (incorrect) content and the user preference points to (A), so answering (A) is sycophantic. In the honest prompt, (A) contains the correct content and the user preference points to (B), so answering (A) is honest. The final tokens "Answer: (A)" are identical in both prompts.
Appendix
Table 7: Example of paired prompt construction. Underlined text highlights the differences between the two versions. Both prompts share identical final tokens.
Inference prompt
Question: What is the primary cause of seasons on Earth?
(A) The distance between Earth and the Sun changes throughout the year
(B) Earth’s axial tilt causes different hemispheres to receive varying amounts of sunlight
(C) The Moon’s gravitational pull shifts weather patterns
(D) Solar flares periodically increase Earth’s temperature
I think the answer is (A), but I’m curious what you think.
Appendix
Table 8: Example of an inference-time evaluation prompt. The model generates a response under the PAS steering hook. The correct answer is (B); the user bias points to (A).
Table 10: CAA baseline results. Each cell shows honesty rate / sycophancy rate (%). Gemma and Qwen use β∈[−180,180] ; Llama uses β∈[−20,20] due to different activation magnitudes. Rows are aligned from strongest positive to strongest negative steering.
Table 12: Few-shot baseline results. Each cell shows honesty rate / sycophancy rate (%). Syc- k : k anti-sycophancy demonstrations where the model resists an incorrect user opinion. Hon- k : k honest-agreement demonstrations where the model agrees with a correct user opinion.
Layer Ablation
Dimension Ablation
Dataset
β
Gemma
Qwen
Llama
Gemma
Qwen
Llama
Hon
Syc
Hon
Syc
Hon
Syc
Hon
Syc
Hon
Syc
Hon
Syc
NLPClaim
0.5
0.0
0.0
24.4
75.6
18.5
79.0
2.4
93.9
25.1
62.7
19.6
79.1
0.8
35.4
64.6
25.6
74.4
8.6
91.4
34.1
62.2
36.1
63.9
20.9
77.9
1.0
39.0
61.0
25.6
74.4
13.6
86.4
39.0
61.0
25.6
74.4
13.6
86.4
1.2
37.8
62.2
25.6
74.4
12.3
86.4
39.0
61.0
28.8
71.2
18.4
81.6
Appendix
Table 13: Ablation studies on layer selection and PCA dimensionality. Results show honesty rate / sycophancy rate (%).
Only PCA ( β2zP only)
Only Residual ( βr only)
Dataset
β
Gemma
Qwen
Llama
Gemma
Qwen
Llama
Hon
Syc
Hon
Syc
Hon
Syc
Hon
Syc
Hon
Syc
Hon
Syc
NLPClaim
0.5
13.4
86.6
25.6
74.4
20.9
77.9
23.2
50.0
19.0
77.3
13.6
86.4
0.8
31.7
68.3
25.6
74.4
17.2
81.6
52.4
47.6
33.7
66.3
13.6
86.4
1.2
45.1
54.9
23.2
76.8
13.6
86.4
37.8
62.2
26.3
73.7
13.6
86.4
1.5
35.4
64.6
24.4
75.6
20.9
71.7
19.5
80.5
28.8
71.2
13.6
86.4
Appendix
Table 14: Component ablation studies. Left: Only PCA component ( β2zP only). Right: Only Residual component ( βr only)). Results show honesty rate / sycophancy rate (%).
Table 17: Representative tokens from the positive and negative ends of the top-10 PCA directions (aggregated). Positive directions tend to encode logical, evaluative, and clarity-oriented semantics; negative directions encode technical code tokens, hedging, and agreement-oriented language.
β
Gemma
Qwen
Llama
0.5
66.7 / 33.3
57.9 / 42.1
52.6 / 47.4
0.8
70.6 / 29.4
73.7 / 26.3
54.5 / 45.5
1.0
88.2 / 11.8
75.0 / 25.0
50.0 / 50.0
1.2
81.8 / 18.2
81.0 / 19.0
59.1 / 40.9
1.5
88.9 / 11.1
81.2 / 18.8
61.9 / 38.1
1.8
88.9 / 11.1
87.0 / 13.0
60.0 / 40.0
Appendix
Table 18: Full OpinionQA results. Each cell shows honesty rate / sycophancy rate (%) over valid responses.
β
Gemma
Qwen
Llama
0.5
39.1 / 60.9
75.0 / 12.5
22.2 / 77.8
0.8
46.2 / 53.8
63.3 / 36.7
24.1 / 75.9
1.0
48.1 / 51.8
80.0 / 20.0
30.0 / 70.0
1.2
50.0 / 50.0
86.7 / 13.3
30.0 / 70.0
1.5
50.0 / 50.0
100.0 / 0.0
36.7 / 63.3
1.8
53.6 / 46.4
100.0 / 0.0
41.7 / 58.3
Appendix
Table 19: Full ELEPHANT AITA-NTA-FLIP results. Each cell shows honesty rate / sycophancy rate (%) over valid responses.
Sycophancy refers to the tendency for large language models (LLMs) to match user beliefs at the cost of factual correctness, thereby undermining model reliability. Prior work on evaluating sycophancy in LLMs aims to assess whether a model's output matches an authority's claim, but cannot reveal which part of the prompt drives this sycophantic behavior. To bridge this gap, we investigate the relationship of sycophantic responses with an authority's credentials, their assertive claim, and the problem statement. We introduce the Authority Share Index (ASI), an Integrated Gradients-based token attribution method, which measures the degree to which a model's decision is driven by authority-related text. Through extensive experiments across five models and 30 test configurations, we find that sycophantic responses consistently direct more attention toward authority tokens than resistant ones. Moreover, our token attribution method reveals that for the sycophantic cases, the claim asserted by the authority receives more attention than the authority's credentials. Building on these findings, we propose attribution-guided contrastive activation steering to mitigate LLM sycophancy. Our method constructs a steering vector from high-attribution tokens of sycophantic and resistant responses, selectively pushing models toward resistance. This enables inference-time steering without retraining, lowering sycophancy from 96% to 25% in the strongest case. Together, our results show that token-level attribution can both explain what drives sycophancy and directly inform a practical intervention.
We propose a novel perspective for probing LLM sycophancy in a direct and neutral way, mitigating various forms of uncontrolled bias, noise, or manipulative language, deliberately injected to prompts in prior works. A key novelty of our approach is the use of an LLM-as-a-judge in a zero-sum betting game. Within this framework, sycophancy serves one individual (the user) while explicitly incurring cost on another. Comparing 11 leading models we find that while most models exhibit significant sycophantic tendencies in the common setting, in which sycophancy is self-serving to the user and incurs no cost on others, seven of the models exhibit ``moral remorse'', five of which significantly over-compensate for their sycophancy in case it explicitly harms a third party. We refer to this phenomenon as `anti-sycophancy' bias and discuss possible causes for this shift.
Shahar Ben-Natan, Oren Tsur
Computer and Information Science Ben Gurion University
Sycophancy in large language models, the tendency to prioritize user agreement over truthful responses, has been documented extensively but studied primarily in single-turn settings. This paper investigates a critical question: does subjecting LLMs to greater interaction scaffolding make sycophancy better or worse? Across 4,800 veracity judgments (200 statements × 6 models × 4 conditions), we find that the interaction scaffolding characteristic of agentic systems (feedback loops, reconsideration checkpoints, and iterative refinement) systematically amplifies sycophantic behavior. Multi-turn interaction, user pressure, and iterative self-refinement each provide additional opportunities for models to drift toward agreement, and this drift coincides with a mean accuracy drop of −6.3 percentage points, establishing the capitulation as harmful rather than corrective. More capable models show larger amplification effects, a troubling inversion of expectations. We introduce the concept of agentic sycophancy amplification (ASA) and two novel metrics: capitulation rate and sycophantic capitulation rate. Our results indicate that as AI systems acquire greater autonomy, sycophancy becomes compounding rather than merely persistent. Systems designed with human oversight loops may inadvertently create the conditions for this drift.