arXiv:2610.34192cs.IROct 2026

Manuscript Offprint

arXiv:2610.34192

MIDA: Multi-Interest Decoding with Adaptive Aggregation for Session-based Recommendation

Linjiang Guo, Nitin Bisht, Shiqing Wu, Guandong Xu

Linjiang Guo, Nitin Bisht, Shiqing Wu, and Guandong Xu

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

This is the author-accepted manuscript of an article published in IEEE Transactions on Knowledge and Data Engineering (TKDE).

The final published version is available at IEEE Xplore.

DOI: 10.1109/TKDE.2026.3740693.

Abstract—Session-based recommendation (SBR) infers user interest from limited interaction sequences, yet current models show a consistent performance drop when longer histories are available. This degradation is associated with decoder designs that overemphasize recent items while underutilizing distant, yet semantically relevant, interactions, leading to poor modeling of long-range dependencies and multi-interest behaviors. To address this challenge, we introduce MIDA (Multi-Interest Decoding with Adaptive Aggregation for Session-based Recommendation), a lightweight and encoder-agnostic framework that provides a reformulation of the decoding stage. The central design principle is a two-space decoupling: clustering operates on raw item embeddings so that semantic groupings are not distorted by encoder-learned relational biases; encoder outputs are reserved for aggregation, where sequential context remains intact. Concretely, MIDA (i) employs differentiable multi-interest clustering on raw embeddings, preserving semantic structure that encoder representations would otherwise obscure, and (ii) fuses stability and plasticity branches through a gate conditioned on average cluster size, so that the inferred clustering structure directly governs aggregation behavior through a structural coupling across the two stages. Extensive experiments on multiple benchmark datasets demonstrate that MIDA consistently outperforms state-of-the-art methods, with meaningful accuracy improvements while remaining computationally practical.

Index Terms—Session-Based Recommendations, Dynamic Aggregation, Multi-Interest, Session Representation

I. INTRODUCTION

Recommendation systems (RS) [1]-[3] have become ubiquitous in modern online platforms, delivering personalized and timely content by learning from user behavior. In practice, persistent user profiles are often unavailable, or only interactions within limited time windows can be observed. Session-based Recommendation (SBR) [4]-[6] provides an effective solution: it infers user interest from the sequence of

Figure

Fig. 1: Analysis of decoder limitations in existing session-based RS. Top: MRR@5 as a function of session length across state-of-the-art models, with longer sessions yielding lower accuracy despite containing richer information. Bottom: Attention weight distribution (red dashed) versus ground-truth item cosine similarity to the target (blue solid) in a length-10 session, providing evidence for a strong recency bias. Results are generated on the Diginetica dataset using an SR-GNN backbone; attention weights correspond to the single-layer decoder attention.

interactions in a single session and predicts the next item of interest, with particular relevance to e-commerce, news, and video streaming, where users browse anonymously or interact through temporary identifiers.

Recently, SBR has been advanced through graph-based [7], [8] and transformer-based architectures [9] that adopt an encoder-decoder framework, enabling more effective modeling of complex item dependencies. Prior research concentrates heavily on the encoder mechanism to capture both local and global relationships among items [10]–[12]. Related multi-intent methods further enhance session representations by constructing or selecting multiple intent representations within model-specific architectures [13]–[16]. The decoder mechanism, which ultimately determines how encoded information is transformed into user preference representations, has received comparatively little attention.

Some recent research utilizes pooling-based methods [13], [17], which compress all items into a fixed-length embedding. While simple and efficient, this approach inevitably discards sequential and item-level distinctions, becoming particularly harmful in long sessions where diverse user interests emerge. As a result, pooling-based decoders struggle to preserve the temporal information necessary for accurate next-item prediction. Another line of work focuses on point-wise approaches [12], which rely on attention or gating anchored on the last item to balance short-term and long-term intents. However, this design overweights recent interactions while underutilising earlier but semantically relevant ones, ultimately failing to capture the multi-interest nature of long sessions.

Linjiang Guo and Nitin Bisht contribute equally to this work.

L. Guo and N. Bisht are with the University of Technology Sydney, Sydney, Australia. E-mail: {linjiang.guo, nitin.bisht}@student.uts.edu.au.

S. Wu is with the City University of Macau, Macau SAR. E-mail: sqwu@cityu.edu.mo.

G. Xu is with the Education University of Hong Kong, Hong Kong SAR. E-mail: gdxu@eduhk.hk.

S. Wu and G. Xu are corresponding authors.

These limitations raise an important concern: do existing decoders truly exploit the richer historical context available in long sessions? To investigate, we conduct an empirical analysis on representative models, as shown in Fig. 1. Pointwise approaches assign disproportionate weight to the last few items while ignoring earlier ones; pooling-based approaches blur temporal signals across the sequence. Both weaknesses manifest in a consistent empirical pattern: when sessions are grouped by length, longer sessions produce lower accuracy across state-of-the-art models, despite containing richer historical information. Notably, this degradation is observed across architecturally distinct model families (GRU-based, graph-based, and Transformer-based) that differ in every encoder design dimension yet share the same decoder paradigm. This cross-architecture consistency cannot be attributed to any specific encoder design; rather, it implicates the shared decoder mechanism as the primary source of underperformance on longer sessions. To isolate the decoder's contribution, we adopt a controlled evaluation protocol (Section V): we hold each encoder fixed and vary only the decoder component across all baselines, enabling a direct assessment of decoder-side impact while factoring out encoder differences. The central research question is therefore: How can we design a lightweight, encoder-agnostic decoder that effectively exploits diverse historical contexts to model user interests?

To answer this, we introduce MIDA (Multi-Interest Decoding with Adaptive Aggregation for Session-based Recommendation) 1^{1}, a lightweight and encoder-agnostic framework that provides a reformulation of the decoding stage to tackle the above limitations by modeling both persistent and evolving aspects of user intent. The two empirical failure modes of existing decoders (pooling methods that conflate semantically distinct items and point-wise methods that discard all but the most recent interactions) translate into two concrete design challenges: (a) How can we capture diverse persistent interests that are semantically related but temporally distant? (b) How can we balance stability (persistent intent) with plasticity (evolving intent) in user behavior?

To address these challenges, MIDA employs dynamic multi-interest clustering, which groups semantically related items via differentiable similarity thresholds, thereby preserving long-range dependencies and capturing diverse user preferences that pooling-based methods collapse. It also introduces adaptive aggregation, which disentangles user intent into stability and plasticity and fuses them through a gating mechanism conditioned on both branch representations and semantic cohesion signals (i.e. average cluster size), enabling fine-grained adaptation to consistent and evolving behavioral signals. Together, these components yield a decoder that efficiently utilizes history information, retains temporal structure, and models the multi-interest nature of complex sessions. The framework is illustrated in Fig. 2.

The contributions of this work are as follows.

  1. We identify the decoder bottleneck in SBR, namely the systematic tendency of existing decoders to underutilize long-range historical context, and provide a lightweight, encoder-agnostic reformulation of the decoding stage that directly addresses this limitation.

  2. A differentiable clustering mechanism with regularisation is proposed for dynamic interest extraction, together with a stability–plasticity aggregation scheme that disentangles persistent and evolving user intents, emphasizing the decoder-side perspective.

  3. The framework incorporates a two-stage decoder design in which semantic similarity computation is decoupled from relational representation: Dynamic Multi-Interest Clustering operates on raw embeddings to identify similar items across temporal distances, while Adaptive Aggregation uses encoder outputs to construct attention-based session representations that capture sequential dependencies. The decoder is encoder-agnostic: it replaces only the final aggregation step of any backbone without modifying encoder parameters.

  4. Comprehensive experiments on multiple benchmark datasets show that MIDA outperforms strong baselines across diverse encoder architectures.

References (49)