To address the paired-data dependency bottleneck in multimodal generative recommendation, this paper proposes UnpairGR, a modality-agnostic generative recommendation framework that can simultaneously leverage paired, image-only, and text-only observations to learn a unified discrete semantic ID space.
Generative recommendation (GR) models the recommendation task as an autoregressive generation process over discrete semantic identifiers (IDs).
Although recent multimodal generative recommendation methods leverage visual and textual information to improve the construction of semantic IDs, such methods generally require item-level paired observation data and can only perform tokenization within the intersection where both modalities are available, imposing a strong dependency constraint on paired image-text data.
In real-world item catalog scenarios, fully paired image-text data is difficult to obtain and maintain over time, and a large amount of valuable image resources and text resources lack clean item-level pairing relationships.
Most prior solutions for missing modalities perform feature reconstruction or alignment in the continuous feature space, which cannot guarantee discrete ID compatibility after quantization. Directly incorporating unpaired observations into training faces clear technical obstacles: even small representation shifts can cross quantization boundaries and generate mutually incompatible identifier sequences.
The work first explicitly identifies the paired-data bottleneck in multimodal generative recommendation and uniformly formalizes it as a semantic ID space learning problem.
The work proposes UnpairGR, an unpaired modality-agnostic generative recommendation framework whose core design allows paired observations, image-only observations, and text-only observations to jointly optimize a shared tokenization pathway and residual codebook, so that evidence from different modalities can all provide effective training signals for the same generative recommender.
For any item entry, UnpairGR first uses fixed-parameter modality encoders to extract image features and text features respectively. Freezing the encoders stabilizes the feature distributions of different modalities during the semantic ID learning stage, preventing the subsequent shared quantizer from having to track independently evolving representation spaces. Since the feature dimensions and statistical properties differ across modalities, each modality's features first pass through a lightweight modality-specific projection layer for dimension alignment, and are then fed into a fully parameter-shared Transformer backbone for further feature transformation.
UnpairGR shares a single residual codebook across paired, image-only, and text-only observations. After projection and the shared Transformer, features from all modalities are mapped to a common discrete space via a unified nearest-neighbor code assignment rule, so unimodal data can also participate in optimizing the same codebook used by paired samples, ultimately yielding unified semantic ID sequences with coarse-to-fine granularity. Together with the architecture diagram that follows, you can trace the full chain of module connections from multimodal input to discrete semantic ID output.
To ensure that the semantic IDs produced by the three types of observations are fully compatible, UnpairGR designs a multi-component combined tokenization objective, achieving end-to-end optimization of the entire modality-agnostic semantic ID generation pipeline through a weighted combination of quantization loss, cross-modal alignment loss, consistency loss, and codebook utilization loss.
In fully observed inference scenarios with complete multimodal information, UnpairGR achieves the best results on all public benchmark datasets and evaluation metrics. The training mode in which paired data and unimodal observations participate jointly brings clear performance gains, with the gains most pronounced at high-ranked recommendation positions. Compared with the baseline method SynGR, UnpairGR improves HR@1 by 22.86% on the Arts dataset, HR@1 by 17.14% on the Games dataset, and NDCG@5 by 16.17% on the Instruments dataset.
In test scenarios with incomplete modality observations, UnpairGR maintains the best performance across all datasets and different modality missing ratios, and its performance advantage becomes further pronounced as the degree of missing modalities increases. Even when the input is fully unimodal observation, UnpairGR still maintains strong recommendation capability, validating the compatibility of image-only and text-only observations with the shared tokenizer and recommender.
The component ablation study sets up three UnpairGR variants, respectively removing the shared Transformer, replacing the shared residual codebook with modality-specific codebooks, and removing the unpaired supervision signals. Removal or replacement of any component causes recommendation performance to drop on all three datasets. Removing the shared Transformer causes the largest performance drop, with macro-averaged HR@10 and NDCG@10 falling from 0.1477 and 0.1040 to 0.1170 and 0.0813, indicating that the shared pre-quantization transformation is the core module for aligning heterogeneous observations into a unified semantic space.
On the Arts dataset, UnpairGR reduces training time by 18% and inference latency by 8%; on the Instruments dataset, it reduces training time by 42% and inference latency by 21%, with efficiency gains more pronounced on datasets with higher task complexity. Meanwhile, UnpairGR converges earlier on both datasets and reaches a lower final loss, showing that the shared Transformer and residual codebook architecture does not introduce excessive extra overhead and instead supports a stable and efficient optimization process. Together with the visualization results that follow, you can directly compare the time-cost differences and convergence trends across the two datasets.
In missing-modality scenarios, multimodal generative recommendation has an inherent weakness: pre-quantization errors can alter semantic identifier sequences, directly destroying the semantic consistency of the subsequent generative recommendation process.
UnpairGR's core solution to this problem is a modality-agnostic tokenizer design; the overall framework relies on modality-specific projection, a shared Transformer backbone, and a shared residual codebook, supporting both paired and unpaired data in training.
The discrete semantic vocabulary ultimately learned by this design remains usable in scenarios with incomplete observed modalities, while preserving strong recommendation performance in fully paired multimodal observation scenarios, as well as practical training and inference efficiency.