Post-click conversion rate (pCVR) prediction requires jointly modeling feature interactions and sequential user behaviors. The KDD Cup 2026 Tencent UniRec Challenge calls for a unified architecture addressing both. We observe that existing unified architectures often generate query tokens---the central information hub---with projection-based multi-layer perceptrons (MLPs), without explicit token-to-query attention for refining the query side. We propose QueryFormer, centered on a stackable unified field--sequence block that bridges non-sequential multi-field features and behavioral sequences, and provide a latency-aware scaling study over view width H, model width, depth, data, and compute. The block generates queries through cross-attention and packs sequence queries into shared-parameter attention. QueryFormer secured 1st place in the Industrial Track, achieving an official test area under the ROC curve (AUC) of 0.83254; a modest post-competition scale-up reached 0.832713. Within our grid, H-scaling improves validation AUC from 0.84540 to 0.84615 and beats HyFormer at comparable budgets. Ablation identifies query generation as the largest contributor. Packed shared-parameter cross-attention keeps H=8 inference latency to only 1.89x that of H=1, positioning the bridge as an efficient stackable unified block.
Figures & tables
Figure 1. QueryFormer architecture. The reusable stackable query-generation bridge takes non-sequential field tokens and behavioral sequence tokens as input, returns generated query probes and mixed representations, and preserves the H dimension as parallel tokenization columns with shape- (Bs,H,T,dmodel) views, where Bs is batch size and T is token count, before per-column outputs are combined. Architecture diagram showing QueryFormer's query-driven bridge from non-sequential tokens to behavioral sequences through CoTransformerBlock, QuerySeqCrossAttn, and SeqQueryCrossAttn, with H independent tokenization columns.
Figure 2. Scaling evidence for the stackable query-generation bridge. (a) Parameter scaling: QueryFormer traces a stronger AUC–dense-parameter frontier than HyFormer ( Huang et al., 2026 ) within the explored budgets, with separate dmodel - and H -scaling paths. (b) Data efficiency: QueryFormer ( Pdense=87.1M , H=4 ) remains above HyFormer ( Pdense=105.8M ) from about 20% to full training data. Both x-axes are logarithmic; Pdense denotes dense parameter count. Two-panel scaling analysis. (a) Parameter scaling: AUC vs dense parameters for QueryFormer d_model-scaling, H-scaling, and HyFormer. (b) Data efficiency: AUC vs training samples for HyFormer (P_dense=105.8M) and QueryFormer (P_dense=87.1M, H=4). Both subplots use log x-axes.
Table 2. Attention mechanisms by architectural stage. For SeqQueryCrossAttn, QB denotes behavior-initialized query probes.
Figure 3. Validation AUC and LogLoss vs. training steps for H∈{1,2,4,8} at dmodel=272 . Training curves showing that wider embedding matrices achieve better final AUC and LogLoss.
Model
H
Dense
Val AUC
LogLoss
HyFormer ( Huang et al., 2026 )
–
105.8
0.84477
–
QueryFormer
4
87.1
0.84606
0.210309
QueryFormer
4
220.8
0.84631
0.210241
Table 3. Validation comparison under the optimized training recipe. Dense parameters are in millions; all runs use Lseq=256 .
Figure 4. Per-epoch ablation of four attention mechanisms. Validation AUC across training epochs for four ablation configurations: replacing cross-attention query generation with MLP causes the largest drop, followed by removing QueryCrossAttn, QuerySeqCrossAttn, and QuerySelfAttn, confirming each mechanism independently contributes.
Rank
Team
Test AUC
Δ
1st
QueryFormer (日之光面)
0.83254
—
2nd
RClaw
0.83217
− 0.00037
3rd
load_state_dict
0.83145
− 0.00109
–
QF-scaled-post
0.832713
+ 0.000173
Table 5. Industrial Track leaderboard (top 3), with post-competition improvement.
H
Train Time
Eval Time
Eval Throughput
Latency / sample
1
43.7 min
1.8 min
32.2k samples/s
31.1 μ s
2
56.0 min
2.0 min
29.0k samples/s
34.5 μ s
4
80.1 min
2.5 min
23.2k samples/s
43.1 μ s
8
137.3 min
3.4 min
17.0k samples/s
58.7 μ s
Table 6. Latency-aware H scaling of the packed bridge on 31.35M training samples and 3.48M validation samples.
Setting
Sparse
Dense
Val AUC
LogLoss
H=1
530
50
0.84540
0.210651
H=2
563
62
0.84575
0.210432
H=4
628
87
0.84606
0.210309
H=8
757
137
0.84615
0.210225
K=1
628
77
0.84598
0.210302
K=3
628
97
0.84616
0.210270
Table 7. Multi-axis scaling grid (SwiGLU encoders; params in millions). Unspecified values use K=2 , H=4 , dmodel=272 , and 4 epochs.