NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Classifiers under Delayed Feedback with a Time Window Assumption

Shota Yasui, Masahiro KatoKDD 2020

Abstract

We consider training a binary classifier under delayed feedback (DF learning). For example, in the conversion prediction in online ads, we initially receive negative samples that clicked the ads but did not buy an item; subsequently, some samples among them buy an item then change to positive. In the setting of DF learning, we observe samples over time, then learn a classifier at some point. Owing to the delayed feedback, naive classification of the positive and negative samples returns a biased classifier. One solution is to use samples that have been observed for more than a certain time window assuming these samples are correctly labeled. However, existing studies reported that simply using a subset of all samples based on the time window assumption does not perform well, and that using all samples along with the time window assumption improves empirical performance. We extend these existing studies and propose a method with the unbiased and convex empirical risk that is constructed from all samples under the time window assumption. To demonstrate the soundness of the proposed method, we provide experimental results on a synthetic and open dataset that is the real traffic log datasets in online advertising.

Introduction

In many real-world machine learning applications, such as online advertising or medical treatment monitoring, there is a significant lag between an initial action (e.g., clicking an ad) and the final outcome (e.g., purchasing a product). This phenomenon, known as delayed feedback, poses a major challenge for real-time model training. If a model is trained on recent data, many samples that will eventually become positive (conversions) are currently observed as negatives. This leads to a significant label bias, where the training set is populated with false negatives.

Traditional solutions generally fall into two categories: Time Window (TW) models, which only train on older data where outcomes are certain, and Importance Weighting (IW), which mathematically corrects bias but often suffers from high variance and optimization instability. TW models are particularly vulnerable in non-stationary environments where data distributions shift rapidly, as they ignore the most recent trends. This paper proposes a middle ground: an approach that utilizes all available data while remaining mathematically unbiased and easy to optimize.

Proposed Methodology

The authors introduce two novel estimators designed to bridge the gap between data freshness and label accuracy:

  1. convDF (Convex Delayed Feedback): This method derives an unbiased empirical risk function by combining biased recent data with an "oracle" dataset of older samples that have passed a specific time window $\tau$. By employing a composite loss function, the method mathematically cancels out the bias inherent in recent samples. For linear models and standard losses like logistic loss, this formulation remains convex, ensuring global optimality and efficient computation.
  2. nnDF (Non-negative Delayed Feedback): Unbiased estimators can sometimes produce "negative risk" during training, especially when paired with complex models like deep neural networks, leading to severe overfitting. Borrowing techniques from Positive-Unlabeled (PU) learning, the authors incorporate a non-negative constraint into the risk function to stabilize the training process.

These methods rely on two primary assumptions: the Time Window Assumption, which posits that labels become certain after a duration $\tau$, and the Stationarity Assumption, which assumes the delay distribution remains relatively stable over the observation period.

Experimental Evaluation

Synthetic Dataset and Non-stationarity

The researchers first evaluated their methods using a synthetic simulation of online advertising traffic. This setup allowed for controlled testing of "campaign shifts," where new types of ads are introduced to violate the stationarity assumption.

Relative log loss of various methods as non-stationarity (η) increases.

As shown in the synthetic results, the proposed convDF method demonstrates superior robustness to non-stationarity compared to the Time Window baseline. While TW models fail as the environment changes (high $\eta$), convDF effectively incorporates recent data to maintain lower relative log loss.

Real-world Performance on Criteo Dataset

The methods were further validated on the Criteo dataset, a benchmark containing millions of click and conversion logs. The evaluation spanned seven days of test data, training on the preceding three weeks.

Performance comparison on the Criteo dataset across seven days.

On this real-world dataset, nnDF proved to be a highly competitive performer. According to the experimental results, nnDF achieved the best (lowest) Negative Log Loss (nLL) on 3 out of the 7 test days and demonstrated strong average performance across the week. Crucially, while the basic convDF occasionally diverged on this large-scale data, the non-negative version (nnDF) remained stable and reliable.

Key Insights

  • Freshness vs. Accuracy: The proposed methods successfully balance the accuracy of "stale" time-windowed data with the freshness of biased recent data. This allows models to capture current trends without being misled by false negatives.
  • The "Non-negative" Safety Net: Applying PU-learning techniques to delayed feedback is a key innovation. By preventing empirical risk from dipping below zero, the authors make it feasible to use flexible deep learning architectures in biased feedback scenarios.
  • Practical Robustness: The methods prove more practical than those relying purely on stationarity, particularly in "middle-ground" scenarios where the world is changing but not entirely chaotic.

Conclusion and Future Work

This work provides a sound mathematical framework for learning under delayed feedback using a time window assumption. By creating a convex and unbiased risk estimator, the authors offer a tool that is both theoretically grounded and empirically effective.

However, limitations remain, such as the sensitivity to the choice of the time window parameter $\tau$. Future research directions include extending this convex formulation to online, streaming learning settings where models are updated continuously as new data arrives.

Summary updated

BibTeX
@inproceedings{yasui2020learning,
  author = {Shota Yasui and Masahiro Kato},
  title = {{Learning Classifiers under Delayed Feedback with a Time Window Assumption}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2020},
  url = {https://openreview.net/forum?id=C_XskOe1AcS},
}
Figure