EdgeAI DISCUSSION

How can overlapping sensor windows leak information into an AI test set?

Started by sherhasankhan edge AI datasetsdata leakagetime-series windowsvalidation splitsensor classification
3 replies 248 views 4 participants
Latest activity · 27 Sep 2026

How can overlapping sensor windows leak information into an AI test set?

sherhasankhan EdgeAI Forum
#1

For a vibration or audio classifier, is it valid to create many overlapping windows and then randomly split those windows into training and test sets?

Adjacent windows may contain much of the same signal. How should the data be divided so the reported result better predicts performance on a new recording session, device or operating condition?

Community replies 3

Re: How can overlapping sensor windows leak information into an AI test set?

#2

Split by the independent unit you want to generalize to before creating overlapping windows. That might be a recording session, machine, person or physical device. If two windows share most of their raw samples, putting one in training and the other in testing gives the model information about the test recording. A high score can then overstate performance on truly new data.

Re: How can overlapping sensor windows leak information into an AI test set?

#3

Keep preprocessing decisions inside the training workflow too. Fit normalization parameters and select features using training data, then apply those fixed choices to validation and test data. If the operating condition changes over time, inspect chronological or grouped evaluation as appropriate. Record how the split was made so future model comparisons use the same definition of unseen data.

Re: How can overlapping sensor windows leak information into an AI test set?

#4

Test the deployed pipeline on complete new recordings, including transitions, silence or idle periods and conditions outside the known classes. Window-level accuracy can hide repeated false triggers over a long run. Report event-level behavior and the smoothing or voting logic used by the application. Those measurements are closer to what a device user experiences than an isolated-window score.

TEP COMMUNITY