WorksComputer Science
Compote: Collapse-Resistant Multiple Hypothesis Learning For Sequential Recommendation
Abstract
Next-item prediction is inherently ambiguous: a single interaction history often admits multiple plausible continuations across distinct catalogue regions. Standard sequential recommenders compress these alternatives into a single prediction, conflating user intents. We introduce COllapse-resistant Multiple hyPOThesis lEarning (COMPOTE), a multi-hypothesis transformer trained with an annealed objective that transitions from uniform supervision to a winner-takes-all assignment. This mechanism forces hypotheses to specialize into distinct catalogue regions, while inference relies on an efficient, normalizer-free max-similarity rule. Theoretically, we show that in the population case, the optimal solutions partition the conditional next-item distribution according to a max-entropy quantization principle, while pooled scores preserve the Bayes-optimal ranking. We also prove a generalization bound scaling logarithmically with the number of hypotheses. Across three Amazon Reviews 2023 benchmarks, COMPOTE outperforms strong ID-based, generative, and multi-interest baselines using item IDs alone. Matched-capacity ablations confirm that performance gains stem directly from the annealed objective, preventing the head collapse observed in conventional multi-head architectures, rather than added capacity, ensembling, or routing.
Introduction
Recommender systems filter vast product catalogues where their ranking dictates item visibility, directly driving discovery, engagement, and revenue [5]. As an example, Sequential recommendation predicts the next item from ordered interactions, closely mirroring real-world deployment where user preferences evolve and recent user’s interaction history is most informative (Rendle et al., 2010). There exists essentially two paradigms for sequential recommendation, both of which learn a single conditional model of the next item. The first family encodes the history with an autoregressive sequence model and scores items against a learned embedding table, moving from recurrent [7] and convolutional (Tang and Wang, 2018) encoders to causal self-attention [9], backbone of later variants (Sun et al., 2019; Zhou et al., 2020; Zhai et al., 2024). The second family treats retrieval as generation (Tay et al., 2022): TIGER (Rajput et al., 2023) quantizes item content embeddings into semantic identifiers and decodes the next item’s identifier token by token, which helps or rare items at the cost of a content encoder, a learned tokenizer and beam search. Both families nonetheless learn a single conditional model of the next item: one query representation, one score vector, one ranked list.
Next-item prediction is ambiguous. An user’s interaction history rarely determines the next item: it points to a set of plausible continuations, often in unrelated parts of the catalogue, so the next-item distribution is multimodal and a single query vector trained with cross-entropy settles between the modes instead of matching any one. Multi-interest learning addresses this by representing each user with several vectors, extracted by dynamic routing over capsules in MIND (Li et al., 2019), by multi-head attention with a diversity–accuracy aggregation step in ComiRec [4], or by activating a few concepts from a shared pool in SINE (Tan et al., 2021). REMI (Xie et al., 2023) keeps the same architecture and instead adds interest-aware hard negatives and a regularizer against routing collapse, where all interests attend to the same historical item. These methods already rely on a form of winner-takes-all (WTA) training, but it comes with the routing architecture and WTA is rarely examined as an objective in its own right. As a result, the optimal interests are not characterized, and diversity is usually encouraged through the architecture or additional penalties.
Our approach: COMPOTE. We frame next-item prediction as an inherently ambiguous learning problem and adopt multiple-choice learning (MCL) [6, 11] (Rupprecht et al. 2017), where a model outputs candidate hypotheses, but optimizes only the best-performing head. While this winner-takes-all objective effectively quantizes the conditional next-item distribution [12], it is prone to sub-optimal local minima where heads that underperform early permanently deactivate. Annealed MCL (Perera et al., 2024) mitigates this initialization sensitivity by annealing a soft-assignment temperature during training. We adapt this formulation to discrete catalogues with COllapse-resistant Multiple hyPOThesis lEarning (COMPOTE; § 2). A shared causal transformer feeds prediction heads, each defining a distinct distribution over the catalogue, which are optimized via the objective function in Equation (3) where is the temperature parameter. At high temperatures, all heads update uniformly; as the temperature vanishes, the objective smoothly converges to pure winner-takes-all. For inference and retrieval, we introduce max-similarity, a normalizer-free counterpart to the loss’s max-pooling operator (Proposition 5), which matches max-pooling accuracy on standard benchmarks while bypassing catalogue-wide softmax operations (§ 4.1).
Contributions. Methodologically, we propose COMPOTE, extending annealed multiple-choice learning to sequential recommendation alongside an efficient, normalizer-free retrieval rule (§ 2). On the theoretical front, we first establish a generalization bound scaling logarithmically in the number of hypotheses (Theorem 4). We further characterize the optimal hypotheses in the winner-takes-all limit, showing they partition the conditional item distribution into maximum-entropy regions (Theorem 7) and that pooled hypothesis scores preserve the Bayes ranking up to saturation ties (Proposition 6), proving head specialization emerges naturally without explicit diversity regularizers. Finally, across three Amazon Reviews 2023 benchmarks, COMPOTE consistently outperforms ID-based, generative, and multi-interest sequential baselines using item IDs alone, with capacity-matched ablations attributing these gains directly to the annealed MCL objective rather than model scaling, ensembling, or expert routing (§ 4).
Problem Statement and Architecture
We consider a supervised learning setting where a query has an associated relevant item in a catalogue of items, and the goal is to learn a model mapping a query to a ranking of the items, i.e., a permutation of . Data pairs are drawn i.i.d. from an unknown underlying probability distribution over . In recommendation, queries are user histories and items are the entities being recommended (products, movies, etc.). We define as the -dimensional probability simplex over .
Datasets. We instantiate this setting on three categories from the Amazon 2023 review corpus ([8]): MUSICAL INSTRUMENTS, INDUSTRIAL AND SCIENTIFIC, and VIDEO GAMES. A query is a user’s chronologically ordered interaction history, and the target is the next reviewed item. Each category contains approximately 25,000 items and between 50,000 and 95,000 users (Table 5). Because each user contributes few observations relative to the catalog size, several next items may be plausible given the same history.
| Dataset | #Users | #Items | #Interactions | Sparsity | Avg. len |
| Instrument | 57,439 | 24,587 | 511,836 | 99.964% | 8.91 |
| Scientific | 50,985 | 25,848 | 412,947 | 99.969% | 8.10 |
| Game | 94,762 | 25,612 | 814,586 | 99.966% | 8.60 |
Table 5. Statistics of the preprocessed datasets (Zheng et al., 2025). Avg. len is the average length of the user interaction sequences.
Next-item Prediction with Multiple Hypotheses. As motivated in the introduction, the model aims at performing next-item prediction via multiple hypotheses. It can be formalized as a function that returns, for every hypothesis , a probability distribution over the catalog, where is the probability that hypothesis assigns to item being relevant to query . The exact architecture of used in COMPOTE is detailed in Figure 1. At inference, the per-encoder distributions are combined into a single score vector over the catalog, which is then sorted to output the ranking

Figure 1. Multiple-choice transformer. An item-id history is embedded, summed with a learned positional embedding, and encoded by a stack of pre-norm causal transformer blocks shared by all heads; the representation at the last (most recent) position is read off. Two modules consume : the hypothesis heads , each producing , and the confidence score head , whose -th output is the predicted probability that head is the best expert for . Each hypothesis is turned into a distribution over the catalogue by , yielding one score vector per head. Everything left of is a single shared trunk; right of it the branches are independent, which is what makes head specialisation possible.
Learning Problem
Ideally, to learn avoiding hypothesis collapse, we would like to use the winner-takes-all loss, defined for a given prediction as
Optimizing directly is usually challenging because of the discontinuity introduced, which leads many people to resort to annealing methods. Following this path, we use the following loss function defined for temperature (to be annealed towards ) as
As the following result illustrates, annealing on leads to optimizing .
Proposition 1. For any , .
Proof can be found in Section A.2. This allows to extend by continuity the definition of to and consider in the remainder for statements and proofs.
Parallel with Annealed Multiple-Choice Learning (MCL). Methods employing a winner-takes-all strategy exist in other domains, such as audio source separation, under the framework of multiple-choice learning (MCL). In fact, our loss recovers a formulation from this domain, namely annealed MCL, yet existing literature does not address how to recombine these hypotheses for inference. Our primary contribution is demonstrating, both theoretically and empirically, that – Equation (1) – is the principled choice for hypothesis aggregation in recommender systems. Formally, the annealed MCL ((Perera et al., 2024)) objective function is defined as
and the following proposition establishes the link between the two losses.
Proposition 2 (Recovering aMCL). For any and for any ,
where is the Shannon entropy of the softmax weights .
Proof can be found in Section A.3. An important detail strengthens the link: In Perera et al. (2024), during the optimization, the gradient is only backpropagated through and not through – i.e. there is a stop-gradient operator on the term. The following result shows the two learning paradigm coincide exactly in practice. Proof can be found in Section A.4.
Corollary 3 (Recovering the gradient of aMCL). For any (θ is some parameter), for any , and ,
Learning Guarantees. We have discussed the loss function we use to train the model and have established a connection with the annealed MCL loss. We now turn to the theoretical analysis of the learning guarantees associated with this loss function. While in practice, we learn by minimizing the empirical risk over a training dataset, during training, goes to 0. Thus the learning guarantees need to be provided for the limiting loss . Over a training dataset , the empirical risk is denoted where is the empirical distribution of . In order to get insights on the impact of the number of hypotheses on the learning problem, we are here interested in the generalization gap between the empirical WTA loss and the expected WTA loss and provide a bound on this gap in terms of the Rademacher complexity of the hypothesis class and the number of hypotheses . Proof is given in Section D.2.
Theorem 4 (refined log-loss generalization bound). Let be a hypothesis class of probability-generating heads . Assume there exists a constant such that for all , , and . Then, for any , with probability at least over the sample , every ensemble satisfies:
where is the expected Rademacher complexity of .
Insights from the bounds:
The generalization gap is controlled by the Rademacher complexities of the individual heads, scaled by . As the minimum predicted probability decreases, the bounds become looser, reflecting increased uncertainty in predictions. Ensuring a lower bound on predicted probabilities, via label smoothing, temperature scaling, or KL regularisation, therefore yields tighter guarantees.
Theorem 4 shows that the number of hypotheses impacts the bound only through a term, on top of the complexity of the best head. Adding more hypotheses therefore does not linearly increase the risk of overfitting, provided that the individual head complexities are controlled. Hence, one can benefit from the diversity of multiple heads without a proportional increase in generalization error.
We provide an empirical validation of this theoretical insight in § 18 in which we also discuss the practical implications of the saturation phenomenon described in Proposition 6 in § 4.
Learning Stabilization. We observe that training can be stabilized through the joint learning of the confidence score head via a binary cross-entropy loss over (see Figure 1). This finding aligns with the fact that the min operator is non-smooth and can be challenging to optimize. While beneficial, this effect is not the primary driver of the overall performance gains (see ablation study in Section G). Consequently, the formalization and technical details of this stabilization term are deferred to the appendix (see Section H).
COMPOTE leads to Optimal Ranking
This section explains why the max-pooling aggregation defined in Equation (1) is the natural choice when learning with . In fact, the max-pooling aggregation can be seen as the limit for a temperature of some aggregation (defined below), which cross-entropy is exactly .
Proposition 5 ( via ). For any and for any ,
Proof can be found in Section B.1. Notice that does not necessarily lie in , thus can be lower than the Bayes risk . Because and do not necessarily belong to the simplex, they do not recover the Bayes predictor (they are not a probability). However, for prediction that minimizes in expectation, ranks the items in the same order as the Bayes predictor, as formalized by the following statement.
Proposition 6 ( induces Bayes ranking). Let , and denote the optimal prediction
Then
Proof can be found in Section B.2. The ranking prediction associated to COMPOTE thus preserves the order of the Bayes predictor strictly, except in the single saturation case ; understanding this failure case is informative for the choice of . Intuitively, it happens when (given some ) at least two items and have large probabilities : for this , one hypothesis will be such that (see Theorem 7 for why this happens), another hypothesis will be such that . Hence, even though , then . This advocates for using values for that are not too large, which is validated experimentally in Figure 5.

Figure 5. Effect of the number of hypotheses. N@5 on SCIENTIFIC under max-similarity aggregation, as a function of . Performance improves sharply from to , then plateaus: increasing from 3 to 12 does not degrade ranking quality, in line with the sublinear dependence on in Theorem 4.
The performance of using the aggregation over the learning done via annealing of is also validated empirically in the recommendation setting on several Amazon 2023 datasets.
Preprocessing and protocol. We evaluate on the three Amazon 2023 subsets introduced in § 2. Following prior work (Rajput et al., 2023; Zhou et al., 2020; Zheng et al., 2025), we apply the benchmark 5-core filtering (Amazon Reviews’23 Benchmark, 2023), which iteratively discards users and items with fewer than five interactions, and truncate histories to 50 items at both training and test time. We adopt the leave-one-out split of Kang and McAuley [9]: the last interaction of each user is the test target, the penultimate one is used for validation and the remainder for training. We report Hit Rate (H@) and NDCG (N@) for , computed by ranking the entire catalog rather than sampled negatives; since each test instance has a single relevant item, H@ coincides with Recall@.
Baselines. We compare against seven ID-based sequential recommenders (Caser (Tang and Wang, 2018), HGN (Ma et al., 2019), GRU4Rec ([7]), BERT4Rec (Sun et al., 2019), SAS-Rec ([9]), HSTU (Zhai et al., 2024) and S3-Rec (Zhou et al., 2020)) and against the generative recommender TIGER (Rajput et al., 2023), whose numbers we take from Zheng et al. (2025). Because COMPOTE predicts several hypotheses per query, we also compare against six multi-interest recommenders that represent a user by several vectors: MIND (Li et al., 2019), ComiRec-DR and ComiRec-SA ([4]), SINE (Tan et al., 2021), Re4 (Zhang et al.,
and REMI (Xie et al., 2023), which we train ourselves under the protocol above. Section F describes each method.
In Table 1, COMPOTE is best in 11 of the 12 columns, the exception being H@10 on Scientific where HSTU (4.29) and TIGER (4.22) edge it out (4.20). Against TIGER, the strongest baseline on NDCG, COMPOTE improves N@5 by 9.7% on Scientific and 9.6% on Game, and ties on Instrument (2.44 2.45). Note that TIGER performs autoregressive generative retrieval over semantic identifiers derived from item text and decodes them with beam search at inference, while COMPOTE sees item identifiers only and ranks the catalogue in a single forward pass: modelling the multimodality of the next-item distribution suffices to beat a content-aware generative recommender.
| Method | Instrument H@5 | Instrument H@10 | Instrument N@5 | Instrument N@10 | Scientific H@5 | Scientific H@10 | Scientific N@5 | Scientific N@10 | Game H@5 | Game H@10 | Game N@5 | Game N@10 |
| Caser (Tang and Wang, 2018) | 2.41 | 3.86 | 1.51 | 1.97 | 1.59 | 2.57 | 1.01 | 1.32 | 3.30 | 5.53 | 2.09 | 2.81 |
| HGN (Ma et al., 2019) | 3.21 | 5.17 | 2.02 | 2.65 | 2.12 | 3.51 | 1.31 | 1.76 | 4.24 | 6.87 | 2.71 | 3.56 |
| GRU4Rec [7] | 3.24 | 5.01 | 2.09 | 2.66 | 2.02 | 3.38 | 1.29 | 1.73 | 4.99 | 7.99 | 3.20 | 4.16 |
| BERT4Rec (Sun et al., 2019) | 3.07 | 4.85 | 1.95 | 2.52 | 1.86 | 2.96 | 1.19 | 1.55 | 4.60 | 7.35 | 2.98 | 3.86 |
| SASRec [9] | 3.33 | 5.23 | 2.13 | 2.74 | 2.59 | 4.12 | 1.50 | 1.99 | 5.35 | 8.47 | 3.31 | 4.38 |
| HSTU (Zhai et al., 2024) | 3.43 | 5.77 | 1.91 | 2.71 | 2.71 | 4.29 | 1.47 | 1.98 | 5.78 | 9.03 | 3.34 | 4.42 |
| S3-Rec (Zhou et al., 2020) | 3.17 | 4.96 | 1.99 | 2.57 | 2.63 | 4.18 | 1.71 | 2.19 | 4.85 | 7.69 | 3.15 | 4.06 |
| TIGER (Rajput et al., 2023) | 3.70 | 5.64 | 2.44 | 3.06 | 2.64 | 4.22 | 1.75 | 2.26 | 5.59 | 8.68 | 3.66 | 4.67 |
| MIND (Li et al., 2019) | 2.71 | 4.42 | 1.65 | 2.20 | 2.11 | 3.29 | 1.27 | 1.65 | 3.22 | 5.20 | 1.99 | 2.65 |
| ComiRec-DR [4] | 2.67 | 4.37 | 1.64 | 2.19 | 2.14 | 3.41 | 1.30 | 1.72 | 3.21 | 5.23 | 1.96 | 2.60 |
| ComiRec-SA [4] | 2.64 | 4.31 | 1.62 | 2.15 | 2.08 | 3.31 | 1.26 | 1.65 | 3.20 | 5.19 | 1.95 | 2.61 |
| SINE (Tan et al., 2021) | 3.08 | 5.20 | 1.52 | 2.24 | 2.36 | 3.83 | 1.21 | 1.68 | 5.26 | 8.80 | 2.77 | 3.87 |
| Re4 (Zhang et al., 2022) | 2.13 | 3.74 | 1.23 | 1.66 | 1.61 | 2.66 | 0.95 | 1.27 | 3.15 | 5.61 | 1.98 | 2.68 |
| REMI (Xie et al., 2023) | 2.73 | 4.34 | 1.71 | 2.22 | 2.20 | 3.86 | 1.21 | 1.70 | 4.14 | 7.42 | 2.29 | 3.30 |
| COMPOTE (ours) | 3.75 | 5.83 | 2.45 | 3.10 | 2.84 | 4.20 | 1.92 | 2.35 | 6.06 | 9.26 | 4.01 | 5.04 |
Table 1. Performance (%) on three Amazon 2023 subsets (H@K: Hit Rate@K, N@K: NDCG@K). First-block numbers are from (Zheng et al. 2025); multi-interest models are trained by us under the same protocol (Section F). COMPOTE uses max-similarity aggregation (Equation (10)), equivalent to max-softmax pooling (Section 4.1). Bold: best, underline: second best.
Multi-interest models trade precision for coverage. Multi-interest recommenders are the closest analogue of COMPOTE, yet none reaches the second-best value of any column, and only SINE on Game H@10 (8.80) exceeds SASRec. SINE is within 5% of COMPOTE on that column but 31% below on N@5 (2.77 against 4.01): maximising over interest vectors widens the candidate pool without placing the target near the top, whereas COMPOTE improves both.
Fast Retrieval for COMPOTE
For large-scale recommender systems, it is desirable to have a model that is compatible with vector databases to enable a retrieval scaling sublinearly with . As (see Figure 1), there is already a dependency linear in with the computation of the softmax. This section shows that, for the purpose of ranking the items for recommendation, the softmax can be dropped at inference – it is possible to apply directly on the cosine similarities to obtain scores to rank the items. Formally, it means replace at inference by
Due to the following identity: where , and rank items identically if is constant across the hypotheses. This turns out to happen in practice as the standard deviation of across hypotheses is largely lower that its value (Figure 3). Experiments confirm this as using rather than comes at no loss in ranking accuracy (Table 2).
| Aggregator | Normalizer | H@5 | H@10 | N@5 | N@10 |
| – ”max softmax” | required | 6.04 | 9.27 | 4.01 | 5.05 |
| – ”max cosine similarity” | not required | 6.06 | 9.26 | 4.01 | 5.04 |
Table 2. Effect of the inference aggregator on COMPOTE performance (%) on Game, for the same trained model with heads and the same checkpoint. “Normalizer” indicates whether ranking requires the per-head catalogue partition function . Bold: best.
This equivalence is a key deployment result: the model requires neither a catalog-wide softmax nor its normalizer, making the model directly compatible with standard vector databases. For this reason, we report most of the results with (ex: Table 3).
| Method | ||||||||||||
| Instrument | Scientific | Game | ||||||||||
| H@5 | H@10 | N@5 | N@10 | H@5 | H@10 | N@5 | N@10 | H@5 | H@10 | N@5 | N@10 | |
| MCT-SASRec | 3.63 | 5.70 | 2.34 | 2.97 | 2.55 | 3.87 | 1.71 | 2.13 | 5.73 | 8.84 | 3.78 | 4.78 |
| MCT-EnsCE | 3.54 | 5.53 | 2.28 | 2.96 | 2.42 | 3.80 | 1.60 | 2.03 | 5.74 | 8.81 | 3.78 | 4.77 |
| MCT-Router | 3.57 | 5.48 | 2.28 | 2.89 | 2.40 | 3.60 | 1.64 | 2.00 | 5.74 | 8.81 | 3.78 | 4.77 |
| COMPOTE (ours) | 3.75 | 5.83 | 2.45 | 3.10 | 2.84 | 4.20 | 1.92 | 2.35 | 6.06 | 9.26 | 4.01 | 5.04 |
Table 3. Ablation over the prediction head and the training objective (%). Variants share the same encoder backbone and parameter budget, and rank items with max-similarity aggregation (Equation (10)): MCT-SASRec is a single-hypothesis iso-parameter head, MCT-EnsCE uses an ensemble cross-entropy objective, and MCT-Router routes queries to a single expert. Bold: best.
Ablations: Where Do the Gains Come From?
COMPOTE could outperform a single-head model for three distinct reasons, additional capacity, naive ensembling, or mixture-of-experts (MoE) routing. We isolate each with a matched-capacity variant (Table 3). COMPOTE outperforms all three on every dataset and metric.
Not a bigger model: MCT-SASRec spends the parameter budget of COMPOTE on a single hypothesis with a deeper prediction head. It is the strongest of the three variants and still trails COMPOTE everywhere (N@5 of 2.34 against 2.45 on Instrument, 1.71 against 1.92 on Scientific, 3.78 against 4.01 on Game). At equal capacity, the multi-hypothesis parameterization beats a deeper single-hypothesis head.
Not an ensemble: MCT-EnsCE keeps the architecture of COMPOTE but trains every head on every example with equal weight, without confidence supervision or annealing. It minimizes
the limit of the soft assignment in Equation (4). It falls below COMPOTE on every dataset and metric, so the gains are not explained by architectural multiplicity or naive ensembling alone.
Not a mixture of experts: MCT-Router follows the routing recipe of multi-interest recommendation (§ 1): it keeps the shared encoder and replaces the training of COMPOTE by a learned gate that selects one expert per query. It trails COMPOTE everywhere (N@5 of 2.28 against 2.45 on Instrument, 1.64 against 1.92 on Scientific, 3.78 against 4.01 on Game). The next section traces this gap to head collapse: without the annealed winner-takes-all objective, routing fails to induce distinct hypotheses (§ 5.1).
Hypothesis Specialization
We first show that, unlike the matched-capacity variants of Section 4.2, COMPOTE learns hypotheses that do not collapse and carry complementary rankings. We then explain this phenomenon by characterizing what each hypothesis learns at the winner-takes-all limit .
Collapse and Oracle Evidence
We quantify collapse through the mean pairwise cosine similarity of the head outputs. For a query , let and define . We report its test-set average; means that all heads have the same direction. MCT-EnsCE and MCT-Router reach on all three datasets, whereas COMPOTE obtains 0.64, 0.61 and 0.58 on InstruMENT, SCIENTIFIC and GAME, respectively (Table 6). Thus, neither architectural multiplicity nor learned routing is sufficient to prevent collapse.
| Method | Instrument | Scientific | Game |
| MCT-EnsCE | 1.00 | 1.00 | 1.00 |
| MCT-Router | 1.00 | 1.00 | 1.00 |
| COMPOTE (ours) | 0.64 | 0.61 | 0.58 |
Table 6. Mean pairwise cosine similarity between hypothesis heads on the test set. A value of 1 means the heads are indistinguishable, lower is more specialized.
Oracle head selection. To test whether COMPOTE’s distinct heads contain complementary rankings, we compare the max-similarity rule of Equation (10) with an oracle that observes the target and selects the head assigning it the highest similarity,
then ranks every item using . The oracle is not deployable, but it measures whether one hypothesis ranks the target substantially better than the aggregated list. For MCT-EnsCE and MCT-Router, aggregated and oracle N@5 coincide exactly on every dataset: selecting among collapsed heads cannot help (Table 7). For COMPOTE, oracle selection raises N@5 by 53% on INSTRUMENT (2.45 → 3.75), 83% on SCIENTIFIC (1.92 → 3.52) and 94% on GAME (4.01 → 7.78). The ranking gains therefore coincide with a qualitative change in the learned predictor: COMPOTE produces distinct heads whose rankings contain complementary signal.
| Method | Instrument | Scientific | Game | |||
| Aggregated | Oracle | Aggregated | Oracle | Aggregated | Oracle | |
| MCT-EnsCE | 2.28 | 2.28 | 1.60 | 1.60 | 3.78 | 3.78 |
| MCT-Router | 2.28 | 2.28 | 1.64 | 1.64 | 3.78 | 3.78 |
| COMPOTE (ours) | 2.45 | 3.75 | 1.92 | 3.52 | 4.01 | 7.78 |
Table 7. NDCG@5 (%) under max-similarity aggregation (Equation (10)) and under oracle head selection (Equation (11)). Equal columns indicate that all heads induce the same ranking, i.e. complete collapse.
These findings raise a structural question: why does COMPOTE’s training create complementary hypotheses, whereas ensemble and routed objectives collapse?
What Each Hypothesis Learns
For a fixed query, Theorem 7 describes the optimal hypotheses through three properties:
(P1) Partition. The catalog splits into disjoint cells , each hypothesis supported on its own cell.
(P2) Faithfulness within cells. On , is renormalized by : each hypothesis ranks the items of its cell exactly as the Bayes predictor does, and therefore still depends on the query through .
(P3) Balance. The partition maximizes the entropy of , so the cells split the mass of as evenly as the catalogue allows.
Theorem 7 (Extension of Th. 1 – Rupprecht et al. (2017)). Let , and denote the optimal prediction . Then for every and ,
where the tessellation is . Moreover the tessellation is entropy-maximizing.
Proof can be found in Section K.1.
COMPOTE is trained at with softmax heads, so the exact zeros of Equation (12) cannot be reached. We test each property through its observable signature. Mirroring the tessellation of Theorem 7, the empirical cell of head on query is , and the winning head of a test pair is the head whose cell contains . All diagnostic metrics are computed on GAME, with unless stated otherwise, and Table 4 reports them for . The protocol is detailed in § 21, which also reports the same partition on SCIENTIFIC.
| In-cell mass | Win frequency (%) | Sector share (%) | Sector agreement | |||
| 3 | 0.929 | [32.0, 34.4] | [27.9, 36.3] | 7.32 | 8.41 | 98.5% |
| 4 | 0.915 | [24.5, 25.6] | [23.4, 27.1] | 7.02 | 8.41 | 98.7% |
| 5 | 0.937 | [18.9, 21.1] | [15.5, 25.3] | 6.71 | 8.32 | 99.4% |
Table 4. Signatures of Theorem 7 on GAME as the number of hypotheses varies. All columns are computed on the full test set of 94,762 query–target pairs. Win frequencies and sector shares are reported as the range over heads.
(P1) The hypotheses partition the catalogue. The non-collapsed head directions of Table 6 are a first signature of (P1). The partition holds for the full distributions and not only for the top of the rankings: each head keeps between 91.5% and 93.7% of its softmax mass inside its own cell, for every . The retrieved sets are therefore nearly disjoint. The top-10 lists of two heads on the same query have a mean Jaccard overlap of 0.008, and 91.8% of the catalogue items retrieved at test time are reached by a single head only. Both sharpen with , reaching 0.001 and 98.6% at . Figure 2 shows the resulting partition: projected onto the plane of the head directions, the catalogue splits into three sectors, one per hypothesis.

Figure 2. Catalogue tiling on GAME (). Normalized items (dots) and head outputs (stars) are projected onto the plane spanned by the static head directions , the average normalized output of each head over the test set. Items are coloured by the direction they are most aligned with, and the green cross marks the target. Each panel is a test query won by a different head, and in each the target lies in the sector of its winning head.
(P2) Each hypothesis remains query-dependent. By (P2), a hypothesis is not a fixed list of items: its ranking follows . Empirically, the top-10 of a given head overlaps by only 0.017 to 0.026 Jaccard between two different histories, and in Figure 2 the head closest to the target changes from query to query. (P1) and (P2) together explain the oracle gap in Table 7. At the optimum, the target belongs to a single cell , where it competes only with the other items of , ranked by . Selecting that head therefore ranks no worse than the Bayes predictor over the full catalogue. The cosine oracle of Equation (11) makes exactly this choice, as it picks the winning head on 98.9% to 99.7% of test pairs. This is the behavior of COMPOTE, where the oracle-selected head ranks the target substantially higher than the pooled list, while collapsed models exhibit no oracle gain.
(P3) The cells split the mass evenly. The win frequency of a head (the fraction of test targets it wins), estimates without access to . Win frequencies stay within 1.6 points of for every , and their normalized entropy exceeds 0.999. Balance holds in mass and not in item counts: the heads own between 15.5% and 25.3% of the catalogue at , yet each wins close to 20% of the targets. This is the balance (P3) predicts, since weights items by , so a head with fewer items holds items that are more often the next one. Balance also matters for aggregation: if for all , Equation (12) gives , so max-pooling recovers the Bayes ranking exactly. Balance also fixes the value of the optimal loss, and Section K.3 checks that the test loss follows the predicted law.
Discussion and Conclusion
We introduced COMPOTE, which uses annealed multiple-hypothesis learning to produce complementary rankings for sequential recommendation. Our theoretical and empirical results show that it prevents head collapse, preserves ranking quality, and improves performance across three benchmarks. We leave combining COMPOTE with semantic identifiers for future work, which could improve recommendations for rare items. It also remains to explain why its theoretically query-dependent cells form an almost static catalogue tiling and how this structure relates to item-embedding geometry (Section M).
AI Use Statement
We used generative AI tools to polish the manuscript, primarily by correcting grammar and improving clarity, and to assist with portions of the experimental code. Parts of the theoretical proofs (the generalization bounds) were also drafted with the help of generative AI, but all proofs were verified and corrected by the authors.
Acknowledgments
This project was provided with computing HPC and storage resources by GENCI at IDRIS thanks to the grant 2026-A0191016862 on the supercomputer Jean Zay’s V100 partition.
Proofs
Preliminary results
Proposition 8 ( as a convex conjugate). For any and for any ,
with optimal given by
Proof. The log-sum-exp is the convex conjugate of the negative entropy.
Proof of prop:tau-to-wta
Proposition 1. For any , .
Proof of Proposition 1. The proof is a direct consequence of Proposition 8 as .
Proof of prop:loss-tau-to-awta
Proposition 2 (Recovering aMCL). For any and for any ,
where is the Shannon entropy of the softmax weights .
Proof of Proposition 2. This is a direct consequence of Proposition 8.
Proof of cor:awta-gradient
Corollary 3 (Recovering the gradient of aMCL). For any ( is some parameter), for any , and ,
Proof of Corollary 3.
On the other hand, differentiating directly gives
This concludes the proof.
Proofs of sec:compote-to-ranking
Proof of prop:loss-via-pooling
Proposition 5 ( via ). For any and for any ,
Proof of Proposition 5. Fix . For , by definition of in (19),
the last equality being the definition of in (3).
For , understood as the limit on both sides, gives , which equals by Proposition 1.
Proof of prop:emax-ranking
Proposition 6 ( induces Bayes ranking). Let , and denote the optimal prediction . Then
Proof of Proposition 6. Denote the inner risk by . By Proposition 5,
so that, being finite, for every with . Fix with ; in particular and .
Weak inequality. Assume , the conclusion being trivial otherwise, and let be the operator associated with the transposition . Then
the terms at cancelling and the remaining logarithms being finite. Since and , this gives .
Strictness up to saturation. Assume now ; we show that this common value is 1. Let be the tessellation of Theorem 7, the index of the cell containing and the mass of , so that whenever , and, by equation (22),
Suppose first , so that where and . The items and lie in distinct cells: were they in the same cell, the ratio would contradict the assumed equality. Exchanging and between the two cells produces a partition of with masses and , where , the other cells being unchanged; the predictor it defines through equation 12 is admissible, so equation (25) and the optimality of give
Writing , we have , so decreases on and increases on ; being symmetric about , it satisfies with only if . Consequently
using and if , and with if . The assumed equality reads and therefore forces , and , whence .
Suppose finally . If then , excluding the equality. Otherwise every has ; let be with head replaced by . For the maximum defining is attained by a head other than , so ; the items of carry no mass; and . Hence with equality only if , and the optimality of forces . □
Per-Head Normalizer
Protocol. For the game checkpoint of Table 2, we compute over all items for each of the 94,762 test queries, with and .
The normalizer is head-independent. The three distributions nearly overlap (Figure 3), with means 13.67, 13.63, and 13.79. At fixed , the cross-head standard deviation of is 0.13 on average; its range has median 0.28, 95th percentile 0.62, and maximum 1.10.
Effect on the ranking. Because , a ranking change requires max-cosine scores within times the cross-head range: 0.020 for the median query, 0.043 at the 95th percentile, and 0.077 at most. Accordingly, Table 2 shows no measurable loss from dropping the normalizer.

Figure 3. Distribution of the per-head log-normalizer . Histogram of over the 94,762 test queries of GAME, one colour per head, for the COMPOTE checkpoint with of Table 2 (, ). The three heads have almost superimposed distributions, concentrated between 12.2 and 15.0 on a scale where could a priori take any value in . For a fixed query, the standard deviation of across the three heads is 0.13 on average, against a mean value of 13.7.
Generalization Bound
Proof of thm:wta-generalization
We first provide here a generalization bound for the log-loss in Theorem 9, which is a direct consequence of the Rademacher complexity of the hypothesis class . We then provide a refined version of the generalization bound in Theorem 4, which has a milder dependence on the number of heads .
Theorem 9 (log-loss generalization bound). Let be a hypothesis class of probability-generating heads . Assume there exists a constant such that for all , , and . Then, for any , with probability at least over the sample , every ensemble satisfies:
where is the expected Rademacher complexity of the set of functions .
Proof of Theorem 9. Step 1: Boundedness and Lipschitz continuity of the loss function. Consider the scalar loss function restricted to .
Upper Bound (): Since , the loss is non-negative and bounded above by:
@page 15/26 starts_mid=0 ends_mid=1 The normalizer is head-independent. The three distributions nearly overlap (Figure 3), with means 13.67, 13.63, and 13.79. At fixed , the cross-head standard deviation of is 0.13 on average; its range has median 0.28, 95th percentile 0.62, and maximum 1.10.
Effect on the ranking. Because , a ranking change requires max-cosine scores within times the cross-head range: 0.020 for the median query, 0.043 at the 95th percentile, and 0.077 at most. Accordingly, Table 2 shows no measurable loss from dropping the normalizer.

Figure 3 (PDF p. 15). Distribution of the per-head log-normalizer . Histogram of over the 94,762 test queries of GAME, one colour per head, for the COMPOTE checkpoint with of Table 2 (, ). The three heads have almost superimposed distributions, concentrated between 12.2 and 15.0 on a scale where could a priori take any value in . For a fixed query, the standard deviation of across the three heads is 0.13 on average, against a mean value of 13.7.
Generalization Bound
Proof of thm:wta-generalization
We first provide here a generalization bound for the log-loss in Theorem 9, which is a direct consequence of the Rademacher complexity of the hypothesis class . We then provide a refined version of the generalization bound in Theorem 4, which has a milder dependence on the number of heads .
Theorem 9 (log-loss generalization bound). Let be a hypothesis class of probability-generating heads . Assume there exists a constant such that for all , , and . Then, for any , with probability at least over the sample , every ensemble satisfies:
where is the expected Rademacher complexity of the set of functions .
Proof of Theorem 9. Step 1: Boundedness and Lipschitz continuity of the loss function. Consider the scalar loss function restricted to .
Upper Bound (): Since , the loss is non-negative and bounded above by:
Thus, for every sample , .
Lipschitz Continuity (): By the Mean Value Theorem, the Lipschitz constant is bounded by the supremum of the derivative:
Therefore, for any , we have .
Step 2: Concentration via McDiarmid’s Inequality.
We want to show that the empirical loss on finite samples is close to the true expected loss uniformly across all possible models in our hypothesis class . Define the worst-case generalisation gap function:
Suppose we change a single data point in to create a neighboring dataset . The change in can be bounded as:
Because changing one sample alters by at most , we can apply McDiarmid’s inequality to bound the deviation of from its expectation [3]:
Evaluating . Set the probability tail . Then, solving for gives
Thus, with probability at least :
Step 3: Symmetrization and min-operator decomposition.
Our goal now is to bound the expected supremum in terms of the Rademacher complexity of the hypothesis class . For doing so, we can redefine as follows:
where is an independent ghost sample drawn from the same distribution. Then by gathering the terms, and using Jensen’s inequality, we can pull the expectation over outside of the supremum:
Now, since and are identically distributed, introducing independent random sign variables with does not change the distribution of their difference:
and using the triangle inequality leads to the following decomposition:
where is the empirical Rademacher complexity of the composite pointwise minimum class:
and .
For a fixed sample , using the structural property of Rademacher complexity under pointwise minimum operators over hypothesis classes (decomposition of the pointwise minimum as a weighted sum of indicator functions and using results from Bartlett and Mendelson [2]), we bound as:
where . Since is -Lipschitz on , applying Talagrand’s Contraction Lemma (Mohri and Medina (2014); Ledoux and Talagrand [10]) yields:
Taking expectations on both sides gives .
Final combination. Substituting into and applying concentration yields the stated bound.
Proof of cor:wta-generalization-refined
Theorem 4 (refined log-loss generalization bound). Let be a hypothesis class of probability-generating heads . Assume there exists a constant such that for all , , and . Then, for any , with probability at least over the sample , every ensemble satisfies:
where is the expected Rademacher complexity of .
Proof of Theorem 4. To prove the theorem, we need to show that the expected Rademacher complexity of the minimum operator over heads satisfies:
and plugging this bound into the generalization bound of Theorem 9 gives the desired result. Basically, we replace the crude sum over heads in Equation (30) by this Massart-type control of the minimum operator, which yields a sharper dependence on . Hence, we only need to prove Equation (32). That is done in the following steps.
Let be the loss function class for head , where each function takes values in with .
Let , where . We analyze the empirical Rademacher process for a fixed sample :
Pointwise minimum upper bound. For any given input and any choice of functions , the minimum can be written as:
Instead of summing over all , we decouple the choice of the minimizing head index from the individual head function space. For any fixed sequence of functions , we have:
-cover discretization of the minima vector. To apply Massart’s Lemma over the finite choices of heads, we construct an empirical -net for each function class at scale . Hence, for every , there exists a net element such that:
Then, using Cauchy–Schwarz, the discretization error introduced by replacing with its closest net element is bounded by:
Decomposing into single head and Massart’s finite maximum. For any tuple of true functions , we find their corresponding net approximations . The empirical sum splits into:
Taking the supremum over all valid choices of tuples:
where the final term is at most , which gives us the following upper bound on the empirical Rademacher process:
Since , we decompose into an arbitrary reference head (say ) plus a residual vector in representing the candidate selection among heads:
Then, taking expectation gives the following decomposition of the empirical Rademacher process:
where as and are both in the loss function class and hence bounded by .
For vectors with bounded norm , Massart’s Finite Class Lemma (Massart, 2000, Lemma 5.2) states that:
We apply Talagrand’s Contraction Lemma on the single-head term and use the fact that the loss function is -Lipschitz. In addition, by taking the infimum over all valid cover radii (or letting ), the residual discretization error is absorbed into the standard covering-number bound of the individual head complexity . This gives us the following upper bound on the empirical Rademacher process:
Finally, since the choice of head as reference was arbitrary, we take the maximum over all :
Substituting this refined bound for into the symmetrization argument of Section D.1 and combining with McDiarmid’s inequality yields the corollary.
Dataset Description
We use three category subsets of the Amazon 2023 review corpus (Hou et al., [8]) MUSICAL INSTRUMENTS, INDUSTRIAL AND SCIENTIFIC, and VIDEO GAMES, abbreviated Instrument, Scientific, and Game which span May 1996 to September 2023. Following prior work (Rajput et al., 2023; Zhou et al., 2020; Zheng et al., 2025), we apply the benchmark 5-core filtering (Amazon Reviews’23 Benchmark, [1]), which iteratively discards users and items with fewer than five interactions. We then group the interactions by user, order them chronologically, and truncate the histories to 50 items at both training and test time. The resulting statistics are reported in Table 5.
Compared Models
We detail here the baselines summarized in § 4. Numbers for the sequential and generative recommenders come from Zheng et al. (2025), who train them with RecBole (Zhao et al., 2021) under a common protocol and tune them by grid search. The multi-interest models are trained by us.
ID-based sequential recommenders.
Caser (Tang and Wang, 2018) applies horizontal and vertical convolutions to the embedded interaction sequence, capturing both positional and skip-behaviour patterns.
HGN (Ma et al., 2019) combines feature-level and instance-level gating to modulate item embeddings according to the user representation.
GRU4Rec [7] encodes the interaction sequence with gated recurrent units trained for session-based next-item prediction.
BERT4Rec (Sun et al., 2019) uses a bidirectional transformer encoder trained with a masked-item objective, so that each position is predicted from both past and future context.
SASRec [9] uses a unidirectional (causal) self-attention encoder and predicts the next item by inner product with the item embeddings; it is the closest single-hypothesis analogue of our backbone.
HSTU (Zhai et al., 2024) introduces hierarchical sequential transducers that consume actions and timestamps jointly, and is designed for scalability while remaining ID-based.
S3-Rec (Zhou et al., 2020) pre-trains the sequence encoder with self-supervised objectives built from item–attribute correlations, then fine-tunes it for next-item prediction.
Generative recommender. TIGER (Rajput et al., 2023) quantizes item text embeddings into semantic identifiers with an RQ-VAE and casts recommendation as autoregressive generation of the target identifier, retrieving items by beam search over the identifier space.
Multi-interest recommenders. These models represent a user by vectors instead of one, and are the closest existing analogue of our multi-hypothesis parameterization. We train them with the sampled-softmax objective and the readout rule of their reference implementations, and rank the catalogue by the maximum inner product over the interest vectors, which is the retrieval rule all of them adopt.
MIND (Li et al., 2019) extracts interests with a dynamic-routing capsule network over the history and trains the interest whose inner product with the target is largest.
ComiRec [4] comes in two variants: ComiRec-DR keeps the capsule routing of MIND with a bilinear mapping, while ComiRec-SA replaces it by a multi-head self-attentive pooling of the history.
SINE (Tan et al., 2021) selects a sparse subset of concepts from a large learned concept pool, forms one interest per selected concept, and aggregates them back into a single user vector used for retrieval.
Re4 (Zhang et al., 2022) augments ComiRec-SA with three backward-flow regularizers—contrasting interests against each other, realigning the attention with the retrieval criterion, and reconstructing the assigned items from each interest.
REMI (Xie et al., 2023) augments ComiRec-SA with interest-aware hard-negative mining in the sampled softmax and a variance-based regularizer on the item-to-interest routing matrix that prevents routing collapse.
Ablation on the Score-Loss Weight
This appendix measures how much of the performance of COMPOTE comes from the score loss of Equation (37), whose weight in the training objective is (Equation (39)).
Protocol. We train COMPOTE on SCIENTIFIC with for , all other hyperparameters being fixed to the values of Section 4. Rankings use max-similarity aggregation (Equation (1)), which does not read at inference. The score loss can therefore only change the ranking through its gradient on the shared encoder; the oracle assignments it regresses are detached from the computation graph. We report N@5 at the best checkpoint.
The score loss helps. The best weight, , reaches 1.91 N@5 against 1.82 without the score loss (Figure 4), and four of the six positive weights improve over . We use in all other experiments.

Figure 4. Effect of the score-loss weight . N@5 (%) on SCIENTIFIC with under max-similarity aggregation, as a function of the weight of the score loss in Equation (39). Ticks are evenly spaced and do not follow the scale of . Without the score loss (), COMPOTE already reaches 1.82, above every single-hypothesis variant of Table 3; the best weight adds 0.09 points.
It is not the main contributor. With , COMPOTE already outperforms every single-hypothesis variant of Table 3 on SCIENTIFIC: 1.82 N@5 against 1.71 for MCT-SASRec, 1.64 for MCT-Router and 1.60 for MCT-EnsCE. The gain over single-hypothesis training is therefore obtained by the multiple-hypothesis objective alone. Moreover, the curve is not monotonic: and fall below , so the effect of the score loss is of the same order as the variation across weights. The score loss acts as an auxiliary regularizer of the shared encoder rather than as the source of the improvement.
The Confidence-Score Stabilization
This appendix formalizes the regularization term mentioned at the end of § 3. It is an auxiliary supervised objective attached to the confidence-score head of Figure 1, which is trained to predict which hypothesis the target item belongs to.
Confidence-score head. Recall the architecture of Figure 1: the shared causal encoder maps the history to the hidden state at the most recent position, the hypothesis heads map to query representations , and the catalogue scores of Equation (10) are turned into the per-hypothesis distributions . In parallel, an MLP taking the same as input, followed by a coordinate-wise sigmoid, defines the confidence-score head
where is read as the predicted probability that hypothesis is the one containing the target of query . Note that the outputs are independent sigmoids and not a softmax: need not sum to one.
Supervision target: belonging to . Following the tessellation of Theorem 7, the empirical cell of hypothesis on query is the set of items for which is the most confident hypothesis,
so that is a partition of up to ties. The winning hypothesis of a training pair is the index of the cell that contains the target,
which is exactly the hypothesis realizing the min in . The regression target of is the corresponding membership vector
which is a one-hot vector, with its non-zero coordinate at .
Binary cross-entropy on . The regularizer is the binary cross-entropy between the membership indicators equation (36) and the predicted confidences, summed over the coordinates,
which, the target being one-hot, can be written equivalently as
The cells equation (34), and hence the labels equation (36), depend on : they are recomputed at every training step from the current hypotheses, and are detached from the computation graph, so that no gradient flows from back to the heads through . The only gradient path of is through , i.e. through the confidence MLP and the shared encoder producing .
Full training objective. Weighting this term by , the objective minimized by COMPOTE is
with the annealed loss of Equation (3) – equivalently of Equation (4) by Proposition 2 and Corollary 3. We use in all experiments; the sensitivity to is reported in Section G.
Impact of the number of hypotheses on learning
In Theorem 4 in § 3, we have established that the generalization gap between the empirical WTA loss and the expected WTA loss has a sublinear dependence on the number of hypotheses . We present here an empirical validation of this theoretical insight.
Keeping the experimental setup used for performance evaluation described in § 4, we vary the number of hypotheses from 1 to 12 and measure the ranking quality on SCIENTIFIC using N@5. Figure 5 shows that increasing from 1 to 3 improves ranking quality, which suggests that having multiple hypotheses is beneficial for capturing the ambiguity of the next-item distribution. However, beyond , the performance plateaus, indicating that adding more hypotheses does not necessarily lead to better ranking quality. This empirical finding is consistent with the sublinear dependence on in Theorem 4, and provides practical guidance for selecting an appropriate number of hypotheses in real-world applications.
For those larger value of , a phenomenon we have described in Proposition 6 in § 4 can also occur, which is the saturation of the max-similarity aggregation . § 4. We have stated that this saturation can happen when at least two items have large probabilities . This means that as increases, the probability of this saturation event increases, which can lead to a degradation of the ranking quality.
Collapse and Oracle Evidence
Proofs of sec:hypothesis-specialization
Proof of thm:closed-form
Theorem 7 (Extension of Th. 1 – Rupprecht et al. (2017)). Let , and denote the optimal prediction . Then for every and ,
where the tessellation is . Moreover the tessellation is entropy-maximizing.
Proof of Theorem 7. The characterization of using and the tessellation are a direct application of Theorem 7.
The only part remaining is to prove the tessellation is entropy-maximizing. Given a tessellation of , define
The choice coincides with the optimal predictor – i.e. , leading to
Optimal Risk
The following corollary makes explicit the value of the optimal winner-takes-all risk.
Corollary 10 (Optimal winner-takes-all risk). Under the setting of Theorem 7, with the cell masses of the tessellation ,
with equality in the inequality if and only if for every .
Proof of Corollary 10. By Theorem 7, with , and the computation in the proof of Theorem 7 gives
Since , , with equality if and only if is uniform.
The Loss Follows the Law
Theorem 7 also predicts how the loss should change with . For a given query, the optimal winner-takes-all loss is the Bayes loss minus the entropy of the cell masses (Corollary 10). Exact querywise balance would therefore yield a reduction relative to the Bayes loss. Although the win frequencies of § 5.2 establish only marginal balance, empirically varies by less than 0.1 across (Table 4), showing that the learned models approximately follow this scaling law, where is the test loss. Equivalently, going from to multiplies the geometric-mean probability that the winning head assigns to the target by , close to and slightly above the ratio predicted under exact balance.
Latent Tiling Across
This appendix details the protocol behind Table 4, reports additional diagnostics on the three COMPOTE checkpoints trained on GAME with , and checks that the partition also appears on SCIENTIFIC.
Protocol. Win frequencies, static sectors, and sector agreement use the full test set of 94,762 query–target pairs. In-cell mass and the winner-takes-all loss use the softmax over the whole catalogue, with , on the same full test set. The in-cell mass is , averaged over heads and test pairs. The static direction of head is the renormalized average of its normalized outputs over the test set. Writing for the normalized embedding of item , its sector is . Sector agreement is the fraction of test targets whose sector is their winning head. Cross-head Jaccard, region loyalty, and single-head reach are computed from the top-10 lists on 4,000 test queries sampled uniformly. Among catalogue items retrieved at least once, an item is reached by a single head if it appears in the top-10 of exactly one head. Within-head overlap compares the top-10 list of a head between randomly paired queries from this sample.
Cosine and softmax winners agree. The oracle of Equation (11) selects heads by cosine similarity, whereas the cells of Theorem 7 are defined by probabilities, and each head carries its own softmax normalizer. The two definitions of the winning head agree on 98.9%, 99.4%, and 99.7% of test pairs for .
The tiling sharpens with . The static directions are well separated for every (Figure 6). Cross-head top-10 Jaccard falls from 0.008 at to 0.001 at , while region loyalty rises from 98.9% to 99.8% (Table 8). Theorem 7 predicts an exact partition for every , so this trend describes how close training gets to the optimum rather than a property of the optimum itself.
| Mean off-diag. cos() | Cross-head top-10 Jaccard | Region loyalty | |
| 3 | −0.09 | 0.008 | 98.9% |
| 4 | −0.17 | 0.003 | 99.4% |
| 5 | −0.04 | 0.001 | 99.8% |
Table 8. Latent-space tiling on GAME as the number of hypotheses varies. Mean off-diagonal cosine similarity is computed between the static head directions (the dataset-wide average of normalized head outputs). The top-10 diagnostics use 4,000 test queries sampled uniformly without replacement. Cross-head Jaccard is the mean pairwise overlap of these lists across heads. Region loyalty is the fraction of a head’s top-10 items that fall in its catalogue sector.

Figure 6. Latent-space tiling on GAME. Cosine similarity between the static head directions (the dataset-wide average of normalized head outputs) for . Off-diagonal values remain near zero or negative, indicating that the heads occupy separated directions rather than collapsing onto one another.
The same partition appears on SCIENTIFIC. We repeat the overlap diagnostics on 4,000 sampled test queries for the COMPOTE checkpoint trained on SCIENTIFIC with . The top-10 lists of two heads on the same query have a mean Jaccard overlap of 0.001, and 94.5% of the catalogue items retrieved at test time are reached by a single head only. The top-10 of a given head overlaps by 0.025 to 0.044 Jaccard between two different histories, so each head still adapts to the query. Figure 7 shows three test queries. A plain PCA of the normalized catalogue already reveals three arms, and the heads sit along distinct arms, with the target close to one of them.

Figure 7. Catalogue partition on SCIENTIFIC (). PCA projections on three test sequences (queries 4934, 23025, and 26314) under COMPOTE. Each panel shows the L2-normalized item catalogue in two dimensions (grey), the target next item (green cross), and the three head query embeddings (stars). The heads occupy distinct regions of the catalogue rather than collapsing onto a single direction.
Beyond the Theorem: a Static Tiling
Theorem 7 allows the cells to depend on the query. To test whether they do, we average the normalized outputs of each head over the test set and assign every catalogue item to the static sector of the direction it is most aligned with (protocol in § 21). The sector of the target predicts its winning head on 98.5% to 99.4% of test pairs (last column of Table 4), and more than 98.9% of each head’s top-10 items lie in its sector. Cell membership is thus almost a function of the item alone. COMPOTE learns a fixed tiling of the catalogue, and only the ranking inside each tile adapts to the history, as (P2) requires. A static tiling cannot balance every query: for a user whose likely next items all lie in one tile, is concentrated on a single head, and that head gets no boost from the partition. The balance reported in § 5.2 holds on average over queries, which is what win frequencies measure.
References
- [1]Amazon Reviews’23 Benchmark. Pure IDs (5-core) data processing. https://amazon-reviews-2023.github.io/data_processing/5core.html, 2023. Accessed August 2026. 5, 19
- [2]Peter L Bartlett and Shahar Mendelson. Rademacher and gaussian complexities: Risk bounds and structural results. Journal of machine learning research, 3(Nov):463–482, 2002. 17DOI
- [3]Olivier Bousquet and André Elisseeff. Stability and generalization. Journal of machine learning research, 2(Mar):499–526, 2002. 16
- [4]Yukou Cen, Jianwei Zhang, Xu Zou, Chang Zhou, Hongxia Yang, and Jie Tang. Controllable multi-interest framework for recommendation. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pages 2942–2951. ACM, 2020. doi: 10.1145/3394886.3403344. 1, 5, 6, 20arxiv.org/abs/2005.09347
- [5]Paul Covington, Jay Adams, and Emre Sargin. Deep neural networks for YouTube recommendations. In Proceedings of the 10th ACM Conference on Recommender Systems, pages 191–198. ACM, 2016. doi: 10.1145/2959100.2959190. 1DOI
- [6]Abner Guzman-Rivera, Dhruv Batra, and Pushmeet Kohli. Multiple choice learning: Learning to produce multiple structured outputs. In Advances in Neural Information Processing Systems 25, pages 1799–1807, 2012. URL https://proceedings.neurips.cc/paper/2012/hash/cfbce4c1dc425ba2f16db6f2f28be6be-Abstract.html. 2
- [7]Balázs Hidasi, Alexandros Karatzoglou, Linas Baltrunas, and Domonkos Tikk. Session-based recommendations with recurrent neural networks. In 4th International Conference on Learning Representations, 2016. URL http://arxiv.org/abs/1511.06939. 1, 5, 6, 20
- [8]Yupeng Hou, Jiacheng Li, Zhankui He, An Yan, Xiusi Chen, and Julian J. McAuley. Bridging language and items for retrieval and recommendation. CoRR, abs/2403.03952, 2024. URL https://doi.org/10.48550/ARXIV.2403.03952. 2, 19
- [9]Wang-Cheng Kang and Julian J. McAuley. Self-attentive sequential recommendation. In IEEE International Conference on Data Mining, pages 197–206. IEEE Computer Society, 2018. doi: 10.1109/ICDM.2018.00035. 1, 5, 6, 20DOI
- [10]Michel Ledoux and Michel Talagrand. Probability in Banach Spaces: isoperimetry and processes, volume 23. Springer, 1991. 17DOI
- [11]Stefan Lee, Senthil Purushwalkam, Michael Cogswell, Viresh Ranjan, David J. Crandall, and Dhruv Batra. Stochastic multiple choice learning for training diverse deep ensembles. In Advances in Neural Information Processing Systems 29, pages 2119–2127, 2016. URL https://proceedings.neurips.cc/paper/2016/hash/20d135f0f28185b84a4cf7aa51f29500-Abstract.html. 2arxiv.org/abs/1606.07839
- [12]Victor Letzelter, David Perera, Cédric Rommel, Mathieu Fontaine, Slim Essid, Gaël Richard, and Patrick Pérez. Winner-takes-all learners are geometry-aware conditional density estimators. In Proceedings of the 41st International Conference on Machine Learning, ICML’24. JMLR.org, 2024. 2arxiv.org/abs/2406.04706