Beyond Semantic Manipulation: Token-Space Attacks on Reward Models
Organizations: UIUC · Independent Researcher · University of Massachusetts Amherst
Abstract
Reward models (RMs) are widely used as optimization targets in reinforcement learning from human feedback (RLHF), yet they remain vulnerable to reward hacking. Existing attacks mainly operate within the semantic space, constructing human-readable adversarial outputs that exploit RM biases. In this work, we introduce a fundamentally different paradigm: Token Mapping Perturbation Attack (TOMPA), a framework that performs adversarial optimization directly in token space. By bypassing the standard decode-re-tokenize interface between the policy and the reward model, TOMPA enables the attack policy to optimize over raw token sequences rather than coherent natural language. Using only black-box scalar feedback, TOMPA automatically discovers non-linguistic token patterns that elicit extremely high rewards across multiple state-of-the-art RMs. Specifically, when targeting Skywork-Reward-V2-Llama-3.1-8B, TOMPA nearly doubles the reward of GPT-5 reference answers and outperforms them on 98.0% of prompts. Despite these high scores, the generated outputs degenerate into nonsensical text, revealing that RMs can be systematically exploited beyond the semantic regime and exposing a critical vulnerability in current RLHF pipelines.
Figures & tables
| Category | Work | Method | Content | Access |
|---|---|---|---|---|
| Length bias | Singhal et al. (2023) ; Shen et al. (2023) ; Park et al. (2024) | Manual | Readable | Black-box |
| Sycophancy bias | Sharma et al. (2023) ; Wen et al. (2024) | Manual | Readable | Black-box |
| Semantic manipulation | Wang et al. (2024) ; Zhao et al. (2025) ; Wang et al. (2025a) | Manual | Readable | Black-box |
| Template injection | Zheng et al. (2024) | Manual | Non-linguistic | Black-box |
| Semantic manipulation | Raina et al. (2024) | Gradient | Readable | Gray-box |
| Semantic OOD exploit | Bukharin et al. (2025) | RL | Readable | Black-box |
| Reward Model | Method | Min | Mean | Max | Beat Gold |
|---|---|---|---|---|---|
| Qwen3-8B RM (RewardBench2 #6) | Gold Answer (GPT-5) | — | |||
| Random OOD | |||||
| TOMPA (Ours) | |||||
| Llama-3.1-8B RM (RewardBench2 #1) | Gold Answer (GPT-5) | — | |||
| Random OOD | |||||
| TOMPA (Ours) | |||||
Adversarial Attacks
Adversarial attacks exploit crafted inputs, poisoned data, or system interactions to manipulate AI predictions, behavior, privacy, or reliability.
See all 447 papers