Beyond the One Clicked Item: Soft Targets for Parallel Generative Recommendation
A hard label tells a parallel generative recommender which item was observed but nothing about the distribution of plausible alternatives under the same user history; the two distillation objectives in [1] recover that soft knowledge at the price of building a bridge between item space and code space.
On this page
Li leads a three-person team at an online store, and on Monday he has to sign off on one decision: replace the recommender that currently spells out its answer one piece at a time with a newer version that produces the whole answer in a single shot. He has two documents in front of him: a scoring sheet from the old model listing what each user is likely to click next, and an acceptance report for the new model. Under the way he currently checks things, the new model passes as long as it ranks the one item the user actually clicked at the top; everything else that might also have been reasonable after the same browsing history is simply not looked at. That check quietly drops a whole class of information. The old scoring sheet is full of items that were nearly clicked but were not, and the acceptance report says nothing about them, so he can easily approve a model that lost information as an upgrade. Paper [1] is about how to put that missing information back.
The Default: Only the Observed Item Counts
Start with what the newer model actually does. Every item in the catalogue is written as a short string of discrete codes derived from the item's meaning rather than handed out at random; that string is called a semantic ID, which simply means each product carries a code made from what it is, much as a library book gets a call number built from its subject, author and year. To recommend, the model does not pick from a list of items, it predicts this string of codes, and the codes map back to a specific product. Different items may share the same code at one position and are told apart only by the full string, a detail that matters later [1].
The older generation produced one code at a time, with each later code waiting for the earlier ones to be fixed; generating in a chain where each step depends on the previous ones is called autoregressive. The newer version predicts all code positions at once so they do not wait on each other, which is parallel semantic-ID recommendation, in plain terms turning a queue out of a door into everyone leaving together. Paper [1] is about exactly this one-shot family of models: unlike early TIGER, which generates positions conditioned on preceding codes, it resembles RPG, which uses several heads to emit every position simultaneously.
The trouble is in the training material. These models are usually taught from a single record: the one item actually observed after a user's history, whose code string is treated as the only correct answer. Supervision that recognises one right answer and treats everything else as wrong is called a hard label. It tells the model what the target is, but not which other items would also be plausible under the same history, or how plausible each one is. The model ends up knowing the target and knowing nothing about the near misses [1].
This is not an abstract worry. Older sequential recommenders already score every candidate item, and once those scores pass through a softmax, which converts a set of uneven scores into probabilities that add up to one so higher scores get more mass, the result is a table spelling out what the next item might be and how likely each option is. The items that were not clicked but still carry probability are exactly the part that hard labels erase. The starting point of [1] is to move that table's information into the new model.
The Teacher Speaks Items, the Student Speaks Codes
Handing the old model's distribution to the new one is done with knowledge distillation: a trained model with softer judgments passes the tendencies in its output to another model, the first called the teacher and the second the student, or in everyday terms an experienced colleague passing along not just right and wrong but a sense of which alternatives are nearly as good. Here the teacher is the sequential model that scores items one by one, and the student is the model that predicts codes in parallel [1].
The difficulty is that the two sides do not speak the same language. The teacher lives in item space: it outputs one probability table covering the whole catalogue, one slot per concrete product. The student lives in code space: it outputs probabilities over code values at several positions, none of which corresponds directly to a product. One table is indexed by items, the other by code positions, so the shapes do not line up and the teacher's probabilities cannot simply be pasted onto the student's outputs [1].
Paper [1] states plainly that earlier ways of moving sequential knowledge into generative recommendation either align tokens against an already generated prefix or distill through learnable identifiers, and both assume the model generates one position at a time. A parallel model has no prefix at all, because every position is produced in one shot. The core problem therefore becomes a concrete engineering question: how to translate soft information that is a distribution over items into a student that outputs distributions over code positions, without breaking its one-shot structure.
- The teacher supplies probabilities over the entire catalogue while the student supplies per-position probabilities, so the two objects have different dimensions;
- The student must stay parallel and cannot slip back into position-by-position autoregressive generation;
- What must transfer is soft information, the relative probabilities of items that were never observed, not a louder restatement of the one observed item;
- The mapping from items to codes is fixed, so the translation must not quietly rewrite that mapping [1].
IDM: Rebuild an Item Distribution From Parallel Codes, Then Align It
The first objective is called Item Distribution Matching, or IDM. Its trick is to translate the student's output back into the teacher's language first. Even though the student predicts per position, combining the probabilities of the codes that make up a given item's string yields a score for that item, and normalising those scores across the whole catalogue, meaning scaling them into numbers that sum to one so they can be read as probabilities, reconstructs a distribution over what items the student thinks are likely. That step rebuilds an item-space view out of the parallel output [1].
Once the rebuilt item distribution exists, the remaining job is to make it resemble the teacher's. The paper does this with soft cross-entropy, a loss measuring how far two probability distributions sit from each other, so an item the teacher rates highly but the student reconstruction rates low is penalised. Crucially, the unobserved items carry non-zero probability in the teacher's table, and they are what pass the shape of the runner-up options into the student, precisely the thing a hard label cannot supply [1].
One detail defines IDM: its normalisation looks at the entire catalogue, pooling every item's score into a single comparison. The analysis in [1] argues that both objectives are in fact driven by teacher-induced code marginals and differ mainly in how the student side normalises, with IDM normalising across items jointly. That single choice shapes where it helps most. Put differently, IDM spends effort turning codes back into items and aligns at the item level, taking a detour that nonetheless brings the relative standing of the whole catalogue into view.
CMM: Instead, Spread Teacher Probabilities Onto Each Code Position
The second objective, Code Marginal Matching or CMM, reverses the direction of translation. It does not rebuild an item distribution. Using the fixed item-to-code assignment, it adds each item's teacher probability onto the matching code positions, producing, for every position, how much probability mass each code value holds; a distribution obtained by summing probabilities along one dimension is called a marginal. The intuition is simple: if the teacher says items A and B are both plausible and both share the same code in the first position, then that code's marginal probability in the first position is the sum of the two [1].
With a marginal in hand for each position, CMM aligns it to the corresponding student head using KL divergence, a quantity measuring how different two probability distributions are that equals zero when they match. Since the student already outputs per position, this step needs no reconstruction and no cross-item comparison, it lines up directly [1].
CMM normalises inside each code position, each position computing its own probabilities without mixing with the others. That is the mirror image of IDM's catalogue-wide normalisation, and [1] treats the two as two sides of one coin: both driven by teacher-induced code marginals, separated only by the range over which the student normalises. This is also why they complement rather than replace each other.
| Aspect | IDM (Item Distribution Matching) | CMM (Code Marginal Matching) |
|---|---|---|
| Direction of translation | Rebuilds an item distribution from parallel codes, back to item space | Spreads item probabilities onto code positions, stays in code space |
| Quantity used to align | Soft cross-entropy | KL divergence |
| Student-side normalisation | Jointly across the whole catalogue | Independently within each code head |
| What it relies on | Combining per-position probabilities into item scores | Summing through a fixed item-to-code assignment |
| Stronger on | Recall@10, how many relevant items land in the top 10 | NDCG@10, a ranking score rewarding hits nearer the top |
Results on Three Datasets, and My Take
Paper [1] compares both objectives with contemporary recommendation methods on three benchmark datasets and reports two average gains: IDM lifts Recall@10, the count of relevant items that appear among the top 10 recommendations, by 15.39 percent on average, while CMM lifts NDCG@10, a ranking metric that rewards hits closer to the top, by 8.28 percent on average. One clarification matters: these percentages are the paper's own averaged conclusions, and the material I have gives only these two figures without any per-dataset breakdown, so I will not split them, back out per-dataset values, or invent finer results [1].
The direction matches the abstract: IDM shows up more on recall-style metrics and CMM on ranking-quality metrics. The paper [1] attributes this to the different normalisation ranges, since normalising across the whole catalogue more easily pulls the should-appear items into the top 10, while normalising within each position more easily gets the relative order of code values right. The paper also devotes a mathematical appendix to how the two objectives relate, states a forward-KL decomposition proposition, discusses gradient calibration for joint training, and includes experiments that train both objectives together and fuse their predictions [1].
Put the numbers back into Li's decision. He used to check only whether the clicked item ranked first; now he can also check whether the plausible-but-unclicked items are assigned sensible probability. The first is what hard labels can police, the second is what these two objectives add [1].
Where the Method Stops
Fix the scope first. The object of study in [1] is specific: the item-to-code assignment is fixed, the student emits every code position at once, and the teacher is a sequential model scoring items individually. Change any one of these, for instance to learnable identifiers, back to autoregressive generation, or a teacher that cannot produce a catalogue-wide probability table, and the form of both objectives has to be rederived rather than carried over [1].
- Data scope: the material only says three benchmark datasets were used, with no names, sizes or domains, so the findings cannot be extended outside that panel;
- Metric scope: the reported gains are on two ranking metrics, Recall@10 and NDCG@10, not on click-through rate, dwell time or revenue;
- Granularity: only two averaged percentages are available, with no per-dataset or per-user breakdown and no variance or significance, so stability cannot be judged;
- Assumptions: everything depends on a trained teacher and a fixed item-to-code mapping, whose quality directly shapes the soft information being transferred;
- Open questions: the paper does not say one objective dominates everywhere, gives no rule for when to use only one, and mentions joint training and prediction fusion only as experiments [1].
In one sentence: this approach applies when you already have a recommender that generates codes in parallel, an older model that can give you an item distribution, and an acceptance test pinned to Recall@10 and NDCG@10. If instead you are asking whether a different coding scheme still works, or how much online revenue will move, the material contains no such conclusion and I will not answer on its behalf; that kind of question calls for a different evaluation, not more argument over these two percentages [1].
