<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">RankTower: A Synergistic Framework for Enhancing Two-Tower Pre-Ranking Model</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Yachen</forename><surname>Yan</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Credit Karma</orgName>
								<address>
									<addrLine>760 Market Street</addrLine>
									<settlement>San Francisco</settlement>
									<region>California</region>
									<country key="US">USA</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Liubo</forename><surname>Li</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Credit Karma</orgName>
								<address>
									<addrLine>760 Market Street</addrLine>
									<settlement>San Francisco</settlement>
									<region>California</region>
									<country key="US">USA</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">RankTower: A Synergistic Framework for Enhancing Two-Tower Pre-Ranking Model</title>
					</analytic>
					<monogr>
						<idno type="ISSN">1613-0073</idno>
					</monogr>
					<idno type="MD5">9F8B10A4BAD58858335EB980CBFB7C85</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2025-04-23T20:14+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>Recommender Systems</term>
					<term>Pre-Ranking</term>
					<term>Learning to Rank</term>
					<term>Differentiable Sorting</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>In large-scale ranking systems, cascading architectures have been widely adopted to achieve a balance between efficiency and effectiveness. The pre-ranking module selects candidates for the subsequent ranking module, while maintaining efficiency and accuracy under online latency constraints. In this paper, we propose a novel neural network architecture called RankTower, which is designed to efficiently capture user-item interactions while following the user-item decoupling paradigm to ensure online inference efficiency. The proposed approach employs a hybrid training objective that learns from samples obtained from the full stage of the cascade ranking system, optimizing different objectives for varying sample spaces. This strategy enhances the pre-ranking model's ranking capability and alignment with the existing cascade ranking system. Experimental results conducted on public datasets demonstrate that RankTower significantly outperforms state-of-the-art pre-ranking models.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>In industrial information services, such as recommender systems, search engines, and advertisement systems, the cascading architecture ranking system has been widely used to achieve a balance between efficiency and effectiveness. A typical cascade ranking system, as illustrated in Figure <ref type="figure" target="#fig_0">1</ref>, consists of multiple sequential stages, including recall, preranking, ranking, and re-ranking stages. Pre-ranking is commonly regarded as a lightweight ranking module characterized by a simpler network architecture and a reduced set of features. Compared to ranking models, pre-ranking models are required to score a larger number of candidate items for each user and demonstrate higher inference efficiency. Given the emphasis on efficiency, pre-ranking typically employs a straightforward vector-product-based model.</p><p>We propose a novel pre-ranking framework called Rank-Tower to address these challenges. The primary contributions are as follows:</p><p>• We introduce the RankTower architecture, which comprises three key components: Multi-Head Gated Network, Gated Cross-Attention Network, and Maximum Similarity Layer. This architecture efficiently captures user-item interactions while following the user-item decoupling paradigm to ensure online inference efficiency.</p><p>• We employ a full-stage sampling strategy by drawing the training samples from different stages of  The Architecture of RankTower the cascade ranking system. Tightly coupled with this sampling approach, we strategically integrate a hybrid loss function that combines distillation and learning-to-rank losses. This synergistic approach facilitates comprehensive learning of the ordering dynamics underlying user interactions while aligning with the inherent patterns of the cascade ranking system.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>• Experiments on public datasets demonstrate that</head><p>RankTower significantly outperforms state-of-theart pre-ranking models in terms of prediction accuracy and inference efficiency.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Model Architecture</head><p>The RankTower architecture, as shown in Figure <ref type="figure" target="#fig_1">2</ref>, introduces three main modules: Multi-Head Gated Network for computing diversified user and item representations, Gated Cross-Attention Network for modeling bi-directional useritem interactions, and Maximum Similarity Layer for efficiently capturing user-item interactions to compute the final prediction.</p><p>RankTower follows the user-item decoupling paradigm, enabling efficient online serving by pre-computing and caching user and item embeddings. During online serving, only the gated cross-attention layers require forward propagation, while other operations remain parameter-free, optimizing computational efficiency.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Preliminary</head><p>The dataset for building the pre-ranking model consists of instances (𝑥 𝑢 , 𝑥 𝑖 , 𝑦, 𝑝), where 𝑥 𝑢 and 𝑥 𝑖 are the user feature and item feature respectively, 𝑋 𝑈 and 𝑋 𝐼 are the user and item input embeddings obtained by concatenating respective feature embedding vectors, 𝑦 ∈ {0, 1} indicates the user-item binary feedback label, 𝑝 is the logged ranking model prediction that for knowledge distillation. 𝑧 and ŷ denote the pre-ranking model's logit and prediction.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">Multi-Head Gated Network</head><p>The Multi-Head Gated Network is an enhanced MLP augmented with a gating mechanism for extracting diverse user and item representations. The MLP output is multiplied by an instance-aware gating vector, modeled by a two-layer MLP. The input embedding does not receive gradients from the gating network during training for stability. For example, given an user input embedding 𝑋 𝑈 , the ℎ-th sub-space 𝑒 ℎ 𝑢 of the user multi-embedding is:</p><formula xml:id="formula_0">𝑒 ℎ 𝑢 = 𝑀𝐿𝑃 𝑢 (𝑋 𝑈 ) ℎ ∘ 𝜎(𝑔𝑀𝐿𝑃 𝑢 (𝑋 𝑈 )) ℎ ∈ ℝ 𝐵×𝑘 , ℎ = 1, ⋯ , 𝐻 𝑢<label>(1)</label></formula><p>where ∘ denotes the Hadamard product, 𝜎 denotes the activation function of the gating network: Sigmoid(𝑥), 𝑀𝐿𝑃 𝑢 denotes the MLP layer for modeling the user input embedding, 𝑔𝑀𝐿𝑃 𝑢 denotes the gating MLP for facilitating selective attention, 𝐵 is the batch size and 𝑘 is the embedding size of each sub-space.</p><p>Similarly, for item input embedding 𝑋 𝐼 , the ℎ-th sub-space 𝑒 ℎ 𝑖 of the item multi-embedding is:</p><formula xml:id="formula_1">𝑒 ℎ 𝑖 = 𝑀𝐿𝑃 𝑖 (𝑋 𝐼 ) ℎ ∘ 𝜎(𝑔𝑀𝐿𝑃 𝑖 (𝑋 𝐼 )) ℎ ∈ ℝ 𝐵×𝑘 , ℎ = 1, ⋯ , 𝐻 𝑖<label>(2)</label></formula><p>In the offline processing stage, we will periodically batch inference and store all the user/item's embeddings 𝑒 ℎ 𝑢 and 𝑒 ℎ 𝑖 into the vector database for online serving usage.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.">Gated Cross-Attention Network</head><p>The Gated Cross-Attention Network employs the crossattention mechanism to effectively model the interaction between user embedding and item embedding. It utilizes the Gated Attention Unit as the main building block, along with residual connections and layer normalization for training stability.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.1.">Cross Attention Mechanism</head><p>The Bi-Directional Gated Cross-Attention Network interchangeably utilizes user and item embedding as queries and keys-values for bi-directional attention. Specifically, with the user multi-embedding 𝐸 𝑢 = Concat(e  </p><formula xml:id="formula_2">ℰ 𝑢 = LN(𝐸 𝑢 + GAU(𝑄 = 𝐸 𝑢 , 𝐾 = 𝐸 𝑖 , 𝑉 = 𝐸 𝑖 )) ∈ ℝ 𝐵×𝐻 𝑢 ×𝑘<label>(3)</label></formula><formula xml:id="formula_3">ℰ 𝑖 = LN(𝐸 𝑖 + GAU(𝑄 = 𝐸 𝑖 , 𝐾 = 𝐸 𝑢 , 𝑉 = 𝐸 𝑢 )) ∈ ℝ 𝐵×𝐻 𝑖 ×𝑘<label>(4)</label></formula><p>The cross-attention mechanism with two parallel branches is designed to simultaneously attend to both user preferences and item characteristics. This bidirectional approach allows the model to capture user-item interactions more accurately. The overall structure of the Gated Cross-Attention Network is illustrated in Figure <ref type="figure" target="#fig_2">3</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.2.">Gated Attention Unit</head><p>The Gated Attention Unit introduces a gating mechanism to facilitate selective attention for better learning the dependency between user embedding and item embedding. Specifically, the Gated Attention Unit effectively enables an attentive gating mechanism as follows:</p><formula xml:id="formula_4">𝑄 = 𝜙(𝑋 𝑄 𝑊 𝑄 ), 𝐾 = 𝜙(𝑋 𝐾 𝑊 𝐾 ) 𝑉 = 𝜙(𝑋 𝑉 𝑊 𝑉 ), 𝑈 = 𝜎(𝑋 𝑄 𝑊 𝑈 )<label>(5)</label></formula><p>where 𝑋 𝑄 , 𝑋 𝐾 , 𝑋 𝑉 are the query, key, and value input, 𝜙 is the non-linear activation function for projection layer, 𝜎 is the sigmoid function for computing gating value. With the learned projection 𝑄, 𝐾, 𝑉, and the gating value 𝑈, we compute the attention weights, followed by gating and a post-attention projection.</p><formula xml:id="formula_5">𝑂 = (𝑈 ⊙ 𝐴𝑉 )𝑊 𝑜 (6) 𝐴 = softmax( 𝑄𝐾 𝑇 √ 𝑑 𝑘 )<label>(7)</label></formula><p>where 𝐴 ∈ ℝ 𝐻 𝑢 ×𝐻 𝑖 contains user to item attention weights. This example assumes that we use user embedding as the query, and item embedding as key and value.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4.">Maximum Similarity Layer</head><p>The Maximum Similarity Layer computes the final probability prediction based on the user and item attended embeddings. Specifically, each user sub-space computes the </p><formula xml:id="formula_6">𝑠 = ( 𝐻 𝑢 ∑ 𝑝=1 Max 𝑞∈{1,⋯,𝐻 𝑖 } 𝐶𝑂𝑆𝐼 𝑁 𝐸(ℰ 𝑝 𝑢 , ℰ 𝑞 𝑖 ))/𝜏<label>(8)</label></formula><p>where 𝑝 and 𝑞 are the sub-space indexes of user-attended embedding and item-attended embedding, respectively, and 𝜏 is the learnable temperature scalar for re-scaling the cosine similarity. Note that the Maximum Similarity Layer does not have any parameters which is suitable for online serving.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Pre-Ranking Model Optimization</head><p>The pre-ranking models trained exclusively on impression samples, same as ranking models, suffer from sample selection bias. The pre-ranking model, which operates on the outputs of recall models, aims to identify the most relevant candidates set for the ranking model. Consequently, aligning the item distribution between the training and serving phases is essential to mitigate this sample selection bias and improve model effectiveness.</p><p>As illustrated in Figure <ref type="figure">4</ref>, we implemented full-stage sampling to draw training data from impression samples, candidate samples, and random samples to mitigate sample selection bias. Moreover, we strategically applied various distillation and learning-to-rank losses to different sample scopes to effectively learn the ordering of user behaviors and the sequencing of the sample stages.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Full-Stage Sampling</head><p>The RankTower model is trained using user-level listwise samples containing multiple positive items and multiple objectives. The training samples for each user are sourced from various stages of the cascade ranking system, as shown in Figure <ref type="figure" target="#fig_0">1</ref>. Detailed definitions and relationships among these components are provided below:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.1.">Impression Samples</head><p>The items output by the ranking model and viewed by the user consist of both positive and negative samples. Positive samples are items that have received various types of positive user feedback, while negative samples are items that have been exposed to the user without receiving user feedback.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.2.">Candidate Samples</head><p>The item candidates in the ranking or pre-ranking stages that are not viewed by the user are categorized based on their progression through the cascade ranking pipeline. Ranking candidates, which have advanced to the ranking stage, are generally considered as hard negative samples due to their higher relevance and quality compared to the pre-ranking candidates. Pre-ranking candidates are regarded as relatively easy negative samples because they were filtered out before reaching the ranking stage.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.3.">Random Samples</head><p>Items that are randomly sampled from the item corpus to serve as negative samples. These random samples are considered the easiest negative samples but are included to further enhance the generalization capability of the preranking model. The incorporation of random samples ensures that the model remains effective and adaptable when encountering previously unseen items during the serving phase, thereby improving its robustness and ability to handle diverse item distributions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Label Aggregation</head><p>Our framework incorporates two types of labels: hard labels and soft labels. Hard labels represent various types of positive user feedback on impression samples, while soft labels are predictions made by the ranking models, used knowledge distillation. Both categories of labels require an aggregation function to consolidate the different user behaviors into a single scalar value for the pre-ranking model's learning.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.1.">Hard Labels</head><p>The aggregation of hard labels is highly dependent on the specific business problem, requiring that labels be aggregated according to their orders of importance.</p><p>For instance, in online advertising, eCPM can be utilized based on the pricing model of the platform. In an e-commerce context, one might establish a relative preference order based on the depth of user feedback, such as Purchase &gt; Add to Cart &gt; Click. For scenarios like feed ranking or video recommendations, user feedback signals can be aggregated using a weighted sum approach. Additionally, we incorporate a general impression label applicable across business scenarios, for learning the pattern of the cascade ranking system. The label assigned a value of 1 for impression samples and 0 otherwise.</p><p>The user feedback labels help the pre-ranking model in learning the revenue or engagement level associated with different user behaviors. The exposure label facilitates the pre-ranking model's ability to learn and replicate the ranking patterns in the downstream cascade ranking system.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.2.">Soft Labels</head><p>For soft labels, we use the ranking objective function as aggregation function. This approach ensures that the soft labels are seamlessly integrated into the training process, maintaining the consistency between the pre-ranking model and the ranking model.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Hybrid Loss Functions</head><p>The pre-ranking model focuses on achieving both consistency and ranking accuracy through the following techniques:</p><p>• Knowledge Distillation: The ranking model's predictions are used as soft labels to transfer knowledge from the ranking model (teacher) to the pre-ranking model (student).</p><p>• Ranking Capability: Fine-grained and coarsegrained ranking losses are applied to improve ranking performance and retrieval capability, respectively.</p><p>• Diverse Training Samples: The model is trained on samples from different stages and varying easy/hard sample levels to achieve robust generalization and optimize hierarchical objectives.</p><p>Our synergistic framework is designed to learn both the hierarchy of user behaviors and the pattern of the cascade ranking system. For instance, in the context of online advertising, the model is expected to understand the following order of importance: converted items &gt; clicked items &gt; exposed items &gt; candidate items and randomly sampled items.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.1.">Distillation Loss</head><p>As the main goal for the pre-ranking model is to output a high-quality item set for the ranking model, hence we used a listwise loss for distilling the knowledge from the ranking model as follows:</p><formula xml:id="formula_7">ℒ Distillation (𝑧, 𝑝) = − ∑ 𝑖∈𝒟 𝐼 𝑝 𝑖 log exp(𝑧 𝑖 ) ∑ 𝑗∈𝒟 𝐼 exp(𝑧 𝑗 ) (<label>9</label></formula><formula xml:id="formula_8">)</formula><p>where 𝑝 is the prediction of the ranking model (soft label), 𝑧 is the logit of the pre-ranking model, 𝒟 ℐ is the impression samples set. Note the distillation process from the ranking model to the pre-ranking model is conducted exclusively on impression samples. As the ranking model is trained solely on these impression samples, its ability to generalize to candidate samples and random samples is inherently limited.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.2.">Fine-Grained Ranking Loss</head><p>The fine-grained ranking loss is applied to both impression and candidate samples, which directly correspond to the sample scope used in serving. We employ the SoftSort, a differentiable sorting loss, to learn user behavior and the patterns of the cascade ranking system. This loss function aims to precisely rank items according to the varying degrees of positive feedback they receive and effectively differentiate positives from impression samples and negatives from candidate samples.</p><p>Consider the SoftSort operator defined by metric function d = | ⋅ | 𝑝 and temperature parameter 𝜏 for sorting 𝑛dimensional real vectors 𝑠 ∈ ℝ 𝑛 :</p><formula xml:id="formula_9">SoftSort 𝑑 𝜏 (𝑠) = softmax( −d(𝑠𝑜𝑟𝑡(𝑠)1 𝑇 , 1𝑠 𝑇 ) 𝜏 )<label>(10)</label></formula><p>The output of SoftSort operator is a permutation matrix of dimension 𝑛. The softmax operator is applied row-wise, thereby relaxing the permutation matrices into a set of unimodal row-stochastic matrices. In simple words: the 𝑟-th row of the SoftSort operator is the softmax of the negative distances to the 𝑟-th largest element <ref type="bibr" target="#b0">[1]</ref>. We then employ the softmax cross entropy between the permutation matrices of label 𝑦 and the permutation matrices of logit 𝑧. The SoftSort loss function is hereby defined as: ℒ Sorting (𝑧, 𝑦) = −tr(J 𝑛 (SoftSort 𝑑 𝜏 (𝑦) ∘ log SoftSort 𝑑 𝜏 (𝑧))) (11) where J 𝑛 is a 𝑛 × 𝑛 matrix of ones, y = (𝑦 𝑖 ) 𝑖∈𝒟 ℐ ∪𝒟 𝒞 is the hard label and z = (𝑧 𝑖 ) 𝑖∈𝒟 ℐ ∪𝒟 𝒞 is the logit of the pre-ranking model. We use the tr to compute the element sum of the matrix SoftSort 𝑑 𝜏 (𝑦) ∘ log (SoftSort 𝑑 𝜏 (𝑧)).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.3.">Coarse-Grained Ranking Loss</head><p>The coarse-grained ranking loss, applied to all samples (impression, candidate, and random), aims to separate positive and negative samples while supporting ranking among positives by distinguishing varying degrees of relevance. We propose the Adaptive Margin Rankmax (AM-Rankmax) loss, an extension of the Rankmax loss <ref type="bibr" target="#b1">[2]</ref> that introduces an adaptive margin based on the pair's nature and label distance, thereby extending the Rankmax loss to address ranking problems with ordered or continuous positive labels. Consider the Rankmax loss for ranking problems with binary labels only:</p><formula xml:id="formula_10">ℒ 𝑅𝑎𝑛𝑘𝑚𝑎𝑥 (𝑧, 𝑦) = ∑ 𝑗∶𝑦 𝑗 &gt;0 log 𝑛 ∑ 𝑖=1 (𝑧 𝑖 − 𝑧 𝑗 + 1) + (12)</formula><p>The Rankmax loss is reminiscent of pairwise losses. To extend the Rankmax loss to more general ranking problems involving multi-level positive labels, we introduce the adaptive margin with following enhancements:</p><p>• The loss is applied only when 𝑦 𝑖 &lt; 𝑦 𝑗 , which is more suitable for multi-level positive label scenario.</p><p>• The margin adjusts based on whether 𝑦 𝑖 is positive or negative, to further enhancing the differentiality between positive and negative samples.</p><p>• The margin scales with the label distances between samples, reflecting varying degree of positive samples.</p><p>The adaptive margin function is:</p><formula xml:id="formula_11">𝑚(𝑖, 𝑗) = 𝛼 ⋅ I(𝑦 𝑖 = 0) + 𝛿(𝑦 𝑖 , 𝑦 𝑗 )<label>(13)</label></formula><p>where 𝛼 is a constant for adding additional margin between negative and positive items, I is the indicator function. The metric function 𝛿 can take various forms, for example 𝛿(𝑦 𝑖 , 𝑦 𝑗 ) = 1 or 𝛿(𝑦 𝑖 , 𝑦 𝑗 ) = 𝛽|𝑦 𝑖 − 𝑦 𝑗 | 𝑝 . The adaptive margin Rankmax loss is then given by:</p><formula xml:id="formula_12">𝐿 AM−Rankmax (𝑧, 𝑦) = ∑ 𝑗∶𝑦 𝑗 &gt;0 log ∑ 𝑖∶𝑦 𝑖 &lt;𝑦 𝑗 (𝑧 𝑖 − 𝑧 𝑗 + 𝑚(𝑖, 𝑗)) + (14)</formula><p>where y = (𝑦 𝑖 ) 𝑖∈𝒟 ℐ ∪𝒟 𝒞 ∪𝒟 ℛ is the hard label from all the samples and z = (𝑧 𝑖 ) 𝑖∈𝒟 ℐ ∪𝒟 𝒞 ∪𝒟 ℛ is the logit of the preranking model.</p><p>The AM-Rankmax loss function can effectively adapt to scenarios with multiple positive labels of varying levels. This enhancement allows the model to handle different degrees of positive feedback, thereby improving its ability to generalize and accurately rank items in complex settings.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.4.">The Hybrid Ranking Loss</head><p>We design a hybrid ranking loss that integrates both distillation and ranking objectives. The hybrid ranking loss is the weighted sum of three losses:</p><formula xml:id="formula_13">ℒ Hybrid (𝑧, 𝑦) = 𝜆 1 ℒ Distillation (𝑧, 𝑝) + 𝜆 2 ℒ Sorting (𝑧, 𝑦) + 𝜆 3 ℒ AM−Rankmax (𝑧, 𝑦)<label>(15)</label></formula><p>where 𝜆 1 , 𝜆 2 and 𝜆 3 are weights for each sub-objective. Balancing distillation and ranking losses is crucial for the pre-ranking model to inherit the ranking model's capabilities while generalizing to broader sample spaces. Weighting fine-grained and coarse-grained ranking losses ensures a balance between precise ranking and overall retrieval robustness.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Experiments</head><p>We conduct experiments on three large-scale public datasets from online advertising, e-commerce, and short video recommendation domains to evaluate the effectiveness of Rank-Tower. The experiments provide a comprehensive description of the evaluation metrics, and comparisons with stateof-the-art pre-ranking models. We aim to answer the following questions through our experiments:</p><p>• Q1: How does our proposed RankTower perform for pre-ranking task? Is it effective and efficient under extremely high-dimensional and sparse data settings?</p><p>• Q2: How do different settings on dataset sampling and training losses influence the performance of RankTower?</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Experiment Setup</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.1.">Datasets</head><p>We evaluate our model using real-world datasets: Alimama <ref type="foot" target="#foot_0">1</ref> , Taobao<ref type="foot" target="#foot_1">2</ref> , and KuaiRand<ref type="foot" target="#foot_2">3</ref> . For each dataset, we keep users with at least 100 impressions and 20 instances of positive feedback. The data is split into 70% for training, 10% for validation, and 20% for testing. As all labels in the datasets are binary, we aggregate them by summing the labels to form the hard label.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.2.">Evaluation Metrics</head><p>We consider Recall@K and NDCG@K for evaluating the performance of the models, and we set 𝑘 to 100 for all experiment metrics.</p><p>Recall@K is the fraction of relevant retrieved within the top 𝐾 recommendations. It's mainly used for measuring ranking system's capability on retrieving relevant items.</p><p>NDCG@K measures the quality of the ranking by considering both the relevance and the position of items within the top 𝐾 recommendations. Items with higher relevance ranked at higher position contribute more to the metric.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.3.">Competing Models</head><p>We compare RankTower with the following pre-ranking models: LR <ref type="bibr" target="#b2">[3]</ref>, Two-Tower <ref type="bibr" target="#b3">[4]</ref>, DAT <ref type="bibr" target="#b4">[5]</ref>, COLD <ref type="bibr" target="#b5">[6]</ref>, Int-Tower <ref type="bibr" target="#b6">[7]</ref> and ARF <ref type="bibr" target="#b7">[8]</ref>. Recall@K NDCG@K Recall@K NDCG@K Recall@K NDCG@K LR 0. The overall performance of different model architectures is listed in Table <ref type="table" target="#tab_3">1</ref>. We have the following observations for model effectiveness:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.">Model Performance Comparison (Q1)</head><p>• LR exhibits the lowest performance compared to the other neural network-based models.</p><p>• Two-Tower brings the most significant relative improvement in performance, highlighting the importance of learning deep feature interactions.</p><p>• COLD achieves strong performance among the competing models, indicating the significance of learning useritem feature interactions.</p><p>• ARF outperform other models without utilizing listwise ranking losses, highlighting the importance of using listwise ranking losses.</p><p>• RankTower achieves the best prediction performance, attributed to its effective modeling of bi-directional useritem feature interactions and the design of full-stage sampling and hybrid loss functions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.">Model Study (Q2)</head><p>To gain deeper insights into the proposed model, we conduct experiments on the KuaiRand dataset and compare model performance on different settings, including: 1) the effect of full-stage data sampling; 2) the effect of listwise ranking losses; and 3) the effect of distillation from the ranking model.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.1.">Effect of Full-Stage Sampling</head><p>We conduct an ablation study to evaluate the impact of each sampling component on the model's performance. As shown in Table <ref type="table" target="#tab_5">2</ref>, the full-stage sampling strategy achieves the best overall performance. Training the pre-ranking model solely with impression samples hinders its ability to generalize to unexposed items, negatively affecting retrieval performance. We also observe that candidate samples are more important than random samples, as they significantly enhance the model's ability to discriminate between relevant and non-relevant items. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.2.">Effect of Listwise Ranking Losses</head><p>To better understand the properties of the proposed hybrid loss, we compare it with several widely used ranking losses in the industry. The experiment results, as shown in Table <ref type="table" target="#tab_6">3</ref>, indicate that the hybrid loss consistently outperforms other alternatives, surpassing both its individual components: the Sorting loss and the AM-Rankmax loss. Moreover, our proposed AM-Rankmax demonstrates superior performance compared to the original Rankmax loss and the Softmax loss. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.3.">Effect of Distillation from Ranking Model</head><p>We conduct an ablation study on the distillation component and further compare Softmax loss with other alternatives. The Table <ref type="table" target="#tab_7">4</ref> demonstrate the efficacy of transferring knowledge distillation. Among various loss function experimented for distillation, the Softmax loss outperforms the other alternative losses. The Softmax loss, being a listwise ranking loss, proved more adept at distilling the ranking model's capabilities compared to the weighted logloss, which essentially is a pointwise approach and exhibited suboptimal performance in learning the relative ranking distribution. In contrast, the pairwise logloss, focusing solely on pairwise ordering of ranking model's predictions without considering the relative proximity of predictions, exhibited overfitting to the ranking model's outputs. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Conclusion</head><p>This paper introduces the RankTower model, designed to enhance the performance of the two-tower model by effectively capturing bi-directional latent interactions between user and item. To ensure consistency with existing casecade ranking system, a hybrid loss function and full-stage sampling approach are integrated into the model's optimization framework. Comprehensive experiments demonstrate that RankTower significantly outperforms state-of-the-art preranking models. In future work, we aim to study how to effectively and jointly optimize the cascade ranking system in an end-to-end fashion.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: The Architecture of Cascade Ranking System</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 2 :</head><label>2</label><figDesc>Figure 2: The Architecture of RankTower</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Figure 3 :</head><label>3</label><figDesc>Figure 3: The Architecture of Gated Cross-Attention Network</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_3"><head>Table 1</head><label>1</label><figDesc>Performance Comparison of Different Algorithms on Alimama , Taobao and KuaiRand Dataset.</figDesc><table><row><cell>Alimama</cell><cell>Taobao</cell><cell>KuaiRand</cell></row><row><cell>Model</cell><cell></cell><cell></cell></row></table></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_5"><head>Table 2</head><label>2</label><figDesc>Experiment Results for Different Sampling Strategies.</figDesc><table><row><cell></cell><cell cols="2">Recall@K NDCG@K</cell></row><row><cell>Full-Stage Sampling</cell><cell>0.7182</cell><cell>0.5551</cell></row><row><cell>w/o random samples</cell><cell>0.7125</cell><cell>0.5437</cell></row><row><cell>w/o candidate samples</cell><cell>0.7040</cell><cell>0.5401</cell></row><row><cell>w/o candidate &amp; random samples</cell><cell>0.6981</cell><cell>0.5323</cell></row></table></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_6"><head>Table 3</head><label>3</label><figDesc>Experiment Results for Different Ranking Losses.</figDesc><table><row><cell></cell><cell cols="2">Recall@K NDCG@K</cell></row><row><cell>Hybrid Loss</cell><cell>0.7182</cell><cell>0.5551</cell></row><row><cell>Sorting</cell><cell>0.7128</cell><cell>0.5516</cell></row><row><cell>AM-Rankmax</cell><cell>0.7132</cell><cell>0.5507</cell></row><row><cell>Rankmax</cell><cell>0.7105</cell><cell>0.5492</cell></row><row><cell>Softmax</cell><cell>0.7109</cell><cell>0.5498</cell></row><row><cell>ApproxNDCG</cell><cell>0.7006</cell><cell>0.5436</cell></row><row><cell>RankNet</cell><cell>0.7072</cell><cell>0.5452</cell></row></table></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_7"><head>Table 4</head><label>4</label><figDesc>Experiment Results for Different Distillation Losses.</figDesc><table><row><cell></cell><cell cols="2">Recall@K NDCG@K</cell></row><row><cell>Distillation (Softmax)</cell><cell>0.7182</cell><cell>0.5551</cell></row><row><cell>Distillation (Weighted Logloss)</cell><cell>0.7130</cell><cell>0.5519</cell></row><row><cell>Distillation (Pairwise Logloss)</cell><cell>0.7071</cell><cell>0.5432</cell></row><row><cell>No Distillation</cell><cell>0.7108</cell><cell>0.5495</cell></row></table></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0">https://tianchi.aliyun.com/dataset/408</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1">https://tianchi.aliyun.com/dataset/649</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_2">https://kuairand.com/</note>
		</body>
		<back>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Softsort: A continuous relaxation for the argsort operator</title>
		<author>
			<persName><forename type="first">S</forename><surname>Prillo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Eisenschlos</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">International Conference on Machine Learning</title>
				<meeting><address><addrLine>PMLR</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2020">2020</date>
			<biblScope unit="page" from="7793" to="7802" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">Rankmax: An adaptive projection alternative to the softmax function</title>
		<author>
			<persName><forename type="first">W</forename><surname>Kong</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Krichene</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Mayoraz</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Rendle</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Zhang</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Advances in Neural Information Processing Systems</title>
		<imprint>
			<biblScope unit="volume">33</biblScope>
			<biblScope unit="page" from="633" to="643" />
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Ad click prediction: a view from the trenches</title>
		<author>
			<persName><forename type="first">H</forename><forename type="middle">B</forename><surname>Mcmahan</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Holt</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Sculley</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Young</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Ebner</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Grady</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Nie</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Phillips</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Davydov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Golovin</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 19th ACM SIGKDD international conference on Knowledge discovery and data mining</title>
				<meeting>the 19th ACM SIGKDD international conference on Knowledge discovery and data mining</meeting>
		<imprint>
			<date type="published" when="2013">2013</date>
			<biblScope unit="page" from="1222" to="1230" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Learning deep structured semantic models for web search using clickthrough data</title>
		<author>
			<persName><forename type="first">P.-S</forename><surname>Huang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">X</forename><surname>He</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Gao</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Deng</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Acero</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Heck</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 22nd ACM international conference on Information &amp; Knowledge Management</title>
				<meeting>the 22nd ACM international conference on Information &amp; Knowledge Management</meeting>
		<imprint>
			<date type="published" when="2013">2013</date>
			<biblScope unit="page" from="2333" to="2338" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<monogr>
		<author>
			<persName><forename type="first">Y</forename><surname>Yu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Z</forename><surname>Feng</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Xue</surname></persName>
		</author>
		<title level="m">A dual augmented twotower model for online large-scale recommendation</title>
				<imprint>
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<monogr>
		<author>
			<persName><forename type="first">Z</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Zhao</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Jiang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Zhou</surname></persName>
		</author>
		<author>
			<persName><forename type="first">X</forename><surname>Zhu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Gai</surname></persName>
		</author>
		<idno type="arXiv">arXiv:2007.16122</idno>
		<title level="m">Cold: Towards the next generation of pre-ranking system</title>
				<imprint>
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
	<note type="report_type">arXiv preprint</note>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Inttower: the next generation of two-tower model for pre-ranking system</title>
		<author>
			<persName><forename type="first">X</forename><surname>Li</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Chen</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><surname>Guo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Li</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Zhu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">X</forename><surname>Long</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Li</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Guo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Mao</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 31st ACM International Conference on Information &amp; Knowledge Management</title>
				<meeting>the 31st ACM International Conference on Information &amp; Knowledge Management</meeting>
		<imprint>
			<date type="published" when="2022">2022</date>
			<biblScope unit="page" from="3292" to="3301" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<monogr>
		<author>
			<persName><forename type="first">Y</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Z</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Yang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Wen</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Kong</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><surname>Li</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Gai</surname></persName>
		</author>
		<idno type="arXiv">arXiv:2310.10462</idno>
		<title level="m">Adaptive neural ranking framework: Toward maximized business goal for cascade ranking systems</title>
				<imprint>
			<date type="published" when="2023">2023</date>
		</imprint>
	</monogr>
	<note type="report_type">arXiv preprint</note>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
