ICML 2026poster0 citations

Unifying Adversarial Robustness and Training Across Text Scoring Models

Manveer Tamber, Hosna Oyarhoseini, Jimmy Lin

Abstract

Research on adversarial robustness in language models is currently fragmented across applications and attacks, obscuring shared vulnerabilities. In this work, we propose unifying the study of adversarial robustness in text scoring models spanning dense retrievers, rerankers, and reward models. Unlike open-ended generation, text scoring failures are directly testable: an attack succeeds when an irrelevant or rejected text outscores a relevant or chosen one. Using this principled lens of text scoring, we demonstrate that current adversarial training formulations for language models are often short-sighted, failing to effectively generalize across attacks. To address this, we introduce multiple adversarial training methods for text scorers and show that combining complementary training methods can yield strong robustness while also improving task effectiveness. Finally, we highlight the practical value of our approach for RLHF, showing that our adversarially trained reward models mitigate reward hacking and support the training of better-aligned LLMs. We provide our code and models for further study.

LLMRobustnessRetrieval
BibTeX
@inproceedings{
tamber2026unifying,
title={Unifying Adversarial Robustness and Training Across Text Scoring Models},
author={Manveer Singh Tamber and Hosna Oyarhoseini and Jimmy Lin},
booktitle={Forty-third International Conference on Machine Learning},
year={2026},
url={https://openreview.net/forum?id=u7kOAJ9uH7}
}