Attention-guided Multi-step Fusion: A Hierarchical Fusion Network for Multimodal Recommendation

Yan Zhou, Jie Guo, Hao Sun, Bin Song, Fei Richard YuSIGIR 2023

Introduction

Modern recommender systems (RS) have transitioned from basic collaborative filtering—which relies solely on user-item interaction history—to Multimodal Recommender Systems (MRSs). These advanced systems leverage auxiliary data, such as product images and textual descriptions, to better understand user preferences. However, existing MRS approaches often struggle with two critical challenges: the semantic gap and static modality importance.

The semantic gap refers to the difficulty in aligning visual and textual features, which are often treated as independent side information rather than interconnected representations of the same item. Furthermore, traditional models typically assign a global, static weight to different modalities. In practice, a user's decision-making process is dynamic; for instance, a consumer might prioritize the visual aesthetics of a clothing item but focus on the technical specifications (text) of a camera. To address these limitations, we present TMFUN (aTtention-guided Multi-step FUsion Network), a hierarchical framework designed to mine deep semantic relationships through dynamic attention and contrastive learning.

The TMFUN Framework

TMFUN introduces a multi-step pipeline that moves beyond simple feature concatenation, focusing instead on capturing latent structures and aligning disparate data types.

1. Modality-Aware Graph Construction

Rather than relying on raw feature vectors, TMFUN constructs modality-specific feature graphs. By treating items as nodes and establishing edges based on visual or textual similarity (using K-Nearest Neighbors), the model captures latent relationships. This allows the system to propagate information between items that share similar characteristics even if they lack shared user interactions, which is particularly effective for mitigating the "cold-start" problem.

2. Modality-Aware Attention Mechanism

At the heart of TMFUN is a dynamic attention module that serves as the system's decision-making core. This mechanism calculates the relative importance of various inputs—including ID embeddings, visual features, textual features, and graph-based representations—for every specific user-item interaction. By asking "how much should we trust the image versus the text for this specific context?", the model achieves a more nuanced understanding of user intent.

3. Multi-step Fusion and Contrastive Learning

The fusion process is executed in three distinct stages:

  • Step 1 (Graph Fusion): Visual and textual graphs are integrated into a unified item-item feature graph.
  • Step 2 (Inter-modal Contrastive Fusion): The model employs contrastive learning to align visual and textual embeddings. By forcing the model to map a product's image and its description into a similar latent space, TMFUN bridges the semantic gap, ensuring the model recognizes that different modalities represent the same underlying concept.
  • Step 3 (Global Fusion): These refined multimodal features are integrated with traditional Collaborative Filtering (CF) features, utilizing LightGCN as the underlying backbone.

Experimental Evaluation

The performance of TMFUN was evaluated using three subsets of the Amazon review dataset: Baby, Sports and Outdoors, and Clothing, Shoes, and Jewelry. These datasets provide a rigorous benchmark due to their rich multimodal content and extensive interaction histories.

Key Results

TMFUN consistently outperformed state-of-the-art models, including HCGCN, MICRO, and LATTICE, across all primary metrics. Notable improvements in Recall@20 include:

  • 11.93% improvement on the Baby dataset.
  • 7.75% improvement on the Sports dataset.
  • 18.77% improvement on the Clothing dataset.

Ablation studies confirmed that the attention module and the multi-step fusion strategy are the primary drivers of this performance. Removing either component resulted in a significant degradation of recommendation accuracy, validating the hierarchical design.

Discussion and Future Work

TMFUN demonstrates that moving from static feature vectors to dynamic, attention-guided graphs allows for a more "human-like" reasoning process in AI. The use of contrastive learning to bridge the semantic gap provides a robust foundation for multimodal representation.

Despite its success, several avenues for future research remain. Currently, TMFUN is optimized for text and images; extending the framework to incorporate video and audio data could further enhance its utility. Additionally, while the K-NN graph construction is effective, scaling this to datasets with millions of items requires exploring more computationally efficient graph-building techniques. Finally, incorporating temporal dynamics to account for evolving user preferences over time represents a promising direction for future iterations of the TMFUN architecture.

Summary updated

BibTeX
@inproceedings{zhou2023attention,
  author = {Yan Zhou and Jie Guo and Hao Sun and Bin Song and Fei Richard Yu},
  title = {{Attention-guided Multi-step Fusion: A Hierarchical Fusion Network for Multimodal Recommendation}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2023},
}
Figure