arXiv:2610.24200cs.IROct 2026

Manuscript Offprint

arXiv:2610.24200

Candidate-dependent residual routing trades top-of-list accuracy for recall in sequential recommendation

Han Chen, Yingrui Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Candidate-dependent routing lets a sequential recommender weight a user's past behaviors differently for each item it scores. We test whether this flexibility helps by adding a small residual routing module to a self-attentive baseline, in two versions that differ only in what sets the routing weights: the user's history representation or the candidate item's embedding. Across five paired seeds on the REES46 cosmetics-shop dataset, with matched training for all three models, candidate-dependent routing leaves the primary metric, normalized discounted cumulative gain at cutoff ten (NDCG@10), essentially unchanged (mean relative change +0.003%). Secondary and exploratory analyses show that this flat average hides two effects that cancel. The candidate-dependent model places more relevant items in its top ten (recall +1.81%) but ranks the first one lower (mean reciprocal rank -1.09%), and most of its new hits land at positions six to ten. Its gains come from queries with at least one target among the user's last 50 events, while queries whose targets all lie outside that window get worse. In this form, candidate-dependent routing trades accuracy at the top of the list for recall further down.

1 Introduction

A shopper’s history mixes several kinds of evidence. On a cosmetics site, the same lipstick can be viewed, added to a cart, bought or removed from the cart, and each action says something different about what the shopper will want next. A sequential recommender has to turn that history into a score for every candidate item. One design choice is whether to summarize the history once per user or to let each candidate decide which parts of the history matter for it.

Letting the candidate decide is appealing, because evidence that helps score one item may say little about another. Deep Interest Network weights past behaviors by their relevance to the candidate (Zhou et al., 2018), and the Multi-Interest Network with Dynamic Routing (MIND) represents each user with several interest vectors (Li et al., 2019). But a self-attentive encoder already selects information from the history (Kang and McAuley, 2018). An extra candidate-dependent weighting step might duplicate what the encoder has learned, or reshuffle the ranking without improving the metric used to judge it.

We test this with a small residual routing module added to a baseline modeled on the Self-Attentive Sequential Recommendation model (SASRec). The module averages the item embeddings in each behavior stream (views; cart additions and purchases; cart removals), weights the streams with attention and adds the result to the baseline's score. The vector that sets the weights, which we call the routing vector, comes either from the user’s history representation (user-dependent routing) or from the candidate’s embedding (candidate-dependent routing). The two versions have the same number of parameters, so comparing them isolates the effect of letting the candidate choose, and comparing each with the baseline shows what routing adds at all.

On REES46, with five paired seeds and full-catalog evaluation, candidate-dependent routing barely changes our primary metric, normalized discounted cumulative gain at cutoff ten (NDCG@10): the average change is +0.003%, and the one-sided 95% upper bound of +0.49% lies below the 1% margin we set in advance. The average is flat because two effects, each consistent across seeds, cancel. The candidate-dependent model places more relevant items in its top ten but, on average, ranks the first one lower, so gains at ranks two to ten offset a loss at rank one. The gains also depend on the query: they come from queries with at least one target already in the user's recent history, while queries whose targets are all new to that history get worse. Candidate-dependent routing therefore changes what the model recommends, but not in a way that average NDCG@10 rewards.

We also revisit earlier Transformer models that apply candidate-dependent routing inside their attention blocks, on REES46, RetailRocket and KuaiSAR. These models use a different mechanism and were selected under different procedures, so we report them separately, as context for the main experiment rather than a second test of it.

References (18)