Adversarial Robustness and Training of Unified Text Scoring ModelsUnifying Adversarial Robustness and Training Across Text Scoring Models
Translation in progress — untranslated text is omitted.
Researchers at the University of Waterloo propose unifying the study of adversarial robustness of retrievers, rerankers, and reward models through text scoring, and provide several adversarial training methods. The framework defines an attack as making an irrelevant or unselected text score higher than a relevant or selected text, with failure conditions that can be directly checked. Experiments show that combining complementary adversarial training methods (Rudimentary, HotFlip, PGD, and content injection) is generally more robust than any single method, without sacrificing task performance. In RLHF, reward models trained with combined adversarial training are harder for policy models to exploit, reducing reward hacking, and the resulting policies are more preferred in LLM judgments.
- Retrieval, reranking, and reward models all assign scalar scores to text, but adversarial robustness research is split by application and attack, so defenses tend to fit only a single attack. The authors define failure as a ranking error: irrelevant or rejected text should not outrank relevant or selected text.
- On retrievers, rerankers, and reward models, use single-step Rudimentary, HotFlip, and content injection with squared hinge, as well as one-step PGD in embedding space and paraphrase alignment. Combined training mixes the first four, excluding paraphrases. Attacks use up to 512-step beam search, success determined by ranking or score.
- Table 2 medium strength: combined training generally increases success steps and reduces injection ASR, but retriever HotFlip ASR remains 100%. In Table 3, 8B, β=0.01, Comb-AT (High) has a win rate of 46.5% against Base RM.
- The authors note in Appendix F: main sweep is 110M to 3B, RLHF up to 8B; generative adversarial training is not directly done; PRADA-style synonym substitution is not evaluated. Table 3 reports only 8B policies, and the paper does not specify the model for generative injection.
The paper unifies the adversarial robustness of retrievers, rerankers, and reward models as a text scoring problem, and provides a combination of adversarial training methods that transfer across attacks.