Skip to content
AI.info

Research

From Counterfactual Edits to Human Narratives: LLM-Driven Interpretations for Recommender System Explanations

Overview Research area: Explainable AI for recommender systems, combining counterfactual explanation (CFX) methods with large language model (LLM) text generation. Technical level: Intermediate — assu

arXiv
2611.13914
Published
2026-11-10
Authors
Vojtech Cahlik, Amir Reza Mohammadi, Rodrigo Alves, Pavel Kordik, Eva Zangerle

AI summary

Overview

  • Research area: Explainable AI for recommender systems, combining counterfactual explanation (CFX) methods with large language model (LLM) text generation.
  • Technical level: Intermediate — assumes familiarity with recommender systems and explanation metrics, but the core idea (turning edit lists into narratives) is explained in plain terms.
  • Scope (one sentence): The paper studies whether LLMs can act as "mediators" that summarize long lists of counterfactual interaction edits into short, faithful natural language explanations, and evaluates those summaries on MovieLens-1M across seven CFX generators and three LLMs with human-calibrated metrics.

What This Paper Is About

Counterfactual explanations for recommender systems tell a user which past interactions would have to change for a recommendation to change — but in practice these explanations come out as long, low-level lists of item removals that are hard for a person to read. The authors propose putting an LLM in between the counterfactual generator and the user, so that a long edit list is turned into a concise narrative describing the higher-level preference pattern behind the edits. The goal is to keep the explanation grounded in the actual counterfactual while making it understandable, and to evaluate that trade-off with metrics tied to human judgments rather than just counting edits.

Key Contributions

  1. An LLM mediator framework that conditions a language model on sampled counterfactual interactions and sampled non-counterfactual interactions (both converted to item metadata) to produce concise natural language explanations (NLEs) that stay grounded in the underlying causal edits.
  2. A decomposed, human-calibrated evaluation methodology: correctness and informativeness are computed from interaction-level matching scores, and linguistic quality from an overall score, with final reported numbers produced by ModernBERT-large binary classifiers trained on separate human-labeled datasets.
  3. A preference-optimization step: Direct Preference Optimization (DPO) of the generating LLM, using prompted LLM judges for correctness, informativeness, and a six-criterion linguistic-quality rubric (fluency, grammar, length, naturalness, illustrativeness, specificity), with learning rate and β tuned by random search under a fixed compute budget.
  4. An end-to-end comparison on MovieLens-1M across seven counterfactual generators (Jaccard, Cosine, LIME-RS, SHAP, ACCENT, LXR, SPINRec) and three LLMs (Ministral 8B, Gemma 3 12B, Qwen3 8B), plus a public code release.

Main Findings

  • Counterfactual edits are large and pervasive: The motivating analysis (Figure 1) shows that displacing the top-ranked item from the top-5 list often requires removing dozens of past interactions, and that these edits represent a substantial share of a typical user's history.
  • Success rate and compactness go together: ACCENT and SPINRec achieve the highest CFX success rates (0.99 and 1.00) and the most compact edits (average sizes 10.36 ± 7.24 and 12.25 ± 8.75 interactions), while SHAP is the weakest on both (success rate 0.76, size 20.83 ± 11.82).
  • Simple counterfactuals are rare for every method: The "Simple CFX Rate" (fraction of successful cases with fewer than 3 edits) is low across the board — 0.07 for ACCENT, 0.05 for SPINRec, 0.02 for Jaccard and Cosine, 0.01 for LIME-RS and SHAP, and 0.00 for LXR — so summarization is needed in most cases.
  • Semantic quality is best for the stronger CFX methods: Correctness and informativeness are highest for ACCENT and SPINRec, though the single best rows are scattered across method–LLM combinations (for example, correctness 0.52 ± 0.16 for LIME-RS with DPO-tuned Ministral 8B, and informativeness 0.22 ± 0.21 for SPINRec with DPO-tuned Qwen3 8B).
  • DPO usually helps semantics: Direct Preference Optimization improves informativeness for most method–LLM pairs and correctness in all but one case.
  • Linguistic quality is high but variable: Many settings exceed 0.80 under the human-calibrated evaluator and the strongest exceed 0.85 (e.g., 0.91 ± 0.29 for Cosine with vanilla Ministral 8B), but there is noticeable spread — which the authors attribute partly to the multiple competing optimization objectives.
  • LLM judges and human-calibrated judges can disagree sharply: Table 2 shows per-explanation cases where the LLM judge rates linguistic quality at 0.89–0.94 while the human-calibrated classifier gives 0.00 or 1.00, and informativeness scores that are sometimes negative (e.g., −0.15 LLM judge, −0.20 human-calibrated), illustrating why optimization signals were separated from final reported metrics.
  • The human-calibrated evaluators are accurate: ModernBERT-large classifiers trained on human-labeled data with 100 held-out test instances each reached 0.91 accuracy for linguistic quality and 0.92 for explanation–interaction matching.

Methodology in Plain English

The authors start with an existing counterfactual explainer that, for a given user, identifies a set of past interactions whose removal would push the currently top-ranked movie out of the top-5 recommendations. That set is typically too long to show a user directly. So they sample up to 20 interactions from the counterfactual set and 20 from the rest of the user's history, strip each movie down to just its release year and genre list (deliberately hiding titles so the LLM cannot lean on its own knowledge of films), and ask the LLM to write a short explanation — typically a "because you watched…" style statement about genres and eras.

To judge the resulting text, they use three signals. Correctness measures how well the explanation matches the counterfactual items. Informativeness subtracts how well the explanation matches the remaining history from how well it matches the counterfactual items, so a vague explanation that fits everything scores near zero. Linguistic quality is an overall readability score. During optimization these signals come from a prompted LLM judge; for the final reported results they come from separate classifiers trained on human labels, with the LLM-judge scores never reused for reporting.

Finally, they fine-tune the generating LLM with Direct Preference Optimization: candidate explanations are scored by the LLM judges, pairs are formed, and the model is nudged toward the preferred explanation. Hyperparameters (learning rate and β) are tuned by random search, and the final DPO variant is selected using the human-calibrated evaluators on held-out validation users.

Why This Matters

  • Research impact: The paper reframes counterfactual explanation evaluation away from edit counts and success rates toward whether the explanation actually communicates something coherent, and it introduces a reusable pattern (LLM as a mediation layer over causal explanations) rather than a new generator.
  • Real-world applications:
    • Consumer streaming and e-commerce platforms that want to tell users "why am I seeing this?" in a sentence rather than a list of deleted viewing events.
    • Regulatory and compliance workflows where transparency obligations require understandable, not just technically valid, explanations.
    • User-facing controls that let people act on explanations (e.g., adjust their profile or history) and need guidance that is specific enough to be useful.
    • Internal debugging tools for recommendation engineers who need quick, human-readable digests of model sensitivity for a given user.
  • Industry relevance: The finding that explanation quality is bounded by the underlying counterfactual generator (ACCENT and SPINRec producing more compact, more summarizable edits) gives practitioners a concrete reason to care about CFX compactness, and the human-calibrated classifier setup offers a cheaper alternative to running human studies for every iteration.

Future Directions

  • Beyond MovieLens-1M: The paper reports results on a single dense movie dataset; whether the mediation approach holds for sparse, non-movie, or side-information-rich domains is not established.
  • Closing the LLM-judge / human gap: The per-explanation disagreements in Table 2 suggest that optimizing against LLM judges may not fully transfer to human-calibrated judgments — better judge prompts or hybrid reward signals are open questions.
  • Balancing semantic and linguistic objectives: The residual spread in linguistic quality under DPO points to unresolved tension between correctness, informativeness, and readability during preference optimization.
  • Comparison with newer generators: The authors explicitly note that DiceRec was not available when the research was conducted and is excluded, so re-running the comparison against newer counterfactual methods remains future work.

Target Audience

Researchers and practitioners working on explainable recommendation, counterfactual explanation, or LLM-based natural language explanation will get the most from this paper, particularly those interested in evaluation methodology rather than model architecture. It is also useful for applied teams building user-facing explanation features, since the pipeline and the human-calibration approach are directly transferable. Readers without background in recommender systems will need to pick up counterfactual explanation basics first, but the central argument — long edit lists are unreadable, and summarization must preserve causal grounding — is accessible without deep technical background.

Authors’ abstract

Recommender systems increasingly influence what users discover and consume online, yet the decision logic behind their outputs often remains opaque. Counterfactual explanation (CFX) methods provide an effective way to show which changes to a user's interaction history would alter a recommendation. In recommendation settings, however, CFXs often require many edits, producing long, low-level lists that are hard for users to interpret. Moreover, most evaluations emphasize edit…

The full abstract on arXiv
Read the original paper