← Latest papers
🤖 machine learning

PIT-SUN: A Deployable Empirical Marginal Transform Framework with Expectation-Consistent Recovery for Regression in Recommender Systems

The paper introduces PIT-SUN, a deployable framework that achieves expectation-consistent recovery for regression in recommender systems by applying a probability-integral-transform to stabilize training and using a multiplicative SUN recovery method to accurately estimate original-space expectations without the limitations of direct inversion.

Original authors: Mingyu Zhao, Zhaohan Li, Zhenxiong Miao, Xu Zhang, Dewei Leng, Yanan Niu, Kun Gai

Published 2026-07-10
📖 5 min read🧠 Deep dive

Original authors: Mingyu Zhao, Zhaohan Li, Zhenxiong Miao, Xu Zhang, Dewei Leng, Yanan Niu, Kun Gai

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are running a massive video app, and your job is to guess how long a user will watch a video or how much money they might spend. This is the "regression" problem in recommendation systems. The paper PIT-SUN tackles a tricky puzzle: how do you make these guesses accurately when the data is messy, full of zeros, and has wild, unpredictable spikes?

The Problem: The "Ruler" That Breaks

Think of trying to measure a mountain range with a standard ruler. Most of the time, you are measuring small hills (short watch times), but occasionally, you hit a massive peak (someone watching for 10 hours straight) or a deep valley (zero watch time).

If you try to measure everything with a standard ruler (the "Original-Space MSE" method), your measurements get shaky. The giant peaks pull your ruler so hard that your average guess collapses, and the tiny hills get squished. You end up predicting that everyone watches for a boring, average amount of time, missing the big spikes and the zeros entirely.

The Failed Shortcut: The "Magic Stretchy Ruler"

Many people tried to fix this by using a "Magic Stretchy Ruler" (mathematical transformations like logs or square roots). This ruler squishes the giant mountains down so they fit on your desk, making the math easier.

Here is the catch the paper explicitly rules out: You cannot just stretch the mountains, measure them, and then simply "un-stretch" the result to get the real answer. The paper proves mathematically that if you stretch the ruler in a non-linear way (to handle the spikes), simply reversing the stretch will not give you the correct average. It's like stretching a rubber band, marking a spot, and then assuming the spot returns to its original spot when you let go. It doesn't. The paper shows that unless your stretch is a perfectly straight line (which defeats the purpose of handling spikes), this direct "un-stretching" is mathematically broken.

The Solution: The "Two-Step GPS" (PIT-SUN)

The authors propose a new framework called PIT-SUN (Probability-Integral-TranSformed Unbiased recovery). Instead of trying to fix the ruler, they build a two-step GPS system.

Step 1: The "Ranking Map" (The Coordinate)
First, they ignore the actual numbers (like "5 minutes" or "$50") and just look at the rank. They ask: "Is this user in the top 10% of watchers? The bottom 5%?" They convert every messy data point into a clean, bounded score between -3 and +3 (like a standard normal score). This turns the wild, jagged mountain range into a smooth, manageable hill. This is the "PIT" part. It stabilizes the learning so the AI doesn't get confused by the giant spikes.

Step 2: The "Recovery Base" (The SUN)
Now, the AI has a great map of the ranks, but it still needs to know the actual value. This is where the "SUN" part comes in. Instead of just un-stretching the ruler, the AI uses a special "Recovery Base."
Think of this as a calibrated anchor. The AI looks at the rank it predicted and asks, "Based on the history of this specific rank, what is the average real value associated with it?" It multiplies the rank by this anchor to get the final prediction.

Crucially, the paper shows that this anchor must be frozen (using a "stop-gradient" trick) while the AI learns the ratio. If the anchor moves around while the AI is trying to learn the ratio, the whole system gets confused. By locking the anchor, the AI can safely learn how to convert the clean rank back into a real, accurate dollar amount or time.

What the Paper Proves and Measures

The authors didn't just guess this would work; they tested it everywhere:

  • Simulations: They created 12 different fake worlds with weird, messy data shapes (some with huge spikes, some with lots of zeros). In every single one, PIT-SUN stayed stable while other methods crashed or gave biased answers.
  • Public Benchmarks: They tested it on two real public datasets (CIKM16 and DTMart). PIT-SUN beat the best existing models, improving accuracy by a measurable margin (e.g., reducing error rates significantly).
  • Real-World Industrial Data: They deployed it at Kuaishou (a massive video platform) for predicting "Dwell Time" (watch time) and "GMV" (gross merchandise value).
    • For Dwell Time, PIT-SUN reduced the error (NMAE) to 0.477, beating the next best method (CCOR-Net at 0.487).
    • For GMV (which is full of zeros), PIT-SUN-ZI (a version for zero-heavy data) achieved a Zero-AUC of 0.902, significantly better than the next best.
  • Online A/B Test: They ran a live experiment for 7 days. The results showed a statistically significant lift in "Watching Time" (0.318% increase) and "Video View Count" (0.265% increase). The paper notes that while ad revenue showed a positive trend, it wasn't statistically significant, so they only claim the engagement gains are proven.

The Bottom Line

The paper suggests that you can't just "transform and invert" your way out of messy data. You need a complete system that separates the stable ranking from the value recovery.

PIT-SUN is this system. It uses a single "lookup table" (an empirical map of the data's distribution) to do three jobs at once: define the stable rank, provide the anchor for recovery, and monitor for drift. It's lightweight, fast (inference takes about 14.61 ms for P50), and it works whether the data is a smooth hill or a jagged mountain range. It turns a broken ruler into a reliable GPS.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →