Manuscript Offprint
arXiv:2610.34700DPE-Rec: Diversity-Preserving and Efficient Diffusion Language Model Recommendation for Bundle Construction
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Pingchuan Ma
Arizona State University
Tempe, Arizona, USA
Dawei Li
Arizona State University
Tempe, Arizona, USA
Bohan Jiang
Arizona State University
Tempe, Arizona, USA
Zhen Tan
Stevens Institute of Technology
Hoboken, New Jersey, USA
Chengshuai Zhao
Arizona State University
Tempe, Arizona, USA
Huan Liu
Arizona State University
Tempe, Arizona, USA
Abstract
Generative bundle construction completes a partially observed bundle by generating its missing items from a large product catalog. Compared to autoregressive LLMs, diffusion LLM emerges as a natural fit for this unordered generation task. Their bidirectional attention provides an inductive bias better aligned with unordered bundle construction. Iterative denoising can reveal multiple tokens per step, potentially reducing inference latency. However, directly applying DLMs to this task presents two key challenges: ① Despite its flexible reveal order, confidence-guided decoding tends to postpone semantic-fork decisions until refinement tokens constrain their choices, reducing bundle diversity. ② Revealing more tokens per step can compromise recommendation quality, stifling the potential for faster inference. We introduce DPE-Rec, a diffusion framework for diversity preservation and efficient recommendation. DPE-Rec preserves diversity by introducing semantic-fork-aware GRPO, which prioritizes semantic-fork decisions via autoregressive rollouts. It improves efficiency through pseudo-trajectory distillation, which concentrates learning from the vast random corruption space onto the compact trajectory-induced subspace visited by high-quality decoding, unlocking reliable multi-token decoding. Together, these components enable diverse and accurate bundle construction with substantially fewer denoise steps. Experiments on multiple bundle construction benchmarks show that DPE-Rec improves recommendation performance by 63% on average, and its fast variant achieves faster inference on average than existing generative recommendation arts, with minimal loss in recommendation quality.
CCS Concepts
• Information systems → Language models; Recommender systems.
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.
Conference acronym 'XX, Woodstock, NY
© 2018 Copyright held by the owner/author(s). Publication rights licensed to ACM.
ACM ISBN 978-1-4503-XXXX-X/2018/06
https://doi.org/XXXXXXX.XXXXXXX
ACM Reference Format:
Pingchuan Ma, Bohan Jiang, Chengshuai Zhao, Dawei Li, Zhen Tan, and Huan Liu. 2018. DPE-Rec: Diversity-Preserving and Efficient Diffusion Language Model Recommendation for Bundle Construction. In Proceedings of Make sure to enter the correct conference title from your rights confirmation email (Conference acronym 'XX). ACM, New York, NY, USA, 12 pages. https://doi.org/XXXXXXX.XXXXXXX
Existing approaches broadly follow discriminative and generative paradigms. ID based sequential models[7, 11, 12, 29, 30, 35, 36, 40] capture user preferences from interaction sequences through recurrent, convolutional, or attention-based architectures. However, their reliance on sparse item identities limits semantic sharing across related items. Representation enhanced discriminative models[17–19, 22, 38] alleviate this limitation by incorporating item features, multiple interaction views, or compositional representations. Nevertheless, they still retrieve or rank catalog candidates, implicitly modeling dependencies among jointly selected items only. Semantic ID (SID) based generative models[10, 13, 16, 24, 27, 31, 33, 39] instead represent each item with a sequence of discrete tokens and directly generate target identifiers. Autoregressive generation further captures dependencies among generated items through sequential conditioning. Yet its fixed left-to-right generation order imposes an artificial ordering on an inherently unordered set, resulting in an inductive bias poorly aligned with bundle construction.
Diffusion language models (DLMs) offer a promising alternative by constructing bundle SIDs through iterative masked denoising [31]. Their bidirectional attention provides an inductive bias better aligned with unordered bundle construction. Iterative denoising can reveal multiple tokens per step, potentially reducing inference latency. In confidence-guided decoding, the model ranks remaining masked positions by confidence and reveals one or more of the highest-confidence tokens per round. The ranking determines the reveal order, while the number of revealed tokens controls
Anonymous et al.

(a)
(b)
Figure 1: (a) High similarity among items generated by the DLM bundle recommender; (b) Conservative decoding with more denoising steps produces legal SIDs, whereas aggressive decoding with fewer steps produces illegal SIDs.
parallelism. Yet realizing these advantages presents two critical challenges. ① Despite its flexible reveal order, confidence-guided decoding tends to postpone semantic-fork decisions. The first SID token selects a coarse semantic region of the catalog and typically has higher uncertainty than later refinement tokens. Confidence ranking therefore prioritizes high-confidence refinement tokens, forcing the semantic fork to accommodate these earlier decisions rather than explore alternative semantic branches. Figure 1(a) shows high pairwise cosine similarity among fifteen generated items, illustrating the resulting loss of bundle diversity. ② Revealing more tokens per step can compromise recommendation quality, stifling the potential for faster inference. Because simultaneously revealing dependent SID tokens relies on a bold conditional independence approximation, individually plausible predictions can combine into illegal SIDs. Figure 1(b) shows that aggressive parallel decoding reduces latency but sacrifices SID validity, whereas conservative decoding requires many more denoising rounds. To overcome these limitations, we introduce DPE-Rec, a diffusion framework for diversity preservation and efficient inference. Semantic-fork-aware Group Relative Policy Optimization (GRPO) [26] preserves diversity through fork-first autoregressive rollouts and higher sampling temperatures at semantic forks. Pseudo-trajectory distillation improves efficiency by concentrating learning from the vast random corruption space onto the compact trajectory-induced subspace visited by high-quality decoding, unlocking reliable multi-token decoding. Together, these designs enable diverse and accurate bundle construction with substantially fewer denoising rounds.
Our main contributions are summarized as follows:
-
We identify two fundamental limitations of diffusion bundle recommenders. Confidence-guided arbitrary-order decoding prioritizes refinement tokens over semantic forks, restricting bundle diversity, while aggressive parallel decoding relies on a bold conditional independence approximation that compromises recommendation quality.
-
We propose semantic-fork-aware GRPO to preserve bundle diversity by confronting semantic forks while their uncertainty remains intact. It combines fork-first autoregressive rollouts with level-specific sampling temperatures, without altering the bidirectional denoiser or its parallel decoding capability.
-
We introduce pseudo-trajectory distillation to concentrate denoising learning on the compact subspace induced by high-quality, sequential, confidence-guided trajectories. This enables the model to preserve dependencies among SID tokens while resolving multiple tokens per denoising round, substantially improving inference efficiency without sacrificing recommendation quality.
-
Experiments on multiple bundle construction benchmarks show that DPE-Rec improves recommendation performance by 63% on average, while its fast variant achieves 25.6 times faster inference on average than existing generative recommenders, with minimal loss in recommendation quality.
2 Preliminary
2.1 Diffusion Language Model
Diffusion language models generate discrete sequences through iterative masked denoising. Given a clean sequence , the forward process independently replaces each token with mask token according to a masking ratio :
where denotes the token position. A neural network predicts the original tokens at masked positions.
During inference, generation starts from a fully masked or partially observed sequence. At each round, the model predicts all masked positions and reveals a subset of tokens according to a decoding policy, commonly based on prediction confidence. This process updates to until all tokens are revealed. Autoregressive generation is a special case that always reveals the leftmost masked token.
The model is trained by minimizing the negative evidence lower bound, which reduces to a weighted cross-entropy objective:
2.2 Group Relative Policy Optimization
GRPO is a reinforcement learning algorithm for autoregressive policies, whose explicit token factorization enables tractable likelihood estimation and direct credit assignment without a learned value function. Given a policy , GRPO samples a group of outputs from the old policy and normalizes their rewards within the group:
where and are the mean and standard deviation of the group rewards. GRPO then optimizes a clipped surrogate objective with KL regularization:
DPE-Rec : Diversity-Preserving and Efficient Diffusion Language Model Recommendation for Bundle Construction Conference acronym 'XX, June 03–05, 2018, Woodstock, NY

Figure 2: Overview of diffusion language model-based bundle recommendation. Item representations from a pretrained encoder are discretized into semantic identifiers through residual vector quantization, where successive SID tokens encode progressively finer semantics, and the first token primarily determines a coarse item cluster. During training, each token is independently replaced with <m> with probability t, and the denoiser reconstructs the clean sequence using token-wise cross entropy over masked positions. During inference, the SIDs of observed items remain visible while the missing item positions are initialized with <m>. Iterative denoising then reveals one or more tokens at each round until the bundle is completed.
where the token-level importance ratio is
3 Understanding the Quality and Efficiency Limitations
Before introducing DPE-Rec, we examine two limitations of diffusion-based bundle construction. ① confidence-guided arbitrary-order decoding postpones uncertain early SID decisions, reducing bundle diversity and producing highly similar recommendations. ② parallel decoding creates an inherent quality and efficiency tradeoff, forcing a choice between unreliable SID generation and excessive inference latency.
3.1 The Flexibility Trap in Diffusion Recommenders
Arbitrary Order Decoding Restricts Recommendation Exploration. The flexibility of arbitrary order decoding does not necessarily translate into broader recommendation exploration. To examine this effect, we evaluate the same diffusion recommender checkpoint under two inference orders while keeping the remaining decoding and evaluation settings unchanged. The conventional policy reveals tokens according to prediction confidence and therefore allows SIDs to be generated in an arbitrary order, which we denote as AO. In contrast, autoregressive decoding, denoted as AR, does not introduce a separate model or modify the bidirectional architecture.

(a)
(b)
Figure 3: (a) For the same model, autoregressive decoding consistently outperforms the arbitrary order decoding; (b) Mean entropy of each SID position at the step it is decoded under AR and AO. AR preserves semantic fork entropy, whereas AO causes entropy degradation by resolving refinement tokens first.
It only constrains inference to reveal the generated tokens from left to right, token by token. Figure 3(a) reports F1 on the Spotify dataset under different bundle sizes. AR consistently outperforms AO across all settings, showing that a fixed prefix-to-suffix order enables the same diffusion recommender to recover more relevant items. These results suggest that arbitrary order decoding can restrict the recommendation space that is effectively explored, despite its seemingly greater generation flexibility. A natural question is: why does greater decoding flexibility lead to weaker recommendation quality?
Mechanism: Entropy Degradation at Semantic Forks. To answer this question, we examine how the four SID tokens are resolved during denoising. The residual quantized tokenizer assigns a hierarchical role to each SID position. As shown in Figure 2, the first token selects a coarse semantic region of the item catalog and therefore acts as a semantic fork that separates major recommendation
Anonymous et al.
branches. The remaining tokens encode residual information that progressively identifies a specific item within the selected region, and we refer to them as semantic refinement tokens. Since several coarse branches may remain plausible before the first token is determined, the semantic fork typically has higher entropy than the refinement tokens. As shown in Figure 4, confidence-guided AO decoding preferentially reveals low-entropy refinement tokens while postponing the uncertain semantic fork. AR decoding instead resolves the fork before its refinements, forcing the model to confront the major semantic decision early.
Deferring the semantic fork gradually removes the uncertainty required for recommendation exploration. Figure 3(b) reports the mean entropy of each SID position at the step when it is decoded by the same model under AR and AO. Under AR, the first token is resolved before the refinement tokens and retains high entropy, indicating that multiple recommendation branches remain available. Under AO, the refinement tokens are determined first and provide additional context that constrains the possible values of the first token. Consequently, the entropy of the semantic fork decreases substantially when it is eventually decoded, while the refinement tokens do not exhibit the same pronounced reduction. We refer to this position-specific reduction as entropy degradation. The model is therefore no longer selecting among several plausible semantic branches, but choosing a fork token that is compatible with the refinement tokens already fixed. Across multiple recommendation slots, this process can repeatedly narrow the generated items toward a limited set of branches, producing concentrated recommendations and repeated items as shown in Figure 1(a).
3.2 The Quality and Efficiency Tradeoff
The quality and efficiency tradeoff in diffusion recommendation arises because faster decoding replaces the chain rule factorization of dependent SID tokens with a conditional independence approximation. Let denote an SID, denote the observed bundle context, and denote a reveal order. When one token is decoded at each step, the resulting sequential policy admits the chain rule factorization
so each SID token can condition on all previously resolved tokens. Parallel decoding instead reveals a token set S from the same visible state and approximates its joint conditional distribution as
where O contains tokens resolved in earlier rounds. As illustrated in Figure 1(b), conservative decoding preserves dependencies across SID levels and progressively constructs a valid catalog identifier, but requires more denoising steps. Aggressive decoding reduces latency by resolving multiple tokens together, yet their individually plausible predictions can form an incompatible SID outside the support of the item catalog.
This tradeoff is rooted in the standard random masking objective, which trains the denoiser to reconstruct clean sequences from a vast combinatorial space of corrupted states. Each mask pattern defines a different conditional prediction problem, and the number of such patterns grows exponentially with sequence length. However, as shown in Figure 4, a fixed inference policy visits only a compact trajectory-induced subspace along its denoising trajectories. Covering the much broader corruption space, therefore, imposes a largely unnecessary learning burden and disperses denoising capacity across states that are rarely or never encountered during inference. This diffuse supervision leaves the model insufficiently prepared to preserve token dependencies along the short trajectories required for efficient decoding.
4 Method
To address the limitations analyzed above, DPE-Rec preserves diversity by confronting semantic forks through autoregressive GRPO and improves efficiency by concentrating denoising learning from the vast random corruption space onto the compact trajectory induced subspace through pseudo trajectory distillation.
4.1 Confronting Semantic Forks: Autoregressive GRPO for Exploration Preservation
Confidence-guided decoding restricts recommendation exploration by postponing semantic forks until their possible values have already been constrained by semantic refinement. To confront semantic forks while their uncertainty remains intact, DPE-Rec induces an autoregressive SID policy from the pretrained diffusion denoiser and optimizes this policy with GRPO. The autoregressive order is used only as a post-training scaffold, leaving the bidirectional architecture and its parallel generation capability unchanged.
Let the target segment contain item slots, with each item represented by an SID of tokens. We serialize the target segment as an output sequence using a fixed order that resolves the semantic fork before the refinement tokens within each item slot. Let denote the index of token within its corresponding SID, which we refer to as its semantic level. At the th decision, the model input contains the observed bundle , the special tokens marking sequence and item boundaries, and the previously generated tokens , while token and all subsequent target tokens remain masked. The denoiser distribution at position therefore defines the autoregressive policy
where denotes the denoiser logit, denotes the valid vocabulary of SID level , and controls its sampling temperature. We assign greater stochasticity to the semantic fork and use more conservative sampling for semantic refinement. This asymmetric policy concentrates exploration on decisions that select recommendation branches rather than indiscriminately perturbing all SID levels.
The induced policy admits the exact autoregressive factorization
DPE-Rec : Diversity-Preserving and Efficient Diffusion Language Model Recommendation for Bundle Construction Conference acronym 'XX, June 03–05, 2018, Woodstock, NY

Figure 4: left: Overview of autoregressive GRPO for diversity preservation. Left to right rollouts resolve semantic forks before refinement without altering the bidirectional architecture; right: Overview of pseudo trajectory distillation. A sequential AO teacher provides high quality denoising trajectories, and the student learns their induced states to decode multiple confident tokens in parallel.
This factorization provides tractable token likelihoods for GRPO without introducing a causal model or modifying the attention structure. Resolving each semantic fork before its refinement tokens preserves uncertainty at the branch decision and exposes the policy to alternative recommendation paths.
To evaluate each rollout, we define a hierarchical set reward that measures recommendation agreement at progressively finer semantic levels. For rollout , let
denote the sets of generated and ground truth SIDs truncated after level . The reward is defined as
The two terms reward finer semantic agreement, and exact item recovery. Since each term is computed over sets, repeated predictions receive no additional credit, while the coarser SID levels provide informative rewards when exact item matches remain sparse.
For each bundle context, we sample a group of rollouts from the old autoregressive policy and optimize them using the GRPO objective introduced in Section 2.2. The resulting training process confronts semantic forks before entropy degradation can suppress alternative branches and rewards exploration that recovers diverse and relevant items. Since autoregressive generation is used only to define the post-training policy, the optimized denoiser retains its original bidirectional structure for subsequent parallel decoding.
4.2 Breaking the Pareto Front via Trajectory Distillation
The quality and efficiency frontier arises because standard random masking distributes denoising supervision across a vast combinatorial space of corrupted states, while efficient decoding requires reliable predictions within a compact trajectory-induced subspace. To concentrate denoising capacity on this subspace, DPE-Rec distills high-quality, arbitrary-order trajectories from the GRPO-optimized denoiser into a student model. The teacher resolves one token per step to preserve token dependencies, while the student learns to reproduce multiple future decisions from intermediate states along the same trajectory.
High Quality Teacher Trajectory Extraction. We use the GRPO-optimized denoiser as the teacher and decode each target segment with confidence-guided arbitrary-order decoding. Unlike the autoregressive order used for policy optimization, the teacher dynamically selects the most confident unresolved position at every step. Let denote the masked positions in the teacher state . The confidence of position is
and the next position is selected as
Only position is resolved before the next denoising step. The teacher therefore retains the flexibility of arbitrary order decoding while allowing every decision to condition on all tokens committed in earlier rounds. This sequential execution avoids the conditional independence approximation among simultaneously revealed tokens and produces a high-quality completion together with its reveal order .
Trajectory Induced State Construction. The teacher trajectory identifies the intermediate states that arise under high-quality diffusion decoding. For a masking ratio t, we retain the first
teacher decisions and mask the remaining target positions. The resulting state is
The observed bundle context and structural tokens remain unchanged. Each therefore lies on the trajectory induced by the teacher decoder, rather than representing an arbitrary corruption pattern sampled from the much broader random masking space.
We progressively increase the difficulty of these states during training. Let denote the training progress. We sample
Anonymous et al.
Early training emphasizes later trajectory states with fewer unresolved tokens, while subsequent training gradually exposes the student to earlier states that require longer-range denoising. We also construct a complementary view by masking the first teacher decisions and revealing the remaining positions, providing supervision across both portions of the same trajectory partition.
Trajectory Distillation Objective. The student is initialized from the teacher and trained to recover the teacher completion from trajectory-induced states. Let denote the masked positions in . The primary objective is
We define analogously for the complementary view. These two objectives train the student to recover multiple future teacher decisions from different states along the same denoising trajectory.
The complete objective is
Confidence Guided Parallel Inference. At inference, the distilled student commits all masked positions whose confidence exceeds a threshold. Let denote the masked positions at round s. The set of positions revealed in parallel is
where F denotes the denoising step budget and guarantees that all remaining positions are resolved within this budget. The decoder preserves the arbitrary order behavior of the teacher but resolves multiple sufficiently reliable positions in each round.
Trajectory distillation thus transfers the token dependencies resolved by high-quality sequential AO decoding into a compact number of parallel denoising transitions. By redistributing denoising capacity from the vast random corruption space to the trajectory-induced subspace encountered during inference, DPE-Rec preserves recommendation quality with substantially fewer denoising steps.
4.3 Item Legalization
Following the SID-to-item mapping strategy of DDBC [31], we apply item legalization within the candidate set discussed in Sec 5.1 after generation. A generated SID is mapped to its exact catalog item when available; otherwise, its representation is reconstructed from the semantic codebooks and matched to the candidate item with the highest cosine similarity. Selected candidates are removed to ensure distinct recommendations.
5 Experiment
We conduct comprehensive experiments to assess the effectiveness of DPE-Rec in diffusion-based bundle construction. Our evaluation is organized around the following research questions:
RQ1: Overall Performance. How does DPE-Rec compare with existing scoring-based, autoregressive, and diffusion-based methods in terms of recommendation quality and inference efficiency?
RQ2: Where Should Exploration Be Applied in Hierarchical SIDs? Does concentrating sampling uncertainty on the semantic fork improve recommendation quality and bundle diversity?
RQ3: Breaking the Quality and Efficiency Tradeoff. Can pseudo trajectory distillation reduce denoising steps without sacrificing SID validity?
RQ4: Ablation Study. How does each component of DPE-Rec contribute to its recommendation quality, diversity preservation, and inference efficiency?
5.1 Experimental Setup
Datasets. We evaluate DPE-Rec on Spotify [3] for playlist continuation and on POG [4] and IQON3000 [28] for outfit completion. We use five evaluation settings: Spotify , Spotify , Spotify , four-item outfits from POG, and eight-item outfits from IQON3000. Each evaluation bundle is split evenly into an observed subset and a target subset for completion, with disjoint training, validation, and test bundles. All content-aware methods share the same fixed 64-dimensional CLHE [19] item representations, and all methods with fixed SIDs share the same four-token SIDs. Dataset statistics, preprocessing, augmentation, and tokenization details are provided in Appendix 8.1.
Baselines. We compare DPE-Rec with representative baselines from three families. ID based sequential models include GRU4Rec[7], SASRec[11], HSTU[36], and BERT4Rec[29]. Representation enhanced discriminative models include FDSA[38] and RecJPQ[22], which enrich item modeling with feature information or compositional representations. Semantic ID based generative models include DiffGRM[16], UniGRec[13], and DDBC[31], which generate target items through discrete item identifiers. For training details, please see Appendix 8.2
Evaluation Metrics. We evaluate recommendation quality using F1, Jaccard similarity, and optimal assignment similarity (OAS). The first two measure exact set agreement, while OAS computes the mean cosine similarity under optimal one-to-one matching between predicted and target items. All methods are trained and evaluated using five random seeds, with results reported as the mean and standard deviation. Detailed metric definitions are provided in Appendix 8.3.
Evaluation Protocol. Following sampled-candidate evaluation in prior recommendation studies [6, 11, 29] and the bundle construction protocol of DDBC [31], we evaluate all methods on shared candidate sets. With large catalogs and few ground-truth targets per bundle, full-catalog exact-match scores can be very low. For each test bundle, we construct a candidate set containing all target items and uniformly sampled non-target items, with a total size equal to one hundred times the target bundle size. F1, Jaccard similarity, and OAS are then computed.
5.2 Main Results
Table 1 shows that DPE-Rec and DPE-Rec-Fast achieve approximately 63% average relative improvement over the nine baselines
DPE-Rec : Diversity-Preserving and Efficient Diffusion Language Model Recommendation for Bundle Construction Conference acronym 'XX, June 03–05, 2018, Woodstock, NY
Table 1: Recommendation quality on Spotify, POG, and IQON3000 (mean ± standard deviation over five random seeds). The best and second best results are highlighted in bold and underlined, respectively. Average improvement is computed relative to all baselines.
| model | Spotify K=30 | Spotify K=60 | Spotify K=90 | POG K=4 | IQON3000 K=8 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| F1 ↑ | Jaccard ↑ | OAS ↑ | F1 ↑ | Jaccard ↑ | OAS ↑ | F1 ↑ | Jaccard ↑ | OAS ↑ | F1 ↑ | Jaccard ↑ | OAS ↑ | F1 ↑ | Jaccard ↑ | OAS ↑ | |
| GRU4Rec | 0.226±0.003 | 0.143±0.002 | 0.532±0.003 | 0.168±0.002 | 0.101±0.001 | 0.510±0.001 | 0.140±0.006 | 0.081±0.004 | 0.495±0.007 | 0.144±0.003 | 0.101±0.002 | 0.515±0.006 | 0.029±0.001 | 0.017±0.001 | 0.200±0.001 |
| SASRec | 0.168±0.008 | 0.102±0.006 | 0.464±0.009 | 0.107±0.004 | 0.060±0.002 | 0.429±0.004 | 0.113±0.008 | 0.063±0.005 | 0.449±0.009 | 0.100±0.033 | 0.067±0.022 | 0.384±0.021 | 0.045±0.003 | 0.026±0.002 | 0.206±0.008 |
| BERT4Rec | 0.238±0.011 | 0.152±0.008 | 0.523±0.009 | 0.248±0.014 | 0.156±0.010 | 0.563±0.014 | 0.217±0.064 | 0.135±0.044 | 0.544±0.065 | 0.178±0.003 | 0.122±0.002 | 0.493±0.006 | 0.064±0.002 | 0.038±0.001 | 0.207±0.004 |
| FDSA | 0.347±0.006 | 0.230±0.005 | 0.641±0.005 | 0.310±0.007 | 0.198±0.005 | 0.636±0.006 | 0.290±0.011 | 0.183±0.008 | 0.634±0.009 | 0.177±0.004 | 0.126±0.002 | 0.531±0.007 | 0.051±0.006 | 0.031±0.004 | 0.217±0.014 |
| RecJPQ | 0.142±0.003 | 0.084±0.002 | 0.446±0.003 | 0.155±0.005 | 0.092±0.003 | 0.512±0.005 | 0.169±0.027 | 0.103±0.018 | 0.522±0.013 | 0.122±0.014 | 0.083±0.009 | 0.475±0.007 | 0.039±0.001 | 0.023±0.001 | 0.194±0.004 |
| HSTU | 0.254±0.010 | 0.163±0.007 | 0.549±0.010 | 0.216±0.010 | 0.135±0.006 | 0.544±0.010 | 0.190±0.014 | 0.116±0.009 | 0.536±0.012 | 0.202±0.004 | 0.146±0.003 | 0.523±0.008 | 0.076±0.001 | 0.046±0.002 | 0.252±0.010 |
| UnigRec | 0.360±0.002 | 0.238±0.002 | 0.645±0.002 | 0.369±0.008 | 0.241±0.006 | 0.678±0.005 | 0.361±0.003 | 0.234±0.002 | 0.686±0.004 | 0.200±0.004 | 0.142±0.004 | 0.529±0.022 | 0.126±0.006 | 0.079±0.004 | 0.323±0.005 |
| DiffGRM | 0.371±0.006 | 0.248±0.004 | 0.652±0.004 | 0.361±0.004 | 0.236±0.003 | 0.670±0.005 | 0.368±0.006 | 0.240±0.004 | 0.692±0.007 | 0.192±0.006 | 0.139±0.005 | 0.537±0.008 | 0.128±0.004 | 0.081±0.002 | 0.316±0.008 |
| DDBC | 0.277±0.002 | 0.174±0.002 | 0.615±0.001 | 0.284±0.002 | 0.176±0.001 | 0.661±0.001 | 0.280±0.001 | 0.172±0.000 | 0.681±0.001 | 0.138±0.002 | 0.098±0.002 | 0.526±0.002 | 0.054±0.001 | 0.032±0.001 | 0.268±0.001 |
| DPE-Rec | 0.372±0.003 | 0.247±0.002 | 0.659±0.002 | 0.378±0.002 | 0.248±0.002 | 0.697±0.002 | 0.379±0.001 | 0.246±0.001 | 0.713±0.001 | 0.198±0.006 | 0.142±0.005 | 0.533±0.004 | 0.131±0.001 | 0.082±0.001 | 0.331±0.002 |
| Avg. Improv. (%) | 54.8% | 64.0% | 19.3% | 79.1% | 93.7% | 23.2% | 86.4% | 101.4% | 25.3% | 29.5% | 33.0% | 7.4% | 139.6% | 150.6% | 41.2% |
| DPE-Rec-Fast | 0.360±0.004 | 0.239±0.003 | 0.635±0.004 | 0.364±0.003 | 0.238±0.002 | 0.665±0.002 | 0.358±0.002 | 0.231±0.002 | 0.678±0.002 | 0.200±0.004 | 0.142±0.003 | 0.536±0.002 | 0.146±0.002 | 0.092±0.001 | 0.342±0.004 |
| Avg. Improv. (%) | 49.9% | 58.4% | 14.8% | 72.3% | 85.9% | 17.6% | 76.1% | 89.2% | 19.2% | 31.0% | 33.3% | 7.9% | 167.6% | 183.2% | 46.0% |
Table 2: Inference latency per bundle on Spotify, POG, and IQON3000. Lower values indicate faster inference. Average improvement is computed relative to the mean latency of all baselines.
| model | Latency (ms) ↓ | ||||
|---|---|---|---|---|---|
| Spotify K=30 | Spotify K=60 | Spotify K=90 | POG K=4 | IQON3000 K=8 | |
| GRU4Rec | 13.18 | 26.17 | 39.10 | 1.53 | 5.92 |
| SASRec | 26.82 | 55.84 | 82.95 | 3.90 | 7.71 |
| BERT4Rec | 1.66 | 1.93 | 2.27 | 1.39 | 1.51 |
| FDSA | 37.79 | 75.53 | 113.41 | 5.24 | 9.77 |
| RecJPQ | 22.15 | 44.03 | 66.01 | 3.16 | 6.01 |
| HSTU | 18.54 | 36.16 | 54.91 | 2.72 | 5.26 |
| UniGRRec | 593.76 | 1168.84 | 1792.86 | 80.35 | 154.68 |
| DiffGRM | 367.89 | 736.45 | 1267.27 | 68.47 | 91.40 |
| DDBC | 2930.87 | 5822.53 | 8262.87 | 549.53 | 872.57 |
| DPE-Rec | 443.59 | 903.41 | 1340.05 | 59.38 | 112.51 |
| Avg. Speedup (×) | 1.01 | 0.98 | 0.97 | 1.34 | 1.14 |
| DPE-Rec-Fast | 62.34 | 65.79 | 66.72 | 46.49 | 58.32 |
| Avg. Speedup (×) | 7.15 | 13.46 | 19.45 | 1.71 | 2.20 |
across the five evaluation settings and three metrics. We attribute these gains to two factors. First, the DLM's bidirectional attention provides an inductive bias better aligned with unordered bundle construction. Second, our autoregressive GRPO preserves exploration by confronting semantic forks before refinement tokens constrain their choices, allowing the model to explore alternative recommendation branches.

Figure 5: Effect of level specific sampling temperature during autoregressive GRPO. Test F1 peaks at 0.6 for the semantic fork , while the refinement levels to perform best at 0.2.
Table 2 shows that DPE-Rec-Fast achieves an average speedup of over the three generative baselines across the five evaluation settings, while retaining competitive recommendation quality. Its latency increases only from 62.34 to 66.72 ms as the Spotify bundle size grows from 30 to 90. Pseudo-trajectory distillation concentrates learning on teacher-visited denoising states, improving the reliability of multi-token predictions. Confidence-thresholded decoding then exploits this capability to resolve multiple tokens in parallel, substantially reducing sequential denoising rounds. The additional training cost of GRPO and PTD and its amortization through inference savings are analyzed in Appendix 8.6.
5.3 Where Should Exploration Be Applied in Hierarchical SIDs?
We investigate how sampling temperature should be distributed across the four SID positions during autoregressive GRPO. We vary the temperature of one position at a time while keeping the
Anonymous et al.

Figure 6: Mean pairwise cosine similarity among generated items across different Spotify bundle sizes. DPE-Rec achieves the lowest similarity among the compared methods across all three settings, indicating greater bundle diversity and aligning with its higher F1 performance.

Figure 7: Legal SID ratio under different denoising budgets on Spotify , POG and IQON3000. The distilled student maintains higher validity than the teacher at comparable numbers of denoising steps, demonstrating an improved quality and efficiency tradeoff.
remaining training settings fixed. As shown in Figure 5, the first SID position achieves the highest F1 at a moderate temperature of 0.6. In contrast, the remaining positions perform best at the lowest tested temperature of 0.2, and their performance consistently decreases as the temperature increases. Consistent with Section 3.1, we therefore set and to concentrate exploration at the semantic fork while preserving item consistency at later positions.
Figure 6 shows that DPE-Rec consistently produces lower pairwise cosine similarity than DDBC, DiffGRM, and UniGRec across all three Spotify settings. Together with the temperature sweep, these results support concentrating exploration at semantic forks, where alternative recommendation branches remain available before refinement tokens constrain their choices. Additional diversity results, including catalog coverage, and cluster entropy, are reported in Appendix 8.4.
5.4 Breaking the Quality and Efficiency Tradeoff
Figure 7 compares the teacher and distilled student under different denoising budgets on Spotify , POG, and IQON3000. Aggressive parallel decoding sharply reduces the teacher's legal ratio, whereas the student maintains a substantially higher legal ratio at comparable numbers of denoising steps. By concentrating learning on teacher-visited denoising states, PTD improves the reliability of multi-token predictions, enabling faster decoding while better preserving SID validity.
5.5 Ablation Study
Table 3 reports cumulative ablations averaged over the five evaluation settings. Adding fork-aware GRPO improves F1 and Jaccard similarity by 28.86% and 33.29%, respectively, without increasing inference latency. PTD further reduces latency by 89.52%, with only about 2.5% decreases across the three quality metrics. These results demonstrate that trajectory-focused distillation translates the quality benefits of fork-aware exploration into fast parallel decoding, retaining strong recommendation quality while cutting inference latency by nearly an order of magnitude. Fine-grained reward and group-size analyses are provided in Appendix 8.5.
Table 3: Ablation study averaged over Spotify , Spotify , Spotify , POG, and IQON3000. PTD refers to pseudo trajectory distillation.
| model | F1 ↑ | Jaccard ↑ | OAS ↑ | Latency (ms) ↓ |
|---|---|---|---|---|
| Vanilla DLM Rec | 0.226 | 0.145 | 0.558 | 571.79 |
| +GRPO | +28.86% | +33.29% | +5.06% | +0.00% |
| +PTD | -2.02% | -2.32% | -2.63% | -89.52% |
6 Related Work
6.1 Bundle Construction
Bundle construction selects items from large catalogs to generate or complete bundles. BGGN models user, item, and bundle relations with graph neural networks for personalized bundle generation, while BundleMage learns bundle completion jointly with bundle matching [2, 9]. Bundle MLLM incorporates multimodal item information through a fine tuned multimodal language model [15]. DDBC enables nonsequential bundle construction through masked discrete diffusion over semantic identifiers [31]. Our work studies the diversity and efficiency limitations introduced by the denoising process and addresses them through autoregressive GRPO and pseudo trajectory distillation.
6.2 Generative Recommendation
Recommendation methods differ in item representation and target prediction. ID based sequential models predict item identities from interaction histories. GRU4Rec[7] models item transitions with recurrent networks, SASRec[11] captures sequential dependencies through self attention, HSTU[36] targets large scale sequential recommendation, and BERT4Rec[29] learns bidirectional representations through masked item prediction. Representation enhanced discriminative models enrich item representations: FDSA[38] models item and feature transitions, while RecJPQ[22] uses shared sub item embeddings. Semantic ID based generative models encode items as discrete token sequences. UniGRec[13] jointly optimizes soft identifiers and recommendation, DiffGRM[16] applies masked diffusion to next item generation, and DDBC[31] extends it to bundle construction. In contrast, DPE-Rec focuses on diversity preservation and efficient inference when jointly generating multiple bundle items.
6.3 Diffusion Language Models
Diffusion language models generate discrete sequences through iterative masked denoising. MDLM[25] establishes a simple masked diffusion language modeling framework, while LLaDA[21] scales this paradigm through pretraining and instruction tuning. Recent
DPE-Rec : Diversity-Preserving and Efficient Diffusion Language Model Recommendation for Bundle Construction Conference acronym 'XX, June 03–05, 2018, Woodstock, NY
studies[1, 8, 34] accelerate inference through block diffusion, parallel decoding, and cache reuse. CD4LM[14] reduces denoising steps through consistency distillation and adaptive decoding. Trajectory distillation further reduces denoising steps [23, 37]. Beyond inference efficiency, Ni et al. [20] identify the flexibility trap in DLM reasoning, where flexible decoding may postpone difficult decisions, and apply GRPO-based post-training to improve reasoning performance.
7 Conclusion
We presented DPE-Rec, a diffusion framework for accurate and efficient bundle construction. Combined with autoregressive GRPO and pseudo trajectory distillation, DPE-Rec preserves bundle diversity while enabling reliable multi-token parallel decoding. Across playlist and outfit benchmarks, DPE-Rec improves recommendation performance by 63% on average, while its fast variant achieves faster inference on average than existing generative recommenders, with minimal loss in recommendation quality.
References
[1] Marianne Arriola, Aaron Gokaslan, Justin Chiu, Zhihan Yang, Zhixuan Qi, Jiaqi Han, Subham Sahoo, and Volodymyr Kuleshov. 2025. Block diffusion: Interpolating between autoregressive and diffusion language models. In International Conference on Learning Representations, Vol. 2025. 50726–50753.
[2] Jianxin Chang, Chen Gao, Xiangnan He, Depeng Jin, and Yong Li. 2021. Bundle recommendation and generation with graph neural networks. IEEE Transactions on Knowledge and Data Engineering 35, 3 (2021), 2326–2340.
[3] Ching-Wei Chen, Paul Lamere, Markus Schedl, and Hamed Zamani. 2018. Recsys challenge 2018: Automatic music playlist continuation. In Proceedings of the 12th ACM Conference on Recommender Systems. 527–528.
[4] Wen Chen, Pipei Huang, Jiaming Xu, Xin Guo, Cheng Guo, Fei Sun, Chao Li, Andreas Pfadler, Huan Zhao, and Binqiang Zhao. 2019. POG: personalized outfit generation for fashion recommendation at Alibaba iFashion. In Proceedings of the 25th ACM SIGKDD international conference on knowledge discovery & data mining. 2662–2670.
[5] Andres Ferraro, Dmitry Bogdanov, Jisang Yoon, KwangSeob Kim, and Xavier Serra. 2018. Automatic playlist continuation using a hybrid recommender system combining features from text and audio. In Proceedings of the ACM Recommender Systems Challenge 2018. 1–5.
[6] 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 (Perth, Australia) (WWW '17). International World Wide Web Conferences Steering Committee, Republic and Canton of Geneva, CHE, 173–182. doi:10.1145/3038912.3052569
[7] Balázs Hidasi, Alexandros Karatzoglou, Linas Baltrunas, and Domonkos Tikk. 2015. Session-based recommendations with recurrent neural networks. arXiv preprint arXiv:1511.06939 (2015).
[8] Zhanqiu Hu, Jian Meng, Yash Akhauri, Mohamed S Abdelfattah, Jae-sun Seo, Zhiru Zhang, and Udit Gupta. 2025. FlashDLM: Accelerating Diffusion Language Model Inference via Efficient KV Caching and Guided Diffusion. arXiv preprint arXiv:2505.21467 (2025).
[9] Hyunsik Jeon, Jun-Gi Jang, Taehun Kim, and U Kang. 2023. Accurate bundle matching and generation via multitask learning with partially shared parameters. Plos one 18, 3 (2023), e0280630.
[10] Bowen Jin, Hansi Zeng, Guoyin Wang, Xiusi Chen, Tianxin Wei, Ruirui Li, Zhengyang Wang, Zheng Li, Yang Li, Hanqing Lu, et al. 2023. Language models as semantic indexers. arXiv preprint arXiv:2310.07815 (2023).
[11] Wang-Cheng Kang and Julian McAuley. 2018. Self-attentive sequential recommendation. In 2018 IEEE international conference on data mining (ICDM). IEEE, 197–206.
[12] Jiacheng Li, Yujie Wang, and Julian McAuley. 2020. Time interval aware self-attention for sequential recommendation. In Proceedings of the 13th international conference on web search and data mining. 322–330.
[13] Jialei Li, Yang Zhang, Yimeng Bai, Shuai Zhu, Ziqi Xue, Xiaoyan Zhao, Dingxian Wang, Frank Yang, Andrew Rabinovich, and Xiangnan He. 2026. UniGRec: Unified Generative Recommendation with Soft Identifiers for End-to-End Optimization. arXiv preprint arXiv:2601.17438 (2026).
[14] Yihao Liang, Ze Wang, Hao Chen, Ximeng Sun, Jialian Wu, Xiaodong Yu, Jiang Liu, Emad Barsoum, Zicheng Liu, and Niraj K Jha. 2026. CD4LM: Consistency
Distillation and aDaptive Decoding for Diffusion Language Models. arXiv preprint arXiv:2601.02236 (2026).
[15] Xiaohao Liu, Jie Wu, Zhulin Tao, Yunshan Ma, Yinwei Wei, and Tat-seng Chua. 2025. Fine-tuning multimodal large language models for product bundling. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 1. 848–858.
[16] Zhao Liu, Yichen Zhu, Yiqing Yang, Xiao Lv, Guoping Tang, Rui Huang, Qiang Luo, Ruiming Tang, and Guorui Zhou. 2026. Diffgrm: Diffusion-based generative recommendation model. In Proceedings of the ACM Web Conference 2026. 5853–5864.
[17] Yunshan Ma, Yingzhi He, Xiang Wang, Yinwei Wei, Xiaoyu Du, Yuyangzi Fu, and Tat-Seng Chua. 2024. Multicbr: Multi-view contrastive learning for bundle recommendation. ACM Transactions on Information Systems 42, 4 (2024), 1–23.
[18] Yunshan Ma, Yingzhi He, An Zhang, Xiang Wang, and Tat-Seng Chua. 2022. CrossCBR: cross-view contrastive learning for bundle recommendation. In Proceedings of the 28th ACM SIGKDD conference on knowledge discovery and data mining. 1233–1241.
[19] Yunshan Ma, Xiaohao Liu, Yinwei Wei, Zhulin Tao, Xiang Wang, and Tat-Seng Chua. 2024. Leveraging multimodal features and item-level user feedback for bundle construction. In Proceedings of the 17th ACM International Conference on Web Search and Data Mining. 510–519.
[20] Zanlin Ni, Shenzhi Wang, Yang Yue, Tianyu Yu, Weilin Zhao, Yeguo Hua, Tianyi Chen, Jun Song, Cheng Yu, Bo Zheng, et al. 2026. The Flexibility Trap: Rethinking the Value of Arbitrary Order in Diffusion Language Models. (2026).
[21] Shen Nie, Fengqi Zhu, Zebin You, Xiaolu Zhang, Jingyang Ou, Jun Hu, Jun Zhou, Yankai Lin, Ji-Rong Wen, and Chongxuan Li. 2026. Large language diffusion models. Advances in Neural Information Processing Systems 38 (2026), 50608–50646.
[22] Aleksandr V Petrov and Craig Macdonald. 2024. RecJPQ: training large-catalogue sequential recommenders. In Proceedings of the 17th ACM International Conference on Web Search and Data Mining. 538–547.
[23] Yu-Yang Qian, Junda Su, Lanxiang Hu, Peiyuan Zhang, Zhijie Deng, Peng Zhao, and Hao Zhang. 2026. d3LLM: Ultra-Fast Diffusion LLM using Pseudo-Trajectory Distillation. arXiv preprint arXiv:2601.07568 (2026).
[24] Shashank Rajput, Nikhil Mehta, Anima Singh, Raghunandan Keshavan, Trung Vu, Lukasz Heldt, Lichan Hong, Yi Tay, Vinh Q Tran, Jonah Samost, et al. [n. d.]. Recommender Systems with Generative Retrieval. ([n. d.]).
[25] Subham Sekhar Sahoo, Marianne Arriola, Yair Schiff, Aaron Gokaslan, Edgar Marroquin, Justin T Chiu, Alexander Rush, and Volodymyr Kuleshov. 2024. Simple and effective masked diffusion language models. In Proceedings of the 38th International Conference on Neural Information Processing Systems. 130136–130184.
[26] Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. 2024. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300 (2024).
[27] Zihua Si, Zhongxiang Sun, Jiale Chen, Guozhang Chen, Xiaoxue Zang, Kai Zheng, Yang Song, Xiao Zhang, Jun Xu, and Kun Gai. 2024. Generative retrieval with semantic tree-structured identifiers and contrastive learning. In Proceedings of the 2024 Annual International ACM SIGIR Conference on Research and Development in Information Retrieval in the Asia Pacific Region. 154–163.
[28] Xuemeng Song, Xianjing Han, Yunkai Li, Jingyuan Chen, Xin-Shun Xu, and Liqiang Nie. 2019. GP-BPR: Personalized Compatibility Modeling for Clothing Matching. In Proceedings of the 27th ACM International Conference on Multimedia (Nice, France) (MM '19). Association for Computing Machinery, New York, NY, USA, 320–328. doi:10.1145/3343031.3350956
[29] Fei Sun, Jun Liu, Jian Wu, Changhua Pei, Xiao Lin, Wenwu Ou, and Peng Jiang. 2019. BERT4Rec: Sequential recommendation with bidirectional encoder representations from transformer. In Proceedings of the 28th ACM international conference on information and knowledge management. 1441–1450.
[30] Jiaxi Tang and Ke Wang. 2018. Personalized top-n sequential recommendation via convolutional sequence embedding. In Proceedings of the eleventh ACM international conference on web search and data mining. 565–573.
[31] Teng Tu, Ai Li, Yunshan Ma, Shuo Xu, Xiaohao Liu, Haokai Ma, Liang Pang, and Tat-Seng Chua. 2026. Discrete diffusion for bundle construction. In The Fourteenth International Conference on Learning Representations.
[32] Andreu Vall, Hamid Eghbal-Zadeh, Matthias Dorfer, Markus Schedl, and Gerhard Widmer. 2017. Music playlist continuation by learning from hand-curated examples and song features: Alleviating the cold-start problem for rare and out-of-set songs. In Proceedings of the 2nd workshop on deep learning for recommender systems. 46–54.
[33] Ye Wang, Jiahao Xun, Minjie Hong, Jieming Zhu, Tao Jin, Wang Lin, Haoyuan Li, Linjun Li, Yan Xia, Zhou Zhao, et al. 2024. Eager: Two-stream generative recommender with behavior-semantic collaboration. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining. 3245–3254.
[34] Chengyue Wu, Hao Zhang, Shuchen Xue, Zhijian Liu, Shizhe Diao, Ligeng Zhu, Ping Luo, Song Han, and Enze Xie. 2025. Fast-dllm: Training-free acceleration of diffusion llm by enabling kv cache and parallel decoding. arXiv preprint arXiv:2505.22618 (2025).
Anonymous et al.
[35] Fajie Yuan, Alexandros Karatzoglou, Ioannis Arapakis, Joemon M Jose, and Xiangnan He. 2019. A simple convolutional generative network for next item recommendation. In Proceedings of the twelfth ACM international conference on web search and data mining. 582–590.
[36] Jiaqi Zhai, Lucy Liao, Xing Liu, Yueming Wang, Rui Li, Xuan Cao, Leon Gao, Zhaojie Gong, Fangda Gu, Michael He, et al. 2024. Actions speak louder than words: Trillion-parameter sequential transducers for generative recommendations. arXiv preprint arXiv:2402.17152 (2024).
[37] Tunyu Zhang, Xinxi Zhang, Ligong Han, Haizhou Shi, Xiaoxiao He, Zhuowei Li, Hao Wang, Kai Xu, Akash Srivastava, Chengzhi Mao, et al. 2026. Few-Step Diffusion Language Models via Trajectory Self-Distillation. arXiv preprint arXiv:2602.12262 (2026).
[38] Tingting Zhang, Pengpeng Zhao, Yanchi Liu, Victor S Sheng, Jiajie Xu, Deqing Wang, Guanfeng Liu, Xiaofang Zhou, et al. 2019. Feature-level deeper self-attention network for sequential recommendation.. In IJCAI. 4320–4326.
[39] Bowen Zheng, Yupeng Hou, Hongyu Lu, Yu Chen, Wayne Xin Zhao, Ming Chen, and Ji-Rong Wen. 2024. Adapting large language models by integrating collaborative semantics for recommendation. In 2024 IEEE 40th International Conference on Data Engineering (ICDE). IEEE, 1435–1448.
[40] Kun Zhou, Hui Wang, Wayne Xin Zhao, Yutao Zhu, Sirui Wang, Fuzheng Zhang, Zhongyuan Wang, and Ji-Rong Wen. 2020. S3-rec: Self-supervised learning for sequential recommendation with mutual information maximization. In Proceedings of the 29th ACM international conference on information & knowledge management. 1893–1902.
[41] Tao Zhu, Patrick Harrington, Junjun Li, and Lei Tang. 2014. Bundle recommendation in ecommerce. In Proceedings of the 37th international ACM SIGIR conference on Research & development in information retrieval. 657–666.
8 Appendix
8.1 Dataset and Tokenization Details
Dataset Statistics. Spotify contains 254,155 tracks, and POG contains 31,217 fashion products. IQON3000 contains 715,883 fashion items after preprocessing.
Preprocessing. Let denote the fixed bundle length for each benchmark. Bundles containing fewer than items are removed, while longer bundles are truncated to items. Spotify and POG follow the released partitions. For IQON3000, we drop outfits with missing item images, randomly shuffle the items within each outfit, and randomly split outfits into training, validation, and test sets at a 7:1:2 ratio. All partitions contain disjoint bundles. For evaluation, the first items form the observed bundle , while the remaining items form the ground truth target bundle .
Training Augmentation. For each training bundle
before truncation, we generate augmented samples. Each sample first swaps one pair of adjacent items, and , where , and then selects a random contiguous subsequence of items. We set for Spotify and for POG and IQON3000. Validation and test bundles are not augmented.
Semantic Identifier Tokenization. Each item has a fixed CLHE representation , taken from the CLHE release for Spotify and POG and trained with the official CLHE code on image and text features for IQON3000, and is assigned a four token SID . The first three tokens are obtained using residual vector quantization. Let denote the codebook at semantic level , where for Spotify and IQON3000 and for POG. The quantization process is defined as
The fourth token distinguishes items that share the same first three tokens. Items with an identical prefix are assigned distinct values of according to their catalog order, ensuring that each complete SID uniquely identifies one item. The maximum number of collisions is 74 for Spotify, 53 for POG, and 171 for IQON3000, all below .
Sequence Layout. A bundle of items is serialized as
resulting in a sequence of length . Tokens from semantic level are mapped to disjoint vocabulary ranges using
The resulting vocabulary contains 4C SID tokens and three special tokens, with an additional [MASK] token used by the diffusion model. During evaluation, the observed bundle and the target bundle are serialized as two consecutive segments, each with its own [BOS] and [EOS]; the SIDs of remain visible, while all SID positions of the target segment are replaced with [MASK].
8.2 Training Details of DPE-Rec
All experiments run on a single NVIDIA A100-80GB GPU. For Spotify and POG we pretrain the backbone from scratch with the identical DDBC recipe. The GRPO stage initializes from the pretrained backbone and selects its checkpoint by mean validation rollout reward; the distillation stage initializes from the teacher model trained from GRPO policy. Table 4 lists all hyperparameters.
Table 4: Training hyperparameters of DPE-Rec.
| Parameter | Pretraining | GRPO | Distillation |
|---|---|---|---|
| Optimizer | AdamW | AdamW | AdamW |
| Learning rate | |||
| Weight decay | |||
| LR schedule | warmup 500, constant | constant | constant |
| Training steps | 20,000 | 1,000 | 5,000 |
| Batch size | 512 | 512 rollouts (32 bundles ) | 512 |
| Gradient clipping | |||
| Precision | bf16 | bf16 | bf16 |
| EMA | - | - | |
| Validation interval | 32 | 50 | 500 |
| Selection metric | val. NLL | val. rollout reward | fixed step |
| Temperatures | - | inherited | |
| Reward weights | - | - | |
| Group size | - | - | |
| Mask-ratio cap | - | - | |
| Trajectories per bundle | - | - |
8.3 Evaluation Metric Details
Let
denote the ground truth target bundle and the predicted bundle, respectively. Under the equal input and target partition, every method generates exactly items. Since bundle construction produces an
DPE-Rec : Diversity-Preserving and Efficient Diffusion Language Model Recommendation for Bundle Construction Conference acronym 'XX, June 03–05, 2018, Woodstock, NY
unordered set, all metrics are independent of item order and are computed for each bundle before being averaged over the test set.
F1. Precision and recall are defined as
and the F1 score is
Since and the predicted items are distinct, precision, recall, and F1 are equivalent.
Jaccard Similarity.
Optimal Assignment Similarity. Let denote the fixed pretrained representation of item . The cosine similarity between items and is
Optimal assignment similarity measures the mean similarity under the best one to one matching between the predicted and ground truth bundles:
where denotes the set of permutations over . The optimal assignment is obtained using the Hungarian algorithm. Unlike F1 and Jaccard similarity, which recognize only exact item matches, OAS also rewards predictions that are semantically close to the target items in the pretrained representation space.
8.4 Diversity Analysis
To complement the pairwise cosine similarity analysis in Figure 6, we evaluate catalog coverage and cluster entropy on the three Spotify settings. Catalog coverage measures the percentage of catalog items recommended at least once across the test set. Cluster entropy measures the dispersion of recommended items across semantic clusters, with higher values indicating a broader and more balanced distribution.
Figure 8 shows that DPE-Rec achieves the highest cluster entropy across all three settings and the catalog coverage of DiffGRM and UniGRec. Compared with DDBC, DPE-Rec obtains higher cluster entropy despite lower catalog coverage, highlighting that catalog exposure and semantic diversity capture complementary aspects of recommendation. Together with its lower pairwise cosine similarity, these results are consistent with fork-aware GRPO preserving exploration across alternative semantic branches.

(a)

(b)
Figure 8: (a) Catalog coverage on Spotify; (b) Cluster entropy on Spotify.

Figure 9: Sensitivity to reward weights and GRPO group size. Each parameter is varied independently while the remaining parameters retain their default values.
8.5 Fine-Grained Ablation Study
We further examine the hierarchical reward design and GRPO group size. The reward weights and control agreement at the two-token SID-prefix level and the complete-SID level, respectively. We vary each parameter independently around the default configuration . Setting a reward weight to zero removes the corresponding term. For the group-size sweep, we fix the total number of rollouts per update at 512. We report F1 scores separately on Spotify , POG, and IQON3000.
Reward design. Figure 9 shows that recommendation quality is relatively insensitive to the reward weights within the tested ranges, reducing the need for careful reward tuning.
Group size. Figure 9 shows that under a fixed rollout budget, larger groups provide no consistent quality benefit, suggesting that effective post-training does not require large rollout groups.
8.6 Training Cost Analysis
Table 5 reports the training cost of each stage on a single NVIDIA A100-80GB GPU. GRPO accounts for most of the additional training cost on Spotify, consistent with the overhead of autoregressive rollouts for longer bundles. These costs are incurred during
Anonymous et al.
post-training, while the resulting inference savings apply to every subsequently generated bundle.
Table 5: Training cost in GPU-hours on a single NVIDIA A100-80GB GPU. Additional cost is the sum of GRPO and PTD training time.
| Stage | POG | IQON3000 | |||
|---|---|---|---|---|---|
| Base DLM | 0.6 | 0.9 | 1.2 | 0.3 | 0.2 |
| GRPO | 1.2 | 4.5 | 10.0 | 0.1 | 0.2 |
| PTD | 0.4 | 0.9 | 1.3 | 0.1 | 0.1 |
| Additional cost | 1.6 | 5.4 | 11.3 | 0.2 | 0.3 |
To relate this overhead to inference benefits, we estimate the number of generated bundles required to offset the additional GRPO and PTD training time:
where denotes the reported training time and denotes per-bundle inference latency, with all times converted to seconds. Using DDBC's original decoding configuration as the reference and the latencies in Table 2, the additional training cost is amortized after approximately 1.3K–5.0K generated bundles across the five evaluation settings.
8.7 Sensitivity to Baseline Selection
Some baselines achieve relatively low recommendation quality, potentially inflating average relative improvements. To assess whether the reported gains depend heavily on these weaker baselines, we recompute the results in Tables 1 and 2 over five representative baselines: FDSA, HSTU, UniGRec, DiffGRM, and DDBC. This subset retains competitive discriminative models and all three generative baselines, excluding GRU4Rec, SASRec, BERT4Rec, and RecJPQ.
Relative quality improvements are computed against each retained baseline and averaged equally across baselines, evaluation settings, and metrics. Both DPE-Rec and DPE-Rec-Fast achieve approximately 26.9% average improvement under this comparison. DPE-Rec-Fast also achieves a 15.6× average speedup, with latency ratios averaged over the same five baselines and five evaluation settings.
Received 20 February 2007; revised 12 March 2009; accepted 5 June 2009