This invention relates to a lightweight
adaptive method for testing non-stationary data streams. Its core lies in constructing a two-
branch adaptive architecture that decouples observation and execution statistics. A shadow observation
branch, independent of the main
inference branch, maintains a statistical reference baseline in real time, unaffected by adaptive calibration actions, thus suppressing the closed-loop
coupling problem between drift
perception and statistical updates at the mechanism level. Based on this decoupled architecture, the shadow branch calculates a composite drift surrogate metric to map and generate dynamic
momentum parameters, and introduces relaxed cumulative variables to perform three-level state determination and spatiotemporal misalignment
mask generation. Finally, during
inference forward propagation, dynamic online calibration of statistics is performed only for the key levels selected by the
mask. This invention alleviates the
adaptation lag and statistical oscillation risks caused by fixed
momentum, suppresses the statistical degradation risk caused by single-sample
noise, and is suitable for real-
time model optimization in single-sample, non-stationary streaming scenarios.