Unveiling the Achilles' Heel of NLG Evaluators: A Unified Adversarial Framework Driven by Large Language Models

Yiming Chen, Chen Zhang, Danqing Luo, Luis Fernando D'Haro, Robby T. Tan, Haizhou Li

TL;DR

AdvEval is a novel black-box adversarial framework that uses Large Language Models (LLMs) to automatically expose vulnerabilities in Natural Language Generation (NLG) evaluation metrics. By using a strong LLM as a "gold evaluator" to guide an iterative optimization process, AdvEval generates high-quality adversarial text that successfully tricks popular metrics into significantly overrating or underrating content.

What Problem Does This Paper Address?

As AI-generated text becomes more sophisticated, we increasingly rely on automatic metrics (like BERTScore, BLEURT, or even LLM-based evaluators) to judge its quality. However, the robustness of these "evaluators" is often overlooked.

Traditional adversarial attacks in NLP typically focus on classification tasks (e.g., changing a word in a movie review while keeping the sentiment label the same). In NLG evaluation, this "label-preserving" assumption fails because even a tiny change—like swapping "movie" for "dish" in a dialogue about cinema—can turn a perfect response into a nonsensical one. Existing adversarial methods for NLG are often limited to simple, rule-based perturbations (like deleting words) that produce low-quality text and fail to capture the nuances of natural language. The authors address this by creating a framework that can generate diverse, high-quality adversarial samples across various NLG tasks.

Methods

The authors introduce AdvEval, an optimization-based framework that treats the victim evaluator as a black box. The process involves three main components:

  1. Adversarial Generator ($G$): An LLM (e.g., PaLM-2 or GPT-4) that iteratively refines an initial response based on feedback.
  2. Gold Evaluator ($E_{gold}$): A powerful LLM (GPT-4) that acts as a proxy for human judgment, ensuring the generated text is actually high-quality (or low-quality) as intended.
  3. Victim Evaluator ($E_{victim}$): The metric being tested.
Figure 1: Overall framework of AdvEval. Optimization prompt shown above is for dialogue response generation.

AdvEval targets two types of disagreement:

  • $R^+$ (Underrated): Text that the gold evaluator rates highly but the victim metric scores poorly.
  • $R^-$ (Overrated): Text that the gold evaluator rates poorly but the victim metric scores highly.

The generator is guided by a feedback score $S_{fb}$ that rewards the gap between the gold and victim scores. By including the "optimization trajectory" (a history of previous attempts and their scores) in the prompt, the generator learns how to better "trick" the victim metric over several iterations.

Datasets

The study evaluates AdvEval across 11 datasets spanning three major NLG tasks:

  • Dialogue Response: DailyDialog, DREAM, PersonaChat, and MuTual.
  • Summarization: CNN/DailyMail, XSum, and DialogSum.
  • Question Generation: SQuAD, NewsQA, HotpotQA, and Natural Questions.

The framework was tested against 12 different victim evaluators, ranging from traditional overlap metrics (BLEU, ROUGE) to modern neural and LLM-based metrics.

The study covers a wide range of victim evaluators, including reference-based, model-based, and LLM-based metrics.

Key Insights and Ideas

  • The Failure of Local Perturbations: Traditional attacks that only make local changes (like synonym replacement) are easily detectable and often fail to maintain the intended quality label. AdvEval's ability to perform "global" rewrites while maintaining semantic coherence is key to its success.
  • LLMs as Robust Proxies: The authors found that GPT-4's judgments on adversarial data align with human annotators over 80% of the time, making it a viable "gold" standard for guiding attacks.
  • Reference-Based Metrics are Fragile: Metrics that rely heavily on vocabulary overlap with a reference text (like BLEU or BERTScore) are particularly vulnerable to $R^-$ attacks, where nonsensical text with high word overlap can receive high scores.
  • Harder to Defend: The authors demonstrated that models fine-tuned on AdvEval's diverse adversarial data are much harder to "fix" via standard adversarial training compared to those attacked by simpler rule-based methods.

Key Results

AdvEval significantly outperformed all baseline attack methods in terms of Attack Success Rate (ASR).

  • Dialogue Tasks: AdvEval achieved an average ASR of 84.8% for $R^+$ and 92.5% for $R^-$. In contrast, the best rule-based baselines struggled to exceed 10-15% for $R^+$ samples.
  • Question Evaluation: Even with stringent constraints (questions must be answerable from the text), AdvEval reached an average ASR of 60.6% ($R^+$) and 92.7% ($R^-$).
Results on dialogue datasets show that AdvEval (Ours) consistently achieves much higher attack success rates across various victim metrics compared to baselines.

The results indicate that even state-of-the-art evaluators like UniEval and LLM-based metrics (Vicuna, Baichuan) have significant "Achilles' Heels" that can be systematically exploited.

Limitations and Future Work

  • Binary Extremes: The current framework is optimized to find "absolutely good" (score ~100) or "absolutely bad" (score ~0) text. Generating more nuanced, medium-quality adversarial samples remains an open challenge.
  • Dimension-Specific Attacks: The study focused on overall quality or highly correlated dimensions (like relevance). Future work could target specific aspects like fluency or toxicity.
  • Computational Cost: Attacking very strong proprietary LLM evaluators (like InstructGPT) requires an ensemble of other powerful LLMs, which is computationally expensive. The authors suggest exploring more efficient frameworks in the future.

Summary updated

BibTeX
@inproceedings{chen2024unveiling,
  author = {Yiming Chen and Chen Zhang and Danqing Luo and Luis Fernando D'Haro and Robby T. Tan and Haizhou Li},
  title = {{Unveiling the Achilles' Heel of NLG Evaluators: A Unified Adversarial Framework Driven by Large Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.80},
}
Figure