OmniPreRank: Progressive Computation Reuse for Pre-Ranking as a Step towards Unified Ranking

Zhi Kou, Zhangming Chan, Yichao Liu, Jingchen Gao, Chenxi Wang, Jianqi Xie, Yan Jiang, Zhenyuan Lai, Chaochao Zhao, Wenchao Wang, Dagui Chen, Jian Xu, Bo ZhengarXiv 2026

TL;DR

Industrial ad systems want to move toward "unified ranking" (one big model instead of a messy pipeline), but ripping out existing stages breaks essential business rules and real-time bidding. OmniPreRank offers a clever middle ground: it splits a single Transformer into shallow and deep halves separated by an external filter, caching GPU states in between so surviving ad candidates resume computation right where they left off. Deployed at Alibaba, it delivers 91% of the revenue gains of running a heavy model on everything, while actually shrinking the server fleet by nearly 37%.

What Problem Does This Paper Address?

Every time you open a massive e-commerce app, an invisible funnel springs into action. Out of millions of ads, retrieval grabs 16,000, pre-ranking whittles them down to 400, and fine-ranking picks the winners.

Inspired by LLMs, researchers want to replace this multi-stage cascade with a single, unified model. The catch? Real-world advertising isn't just about predicting clicks. Between stages, external engines calculate financial bids, enforce advertiser budgets, and apply strict business rules. Tearing down the cascade means rewriting years of battle-tested infrastructure. Furthermore, each stage traditionally runs a separate model from scratch—repeating expensive candidate-level math over and over.

Figure 1: From no reuse toward unified ranking. (a) Separate models restart both sides after the filter; (b) user-side reuse restarts only the candidate side; (c) OmniPreRank’s deep round resumes from retained candidates’ cached states, while fine-ranking still restarts; (d) the same continuation at every filter leaves one model with a shallow and a deep depth.

The authors ask: Instead of demolishing the stages, what if we keep the external filters and business logic, but merge the computation across them so later passes simply pick up where earlier passes paused?

Methods

The authors introduce OmniPreRank, tackling the bottleneck inside the pre-ranking stage (turning 16,000 candidates into 2,000, and then 400). It combines co-designed model architecture and systems engineering:

  • One Multi-Task Backbone, Two Depths: Building on an existing lightweight cross-attention Transformer (EST), they unify two previously separate models: one predicting a learning-to-rank signal ($\text{pLTR}$) and another predicting transaction value ($\text{pGMV}$, used to calculate bids). They attach "Shallow" prediction heads after Layer 1, and "Deep" heads after Layer 4, training both jointly.
  • Pause-and-Resume Inference: In Round 1, all 16,000 candidates pass through Layer 1 and the Shallow heads. The engine calculates Effective Cost Per Mille ($\text{ECPM} = \text{pLTR} \times \text{bid}$), applies business rules, and filters the pool down to 2,000. In Round 2, instead of starting over, those 2,000 survivors resume directly from Layer 2.
OmniPreRank's two-round Transformer architecture showing cached layer states across an external engine filter.
  • GPU State Caching & Co-located Bidding: Because engine filtering happens outside the model across two separate network requests, Layer 1's hidden states (about 24 KB per candidate) are cached directly in GPU memory with a 100 ms time-to-live, and Round 2 requests are routed back to the exact same GPU. Additionally, they moved the bidding service from remote CPUs in another data center onto co-located GPUs, connecting prediction and bidding via a low-latency link so bidding twice doesn't blow the 50 ms latency budget.
Figure 3: Previous deployment and current OmniPreRank deployment. (a) The engine dispatches packages to separate LTR and GMV models and calls CPU bidding across data centers. (b) Deep resumes from cached Shallow states after engine filtering; in both rounds, the Shallow and Deep prediction graphs directly invoke GPU bidding over a low-latency connection.

Datasets

The authors train and evaluate on proprietary production logs from Alibaba's Taobao & Tmall advertising platform:

  • Training/Eval Logs: Over 1 billion requests sampled across 15 days (14 days for training, 1 for evaluation), recording the ~400 fine-ranking candidates per request, their ECPM orders, bids, and value targets.
  • Replayed Pre-Ranking Benchmark: To test true funnel selection, they replay the full online pre-ranking pools (up to 16,000 candidates per request) from the evaluation day.

Key Insights and Ideas

  • Cross-request state caching beats recomputation: You might assume Transformer layers are just matrix math, so recomputing Layer 1 for 2,000 survivors is cheap. Not here! Skipping Layer 1 also skips feature retrieval, embedding lookups, tokenization, and processing the longest user-behavior sequences (which get truncated in deeper layers). State reuse boosts throughput by 62.5% and shaves 18 ms off P99 latency compared to two-round recomputation.
  • Shallow supervision helps Deep layers: Jointly training Shallow and Deep heads doesn't cause destructive interference; OmniPreRank's Deep heads actually achieve better ranking consistency and lower value-prediction error than an identical 4-layer model trained standalone.
  • Hardware-software co-design unlocks algorithmic ideas: Two-round pre-ranking would fail online if each round required a 10 ms cross-data-center RPC call for CPU bidding. Moving bidding onto same-data-center GPUs cut bidding P99 latency from 10 ms to 2 ms (an 80% drop), making multi-round interaction viable.

Key Results

  • Offline Selection: At the deployed $16,000 \to 2,000 \to 400$ funnel, the 1-layer Shallow filter successfully retains 98.98% of the top-400 candidates that a full 4-layer pass over all 16,000 candidates would have chosen, while cutting per-request compute by 66.4% (from 1,250 to 420 GFLOPs).
  • Online A/B Testing (7 days, 10% traffic): OmniPreRank increased Revenue Per Mille (RPM) by +2.14%, Return on Investment (ROI) by +1.09%, and Click-Through Rate (CTR) by +1.34% at a 45 ms P99 latency.
  • Massive Efficiency: Running the full 4-layer model on all 16,000 candidates yielded +2.35% RPM, meaning OmniPreRank captured 91.1% of the maximum possible revenue gain. Better yet, by unifying the LTR and GMV fleets and reusing compute, it required 36.7% fewer prediction machines than the baseline production fleet (whereas full deep scoring would have required 54.4% more machines).

Limitations and Future Work

  • Fixed Early Features: Right now, the Deep round only refines features already tokenized in Round 1; it cannot inject ultra-rich, expensive features mid-flight after the candidate pool shrinks.
  • Uncalibrated Fallback: If a GPU cache entry times out or fails, the engine falls back to Round 1 Shallow ECPM scores for that batch, merging them with Round 2 Deep scores without cross-depth calibration.
  • Next Stop, Fine-Ranking: The authors view this as step one. Future work aims to extend this exact state-continuation bridge across the boundary into fine-ranking (introducing new feature tokens after filtering) and migrating even more external engine logic onto GPUs to eliminate data-transfer bottlenecks.

Summary updated

BibTeX
@misc{kou2026omniprerank,
  author = {Zhi Kou and Zhangming Chan and Yichao Liu and Jingchen Gao and Chenxi Wang and Jianqi Xie and Yan Jiang and Zhenyuan Lai and Chaochao Zhao and Wenchao Wang and Dagui Chen and Jian Xu and Bo Zheng},
  title = {{OmniPreRank: Progressive Computation Reuse for Pre-Ranking as a Step towards Unified Ranking}},
  year = {2026},
  eprint = {2611.40289},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.40289},
}
Figure