Dual-space Hierarchical Learning for Goal-guided Conversational Recommendation

Can Chen, Hao Liu, Zeming Liu, Xue Liu, Dejing Dou

Abstract

Conversational Recommender Systems (CRS) aim to proactively guide users from general interactions toward specific recommendation goals. However, existing models often treat dialog goals as flat sequences, ignoring the intrinsic hierarchical dependencies between goal types, entities, and attributes. This paper presents Dual-space Hierarchical Learning (DHL), a framework that improves goal-guided recommendation by modeling these relationships in both the representation and optimization spaces. By employing cross-attention for feature alignment and bi-level optimization for task weighting, DHL achieves state-of-the-art performance on multiple real-world datasets.

Introduction

In goal-guided conversational recommendation, the system's objective is to navigate a dialogue toward a specific item or topic (e.g., moving from "Chit-chat" to a "Movie Recommendation" for a specific title). This process is inherently hierarchical. A high-level intent (Goal Type) naturally constrains and informs the selection of specific subjects (Goal Entity) and their descriptions (Goal Attribute).

Traditional CRS models frequently overlook these dependencies, leading to unnatural transitions or inaccurate goal planning. The DHL framework addresses this by explicitly modeling the hierarchy across two distinct dimensions: the representation space and the optimization space.

The DHL Framework

1. Representation Space: Hierarchical Cross-Attention

To ensure that high-level intent and low-level details are mutually informative, DHL utilizes a cross-attention module. This module consists of two symmetric components: type2entity and entity2type.

By using the hidden state of one level (e.g., Goal Type) as a query to attend to the sequence of another level (e.g., Goal Entity), the model creates a fused representation. This ensures that when the system decides on a broad goal like "Music Recommendation," the representation of potential entities is filtered and weighted by that specific intent, and vice versa.

2. Optimization Space: Bi-level Weight Learning

Jointly training multiple tasks (Type, Entity, and Attribute prediction) often leads to suboptimal results if the losses are simply summed. DHL introduces a bi-level optimization strategy to adaptively reweight these tasks.

In this approach, an "inner loop" updates the primary model parameters, while an "outer loop" updates a weighting network based on the performance of a meta-task. This prevents the model from converging on "trivial solutions" where certain task weights collapse to zero, ensuring that the most informative hierarchical levels drive the learning process at each stage of the conversation.

3. Soft Labeling Strategy

To bridge the gap between intermediate conversation steps and the final recommendation target, DHL employs a Soft Labeling strategy. Instead of using standard one-hot labels, the model injects a small, increasing probability mass toward the final recommendation goal throughout the dialogue. This "nudge" provides gradual guidance, teaching the model to steer the conversation proactively without making jarring or non-sequitur leaps in logic.

Experimental Evaluation

Datasets

The authors evaluated DHL on two prominent benchmarks:

  • DuRecDial: A complex dataset with approximately 10.2k dialogues involving 22 goal types, 1,355 entities, and over 20,000 attributes.
  • TG-ReDial: A dataset containing 10.0k dialogues focused on topic-guided transitions across 6 types and 100 entities.

Key Results

DHL consistently outperformed state-of-the-art baselines, including CNN-based and Graph-based models.

  • Accuracy & F1: On the DuRecDial dataset, DHL achieved an accuracy of 83.51%, surpassing the best-performing baseline (81.85%).
  • Precision Gains: Significant improvements were noted in precision on the TG-ReDial dataset, where DHL reached 46.32%, nearly doubling the performance of several baseline models.
  • Leading Success (LS): The model demonstrated a superior ability to reach the final recommendation goal, validating the effectiveness of the soft labeling and hierarchical weighting strategies.

Discussion and Limitations

While DHL provides a robust framework for hierarchical goal planning, it introduces a slight computational overhead. Inference times are marginally slower than simpler LSTM or CNN architectures due to the cross-attention mechanism, though the authors note this remains within acceptable limits for real-time interaction (approximately 1-4 seconds for a full test set).

Furthermore, the current framework relies on a fixed hierarchy (Type → Entity → Attribute). Future research may explore dynamic hierarchies that can be induced automatically from raw text, as well as methods to scale the adjacency matrices required for systems involving millions of potential entities.

Conclusion

Dual-space Hierarchical Learning represents a significant step forward in making conversational agents more proactive and natural. By aligning different granularities of dialog goals in both representation and optimization, DHL ensures that every step of a conversation is strategically oriented toward a successful recommendation.

Summary updated

BibTeX
@article{chen2024dual,
  author = {Can Chen and Hao Liu and Zeming Liu and Xue Liu and Dejing Dou},
  title = {{Dual-space Hierarchical Learning for Goal-guided Conversational Recommendation}},
  journal = {Neurocomputing},
  year = {2024},
  doi = {10.1016/j.neucom.2023.127219},
}
Figure