TL;DR
Predicting continuous, heavy-tailed, and zero-inflated targets like dwell time or GMV in recommender systems usually forces a trade-off between optimization stability and prediction bias. PIT-SUN resolves this dilemma by combining a data-adaptive Probability Integral Transform (PIT) for stable training with a conditionally linear recovery branch (SUN) to guarantee unbiased, expectation-consistent predictions. Deployed at scale in a live production environment, it significantly improves accuracy and calibration while maintaining a lightweight operational footprint.
What Problem Does This Paper Address?
Value-driven recommender systems frequently need to predict continuous business metrics like video dwell time, Gross Merchandise Volume (GMV), or Lifetime Value (LTV) to guide ranking and resource allocation decisions. However, standard regression objectives like Mean Squared Error (MSE) struggle with real-world recommendation data. These target variables are highly problematic: they are sparse, zero-inflated, multi-modal, and heavily right-skewed (long-tailed). In finite samples, extreme tail values generate massive, unstable gradients that lead to "mean collapse" or "tail shrinkage."
To stabilize training, engineers often apply non-linear target transformations (such as log or square root). However, directly inverting these predictions back to the original space introduces a fundamental mathematical flaw known as retransformation bias:
$$T^{-1}(\mathbb{E}[T(Y)|x]) \neq \mathbb{E}[Y|x]$$
The authors demonstrate that no non-linear scalar transform can be universally inverted without losing expectation consistency. Existing recovery methods exist but rely on manual, brittle choices for the transform and recovery base. PIT-SUN bridges this gap by providing a fully automated, deployable empirical recovery framework.
Methods
The authors introduce PIT-SUN (Probability-Integral-TranSformed Unbiased recovery), a unified framework that leverages a single empirical Cumulative Distribution Function (CDF) table to close the gap between stable optimization and unbiased recovery:
- Empirical PIT Coordinate: Instead of manual analytical transforms, PIT-SUN uses an empirical CDF table to map arbitrary target distributions into a bounded normal-score space ($[-a_\delta, a_\delta]$). This completely neutralizes gradient explosions from heavy tails.
- Inverse-Quantile Base: The framework maps the learned marginal ranks back to the original scale to serve as a denominator base ($b(x)$), utilizing a lower-bound floor ($b_{min}$) to prevent division-by-zero or denominator collapse in zero-inflated regions.
- SUN Recovery Branch: Instead of directly inverting the PIT prediction, a separate branch learns a proportional ratio target $z(x) \approx \mathbb{E}[Y / b(x) | x]$. Crucially, a
stop-gradientoperator isolates this branch, preventing high-variance ratio residuals from corrupting the stable PIT coordinate geometry during joint training.
The final prediction is a simple multiplication: $\hat{y}(x) = z(x) \cdot b(x)$, which mathematically guarantees expectation consistency.
Datasets
The framework was rigorously evaluated across three tiers of datasets:
- Synthetic Marginals: 12 custom-generated datasets covering right-skewed (Gamma, LogNormal, Pareto), left-skewed (Scaled-Beta, Reflected-Gamma), and symmetric (Truncated-Normal, Laplace) distributions to test shape robustness.
- Public Benchmarks: CIKM16 (long-tailed video dwell time) and DTMart (sparse e-commerce transaction amounts).
- Industrial Scale: Large-scale production datasets from Kuaishou Technology for Dwell Time and Zero-inflated GMV (consisting of tens of millions of samples and over 1,000 features), alongside a live online incentive allocation system.
Key Insights and Ideas
- The Affine Impossibility: Retransformation bias isn't an implementation oversight; it's structural. The paper mathematically proves that a direct inverse-transform estimator is universally expectation-consistent only if the inverse transform is affine, which rules out any useful non-linear tail compression.
- The CDF as a Unified Closure: Instead of treating the coordinate transform, inverse lookup, and recovery base as separate manual components, PIT-SUN unifies them into a single data-driven object (the empirical marginal table).
- Gradient Isolation is Mandatory: Jointly training a coordinate branch and a recovery branch without a
stop-gradientmechanism allows high-variance ratio noise to leak back and distort the stable coordinate space, destroying the optimization benefits of the transform.
Key Results
- Public Benchmarks: PIT-SUN consistently outperformed traditional distributional models (like ZILN, EGMN) and manual recovery methods (TranSUN), achieving the lowest NRMSE (0.547 on CIKM16, 0.412 on DTMart) and highest ranking quality (xAUC of 0.695 and 0.943).
- Industrial Offline Performance: On Kuaishou's massive Dwell Time dataset, PIT-SUN reduced Normalized Mean Absolute Error (NMAE) to 0.477 (compared to 0.696 for standard log-transform MSE) and significantly improved calibration metrics.
- Online A/B Testing: Deployed in a live production incentive allocation system, PIT-SUN delivered a +0.318% lift in Watching Time and a +0.265% lift in Video Views, while simultaneously reducing training time by ~20% and inference latency by ~15-30% compared to standard production baselines.
Limitations and Future Work
- Data Drift Sensitivity: Because PIT-SUN relies on an empirical CDF table, severe traffic shifts (e.g., during holidays or e-commerce promotions) can degrade performance if the table becomes stale. The authors mitigate this using a sliding-window refresh and Kolmogorov-Smirnov (KS) drift monitoring.
- Small Sample Sizes: The empirical table estimation requires a reasonable sample size to accurately capture extreme tail quantiles. For very small datasets, the authors suggest pooling or smoothing the CDF table.
- Multi-Task Extension: A promising future direction highlighted is using PIT-SUN as a model-agnostic multi-task scale aligner to normalize heterogeneous continuous targets (e.g., training LTV, GMV, and dwell time together) without losing individual calibration.
Summary updated