[Paper Review] Are Large Language Models Really Robust to Word-Level Perturbations?
This paper proposes TREvaL, a novel evaluation framework that uses pre-trained reward models to assess the robustness of large language models (LLMs) against word-level perturbations in open-ended, long-form conversations. The method reveals that LLMs are vulnerable to common linguistic perturbations, and surprisingly, robustness decreases with fine-tuning—especially during RLHF—despite improved helpfulness scores.
The swift advancement in the scales and capabilities of Large Language Models (LLMs) positions them as promising tools for a variety of downstream tasks. In addition to the pursuit of better performance and the avoidance of violent feedback on a certain prompt, to ensure the responsibility of the LLM, much attention is drawn to the robustness of LLMs. However, existing evaluation methods mostly rely on traditional question answering datasets with predefined supervised labels, which do not align with the superior generation capabilities of contemporary LLMs. To address this issue, we propose a novel rational evaluation approach that leverages pre-trained reward models as diagnostic tools to evaluate the longer conversation generated from more challenging open questions by LLMs, which we refer to as the Reward Model for Reasonable Robustness Evaluation (TREvaL). Longer conversations manifest the comprehensive grasp of language models in terms of their proficiency in understanding questions, a capability not entirely encompassed by individual words or letters, which may exhibit oversimplification and inherent biases. Our extensive empirical experiments demonstrate that TREvaL provides an innovative method for evaluating the robustness of an LLM. Furthermore, our results demonstrate that LLMs frequently exhibit vulnerability to word-level perturbations that are commonplace in daily language usage. Notably, we are surprised to discover that robustness tends to decrease as fine-tuning (SFT and RLHF) is conducted. The code of TREval is available in https://github.com/Harry-mic/TREvaL.
Motivation & Objective
- To address the limitation of existing LLM robustness evaluations that rely on closed or short-answer tasks and fail to capture generative capabilities.
- To develop a more holistic evaluation method that reflects real-world usage of LLMs in open-ended, long-form dialogue.
- To investigate how robustness changes across different training stages (pretrained, SFT, RLHF) and model sizes.
- To empirically demonstrate that word-level perturbations significantly degrade LLM performance, especially in fine-tuned models.
- To open-source the TREvaL framework to enable reproducible and standardized robustness evaluation.
Proposed method
- The method uses 1,000 open-ended questions from the Natural Questions dataset as prompts to elicit long-form responses from LLMs.
- It applies three levels of word-level perturbations—misspelling, synonym substitution, and word swapping—to the prompts.
- A pre-trained reward model evaluates the quality of the generated responses, measuring helpfulness and harmlessness.
- The robustness is quantified as the drop rate in reward scores between clean and perturbed inputs.
- The framework enables comparison across model stages (pretrained, SFT, RLHF) and models (Llama-7B, Alpaca-7B, Beaver-7B).
- Landscape analysis is performed by perturbing model parameters to visualize flatness and robustness trends.
Experimental results
Research questions
- RQ1Do large language models remain robust to common word-level perturbations in open-ended, long-form conversations?
- RQ2How does the robustness of LLMs change across different training stages—pretraining, supervised fine-tuning (SFT), and reinforcement learning from human feedback (RLHF)?
- RQ3Is there a trade-off between helpfulness and robustness in LLMs, particularly after fine-tuning?
- RQ4How do model size and parameter distribution affect robustness under perturbation?
- RQ5Can reward models serve as reliable evaluators for LLM robustness in generative settings?
Key findings
- All evaluated LLMs suffer from significant performance drops under word-level perturbations, indicating a lack of robustness in real-world usage.
- The pretrained LLM shows the lowest helpfulness but the highest robustness, while the RLHF-fine-tuned model achieves the highest helpfulness but the lowest robustness.
- Robustness consistently decreases with each stage of fine-tuning, suggesting that SFT and RLHF may destabilize model parameter distributions.
- Landscape analysis confirms that models become progressively flatter (more sensitive) with fine-tuning, with Beaver-7B showing the highest sensitivity and Llama-7B the lowest.
- The drop in robustness is not due to harmlessness degradation, as perturbations were not designed to induce toxic outputs.
- The results indicate that current SFT and RLHF paradigms may require redesign to improve stability and robustness in deployed LLMs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.