Skip to content
ZINUX1998Public

About

This repo is the official implementation for the paper "Dual-Perspective Disentangled Multi-Intent Alignment for Enhanced Collaborative Filtering"

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

184 Commits

Folders and files

Repository files navigation

🌌 DMICF

Dual-Perspective Interaction Modeling for Collaborative Filtering

Official PyTorch implementation of the paper:
Dual-Perspective Interaction Modeling for Collaborative Filtering


✨ Overview

DMICF is a collaborative filtering framework that models user--item interactions through:

  • πŸ”· Dual-perspective structural encoding
  • 🧠 Prototype-aware variational multi-intent modeling
  • 🎯 Interaction-driven semantic alignment
  • ⚑ Late fusion interaction prediction

Unlike conventional unified-space recommenders, DMICF explicitly preserves complementary user-centric and item-centric semantics prior to fusion, enabling more expressive and disentangled interaction modeling.


πŸš€ Key Features

πŸ” Reproducibility-Oriented Release

For every dataset used in our experiments, we provide:

  • βœ… Trained checkpoints for every training epoch
  • βœ… Complete evaluation scripts
  • βœ… Reproducible training configurations
  • βœ… Full experimental settings

This facilitates:

  • detailed training dynamics analysis,
  • result verification,
  • fair comparison and reproducibility.

🧩 Intent Disentanglement Analysis Toolkit

We additionally release:

  • πŸ“Œ Complete implementation of user interaction group partitioning
  • πŸ“Š Quantitative disentanglement evaluation tools
  • 🎨 Qualitative intent visualization utilities
  • πŸ” Semantic alignment analysis scripts

These tools support comprehensive analysis of learned latent intents and interaction semantics.


⚑ Efficient High-Order Graph Construction

DMICF constructs high-order user--user and item--item homogeneous graphs following the strategy adopted in IPCCF.

To improve scalability on large-scale datasets, we further provide a GPU-accelerated graph construction implementation:

ml10m/uu_graph.py

which significantly improves preprocessing efficiency compared to the original implementation.


πŸ–₯️ Environment

All experiments are conducted on:

  • Ubuntu Server
  • NVIDIA RTX 4090D GPU

The complete dependency configuration is provided in:

environment.yml

Main dependencies include:

torch==2.1.0
numpy==1.22.3
scipy==1.9.3
pandas==1.5.0
scikit-learn==1.1.2

πŸ“‚ Datasets

We directly adopt the three representative recommendation datasets released by LightGCL, covering diverse interaction distributions and sparsity characteristics.


βš™οΈ Quick Start

πŸ”§ Training

python train.py

πŸ“ˆ Evaluation

python eval_results.py

πŸ“ Notes

  • DMICF uses a unified experimental configuration across all datasets.
  • Only minimal dataset-specific modifications are required during evaluation.
  • All reported experimental results are averaged over five independent runs.

πŸ“– Citation

If you find this repository useful for your research, please consider citing our paper:

@article{DMICF,
  title={Dual-Perspective Interaction Modeling for Collaborative Filtering},
  author={Anonymous Authors},
  journal={Under Review},
  year={2026}
}

πŸ™ Acknowledgement

Part of the high-order graph construction pipeline is inspired by the implementation of IPCCF. We thank the authors for making their code publicly available.


⭐ If you find this project useful, please consider giving it a star! ⭐

About

This repo is the official implementation for the paper "Dual-Perspective Disentangled Multi-Intent Alignment for Enhanced Collaborative Filtering"

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages