Skip to content

FuCongResearchSquad/ManCAR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ManCAR

This repository provides a PyTorch reference implementation of the main models and training procedures described in our KDD'26 paper:

Kun Yang, Yuxuan Zhu, Yazhe Chen, Siyao Zheng, Bangyang Hong, Kangle Wu, Yabo Ni, Anxiang Zeng, Cong Fu, Hui Li. ManCAR: Manifold-Constrained Latent Reasoning with Adaptive Test-Time Computation for Sequential Recommendation. KDD 2026.

Overview

image

we propose ManCAR, a principled framework that grounds reasoning within the topology of a global interaction graph. ManCAR constructs a local intent prior from the collaborative neighborhood of a user's recent actions, represented as a distribution over the item simplex. During training, the model progressively aligns its latent predictive distribution with this prior, forcing the reasoning trajectory to remain within the valid manifold. At test time, reasoning proceeds adaptively until the predictive distribution stabilizes, avoiding over-refinement.

image

Paper & Resources

Dataset process

you can download CDs dataset from Hugging Face

After downloading the dataset, you need put the dataset into dataset/processed/.

or use the following commands to process your datasets

  1. Download the dataset from Amazon

  2. python ./datasets/process_data.py

  3. python ./datasets/item_csv.py

After processed, you need to put the processed dataset into dataset/processed/.

image

Requirements

torch==2.4.1

numpy

tqdm

Training

To run ManCAR, use the following command:

  1. cd ManCAR
  2. bash run.sh

Results

image

Acknowledgements

We greatly appreciate the official ReaRec repository. Our code is based on the ReaRec repository.

Citation

If you find this work useful, please cite our paper:

@inproceedings{mancar2026,
  title={ManCAR: Manifold-Constrained Latent Reasoning with Adaptive Test-Time Computation for Sequential Recommendation},
  author={Kun Yang and Yuxuan Zhu and Yazhe Chen and Siyao Zheng and Bangyang Hong and Kangle Wu and Yabo Ni and Anxiang Zeng and Cong Fu and Hui Li},
  booktitle={KDD},
  year={2026}
}

About

Official implementation of the KDD'26 paper "ManCAR: Manifold-Constrained Latent Reasoning with Adaptive Test-Time Computation for Sequential Recommendation"

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors