paper:doi-10-48550-arxiv-2205-01497Semantic Diversity in Dialogue with Natural Language Inference
TL;DR
Confidence NLI Diversity achieves state-of-the-art Spearman's ρ of 0.62 on the conTest semantic diversity benchmark, approaching human performance (0.63) and outperforming the prior best automatic metric Sent-BERT (0.59), by aggregating probability mass from a RoBERTa-large model's softmax output over NLI classes rather than hard argmax predictions. The paper introduces two artifacts: the NLI Diversity metric family—Baseline, Neutral, and Confidence variants—and Diversity Threshold Generation, an iterative resampling procedure that discards the lowest-contributing response and replaces it until a target contradiction count (e.g., 10 out of 20 pairwise comparisons) is met. Applied to DialoGPT (700M parameters) and BlenderBot 1.0 (300M parameters) on DailyDialog++ and EmpatheticDialogues, Diversity Threshold Generation yields an average 137% increase in NLI Diversity scores while leaving relevancy virtually unchanged: BERTScore shifts by an average of 0.08% and BLEU by 1.1%. An ablation over prediction categories confirms the directional logic: # Contradiction correlates positively with human diversity judgments (ρ = 0.46 on conTest), # Entailment negatively (ρ = −0.65), and # Neutral near zero (ρ = −0.08). The paper argues this implies that framing crowdworker instructions around generating contradictory rather than merely diverse responses could improve dataset construction, and that Diversity Threshold Generation provides a model-agnostic probe for assessing any dialogue system's capacity to produce semantically varied outputs.
What to take away
- 1. Confidence NLI Diversity, which aggregates softmax probability mass instead of hard class predictions from a RoBERTa-large-MNLI model, achieves Spearman's ρ = 0.62 on the conTest semantic diversity benchmark, matching human performance (0.63) and exceeding the prior best automatic metric Sent-BERT (ρ = 0.59).
- 2. Diversity Threshold Generation—an iterative procedure that identifies and replaces the lowest-scoring response in a set until a target NLI contradiction count is reached—produces an average 137% increase in NLI Diversity scores across DialoGPT and BlenderBot 1.0 on DailyDialog++ and EmpatheticDialogues.
- 3. Relevancy is preserved by Diversity Threshold Generation: BERTScore changes by an average of only 0.08% and BLEU by 1.1% from starting to ending response sets on DailyDialog++.
- 4. An ablation on prediction counts shows # Contradiction is positively correlated with human diversity judgments (ρ = 0.46 on conTest, ρ = 0.26 on decTest), while # Entailment is negatively correlated (ρ = −0.65 on conTest), and # Neutral shows near-zero correlation (ρ = −0.08), validating the metric's design logic.
- 5. Neutral NLI Diversity performs best on decTest (ρ = 0.72) but worst on conTest (ρ = 0.24), indicating that weighting neutral predictions equally to contradictions captures lexical rather than semantic diversity.
- 6. DialoGPT (700M parameters) starts with substantially higher NLI Diversity than BlenderBot 1.0 (300M parameters) across both datasets; BlenderBot's starting NLI Diversity is negative on both DailyDialog++ (−5.55) and EmpatheticDialogues (−8.90), indicating a predominance of entailment predictions in its initial sampled responses.
- 7. Beam search generates semantically less diverse responses than nucleus sampling (p = 0.9): using Diversity Threshold Generation on DailyDialog++, beam search reaches an ending NLI Diversity of only 5.35 versus substantially higher values under nucleus sampling, requiring an average 10.97 resampled utterances.
- 8. An open question raised is whether NLI models trained on more diverse corpora (e.g., the Combined RoBERTa-large model trained on MNLI+SNLI+FEVER+ANLI) would outperform the MNLI-only model for diversity measurement, since the Combined model did not surpass MNLI in this work despite broader training data.
- 9. To replicate the Diversity Threshold Generation setup: generate 5 responses per conversation using nucleus sampling (p = 0.9), set divthresh to 10 contradictions out of 20 pairwise NLI comparisons, discard the response whose removal maximizes diversity score, resample up to S = 20 total attempts, and average results over 10 trials for stability.
- 10. The evaluation framework from Tevet and Berant (2021) using conTest (200 human-generated conversations, 5 responses each) and decTest (200 model-generated conversations, 10 responses each) for the respGen dialogue task drawn from Reddit provides the benchmark on which NLI Diversity is validated; Confidence NLI Diversity's 95% confidence interval overlaps with both Baseline NLI Diversity, Sent-BERT, and human judgments on conTest, meaning differences among top metrics are not statistically significant.
Peer brief — for seminar discussion
Stasaski and Hearst address the problem of measuring and improving the semantic diversity of sets of dialogue model responses—distinct from test-set diversity over a full corpus—by introducing two linked contributions: the NLI Diversity metric family and Diversity Threshold Generation. Working within the Multi-Response Diversity evaluation paradigm of Tevet and Berant (2021), where a model generates m responses per conversation rather than one response per conversation in a test set, they score response-set diversity by running every ordered pair of utterances through a RoBERTa-large NLI model and aggregating the class predictions (contradiction weighted +1, entailment −1, neutral 0 for the baseline variant). Three variants are proposed: Baseline NLI Diversity (hard argmax), Neutral NLI Diversity (neutrals weighted equal to contradictions), and Confidence NLI Diversity (softmax probabilities replace indicator weights). All three are evaluated on conTest and decTest from Tevet and Berant (2021), two 200-conversation English datasets designed to isolate semantic and lexical diversity respectively, using Spearman correlation to both a diversity parameter and averaged human Likert ratings from 10 annotators per set. The load-bearing finding is that Confidence NLI Diversity achieves ρ = 0.62 on conTest against the diversity parameter, equaling human performance (0.63) and exceeding the prior best automatic metric Sent-BERT (ρ = 0.59), while an ablation confirms that contradiction count is positively correlated with human diversity ratings (ρ = 0.46 on conTest) and entailment count negatively so (ρ = −0.65), validating the metric's polarity choices. Neutral predictions contribute near-zero correlation on conTest (ρ = −0.08), and Neutral NLI Diversity's superior performance on decTest (ρ = 0.72 vs. 0.24 on conTest) suggests it conflates lexical and semantic diversity signals. The second contribution, Diversity Threshold Generation, uses Baseline NLI Diversity as a stopping criterion: responses are iteratively resampled until a target number of contradictions (set at 10 out of 20 pairwise comparisons) is met or a maximum of 20 samples is exhausted. Applied to DialoGPT (700M parameters) and BlenderBot 1.0 (300M parameters) on DailyDialog++ (1,028 conversations) and EmpatheticDialogues (2,763 conversations), the procedure yields an average 137% increase in NLI Diversity with BERTScore and BLEU shifting by only 0.08% and 1.1% respectively, implying diversity gains without relevancy cost. An alternative generation approach the paper could have used but did not is Maximal Marginal Relevance-style reranking over a pre-generated candidate pool, which would avoid iterative model calls at the cost of fixed candidate diversity ceiling. The paper predicts that crowdworker instructions framed around generating contradictory rather than diverse responses should improve dataset quality, though this hypothesis is stated as future work and not empirically tested here. A critical reader would push back on the validity of the divthresh calibration: the contradiction threshold of 10 out of 20 pairwise comparisons is set empirically for NLI Diversity, while Sent-BERT and distinct-n thresholds are taken from the 90th percentile of human DailyDialog++ responses—making cross-metric comparisons of Diversity Threshold Generation's efficiency (samples required, overlap retained) potentially confounded by differently stringent thresholds rather than reflecting intrinsic metric properties. Additionally, all NLI Diversity evaluation uses the Tevet and Berant framework without independent human validation of the generated diverse response sets themselves, leaving open whether the correlation gains translate to perceived diversity improvements in actual conversational use.
Methods (15)
- Baseline NLI DiversityFirst variant: aggregates argmax NLI class predictions with contradiction=+1, entailment=-1, neutral=0
- Bert-STSSentence-level semantic similarity metric repurposed as diversity measure in Tevet and Berant 2021
- BERTScoreToken-level BERT embedding similarity metric used for both diversity comparison and relevancy evaluation
- BLEU ScoreUsed as relevancy metric comparing generated responses to human references in DailyDialog++
- Bootstrapping Confidence Interval Analysis1000-iteration bootstrap procedure sampling 50% of conTest to compute 95% confidence intervals
- Confidence NLI DiversityBest-performing variant: aggregates softmax probability mass rather than binary class counts
- Distinct-NLexical diversity metric measuring the proportion of unique n-grams in persuadee responses within a dialogue
- Diverse M-Best SolutionsGreedy iterative algorithm for generating diverse hypotheses applied to vision and MT tasks
- Diversity Threshold GenerationIterative generation procedure that resamples lowest-scoring responses until a diversity threshold is reached
- Human Diversity Annotation (Likert Scale)Annotators score diversity of response sets 1-5 with half-point increments; used as ground truth correlation target
- Maximal Marginal RelevanceDiversity-based reranking approach from Carbonell and Goldstein 1998 for document summarization
- Neutral NLI DiversityVariant weighting neutral predictions equally to contradictions to test if neutrals capture lexical diversity
- NLI DiversityNovel metric proposed in this paper using NLI predictions to score semantic diversity of a response set
- Sent-BERTCosine similarity between BERT sentence embeddings; top automatic baseline for semantic diversity
- Spearman's Rank CorrelationStatistical measure used to evaluate correlation between diversity metrics and diversity parameter / human judgments
Frameworks (1)
- Tevet and Berant 2021 Diversity Metric Evaluation FrameworkEstablished framework used to validate NLI Diversity via diversity parameter correlation
Datasets (9)
- Adversarial NLIAdversarially collected NLI dataset used in the combined NLI model training
- conTestHuman-created dataset with high lexical diversity and varying semantic diversity for evaluating diversity metrics
- DailyDialog++Conversational dataset with 5 human-written responses per conversation used for Diversity Threshold Generation evaluation
- decTestModel-generated dataset with diversity controlled by decoding temperature parameter
- EmpatheticDialoguesSecond dialogue dataset used for Diversity Threshold Generation evaluation; no multiple human references
- FEVERFact-checking NLI dataset used in the combined NLI model training
- Multi-Genre NLIPrimary NLI training dataset for the MNLI-finetuned RoBERTa model used in all main experiments
- Reddit respGen TaskDialogue response generation subset of conTest/decTest drawn from Reddit conversations
- Stanford Natural Language InferenceNLI training dataset used in the combined NLI model
Findings (12)
- 95% confidence intervals overlap between Baseline NLI Diversity, Confidence NLI Diversity, SentBERT, and human judgments on conTest
Indicates lack of statistically significant differences between top methods
- Beam search DTG achieves ending NLI Diversity of 5.35 vs nucleus sampling's higher performance, starting from -5.05
Confirms nucleus sampling produces more semantically diverse outputs than beam search
- Diversity Threshold Generation results in average 137% increase in NLI Diversity compared to standard generation
Key headline result of the DTG procedure across all conditions
- Baseline NLI Diversity – MNLI achieves Spearman ρ=0.59 on conTest diversity parameter correlation
Comparable to top-performing automatic metric from Tevet and Berant 2021
- BlenderBot on EmpatheticDialogues: NLI Diversity increases from -8.90 to -1.72 with 16.5 samples
DTG result for BlenderBot on EmpatheticDialogues; requires most resampling of all conditions
- Confidence NLI Diversity achieves ρ=0.64 correlation with human diversity judgments on conTest
Highest human correlation for semantic diversity metric
- DialoGPT on EmpatheticDialogues: NLI Diversity increases from 3.68 to 10.11 with 7.1 samples
DTG result for DialoGPT on EmpatheticDialogues using NLI metric
- # Contradiction is positively correlated with diversity (ρ=0.26 decTest, ρ=0.46 conTest)
Ablation result confirming that contradiction predictions indicate diversity
- # Entailment is negatively correlated with diversity (ρ=-0.48 decTest, ρ=-0.65 conTest)
Ablation result confirming that entailment predictions indicate lack of diversity
- DialoGPT on DailyDialog++: NLI Diversity increases from 4.11 to 10.24 with 6.3 samples
DTG result for DialoGPT on DailyDialog++ using NLI metric
Claims (8)
- Future crowdworker instructions asking for contradictory rather than diverse responses may improve data collection
Future work suggestion based on finding that contradictions best capture diversity
- The contradiction relation is more useful than the neutral relation for measuring semantic diversity
Key finding from ablation study on NLI prediction categories
- Confidence NLI Diversity achieves state-of-the-art performance on measuring semantic diversity
Main performance claim of the paper
- Diversity Threshold Generation increases semantic diversity with minimal loss in relevancy
Central practical claim about the DTG procedure
- EmpatheticDialogues shows lower starting diversity than DailyDialog++ for both models
Dataset comparison finding from Diversity Threshold Generation experiments
- DialoGPT generates more diverse utterances across all conditions than BlenderBot 1.0
Model comparison derived from Diversity Threshold Generation experiment results
- Nucleus sampling generates more semantically diverse utterances than beam search
New semantic diversity dimension added to prior finding that nucleus sampling is more lexically diverse
- NLI Diversity is limited by the scope of the NLI model's training data
Limitation acknowledged in discussion section
Hypotheses (3)
- Larger numbers of entailment predictions indicate lack of diversity; larger numbers of contradiction predictions indicate higher diversity
Design hypothesis for NLI scoring weights in Baseline NLI Diversity
- A diverse set of responses for a conversation captures contradictory ways one could respond, measurable by an NLI model
Core hypothesis motivating the NLI Diversity metric
- Neutral NLI predictions may capture lexical rather than semantic diversity
Hypothesis proposed to explain Neutral NLI Diversity's high performance on decTest but low on conTest
Questions (3)
- What is the effect of more generalized NLI training data on NLI Diversity performance?
Future work question arising from the finding that Combined model did not outperform MNLI model
- How do diverse model responses compare in actual conversational context with users?
Future work question about practical deployment of diverse response generation
- What is the role of neutral NLI predictions in measuring semantic diversity?
Motivates the creation of Neutral NLI Diversity as an ablation
Original abstract (expand)
Generating diverse, interesting responses to chitchat conversations is a problem for neural conversational agents. This paper makes two substantial contributions to improving diversity in dialogue generation. First, we propose a novel metric which uses Natural Language Inference (NLI) to measure the semantic diversity of a set of model responses for a conversation. We evaluate this metric using an established framework (Tevet and Berant, 2021) and find strong evidence indicating NLI Diversity is correlated with semantic diversity. Specifically, we show that the contradiction relation is more useful than the neutral relation for measuring this diversity and that incorporating the NLI model's confidence achieves state-of-the-art results. Second, we demonstrate how to iteratively improve the semantic diversity of a sampled set of responses via a new generation procedure called Diversity Threshold Generation, which results in an average 137% increase in NLI Diversity compared to standard generation procedures.
Related work— refs + corpus + external arXiv
Cited / in-corpus / arXiv badges show which signals surfaced each row. Multi-source rows weighted higher.
- ≈ 82%
- BenchBench: Benchmarking Automated Benchmark GenerationYandan Zheng and Haoran Luo and Zhenghong Lin and Wenjin Liu and Luu Anh Tuan2026≈ 82%
- GroupMemBench: Benchmarking LLM Agent Memory in Multi-Party ConversationsKwei-Herng Lai, Xiaowen Wang, Shiyu Chang, Yaar Harari, Evgeniy Gabrilovich Jingbo Yang2026≈ 82%
- Semantic Invariance in Agentic AII. de Zarz\`a and J. de Curt\`o and Jordi Cabot and Pietro Manzoni and Carlos T. Calafate2026≈ 82%
- ≈ 82%
- Failing to Falsify: Evaluating and Mitigating Confirmation Bias in Language ModelsAnthony GX-Chen, Ilia Sucholutsky, Eunsol Choi Ayush Rajesh Jhaveri2026≈ 81%
- The MASK Benchmark: Disentangling Honesty From Accuracy in AI SystemsArunim Agarwal, Mantas Mazeika, Cristina Menghini, Robert Vacareanu, Brad Kenstler, Mick Yang, Isabelle Barrass, Alice Gatti, Xuwang Yin, Eduardo Trevino, Matias Geralnik, Adam Khoja, Dean Lee, Summer Yue, Dan Hendrycks Richard Ren2026≈ 81%
- Moral Sensitivity in LLMs: A Tiered Evaluation of Contextual Bias via Behavioral Profiling and Mechanistic InterpretabilityAtmika Gorti, Vinija Jain, Aman Chadha, Krishnaprasad Thirunarayan, Manas Gaur Yash Aggarwal2026≈ 81%
- The Wisdom of Partisan Crowds: Comparing Collective Intelligence in Humans and LLM-based AgentsSiddharth Suresh, Nikunj Harlalka, Agam Goyal, Robert Hawkins, Sijia Yang, Dhavan Shah, Junjie Hu, Timothy T. Rogers Yun-Shiuan Chuang2024≈ 81%
- ≈ 81%
- Enhancing Collective Intelligence in Large Language Models Through Emotional IntegrationRamteja Sajja, Yusuf Sermet, Ibrahim Demir Likith Kadiyala2025≈ 81%
- Advances in LLMs with Focus on Reasoning, Adaptability, Efficiency and EthicsMuhammad Zaeem Khan, Aleesha Zainab, Saleha Jamshed, Sadia Ahmad, Kaynat Khatib, Faria Bibi, and Abdul Rehman Asifullah Khan2026≈ 80%
- DataDignity: Training Data Attribution for Large Language ModelsAndrzej Banburski-Fahey, Jaron Lanier Xiaomin Li2026≈ 80%
- Less is Enough: Synthesizing Diverse Data in Feature Space of LLMsXuansheng Wu, Yijiang Li, Lijie Hu, and Ninghao Liu Zhongzhi Li2026≈ 80%
- Dissecting Bias in LLMs: A Mechanistic Interpretability PerspectiveZubair Bashir, Procheta Sen Bhavik Chandna2025≈ 80%
- The production of meaning in the processing of natural languageQuan Le Thien, Nayan D'Souza, Louis van der Elst Christopher J. Agostino2026≈ 80%
- Evaluating Language Model Character Traitsin corpus2024≈ 80%
- ≈ 80%
- ≈ 79%
- The Platonic Representation Hypothesisin corpus2024≈ 79%
- ≈ 79%
- ≈ 79%
- Mechanistic Knobs in LLMs: Retrieving and Steering High-Order Semantic Features via Sparse Autoencodersin corpus2026≈ 79%
- ≈ 79%
- Quantitative Introspection in Language Models: Tracking Emotive States Across Conversationin corpus2026≈ 79%
- What Models Express, Suppress, and Resist: Auditing Open-Weight LLMs with Persona Vectorsin corpus2026≈ 79%
- Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representationsin corpus2023≈ 78%
- The Non-Linear Representation Dilemma: Is Causal Abstraction Enough for Mechanistic Interpretability?in corpus2025≈ 78%
- ≈ 78%
- SemEval-2017 Task 1: Semantic Textual Similarity Multilingual and Crosslingual Focused Evaluationcited2017≈ 76%
+26 more