arXiv:2610.26143cs.IROct 2026

Manuscript Offprint

arXiv:2610.26143

FLMNet: Self-Ensemble Distillation from Masks to Seeds for Single-Tower CTR Prediction

Yifan Wang, Yifei Du

YIFAN WANG ∗^{*} †^{\dagger}, National University of Singapore, Singapore

YIFEI DU ∗^{*}, University of Science and Technology of China, China

Click-through rate (CTR) prediction underpins recommender systems and online advertising, where high-dimensional categorical features interact in combinatorially many ways. Several recent CTR models, such as FinalNet and QNN, report higher accuracy when a network also learns from its own averaged predictions, for example by running the same network under different dropout patterns and training each run toward the average. Why this self-distillation helps, and whether its random sampling is needed, remains unclear. This work shows that as the number of dropout patterns grows without bound, the objective reduces exactly to the label loss of the logit-averaged prediction plus a penalty on how much the dropout copies of the network disagree. When dropout does not affect how a network gates its features, this penalty can be approximated in closed form, and FLMNet is designed on this principle and trains without sampling. Networks trained from different seeds disagree in the same form, and distilling several of them into one network recovers part of their ensemble gain. On five benchmarks against seventeen baselines, the resulting models take the top two places in accuracy with a single network at inference, and the gains of the penalty and of distillation, where measurable, largely add up.

CCS Concepts: • Information systems → Information retrieval; Recommender systems; Computational advertising; • Computing methodologies → Machine learning.

Additional Key Words and Phrases: Click-Through Rate Prediction, Single-Tower Models, Self-Ensemble Distillation, Infinite-Masking Limit

ACM Reference Format:

Yifan Wang and Yifei Du. XXXX. FLMNet: Self-Ensemble Distillation from Masks to Seeds for Single-Tower CTR Prediction. ACM Trans. Inf. Syst. X, X, Article X (XXXX), 44 pages. https://doi.org/XXXXXXX.XXXXXXX

1 Introduction

Click-through rate (CTR) prediction estimates the probability that a user clicks a candidate item given user, item, and context features, and it drives ranking in recommender systems and online advertising. Production systems make predictions billions of times per day and replicate the trained model across data centers for serving [32], so the deployed model is expected to answer each request with a single forward pass. The inputs are dozens of categorical fields, some with millions of distinct values, and whether a user clicks depends on how the values of different fields combine.

∗^{*}These authors contributed equally to this work and share first authorship.

†^{\dagger}Corresponding author: Yifan Wang.

Authors' Contact Information: Yifan Wang, Department of Mathematics, National University of Singapore, Singapore, Singapore, e1127286@u.nus.edu; Yifei Du, Hefei National Research Center for Physical Sciences at the Microscale and School of Physical Sciences; Shanghai Research Center for Quantum Science and CAS Center for Excellence in Quantum Information and Quantum Physics; Hefei National Laboratory, University of Science and Technology of China, Hefei and Shanghai, China, yifeidu@mail.ustc.edu.cn.

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.

© XXXX Copyright held by the owner/author(s). Publication rights licensed to ACM.

ACM 1558-2868/XXXX/0-ARTX

https://doi.org/XXXXXXX.XXXXXXX

X:2

Yifan Wang and Yifei Du

The number of possible combinations grows multiplicatively with the number of fields and far exceeds what any training set covers, so a model cannot estimate each combination separately and must share parameters across them. Factorization machines share them by mapping each value to a low-dimensional embedding and scoring a combination by the inner product of its embeddings, so that every combination draws on all records in which its values occur [35]. Embeddings and the interactions computed from them have since been the starting point of neural CTR models.

Neural CTR models share a common template: each field value is mapped to an embedding, an interaction network combines the embeddings, and a linear head produces the logit. Successive designs have enriched the interaction network, from DeepFM, which feeds a shared embedding to both a factorization machine and a deep network [13], to explicit high-order modules such as the compressed interaction network of xDeepFM [28] and the cross network of DCNv2 [44]. A recurring building block in this line is the Hadamard product, which raises the interaction order by multiplying a representation elementwise with a learned projection of the input. FINAL stacks Hadamard products into a factorized interaction layer, the basis of FinalNet [55]. QNN treats networks built on this operation, including factorization machines, cross networks, and FINAL, as neuron formats of a quadratic neural network, compares 25 of them under one setting, and builds its model, QNN- α\alpha, on the strongest [27]. Both FinalNet and QNN report strong accuracy on public benchmarks.

Both models also add to the label loss a training signal that the model generates for itself. FinalNet computes predictions from two interaction blocks, averages their logits into a single score, and trains each block toward this aggregated score; the authors call this self-knowledge distillation [55]. QNN instead runs one network twice under independent dropout masks, averages the two predicted probabilities into a frozen target, and trains both passes toward this target; the authors call this a self-ensemble loss [27]. In both cases the teacher is an average over members of the model being trained, the members differ only in which block or which mask produces them, and no second model is trained or served. We refer to this family of objectives as self-ensemble distillation.

Both papers support the added term with ablations, and removing it lowers AUC on every dataset they report. The drop is smallest on Criteo for QNN, 0.06 percentage points, where its authors note that gains between well-tuned models are hard to obtain on large sparse data, and clearer on the smaller Frappe and KKBox datasets, 0.17 and 0.19 points [27]; for FinalNet it ranges from 0.03 points on Avazu to 0.12 on Frappe [55]. The two papers explain the gain differently, FinalNet as knowledge shared between blocks and QNN as mutual correction between passes that smooths the decision boundary, but neither runs an experiment that isolates which property of the objective produces it. What the self-ensemble objective regularizes, how its teacher should be formed, and whether the same effect can be obtained without extra stochastic forward passes therefore remain open, and these questions are the starting point of this paper.

These objectives and a classical ensemble average over different kinds of members. In FinalNet and QNN, the members belong to one model and differ only in the block or dropout mask that produces the prediction, so the teacher is an average taken at a single set of weights. In a classical ensemble, the members are independently trained networks, and the teacher averages solutions reached from different initializations [17] or data orders. The two averages are not interchangeable: functions sampled from the dropout neighborhood of one solution stay within a single mode in prediction space, whereas independently trained networks explore different modes [11]. Pooled in logit space, however, both averages induce a gap of the same form, the mean of the softplus minus the softplus of the mean, because the label term of the cross-entropy loss is linear in the logit; the gap is taken over masks in one case and over solutions in the other. Distilling an ensemble of independently trained models into one network is an established route to a stronger single CTR model [56], with teachers that differ in architecture or in the split of the training data. Our

X:3

experiments on Criteo suggest that the gain requires neither difference (Section 5.5), in line with the finding in speech recognition that random initialization alone gives sufficient diversity [17]. Towers of one architecture that differ only in their seed pass more than half of the gain of a five-tower ensemble to a student, and towers that differ only in the order of the training examples disagree almost as much as towers from different seeds (Appendix B.7). The student starts from a converged tower, where the training labels no longer point toward parameters that generalize better but the pooled logit of the other seeds still does. Figure 1 sketches both kinds of member and how each reaches a single deployed tower.

Codistillation shows that distillation between networks of one architecture can improve CTR models. Two copies of a network are trained together, each distilling from the other, and on Criteo either copy matches the log loss of their two-model ensemble [2]. The authors attribute the gain mainly to the copies seeing different subsets of the data and leave open why a teacher’s mistakes help the student.

In CTR prediction, FinalNet and QNN are two of several models that add auxiliary losses built from their own sub-networks or from perturbed views of their features [24–26, 37, 43]. Their authors explain the gains differently: FSDNet credits the guidance its deepest layer gives the shallower ones [37], FCN credits a label loss tailored to each of its sub-networks [26], and CL4CTR credits better representations of rare features learned through contrastive losses [43]. None of these papers, FinalNet and QNN included, identifies what the added loss regularizes. Outside CTR prediction, dropout, its consistency variants, and distillation among networks of one architecture have been studied for other tasks, from linear regression to language modeling, image classification, and sequential recommendation [1, 3, 6, 10, 14, 20, 22, 29, 39, 41, 45, 47, 49, 51, 52], but their explanations do not directly account for the gains in CTR models. For members trained independently, transferring the gain into a single model is established; what remains open is whether the gains from masked members and from independently trained members are distinct, and whether one tower can collect both. Prompted by these methods, we trace where their gain comes from, with ablations that vary the training objective (Section 5.4), the seed (Section 5.5), and the data order (Appendix B.7).

This paper asks three questions. What does the masked self-ensemble objective become as the number of masks grows without bound, and what does the limit regularize? Which tower structure gives the moments of the logit over masks in closed form, so that the limit can be trained with one deterministic forward pass? And can the further gain of independently trained solutions be collected in the same tower, and at what training cost?

Our answer to the first two questions is analytic. For members pooled in logit space, as the number of masks grows without bound, the masked self-ensemble objective converges to the label loss at the mean logit plus a multiple of the Jensen gap of the softplus over masks, up to a term with zero gradient. The limit therefore regularizes the disagreement among masked members and nothing else. Ordinary dropout training is the special case with multiplier one. In the limit, the QNN objective with its pool taken in logit space has multiplier two, so only the excess over one is distillation added beyond dropout. Training replaces the gap by a Gaussian surrogate, which needs only the mean and variance of the logit over masks. Both moments have closed forms under three conditions: the multiplicative gates of the tower read only unmasked inputs, the readout is affine, and each layer rescales its running representation coordinatewise. The mean logit then equals the logit of the forward pass without dropout, and an inexpensive approximation of the exact variance lets the surrogate be evaluated within one deterministic forward pass.

QNN- α\alpha, the strongest baseline on average in our experiments, does not meet the first condition: its gate reads the masked output of the previous layer, so a closed form misstates the mean and variance of its logit over masks. Letting its gate read the input embedding makes the closed form

X:4

Yifan Wang and Yifei Du

Figure

Fig. 1. Two kinds of ensemble members and their paths into a single deployed tower. Left: one set of weights under different masks; the members are close in prediction space, and their mean and variance enter training in closed form. Right: independently trained solutions; the members are far apart, and their pooled prediction serves as a teacher for a single student tower. In both cases only one tower is served.

exact, but on Criteo this change lowers validation AUC by 10.5×10−410.5 \times 10^{-4} even without the penalty. We therefore design FLMNet, a single tower whose field-local gate units each read one field of the unmasked embedding, with a learned mixer that spreads each field's gate over the other fields. FLMNet satisfies all three conditions by construction, and without the penalty its validation AUC comes within 0.9×10−40.9 \times 10^{-4} of that of the original QNN- α\alpha.

The third question turns from masks to seeds. Towers trained from different seeds also disagree, and pooling their logits lowers Logloss below that of the average member by exactly the gap across seeds. This gap has no closed form, but part of the gain can be moved into one tower by distillation: FLMNet-KD starts from one FLMNet-CF tower, the tower trained with the closed-form penalty, and is trained to match the pooled logit of K such towers, at the cost of K+1K + 1 training runs. We call the part of a member's logit that departs from the pooled logit its noise: mask noise across the masks of one run, and seed noise across seeds. The pooled logit keeps what the members share, and the noise is what each member fits on its own; in our experiments, suppressing it mainly holds back overfitting (Sections 5.4 and 5.5). The penalty suppresses mask noise and distillation suppresses seed noise, and the deployed model is in both cases a single tower that predicts in one forward pass.

Our contributions are as follows.

  • We derive the infinite-masking limit of self-ensemble distillation for members pooled in logit space, show that it regularizes only the Jensen gap among masked members, with ordinary dropout as the special case of multiplier one, and bound the gap above and below in terms of the variance of the logit.

  • We isolate three conditions under which the mean and variance of the logit over masks have closed forms, and design FLMNet, a single tower that satisfies them and trains the surrogate of the limit without sampled forward passes, with a step time close to that of QNN- α\alpha.

  • On five public benchmarks against seventeen baselines, FLMNet-CF and FLMNet-KD take the top two places in both AUC and Logloss, and on the benchmarks where each gain alone exceeds the variation across seeds, the gains of the closed-form penalty and of cross-seed distillation largely add up.

References (25)