TL;DR
LoopCTR introduces a "loop scaling" paradigm for click-through rate (CTR) prediction that recursively reuses shared model layers during training rather than stacking new parameters. Combined with a multi-depth process supervision strategy, it enables a "train-multi-loop, infer-zero-loop" capability where the model completely bypasses the loop block at inference time while still outperforming state-of-the-art baselines at a fraction of the computational cost.
What Problem Does This Paper Address?
In industrial recommendation systems, click-through rate (CTR) prediction models must process massive amounts of sparse data under strict low-latency constraints (often just a few milliseconds). While scaling up Transformer backbones by adding more layers (depth scaling) improves prediction accuracy, it also drastically increases parameter size, memory footprint, and inference latency.
Existing attempts to reuse layers recursively (looped Transformers) typically suffer from two flaws: an expressiveness bottleneck (a single static layer struggles to perform complex iterative reasoning) and an efficiency bottleneck (running multiple loops at inference time still multiplies latency). LoopCTR aims to decouple computational depth from parameter growth, delivering the performance benefits of a deep model without the deployment overhead.
Methods
LoopCTR achieves parameter-efficient scaling through a specialized sandwich architecture and a novel training objective:
- Sandwich Architecture: The model separates feature encoding, iterative reasoning, and prediction into three distinct parts: an Entry Block (heterogeneous feature projection + grouped self-attention), a Loop Block (the core recursive layer using prefix attention), and an Exit Block (cross-attention + task tower).
- Hyper-Connected Residuals (HCR): To break the expressiveness bottleneck of standard weight-tied layers, HCR replaces standard residuals with multi-stream parallel hidden states and input-dependent adaptive fusions. This allows the shared layer to dynamically modulate information flow differently at each loop iteration.
- Mixture-of-Experts (MoE): MoE layers are integrated into both the attention and feed-forward sub-layers, expanding parameter capacity without increasing per-token computation during a forward pass.
- Multi-Depth Process Supervision: Instead of calculating loss only at the final output, LoopCTR applies a binary cross-entropy loss at every loop depth during training. This forces the shared parameters to internalize the benefits of iterative refinement early on, enabling competitive performance even at zero-loop inference.
Datasets
The authors evaluated LoopCTR on three public benchmarks and one large-scale industrial dataset:
- Amazon (Electronics): A widely used product recommendation dataset (~3M interactions).
- TaobaoAds: An ad click dataset from Taobao (~25M interactions).
- KuaiVideo: A video recommendation dataset (~13.6M interactions).
- InHouse: A proprietary dataset sampled from 9 days of production logs at a major e-commerce platform (~6.1M interactions), featuring long-term user historical behavior sequences up to 1024 tokens.
Key Insights and Ideas
- The "Zero-Loop" Phenomenon: Thanks to process supervision, multi-loop training acts as an implicit self-distillation mechanism where deeper iterations act as "teachers" for shallower ones. At inference time, you can completely skip the Loop Block (
i=0). This zero-loop configuration still beats all standard baselines. - Weight Sharing as a Regularizer: Comparing LoopCTR to an identical architecture with unshared stacked layers (
StackCTR) under an equal FLOP budget revealed that weight sharing acts as a powerful inductive bias. It prevents the model from overfitting to sparse recommendation data. - The Counter-Intuitive Oracle Ceiling: An oracle analysis (selecting the optimal loop depth per individual sample post-hoc) revealed a massive untapped performance headroom of 0.02–0.04 AUC. Surprisingly, models trained with fewer loops exhibited higher oracle ceilings. The authors visualize the loss landscape to explain this: more training loops create broader, flatter minima that homogenize representations across depths, whereas fewer loops preserve representational diversity across depths, leaving more room for per-sample optimization.
Key Results
- State-of-the-Art Performance: LoopCTR variants consistently achieved top ranks in AUC and Normalized Entropy (NE) across all datasets. For example, on the Amazon dataset, LoopCTR(1/3) outperformed the strong OneTrans baseline by 0.0039 AUC—a highly significant margin in industrial CTR applications.
- Massive Efficiency Gains: On the industrial
InHousedataset,LoopCTR(0/3)achieved the best AUC while requiring only 13.38M FLOPs and 9.26ms of latency. Compared to heavy baselines like HSTU, this represents a 160× reduction in FLOPs and an 84× reduction in latency, making it exceptionally viable for production serving.
Limitations and Future Work
While LoopCTR demonstrates impressive zero-loop performance, its massive "oracle headroom" remains largely untapped because the current architecture uses a fixed loop count during inference. The authors point out that developing adaptive inference strategies—which dynamically predict and allocate the optimal loop depth for each individual sample at runtime—is the most promising frontier for this architecture. Additionally, integrating system-level engineering optimizations like FlashAttention remains an open task.
Summary updated