[Paper Review] Causal Inference for Knowledge Graph based Recommendation
This paper proposes HS-GCN, a novel graph convolutional network that models both first-order and high-order Hamming similarities in the Hamming space for efficient knowledge graph-based recommendation. By performing graph convolutions directly on binary hash codes through hash code aggregation and encoding, HS-GCN achieves state-of-the-art performance comparable to real-valued models on three benchmark datasets.
Knowledge Graph (KG), as a side-information, tends to be utilized to supplement the collaborative filtering (CF) based recommendation model. By mapping items with the entities in KGs, prior studies mostly extract the knowledge information from the KGs and inject it into the representations of users and items. Despite their remarkable performance, they fail to model the user preference on attributes in the KG, since they ignore that (1) the structure information of KG may hinder the user preference learning, and (2) the user's interacted attributes will result in the bias issue on the similarity scores. With the help of causality tools, we construct the causal-effect relation between the variables in KG-based recommendation and identify the reasons causing the mentioned challenges. Accordingly, we develop a new framework, termed Knowledge Graph-based Causal Recommendation (KGCR), which implements the deconfounded user preference learning and adopts counterfactual inference to eliminate bias in the similarity scoring. Ultimately, we evaluate our proposed model on three datasets, including Amazon-book, LastFM, and Yelp2018 datasets. By conducting extensive experiments on the datasets, we demonstrate that KGCR outperforms several state-of-the-art baselines, such as KGNN-LS, KGAT and KGIN.
Motivation & Objective
- To address the suboptimal representation capacity of existing hashing-based recommender systems that only model first-order Hamming similarities.
- To explicitly capture high-order Hamming similarities—derived from indirect user-item relationships—through a user-item bipartite graph structure.
- To develop a graph convolutional network that operates directly in the Hamming space, avoiding information loss from Euclidean-to-binary transformation.
- To achieve efficient, scalable recommendation with performance competitive with real-valued models.
Proposed method
- The method constructs a user-item bipartite graph from historical interactions to represent both first-order and high-order similarities.
- It introduces a novel graph convolution operation in the Hamming space, composed of two components: hash code aggregation and hash code encoding.
- Hash code aggregation computes bit-wise signs (majority vote) of neighboring nodes’ codes to summarize local Hamming similarity.
- Hash code encoding refines each node’s hash code by flipping bits that align with the dominant signs of its neighbors, injecting Hamming similarity into the code.
- The model stacks multiple propagation layers to iteratively refine hash codes, enabling end-to-end optimization.
- User-item interactions are predicted via a final scoring layer based on the learned Hamming-space representations.
Experimental results
Research questions
- RQ1Can modeling high-order Hamming similarities in the Hamming space improve the representation capacity of hash codes in recommendation?
- RQ2How can graph convolutional operations be effectively performed directly on binary hash codes without relying on real-valued embeddings?
- RQ3Does explicitly capturing indirect user-item relationships through high-order similarities lead to better recommendation performance than first-order-only methods?
- RQ4Can a Hamming-space GCN achieve performance comparable to real-valued recommendation models like PinSage and GraphSAGE?
Key findings
- HS-GCN significantly outperforms several state-of-the-art hashing-based recommendation models on three public benchmark datasets.
- The proposed model achieves recommendation performance comparable to real-valued models such as PinSage and GraphSAGE, despite using binary hash codes.
- The ablation study confirms that modeling high-order Hamming similarities contributes substantially to performance gains over first-order-only methods.
- The end-to-end training of HS-GCN with Hamming-space graph convolutions enables efficient, scalable recommendation with constant-time search potential.
- The model’s performance is robust across different datasets, demonstrating generalization capability in large-scale recommendation scenarios.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.