NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

N-best Response-based Analysis of Contradiction-awareness in Neural Response Generation Models

Shiki Sato, Reina Akama, Hiroki Ouchi, Ryoko Tokuhisa, Jun Suzuki, Kentaro Inui · DOI

Introduction

Neural response generation models, such as DialoGPT and Blender, frequently suffer from logical inconsistencies, often contradicting previously established facts or their own personas. While the research community has developed various contradiction detection mechanisms to filter these errors, these solutions are only effective if the model's candidate pool actually contains a valid, non-contradictory response.

Traditionally, evaluation has focused on the "1-best" output—the single highest-ranked response. This paper shifts the focus to the entire n-best list, investigating the distributional quality of candidate responses. By analyzing the full spectrum of generated options, the authors provide a deeper understanding of whether models are truly "aware" of contradictions or if they simply stumble upon correct answers by chance.

The N-best Evaluation Framework

To systematically probe contradiction-awareness, the authors developed a framework using polar echo questions as stimuli. This approach transforms Natural Language Inference (NLI) data into a dialogue format to test consistency.

Stimulus Generation

Using the Multi-Genre NLI (MNLI) dataset, the researchers synthesized 2,000 stimulus inputs categorized into two types:

  1. Confirmation Prompts (ENTQ): If a premise is "I am in North Carolina," the prompt might be "Are you in North Carolina?"
  2. Refutation Prompts (CNTQ): Using the same premise, the prompt might be "Aren't you in South Carolina?"

Automated Evaluation

Because dialogue responses are rarely simple "yes" or "no" tokens, the authors fine-tuned a RoBERTa-based classifier on the Circa dataset (indirect answers to polar questions). This classifier categorizes responses as affirmations or refutations with approximately 92% accuracy, allowing for the automated scoring of thousands of n-best lists.

Metrics: Certainty vs. Variety

The study introduces two primary metrics to quantify the quality of the n-best distribution:

  • Certainty: The probability that an n-best list contains at least one non-contradictory response. This measures the model's ability to produce a correct answer somewhere within its top candidates.
  • Variety: The proportion of non-contradictory responses within the entire n-best list. This measures the density of correct responses and indicates how robust the model's internal representation of the truth is.

Key Insights and Results

Standard beam search exhibits a significant "Certainty vs. Variety" trade-off. While increasing the beam size (e.g., from 10 to 40) slightly improves Certainty—increasing the odds of finding a "needle in the haystack"—it causes Variety to plummet. As the beam expands, the model tends to fill the additional slots with repetitive, nonsensical, or contradictory filler rather than diverse, valid alternatives. In roughly 10% of cases, standard models failed to produce even a single non-contradictory response (Certainty ≈ 0.90).

Decoding Strategy Comparisons

  • Nucleus Sampling (NS) and Diverse Beam Search (DBS): These methods achieved near-perfect Certainty (1.0), ensuring a correct answer was present. However, they suffered from very low Variety (often < 0.50), meaning the majority of the candidate list remained contradictory.
  • Unlikelihood Training (UL): This training objective, which explicitly penalizes contradictory tokens during the learning phase, proved the most effective. UL with a high alpha value (α=10) achieved a Variety score of 0.968, nearly triple that of standard decoding methods, while maintaining high Certainty.

Refutation vs. Confirmation

A consistent finding across all models was that refutation is harder than confirmation. Models struggle significantly more with CNTQ prompts, finding it easier to agree with a premise than to correctly identify and maintain a negative constraint.

Conclusion and Future Work

The analysis reveals that standard decoding tricks are insufficient for ensuring dialogue consistency. While they can help surface a single correct response, they do not fix the underlying distributional issues where contradictions dominate the candidate pool. Unlikelihood Training emerges as a superior path, forcing models to maintain consistency across their entire probability distribution.

Future research is needed to expand this n-best analysis beyond polar questions into more complex, open-ended, and multi-turn dialogue scenarios. Additionally, the field must continue to refine the balance between Certainty and Variety to ensure that AI personas remain stable and reliable throughout long-term interactions.

Summary updated

BibTeX
@inproceedings{sato2022n,
  author = {Shiki Sato and Reina Akama and Hiroki Ouchi and Ryoko Tokuhisa and Jun Suzuki and Kentaro Inui},
  title = {{N-best Response-based Analysis of Contradiction-awareness in Neural Response Generation Models}},
  booktitle = {SIGDIAL},
  year = {2022},
  doi = {10.18653/v1/2022.sigdial-1.60},
}
Figure