Explainable CTR Prediction via LLM Reasoning

Xiaohan Yu, Li Zhang, Chong Chen

TL;DR

ExpCTR is a novel framework that turns Click-Through Rate (CTR) prediction from a "black box" into a transparent process by integrating Large Language Model (LLM) reasoning directly into the recommendation loop. By using reinforcement learning to align generated explanations with both user intentions and the internal logic of traditional recommendation models, it achieves significant boosts in both prediction accuracy and interpretability without requiring massive, hand-labeled explanation datasets.

What Problem Does This Paper Address?

In the world of recommendation systems, Click-Through Rate (CTR) prediction models are the engines that decide what you see next. While models like DeepFM or DIN are incredibly accurate, they are essentially "black boxes"—they provide a score but no rationale.

Existing "explainable" recommendation methods usually follow a post-hoc paradigm: a separate model generates an explanation after the recommendation is made. This leads to two major issues:

  1. Resource Intensity: Training these generators requires expensive, curated datasets of user reviews or handcrafted rules.
  2. Unreliability: Because the generator is independent of the recommender, the "explanation" it produces might not actually reflect the logic the recommender used to make the prediction.

The authors tackle these gaps by proposing a way to generate explanations that are "recommender-aligned" and "human-centric" using a data-free training approach.

Methods

The authors introduce ExpCTR, which treats explanation generation as an integral part of the CTR prediction process rather than an afterthought. Key components include:

  • LLM-Driven Generation: Using LLaMA-3-7b with a Chain-of-Thought (CoT) prompting strategy, the system generates a one-sentence rationale for why a user might like or dislike a target item based on their history.
  • Dual Reward Mechanism (Reinforcement Learning): To fine-tune the LLM without a ground-truth explanation dataset, they use Proximal Policy Optimization (PPO) with two specific rewards:
  • LC (LLM-CTR) Alignment: This reward checks if the generated explanation is "useful" enough for an LLM to correctly predict the user's actual behavior (the ground truth click).
  • IC (ID-CTR) Alignment: This reward measures how much the explanation improves the performance of a traditional ID-based CTR model (like DeepFM). The explanation is encoded into a vector and fed into the model as a feature; if the model's accuracy goes up, the reward goes up.
  • Three-Stage Iterative Training: The framework uses an efficient training loop involving LoRA (Low-Rank Adaptation). It alternates between aligning with user interactions (LC), training the CTR model with textual features, and finally aligning the LLM with the recommender's internal mechanisms (IC).

Datasets

The framework was evaluated on three large-scale, publicly available datasets:

  • BookCrossing: A book recommendation dataset.
  • MovieLens 20M (ML-20M): A classic movie recommendation benchmark.
  • Amazon Books: A subset of the massive Amazon product review dataset.

The authors used a stratified random sampling approach to create training, validation, and test sets (8:1:1 ratio), binarizing ratings to represent "liked" vs. "disliked" interactions.

Key Insights and Ideas

  • Explanations as Features: One of the most striking findings is that high-quality textual explanations aren't just for humans—they actually serve as powerful features for the models themselves. When the LLM's "reasoning" was fed back into a traditional model (ExpCTR-Aug), performance skyrocketed.
  • The "Data-Free" Advantage: By using RL rewards derived from the CTR task itself, the authors bypassed the need for a "gold standard" explanation dataset. The model learns what a "good" explanation looks like by seeing which explanations lead to better predictions.
  • Closing the Loop: Unlike post-hoc methods where information flows one way (Recommender $\rightarrow$ Generator), ExpCTR creates a feedback loop where the generator is incentivized to understand the recommender's "mindset."

Key Results

ExpCTR significantly outperformed both traditional ID-based models and state-of-the-art LLM-based recommendation methods:

  • Accuracy Gains: Compared to the DeepFM baseline, the augmented version (ExpCTR-Aug) achieved AUC improvements of 18.2% on BookCrossing, 11.9% on ML-20M, and 17.8% on Amazon Books.
  • Superior Reasoning: In head-to-head comparisons with zero-shot LLM prompting (In-Context Learning), ExpCTR was much better at identifying the specific themes (e.g., "business," "marketing") that actually drove a user's interest, whereas zero-shot models often hallucinated negative sentiments for positive interactions.
  • Efficiency: By using LoRA and a single base LLM for multiple roles, the authors managed to keep the computational burden manageable compared to training full-parameter LLMs.

Limitations and Future Work

  • Inference Latency: While training is made efficient via LoRA, using an LLM for real-time CTR prediction in a production environment (where millisecond latency is required) remains a significant challenge.
  • Base Model Dependency: The quality of the explanations is inherently tied to the foundational LLM used (LLaMA-3 in this case). Smaller or less capable models might not yield the same "reasoning" benefits.
  • Future Directions: The authors suggest exploring more complex interaction scenarios and potentially distilling the LLM's reasoning capabilities into smaller, faster models to bridge the gap between high-quality explanation and real-time deployment.

Summary updated

BibTeX
@inproceedings{yu2025explainable,
  author = {Xiaohan Yu and Li Zhang and Chong Chen},
  title = {{Explainable CTR Prediction via LLM Reasoning}},
  booktitle = {WSDM},
  year = {2025},
  doi = {10.1145/3701551.3703551},
}
Figure