TL;DR
The paper introduces FlowTime, a novel framework establishing a new paradigm—Continuous Generative Regression—for predicting video watch time in short-video recommendation systems. By combining a one-step Variational Autoencoder (VAE) with a Flow-based Personalized Prior, FlowTime accurately models complex, multimodal user behavior distributions without sacrificing real-time inference speed. Along with the model, the authors release TimeRec, the first open-source benchmarking library for watch time prediction.
What Problem Does This Paper Address?
In short-video platforms (like TikTok or Kuaishou), optimizing for Watch Time Prediction (WTP) is crucial for maximizing user engagement. However, existing methods fall into three flawed paradigms:
- Direct Regression (using Mean Squared Error) assumes a simple, unimodal distribution, leading to "mean-collapse" where the model predicts a safe average that fails to reflect actual user behavior.
- Ordinal Regression discretizes continuous time into buckets, introducing rigid quantization errors and ignoring dependencies between intervals.
- Discrete Generative Regression treats time as language tokens, which suffers from high autoregressive decoding latency during online inference.
Crucially, none of these paradigms capture the fact that watch time is inherently multimodal and highly personalized. From a causal perspective, the authors argue that user-item interaction patterns act as structural confounders. For instance, two users might have the exact same interest level in a video, but an "aggressive" user might quickly skip or watch completely (bimodal distribution), while a "passive" user might just let it hover (unimodal distribution).
Methods
To solve these issues, the authors propose a fourth paradigm: Continuous Generative Regression, implemented via FlowTime.
- One-step Generative VAE Backbone: Instead of using slow, iterative diffusion models, FlowTime adopts a VAE architecture. This bypasses costly iterative denoising to ensure real-time, one-step inference efficiency online.
- Flow-based Personalized Prior: Standard VAEs assume a simple Gaussian prior, forcing the latent space to be unimodal and globally shared. FlowTime uses Normalizing Flows (NFs) conditioned on historical user and item watch-time quantiles to dynamically warp this simple Gaussian prior into a complex, pattern-specific manifold.
- Joint Optimization: The model is trained using a multi-objective loss that balances point-estimate accuracy (Huber loss), latent space regularization (KL divergence), and a novel Wasserstein distance-based loss to align generated distributions with historical interaction patterns.
Datasets
The authors evaluated FlowTime on three distinct datasets:
- KuaiRand-Pure: A public dataset from Kuaishou containing unbiased interaction data from a random video dispatch policy.
- KuaiRec: A high-density public dataset featuring rich user-item interactions.
- Indust: A massive, real-world industrial dataset from a short-video platform with over 400 million Daily Active Users (DAUs), characterized by extreme sparsity and long-tail distributions.
To address widespread inconsistencies in evaluation protocols within the field, the authors also built and released TimeRec, the first open-source unified benchmarking library for WTP.
Key Insights and Ideas
- Causal Confounding Matters: Watch time isn't just a function of user interest; it is heavily modulated by user habits and item characteristics. Modeling this explicitly via personalized priors prevents the model from collapsing to a meaningless average.
- Continuous > Discrete: Moving away from bucketed time intervals or discrete tokens eliminates quantization errors, allowing the model to establish more precise ordinal relationships.
- One-Step Generation for Production: While diffusion and flow-matching models are powerful for density estimation, their iterative nature makes them too slow for real-time recommendation. FlowTime proves that a well-conditioned one-step VAE can match their expressiveness while maintaining production-ready speeds.
Key Results
- Offline Performance: FlowTime consistently achieved state-of-the-art results across all datasets. On KuaiRec, it reduced Mean Absolute Error (MAE) by 0.676% and boosted ranking accuracy (XAUC) compared to direct regression baselines.
- Online Impact: In large-scale online A/B tests serving 10% of production traffic on a platform with 400M+ DAUs, FlowTime delivered a +1.044% uplift in Video Play Time and a +1.027% increase in App Usage Time, alongside a +1.236% boost in Share Rate.
- Efficiency: FlowTime achieved a twofold improvement over the discrete generative baseline (GR), improving accuracy while cutting inference latency by nearly 30%.
Limitations and Future Work
While FlowTime significantly reduces inference latency compared to iterative generative models (like diffusion), it remains marginally slower than basic direct regression models. The authors explored a faster variant (FlowTime-MLP) to close this gap, but balancing extreme throughput demands with complex flow transformations remains an engineering challenge for massive-scale deployment. Future work could explore further optimizing the flow architecture or extending this continuous generative paradigm to multi-task recommendation settings.
Summary updated