Exploring and mitigating adversarial manipulation of voting-based leaderboardsExploring and Mitigating Adversarial Manipulation of Voting-Based Leaderboards
The authors state that attackers can first identify the model behind Chatbot Arena's anonymous responses with over 95% accuracy, then change its ranking with about a thousand targeted votes, and have collaborated with the platform to propose mitigations.
Attackers can submit arbitrary prompts to the publicly accessible Chatbot Arena, know the list of models on the leaderboard, and can directly query any model (satisfied by having an API or open weights). The attack has two steps: first use a detector to identify which model produced an anonymous response, then cast votes for or against the target model to change its ranking.
- Voting-based leaderboards such as Chatbot Arena rank models through anonymous two-model comparisons and crowd voting; the authors argue that without defenses such as bot protection, attackers can identify the source of anonymous responses and vote in a targeted way, thereby manipulating rankings.
- The attack has two steps: first identify the target model using identity-probing prompts or by training a binary classifier on model responses, then cast targeted votes when identification succeeds. The authors estimate the number of votes needed to change rankings in a simulated environment containing 1.67 million real votes, and propose mitigations such as authentication, rate limiting, and malicious user detection.
- The trained detector exceeds 95% accuracy on most models; simulations show that moving one rank usually takes fewer than 1,000 votes, and the lowest-ranked model needs only 381 votes to move up 4 ranks; without mitigation, the attack cost is about $440. A detection scheme based on perturbing the leaderboard can identify attackers who imitate the public rankings, but the more noise, the worse the ranking utility.
- The authors state that resourceful attackers cannot be fully prevented, only made more costly; identity-probing methods are easily filtered by platforms; all experiments were conducted in simulated environments. The paper has no dedicated limitations section and does not report specific numbers for simulation repetitions or detection rates.
- Evaluated models
- claude-3-5-sonnet-20240620claude-3-haiku-20240307gemini-1.5-flashgemini-1.5-progemma-2-2b-itgemma-2-9b-itgemma-2-27b-itgpt-3.5-turbogpt-4-0125-previewgpt-4-1106-previewgpt-4-turbo-2024-04-09gpt-4o-2024-05-13gpt-4o-2024-08-06gpt-4o-mini-2024-07-18llama-3-8b-instructllama-3-70b-instructllama-3.1-8b-instructllama-3.1-70b-instructllama-3.1-405b-instructmixtral-8x7b-instruct-v0.1mixtral-8x22b-instruct-v0.1qwen2-72b-instructchatgpt-4o-latestgemini-1.5-pro-exp-0801chatglm-6bfastchat-t5-3bstablelm-tuned-alpha-7bdolly-v2-12bllama-13b
- Benchmarks
- Chatbot Arena(模拟环境,1,670,250 条真实投票记录)LMSYS-Chat-1MAlpaca CodeMATHAdvBench
- Metrics
- detection accuracy(测试准确率)所需对抗投票数与交互数detection rate(恶意用户检出率)
arXiv paper 2501.07493 points out that without defenses such as bot protection, human-vote-based benchmarks like Chatbot Arena may be subject to adversarial manipulation. The authors show the attack has two steps: first determine which model generated a given response with over 95% accuracy, then use that information to continuously cast upvotes or downvotes for the target model; in a simulated offline version of Chatbot Arena, an attacker needs about one thousand votes to change the leaderboard ranking. The authors worked with the Chatbot Arena developers to identify, propose and implement mitigations, and claim these measures substantially raise the cost of attack. Cloudflare bot protection, malicious user detection and rate limiting already existed, and reCAPTCHA and login mechanisms are being integrated to strengthen security.
Paper analysis
What problem does this paper attempt to solve?
The authors state that voting-based LLM leaderboards, when lacking protection, can be exploited by attackers who identify anonymous responses and cast targeted votes to manipulate rankings.
Core question: voting-based LLM leaderboards such as Chatbot Arena may be manipulated in their rankings by adversarial users when there are no defenses such as bot detection.
- Problem setting: Chatbot Arena lets users vote on the responses of two anonymous models and aggregates a leaderboard using Bradley-Terry coefficients; it already has millions of votes and 157 models, and is regarded by major model developers as an important signal (Section 1, 5). The authors argue that this kind of evaluation relying on real human input introduces new failure modes.
- Core observation: model anonymity is key to preventing manipulation, but the authors state that users can de-anonymize responses with fairly high accuracy, and thereby cast targeted votes for or against a target model.
- Threat model (Section 2.1):
- Goal: raise (Up) or lower (Down) the target model's ranking on the leaderboard.
- Knowledge: knows the public list of models on the leaderboard.
- Capability: can submit arbitrary prompts to the publicly accessible Chatbot Arena; can directly query any model (satisfied by an API or open weights).
- Victim system: Chatbot Arena and similar voting-based ranking systems; experiments are conducted in a simulated, offline version.
- What the paper proposes: a two-step reranking attack — first identify which model a response came from, then vote in a targeted way; estimate the number of votes needed in a simulated environment; build an attack cost model and, in collaboration with the Chatbot Arena developers, propose and implement mitigations (Section 1).
What related research exists?
Related work falls into three groups: voting system security, model attribution of generated text, and LLM evaluation benchmarks; the closest is a concurrent work.
Security of Voting-Based Systems
- Hoffman et al. (2009) survey attack and defense techniques for reputation systems; Kamvar et al. (2003) and Zhai et al. (2016) propose computing reputation scores for users based on voting history. In Section 4.2, the paper extends the idea of reputation systems to malicious user detection on Chatbot Arena.
- Cao et al. (2020)'s FLTrust uses reputation (trust) to defend against data poisoning in federated learning.
Identifying Which Model Generated a Text
- This task is related to authorship attribution (Huang et al., 2024; Sun et al., 2020). Tay et al. (2020) use bag-of-words classifiers and neural networks to identify the model configuration that generated a text; Munir et al. (2021) and Wang et al. (2024) fine-tune XLNet and RoBERTa, respectively, for machine-generated text attribution.
- The paper points out that its setting is easier than these works: the attacker can control the prompts used for generation, and the set of candidate models is limited.
- Concurrent work Zhao et al. (2024) also study detecting adversarial voting using the target model; the paper points out that their experiments are limited to 55k voting logs and fewer than 5 models, whereas this paper covers 22 models, simulates on 1.7 million real votes, and further discusses and implements mitigation measures.
LLM Evaluation
- The paper lists benchmarks ranging from general tasks to math, code, knowledge, reading comprehension, multilingual, etc. (Hendrycks et al., 2021; Cobbe et al., 2021; Chen et al., 2021; Rein et al., 2023, etc.), and points out three problems: academic benchmarks have weak relevance to real user scenarios, open-ended responses are difficult to score reliably and automatically, and public benchmarks carry data contamination risk.
- Therefore human voting evaluation is considered highly valuable, and this paper systematically tests the robustness of such leaderboards to adversarial users.
Baselines and Data: The attacks in this paper are not compared against other attack methods; detector data come from LMSYS-Chat-1M, Alpaca Code, MATH, AdvBench (Table 1), and simulations are based on 1,670,250 anonymized deduplicated voting records from Chatbot Arena (Appendix A.4). The authors position this paper as a systematic test of the robustness of voting-based leaderboards and aim to push platforms to deploy defenses.
How does the paper address this problem?
Two-step attack: train a detector for the target model to break anonymity, then cast targeted votes; also build a cost model and design four types of mitigations.
Overall approach: formalize deanonymization as binary classification, train a target model detector to identify whether a response comes from the target model, and vote only when identification succeeds; then use real voting logs to simulate the number of votes needed to change rankings, and use a cost model to evaluate defenses.
Problem Formalization and Threat Model
- Given a prompt P, a model samples a response R ∼ M(P); assume different models have different response distributions for the same prompt. The attacker learns a classifier fM for the target model M, taking (P, R) as input and outputting 1 if and only if R comes from M (Section 2.1).
- Attacker knowledge: the public model list; capabilities: arbitrary prompts + direct querying of each model.
Two Types of Target Model Detectors (Section 2.2)
- Identity-probing: use prompts asking the model its identity; if the model name or organization name appears in the response, judge it as the target; the paper gives 5 candidate prompts, each tested with 1,000 queries and averaged accuracy.
- Training-based: the attacker chooses prompts, queries the target model and other models to collect responses, and trains a binary classifier. Features use three simple text features: response length (words/characters), TF−IDF, and bag of words (BoW); the classifier is logistic regression with scikit-learn default hyperparameters, 80/20 split, averaged over test accuracy for each prompt.
- Prompt selection: the attacker has an incentive to choose prompts that maximize response differences across models; the paper uses 8 categories of prompts (high/low-resource language daily conversation, code, math, violating instructions), 200 prompts per category, and 50 responses sampled per model per prompt. Model owners could also use stronger strategies such as samples with abnormally low training loss or backdoors (discussed in Section 6, not experimented).
Voting Requirement Simulation (Section 3)
- Based on Chatbot Arena anonymized deduplicated voting data (1,670,250 votes, 477,322 users, Appendix A.4), rankings are recomputed every 1,000 interactions using Bradley-Terry coefficients, estimating the number of adversarial votes and interactions (including queries without votes) needed to achieve Up(M, x) or Down(M, x).
- Default assumption: detection accuracy 95% (5% false positive/false negative each), no action when the target model is not identified; ablations of both are in Appendix B.2.
Cost Model and Mitigation Measures (Section 4)
- Cost model: total cost = ⌈N/m⌉ × c_account + N × c_action + c_detector, where N is the number of actions, m is the per-account action limit, and c_detector is the one-time cost of training the detector (estimated at 440 USD in Appendix A.3).
- Four types of mitigation: account authentication (increases c_account), rate limiting (reduces m), malicious user identification (two scenarios: likelihood test when the benign distribution is known, α = 0.01; likelihood ratio test per the Neyman-Pearson lemma when both benign and malicious distributions are known, with a noisy leaderboard published to users), and increasing per-action cost (CAPTCHA required for each vote, mandatory unique prompts, the latter about 2.20 USD per prompt).
- Defense effectiveness is measured as "how many malicious votes a user can cast before being detected," using public Chatbot Arena data.
What experiments did the paper conduct?
The detector achieves over 95% accuracy on most models; simulations show that moving a rank often requires fewer than 1,000 votes; adding noise to the leaderboard can detect imitation-type attackers but harms utility.
Experimental Setup
- Models tested: 22 models on the Chatbot Arena leaderboard (full list in Appendix A.1), queried via APIs from Anthropic, Google, OpenAI, Together, etc., using each API's default decoding parameters.
- Detector data: 8 categories of prompts (English/Chinese/Spanish/Indonesian/Persian everyday conversation, code, math, violating instructions), sourced from LMSYS-Chat-1M, Alpaca Code, MATH, AdvBench; 200 prompts per category × 50 responses per model; output length 512 tokens.
- Metrics and determination: The detector is a logistic regression binary classifier, reporting test accuracy; identity probing is determined by whether the response contains a model name/organization name, averaged over 1,000 queries per prompt.
- Vote simulation: Based on 1,670,250 real votes (Appendix A.4), with a default detection accuracy of 95%, statistically deriving the number of adversarial votes and interactions needed to reach a target ranking.
- Defense evaluation: Using Chatbot Arena's public anonymous user rankings and Bradley-Terry scores, measuring the number of votes a malicious user can cast before being detected; utility is measured by the average absolute rank change.
- The paper does not report the number of simulation repetitions.
Main Results
Identity probing (Table 2, each cell is the average accuracy % over 1,000 queries):
Swipe horizontally to read the table
Model Who are you? Which model are you? What is your model name? claude-3-5-sonnet-20240620 99.3 100.0 98.5 gemini-1.5-pro 97.2 96.5 100.0 gpt-4o-mini-2024-07-18 92.7 92.9 100.0 gemma-2-27b-it 100.0 98.4 98.2 llama-3.1-70b-instruct 98.8 66.4 92.7 mixtral-8x7b-instruct-v0.1 97.3 31.8 45.5 qwen2-72b-instruct 91.8 98.2 97.6 - The authors state that "Who are you?" achieves over 90% accuracy on all models in the table, but models mostly report only the family name rather than the full version number, making it better suited to identifying model families; moreover, the platform already filters votes containing model names, limiting practicality. In the full table in Appendix B.1, gemini-1.5-flash is 0.0% for all five prompts, and gpt-3.5-turbo is 0.0% for "Who are you?".
- Trained detectors (Figure 3, BoW features): across the 22 models, taking the best per prompt type (Max row) gives 94.7%–98.1%, with most above 95%; accuracy is higher for math, code, violating instructions, and non-English prompts.
- Feature comparison (Table 3, English prompts): BoW is 92.0%–95.8%, TF−IDF 88.4%–94.4%, length features 63.2%–77.7%; the PCA visualization in Figure 2 shows that under the same prompt, responses from different models form clusters separated by model.
Votes Needed to Change Rankings (Section 3.2)
- High-ranking models (Table 4): The votes needed to move 1 rank are all below 1,000 (e.g., gpt-4o-mini-2024-07-18 needs 163 votes to go from 4th to 5th); moving up to 4 ranks rarely exceeds 5,000 votes; claude-3-5-sonnet-20240620 needs 3,127 votes and 206,000 interactions to go from 5th to 1st.
- Low-ranking models (Table 5): The authors state that on average only 30% of the votes needed for high-ranking models are required; llama-13b (129th) needs only 381 votes to move up 4 ranks.
- The number of interactions is far higher than the number of votes, which the authors attribute to models being sampled nearly uniformly; the authors note that interactions can also be tracked by the platform for defense.
Malicious User Detection (Section 4.3)
- Scenario 1 (Figure 4): For a naive attacker who votes randomly among non-target models, a likelihood test can effectively detect them; but an attacker who votes by referencing the public leaderboard can bypass detection.
- Scenario 2 (Figures 5, 6): After the platform publishes a noise-added (Gaussian noise) leaderboard, attackers who reference that leaderboard can be detected; the larger the noise, the higher the detection rate, but the larger the average rank change (about 10 ranks at noise 100 in Figure 6), creating a security-utility tradeoff. The paper does not give specific detection rate values.
Other Ablations and Analyses
- Detector accuracy ablation (Appendix B.2, Table 8, llama-13b): as accuracy drops from 1.0 to 0.9, the votes needed to move up 50 ranks increase from 1,246 to 1,383.
- Action-when-unidentified ablation (Table 9): the number of interactions required is similar across the four strategies of no action, random voting, voting a tie, and voting both as bad; the authors state there is no clearly better one.
- Cost estimate (Appendix A.3): data collection is about $2.2 per prompt, totaling at most $440 for 200 prompts; without mitigation, the total attack cost is dominated by this item.
What are some points that can be further explored?
The authors state that resource-rich attackers cannot be fully prevented, only made more costly; stronger detectors and the prompt-uniqueness defense are left for future work.
Limitations and Future Directions Noted by the Authors
- The authors state that in the extreme case, defending against resource-rich attackers is nearly infeasible—they can hire people to cast normal votes to evade all detection—so the goal of defense is to raise the attack cost (Section 4.3).
- Stronger detectors (more samples, more refined prompt design, more complex features and architectures such as fine-tuned BERT, watermarking techniques) might reach 100% accuracy, which the authors leave as future work (Section 2.4.2).
- Identity-probing detectors are easily limited by the platform filtering votes containing model names, and the authors consider them not very practical in real attacks (Section 2.4.1).
- The prompt-uniqueness defense may be ineffective against naturally identifiable models (e.g., with output watermarks detectable by the attacker) (Section 4.2.4).
- Authentication measures may change the distribution of user behavior, because the anonymity assumption is removed (Section 4.2.1).
- The authors hope to promote rigorous and reliable methodology for general language model evaluation in the community; this paper covers only one failure mode, "targeted ranking changes" (Section 7).
Scope of Experiments
- The detector is evaluated on 22 models and 8 prompt categories; the vote simulation is based on 1,670,250 real voting records, covering two groups of models: high-ranking (top 5) and low-ranking (125th–129th) (Sections 2.3, 3.1).
- All experiments are conducted in a simulated, offline environment and did not affect the real leaderboard; Chatbot Arena states that no adversarial manipulation attempts against the existing leaderboard have been found to date (Section 1).
- Defense experiments cover only the detection performance of malicious user identification (two scenarios) and the utility cost of the noise-added leaderboard; authentication, rate limiting, and CAPTCHA are only qualitatively analyzed, not experimentally tested (Sections 4.2, 4.3).
- The paper does not report the number of simulation repetitions, confidence intervals, or specific detection rate values for Figures 4–6.
- Stronger attacks by model owners using training loss, API logs, covert watermarks, or backdoors are discussed only in Section 6 and not experimentally tested.
Summarize the main content of the paper
The authors state that voting-based leaderboards can be manipulated by "identifying the model + targeted voting", with simulations showing a cost of about a thousand votes, and that mitigations can raise the cost.
A study of attacks and defenses against voting-based LLM leaderboards, targeting Chatbot Arena, with all experiments conducted on its simulated, offline version.
- Problem: The leaderboard aggregates rankings through anonymous two-model comparisons and crowd voting; the authors argue that without defenses such as bot detection, attackers can break anonymity and cast targeted votes to manipulate rankings.
- Method: The attack has two steps—identify the target model using identity-probing prompts or a logistic regression binary classifier (BoW and other simple features) trained on model responses, and vote only when identification succeeds; then use 1,670,250 real voting logs to simulate the cost of changing rankings, and build a cost model with three components: detector training, accounts, and actions.
- Detection performance: The trained detector achieves 94.7%–98.1% test accuracy across 22 models with the best prompt per model, mostly above 95% (Figure 3); identity probing exceeds 90% for most models in the table, but reports only the family name and is easily filtered by the platform (Table 2).
- Cost of changing rankings: Moving a high-ranking model by 1 rank takes fewer than 1,000 votes, and moving up to 4 ranks rarely exceeds 5,000 votes; low-ranking models are easier to manipulate, with llama-13b needing only 381 votes to move up 4 ranks (Tables 4, 5). Without mitigation, the total attack cost is about $440 (Appendix A.3).
- Defenses: Authentication, rate limiting, malicious user identification, and raising the cost per action; a noise-added leaderboard can detect attackers who imitate the public rankings, but the more noise, the worse the ranking utility (Figures 4–6). The authors have collaborated with Chatbot Arena; some defenses (Cloudflare bot protection, malicious user detection, rate limiting) already existed, and reCAPTCHA and login are being integrated.
- Authors' conclusion: The shift from objective evaluation to evaluation relying on real human input introduces a new failure mode; such attacks cannot be fully prevented, but the above measures can raise the cost enough to deter them, and the authors call on the community to adopt these defenses.