Unifying Adversarial Robustness and Training Across Text Scoring Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Tamber, Manveer Singh, Oyarhoseini, Hosna, Lin, Jimmy
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866918317620461568
author Tamber, Manveer Singh
Oyarhoseini, Hosna
Lin, Jimmy
author_facet Tamber, Manveer Singh
Oyarhoseini, Hosna
Lin, Jimmy
contents 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. This motivates adapting both attacks and adversarial training methods across model roles. 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 scoring models and show that combining complementary training methods can yield strong robustness while also improving task effectiveness. We also 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.
format Preprint
id arxiv_https___arxiv_org_abs_2602_00857
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Unifying Adversarial Robustness and Training Across Text Scoring Models
Tamber, Manveer Singh
Oyarhoseini, Hosna
Lin, Jimmy
Computation and Language
Information Retrieval
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. This motivates adapting both attacks and adversarial training methods across model roles. 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 scoring models and show that combining complementary training methods can yield strong robustness while also improving task effectiveness. We also 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.
title Unifying Adversarial Robustness and Training Across Text Scoring Models
topic Computation and Language
Information Retrieval
url https://arxiv.org/abs/2602.00857