Papers
Topics
Authors
Recent
Search
2000 character limit reached

Disentangled HAN: GNN Recommender for HIN

Updated 14 May 2026
  • The paper introduces a novel graph neural recommendation method that explicitly disentangles node representations into semantically independent aspect subspaces.
  • It employs an EM-style propagation layer and attention mechanisms to aggregate intra- and inter-relation signals, isolating diverse collaborative factors like popularity and social influence.
  • Empirical results on datasets such as Yelp, Amazon-Electronics, and MovieLens-HetRec demonstrate significant improvements in precision, recall, and interpretability over conventional methods.

Disentangled HAN (DisenHAN) is a graph neural recommendation architecture for heterogeneous information networks (HINs) that explicitly disentangles node representations into semantically independent aspect subspaces, learning aspect-wise propagation weights for each meta-relation. Compared to conventional heterogeneous graph neural networks, DisenHAN enables both higher accuracy and greater interpretability by identifying the main aspect to which each meta-relation contributes in the user/item embedding, thus isolating collaborative signals specific to popularity, category-preference, brand-loyalty, social influence, and related latent factors (Wang et al., 2021).

1. Problem Formulation and Notation

DisenHAN operates on an HIN represented as G=(V,E)\mathcal{G} = (\mathcal{V}, \mathcal{E}), where V\mathcal{V} is a set of nodes and E\mathcal{E} is a set of edges. Each node vVv \in \mathcal{V} is assigned a type via ϕ:VA\phi: \mathcal{V} \to \mathcal{A} (A\mathcal{A} is the set of node types, e.g., User, Item, Brand, Category), and each edge eEe \in \mathcal{E} is assigned a meta-relation via ψ:ER\psi: \mathcal{E} \to \mathcal{R} (R\mathcal{R} is the set of edge types, e.g., interacts, belongs_to, friend_of).

The main entities of interest are sets of users U={u1,,uM}V\mathcal{U} = \{u_1, \ldots, u_M\} \subset \mathcal{V} and items V\mathcal{V}0; the observed user-item implicit feedback is denoted V\mathcal{V}1. The central goal is to learn a scoring function

V\mathcal{V}2

that ranks items V\mathcal{V}3 for each user V\mathcal{V}4 using disentangled (aspect-wise) representations.

2. Disentangled Embedding Representation

Each node V\mathcal{V}5 embeds into V\mathcal{V}6 latent “channels” (aspects), separating sources of collaborative signal into independent subspaces. Given node features V\mathcal{V}7, the projection for channel V\mathcal{V}8 at layer V\mathcal{V}9 is

E\mathcal{E}0

where E\mathcal{E}1 is type- and channel-specific, and E\mathcal{E}2 is an activation (e.g., ReLU). This normalization confines each channel’s embedding to a unit hypersphere, supporting intra- and inter-node compatibility learning.

Disentangling these embeddings is critical for robustness and for interpretability, as it isolates how much each meta-relation contributes to particular aspects (e.g., distinguishing social and category influences).

3. Meta-Relation Decomposition

DisenHAN leverages meta-relations at the edge level, not extended meta-paths. Each edge E\mathcal{E}3 is labeled as E\mathcal{E}4. For target node E\mathcal{E}5, the set E\mathcal{E}6 contains all E\mathcal{E}7 such that E\mathcal{E}8 is of meta-relation E\mathcal{E}9.

Rather than building an explicit adjacency tensor vVv \in \mathcal{V}0, DisenHAN handles edges grouped by relation type. This design supports multi-layer composition of meta-relational evidence, enabling automatic construction of higher-order semantic signals through propagation, avoiding hand-crafted meta-path enumeration.

4. Disentangled Embedding Propagation Layer

Each layer propagates aspect-specific signals in two phases: intra-relation (within one meta-relation) and inter-relation (across meta-relations), using learnable attention and an EM-style clustering approach for aspect assignment.

Intra-Relation Aggregation

Attention weights are computed for channel vVv \in \mathcal{V}1 from vVv \in \mathcal{V}2 to neighbor vVv \in \mathcal{V}3, per meta-relation vVv \in \mathcal{V}4: vVv \in \mathcal{V}5 where vVv \in \mathcal{V}6 is a relation-specific vector, and vVv \in \mathcal{V}7 denotes concatenation.

A prior aspect weight vVv \in \mathcal{V}8 modulates the aggregation: vVv \in \mathcal{V}9 Softmax normalization yields attention ϕ:VA\phi: \mathcal{V} \to \mathcal{A}0, and neighbor feature aggregation per channel is

ϕ:VA\phi: \mathcal{V} \to \mathcal{A}1

Inter-Relation Aggregation

Relation-channel scores are computed per channel ϕ:VA\phi: \mathcal{V} \to \mathcal{A}2: ϕ:VA\phi: \mathcal{V} \to \mathcal{A}3 Aspect-assignments are normalized: ϕ:VA\phi: \mathcal{V} \to \mathcal{A}4 The updated channel embedding (with self-loop) is

ϕ:VA\phi: \mathcal{V} \to \mathcal{A}5

This EM-style process aligns each meta-relation with a dominant aspect assignment, promoting stable, semantically meaningful clustering of relational signal into the disentangled channels.

5. Multi-Layer Architecture and Aspect-wise Collaborative Filtering

By stacking ϕ:VA\phi: \mathcal{V} \to \mathcal{A}6 such disentangled propagation layers, each node’s channels ϕ:VA\phi: \mathcal{V} \to \mathcal{A}7 can integrate ϕ:VA\phi: \mathcal{V} \to \mathcal{A}8-hop information with increasing semantic abstraction (often decreasing channel count by layer: ϕ:VA\phi: \mathcal{V} \to \mathcal{A}9).

The final user-item (aspect-wise) matching is

A\mathcal{A}0

Each aspect channel thereby contributes additively to the total affinity score, enforcing explicit aspect attribution in the recommendation.

6. Training Objective

For top-A\mathcal{A}1 recommendation, DisenHAN uses binary cross-entropy loss with negative sampling. Probabilities are computed as A\mathcal{A}2. The training loss is

A\mathcal{A}3

where A\mathcal{A}4 is the set of observed positives, A\mathcal{A}5 are sampled negatives, and A\mathcal{A}6 regularizes all parameters A\mathcal{A}7. Mini-batch Adam is used for optimization.

7. Empirical Results and Interpretability

DisenHAN was benchmarked on Yelp, Amazon-Electronics, and MovieLens-HetRec datasets, compared to classical CF (BPR-MF, NeuMF), HIN models with fixed meta-paths (FMGA\mathcal{A}8, MCRec, NeuACF), and GNNs without disentanglement (GC-MC, NGCF) or with fixed meta-paths (HAN) (Wang et al., 2021). DisenHAN achieved the highest Prec@10, Recall@10, and NDCG@10 on all datasets, exceeding the best prior methods by A\mathcal{A}9–eEe \in \mathcal{E}0 in relative improvement.

Its advantage is most pronounced in sparse regimes (cold-start conditions with eEe \in \mathcal{E}1–eEe \in \mathcal{E}2 observed interactions), validating that aspect-wise disentanglement of propagation delivers more robust collaborative signals. Ablation studies reveal that failing to disentangle (eEe \in \mathcal{E}3) significantly degrades performance, and an aspect count eEe \in \mathcal{E}4 is optimal; excessive channels lead to overfitting. Only a small number (eEe \in \mathcal{E}5) of EM iterations per layer are necessary, with two propagation layers (eEe \in \mathcal{E}6) typically optimal.

Aspect assignment weights eEe \in \mathcal{E}7 provide direct interpretability: for example, in Amazon-Electronics, user-item relations cluster under one aspect

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Disentangled HAN (DisenHAN).