Evaluating the Robustness of Conversational Recommender Systems by Adversarial Examples

Ali Montazeralghaem, James AllanarXiv 2023 · DOI

TL;DR

While Conversational Recommender Systems (CRSs) are achieving high accuracy on standard benchmarks, they remain remarkably fragile. This research introduces an adversarial "stress test" demonstrating that minor linguistic changes—such as adding irrelevant details or using negation—can cause state-of-the-art models to fail, revealing a lack of true conversational understanding.

The Fragility of Conversational AI

Most research in Conversational Recommender Systems (CRSs) focuses on optimizing accuracy metrics like Hit@k. However, these evaluations typically occur in "clean" environments that don't reflect the messy reality of human dialogue. This paper addresses a critical gap: do these models actually understand user intent, or are they merely sophisticated pattern matchers?

A robust system should maintain its recommendation if a user rephrases a preference using synonyms. Conversely, it should immediately pivot if a user explicitly rejects a genre or item. This study measures robustness—the ability of a system to remain reliable when faced with adversarial or complex natural language inputs.

Adversarial Evaluation Framework

The authors propose four adversarial scenarios categorized into two main goals:

1. Expecting Consistency (Category 1)

  • Semantic Preserving: Swapping verbs and nouns for synonyms (e.g., "I like horror" to "I enjoy scary films").
  • Adding More Details: Inserting factual but irrelevant information (e.g., Wikipedia snippets) or mentioning a disliked movie to see if the model loses focus.

2. Expecting Sensitivity (Category 2)

  • Changing to the Opposite: Using negation or antonyms (e.g., "I do not like The Exorcist").
  • Adding a Contradictory Sentence: Adding a pivot at the end of a statement (e.g., "I like it, but I'm not in the mood for it now").

Datasets

The study utilizes two primary human-annotated CRS datasets, REDIAL and OpenDialKG, to test models like ReDial, KBRD, and KGSF.

Table 1: Statistics of the REDIAL and OpenDialKG datasets used in the study.

Key Insights: Distraction and Stubbornness

The evaluation revealed significant vulnerabilities in current state-of-the-art models:

  • The "Distraction" Effect: Adding irrelevant details significantly confuses models. For instance, on the OpenDialKG dataset, performance dropped by up to 58% when extra details were added. This suggests that models lack effective attention mechanisms to filter out conversational noise.
  • Model Stubbornness: When users explicitly changed their minds or expressed negative preferences, models often failed to update their recommendations. They appear to "lock in" on initial keywords rather than reasoning over the entire dialogue context.
  • Knowledge Graphs are Not Enough: Even models incorporating advanced Knowledge Graphs (like KGSF) were easily fooled by these simple linguistic perturbations.
Figure 4: Examples of model failures. On the left, adding irrelevant info distracts the model into recommending the wrong movie. On the right, the model ignores explicit negation ("do not like") and repeats the rejected recommendation.

Quantitative Impact

The performance drop was stark across all tested systems. For the KGSF model on OpenDialKG, the hit@1 score plummeted from 0.2220 to 0.0864 simply by adding extra details. In sensitivity tests, models frequently continued to recommend items the user had just explicitly rejected, failing to process negative feedback.

Conclusion and Future Directions

The findings suggest that current CRSs are "sick" with a lack of robustness. To move toward truly intelligent assistants, the authors suggest:

  • Adversarial Training: Incorporating these adversarial examples into the training loop to teach models to ignore noise.
  • Improved Reasoning: Enhancing architectures to handle coreference resolution and logical negation more effectively.
  • Human-centric Design: Better modeling of how humans actually pivot and change preferences during a conversation.

Summary updated

Abstract

Conversational recommender systems (CRSs) are improving rapidly, according to the standard recommendation accuracy metrics. However, it is essential to make sure that these systems are robust in interacting with users including regular and malicious users who want to attack the system by feeding the system modified input data. In this paper, we propose an adversarial evaluation scheme including four scenarios in two categories and automatically generate adversarial examples to evaluate the robustness of these systems in the face of different input data. By executing these adversarial examples we can compare the ability of different conversational recommender systems to satisfy the user's preferences. We evaluate three CRSs by the proposed adversarial examples on two datasets. Our results show that none of these systems are robust and reliable to the adversarial examples.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
ReDialKBRDhit@100.1825Conversational Recommendation · protocol=Cat1 Original
Source quote
L211: Original │ 0.0389 │ 0.1825 │ 0.3584 │ 0.0389 │ 0.0754 │ 0.0839 │ 0.0389 │ 0.1004 │ 0.1396
ReDialKBRDhit@100.1593Conversational Recommendation · protocol=Cat1-Add
Source quote
L213: Cat1-Add │ 0.0331 │ 0.1593 │ 0.3170 │ 0.0331 │ 0.0643 │ 0.0717 │ 0.0331 │ 0.0864 │ 0.1212
ReDialKGSFhit@100.1814Conversational Recommendation · protocol=Cat1 Original
Source quote
L215: Original │ 0.0347 │ 0.1814 │ 0.3716 │ 0.0347 │ 0.0720 │ 0.0811 │ 0.0347 │ 0.0975 │ 0.1398
ReDialKGSFhit@100.1563Conversational Recommendation · protocol=Cat1-Add
Source quote
L217: Cat1-Add │ 0.0289 │ 0.1563 │ 0.3255 │ 0.0289 │ 0.0602 │ 0.0680 │ 0.0289 │ 0.0825 │ 0.1197 \\}
OpenDialKGKBRDhit@10.2271Conversational Recommendation · protocol=Cat2 Original
Source quote
L246: Original │ 0.2271 │ 0.4466 │ 0.5339 │ 0.2271 │ 0.3020 │ 0.3057 │ 0.2271 │ 0.3370 │ 0.3556
OpenDialKGKBRDhit@10.2407Conversational Recommendation · protocol=Cat2-Add
Source quote
L248: Cat2-Add │ 0.2407 │ 0.4271 │ 0.5068 │ 0.2407 │ 0.3030 │ 0.3068 │ 0.2407 │ 0.3330 │ 0.3508
BibTeX
@misc{montazeralghaem2023evaluating,
  author = {Ali Montazeralghaem and James Allan},
  title = {{Evaluating the Robustness of Conversational Recommender Systems by Adversarial Examples}},
  year = {2023},
  eprint = {2303.05575},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.05575},
}
Figure