Published November 6, 2026 | Version 1.0

Quantifying Hidden Temporal Leakage in Machine Learning: An Empirical Evaluation of Dual-Clock Point-in-Time Feature Engineering

  • 1. ROR icon Sri Lanka Institute of Information Technology

Description

Historical machine-learning features must reproduce the information that a deployed system could have known at each prediction time. Filtering records only by event time is insufficient when observations arrive late, are backfilled, or become usable after processing delays.

This study quantifies hidden temporal leakage and evaluates a dual-clock point-in-time feature-construction method that considers both event time and availability time. A controlled simulation benchmark generated finance, healthcare, and retail event streams with heterogeneous, signal-dependent reporting delays. Twelve replications per domain produced 36 datasets. Event-time-only, fixed-lag, and dual-clock feature-construction strategies were evaluated using logistic regression, random forest, and histogram gradient boosting models.

Event-time-only construction altered 43.9% - 47.5% of prediction rows relative to the dual-clock reference and produced an average offline AUROC optimism gap of approximately 0.011 across domains and model families. For logistic regression, the gaps were 0.0086 in finance, 0.0195 in healthcare, and 0.0058 in retail. A fixed global lag did not provide point-in-time correctness, changing 59.9% - 86.8% of rows and excluding usable recent information.

The findings demonstrate that row-level availability time is part of the feature definition rather than optional metadata. The study uses controlled synthetic data; therefore, reported effect sizes represent the specified simulation mechanism and should not be interpreted as universal estimates for all organizations or industries.

Files

knownAt-temporal-leakage-study-Umesh-Malaviarachchi-v1.0.pdf

Files (761.3 kB)

Name Size
md5:07d65d1b6a6045ef0be1d51f99687810
761.3 kB Preview Download

Additional details

Related works

Is supplemented by
Software: https://github.com/umeshtharukaofficial/knownAt (URL)

Dates

Created
2026-11-06
Manuscript and benchmark release date

Software

Repository URL
https://github.com/umeshtharukaofficial/knownAt
Programming language
R , Python
Development Status
Active