Manuscript Offprint
arXiv:2610.35318Unified Heterogeneous Feature Interaction via Effective-Rank Scaling for Recommender Systems
Ao Zhang
Alibaba Group
Hangzhou, Zhejiang, China
Jian Yang
Renmin University of China
Beijing, China
Haochuan Li
Alibaba Group
Hangzhou, Zhejiang, China
Qihang Fang
Institute of Automation, Chinese
Academy of Sciences
Beijing, China
Boya Du
Alibaba Group
Hangzhou, Zhejiang, China
Yulin Xu
Institute of Automation, Chinese
Academy of Sciences
Beijing, China
Abstract
Large-scale industrial ranking models must jointly capture heterogeneous feature interactions, long-term user behaviors, and multi-scenario dependencies under stringent online serving constraints. Existing architectures typically process sequential and non-sequential features with separate modules, limiting bidirectional information exchange. Directly applying homogeneous self-attention to all semantic tokens can also be inefficient when sequential and non-sequential signals exhibit different effective-ranks (eRanks). Meanwhile, shared representations can overlook scenario-specific patterns and induce negative transfer between scenarios. In this paper, we propose HiRank, a unified framework for multi-scenario recommendation that jointly models Heterogeneous feature Interactions via effective-Rank scaling. HiRank integrates gated sequential attention with heterogeneous feature interaction within a unified backbone, enabling bidirectional fusion between sequential and non-sequential representations. HiRank further uses scenario-aware aggregation to compress heterogeneous low-order tokens into a compact representation. Distinct learned projections transform the full compact representation into scenario-aware composite tokens with complementary global feature views and more uniform information density, enabling more effective high-order self-attention. Extensive experiments on industrial-scale datasets demonstrate favorable performance scaling with parameter count and consistent improvements over competitive baselines. Online A/B tests further show a 2.27% increase in orders per user.
CCS Concepts
• Information systems → Data mining; Recommender systems.
ACM Reference Format:
Ao Zhang, Haochuan Li, Boya Du, Jian Yang, Qihang Fang, and Yulin Xu. 2017. Unified Heterogeneous Feature Interaction via Effective-Rank Scaling for Recommender Systems. In Proceedings of ACM Conference (Conference'17). ACM, New York, NY, USA, 9 pages.
1 Introduction
Ranking models [1, 2] in large-scale recommender systems are not limited to click-through rate (CTR) prediction. In production e-commerce systems, these models often need to jointly estimate multiple conversion-related targets, including purchase conversion rate (CVR) and add-to-cart rate. To estimate these targets, rankers integrate heterogeneous signals from user behavior histories and candidate item features.
Prior research on recommendation ranking has largely progressed along two parallel lines: behavioral sequence modeling and feature interaction. The former focuses on extracting interest signals relevant to the candidate item from users' interaction histories. Representative advances include target-aware attention in DIN [3], GRU-based interest evolution in DIEN [4], and efficient long-sequence compression in LONGER [5]. The latter focuses on learning dependencies among high-dimensional features across multiple fields, including user attributes, item attributes, and contextual signals. Research in this direction has evolved from second-order interactions in factorization machines (FM) [6] and explicit higher-order feature crosses in DCNv2 [7] to stacked FM blocks in Wukong [8] and multi-head token mixing in RankMixer [9]. Despite progress in both directions, industrial ranking systems often connect these components through an encode-then-interact pipeline. A sequence encoder first compresses a user's history into a fixed-dimensional representation, which a downstream interaction module then combines with non-sequential features. When this summary is the sole behavioral input to subsequent modules, they cannot directly access event-level sequence states to retrieve additional evidence within the same forward pass.
In parallel, the success of large foundation models [10, 11] has motivated efforts to scale the capacity of recommendation models. RankMixer [9] and OneTrans [12] exemplify recent architectural advances in this direction. RankMixer combines efficient token mixing
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.
Conference'17, Washington, DC, USA
© 2017 Copyright held by the owner/author(s). Publication rights licensed to ACM.
Ao Zhang, Haochuan Li, Boya Du, Jian Yang, Qihang Fang, and Yulin Xu
with token-specific transformations to scale heterogeneous feature interaction, while OneTrans unifies behavioral sequence modeling and feature interaction within a shared Transformer backbone. Both studies report favorable scaling behavior, with performance gains demonstrated through offline evaluations on production data and online A/B tests. In CVR prediction, the relevance of behavioral signals depends on the candidate item, while their relative importance may vary across traffic sources and user segments. Given the sparsity of purchase conversion feedback, Taobao's homepage CVR model is trained on user-item samples with purchase feedback collected across the entire platform. This training setup motivates a scenario-aware CVR model that learns transferable patterns from platform-wide data while adapting to the characteristics of the target recommendation scenario.
In this paper, we propose HiRank, a unified framework for multi-scenario recommendation that couples modeling of the main user behavior sequence with long-term memory retrieval and heterogeneous feature interaction. Inspired by the HSTU family [13, 14], HiRank maintains explicit main-sequence states for gated sequential modeling, retains selected long-term behavioral sequences as separate memories, and organizes non-sequential features and pooled behavioral summaries into semantic tokens. Its design considers representation diversity at two stages: the variation of retrieval queries across users and the diversity of composite tokens used for subsequent feature interaction. For long-term memory retrieval, queries constructed from relatively static profile features may concentrate in a limited set of representation directions, restricting their effective dimensionality across users. To preserve behavior-dependent variation, HiRank initializes interest queries by attending to the main sequence and uses the resulting representations to retrieve evidence from the corresponding long-term memories. A complementary candidate-conditioned pathway reads the main sequence through shared gated-attention projections and accesses the same memories from the candidate's perspective. These pathways provide complementary behavioral evidence for joint modeling with the main-sequence states and semantic feature tokens.
HiRank integrates these representations through head-wise token mixing and token-specific feed-forward transformations. When multiple blocks are stacked, the interaction outputs update both the main-sequence states and the queries used for subsequent long-term retrieval. This feedback allows the evolving feature context to guide further sequence modeling and memory access, coupling behavioral evidence extraction with heterogeneous feature interaction throughout the backbone. To adapt the fused representations to different recommendation scenarios, HiRank uses scene-aware queries to aggregate the final token bank into a compact representation. Following the composite-projection principle of Hiformer [15], distinct learned projections transform this complete representation into multiple composite tokens for further attention-based interaction. Each composite token has access to the full aggregated context while learning a distinct projection of it. This construction aims to promote complementary representation directions and a more balanced singular-value spectrum across composite tokens, providing diverse inputs for subsequent interaction. The refined shared representation is then consumed by task-specific prediction towers for multiple conversion-related objectives.
Our contributions are fourfold: (1) Unified heterogeneous feature interaction modeling. We propose HiRank, which integrates explicit main-sequence states, query-based access to long-term memories, and semantically grouped feature tokens within a shared interaction backbone. (2) Main-sequence-guided long-term retrieval. We derive interest queries from the main sequence to preserve behavior-dependent variation across users, and complement them with candidate-conditioned queries for long-term memory retrieval. When blocks are stacked, the interaction outputs update both the main-sequence states and retrieval queries, allowing the evolving feature context to guide subsequent behavioral evidence extraction. (3) Scenario-aware high-rank latent interaction. We combine scene-aware aggregation with composite projections of the complete aggregated representation to construct multiple composite tokens. From an effective-rank perspective, this design targets diverse representation directions and a balanced spectrum for subsequent attention-based interaction. (4) Serving and deployment. We conducted extensive experiments on Taobao's production dataset and deployed the proposed method in Taobao's recommendation system, which serves hundreds of millions of daily active users. The results demonstrate statistically significant increases in both the number of orders per user and gross merchandise value (GMV) per user.
2 Related Work
2.1 Unified Sequence and Non-Sequence Modeling
Unified ranking architectures differ in which representations remain explicit and how information flows between input types. Feature-interaction architectures [9, 15, 16] provide expressive operators for heterogeneous tokens. Sequence-centric designs such as HSTU [13] and ULTRA-HSTU [14] emphasize event-level processing, with the latter exploring semi-local attention and separate transducers for different behavioral streams. Joint modeling further requires an architecture that coordinates these representations throughout the backbone.
One approach preserves separate computational streams. InterFormer [17] maintains sequence and feature-interaction streams, exchanging selected summaries bidirectionally while retaining token-level states within each stream. OneTrans [12] instead organizes both input types in a common causal token stream, sharing transformations across behavioral tokens and assigning token-specific parameters to heterogeneous feature tokens. Its pyramid structure progressively reduces the sequential query positions processed by deeper layers. Query-mediated architectures concentrate interaction in a compact set of evolving representations. HyFormer [18] retains behavioral sequences separately and alternates cross-attention decoding with global-query mixing. MixFormer [19] couples feature mixing with query-conditioned sequence aggregation, aligning feature heads with attention heads and constructing sequence key-value states through layer-specific feed-forward transformations. These designs permit repeated access to behavioral evidence as the interaction context evolves. HiRank adopts a hierarchical organization in which an evolving main-sequence state and source-specific long-term memories play distinct roles within the shared interaction backbone.
2.2 Multi-Scenario Modeling
Alongside backbone design, multi-scenario recommendation studies how a shared model adapts to heterogeneous recommendation contexts. It is closely related to multi-domain learning, which balances shared patterns with domain-specific characteristics across traffic distributions. Multi-task learning addresses a complementary dimension by sharing information across prediction objectives. Foundational architectures include MMoE [20], which learns task-specific combinations of shared experts, and PLE [21], which progressively separates shared and task-specific representations to mitigate negative transfer. For multi-domain CTR prediction, STAR [22] combines shared central parameters with domain-specific parameters to capture both commonalities and distinctions across domains.
Subsequent methods refine adaptation and information sharing across domains and tasks. PEPNet [23] uses personalized priors to gate embeddings and hidden representations for multi-domain and multi-task adaptation. M3oE [24] models common, domain-aspect, and task-aspect preferences through multiple expert modules and two-level fusion. More recently, SAF [25] combines sample-reweighted decorrelation with adaptive feature and expert gating to address spurious correlations in multi-domain multi-task recommendation. The Multi-Distribution Learner (MDL) [26] represents features, scenarios, and tasks as tokens and lets scenario and task tokens query feature representations through domain-aware attention. Combined with feature-token interaction and scenario-task fusion, this design supports joint multi-scenario and multi-task prediction. HiRank pursues scenario adaptation through scenario-aware queries that select evidence from a shared bank of behavioral and non-sequential tokens. The aggregated representation is then transformed into multiple composite tokens for interaction before task-specific prediction, connecting scenario-dependent evidence selection with the shared ranking backbone.
3 Methodology
We consider multi-scenario ranking in an industrial e-commerce recommender system. For each recommendation request, the ranking model evaluates candidate items for a user and jointly predicts multiple conversion-related outcomes, including purchase conversion (CVR), add-to-cart, and other conversion-related objectives. We denote the corresponding task set by .
Given a user u and a candidate item i, let denote the non-sequential feature blocks describing the user, the candidate item, and the request context, and let denote the user's historical behavior sequences. The prediction for task t is formulated as
where denotes the trainable model parameters and estimates the probability of a positive label for task . Training samples are collected across multiple Taobao traffic sources, requiring the model to capture shared behavioral patterns while adapting to scenario-dependent feature relevance. Figure 1 presents an overview of HiRank.
3.1 HiRank Overview
HiRank maintains a user main-sequence state, a candidate token, read-only long-term memories, and semantic feature tokens. Each block applies HSTU-inspired self-attention only to the main sequence; the candidate token reads the sequence keys and values through a separate cross-attention path with shared parameters. The updated states and long-term memory readouts are then integrated with feature tokens through head-wise mixing. A Retrieval Query Initialization module constructs the interest and candidate-conditioned retrieval queries in the first HiRank layer. In subsequent layers, these queries are taken from the preceding layer's retrieval outputs after token mixing and per-token feed-forward refinement. The mixed main-sequence and feature states are also propagated to the next layer. The mixed sequence, retrieval, and feature slots form the next layer's initial states, allowing earlier feature interactions to guide subsequent sequence modeling and memory access.
After the final layer, the High-Rank Attention Block uses queries conditioned on scenario attributes to aggregate the shared token bank. It then projects the compact readout into multiple composite tokens, models their interactions, and feeds the resulting representation into task-specific towers. We also describe an optional user-item decoupled variant for sharing computation across candidates within a request.
3.2 Features and Tokenization
3.2.1 Semantic feature tokens. Non-sequential features and pooled behavior summaries are organized into semantic groups, including user attributes, item attributes, and request context. Let G denote these groups. The corresponding feature tokens are constructed as
Within each group, the constituent feature blocks are independently projected into d-dimensional tokens. Tokens from all groups form . We partition these tokens into user-side slots and candidate-side slots . These labels indicate the initial slot assignments; both sets can contain cross-side information after joint mixing. A separate projection of the candidate item features initializes the candidate state c.
3.2.2 Main sequence and multiple long-term memories. The main behavior sequence in is projected event-wise into , preserving its event-level representation for subsequent sequence modeling. Each selected long-term history (e.g., click, add-to-cart, or purchase history) is independently projected into a long-term memory , with its corresponding valid-length mask. The main-sequence state is updated across HiRank layers, while the long-term memories retain their projected event states throughout the forward pass. We denote their collection by . Retrieval queries are initialized in the first HiRank layer, as described next.
3.3 HiRank Block
3.3.1 Gated Sequential Modeling. Inspired by HSTU [13, 14], we combine gated self-attention over the user main sequence with candidate-to-sequence cross-attention. Pointwise aggregated attention avoids the unit-sum constraint imposed by softmax. Multiplicative gating explicitly models interactions between local features and aggregated history. The main-sequence projection is
Ao Zhang, Haochuan Li, Boya Du, Jian Yang, Qihang Fang, and Yulin Xu

Figure 1: Overview of HiRank. Each block couples gated main-sequence modeling with long-term memory retrieval using main-sequence-guided and candidate-conditioned queries. Head-wise token mixing and per-token feed-forward transformations integrate the heterogeneous tokens. When blocks are stacked, the mixed states guide subsequent sequence modeling and memory retrieval. Scenario-aware queries aggregate the shared tokens into a compact representation, which is then projected into multiple composite tokens for multi-head attention.
where Linear is a position-shared affine projection and Split separates its four branches. After splitting, SiLU is applied only to the gate branch; U in the gated update denotes this activated branch, while Q, K, V remain unactivated. Writing the equations over valid positions and leaving head indices implicit, attention aggregates the projected values as
here N is the number of valid main-sequence positions. After gated self-attention over the main sequence, the candidate token reuses the retained K, V projected from the block input S. Its own query and gate replace the sequence query and gate in the same computation, with the residual added to c. The candidate contributes no key or value to either attention read. The input and output projections and both normalization stages are shared between the two paths within each block. The updated states then enter joint token mixing with long-term memory readouts and feature tokens.
3.3.2 Complementary Memory Retrieval. In the first block, learnable query tokens attend to the main sequence S to produce interest queries , partitioned into memory-specific groups . The updated candidate token initializes for each memory, stacked as . These two query sets retrieve complementary evidence from the same long-term memory :
Parameters are specific to each pathway and block. After joint token mixing and per-token SwiGLU transformations, the updated representations from the two retrieval paths become the next block's queries. The long-term memories retain their event representations throughout the stack. This design separates persistent behavioral evidence from the evolving retrieval context, allowing later blocks to revisit the same histories in light of earlier feature interactions.
3.3.3 Heterogeneous Token Interaction. Grouping tokens by input type for notation, we write their concatenation along the token axis as
Here R stacks the outputs of both retrieval paths across long-term memories, and F contains all semantic feature tokens. Following the mixing-and-reverting design of TokenMixer-Large [27], Mix groups matching channel slices across tokens for head-wise interaction, while Revert restores the original token layout to preserve alignment in residual updates. Independently parameterized head-wise SwiGLUs are followed by per-token SwiGLU transformations in the restored token layout:
Here Z denotes the tokens obtained after mixing, l indexes Hi-Rank blocks, and X denotes the token-interaction input within the current block. The first stage integrates behavioral and feature evidence across token positions within each channel group; the second recombines channels within each token using position-specific parameters. When blocks are stacked, the updated representations corresponding to R become the next block's retrieval queries.
3.4 High-Rank Attention
High-Rank Attention first forms a scenario-aware representation of , then models interactions among composite tokens derived from this summary.
3.4.1 Scenario-Aware Compression. Inspired by Hiformer [15], we use composite projections to construct queries, keys, and values from the complete input representation for heterogeneous feature interaction. Applying such projections to the concatenation of all backbone tokens requires large mapping matrices. HiRank instead reduces the projection input dimension through scenario-aware compression. We initialize scene tokens using the sample's scenario information and aggregate the final-layer output through cross-attention:
The scene tokens serve as queries, while provides keys and values. Flattening gives the compact state for subsequent composite-token interaction.
3.4.2 Heterogeneous Attention. Three independently parameterized composite projections [15] transform the compressed state into queries, keys, and values. Each composite token has distinct projection parameters and can combine all channels of the compressed state, allowing heterogeneous transformations of the same scenario-aware evidence. For composite tokens, each projection matrix has size , independent of the backbone token count. At block , the projected tokens interact through multi-head attention:
Attention models dependencies among these composite tokens, and the residual update integrates their interactions into the compact prediction state.
3.4.3 Task Prediction. Task-specific MLPs map the shared state to scalar logits, yielding . The training objective is
Here weights each task, and regularizes model parameters.
3.5 User-Item Decoupling
Request-level batching (RLB) [28, 29] reduces redundant computation by sharing user-side processing across candidates within the same recommendation request. Inspired by MixFormer [19], we formulate an optional variant that maintains candidate-independent user states while preserving user-to-item interaction, as illustrated in Figure 2.
3.5.1 Token Decoupling. For this variant, we partition backbone tokens into user-side and item-side streams according to whether their computation depends on the candidate item. The user-side stream contains the main-sequence state, tokens from the interest-query retrieval path, and feature tokens shared across candidates within a request. The item-side stream contains the candidate token,

Figure 2: Optional user-item decoupled HiRank. User-side processing is shared within a request, while item-side processing remains candidate-specific. Blue and orange denote the user-side and item-side streams, respectively.
retrieval tokens conditioned on the candidate, and feature tokens encoding item attributes, user-item cross features, or context that varies across candidates.
3.5.2 Directional Interaction. Following the computation-sharing principle of M-FALCON [13], each layer computes main-sequence gated self-attention once per request and reuses its history K/V for candidate cross-attention. Candidate queries read these keys and values without writing information back to the user sequence.
For token interaction, masked head-wise SwiGLU permits user-to-item information flow while blocking item-to-user feedback. Its up, gate, and down projections use compatible user/item partitions to enforce the dependency pattern
where rows index outputs and columns index inputs in order.
The directional design preserves layer-wise user-to-item information flow, allowing candidate representations to incorporate shared user evidence throughout the backbone. This extends computational reuse across both behavioral modeling and feature interaction, combining request-level efficiency with candidate-aware representation learning in a unified backbone.
Ao Zhang, Haochuan Li, Boya Du, Jian Yang, Qihang Fang, and Yulin Xu
Table 2: Performance comparison. The best results for each performance metric are boldfaced, and the best baseline results are underlined. RI is computed relative to DCNv2 + DIN (Base) separately for Homepage and Main Search. Improv. denotes HiRank's improvement over the best baseline for each performance metric (reduction in |PCOC - 1| for PCOC). Costs report dense parameters (M) and forward GFLOPs per candidate.
| Homepage | Main Search | Cost | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| AUC ↑ | GAUC ↑ | PCOC | RI (%) ↑ | AUC ↑ | GAUC ↑ | PCOC | RI (%) ↑ | Params (M) | GFLOPs | |
| DCNv2 + DIN (Base) | 0.9136 | 0.7294 | 1.1866 | 0.00 | 0.8748 | 0.6764 | 0.9770 | 0.00 | 36.98 | 0.428 |
| RankMixer [9] + DIN | 0.9143 | 0.7473 | 1.1184 | 0.17 | 0.8755 | 0.6772 | 0.9674 | 0.19 | 350.15 | 1.002 |
| Hiformer [15] + DIN | 0.9146 | 0.7518 | 1.0978 | 0.24 | 0.8754 | 0.6777 | 0.9829 | 0.16 | 392.97 | 1.243 |
| MixFormer [19] | 0.9138 | 0.7488 | 1.1268 | 0.05 | 0.8752 | 0.6754 | 1.0214 | 0.11 | 341.80 | 1.161 |
| OneTrans [12] | 345.40 | 1.768 | ||||||||
| HyFormer [18] | 0.9148 | 1.0665 | 0.29 | 0.8758 | 0.6775 | 0.9794 | 0.27 | 344.40 | 1.280 | |
| Base + PLE [21] | 0.9138 | 0.7334 | 0.05 | 0.8754 | 0.6770 | 0.16 | 345.98 | 1.046 | ||
| MDL [26] | 0.9147 | 0.7439 | 1.0850 | 0.27 | 0.8756 | 0.6773 | 1.0684 | 0.21 | 343.62 | 0.990 |
| HiRank (ours) | 0.9163 | 0.7801 | 0.9865 | 0.65 | 0.8764 | 0.6787 | 0.9864 | 0.43 | 299.04 | 1.530 |
| Improv. | +0.0009 | +0.0186 | +0.0291 | +0.22 | +0.0005 | +0.0009 | -0.0048 | +0.13 | / | / |
4 Experiments
Through offline evaluations and online A/B tests, we aim to answer the following research questions (RQs). RQ1: Prediction performance. Does HiRank improve CVR prediction over competitive baselines under comparable dense-parameter budgets? RQ2: Ablation and analysis. How do HiRank's key components contribute to prediction quality and computational cost, and how does effective rank evolve across mixing blocks, memory retrieval, and High-Rank Attention? RQ3: Scaling validation. How do width, token length, and depth in HiRank blocks and High-Rank Attention affect CVR prediction quality and forward computational cost? RQ4: Online A/B tests. Can HiRank improve orders and GMV per user over the production ranker while satisfying serving-latency constraints?
Table 1: Approximate daily dataset statistics. B and M denote billions and millions, respectively. Interactions count purchase-positive samples and sparsity is their ratio to impressions.
| Data | Impressions | Items | Users | Interactions | Sparsity |
|---|---|---|---|---|---|
| Taobao | 2.4B | 87M | 206M | 94M | 3.92% |
| Homepage | 438M | 17M | 91M | 4M | 0.92% |
4.1 Experimental Setup
4.1.1 Dataset. We construct an industrial-scale dataset for CVR prediction from user interaction logs collected across Taobao. Table 1 summarizes the dataset statistics. Purchase conversion prediction is the main task, with cart addition prediction as an auxiliary task to provide additional supervision under sparse conversion feedback. The dataset covers major traffic sources, including Taobao's main search and homepage recommendations, as well as dozens of smaller scenarios. The production ranker is trained on pooled data from these scenarios to mitigate the sparsity of purchase feedback.
4.1.2 Tasks and Metrics. Offline evaluation focuses on CVR prediction, with cart addition providing auxiliary supervision during training. We report global AUC, user-grouped AUC (GAUC), the Predicted Click Over Click (PCOC), and Relative Improvement (RI). Global AUC measures discrimination across eligible test impressions. GAUC measures within-user ranking quality by averaging per-user AUCs in proportion to each user's total evaluation weight. PCOC closer to one indicates better agreement between predicted and observed conversions. Following DIN [3], RI measures the improvement in global AUC relative to the baseline's margin over random guessing:
4.1.3 Baseline Methods. We compare two baseline groups. For ranking, our production baseline DCNv2 + DIN (Base) combines DCNv2 [7] for feature interaction with DIN [3] for target-aware history aggregation. RankMixer + DIN and Hiformer + DIN replace the feature-interaction module with RankMixer [9] and Hiformer [15], respectively. We also include MixFormer, OneTrans, and HyFormer [12, 18, 19]. Multi-task and multi-scenario baselines include Base + PLE and MDL [21, 26]. Base + PLE replaces the prediction heads of the production baseline, while MDL is evaluated as a complete model. Comparisons share features, histories, training examples, and tuning budgets. The production ranker serves as an operational reference.
4.1.4 Implementation Details. All models use the same input features, behavior histories, and training data, with hyperparameters selected by validation CVR AUC under comparable dense-parameter budgets. For HiRank, we set the token width to , and use four long-term memories and 32 mixer heads. The main
Table 3: Ablation study of different HiRank components, where “w/o” is short for “without”. The first two variants use DIN-style attention instead of the corresponding HiRank modules. The best results for each performance metric are marked in boldface.
| CVR | ||
|---|---|---|
| AUC | GAUC | |
| w/o Gated Attention | 0.9160 | 0.7623 |
| w/o Complementary Retrieval | 0.9159 | 0.7591 |
| w/o Token Interaction & High-Rank Attention | 0.9143 | 0.7312 |
| w/o Token Interaction | 0.9158 | 0.7714 |
| w/o High-Rank Attention | 0.9154 | 0.7685 |
| Full HiRank | 0.9163 | 0.7801 |
behavior sequence is truncated to events. The high-rank attention block uses a compressed dimension of and composite tokens of width . Unless otherwise specified, the HiRank backbone uses two layers (), and the high-rank attention stage uses one block ().
4.2 RQ1: Performance Evaluation
Table 2 compares offline CVR performance and forward computational cost. HiRank achieves the highest AUC and GAUC on both traffic sources. The AUC and GAUC gains over the respective strongest baselines are 0.0009 and 0.0186 on Homepage, and 0.0005 and 0.0009 on Main Search, respectively. HiRank also achieves the PCOC closest to one on Homepage. The following ablation study examines the contributions of HiRank's key components.
Unlike language tokens represented in a shared vocabulary space, recommendation features are highly heterogeneous in both semantics and statistical properties. Unified Transformer architectures such as OneTrans [12] demonstrate the potential of jointly modeling behavior sequences and feature interactions, yet their ablations also show that retaining all tokens at every layer can increase computation without consistent performance gains. From a representational perspective, single-head attention aggregation satisfies and therefore cannot itself increase the algebraic rank of the value representations. Moreover, pure softmax-attention stacks exhibit a bias toward token uniformity in the absence of residual connections and feed-forward transformations [30]. RankMixer [9] offers a complementary mechanism through efficient cross-token channel regrouping and concatenation. These considerations motivate a unified framework that combines attention with token mixing, balancing adaptive dependency modeling with efficient information exchange across heterogeneous features.
Industrial recommenders also maintain multiple long-term behavior histories. Incorporating all such histories into the main sequence of a unified backbone can exceed practical computation and serving-latency budgets. Alongside candidate-aware retrieval, we derive user-interest queries from the main behavior sequence to provide a complementary interest perspective. This choice exploits the fine-grained behavioral context preserved in the main sequence, mitigating the information compression that may arise from aggregated profile statistics and providing a richer basis for interest retrieval. Finally, High-Rank Attention can be viewed as a mechanism for scenario-specific representation learning, conceptually related to the sharing and specialization principles of PLE [21]. It generates multiple composite projections from a common scenario-aware compressed representation, allowing attention to operate on learned latent views that already integrate heterogeneous information. Heterogeneous attention then models higher-order interactions among these views. Our experimental results further support the effectiveness of this design.

(a) Mixing 1
(b) Mixing 2

(c) Memory Retrieval
(d) High-Rank Attention
Figure 3: Pooled eRank over 354 aligned training steps: (a,b) mixing blocks; (c) memory retrieval; (d) High-Rank Attention. Dotted lines mark means.
4.3 RQ2: Ablation and Analysis
4.3.1 Ablation Study. We perform an ablation study to quantify the contributions of HiRank's key components. Table 3 summarizes the following variants. Behavioral modeling variants: i) replacing gated attention with DIN-style target attention over the main behavior sequence; ii) replacing complementary retrieval with DIN-style target attention over the same long-term histories, conditioned only on the candidate item. Interaction variants: i) removing both token interaction (token mixing and per-token SwiGLU) and High-Rank Attention, and directly feeding the sequence, retrieval, and feature representations into the prediction MLP; ii) removing token interaction while retaining High-Rank Attention and the subsequent prediction modules; iii) retaining the complete HiRank blocks but removing High-Rank Attention, with the backbone outputs passed directly to the prediction MLP. As shown in Table 3, full HiRank achieves the best AUC and GAUC among the evaluated variants. Replacing gated attention or complementary retrieval with DIN-style attention reduces both metrics, supporting the value of modeling sequence dependencies and accessing
Ao Zhang, Haochuan Li, Boya Du, Jian Yang, Qihang Fang, and Yulin Xu

(a) HiRank Block
(b) High-Rank Attention
Figure 4: Scaling study of (a) HiRank Block and (b) High-Rank Attention.
complementary long-term evidence. Removing token interaction or High-Rank Attention also degrades performance, with their joint removal yielding the largest AUC and GAUC drops of 0.0020 and 0.0489, respectively. These results highlight the complementary roles of behavioral modeling and heterogeneous feature interaction in CVR prediction.
4.3.2 Effective Rank Analysis. Inspired by RankElastor [31], we characterize spectral changes using entropy effective rank. For a nonzero, column-centered representation matrix A, let denote its positive singular values:
Each logged tensor is flattened along its leading dimensions, independently subsampled to at most 256 rows, and column-centered. To examine how HiRank integrates heterogeneous evidence while maintaining representation diversity, we analyze entropy-based effective rank at key stages.
Figure 3 reports pooled eRank distributions over aligned training steps. The main-sequence representations have higher mean eRank after the two complete mixing blocks, increasing from 96.51 to 112.80 and from 128.36 to 134.80, respectively. For user long-term memory retrieval, the retrieved representations also exhibit higher mean eRank than the input queries, rising from 24.52 to 54.88. These shifts indicate greater spectral diversity in the corresponding representations under our pooled diagnostic. For subsequent high-order interaction, independently parameterized dense projections transform the scenario-aware compact state into composite tokens, allowing each token to draw on all channels of the state. Across the complete High-Rank Attention block, mean eRank changes from 228.58 to 224.09, a relative decrease of . This modest reduction is consistent with largely retaining the compact state's spectral diversity during interaction refinement. Together, these observations support HiRank's design of enriching representations through mixing and memory retrieval while limiting the reduction in spectral diversity during subsequent high-order interaction.
4.4 RQ3: Scaling Validation
Figure 4 independently varies width, length, and depth for Hi-Rank Block and High-Rank Attention , fixing other settings. We test , ,
Table 4: Online A/B results: HiRank vs. the production baseline. Values are relative changes (%). DAC denotes the number of daily unique purchasers. * denotes and ** denotes .
| Scenario | PV | Orders/u | GMV/u | DAC |
|---|---|---|---|---|
| Homepage | +0.45% | +2.27%** | +2.86%* | +2.13%** |
, , and . The horizontal axis reports estimated full-model forward matrix GFLOPs per candidate. The reference configuration uses and at 1.530 GFLOPs. For HiRank Block, sequence length has the largest effect on AUC among the tested configurations ( pp; pp), while increasing width or depth yields gains of at most pp. For High-Rank Attention, both composite-token width and token count contribute to performance. At comparable costs, and yield AUC gains of and pp, respectively, while yields pp.
4.5 RQ4: Online A/B Tests
We conduct an online A/B test on Taobao Homepage traffic against the production ranker, using persistent user-level randomization while holding non-ranking policies fixed. Orders/u is the primary outcome, and GMV/u uses the same assigned-user denominator and observation window. Eligibility is determined before randomization, and both metrics include assigned users with no subsequent orders. As shown in Table 4, HiRank increases PV, Orders/u, GMV/u, and DAC by , , , and , respectively, relative to the production baseline. These gains indicate improved per-user transaction outcomes alongside an increase in the number of daily purchasing users.
We further observe a increase in the number of users clicking on Homepage recommendations and a increase in orders per 1,000 impressions. These additional gains suggest that HiRank's benefits extend across user engagement and conversion efficiency.
5 Conclusion
We propose HiRank, a unified framework for multi-scenario recommendation that combines multi-behavior sequence modeling with heterogeneous feature interaction. Its backbone iteratively updates main-sequence states and complementary long-term retrieval queries, allowing feature context to guide subsequent behavior modeling. Scenario-aware aggregation and composite projections further construct complementary latent views for high-order interaction. Ablation studies support the complementary roles of the key components, while effective-rank diagnostics characterize representation diversity and scaling experiments show gains from longer sequences and increased model capacity. A user-item decoupled variant enables reuse of user-side computation across candidates within a request. Our method has been successfully deployed on Taobao's homepage feeds, where both offline evaluations and online A/B tests demonstrate improvements over the production baseline.
References
[1] Shuai Li, Yasin Abbasi-Yadkori, Branislav Kveton, S. Muthukrishnan, Vishwa Vinay, and Zheng Wen. 2018. Offline Evaluation of Ranking Policies with Click Models. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2018, London, UK, August 19-23, 2018, Yike Guo and Faisal Farooq (Eds.). ACM, New York, NY, USA, 1685–1694.
[2] Paul Covington, Jay Adams, and Emre Sargin. 2016. Deep Neural Networks for YouTube Recommendations. In Proceedings of the 10th ACM Conference on Recommender Systems. ACM, New York, NY, USA, 191–198. doi:10.1145/2959100.2959190
[3] Guorui Zhou, Xiaoqiang Zhu, Chengru Song, Ying Fan, Han Zhu, Xiao Ma, Yanghui Yan, Junqi Jin, Han Li, and Kun Gai. 2018. Deep Interest Network for Click-Through Rate Prediction. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining. ACM, New York, NY, USA, 1059–1068.
[4] Guorui Zhou, Na Mou, Ying Fan, Qi Pi, Weijie Bian, Chang Zhou, Xiaoqiang Zhu, and Kun Gai. 2019. Deep Interest Evolution Network for Click-Through Rate Prediction. In Proceedings of the AAAI Conference on Artificial Intelligence. AAAI Press, Honolulu, HI, USA, 5941–5948.
[5] Zheng Chai, Qin Ren, Xijun Xiao, Huizhi Yang, Bo Han, Sijun Zhang, Di Chen, Hui Lu, Wenlin Zhao, Lele Yu, Xionghang Xie, Shiru Ren, Xiang Sun, Yaocheng Tan, Peng Xu, Yuchao Zheng, and Di Wu. 2025. LONGER: Scaling Up Long Sequence Modeling in Industrial Recommenders. In Proceedings of the Nineteenth ACM Conference on Recommender Systems (RecSys '25). ACM, New York, NY, USA, 247–256. doi:10.1145/3705328.3748065
[6] Steffen Rendle. 2010. Factorization Machines. In 2010 IEEE International Conference on Data Mining. IEEE, 995–1000. doi:10.1109/ICDM.2010.127
[7] Ruoxi Wang, Rakesh Shivanna, Derek Z. Cheng, Sagar Jain, Dong Lin, Lichan Hong, and Ed H. Chi. 2021. DCN V2: Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank Systems. In Proceedings of The Web Conference 2021. ACM, New York, NY, USA, 1785–1795.
[8] Buyun Zhang, Liang Luo, Yuxin Chen, Jade Nie, Xi Liu, Shen Li, Yanli Zhao, Yuchen Hao, Yantao Yao, Ellie Dingqiao Wen, Jongsoo Park, Maxim Naumov, and Wenlin Chen. 2024. Wukong: Towards a Scaling Law for Large-Scale Recommendation. In Proceedings of the 41st International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 235). PMLR, Vienna, Austria, 59421–59434. https://proceedings.mlr.press/v235/zhang24ao.html
[9] Jie Zhu, Zhifang Fan, Xiaoxie Zhu, Yuchen Jiang, Hangyu Wang, Xintian Han, Haoran Ding, Xinmin Wang, Wenlin Zhao, Zhen Gong, Huizhi Yang, Zheng Chai, Zhe Chen, Yuchao Zheng, Qiwei Chen, Feng Zhang, Xun Zhou, Peng Xu, Xiao Yang, Di Wu, and Zuotao Liu. 2025. RankMixer: Scaling Up Ranking Models in Industrial Recommenders. In Proceedings of the 34th ACM International Conference on Information and Knowledge Management. ACM, New York, NY, USA, 9 pages. doi:10.1145/3746252.3761507
[10] OpenAI. 2023. GPT-4 Technical Report. arXiv:2303.08774 [cs.CL] doi:10.48550/arXiv.2303.08774
[11] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. 2022. High-Resolution Image Synthesis With Latent Diffusion Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 10684–10695. doi:10.1109/CVPR52688.2022.01042
[12] Zhaoqi Zhang, Haolei Pei, Jun Guo, Tianyu Wang, Yufei Feng, Hui Sun, Shaowei Liu, and Aixin Sun. 2026. OneTrans: Unified Feature Interaction and Sequence Modeling with One Transformer in Industrial Recommender. arXiv:2510.26104 [cs.IR] https://arxiv.org/abs/2510.26104 Accepted at The Web Conference 2026.
[13] Jiaqi Zhai, Lucy Liao, Xing Liu, Yueming Wang, Rui Li, Xuan Cao, Leon Gao, Zhaojie Gong, Fangda Gu, Michael He, Yinghai Lu, and Yu Shi. 2024. Actions Speak Louder than Words: Trillion-Parameter Sequential Transducers for Generative Recommendations. In Proceedings of the 41st International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 235). PMLR, Vienna, Austria, 58484–58509. https://proceedings.mlr.press/v235/zhai24a.html
[14] Qin Ding, Kevin Course, Linjian Ma, Jianhui Sun, Ruochen Liu, Zhao Zhu, Chunxing Yin, Wei Li, Dai Li, Yu Shi, Xuan Cao, Ze Yang, Han Li, Xing Liu, Bi Xue, Hongwei Li, Rui Jian, Daisy Shi He, Jing Qian, Matt Ma, Qunshu Zhang, and Rui Li. 2026. Bending the Scaling Law Curve in Large-Scale Recommendation Systems. arXiv:2602.16986 [cs.IR] doi:10.48550/arXiv.2602.16986
[15] Huan Gui, Ruoxi Wang, Ke Yin, Long Jin, Maciej Kula, Taibai Xu, Lichan Hong, and Ed H. Chi. 2023. Hiformer: Heterogeneous Feature Interactions Learning with Transformers for Recommender Systems. arXiv:2311.05884 [cs.IR] https://arxiv.org/abs/2311.05884
[16] Mingming Ha, Guanchen Wang, Linxun Chen, Xuan Rao, Yuexin Shi, Tianbao Ma, Zhaojie Liu, Yunqian Fan, Zilong Lu, Yanan Niu, Han Li, and Kun Gai. 2026. UniMixer: A Unified Architecture for Scaling Laws in Recommendation Systems. arXiv:2604.00590 [cs.IR] https://arxiv.org/abs/2604.00590
[17] Zhichen Zeng, Xiaolong Liu, Mengyue Hang, Xiaoyi Liu, Qinghai Zhou, Chaofei Yang, Yiqun Liu, Yichen Ruan, Laming Chen, Yuxin Chen, Yujia Hao, Jiaqi Xu, Jade Nie, Xi Liu, Buyun Zhang, Wei Wen, Siyang Yuan, Hang Yin, Xin Zhang, Kai
Wang, Wen-Yen Chen, Yiping Han, Huayu Li, Chunzhi Yang, Bo Long, Philip S. Yu, Hanghang Tong, and Jiyan Yang. 2024. InterFormer: Effective Heterogeneous Interaction Learning for Click-Through Rate Prediction. arXiv:2411.09852 [cs.IR] https://arxiv.org/abs/2411.09852
[18] Yunwen Huang, Shiyong Hong, Xijun Xiao, Jinqiu Jin, Xuanyuan Luo, Zhe Wang, Zheng Chai, Shikang Wu, Yuchao Zheng, and Jingjian Lin. 2026. HyFormer: Revisiting the Roles of Sequence Modeling and Feature Interaction in CTR Prediction. arXiv:2601.12681 [cs.IR] https://arxiv.org/abs/2601.12681
[19] Xu Huang, Hao Zhang, Zhifang Fan, Yunwen Huang, Zhuoxing Wei, Zheng Chai, Jinan Ni, Yuchao Zheng, and Qiwei Chen. 2026. MixFormer: Co-Scaling Up Dense and Sequence in Industrial Recommenders. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining. ACM, New York, NY, USA, 10 pages. doi:10.1145/3770855.3818447
[20] Jiaqi Ma, Zhe Zhao, Xinyang Yi, Jilin Chen, Lichan Hong, and Ed H. Chi. 2018. Modeling Task Relationships in Multi-task Learning with Multi-gate Mixture-of-Experts. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining. ACM, New York, NY, USA, 1930–1939.
[21] Hongyan Tang, Junning Liu, Ming Zhao, and Xudong Gong. 2020. Progressive Layered Extraction (PLE): A Novel Multi-Task Learning (MTL) Model for Personalized Recommendations. In Proceedings of the 14th ACM Conference on Recommender Systems. ACM, New York, NY, USA, 269–278. doi:10.1145/3383313.3412236
[22] Xiang-Rong Sheng, Liqin Zhao, Guorui Zhou, Xinyao Ding, Binding Dai, Qiang Luo, Siran Yang, Jingshan Lv, Chi Zhang, Hongbo Deng, and Xiaoqiang Zhu. 2021. One Model to Serve All: Star Topology Adaptive Recommender for Multi-Domain CTR Prediction. In Proceedings of the 30th ACM International Conference on Information & Knowledge Management. ACM, New York, NY, USA, 4104–4113. doi:10.1145/3459637.3481941
[23] Jianxin Chang, Chenbin Zhang, Yiqun Hui, Dewei Leng, Yanan Niu, Yang Song, and Kun Gai. 2023. PEPNet: Parameter and Embedding Personalized Network for Infusing with Personalized Prior Information. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining. ACM, New York, NY, USA, 3795–3804. doi:10.1145/3580305.3599884
[24] Zijian Zhang, Shuchang Liu, Jiaao Yu, Qingpeng Cai, Xiangyu Zhao, Chunxu Zhang, Ziru Liu, Qidong Liu, Hongwei Zhao, Lantao Hu, Peng Jiang, and Kun Gai. 2024. M3oE: Multi-Domain Multi-Task Mixture-of-Experts Recommendation Framework. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval. ACM, New York, NY, USA, 893–902. doi:10.1145/3626772.3657686
[25] Ke Fei, Da Luo, Kangyi Lin, Zibin Zhang, and Jingjing Li. 2026. Stable and Adaptive Fusion for Multi-domain Multi-task Recommendation. Proceedings of the AAAI Conference on Artificial Intelligence 40, 17 (2026), 14720–14728. doi:10.1609/aaai.v40i17.38491
[26] Shanlei Mu, Yuchen Jiang, Shikang Wu, Shiyong Hong, Tianmu Sha, Junjie Zhang, Jie Zhu, Zhe Chen, Zhe Wang, and Jingjian Lin. 2026. MDL: A Unified Multi-Distribution Learner in Large-scale Industrial Recommendation through Tokenization. arXiv:2602.07520 [cs.IR] doi:10.48550/arXiv.2602.07520
[27] Yuchen Jiang, Jie Zhu, Xintian Han, Hui Lu, Kunmin Bai, Mingyu Yang, Shikang Wu, Ruihao Zhang, Wenlin Zhao, Shipeng Bai, Sijin Zhou, Huizhi Yang, Tianyi Liu, Wenda Liu, Ziyan Gong, Haoran Ding, Zheng Chai, Deping Xie, Zhe Chen, Yuchao Zheng, and Peng Xu. 2026. TokenMixer-Large: Scaling Up Large Ranking Models in Industrial Recommenders. arXiv:2602.06563 [cs.IR] https://arxiv.org/abs/2602.06563
[28] Lin Guan, Jia-Qi Yang, Zhishan Zhao, Beichuan Zhang, Bo Sun, Xuanyuan Luo, Jinan Ni, Xiaowen Li, Yuhang Qi, Zhifang Fan, Hangyu Wang, Qiwei Chen, Yi Cheng, Feng Zhang, and Xiao Yang. 2025. Make It Long, Keep It Fast: End-to-End 10k-Sequence Modeling at Billion Scale on Douyin. arXiv:2511.06077 [cs.LG] doi:10.48550/arXiv.2511.06077
[29] Liang Guo, Wei Li, Lucy Liao, Huihui Cheng, Rui Zhang, Yu Shi, Yueming Wang, Yanzun Huang, Keke Zhai, Pengchao Wang, Timothy Shi, Xuan Cao, Shengzhi Wang, Renqin Cai, Zhaojie Gong, Omkar Vichare, Rui Jian, Leon Gao, Shiyan Deng, Xingyu Liu, Xiong Zhang, Fu Li, Wenlei Xie, Bin Wen, Rui Li, Lu Fang, Xing Liu, and Jiaqi Zhai. 2025. Request-Only Optimization for Recommendation Systems. arXiv:2508.05640 [cs.IR] doi:10.48550/arXiv.2508.05640
[30] Yihe Dong, Jean-Baptiste Cordonnier, and Andreas Loukas. 2021. Attention is not all you need: pure attention loses rank doubly exponentially with depth. In Proceedings of the 38th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 139), Marina Meila and Tong Zhang (Eds.). PMLR, 2793–2803. https://proceedings.mlr.press/v139/dong21a.html
[31] Guoming Li, Shangyu Zhang, Junwei Pan, Wentao Ning, Jin Chen, Gengsheng Xue, Chao Zhou, Shudong Huang, Haijie Gu, and Menglin Yang. 2026. Expand More, Shrink Less: Shaping Effective-Rank Dynamics for Dense Scaling in Recommendation. arXiv:2605.23191 [cs.LG] Accepted at KDD 2026.