Auditing Identity and Timing Signals in Operational Logs
Organizations: Latent Archon LLC, New York, NY, USA
Abstract
Models that predict events from operational logs, such as sepsis in ICU records or failures in hard drives, can score well by recognizing which patient or drive a record came from, or when it was recorded, instead of predicting the event. I introduce two simple audits that measure how much of this information a dataset carries before any event-prediction model is trained, and apply them to seven public datasets in six domains. One asks whether a classifier can tell that two records came from the same unit; the other asks which of two records from the same unit came later. Under the stated nulls, both have expected AUC 0.5. In ICU data, the identity audit flags a common preprocessing step: carrying the last measurement forward raises identity AUC from 0.916 to 0.993. On a 12-hour sepsis forecasting task, carrying forward makes a model look 0.163 AUC better than raw values when a patient's hours are split between training and test, but only 0.046 better when patients are held out. The exaggeration under patient overlap also appears in a second ICU dataset with mortality as the outcome. On the sepsis task, a chronological control with complete follow-up, in which training sees only a patient's earlier, resolved hours, shows no positive mean overlap gap. Timing is a strong predictor: with complete follow-up, hour of stay and measurement counts alone, with no clinical value, score 0.761 on held-out patients, and adding the raw clinical values changes that by +0.018. Outside the ICU, 95% of drives and 75% of loans have records on both sides of a calendar cut, and the overlap gap persists under a calendar split. The audits show which features and preprocessing choices to check; the evaluation protocol decides the consequences. I release the code, a library that runs the audits on any table with a unit column and a time column, and a guide to using the audits.
Figures & tables
| Domain | Offsets | All features | Fewer features |
|---|---|---|---|
| Drives | 30–90 d | 1.000 | 0.998 (no clocks) |
| Mortgage | 6–18 mo | 1.000 | 0.994 (no clocks) |
| ICU (carry-forward) | 6–24 h | 0.993 | 0.879 (counts only) |
| Vessels | 14–60 d | 0.955 | 0.886 (no location) |
| ICU (no carry-forward) | 6–24 h | 0.916 | 0.850 (values only) |
| ICU, PhysioNet 2012 (carry-forward) | 6–24 h | 0.998 | 0.939 (counts only) |
| Domain | Any other unit | Most similar unit [95% interval] |
|---|---|---|
| Drives | 1.000 | 0.993 [0.987, 0.997] |
| Mortgage | 1.000 | 0.998 [0.995, 0.999] |
| ICU (carry-forward) | 0.993 | 0.977 [0.969, 0.983] |
| Vessels | 0.955 | 0.923 [0.894, 0.947] |
| ICU (no carry-forward) | 0.916 | 0.790 [0.766, 0.814] |
| Clickstreams | 0.660 | 0.542 [0.504, 0.577] |
| Domain | Offsets | All features | Fewer features | Single channel |
|---|---|---|---|---|
| Mortgage | 6–18 mo | 0.834 | 0.549 | 0.500 (rate) |
| ICU | 6–24 h | 0.718 | 0.677 | 0.634 (counts) |
| ICU (PhysioNet 2012) | 6–24 h | 0.662 | 0.638 | 0.595 (counts) |
| Drives | 30–90 d | 0.598 | 0.527 | 0.507 (temp.) |
| Wind | 14–60 d | 0.539 | 0.540 | 0.517 (ambient) |
| Clickstreams | 14–60 d | 0.534 | 0.520 | n/a |
| Domain | Tier | Identity AUC | Overlap | Disjoint | unit | calendar | embargo |
|---|---|---|---|---|---|---|---|
| ICU | carry-forward | 0.993 | 0.908 | 0.788 | +0.120 | +0.116 | +0.060 |
| ICU | carry-forward 6 h | 0.946 | 0.828 | 0.770 | +0.057 | +0.028 | +0.011 |
| ICU | model fill | 0.978 | 0.834 | 0.781 | +0.053 | +0.052 | +0.024 |
| ICU | raw | 0.916 | 0.769 | 0.752 | +0.017 | +0.013 | +0.007 |
| ICU | mean fill | 0.914 | 0.769 | 0.751 | +0.018 | +0.013 | +0.007 |
| Mortgage | full | 1.000 | 0.947 | 0.886 | +0.061 | +0.043 | +0.032 |
| Fill | Identity AUC | Overlap | Disjoint | unit [range] |
|---|---|---|---|---|
| carry-forward | 0.998 | 0.946 | 0.815 | +0.132 [+0.117, +0.146] |
| carry-forward 6 h | 0.985 | 0.869 | 0.797 | +0.071 [+0.063, +0.080] |
| raw | 0.974 | 0.796 | 0.746 | +0.049 [+0.042, +0.057] |
| mean fill | 0.972 | 0.795 | 0.745 | +0.050 [+0.042, +0.059] |
| Imputation | Identity AUC | Overlap | Disjoint | 95% range | |
|---|---|---|---|---|---|
| carry-forward | 0.993 | 0.887 | 0.740 | +0.147 | [+0.133, +0.162] |
| carry-forward 6 h | 0.946 | 0.816 | 0.706 | +0.110 | [+0.097, +0.121] |
| model fill | 0.978 | 0.808 | 0.734 | +0.074 | [+0.065, +0.083] |
| raw | 0.916 | 0.724 | 0.694 | +0.031 | [+0.025, +0.038] |
| mean fill | 0.914 | 0.725 | 0.693 | +0.032 | [+0.026, +0.039] |
| Imputation | Random overlap [range] | Chronological overlap [range] |
|---|---|---|
| raw | +0.034 [+0.028, +0.040] | -0.004 [-0.008, -0.000] |
| mean fill | +0.035 [+0.029, +0.040] | -0.004 [-0.007, +0.000] |
| carry-forward 6 h | +0.120 [+0.108, +0.132] | -0.006 [-0.012, -0.000] |
| carry-forward | +0.151 [+0.138, +0.164] | -0.007 [-0.014, +0.001] |
| Hospital | Fill | Overlap | Disjoint | Random-split gap [range] | Chronological gap [range] |
|---|---|---|---|---|---|
| A | carry-forward | 0.923 | 0.741 | +0.182 [+0.162, +0.200] | -0.007 [-0.016, +0.002] |
| A | carry-forward 6 h | 0.849 | 0.697 | +0.151 [+0.135, +0.169] | -0.005 [-0.014, +0.001] |
| A | raw | 0.742 | 0.697 | +0.045 [+0.036, +0.055] | -0.003 [-0.008, -0.000] |
| B | carry-forward | 0.942 | 0.756 | +0.187 [+0.165, +0.206] | -0.013 [-0.025, -0.000] |
| B | carry-forward 6 h | 0.864 | 0.711 | +0.153 [+0.130, +0.177] | -0.006 [-0.016, +0.002] |
| B | raw | 0.745 | 0.698 | +0.047 [+0.036, +0.060] | -0.004 [-0.009, +0.002] |
| Audit result | Follow-up comparison |
|---|---|
| Identity discrimination increases under preprocessing | Compare preprocessing choices under the deployment split, using the same test rows and matched training counts. The tested random-overlap protocols exaggerate the gains of carry-forward imputation. |
| Timing discrimination falls after feature removal | Compare the event model with a baseline using those features alone, provided they are available at prediction time. |
| Timing discrimination survives feature removal | Compare against a time-only baseline on the same target and test rows; information about temporal position remains in the features. |
| Scores change with temporal offset | Take held-out data as far past training as the model will be used: drive records a month apart are nearly indistinguishable (temporal AUC 0.525) and clearly different after three to six months (0.734). Waiting does not remove identity; drive identity AUC is 1.000 at that gap. |
| Either AUC is near 0.5 | This probe detected little signal at these offsets. Retain the evaluation split required by deployment. |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Domain | Source | Units | Sampling | Offsets |
|---|---|---|---|---|
| ICU | PhysioNet 2019 ( Reyna et al., 2020 ) | 40,336 stays | hourly | 6–24 h |
| ICU (2012) | PhysioNet 2012 ( Silva et al., 2012 ) | 12,000 stays | hourly | 6–24 h |
| Drives | Backblaze ( Backblaze, Inc., 2026 ) | 360,106 drives | daily | 30–90 d |
| Mortgage | Freddie Mac ( Freddie Mac, 2026 ) | 162,490 loans | monthly | 6–18 mo |
| Clickstreams | OULAD ( Kuzilek et al., 2017 ) | 29,228 registrations | active days | 14–60 d |
| Wind | Plumley (2022a) ; Plumley (2022b) | 20 turbines | daily | 14–60 d |
| Panel | Train same | Test same | Test different | Test unmatched |
|---|---|---|---|---|
| Drives | 8,000 | 2,000 | 2,000 | 0 |
| Drives (cohort matched) | 8,000–8,002 | 2,001 | 1,999–2,000 | 1–2 |
| Mortgage | 8,000 | 2,000 | 2,000 | 0 |
| Vessels | 3,200 | 800 | 800 | 0 |
| Clickstreams | 8,000 | 2,000 | 2,000 | 0 |
| ICU (carry-forward) | 8,000 | 2,000 | 2,000 | 0 |
| Domain | Offsets | Temporal | Placebo | Difference |
|---|---|---|---|---|
| Drives | 7–29 d | 0.525 | 0.544 [0.521, 0.565] | -0.020 |
| Drives | 30–90 d | 0.598 | 0.592 [0.579, 0.605] | 0.006 |
| Drives | 90–180 d | 0.734 | 0.715 [0.702, 0.727] | 0.019 |
| ICU | 3–6 h | 0.592 | 0.586 [0.570, 0.602] | 0.005 |
| ICU | 6–24 h | 0.718 | 0.697 [0.684, 0.708] | 0.021 |
| ICU | 24–48 h | 0.881 | 0.872 [0.857, 0.891] | 0.009 |
| Experiment | Domain (cohort) | Tier | cohort [range] |
|---|---|---|---|
| Case-control | Mortgage (vintage) | full | +0.070 [-0.006, +0.216] |
| Case-control | Mortgage (vintage) | no clocks | +0.037 [-0.005, +0.111] |
| Case-control | Drives (model) | full | +0.105 [+0.037, +0.219] |
| Case-control | Drives (model) | no clocks | +0.048 [+0.008, +0.100] |
| Case-control | ICU (hospital) | carry-forward | +0.085 [+0.054, +0.115] |
| Case-control | ICU (hospital) | carry-forward 6 h | +0.070 [+0.052, +0.087] |
| ICU variant | All different-patient pairs | Same-hospital pairs |
|---|---|---|
| carry-forward | 0.993 | 0.989 [0.984, 0.992] |
| carry-forward 6 h | 0.946 | 0.920 [0.905, 0.933] |
| model fill | 0.978 | 0.971 [0.963, 0.978] |
| raw | 0.916 | 0.879 [0.859, 0.899] |
| mean fill | 0.914 | 0.876 [0.852, 0.896] |
| counts only | 0.879 | 0.820 [0.791, 0.847] |
| Identity | Timing | ||||
|---|---|---|---|---|---|
| Domain (features) | Library offsets | Main text | Library | Library | Placebo |
| Drives (all) | 1–227 d | 1.000 | 0.991 | 0.631 | 0.638 |
| Drives (no clocks) | 1–227 d | 0.998 | 0.980 | 0.542 | 0.552 |
| Mortgage (all) | 31–242.5 d | 1.000 | 1.000 | 0.673 | 0.664 |
| Mortgage (no clocks) | 31–242.5 d | 0.994 | 0.996 | 0.525 | 0.534 |
| ICU (carry-forward) | 1–18.5 h | 0.993 | 0.992 | 0.637 | 0.621 |
| Identity | Timing | |||
|---|---|---|---|---|
| Domain (all features) | Shorter half | Longer half | Shorter half | Longer half |
| Drives | 0.994 | 0.992 | 0.579 | 0.781 |
| Mortgage | 1.000 | 1.000 | 0.629 | 0.756 |
| ICU (carry-forward) | 0.994 | 0.985 | 0.595 | 0.754 |
| ICU (no carry-forward) | 0.943 | 0.870 | 0.578 | 0.680 |
| Vessels | 0.960 | 0.949 | 0.527 | 0.522 |
Data Leakage
Data leakage is unintended information flow into model training, evaluation, or outputs that inflates results or exposes sensitive data.
See all 142 papers