Cohort Mixtures for Real-Time User Cold Start

When a new user arrives at a recommender with no clicks, or only a few, the system does not really know who they are. They might be one of several quite different kinds of user. Most fast cold-start methods still commit to a single guess, a point in the embedding space where users and items are placed so that nearby pairs are good matches. When several kinds of user are equally plausible, that guess tends to land between them, where it is a poor match for every one. Diffusion models, which generate samples by gradually denoising random noise, can represent this ambiguity. The trouble is that they need many sequential network calls per sample. For a user whose profile must be refreshed on every click inside a single page request, that cost is paid on the critical path.

We propose splitting the inference into two parts with very different costs. The part that is expensive but changes slowly is the structure of the warm user population: how many distinct "cohorts" of taste exist, and where they sit. We learn it offline by sampling, using a Dirichlet process mixture (a clustering model that infers the number of clusters from data) fit by Gibbs sampling over warm user embeddings. The part that is cheap but must run per request is the posterior for one cold user: a probability for each cohort plus a Gaussian offset within it, given their attributes and few clicks. We compute it in a single forward pass of an amortized encoder, meaning a network trained once to output posteriors directly. The resulting recommendation uses a full mixture over who the user might be. It costs about as much as a feed-forward lookup, and it updates exactly as each new click arrives.

Core Claim

For user cold start with zero to about five interactions, the useful part of what a generative sampler provides is the ability to keep several separate modes of user intent open. We claim this can be obtained without any iterative sampling at request time, by pairing a sampled global cohort structure with a one-pass local mixture posterior. Concretely, for a cold user with attribute vector $a$ and support set $S$ of observed interactions, the local posterior over the embedding $z$ is

$$ q(z \mid a, S) = \sum_{k=1}^{K} \pi_k(a,S)\, \mathcal{N}\big(z;\, \mu_k + \delta_k(a,S),\, \Sigma_k(a,S)\big). $$

Here $K$ is the number of cohorts, and the cohort means $\mu_k$ and their prior weights come from Gibbs samples of the global mixture. The terms $\pi_k$, $\delta_k$ and $\Sigma_k$ are the per-cohort responsibility, offset and covariance, all produced by one encoder pass.

Items are ranked by expected click probability under $q$. Because the posterior is an explicit mixture, the system can also fill a slate across the top cohorts rather than around their average. The claim makes three testable predictions. First, the gain over deterministic feed-forward adaptation should be largest at $|S| \in \{0,1,3\}$ and should shrink as $|S|$ grows. Second, warm-user accuracy should be unchanged, since warm embeddings and the scoring backbone are never retrained for cold users. Third, a one-step generative sampler at matched latency should not beat the mixture, because it models the same multimodality less directly.

Relation to Prior Work

The mechanism comes from the hybrid inference literature. Its standard division of labor puts sampling on global parameters and amortized variational inference on local variables. WHAI runs stochastic-gradient MCMC over global topic matrices and a Weibull encoder over documents, which makes out-of-sample inference orders of magnitude faster than Gibbs sampling. Deep Dirichlet Process Mixture Models use Gibbs sampling for cluster assignments and SGD for flow weights. Laplace approximated GPSSMs nest a cheap per-instance Laplace step inside a global variational loop. We reuse this global/local split. None of these works targets recommendation, and none makes per-request latency the design constraint.

Two strands of cold-start work motivate the proposal. Mixture and nonparametric recommenders show that cohort structure helps sparse entities. BMFSI-DPM uses a Dirichlet process prior with metadata regression, but runs Gibbs sampling end to end. AMF splits users into a shared attribute component and an individual component fit by EM and ALS, and it falls back to the attribute component for new users. We keep their cohort idea, move all sampling offline, and make the local step a single pass. The second strand is fast meta-learning. MAMO retrieves personalized biases from memories. CMML replaces inner-loop gradient steps with FiLM modulation, which makes it about 2,000 times faster than MAML adaptation. Both output point estimates, and that is exactly the failure we target.

Generative cold-start methods constrain the design. CSDM, MDiffFR and MoDiffE generate item or bundle embeddings with multi-step diffusion, mostly offline. All three leave user cold start open. MDiffFR supplies evidence that deterministic attribute-to-embedding maps collapse onto a narrow sub-manifold. DiffRec needs an interaction history to condition on, so it degrades when that history is empty. One-step generators such as MeanFlow and DAVI show that iterative sampling can be collapsed into one network call, but only in pixel domains. GMFlow shows that unimodal predictions average across modes when large steps are taken. That diagnosis is what we apply to cold users.

The research file frames the obvious combination as "MeanFlow for cold-start embeddings." We treat that as a baseline, not as our contribution, for two reasons. Item cold-start embeddings are generated once per item, offline, so their latency rarely matters. And a generator provides samples without explicit cohort probabilities.

Research Program

The first stage is offline and global. We train a standard collaborative backbone (matrix factorization, or DeepFM for CTR datasets) on warm users. We then run collapsed Gibbs sampling of a Dirichlet process Gaussian mixture over the warm user embeddings, with each cohort also carrying a regression from attributes. We keep a small set of posterior samples of the cohort structure rather than a single fit, and refresh them on a slow schedule.

The second stage trains the local encoder. It is a set encoder over (item embedding, feedback) pairs concatenated with attributes, and it outputs $\pi_k$, $\delta_k$ and a diagonal-plus-low-rank $\Sigma_k$. We train it by maximizing a variational lower bound on held-out clicks of simulated cold users, built by truncating warm histories to $|S|$ interactions. The fixed global mixture serves as the prior. We average the objective over the retained Gibbs samples so the encoder does not overfit one clustering.

For comparison we also implement a non-learned local step. It runs per-cohort Laplace updates using the click likelihood from the few observed items, which costs $K$ small linear solves. This tells us whether the amortized encoder loses accuracy relative to near-exact local inference. The third stage handles ranking. We compare expected-score ranking with cohort-stratified slates, in which slate positions are allocated in proportion to $\pi_k$. The analysis tracks how $\pi_k$ entropy falls with $|S|$, and whether calibration holds, measured as held-out click likelihood and interval coverage of predicted ratings.

Baselines

The naive reference points are a popularity ranker and an "attribute mean" user embedding, the average warm embedding of users sharing the same demographics. Any method that fails to beat these at $|S|=0$ has learned nothing about attributes.

The strongest existing competitors are the fast meta-learners and the mixture factorizer, because they target user cold start at low latency. MAMO reports MAE 0.8894 in the MovieLens-1M cold-user/cold-item scenario, against MeLU's 0.9299 (MAMO). AMF reports user cold-start nDCG@10 of 0.7619 on MovieLens-1M, against LightFM at 0.7550 and MeLU at 0.6313 (AMF). For CMML, no reported metric value was found on Lacuna; only the roughly 2,000-fold speedup and qualitative wins over s²Meta and MeLU are reported. We will reproduce MAMO's and AMF's evaluation protocols exactly, so that our numbers can be set directly against these figures. Beating them means lower MAE than 0.8894 and higher nDCG@10 than 0.7619 under the same splits, with the margin concentrated at small $|S|$. We will also run CMML and MAMO ourselves inside our protocol. Every method gets the same backbone embeddings, the same attribute features, and an equal hyperparameter search budget.

The generative competitors are CSDM's supervised diffusion adapted to generate user embeddings from attributes and support clicks, run at its native step count and at one to four steps, and a one-step MeanFlow conditional generator trained on the same targets. We compare them at matched p99 latency on the same CPU serving setup and at matched training compute. Beating them means equal or better ranking at a fraction of their latency, or better ranking at equal latency.

Four ablations isolate the key ingredients. Setting $K=1$ turns the method into Bayesian shrinkage with a single Gaussian. Ranking with the posterior mean of the full mixture tests whether multimodality matters at ranking time or whether it only improves the mean. Replacing the Gibbs-sampled global structure with a single k-means or EM fit tests whether sampling the global level is worth its cost. The amortized encoder versus the per-request Laplace step measures the amortization gap.

Why not just…?

Why not just use CMML-style deterministic modulation, since it is already feed-forward and fast? This is the method whose weakness we predict: a single output that averages between cohorts when evidence is thin. The mean-of-mixture ablation tests the prediction directly. If ranking by the mixture's mean matches ranking by the full mixture, then multimodality does not matter for ranking and the proposal's central claim fails. We would report that outcome.

Why not just train a mixture-density encoder end to end, with no Gibbs sampling at all? This is the most serious threat. An encoder that outputs $K$ Gaussians and learns their means jointly is our method minus the global sampling stage, and it may work as well. The k-means/EM and learned-means variants settle the question. We expect the sampled structure to help mainly in two ways: when choosing $K$ from data, and for rare cohorts that end-to-end training tends to merge. Both effects should be visible in per-cohort accuracy for small cohorts. If they are not, the simpler variant becomes the recommended method, and the contribution narrows to the empirical case for mixture posteriors in user cold start.

Why not just distill a diffusion recommender into one step, or train MeanFlow directly? A one-step generator also produces multimodal samples. MeanFlow reaches FID 3.43 in one step on ImageNet 256×256, far better than earlier one-step shortcuts (MeanFlow), so collapsing the sampler is credible. However, a single sample does not give cohort probabilities. Estimating those needs many samples per request, which reintroduces the latency we set out to remove, and training carries the roughly 16% JVP overhead reported for MeanFlow. The matched-latency comparison settles this question.

Why not just use AMF-style attribute fallback? AMF already captures shared attribute effects, and it is strong at $|S|=0$ when demographics are informative. It cannot be tested in the extreme regime where attributes are missing. We therefore run a variant of MovieLens-1M with demographics removed, where cohort responsibilities must come from the first clicks alone.

Proposed Experiments

The main benchmarks are MovieLens-1M and Book-Crossing, using the cold-user splits of MAMO and AMF, with support sizes $|S| \in \{0,1,3,5,10\}$ and the demographics-removed MovieLens-1M variant. To test latency at scale, we use MovieLens-20M and Taobao Display Ad Click, where CMML reported its speedup. We report MAE, nDCG@10 and Recall@20 for accuracy. For uncertainty, we report held-out click log-likelihood and rating-interval coverage. For serving cost, we report p50 and p99 per-request latency for re-inferring a user after each click.

Three checks decide the outcome. First, the proposal must beat CMML and MAMO at $|S| \le 3$, with the gap shrinking by $|S|=10$. A constant gap would suggest a better backbone rather than better handling of ambiguity. Second, full-mixture ranking must beat mean-of-mixture ranking. Third, the method must match or exceed a one-step MeanFlow generator at equal latency, with warm-user nDCG unchanged relative to the backbone. If the second check fails, the idea is wrong. If only the Gibbs ablation fails, the idea survives in its simpler, fully amortized form.