Papers
Topics
Authors
Recent
Search
2000 character limit reached

RankMixer Architecture for Scalable Recommenders

Updated 11 March 2026
  • RankMixer is a hardware-aware ranking model that replaces memory-bound feature-cross modules and quadratic self-attention with an efficient token mixing mechanism.
  • It employs per-token feed-forward networks and a Sparse-MoE extension to scale parameters to over a billion while maintaining fixed inference latency.
  • Empirical results show significant AUC improvements and measurable business impact in industrial recommender and advertising systems.

The RankMixer architecture is a hardware-aware, large-scale ranking model designed specifically to address the unique demands of industrial recommender systems. It systematically replaces memory-bound and parameter-inefficient CPU-era feature-cross modules and the quadratic compute of transformer self-attention, employing a lightweight, highly parallelizable token-mixing mechanism. RankMixer achieves superior model FLOPs utilization (MFU), scales to over a billion parameters without breaching strict inference latency/QPS budgets, and preserves the modeling of both distinct feature subspaces and deep cross-feature interactions. The architecture serves as a foundation for subsequent evolutions such as TokenMixer-Large, demonstrating persistent gains under aggressive scaling regimes and deployment across major real-world recommendation and advertising systems (Zhu et al., 21 Jul 2025, Jiang et al., 6 Feb 2026).

1. Architectural Motivation and Context

In industrial recommendation, ranking backbones traditionally rely on a mix of feature-crossing modules—including FM, DCN, and handcrafted cross layers—whose memory-bound CPU-optimized kernels yield very low GPU arithmetic throughput. These modules resulted in model MFU values in the 3–6% range and limited the effective scaling of model parameters, as GPU utilization is constrained by memory traffic rather than compute (Zhu et al., 21 Jul 2025). In contrast, self-attention mechanisms in transformers, while successful in natural language processing, exhibit two major drawbacks for recommendation: quadratic cost with respect to token count (O(T2D)O(T^2 D)), and a shared similarity metric across tokens that typically encode highly heterogeneous feature fields, leading to poor inductive bias and hardware inefficiency.

RankMixer is motivated by the need to (i) increase parallelism and MFU, (ii) decouple parameter expansion from inference cost, and (iii) preserve deep, expressive interaction modeling for large, semantically diverse feature sets.

2. Core Building Blocks

Multi-Head Token Mixing

RankMixer replaces quadratic self-attention with a parameter-free Multi-Head Token Mixing layer. Given X0∈RT×DX_0 \in \mathbb{R}^{T \times D} as token embeddings:

  • Each D-dimensional token is split into HH equal-size "heads."
  • For each head hh, the hh-th subspace of every token is concatenated into a new "mixed token," effectively transposing token and feature axes.
  • For H=TH=T, the mixing operation produces TT mixed tokens of dimension DD, achieving O(TD)O(T D) cost.
  • This operation is entirely parameter-free and consists of fusing large tensor rearrangements, allowing for maximal GPU kernels and bandwidth-efficient execution (Zhu et al., 21 Jul 2025).

In comparison, transformer self-attention incurs O(T2D)O(T^2 D) operations and O(T2)O(T^2) memory for the attention matrix, which is intractable under production latency constraints.

Per-Token Feed-Forward Networks (PFFNs)

Immediately after token mixing, a two-layer MLP (feed-forward network) is applied independently to each token, with parameters unshared between tokens:

  • For token tt, the transforms are ft,1(x)=xWt,1+bt,1f_{t,1}(x) = x W^{t,1} + b^{t,1} and ft,2(x)=xWt,2+bt,2f_{t,2}(x) = x W^{t,2} + b^{t,2}.
  • Output: vt=ft,2(GELU(ft,1(st)))v_t = f_{t,2}(\mathrm{GELU}(f_{t,1}(s_t))), where sts_t is the post-mixing embedding.
  • This "isolation" prevents dominant tokens (e.g., frequent IDs) from overwhelming signals from infrequent tokens and maintains cross-token information through the residual path.

By allocating separate parameters per token, the PFFN multiplicatively increases model capacity, but the compute cost remains O(TD2k)O(T D^2 k), identical to a shared-parameter MLP (Zhu et al., 21 Jul 2025, Jiang et al., 6 Feb 2026).

Sparse Mixture-of-Experts (Sparse-MoE) Extension

To scale beyond dense PFFNs, RankMixer replaces each token’s MLP with a lightweight MoE module:

  • Each PFFN is expanded into NeN_e experts per token.
  • ReLU Routing provides non-negative gate activations Gi,j=ReLU(h(si))G_{i,j} = \mathrm{ReLU}(h(s_i)).
  • Dense-Training/Sparse-Inference (DTSI) maintains two router versions: full expert exposure during training (avoiding "dead" experts), sparse activation at inference, and applies an â„“1\ell_1 penalty on gate activations to enforce activation budgets.
  • High sparsity (as low as $1/8$ active experts) retains >99.98%>99.98\% of dense model AUC with up to 2×2\times throughput improvement and balanced expert load (Zhu et al., 21 Jul 2025).

3. Computational Complexity and Parallelism

RankMixer is engineered for large-scale matrix operations aligned with GPU strengths. With LL layers, TT tokens, hidden size DD, and expansion kk:

  • Dense configuration: #\#Parameters ≈2kLTD2\approx 2 k L T D^2, FLOPs ≈4kLTD2\approx 4 k L T D^2 per sample.
  • Empirical MFU increases to 44−45%44-45\% (vs. 4−6%4-6\% for self-attention or legacy hybrid modules).
  • Parameter growth (e.g., scaling from 16M to 1B parameters) is decoupled from inference latency, which remains nearly fixed due to reduced FLOPs/parameter, increased MFU, and low-precision compute (e.g., fp16).

For instance, RankMixer-1B (fp16) achieves 70×70\times parameter count over a baseline DCN+MLP block yet reduces latency (∼14.3\sim14.3 ms vs. ∼14.5\sim14.5 ms) (Zhu et al., 21 Jul 2025).

Model Params MFU Latency AUC gain
DCN+MLP 16M ~4.5% 14.5ms Baseline
RankMixer-100M 107M 44% +0.64%–1.33%
RankMixer-1B 1.1B 45% 14.3ms +0.95%–1.82%

4. Empirical Results and Deployment

RankMixer has been validated on trillion-scale production logs (e.g., Douyin platform):

  • RankMixer-100M outperforms dense DLRM/DCN/HiFormer/Wukong models at identical parameter scale, with +0.64%\mathrel{+}0.64\% to +1.33%+1.33\% AUC/UAUC improvements at lower or equivalent FLOPs.
  • RankMixer-1B Dense achieves +0.95%+0.95\% Finish-AUC, +1.22%+1.22\% UAUC, +1.25%+1.25\% Skip-AUC, +1.82%+1.82\% Skip-UAUC.
  • Sparse-MoE variant (1/8 experts active) sustains >99.98%>99.98\% dense AUC while halving inference cost.

Online A/B tests report measurable business impact:

  • Full-traffic serving: +0.29%+0.29\% in active user days, +1.08%+1.08\% app duration, +2.39%+2.39\% likes.
  • Larger gains for low-activity users.
  • In advertisement ranking: +0.73%+0.73\% AUC, +3.90%+3.90\% ADVV (Zhu et al., 21 Jul 2025).

5. Evolution: TokenMixer-Large and Beyond

TokenMixer-Large (Jiang et al., 6 Feb 2026) builds upon RankMixer, resolving limitations encountered in deep model regimes:

  • Introduces explicit mixing-and-reverting within each block, ensuring T×DT \times D input-output alignment and preventing vanishing gradients.
  • Adds inter-layer (interval) residuals (skip connections every KK layers) and auxiliary losses at regular depths, ensuring stable optimization when depth L≫2L \gg 2.
  • Adopts a "sparse-train, sparse-infer" fully differentiable Sparse Per-token MoE, reducing training and inference cost proportionally to the active expert count k/Ek/E.
  • Achieves up to 15B parameter scale in live ByteDance recommender deployments, +2.98%+2.98\% GMV improvement in e-commerce, and +2.0%+2.0\% ADSS for advertising.
  • MFU reached up to 60%60\% using grouped-GEMM kernels and token-parallel all-to-all schemes across multiple GPUs.

6. Significance and Impact

The RankMixer architecture constitutes a paradigm shift for hardware-scaled industrial recommenders:

  • Replaces a heterogeneous assembly of legacy feature-cross and deep models with a unified, highly parallel "mix then isolate" pattern.
  • Enables dramatic increases in parameter count and representational capacity without incurring inference latency or resource footprint penalties.
  • Generalizes across recommendation and advertisement ranking, with empirical scaling laws monotonic in parameter count, as demonstrated in online and offline production.
  • Facilitates subsequent innovations, including TokenMixer-Large, that maintain both high MFU and stable training at multi-billion parameter scales.

The practical significance is substantiated by production adoption and persistent business metric improvements, making RankMixer and its derivatives foundational layers for large-scale, high-throughput modern recommender systems (Zhu et al., 21 Jul 2025, Jiang et al., 6 Feb 2026).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to RankMixer Architecture.