English

Rankformer: A Graph Transformer for Recommendation based on Ranking Objective

Information Retrieval 2025-03-24 v1

Abstract

Recommender Systems (RS) aim to generate personalized ranked lists for each user and are evaluated using ranking metrics. Although personalized ranking is a fundamental aspect of RS, this critical property is often overlooked in the design of model architectures. To address this issue, we propose Rankformer, a ranking-inspired recommendation model. The architecture of Rankformer is inspired by the gradient of the ranking objective, embodying a unique (graph) transformer architecture -- it leverages global information from all users and items to produce more informative representations and employs specific attention weights to guide the evolution of embeddings towards improved ranking performance. We further develop an acceleration algorithm for Rankformer, reducing its complexity to a linear level with respect to the number of positive instances. Extensive experimental results demonstrate that Rankformer outperforms state-of-the-art methods. The code is available at https://github.com/StupidThree/Rankformer.

Keywords

Cite

@article{arxiv.2503.16927,
  title  = {Rankformer: A Graph Transformer for Recommendation based on Ranking Objective},
  author = {Sirui Chen and Shen Han and Jiawei Chen and Binbin Hu and Sheng Zhou and Gang Wang and Yan Feng and Chun Chen and Can Wang},
  journal= {arXiv preprint arXiv:2503.16927},
  year   = {2025}
}

Comments

Accepted by WWW2025

R2 v1 2026-06-28T22:29:24.438Z