New method · Information retrieval
LazUnirec shares recommendation retrieval and ranking while reducing conflicting updates
Recommendation systems often find possible items first, then rank them; doing both separately can repeat work and pull shared model updates in different directions. LazUnirec combines the stages in one Transformer and adds task-specific components, gradient-reliability weighting, and knowledge transfer. In a live test, gross merchandise value rose 4.01% in trigger-free settings versus the original system. The results come from one platform, and one ranking measure did not improve in a component ablation.
Key numbers
- +4.01%Gross merchandise value rose in the live test for settings without a trigger item.against the original system
- 0.3620How often retrieval found a relevant item in the top 100 for Scenario 1; higher is better.against 0.3346 for OneTrans-V2
- 37.76%The reported reduction in strong gradient conflicts in the feed-forward part of the model.against the vanilla Transformer
- Data and benchmarks
- real-world e-commerce platform data
- Released by the authors
- None listed in the paper
LazUnirec’s five main points for recommendation teams
- The aim. The researchers wanted retrieval to find promising items and ranking to order them without separately re-encoding the same user history or letting their different goals disrupt shared model updates.
- What they did. They built LazUnirec, a shared Transformer with task-specific attention and expert components, a way to weight updates by their past stability, and knowledge transfer from ranking to retrieval.
- What they found. Offline, LazUnirec’s hit rate for Scenario 1 at the top 100 was 0.3620, versus 0.3346 for OneTrans-V2. In a live trigger-free test, gross merchandise value rose 4.01% versus the original system.
- The catch. The offline tests use data from one e-commerce platform, and the paper reports no statistical tests or uncertainty ranges. In one component ablation, removing knowledge transfer produced higher results on two ranking measures.
- Can you use it. The system is deployed on the authors’ platform, but the paper gives no public code or model link. Its design is relevant to teams that operate retrieval and ranking across recommendation settings.
Bottom line. The paper reports better offline retrieval and ranking results than the listed unified-model baselines, along with gains in a live test on one platform. It does not establish how reliably the gains transfer to other platforms or whether every component helps every outcome.
Why recommendation systems split finding items from ranking them
A recommendation system may have a huge catalogue to search. It first narrows that catalogue to possible items, then uses a more detailed model to decide which ones to show. The two-stage design is useful because detailed scoring of every item would be expensive. cites11
The paper focuses on what happens when both stages use the same user history but are trained for different goals. Its everyday analogy is to two people steering one vehicle in different directions: their updates can clash, so the model needs a way to share work without forcing both tasks to behave identically.
A few terms help explain the design:
- Retrieval searches a large item collection for a smaller set likely to interest the user.
- Ranking scores those candidates more precisely, here by predicting outcomes such as clicks or purchases.
- A Transformer is a neural-network design that processes sequences and lets their elements use information from other elements.
- A gradient is the training signal that tells a model how to adjust its parameters to reduce an error. Gradients conflict when tasks point toward incompatible adjustments.
LazUnirec results for retrieval, ranking, and online service
In offline tests across three recommendation settings, LazUnirec reports higher retrieval and ranking results than the listed unified-model baselines. In the live test, it reports gains in customer activity and sales value, but that test was limited to the authors’ platform.
Selected results and the comparisons the paper reports:
- For Scenario 1, retrieval hit rate at the top 100 was 0.3620 for LazUnirec versus 0.3346 for OneTrans-V2.
- For Scenario 1, click-ranking AUC was 0.7655 for LazUnirec versus 0.7634 for OneTrans-V2; AUC measures how well a ranking separates positive from negative outcomes, with higher values better.
- For Scenario X, click-ranking GAUC was 0.6572 for LazUnirec versus 0.6417 for training on Scenario X alone.
- The paper reports a 37.76% relative reduction in strong conflicts in the feed-forward component versus a vanilla Transformer.
- In the Scenario 1 ablation, removing knowledge distillation gave CVR AUC 0.8969 versus 0.8966 with LazUnirec, and CVR GAUC 0.6977 versus 0.6972; these two measures did not favor the full system.
Of 34 head-to-head comparisons the paper prints, 32 favour its own contribution, 2 go against it.
- Compared with OneTrans-V2, 14 results: 14 favour the paper, 0 go against it.
- Compared with UniSGR, 5 results: 5 favour the paper, 0 go against it.
- Compared with w/o KD, 4 results: 2 favour the paper, 2 go against it.
- Compared with w/o LoRA, 3 results: 3 favour the paper, 0 go against it.
| What was measured | Result | Compared with | Difference |
|---|---|---|---|
| LazUnirec | |||
| CTR AUC in Scenario 1Offline ranking evaluation. | 0.7655 | OneTrans-V2: 0.7634 | +0.0021 (+0.3%) |
| CTR GAUC in Scenario 1Offline ranking evaluation. | 0.6722 | OneTrans-V2: 0.6695 | +0.0027 (+0.4%) |
| CVR AUC in Scenario 1Offline ranking evaluation. | 0.8966 | UniSGR: 0.8936 | +0.0030 (+0.3%) |
| CVR GAUC in Scenario 1Offline ranking evaluation. | 0.6972 | UniSGR: 0.6934 | +0.0038 (+0.5%) |
| CTR AUC in Scenario 2Offline ranking evaluation. | 0.7678 | OneTrans-V2: 0.7654 | +0.0024 (+0.3%) |
| CTR GAUC in Scenario 2Offline ranking evaluation. | 0.6828 | OneTrans-V2: 0.6781 | +0.0047 (+0.7%) |
| CVR AUC in Scenario 2Offline ranking evaluation. | 0.8502 | OneTrans-V2: 0.8478 | +0.0024 (+0.3%) |
| CVR GAUC in Scenario 2Offline ranking evaluation. | 0.5803 | OneTrans-V2: 0.5778 | +0.0025 (+0.4%) |
Show 32 more results
| What was measured | Result | Compared with | Difference |
|---|---|---|---|
| LazUnirec | |||
| CTR AUC in Scenario 3Offline ranking evaluation. | 0.7274 | OneTrans-V2: 0.7257 | +0.0017 (+0.2%) |
| CTR GAUC in Scenario 3Offline ranking evaluation. | 0.6518 | OneTrans-V2: 0.6499 | +0.0019 (+0.3%) |
| CVR AUC in Scenario 3Offline ranking evaluation. | 0.8555 | OneTrans-V2: 0.8524 | +0.0031 (+0.4%) |
| CVR GAUC in Scenario 3Offline ranking evaluation. | 0.5733 | UniSGR: 0.5707 | +0.0026 (+0.5%) |
| HR@100 in Scenario 1Offline retrieval evaluation. | 0.3620 | OneTrans-V2: 0.3346 | +0.0274 (+8.2%) |
| HR@500 in Scenario 1Offline retrieval evaluation. | 0.5892 | UniR²: 0.5553 | +0.0339 (+6.1%) |
| HR@1000 in Scenario 1Offline retrieval evaluation. | 0.6802 | OneTrans-V2: 0.6484 | +0.0318 (+4.9%) |
| HR@100 in Scenario 2Offline retrieval evaluation. | 0.5906 | OneTrans-V2: 0.5557 | +0.0349 (+6.3%) |
| HR@500 in Scenario 2Offline retrieval evaluation. | 0.7873 | UniR²: 0.7596 | +0.0277 (+3.6%) |
| HR@1000 in Scenario 2Offline retrieval evaluation. | 0.8432 | OneTrans-V2: 0.8203 | +0.0229 (+2.8%) |
| HR@100 in Scenario 3Offline retrieval evaluation. | 0.8181 | OneTrans-V2: 0.7984 | +0.0197 (+2.5%) |
| HR@500 in Scenario 3Offline retrieval evaluation. | 0.9169 | UniSGR: 0.9059 | +0.0110 (+1.2%) |
| HR@1000 in Scenario 3Offline retrieval evaluation. | 0.9389 | UniSGR: 0.9239 | +0.0150 (+1.6%) |
| CTR AUC in Scenario 1 ablationOffline ablation study on Scenario 1. | 0.7655 | w/o KD: 0.7653 | +0.0002 (0.0%) |
| CTR GAUC in Scenario 1 ablationOffline ablation study on Scenario 1. | 0.6722 | w/o KD: 0.6719 | +0.0003 (0.0%) |
| CVR AUC in Scenario 1 ablationOffline ablation study on Scenario 1. | 0.8966 | w/o KD: 0.8969 | -0.0003 (0.0%)Goes against the paper |
| CVR GAUC in Scenario 1 ablationOffline ablation study on Scenario 1. | 0.6972 | w/o KD: 0.6977 | -0.0005 (-0.1%)Goes against the paper |
| HR@100 in Scenario 1 ablationOffline ablation study on Scenario 1. | 0.3620 | w/o LoRA: 0.3532 | +0.0088 (+2.5%) |
| HR@500 in Scenario 1 ablationOffline ablation study on Scenario 1. | 0.5892 | w/o LoRA: 0.5819 | +0.0073 (+1.3%) |
| HR@1000 in Scenario 1 ablationOffline ablation study on Scenario 1. | 0.6802 | w/o LoRA: 0.6732 | +0.0070 (+1.0%) |
| relative reduction in ordinary gradient-conflict percentage in Attention versus vanilla TransformerOffline gradient-conflict analysis. | 9.16 % | vanilla Transformer | |
| relative reduction in robust gradient-conflict percentage in Attention versus vanilla TransformerOffline gradient-conflict analysis. | 13.23 % | vanilla Transformer | |
| relative reduction in ordinary gradient-conflict percentage in FFN versus vanilla TransformerOffline gradient-conflict analysis. | 14.32 % | vanilla Transformer | |
| relative reduction in robust gradient-conflict percentage in FFN versus vanilla TransformerOffline gradient-conflict analysis. | 37.76 % | vanilla Transformer | |
| CTR GAUC in Scenario 1Multi-scenario analysis. | 0.6722 | w/ Scenario 1: 0.6647 | +0.0075 (+1.1%) |
| HR@100 in Scenario 1Multi-scenario analysis. | 0.3620 | w/ Scenario 1: 0.3560 | +0.0060 (+1.7%) |
| Transformer attention | |||
| ordinary gradient-conflict rate in the attention componentRetrieval and ranking within the Transformer backbone; cos < 0. | 45.85 % | ||
| robust gradient-conflict rate in the attention componentRetrieval and ranking within the Transformer backbone; cos < -0.05. | 39.75 % | ||
| Transformer FFN | |||
| ordinary gradient-conflict rate in the FFN componentRetrieval and ranking within the Transformer backbone; cos < 0. | 47.54 % | ||
| robust gradient-conflict rate in the FFN componentRetrieval and ranking within the Transformer backbone; cos < -0.05. | 38.40 % | ||
| uncertainty estimation analysis | |||
| number of sampled maximum-uncertainty observationsSampled during training for retrieval and ranking, respectively. | 30 observations | ||
| number of sampled minimum-uncertainty observationsSampled during training for retrieval and ranking, respectively. | 30 observations | ||
How LazUnirec joins retrieval and ranking
The system processes a user request in this order:
- It joins the user’s past interactions, the current scenario’s trigger information, retrieval queries, and candidate items in one sequence.
- A shared Transformer processes that sequence. Retrieval and ranking use shared attention parameters plus separate low-rank adjustments, giving each task some private capacity.
- For feed-forward processing, each task uses its own expert and a router-selected set of shared experts. The router considers the token, user profile, scenario, and task.
- The system tracks how stable each task’s past gradient directions have been, then gives relatively more weight to the steadier updates.
- Ranking’s relative preferences among candidate items become a teacher signal: retrieval is trained to produce a similar preference distribution.
- At serving time, the system reuses cached user-history computations and applies kernel fusion, lower-precision calculations, and batching across scenarios.
What LazUnirec’s tests do not establish
The evidence is from a single industrial e-commerce platform: the offline test uses its logs, and the live test replaces the platform’s existing retrieval and ranking. The online test lasted one week and used 10% of traffic, so results elsewhere or over longer periods remain unknown.
The reported results leave several questions open:
- The paper reports no statistical significance tests or uncertainty ranges, so the reliability of small offline differences is not quantified.
- The component ablation is on Scenario 1; it shows that removing knowledge distillation improves two CVR ranking measures, even though the paper says its main benefit is retrieval.
- The online results do not isolate the effect of each modeling component from the serving changes or establish which parts caused the business gains.
Who can use LazUnirec and what is available
LazUnirec is intended for recommendation teams that need retrieval and ranking across multiple scenarios and want to reuse user-history processing. The authors say it is deployed in their own online system; the paper does not provide a public code, data, or model link.
LazUnirec terms in everyday language
- Retrieval
- The first stage: searching many items to find a smaller set that may suit a user.
- Ranking
- Scoring the candidate items so the system can order them for the user.
- Transformer
- A neural-network architecture that processes sequences and combines information across their elements.
- Gradient conflict
- A clash between training signals when different tasks push shared model parameters in incompatible directions.
- LoRA
- A way to add compact, task-specific adjustments to shared model weights. LazUnirec uses it for retrieval and ranking attention.
- Mixture of experts
- A model component with several smaller networks, or experts, where a router selects which ones process each input.
- AUC
- A score for how well a model separates positive outcomes from negative ones; higher is better.
- GAUC
- The paper’s group-based version of AUC for ranking. It reports this alongside AUC for clicks and purchases.
- HR@100
- Hit rate at 100: whether a relevant item appears within the first 100 retrieved items, summarized across test cases.
- Gross merchandise value
- The total value of goods sold, used here as one reported online business outcome.
- ordinary conflict
- A gradient conflict is ordinary when the cosine similarity is less than zero.
- robust conflict
- A gradient conflict is robust when the cosine similarity is less than -0.05.
- matching score
- The inner product of a user representation and an item representation in the retrieval objective.
- HR@N
- Hit Rate for retrieval, reported with N equal to 100, 500, or 1000.
- EMA
- Exponential moving averages used to estimate gradient variance over time.
Questions engineers ask about LazUnirec
How does LazUnirec combine retrieval and ranking in recommendation systems?
It processes interaction history, scenario context, retrieval queries, and ranking candidates together in a shared Transformer. Task-specific attention and expert components let retrieval and ranking retain some separate capacity.
What did LazUnirec achieve in offline retrieval tests?
It reported higher hit rates than the listed unified-model baselines across three scenarios. For example, Scenario 1 hit rate at the top 100 was 0.3620, compared with 0.3346 for OneTrans-V2.
Did LazUnirec improve online recommendation outcomes?
The authors report higher item page views, orders, buyers, and gross merchandise value in trigger-free and trigger-based live tests. The test used one platform and ran for one week.
Does every LazUnirec component improve every result?
No. In the Scenario 1 ablation, the full model’s CVR AUC and GAUC were slightly below the results when knowledge distillation was removed. The paper does not report significance tests for these differences.
LazUnirec’s method, claims, and evidence
Everything below is recorded from the paper and matched against its text.
What the paper claims, in its own terms
- Shown
LazUnirec outperforms the compared baselines on offline retrieval and ranking measures across three scenarios.
Holds when: The offline industrial-data evaluation reported in Tables 1 and 2.
- Shown
LazUnirec reduces attention gradient-conflict percentages relative to a vanilla Transformer.
Holds when: The gradient-conflict analysis in Figure 4.
- Shown
LazUnirec reduces FFN gradient-conflict percentages relative to a vanilla Transformer.
Holds when: The gradient-conflict analysis in Figure 4.
- Shown
The uncertainty weighting assigns less relative loss weight to high-uncertainty observations and more to low-uncertainty observations.
Holds when: The sampled observations shown in Figure 5.
- Shown
Multi-scenario training improves the reported retrieval and ranking measures in Scenarios 1, 2, and X compared with single-scenario variants.
Holds when: CTR GAUC and HR@100 in the scenario ablation study.
- Shown
Online A/B testing reports GMV improvement of up to 4.01%.
Holds when: The online multi-scenario deployment; the trigger-free table entry is +4.01%.
- Shown
LazUnirec is deployed in the platform's online multi-scenario recommendation system.
The method, step by step
- Combine user interaction tokens, a trigger token, retrieval queries, and ranking tokens into one input sequence.
- Process the sequence through a Transformer using shared attention projections plus task-private low-rank adaptations for retrieval and ranking.
- Use task-adaptive sparse MoE with a private expert per task and router-selected shared experts.
- Estimate task gradient reliability from the historical directional stability of periodically probed shared-parameter gradients and weight task losses accordingly.
- Distill ranking candidate-preference distributions into retrieval; optimize the combined uncertainty-weighted losses, distillation loss, and MoE regularization.
- For online serving, use cache reuse, kernel fusion, low-precision computation, and cross-scenario batching.
New in this paper
- The LazUnirec unified retrieval-and-ranking approach for multi-scenario industrial recommendation.
- LoRA-modulated attention with task-private retrieval and ranking adaptations.
- Task-adaptive sparse MoE combining task-private and task-shared experts.
- Uncertainty estimation based on historical gradient-direction stability.
- Listwise distillation from ranking preference distributions to retrieval.
Taken from earlier work
- The low-rank adaptation inspiration is attributed to LoRA.
- The paper compares its approach with prior unified retrieval-and-ranking methods, including UniPinRec, UniR², UniSGR, and OneTrans-V2.
Assumptions
- The paper does not list formal assumptions; its method uses user sequences, scenario information, task labels, and candidate items as described in the problem definition.
- The uncertainty estimate treats lower historical variance in normalized gradient directions as stronger gradient evidence.
Methods, datasets and ideas it names
- LazUnirecMethod · Introduced here
A unified retrieval and ranking approach for multi-scenario industrial recommendation.
- LoRA-modulated attentionMethod · Introduced here
Attention that shares parameters while adding task-private low-rank adaptations for retrieval and ranking.
- task-adaptive sparse MoEMethod · Introduced here
A mixture of shared and task-private experts for retrieval and ranking.
- uncertainty estimationMethod · Introduced here
An estimate of gradient reliability based on historical directional stability, used to weight task losses.
- listwise knowledge distillationMethod · Introduced here
A method that transfers ranking candidate-preference distributions to retrieval.
- unified sequence tokenizationMethod · Introduced here
A unified sequence containing interaction, trigger, retrieval, and ranking tokens.
- KV cacheMethod · Used
A cache of user-sequence keys and values reused for ranking and, when conditions remain unchanged, across requests.
- FP16Other · Used
The default serving precision in LazUnirec.
- FP8Other · Used
A precision used selectively for SwiGLU matrix multiplications during serving.
- real-world e-commerce platform dataDataset · Used
Industrial recommendation data from multiple trigger-free and trigger-based scenarios.
- Scenario 1Object of study · Studied
A trigger-free recommendation scenario.
- Scenario 2Object of study · Studied
A trigger-based recommendation scenario.
- Scenario 3Object of study · Studied
A trigger-based recommendation scenario.
- Scenario XObject of study · Studied
A trigger-free long-tail recommendation scenario used in the multi-scenario analysis.
- HR@N (Hit Rate)Measure · Used
The retrieval metric reported at N values of 100, 500, and 1000.
- AUCMeasure · Used
A ranking metric reported for CTR and CVR.
- GAUCMeasure · Used
A ranking metric reported for CTR and CVR.
- ordinary conflictMeasure · Used
Gradient conflict defined in the paper as cosine similarity below zero.
- robust conflictMeasure · Used
Gradient conflict defined in the paper as cosine similarity below -0.05.
- TransformerMethod · Compared against
A vanilla Transformer baseline.
- PyTorchTool · Used
The framework used to implement LazUnirec.
- NVIDIA H100 GPUsTool · Used
The hardware used for optimization.
- Grouped GEMMMethod · Used
A method for running grouped expert matrix multiplications in a single kernel launch per group.
- SwiGLUOther · Used
The expert computation whose projections, activation, and multiplication are fused for serving.
How the evidence was gathered
- Samples or repeats
- Offline training uses 25 consecutive days of logs and the subsequent day for testing; all models are trained for one epoch. The online A/B test used 10% of traffic for one week. Uncertainty analysis sampled 30 maximum- and 30 minimum-uncertainty observations.
- Uncertainty reported
- No
- Significance tested
- No
- Notes
- The paper reports offline metrics, online A/B results, and QPS gains but does not report uncertainty intervals, repeated-run variability, or significance tests.
Sources
- 1Recommendation systems overview | Machine Learning | Google for Developersdevelopers.google.com
Paper details
- Title
- LazUnirec: Unifying Retrieval and Ranking in Multi-scenario Industrial Recommendation
- Authors
- Xiaodong Li, Junfeng Zhang, Shichao Nie, Ziyue Guo, Yiming Liu, Xinxin Xu, Xurong Li, Jinyuan Dang, Zhanming Ou, Jianan Yan, Tao Luo, Xiaoyi Zeng
- Published
- 24 November 2026
- Version read
- v1
- Field
- Information retrieval
- arXiv
- 2611.32590
This explanation was written for this site from the paper's own source. 107 passages and figures recorded from the paper were matched against its own text; 13 that could not be matched were left off this page. It does not judge whether the paper is right, and most papers on arXiv have not been peer reviewed. Read the paper before relying on a result.