SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.21564 · 2026

Measuring Opinion Bias and Sycophancy via LLM-based Persuasion

Rodrigo Nogueira, Thiago Laitz, Thales Sales Almeida, Giovana Bonás, Andrea Roque, Ramon Pires, Hugo Abonizio, Celio Larcher, Roseval Malaquias, Marcos Piau, Maritaca Ai

arXiv · PDF · Open in the Atlas

Code that ran

1 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 1 failure of our instrument; 3 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2604.21564.json · badge: /api/ran/2604.21564.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
maritaca-ai/llm-bias-bench community
Papers with Code archive
1 ran · 3 no recorded run
FunctionStatusWhere it lives
chat Ran
ran; our contract draft was wrong, not the code
maritaca-ai/llm-bias-bench/bias_bench.py
pointer only (licence: NONE) · get_code("8e661fcefd3cd952")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, maritaca-ai/llm-bias-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

APIDownError Not yet run
unverified (harvested, no recorded run)
maritaca-ai/llm-bias-bench/bias_bench.py
pointer only (licence: NONE) · get_code("ab02398e936b7d45")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, maritaca-ai/llm-bias-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

make_user_system_prompt Not yet run
unverified (harvested, no recorded run)
maritaca-ai/llm-bias-bench/bias_bench.py
pointer only (licence: NONE) · get_code("97566cca50c48426")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, maritaca-ai/llm-bias-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

run_conversation Not yet run
unverified (harvested, no recorded run)
maritaca-ai/llm-bias-bench/bias_bench.py
pointer only (licence: NONE) · get_code("35c9af9e77ce52e0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, maritaca-ai/llm-bias-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large language models increasingly shape the information people consume: they are embedded in search, consulted for professional advice, deployed as agents, and used as a first stop for questions about policy, ethics, health, and politics. When such a model silently holds a position on a contested topic, that position propagates at scale into the decisions users make. Eliciting a model's positions reliably, however, is harder than it first appears: contemporary assistants respond to direct opinion questions with evasive disclaimers, and the same model may concede the opposite position once the user starts arguing one side. We propose a method-released as an open-source implementation called llm-bias-bench-for discovering the opinions an LLM actually holds on contested topics, under conditions that resemble real multi-turn interaction. The method pairs two complementary free-form probes. Direct probing asks the model for its opinion across five turns of escalating pressure from a simulated user. Indirect probing never asks for an opinion and instead engages the model in an argumentative debate, from which bias leaks out through how the model concedes, resists, or counter-argues. Three user personas (neutral, agree, disagree) collapse into a nine-way behavioral classification that separates persona-independent positions from persona-dependent sycophancy, and an auditable LLM judge produces verdicts with textual evidence. The first instantiation ships 38 topics in Brazilian Portuguese across values, scientific consensus, philosophy, and economic policy. Applied to 13 assistants, the method surfaces findings of direct practical interest: argumentative debate triggers sycophancy at rates 2-3× higher than direct questioning (median 50%→79%); most models that appear opinionated under direct questioning collapse into mirroring the user under sustained arguments; and the user's argumentative capability appears to matter only when an existing opinion must be dislodged, not when the assistant is initially neutral. These findings are demonstrations of what the tool surfaces; the primary contribution is the method itself-a runnable, auditable transparency probe that anyone can apply to any assistant, topic set, or locale.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2604.21564")
get_code_for_paper("2604.21564")
have("2604.21564")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2604.21564.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2604.21564.svg)](https://syntology.ai/paper/2604.21564)

Connect an agent — have() is free.