Popularity-Calibrated Filtering of LLM-Written User Histories for Sparse Recommendation Domains

Many recommender platforms serve several product categories at once. A few large categories supply most of the interaction data, and many small ones have almost none. A tempting fix is to have a large language model write synthetic user histories for the small categories, such as plausible sequences of pet-supply purchases, and to train the production model on them. The difficulty is deciding which synthetic histories to keep. A language model knows popular items well, often because it memorized public datasets during pre-training. It knows little about niche items, and it fabricates fluent but implausible sequences around them. The filters used for synthetic text either let these fabrications through, which happens when several similar models agree on the same mistake, or throw away most niche data, which happens when one strict consistency threshold is applied to everything. This proposal fixes the second failure. Each synthetic history is kept only if it looks as plausible as real histories that end in items of similar popularity. In effect, the filter's strictness is set separately for the head and the tail of the catalog.

The language model is used only offline, as a data writer. The model that actually serves users stays a fast sequential recommender that works with item identifiers. This avoids the serving-latency problem that blocks generative recommenders from live ranking. In two sentences: synthetic histories for sparse categories help a fast recommender only if they pass a filter calibrated against real data within each item-popularity band. We test whether this calibration, and not synthetic data or filtering in general, is what protects the long tail.

Core Claim

The file records an unresolved tension. Promptagator generates synthetic search queries with a large model and keeps only those from which a temporary retriever can recover the source document. It found this "round-trip" filter too strict on small corpora such as NFCorpus, where it discarded useful long-tail signal. SSCTL transfers dominant-domain data into sparse domains through confidence-weighted pseudo-labels, and it argues the opposite: sparse domains need aggressive noise suppression. We claim both are right about different parts of the catalog.

A filter with one global threshold is effectively a popularity filter. Real histories that end in tail items score low under any checking model, so synthetic tail histories are rejected at a much higher rate than synthetic head histories. This happens whether or not the synthetic tail histories are wrong. Calibrating the threshold within each popularity band removes that bias while still rejecting synthetic histories that look worse than real ones.

The filter works as follows. The checker model $f$ is the served recommender after training on the dense categories plus the small real target-domain set. For a synthetic history $\tau$, let $s(\tau)$ be the average rank percentile that $f$ assigns to each observed next item. For each popularity band $b$ of the next item, collect the scores of held-out real target-domain histories in that band. Accept $\tau$ if

$$ s(\tau) \ge q_b(\alpha), $$

where $q_b(\alpha)$ is the $\alpha$-quantile of real scores in band $b$. By construction, a real history passes with probability about $1-\alpha$ in every band, so the filter's false-rejection rate is equalized across head and tail. A uniform threshold cannot do this. The calibration step borrows the quantile logic of conformal prediction. What the proposal contributes is its use as a band-wise acceptance rule for synthetic behavioral data.

Research Program

The pipeline is a three-stage curriculum. The ordering follows the finding in Neural Machine Translation Training in a Multi-Domain Scenario that sequential training should move from the least similar data to the most similar. It also follows the domain-before-task ordering argued in Don't Stop Pretraining. Stage one trains the served recommender on the dense categories. Stage two trains it on filtered synthetic target-domain histories. Stage three fine-tunes it on the scarce real target-domain histories.

The synthetic writer is an open language model. Following Promptagator's few-example recipe, we prompt it with the target catalog's item text and a handful of real target histories. Generated item titles are mapped to real catalog items by BM25 lookup, as CALRec does. Titles that match no catalog item are dropped. CALRec is the closest method source, since it already runs a multi-category-then-single-category curriculum on Amazon data. It uses only real logs, however, and it serves a generative model. We serve an identifier-based model, so its latency matches production rankers.

Two design choices address the knowledge-gap direction. First, the checker is a collaborative model trained on real behavior, not another language model. This avoids the correlated-hallucination failure of multi-model consensus filters such as Ensemble-Instruct and ChainLM: language models that share pre-training data agree on the same popular-item stereotypes. Second, every result is reported separately for items the writer "knows" and items it does not. We measure this with the title-completion memorization probe of Do LLMs Memorize Recommendation Datasets?, which found GPT-4o covered 89% of the most popular 20% of MovieLens-1M items but only 64% of the least popular 20%. If the gains come only from memorized items, the method is recycling pre-training leakage rather than filling a knowledge gap. TALLRec's own attribution of its few-shot gains to "world knowledge" (TALLRec) is exactly what this check would test.

The online direction enters as a constraint, not as a claimed result. The served model must fit standard ranking latency budgets. We will not claim live lift from offline numbers, because the file documents repeated divergence between offline and online metrics. As a partial safeguard, every model is also scored after within-user sequence shuffling. Our Model Achieves Excellent Performance on MovieLens showed that SASRec loses 41.6% of HR@10 under shuffling on MovieLens because it exploits platform artifacts. We want to know whether synthetic histories add real sequential structure or only popularity mass.

Baselines

The naive reference is the same served recommender and curriculum with stage two removed: dense-category training, then real target data only. A second cheap reference skips synthesis and simply oversamples or upweights the real target data to the same number of training examples that synthesis would add. The architecture is a self-attentive sequential model; we will use the AutoCDSR cross-domain sequential recommendation code where it applies.

The strongest existing competitor for this problem is SSCTL (SSCTL), because it targets the same imbalance between dominant and sparse domains using filtered artificial labels. We re-implement its confidence-weighted pseudo-labeling and soft domain partitioning on the same Amazon category splits, using the same backbone and the same hyperparameter search budget. The file reports only live figures for it: GMV uplift of 0.54% to 2.90% and CTR uplift of 0.22% to 1.69% over a 10-day Meituan A/B test. No reported offline number was found on Lacuna for SSCTL on Ali-CCP or Amazon Reviews 2018, so we will establish our own. On the Amazon data, the reference point is CALRec's reported +37.3% Recall@1 and +23.8% NDCG@10 over identifier-based baselines across six categories. We will also run CALRec directly, with latency reported, as an upper reference for a semantically rich but slow model.

The filtering baselines all use the identical synthetic pool. They are: no filter; a uniform-threshold round-trip filter in the style of Promptagator; a consensus filter in which three different language models must each rate the history plausible, in the style of Ensemble-Instruct; and a language-model perplexity filter. The key ablation compares calibrated and uniform thresholds at matched total acceptance rate, so that any difference comes from where data is accepted, not how much. Beating the field means a statistically significant gain in tail-band NDCG@10 on sparse target categories over both SSCTL and the tuned uniform filter, across seeds, with no loss in head-band accuracy.

Why not just…?

Why not just use SSCTL-style pseudo-labels and skip synthesis? This is a real threat. Pseudo-labeling reuses real dominant-domain behavior, which carries none of the language model's fabrication risk. Its limitation, noted in the file, is that it only relabels observed interactions. It cannot create sequences involving sparse-domain items that no dominant-domain user touched. We run the two head to head and also combined. If SSCTL matches our method on tail bands, the synthesis half of the proposal is not needed, and we will report that.

Why not just serve the adapted language model, as CALRec or TALLRec do? CALRec's generation plus BM25 lookup and TALLRec's per-item yes/no prompting are far too slow for ranking under the time-out limits that NLGR describes. NLGR avoids even autoregressive decoding in re-ranking for this reason. We report CALRec's accuracy and latency so readers can see the size of the gap we try to close cheaply.

Why not just tune one global threshold carefully? The matched-acceptance ablation exists to answer this. If a well-tuned uniform threshold recovers the same tail accuracy, band-wise calibration is unnecessary and the core claim fails. We also report per-band acceptance rates. Our prediction is that the uniform filter rejects real-like tail histories several times more often than head ones, which would reproduce Promptagator's NFCorpus finding in the recommendation setting.

Why not just upweight the scarce real data? If oversampling a few hundred real users matches synthetic augmentation, the language model adds nothing. This baseline is cheap and is run at matched example counts.

Proposed Experiments

The main testbed is Amazon Reviews 2018, deduplicated as in CALRec to remove last-item repeats. Several categories, including Video Games and Pet Supplies, serve as targets and are subsampled to a few hundred users, with the remaining categories acting as dense sources. Ali-CCP provides a second multi-domain check. Metrics are Recall@1, NDCG@10, and MRR on a temporal split. Each is broken down by item-popularity band, by memorization-probe status, and by the drop under sequence shuffling.

The proposal is supported by three results, taken together. First, calibrated filtering beats uniform filtering at matched acceptance on tail bands. Second, this advantage persists on items the writer did not memorize. Third, the full pipeline beats SSCTL and oversampling on sparse categories without losing shuffle-sensitivity, which shows that the retained synthetic histories carry order information rather than only popularity. If the gains appear only on memorized items, or vanish at matched acceptance, the idea is wrong in an informative way. A live A/B test is left to an industrial partner and is not claimed here.