Manuscript Offprint
arXiv:2611.04455SourceFlow: Collaborative Source Coupling for Flow-Based Recommendation
Abstract
Diffusion-based recommenders learn user preferences by denoising interaction histories, but the added noise can distort the original preference signals. Flow-based collaborative filtering (CF) instead learns a discrete path from a sampled source to the user's observed training interactions (the target history), enabling inference in a few steps. Existing flow-based CF methods sample sources using global item frequencies to reflect the sparsity and popularity of observed interactions. Each source is sampled independently of its target history, leaving the predictor without user-specific source cues for learning to reconstruct that history. We propose SourceFlow, which brings collaborative structure into the source distribution itself rather than adding further conditioning to the predictor. Like inference from observed histories, training uses collaborative evidence to predict missing interactions. Specifically, Neighborhood Coupling constructs displaced binary sources by replacing historical items with unobserved collaborative alternatives. Collaborative Consensus further refines replacement probabilities using evidence from other interactions of users who share the observed item. Stretched Restoration retains these replacements at late flow times during training, providing more opportunities to recover the original interactions. Experiments on five recommendation datasets show consistent improvements over competitive baselines, including a mean relative Recall@10 gain of 15.7% over the strongest flow-based baseline. Controlled experiments confirm that these gains depend on correctly pairing collaborative sources with their target histories, as reassigning the same source vectors across users reverses the gains. Code will be publicly released upon acceptance.
CCS Concepts
• Information systems → Recommender systems.
1 Introduction
Personalized recommendation plays an important role in content discovery on Web platforms, where users with diverse interests browse evolving item collections [5, 6]. On e-commerce and review platforms, recommendation systems use recorded user-item interactions to rank products and services according to individual preferences [10, 17, 37]. Collaborative filtering (CF) supports this task by inferring user preferences from collective interaction patterns [28, 30]. Learning such preferences remains challenging when
(a) Prior flow-based CF
Shared distribution Target history

shared across users
(b) SourceFlow (ours)
Source Target history

related, yet different
Figure 1: Illustration of source-target coupling in flow-based CF training. (a) Prior methods (FlowCF, CoFlowCF) sample sources from a shared global distribution. (b) SourceFlow (Ours) replaces observed items with unobserved collaborative alternatives, retaining collaborative preference structure.
implicit feedback is sparse and noisy. Generative CF addresses this problem by modeling user interaction distributions, with methods ranging from variational autoencoders to diffusion models [3, 18, 34]. DiffRec, for example, reconstructs user histories through iterative denoising [34, 35]. Gaussian corruption converts binary interaction vectors into continuous states. Such continuous values cannot directly signal the occurrence of an interaction, as binary implicit feedback does [8, 11, 21, 25].
Flow matching offers an alternative by learning a time-dependent vector field that transports an explicit source distribution toward the target distribution. FlowCF brings this framework to collaborative filtering through a behavior-guided Bernoulli prior and discrete interpolation, which preserves binary interaction states while enabling few-step inference [21]. CoFlowCF further introduces contrastive supervision over hidden representations to improve user-level discrimination while capturing shared interests [13].
FlowCF and CoFlowCF sample training sources from global item frequencies to reflect interaction sparsity and popularity [13, 21]. At inference, however, these models start from a user's observed history and rely on its preference cues to rank unobserved items. During training, sources are sampled independently of the target history (the paired user's observed training history to be reconstructed). These sources therefore provide no user-specific cues for reconstruction. This raises a central question: how can source design help flow-based CF learn user preferences more effectively?
Figure 2 illustrates the requirements for this source design. Copying the target history leaves no reconstruction task. Gaussian perturbations create a reconstruction task by adding noise to binary histories. The continuous states can obscure the preference signals [34]. A suitable source should be binary, make reconstruction
Corresponding author.

Figure 2: Comparison of source choices for flow-based recommendation. Copying the history leaves no reconstruction task. Gaussian corruption produces continuous states, while global sources are sampled independently of the paired history. SourceFlow combines binary states, a non-trivial reconstruction task, and user-preference cues by constructing displaced binary sources conditioned on the paired user's history.
non-trivial, and retain user-specific collaborative cues for reconstruction.
We propose SourceFlow to reshape the reconstruction task through source design rather than compensate for missing user-specific source cues with additional predictor conditioning. SourceFlow replaces observed items in the paired user's history with unobserved collaborative alternatives from the training interaction graph. The resulting sources share no items with their target histories, yet retain the paired user's collaborative preference structure for reconstruction (Figure 1). Just as inference starts from a user's observed history to rank unobserved items, training starts from user-specific collaborative cues to reconstruct the target history.
SourceFlow comprises three components. Neighborhood Coupling treats each historical item as an anchor and samples an unobserved replacement from its collaborative neighborhood. Collaborative Consensus reweights the same candidates using support from other interactions of users who interacted with the anchor item. Broader collaborative support complements direct item co-occurrence. Stretched Restoration slows the decay of selected replacements along the training path. This keeps more historical items replaced at late flow times and gives the predictor more opportunities to recover them from collaborative cues. SourceFlow changes only the construction and interpolation of training states. The scoring network and inference procedure remain unchanged.
Experiments on five recommendation datasets demonstrate consistent improvements over competitive baselines, including a mean relative Recall@10 gain of 15.7% over the strongest flow-based baseline. Ablations show consistent improvements from collaborative source design, with gains beyond those achieved by uniform or popularity-based replacement. Collaborative sources retain preference-group structure after item replacement, and trained predictors favor their target histories over other users' histories in reconstruction. Reassigning the same source vectors across users removes the recommendation gains. The benefit therefore depends on pairing collaborative alternatives with the histories that guided their selection. Our contributions are threefold:
-
We identify and formalize conditional source coupling as a design choice for flow-based CF training, showing how it changes the conditional reconstruction problem with target histories and the objective held fixed.
-
We propose SourceFlow, which constructs displaced binary sources from collaborative alternatives and retains these alternatives at late flow times. This trains the predictor to infer preferences across items by recovering missing interactions from user-specific collaborative cues.
-
We demonstrate consistent improvements on five datasets and show that collaboratively coupled sources preserve user-related preference structure while improving reconstruction and recommendation.
2 Related Work
2.1 Generative Collaborative Filtering
Generative CF learns user preferences by reconstructing interaction histories and uses the resulting item scores for recommendation [16]. CDAE reconstructs histories from corrupted inputs [36], while variational models such as Mult-VAE, MacridVAE, and RecVAE learn latent preference representations for reconstruction [19, 24, 31].
Diffusion-based CF trains models to reconstruct histories from states at different perturbation levels. The perturbation creates a reconstruction task, but excessive noise can erase personalized information. DiffRec therefore limits Gaussian corruption to retain preference signals in the perturbed history [34]. Collaborative structure can also inform the reconstruction process. GiffCF constructs perturbed states by smoothing interaction histories over an item-item graph, yielding continuous preference signals [40]. CF-Diff supplies multi-hop collaborative connectivity as a condition for denoising, providing information beyond the user's direct interactions [9]. These diffusion models reconstruct histories from continuous states, with user information carried by the perturbed input or supplied separately as a denoising condition.
2.2 Flow-based Recommendation
Flow matching offers deterministic transport through a learned velocity field along an explicit source-target path. FlowCF adapts this formulation to collaborative filtering with a Bernoulli source parameterized by global item frequencies and a mask-based interpolation whose states remain binary, enabling few-step reconstruction of user histories [21]. CoFlowCF retains the same source and discrete path, but augments the flow encoder with dropout-based contrastive views to improve inter-user discrimination without directly separating scores for shared items [13]. Related flow models have also appeared in sequential recommendation. FMRec uses straight trajectories and deterministic Euler sampling for target-item generation [22]. FAVE replaces Gaussian noise in its consolidation stage with a semantic anchor derived from the masked interaction history, then learns an average velocity with a straightness constraint for one-step prediction [32].
2.3 Source–Target Coupling in Flow Matching
Beyond recommendation, flow matching commonly trains on independently paired samples from a simple source and the data distribution [20]. Changing this joint coupling can simplify the regression target without changing either endpoint marginal [2, 23, 39]. OT-CFM constructs minibatch optimal-transport pairings to obtain simpler flows, while Multisample Flow Matching generalizes such pairings and shows lower gradient variance, straighter flows, and stronger few-step generation [14, 26, 33]. Stochastic interpolants with data-dependent couplings directly sample the base conditional on a target observation, enabling conditional transport under the same squared-error objective [1]. For conditional generation, C²OT adds condition-aware transport costs to avoid the train-test mismatch induced by condition-agnostic pairings [4]. A complementary line changes the source distribution itself. Conditional-prior flow matching centers a source distribution near a target-space point predicted from the condition [12], whereas CSFM learns a condition-dependent source and stabilizes it through variance regularization and directional alignment [15].
These studies examine source design and coupling in continuous spaces. In binary CF, constructing a source requires selecting discrete items, but proximity between binary interaction vectors does not directly encode collaborative relations between different items. Diffusion recommenders preserve user information through history-derived corruption or conditioning. FlowCF and CoFlowCF preserve binary states and efficient inference, but draw each training source from the same global distribution without using the paired user's history. SourceFlow instead constructs a displaced binary source using collaborative alternatives that retain the user's preference cues.
3 Preliminaries
3.1 Recommendation Task
Let and denote the user and item sets. Let contain user 's observed training items. We represent this history as , where converts an item set into its binary indicator. The recommendation task is to rank unobserved items according to the user's preferences. Generative CF treats observed histories as samples from a distribution of user behavior. We denote the distribution of target histories by . By reconstructing histories sampled from this distribution, the model learns interaction patterns across users. Its predicted item scores are used to rank unobserved items.

Figure 3: For the same intermediate state and target distribution, changing the source rule can alter the posterior over target histories.
3.2 Flow Matching
Flow matching learns a time-dependent velocity field that transports a source distribution toward . For CF training, source samples provide starting interaction states, and target samples are users' training histories. The state at time evolves according to the ordinary differential equation
Conditional flow matching trains on source-target pairs . The coupling specifies how source states are paired with users' target histories. A standard continuous path is , with conditional velocity . With , the model learns this velocity by minimizing
Intermediate states are sampled directly from this path, so training does not require solving the ODE. The coupling determines the states presented to the model and their target velocities [21].
3.3 Discrete Flow Reconstruction
Continuous interpolation between binary endpoints can produce fractional entries. FlowCF instead selects between the binary source and target history at each item coordinate [21]:
where each entry of is independently sampled from Bernoulli() and denotes element-wise multiplication. The conditional mean interpolates linearly between the endpoints while each sampled state remains binary. FlowCF adopts a data-prediction parameterization: a time-conditioned predictor estimates the target history using the reconstruction objective
with the expectation over users, sampled times, and training states. CoFlowCF further regularizes hidden representations with a contrastive loss [13].
4 Methodology
SourceFlow constructs collaboratively coupled training states in FlowCF, retaining its prediction network, objective, and inference procedure. We first analyze how source-target coupling affects reconstruction (Section 4.1). We then introduce three components. Neighborhood Coupling builds displaced binary sources from collaborative alternatives to the target history (Section 4.2). Collaborative Consensus refines replacement probabilities using broader

Figure 4: Overview of SourceFlow: collaborative source construction and Stretched Restoration during training, with inference from observed user histories.
collaborative support (Section 4.3). Stretched Restoration keeps replacements at late flow times during training, so the model continues to learn to recover displaced interactions (Section 4.4). Figure 4 summarizes training and inference from observed histories.
4.1 From History Corruption to Explicit Source Coupling
Source-dependent reconstruction. Intermediate states can retain target entries even when the source is sampled independently. Nevertheless, a source rule changes their conditional reconstruction problem. For a fixed interpolation scheme, define
The target distribution remains unchanged, but the conditional distribution of histories to reconstruct satisfies
Consequently, the Bayes-optimal predictor for the reconstruction objective in Eq. (4) is
Figure 3 illustrates this dependence: different source rules can favor different restoration targets for the same intermediate state, even with unchanged target histories and loss. Source coupling therefore shapes the restoration relation learned during training.
At , let denote the minimum reconstruction MSE in Eq. (4) and . An independent global source has optimal prediction . Conditional-expectation orthogonality gives
The reduction is strict when the conditional target mean varies with the source. Using the target history itself as the source gives zero reconstruction risk but leaves no restoration task. A displaced
source can still retain recoverable information through its coupling with the target. Appendix F.1 gives the full proof; experiments assess the benefit along the path and for recommendation.
From independent sources to collaborative coupling. Diffusion perturbations originate from the user's history and therefore remain target-dependent [34]. FlowCF instead draws a source from a global frequency-based Bernoulli prior, yielding the independent coupling . This supplies displacement but no source-side information from the paired history. SourceFlow combines displacement with target dependence through
Neighborhood sampling implements this coupling: the target history determines the anchors and eligible replacements, and the resulting source is paired with that same history for reconstruction. Thus, the sampled alternatives define which displaced interactions the model must recover. Consensus refines this conditional distribution, while Stretched Restoration controls how long its replacements remain in the training states.
4.2 Neighborhood Coupling
We use every historical item as an anchor, drawing on the user's full observed profile. Replacements are sampled from each anchor's unobserved collaborative neighbors, whose co-occurrence with the anchor provides cues for recovering the displaced interaction.
We construct an item graph from training interactions, discard weakly supported co-occurrences, and weight the remaining edges by cosine similarity. Writing for the users who interacted with item , the weight of a retained edge is
The weight normalizes co-occurrence by item prevalence. Let denote the retained top- neighbors of .
The eligible pool contains the anchor's top-K neighbors outside user 's history. We sample an eligible replacement according to
If , we draw the replacement from the item-popularity distribution estimated from training data, excluding . Sampling one replacement for each anchor gives a set of pairs and the binary source . The pair set preserves the slot-wise anchor-replacement correspondence used by the training path in Section 4.4.
4.3 Collaborative Consensus
Direct co-occurrence measures the association between an anchor and a candidate, but does not summarize support from other items in histories containing the anchor. Collaborative Consensus aggregates this support to refine replacement probabilities within the same candidate pool.
For a training user v who interacted with i, we average the precomputed cosine weights from Eq. (10) over the remaining history, then aggregate across all users who interacted with i:
(12)
captures indirect support across users through , complementing the direct relation.
We combine the two forms of evidence by reweighting the local distribution:
where smooths the score and controls consensus strength. The pool remains fixed: preserves first-order relevance, while reallocates probability toward candidates with broader support. The statistic is precomputed from training histories and shared across users for each anchor–candidate pair. To construct a user's source, we apply these shared scores to the candidates eligible for that user's anchors. Appendix F.2 derives an optimization interpretation of this reweighting and its effect on expected support.
4.4 Stretched Restoration
Neighborhood Coupling and consensus determine the alternatives in the source; the schedule determines how long they remain visible during training. Under the linear schedule, replacements survive with probability and become rare at late flow times. We retain more of them so the predictor still needs to recover displaced interactions.
For each user, we sample a time and draw an independent selector for each anchor-replacement pair:
Here is the retention exponent. Each slot selects either the historical item or its paired substitute, preserving their correspondence during interpolation. The resulting state is ,
where
(15)
Because is a set, repeated replacements activate one binary coordinate whenever any corresponding slot selects that item. When , each slot selects its original history item with probability , giving a linear schedule for slot selection. For , replacements survive with probability at every interior time, while the source and target endpoints remain unchanged.
The resulting states train the predictor with Eq. (4). Source construction and stretching apply only during training, teaching the predictor to recover missing interactions from collaborative cues at late flow times. At inference, the observed history likewise provides only partial evidence of the user's preferences. Starting from this history at the same late flow times, we follow the two-step rule of FlowCF and CoFlowCF [13, 21]: the first step updates the binary state while retaining observed items, and the second draws on these learned collaborative associations to rank unobserved items. Algorithm 1 summarizes training and inference.
5 Experiments
We organize the experiments around six research questions:
• RQ1: How does SourceFlow perform compared with existing recommendation methods?
• RQ2: What gains do Neighborhood Coupling, Collaborative Consensus, and Stretched Restoration contribute?
• RQ3: How do collaborative source structure and source-target pairing affect reconstruction and recommendation?
• RQ4: How does Stretched Restoration affect recovery and test-set ranking on collaborative perturbation states?
• RQ5: How do the gains vary across item popularity levels?
• RQ6: How sensitive is SourceFlow to its key hyperparameters, and how do its training time per epoch and inference time compare with Base?
5.1 Experimental Setup
Unless otherwise specified, we follow the experimental protocol and implementation settings of CoFlowCF [13].
Datasets. We evaluate on five real-world datasets: Sports, Toys, Video, Beauty, and Yelp. For each user, we split interactions into training, validation, and test sets with an 8:1:1 ratio. Table 5 in Appendix B reports the dataset statistics.
Baselines. We compare with three groups of methods. Discriminative CF baselines include ItemKNN [29], MF-BPR [27], LightGCN [7], and SimGCL [38]. Generative baselines include CDAE [36], Mult-VAE [19], MacridVAE [24], RecVAE [31], DiffRec [34], and GiffCF [40]. Flow-based baselines include FlowCF [21] and CoFlowCF [13]. In the ablation studies, Base denotes CoFlowCF.
Evaluation Protocol. We report Recall and NDCG at cutoffs 10 and 20 under the full-ranking protocol and select checkpoints by validation NDCG@10.
Implementation Details. The collaborative graph and consensus statistics use only training interactions. We select once per dataset
Table 1: Overall performance. Best results are bolded, second-best results are underlined, and improvements are relative to CoFlowCF. Results in this table are averaged over three random seeds. Standard deviations for CoFlowCF and SourceFlow are reported in Table 9.
| Dataset | Metric | Discriminative CF | Generative CF | Flow-based CF | Improv. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ItemKNN | MF-BPR | LightGCN | SimGCL | CDAE | Multi-VAE | MacridVAE | RecVAE | DiffRec | GiffCF | FlowCF | CoFlowCF | SourceFlow | |||
| Sports | R@10 | 0.0319 | 0.0426 | 0.0482 | 0.0561 | 0.0526 | 0.0484 | 0.0525 | 0.0539 | 0.0538 | 0.0395 | 0.0563 | 0.0588 | 0.0724 | +23.13% |
| R@20 | 0.0455 | 0.0651 | 0.0742 | 0.0818 | 0.0777 | 0.0763 | 0.0746 | 0.0790 | 0.0765 | 0.0587 | 0.0799 | 0.0838 | 0.1048 | +25.06% | |
| N@10 | 0.0194 | 0.0237 | 0.0267 | 0.0312 | 0.0299 | 0.0264 | 0.0317 | 0.0302 | 0.0317 | 0.0237 | 0.0326 | 0.0337 | 0.0406 | +20.47% | |
| N@20 | 0.0229 | 0.0294 | 0.0334 | 0.0378 | 0.0363 | 0.0335 | 0.0373 | 0.0367 | 0.0375 | 0.0286 | 0.0387 | 0.0401 | 0.0488 | +21.70% | |
| Toys | R@10 | 0.0819 | 0.0707 | 0.0780 | 0.0752 | 0.0756 | 0.0760 | 0.0798 | 0.0805 | 0.0835 | 0.0986 | 0.0836 | 0.0891 | 0.1100 | +23.46% |
| R@20 | 0.1067 | 0.1003 | 0.1060 | 0.1000 | 0.1047 | 0.1066 | 0.1057 | 0.1076 | 0.1136 | 0.1295 | 0.1139 | 0.1218 | 0.1483 | +21.76% | |
| N@10 | 0.0502 | 0.0423 | 0.0464 | 0.0466 | 0.0465 | 0.0454 | 0.0502 | 0.0493 | 0.0505 | 0.0630 | 0.0507 | 0.0535 | 0.0658 | +22.99% | |
| N@20 | 0.0566 | 0.0499 | 0.0536 | 0.0529 | 0.0539 | 0.0532 | 0.0568 | 0.0562 | 0.0582 | 0.0710 | 0.0585 | 0.0619 | 0.0757 | +22.29% | |
| Video | R@10 | 0.0953 | 0.1032 | 0.1139 | 0.1222 | 0.1066 | 0.1112 | 0.1132 | 0.1148 | 0.1204 | 0.1336 | 0.1230 | 0.1255 | 0.1415 | +12.75% |
| R@20 | 0.1358 | 0.1505 | 0.1668 | 0.1667 | 0.1534 | 0.1653 | 0.1634 | 0.1685 | 0.1681 | 0.1928 | 0.1738 | 0.1795 | 0.2047 | +14.04% | |
| N@10 | 0.0534 | 0.0571 | 0.0632 | 0.0705 | 0.0611 | 0.0609 | 0.0638 | 0.0627 | 0.0695 | 0.0762 | 0.0701 | 0.0711 | 0.0792 | +11.39% | |
| N@20 | 0.0638 | 0.0693 | 0.0768 | 0.0819 | 0.0732 | 0.0747 | 0.0767 | 0.0764 | 0.0817 | 0.0904 | 0.0832 | 0.0850 | 0.0955 | +12.35% | |
| Beauty | R@10 | 0.0981 | 0.0942 | 0.1049 | 0.0962 | 0.1074 | 0.1138 | 0.1156 | 0.1126 | 0.1167 | 0.1215 | 0.1229 | 0.1264 | 0.1365 | +7.99% |
| R@20 | 0.1346 | 0.1362 | 0.1417 | 0.1238 | 0.1526 | 0.1559 | 0.1573 | 0.1544 | 0.1562 | 0.1608 | 0.1638 | 0.1670 | 0.1812 | +8.50% | |
| N@10 | 0.0596 | 0.0530 | 0.0581 | 0.0589 | 0.0625 | 0.0667 | 0.0712 | 0.0666 | 0.0714 | 0.0729 | 0.0745 | 0.0764 | 0.0815 | +6.68% | |
| N@20 | 0.0692 | 0.0641 | 0.0677 | 0.0662 | 0.0743 | 0.0778 | 0.0821 | 0.0775 | 0.0817 | 0.0833 | 0.0853 | 0.0872 | 0.0932 | +6.88% | |
| Yelp | R@10 | 0.0329 | 0.0400 | 0.0426 | 0.0510 | 0.0491 | 0.0480 | 0.0478 | 0.0488 | 0.0465 | 0.0521 | 0.0511 | 0.0547 | 0.0608 | +11.15% |
| R@20 | 0.0504 | 0.0655 | 0.0700 | 0.0785 | 0.0745 | 0.0775 | 0.0753 | 0.0771 | 0.0716 | 0.0837 | 0.0799 | 0.0853 | 0.0950 | +11.37% | |
| N@10 | 0.0189 | 0.0215 | 0.0232 | 0.0282 | 0.0277 | 0.0262 | 0.0268 | 0.0265 | 0.0268 | 0.0294 | 0.0292 | 0.0306 | 0.0341 | +11.44% | |
| N@20 | 0.0236 | 0.0282 | 0.0305 | 0.0355 | 0.0345 | 0.0339 | 0.0340 | 0.0340 | 0.0335 | 0.0377 | 0.0368 | 0.0387 | 0.0431 | +11.37% | |
by validation NDCG@10 and fix it across the three-seed runs. Implementation details are in Appendix B.
5.2 Overall Performance (RQ1)
SourceFlow achieves substantial and consistent gains across all five datasets, ranking first in all 20 dataset–metric combinations (Table 1). Relative Recall@10 gains over CoFlowCF range from 8.0% to 23.5%, averaging 15.7%. On Sports and Toys, improvements exceed 20% across all four metrics.
These gains come from redesigning training sources and their retention schedule, with CoFlowCF’s prediction network and two-step inference procedure unchanged. Sources carry collaborative cues from the paired history, and stretch retains these cues at late flow times. The following ablations separate the contributions of source construction, consensus, and stretch.
5.3 Ablation Study (RQ2)
Table 2 shows gains at each stage of the cumulative ablation. Replacing the global source with collaborative neighbors gives the largest initial improvement, increasing Recall@10 by 15.3% on Sports and 4.8% on Yelp. Collaborative Consensus improves both datasets without changing the candidate pool. Higher-order support therefore helps select replacements beyond what direct co-occurrence provides. Retaining these replacements at later times improves performance further on both datasets: the gains depend on both which alternatives are sampled and how long the predictor encounters them during training. See Appendix D for other datasets.
Table 2: Incremental component ablation on Sports and Yelp, starting from CoFlowCF (Base).
| Component | Sports | Yelp | ||
|---|---|---|---|---|
| R@10 | N@10 | R@10 | N@10 | |
| Base | 0.0588 | 0.0337 | 0.0547 | 0.0306 |
| + Neighborhood | 0.0678 | 0.0377 | 0.0573 | 0.0322 |
| + Collaborative Consensus | 0.0704 | 0.0395 | 0.0588 | 0.0331 |
| SourceFlow | 0.0724 | 0.0406 | 0.0608 | 0.0341 |
5.4 Source–Target Coupling Analysis (RQ3)
We compare source choices and pairings to understand why collaborative sources improve recommendation. Further tests examine preference preservation and whether predictors use these cues to reconstruct target histories.
Source Construction. Table 3 compares source choices on Sports under a linear schedule (). User History copies the target history, leaving no restoration task. Masked History removes some target interactions, while Gaussian-Corrupted History adds Gaussian noise (Appendix B). Both corrupt the original history signal without supplying collaborative alternatives that carry user-preference cues for reconstruction. Uniform Swap replaces historical items one for
Table 3: Comparison of source construction strategies on Sports. NDCG@10 gains are relative to Global.
| Source | R@10 | N@10 | ΔN@10 |
|---|---|---|---|
| Global | 0.0588 | 0.0337 | — |
| User History | 0.0530 | 0.0305 | -9.5% |
| Masked History | 0.0558 | 0.0324 | -3.9% |
| Gaussian-Corrupted History | 0.0211 | 0.0117 | -65.3% |
| Uniform Swap | 0.0547 | 0.0322 | -4.5% |
| Popularity-Matched Swap | 0.0601 | 0.0343 | +1.8% |
| Ours (Neighborhood) | 0.0678 | 0.0377 | +11.9% |
| Ours (+Collaborative Consensus) | 0.0704 | 0.0395 | +17.2% |
| Shuffled Pairing | 0.0547 | 0.0310 | -8.0% |
one with uniformly sampled unobserved alternatives; Popularity-Matched Swap samples them in proportion to global training frequencies. All underperform Collaborative Consensus. These results show that displacement and popularity matching alone do not account for the collaborative gain. We then test whether the gains depend on pairing these sources with the histories that guided their construction. Reassigning the same source vectors across users lowers NDCG@10 to 0.0310 under matched interpolation (Appendix F.6). Using the same neighborhoods for hard-negative regularization also fails to improve Global across the tested weights (Appendix G), supporting the value of collaborative source design.
Preference-Group Preservation. Figure 5 tests whether sources retain users' preference information after observed items are replaced. We cluster users' target histories into five preference groups in an SVD space. Each source is mapped into the same space and assigned to the nearest group center (Appendix F.3). Global's nearly identical rows, concentrated in the largest preference group (Group 2), show that the user's preference group has little effect on the group assigned to the source. SourceFlow's higher diagonal values show that more sources are assigned to the same preference group as their paired histories. Collaborative replacement thus preserves group-level preference cues across different item sets.
History Reconstruction. Figure 6 tests whether the preference cues retained in sources (Figure 5) help the predictor reconstruct target histories. In panel (a), SourceFlow has lower MSE than Global along the path, with the greatest reduction at the starting point (t = 0). At t = 0 in panel (b), each prediction is compared with its paired target history and another user's length-matched history. SourceFlow reconstructs the paired history more accurately (lower MSE) for 92.4% of users, compared with 50.0% for Global and 50.1% for Shuffled Pairing (Appendix F.4). Shuffling removes this advantage, showing that user-specific source-target coupling helps the predictor use the preserved preference cues.
5.5 Restoration along the Training Path (RQ4)
We compare models trained with Collaborative Consensus replacements under linear () and stretched () schedules. At each flow time, both receive the same intermediate states from a fixed stretched path on Sports. We use each model's prediction for
Fraction of sources assigned to each preference group


Figure 5: Preference-group preservation. Target histories are clustered into five groups in an SVD space. Sources are projected into this space and assigned to the nearest group center. SourceFlow's stronger diagonal (b) shows more matches to the paired users' groups than Global (a), indicating that replacements preserve group-level preference cues.

Figure 6: History reconstruction. (a) Target-history MSE along each method's flow path. (b) At t = 0, the win rate is the percentage of users whose prediction has lower MSE for the paired target history than for an unpaired target history. SourceFlow uses Collaborative Consensus ().
both panels. The left panel reports pairwise recovery, the fraction of original historical items that the predictor scores above the alternatives replacing them in the input. The right reports test-set NDCG@10 from the same prediction. Appendix F.5 gives details.
Figure 7 shows higher pairwise recovery and test-set NDCG@10 for the stretched model on shared states, with both advantages persisting at late flow times. Retaining replacements trains the predictor to score missing historical items using collaborative evidence. This ability to score relevant items absent from the input also supports ranking unobserved items from observed histories. Table 2 shows further recommendation gains from adding Stretched Restoration to Collaborative Consensus.
5.6 Performance across Item Popularity (RQ5)
We examine whether collaborative source coupling improves recommendation performance on interactions beyond the most popular

Figure 7: Restoration and recommendation along the flow path on Sports. On shared states, the stretched model scores original historical items above their replacements at a higher rate (a) and achieves higher test-set NDCG@10 (b). Dashed lines mark the flow times used by two-step inference, and .
items. Test interactions are divided into quartiles by their target items' training frequency, from the least popular (Q1) to the most popular (Q4). Figure 8 reports Hit@10 (the fraction of test interactions ranked in the user's top 10) and relative gains over CoFlowCF.
SourceFlow improves Hit@10 across all quartiles on both datasets, with the largest relative gains on less-popular items. The improvements in Q2-Q4 show that the benefit extends beyond the tail while retaining strong performance on the head.

Figure 8: Popularity-stratified performance on Sports (left) and Yelp (right). Top: Hit@10; bottom: relative gains over Base. Q1 is the least popular quartile and Q4 the most popular.
The global prior captures item frequencies but offers no source-side cue for a user's less-common interests. SourceFlow selects replacements through historical anchors and broader collaborative support, so the predictor learns to recover interactions with less-popular items from alternatives in the same collaborative region rather than from popularity-driven states. This mechanism is consistent with the larger relative gains on less-popular items.
Table 4: Efficiency on Sports and Yelp.
| Dataset | Method | Params | Train (s/epoch) | Inference (s) |
|---|---|---|---|---|
| Sports | Base | 7.67M | 0.12 | 0.33 |
| Sports | SourceFlow | 7.67M | 0.14 | 0.32 |
| Yelp | Base | 39.14M | 3.09 | 4.21 |
| Yelp | SourceFlow | 39.14M | 3.09 | 4.22 |
5.7 Parameter Sensitivity and Efficiency (RQ6)
Retention Schedule. Figure 9 varies the retention exponent , which controls how long replacements remain along the path. On both datasets, between 0.3 and 0.7 improves validation and test NDCG@10 over the linear schedule (), with validation performance peaking at .
Neighborhood Size. Neighborhood Coupling and Collaborative Consensus use neighbors per item to limit storage. On Sports, and 200 yield NDCG@10 of 0.0384 and 0.0380, respectively, both above Base (0.0337). Overall, collaborative source design yields consistent gains across the tested settings without requiring fine-grained parameter tuning.

Figure 9: Stretch sensitivity on Sports and Yelp. Outlined markers indicate the validation-selected exponent.
Efficiency. SourceFlow retains Base's parameter count and full-sort inference procedure. The graph and consensus scores are computed once before training. Table 4 shows similar per-epoch training and full-sort inference times for the two methods.
6 Conclusion
We proposed SourceFlow to couple training sources with user histories in flow-based recommendation. It builds displaced binary sources by replacing observed items with unobserved collaborative alternatives. Neighborhood Coupling and Collaborative Consensus guide replacement probabilities. Stretched Restoration keeps these replacements at late flow times to help the predictor reconstruct the original history. Experiments on five datasets demonstrate consistent recommendation gains with the prediction network and inference procedure unchanged. Controlled analyses show that these gains depend on pairing collaborative alternatives with the corresponding histories. Source design can therefore improve history reconstruction by providing collaborative cues beyond the history retained in intermediate states.
References
[1] Michael S Albergo, Mark Goldstein, Nicholas M Boffi, Rajesh Ranganath, and Eric Vanden-Eijnden. 2023. Stochastic interpolants with data-dependent couplings. arXiv preprint arXiv:2310.03725 (2023).
[2] Michael S Albergo and Eric Vanden-Eijnden. 2022. Building normalizing flows with stochastic interpolants. arXiv preprint arXiv:2209.15571 (2022).
[3] Bahare Askari, Jaroslaw Szlichta, and Amirali Salehi-Abari. 2021. Variational autoencoders for top-k recommendation with implicit feedback. In Proceedings of the 44th international ACM SIGIR conference on research and development in information retrieval. 2061–2065.
[4] Ho Kei Cheng and Alexander Schwing. 2025. The curse of conditions: Analyzing and improving optimal transport for conditional flow-based generation. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV). IEEE, 15875–15884.
[5] Paul Covington, Jay Adams, and Emre Sargin. 2016. Deep neural networks for youtube recommendations. In Proceedings of the 10th ACM conference on recommender systems. 191–198.
[6] Carlos A Gomez-Uribe and Neil Hunt. 2015. The netflix recommender system: Algorithms, business value, and innovation. ACM Transactions on Management Information Systems (TMIS) 6, 4 (2015), 1–19.
[7] Xiangnan He, Kuan Deng, Xiang Wang, Yan Li, Yongdong Zhang, and Meng Wang. 2020. Lightgen: Simplifying and powering graph convolution network for recommendation. In Proceedings of the 43rd International ACM SIGIR conference on research and development in Information Retrieval. 639–648.
[8] Xiangnan He, Lizi Liao, Hanwang Zhang, Liqiang Nie, Xia Hu, and Tat-Seng Chua. 2017. Neural collaborative filtering. In Proceedings of the 26th international conference on world wide web. 173–182.
[9] Yu Hou, Jin-Duk Park, and Won-Yong Shin. 2024. Collaborative filtering based on diffusion models: Unveiling the potential of high-order connectivity. In Proceedings of the 47th international ACM SIGIR conference on research and development in information retrieval. 1360–1369.
[10] Guoqing Hu, Zhengyi Yang, Zhibo Cai, An Zhang, and Xiang Wang. 2024. Generate and instantiate what you prefer: Text-guided diffusion for sequential recommendation. arXiv preprint arXiv:2410.13428 (2024).
[11] Yifan Hu, Yehuda Koren, and Chris Volinsky. 2008. Collaborative filtering for implicit feedback datasets. In 2008 Eighth IEEE international conference on data mining, leee, 263–272.
[12] Noam Issachar, Mohammad Salama, Raanan Fattal, and Sagie Benaim. 2025. Designing a conditional prior distribution for flow-based generative models. arXiv preprint arXiv:2502.09611 (2025).
[13] Wangyu Jin, Jiansheng Qian, Wenwen Xia, Hongliang He, Guanfeng Liu, and Pengpeng Zhao. 2026. Contrastive Flow Matching for Collaborative Filtering. In Proceedings of the 49th International ACM SIGIR Conference on Research and Development in Information Retrieval. 679–688.
[14] Beomsu Kim, Yu-Guan Hsieh, Michal Klein, Marco Cuturi, Jong Chul Ye, Bahjat Kawar, and James Thornton. 2024. Simple ReFlow: Improved Techniques for Fast Flow Models. arXiv:2410.07815 [cs.LG] https://arxiv.org/abs/2410.07815
[15] Junwan Kim, Jihoo Park, Seonghu Jeon, and Seungryong Kim. 2026. Better source, better flow: Learning condition-dependent source distribution for flow matching. arXiv preprint arXiv:2602.05951 (2026).
[16] Gyuseok Lee, Yaochen Zhu, Hwanjo Yu, Yao Zhou, and Jundong Li. 2025. Collaborative diffusion model for recommender System. In Companion Proceedings of the ACM on Web Conference 2025. 1091–1095.
[17] Zihao Li, Aixin Sun, and Chenliang Li. 2023. Diffurec: A diffusion model for sequential recommendation. ACM Transactions on Information Systems 42, 3 (2023), 1–28.
[18] Zongwei Li, Lianghao Xia, and Chao Huang. 2024. Recdiff: Diffusion model for social recommendation. In Proceedings of the 33rd ACM international conference on information and knowledge management. 1346–1355.
[19] Dawen Liang, Rahul G Krishnan, Matthew D Hoffman, and Tony Jebara. 2018. Variational autoencoders for collaborative filtering. In Proceedings of the 2018 world wide web conference. 689–698.
[20] Yaron Lipman, Ricky TQ Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. 2022. Flow matching for generative modeling. arXiv preprint arXiv:2210.02747 (2022).
[21] Chengkai Liu, Yangtian Zhang, Jianling Wang, Rex Ying, and James Caverlee. 2025. Flow matching for collaborative filtering. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2. 1765–1775.
[22] Feng Liu, Lixin Zou, Xiangyu Zhao, Min Tang, Liming Dong, Dan Luo, Xiangyang Luo, and Chenliang Li. 2025. Flow matching based sequential recommender model. arXiv preprint arXiv:2505.16298 (2025).
[23] Xingchao Liu, Chengyue Gong, and Qiang Liu. 2022. Flow straight and fast: Learning to generate and transfer data with rectified flow. arXiv preprint arXiv:2209.03003 (2022).
[24] Jianxin Ma, Chang Zhou, Peng Cui, Hongxia Yang, and Wenwu Zhu. 2019. Learning disentangled representations for recommendation. Advances in neural information processing systems 32 (2019).
[25] Rong Pan, Yunhong Zhou, Bin Cao, Nathan N. Liu, Rajan Lukose, Martin Scholz, and Qiang Yang. 2008. One-Class Collaborative Filtering. In 2008 Eighth IEEE International Conference on Data Mining. 502–511. doi:10.1109/ICDM.2008.16
[26] Aram-Alexandre Pooladian, Heli Ben-Hamu, Carles Domingo-Enrich, Brandon Amos, Yaron Lipman, and Ricky TQ Chen. 2023. Multisample flow matching: Straightening flows with minibatch couplings. arXiv preprint arXiv:2304.14772 (2023).
[27] Steffen Rendle, Christoph Freudenthaler, Zeno Gantner, and Lars Schmidt-Thieme. 2012. BPR: Bayesian personalized ranking from implicit feedback. arXiv preprint arXiv:1205.2618 (2012).
[28] Ruslan Salakhutdinov, Andriy Mnih, and Geoffrey Hinton. 2007. Restricted Boltzmann machines for collaborative filtering. In Proceedings of the 24th international conference on Machine learning. 791–798.
[29] Badrul Sarwar, George Karypis, Joseph Konstan, and John Riedl. 2001. Item-based collaborative filtering recommendation algorithms. In Proceedings of the 10th international conference on World Wide Web. 285–295.
[30] Suvash Sedhain, Aditya Krishna Menon, Scott Sanner, and Lexing Xie. 2015. Autorec: Autoencoders meet collaborative filtering. In Proceedings of the 24th international conference on World Wide Web. 111–112.
[31] Ilya Shenbin, Anton Alekseev, Elena Tutubalina, Valentin Malykh, and Sergey I Nikolenko. 2020. Recvae: A new variational autoencoder for top-n recommendations with implicit feedback. In Proceedings of the 13th international conference on web search and data mining. 528–536.
[32] Ke Shi, Yao Zhang, Feng Guo, Jinyuan Zhang, JunShuo Zhang, Shen Gao, and Shuo Shang. 2026. FAVE: Flow-based Average Velocity Establishment for Sequential Recommendation. arXiv preprint arXiv:2604.04427 (2026).
[33] Alexander Tong, Kilian Fatras, Nikolay Malkin, Guillaume Huguet, Yanlei Zhang, Jarrid Rector-Brooks, Guy Wolf, and Yoshua Bengio. 2023. Improving and generalizing flow-based generative models with minibatch optimal transport. arXiv preprint arXiv:2302.00482 (2023).
[34] Wenjie Wang, Yiyan Xu, Fuli Feng, Xinyu Lin, Xiangnan He, and Tat-Seng Chua. 2023. Diffusion recommender model. In Proceedings of the 46th international ACM SIGIR conference on research and development in information retrieval. 832–841.
[35] Ting-Ruen Wei and Yi Fang. 2025. Diffusion models in recommendation systems: A survey. ACM Transactions on Recommender Systems (2025).
[36] Yao Wu, Christopher DuBois, Alice X Zheng, and Martin Ester. 2016. Collaborative denoising auto-encoders for top-n recommender systems. In Proceedings of the ninth ACM international conference on web search and data mining. 153–162.
[37] Zhengyi Yang, Jiancan Wu, Zhicai Wang, Xiang Wang, Yancheng Yuan, and Xiangnan He. 2023. Generate what you prefer: Reshaping sequential recommendation via guided diffusion. Advances in Neural Information Processing Systems 36 (2023), 24247–24261.
[38] Junliang Yu, Hongzhi Yin, Xin Xia, Tong Chen, Lizhen Cui, and Quoc Viet Hung Nguyen. 2022. Are graph augmentations necessary? simple graph contrastive learning for recommendation. In Proceedings of the 45th international ACM SIGIR conference on research and development in information retrieval. 1294–1303.
[39] Yichi Zhang, Yici Yan, Alex Schwing, and Zhizhen Zhao. 2025. Hierarchical rectified flow matching with mini-batch couplings. arXiv preprint arXiv:2507.13350 (2025).
[40] Yunqin Zhu, Chao Wang, Qi Zhang, and Hui Xiong. 2024. Graph signal diffusion model for collaborative filtering. In Proceedings of the 47th International ACM SIGIR conference on research and development in information retrieval. 1380–1390.
A SourceFlow Algorithm
Algorithm 1 outlines the construction and use of training states. Here thresholds each coordinate at and retains the observed items in .
Algorithm 1 SourceFlow training and recommendation
Input: Target histories , predictor , time grid , retention exponent .
Output: Trained predictor and recommendation scores.
function TRAIN()
Build item weights and neighborhoods
Precompute by Eq. (12)
for each training step do
Sample a mini-batch of users
for all do
Sample for each
Draw slot selectors by Eq. (14)
Construct by Eq. (15)
end for
Predict histories
Update with and inherited regularization
end for
return
end function
function RECOMMEND()
return for ranking unobserved items
end function
B Implementation Details
Table 5: Dataset statistics after preprocessing.
| Dataset | #Users | #Items | #Interactions | Density |
|---|---|---|---|---|
| Sports | 22,686 | 12,302 | 185,718 | 0.07% |
| Toys | 11,268 | 7,310 | 95,420 | 0.12% |
| Video | 14,494 | 6,951 | 132,209 | 0.13% |
| Beauty | 10,553 | 6,087 | 94,148 | 0.15% |
| Yelp | 136,346 | 64,670 | 1,856,992 | 0.02% |
Evaluation Protocol. Consistent with all compared methods, we study non-sequential top- collaborative filtering: each user history is an unordered set of observed interactions, equivalently represented as a binary vector, and interaction order is not modeled. We report Recall@ (R@) and NDCG@ (N@), with . Under the full-ranking protocol, we rank all unobserved items for each user. Each user's interactions are randomly split into training, validation, and test sets at an 8:1:1 ratio.
Training Configuration. We implement SourceFlow in PyTorch with RecBole and optimize it using Adam with a learning rate of , a batch size of 4,096, and no weight decay. Training runs for at most 500 epochs, with validation after each epoch and early stopping after 20 epochs without improvement in validation NDCG@10. We restore the checkpoint with the highest validation NDCG@10 for testing. Table 6 lists dataset-specific settings; and denote the weight and temperature of the inherited contrastive loss. Across datasets, the initial dropout rate is zero and the time-embedding dimension is 10. Following CoFlowCF's discretization-step analysis, we use and retain its two-step inference procedure [13]. Within each dataset, Base and SourceFlow use the same hidden sizes, hidden dropout, , and ; only the source construction and retention schedule differ.
Table 6: Dataset-specific settings shared by Base and SourceFlow.
| Dataset | Hidden sizes | Dropout | ||
|---|---|---|---|---|
| Sports | [300, 300] | 0.10 | 0.5 | |
| Toys | [300, 300] | 0.10 | 0.2 | |
| Video | [300, 300] | 0.10 | 0.2 | |
| Beauty | [600] | 0.10 | 0.5 | |
| Yelp | [300, 300] | 0.05 | 0.5 |
Stretch Search. We search over using single-seed validation NDCG@10 and fix the selected value across the three-seed runs. We select on Sports, Toys, Video, and Yelp, and on Beauty. The candidate pool size , consensus exponent , and smoothing constant remain fixed in this search.
Source Construction. We discard item pairs that co-occur in fewer than two users' training histories before cosine normalization and retain the top 50 neighbors of each anchor item. The graph, consensus scores, and fallback popularity distribution are computed once from training interactions. Replacements are resampled for each target history, excluding its observed items. If an anchor has no eligible neighbor, we draw from the training-item popularity distribution, again excluding the history. Replacement and retention operate slot by slot; repeated selections of an item map to a single active coordinate in the binary state.
For Masked History, each target interaction is retained independently with probability 0.5. For Gaussian-Corrupted History, we add i.i.d. noise to the target history.
C Source-Coupling Storage
The source sampler stores three arrays indexed by item and neighbor, each of size : neighbor indices (), log weights (), and consensus scores (mean_c). Table 7 reports their storage footprint, which is smaller than the network weights on both datasets. These arrays are used for training-state construction and are not required for inference.
Table 7: Source-coupling storage and network weight size (MB, rounded).
| Stored component | Sports | Yelp |
|---|---|---|
| Neighbor indices | 4.7 | 24.7 |
| Log weights | 2.4 | 12.3 |
| Consensus scores | 2.4 | 12.3 |
| Total coupling storage | 9.4 | 49.3 |
| Network weights | 29 | 149 |
D Full Component Ablation
Table 8 extends the component analysis to the three datasets not shown in Table 2. Neighborhood Coupling provides the largest initial gain, and Consensus improves all three datasets. Stretch adds further gains on Toys and Video. On Beauty, validation selects , so the full method retains the linear schedule.
Table 8: Component ablation on Toys, Video, and Beauty.
| Component | Toys | Video | Beauty | |||
|---|---|---|---|---|---|---|
| R@10 | N@10 | R@10 | N@10 | R@10 | N@10 | |
| Base | 0.0891 | 0.0535 | 0.1255 | 0.0711 | 0.1264 | 0.0764 |
| + Neighborhood | 0.1057 | 0.0631 | 0.1363 | 0.0770 | 0.1347 | 0.0811 |
| + Consensus | 0.1086 | 0.0647 | 0.1400 | 0.0786 | 0.1365 | 0.0815 |
| SourceFlow | 0.1100 | 0.0658 | 0.1415 | 0.0792 | 0.1365 | 0.0815 |
E Performance across Random Seeds
Table 9 reports the mean and standard deviation across three random seeds for CoFlowCF and SourceFlow on all five datasets.
F Analysis of Source Coupling
F.1 Reconstruction at the Source Endpoint
Fix the target distribution and a source rule . The minimum reconstruction MSE at is
where the minimum ranges over all predictors of the binary target vector. Writing , the conditional residual has zero mean, so for any predictor ,
Hence attains the minimum. Under independent global sampling, the conditional mean is the constant , and . Taking in Eq. (17) and using the common target distribution gives
Table 9: Performance across three random seeds. Each cell shows the mean with standard deviation below.
| Method | R@10 | R@20 | N@10 | N@20 |
|---|---|---|---|---|
| Sports | ||||
| CoFlowCF | 0.0588 | 0.0838 | 0.0337 | 0.0401 |
| SourceFlow | 0.0724 | 0.1048 | 0.0406 | 0.0488 |
| Toys | ||||
| CoFlowCF | 0.0891 | 0.1218 | 0.0535 | 0.0619 |
| SourceFlow | 0.1100 | 0.1483 | 0.0658 | 0.0757 |
| Video | ||||
| CoFlowCF | 0.1255 | 0.1795 | 0.0711 | 0.0850 |
| SourceFlow | 0.1415 | 0.2047 | 0.0792 | 0.0955 |
| Beauty | ||||
| CoFlowCF | 0.1264 | 0.1670 | 0.0764 | 0.0872 |
| SourceFlow | 0.1365 | 0.1812 | 0.0815 | 0.0932 |
| Yelp | ||||
| CoFlowCF | 0.0547 | 0.0853 | 0.0306 | 0.0387 |
| SourceFlow | 0.0608 | 0.0950 | 0.0341 | 0.0431 |
which proves Eq. (8). The gain is strictly positive exactly when with positive probability.
F.2 Consensus as Regularized Source Refinement
Fix an anchor , a history , and a nonempty eligible pool . Suppress these conditions in and , and write and . The score is the expected collaborative support from a remaining historical item. The expectation averages uniformly over users who interacted with and over the other items in each user's history. It measures compatibility with the interaction patterns surrounding the anchor.
For , consider distributions over the same pool and the objective
The first term favors broader collaborative support, while the second penalizes departure from the local distribution. The normalized rule in Eq. (13) is
Substitution yields
Nonnegativity of KL divergence makes the unique maximizer.
For the setting , the improvement in expected support also has a closed form. Let . Then
and subtracting gives
Consensus therefore increases the expected higher-order support of each sampled replacement whenever the candidates differ in that support. If all scores coincide, . The result characterizes the sampler's collaborative compatibility; its effect on reconstruction and recommendation is evaluated empirically.
F.3 Preference-Group Probe
For Figure 5, we randomly sample 3,000 Sports users with at least three training interactions. A rank-64 truncated SVD of the training interaction matrix yields item factors . Both target histories and sources are mapped to using normalization. We cluster the history representations into five groups using -means. The resulting group centers are fixed for both methods; each source is assigned to its nearest center by Euclidean distance. We use one source draw per user, with SourceFlow using Collaborative Consensus sources at . Heatmap rows are normalized within history groups and displayed as fractions rounded to two decimal places. The user-weighted overall match rates are 34.0% for Global and 67.6% for SourceFlow. Independent pairing under the observed group marginals yields approximately 34% for either source.
F.4 History Reconstruction
For Figure 6, we use the trained Global, Collaborative Consensus (, labelled SourceFlow), and Shuffled Pairing checkpoints on Sports. Each variant uses its own predictor and source sampler. Shuffled Pairing uses degree-matched source reassignment and a separately trained predictor.
Path MSE. For panel (a), we evaluate Global and SourceFlow on states from their respective source and interpolation rules at . We draw one state per user at each time and report MSE averaged over all users and item coordinates, with predictors in evaluation mode. Pale green dashed lines (Improvement) connect corresponding points, showing Global's MSE minus SourceFlow's MSE.
Paired-history win rate. For panel (b), we fix another user for each user by pairing neighboring users after sorting by target-history length. This comparison pairing is shared across variants.
With source draws, let and define
Positive means that the prediction is closer to the paired target history. Errors are averaged over all item coordinates. The paired-history win rate is the percentage of users with .
F.5 Path-Recovery Probe
We draw one Collaborative Consensus replacement and one for every history slot. At each time, both predictors receive the same state from and Eq. (15). Let be the displaced slot pairs. For predictor , we compute
Thus, a recovered pair means that the predictor ranks the displaced history item above the substitute occupying its slot. NDCG@10 is evaluated on test interactions, masking training and validation items.
F.6 Interpolation and Pairing Control
We compare interpolation rules on Sports at , keeping the Consensus source sampler and training settings fixed. Slot-wise interpolation uses one selector per anchor-replacement pair, whereas coordinate-wise interpolation independently selects an endpoint at each item coordinate as in Eq. (3). NDCG@10 is 0.0395 and 0.0394, respectively. Both the unshuffled and shuffled controls use the coordinate-wise rule; shuffling reassigns source vectors between users of similar history length and lowers NDCG@10 to 0.0310. Thus, the pairing change has a much larger effect than the interpolation change in this comparison.
G Hard-Negative Control
We keep the Global source and sample an eligible Top-50 neighbor as a hard negative for each observed item . We train with . Here and are the predictor's item scores. Table 10 shows that no tested weight improves over Base (N@10 0.0337), while SourceFlow reaches 0.0406. Thus, the neighborhood graph does not reproduce the coupling gain when used only as a ranking regularizer.
Table 10: Hard-negative control on Sports. is relative to Base N@10.
| Valid N@10 | R@10 | R@20 | N@10 | N@20 | ||
|---|---|---|---|---|---|---|
| 0.005 | 0.0234 | 0.0381 | 0.0544 | 0.0234 | 0.0275 | -30.6% |
| 0.01 | 0.0217 | 0.0368 | 0.0504 | 0.0221 | 0.0256 | -34.4% |
| 0.02 | 0.0206 | 0.0342 | 0.0467 | 0.0208 | 0.0240 | -38.3% |
| 0.1 | 0.0176 | 0.0299 | 0.0416 | 0.0177 | 0.0207 | -47.5% |
| 1.0 | 0.0104 | 0.0203 | 0.0324 | 0.0106 | 0.0136 | -68.5% |