Abstract
Online algorithms for detecting changepoints, or abrupt shifts in the behavior of a time series, are often deployed with limited resources, such as in edge computing settings like mobile phones or IoT sensors. This paper introduces MF-BOCD, an active learning framework for online changepoint detection that dynamically chooses between "cheap" (low-fidelity) and "expensive" (high-fidelity) data sources. By maximizing the information rate—the information gain per unit of computational cost—the algorithm significantly reduces the total processing budget while maintaining high detection accuracy.
Introduction
In many real-world scenarios, such as autonomous driving or industrial sensing, data is non-stationary and undergoes sudden shifts in behavior known as changepoints. Bayesian Online Changepoint Detection (BOCD) is a robust tool for identifying these shifts in real-time. However, standard BOCD assumes a fixed "fidelity" (quality and cost) for observations. In resource-constrained environments, there is a fundamental tension between accuracy and cost. For instance, a high-fidelity neural network may be accurate but energy-intensive, while a compressed version is fast but noisy. Currently, there is no principled way to decide when to utilize high-quality data. MF-BOCD addresses this by allowing the system to remain in a "low-power mode" during stable regimes and switch to "high-power mode" when a change is suspected.
Methods
The MF-BOCD framework extends the classic BOCD approach through two primary innovations:
Multi-Fidelity Modeling
The authors employ a "power posterior" approach where the likelihood of an observation is raised to a power $\zeta \in [0, 1]$. A value of $\zeta = 1$ represents a standard high-fidelity observation, while a smaller $\zeta$ down-weights the observation, effectively treating it as noisier. For exponential family distributions, this update remains analytically tractable by weighting the sufficient statistics.
Active Fidelity Selection
At each time step, the algorithm calculates the expected Information Gain for each available fidelity level. To incorporate cost, they define the Information Rate ($\alpha$) as the Information Gain divided by the cost ($\lambda$) of that fidelity. The algorithm selects the fidelity $\zeta^*_t$ that maximizes the weighted information rate: $$\zeta^*_t := \arg \max_{\zeta_t \in \mathcal{Z}} w(\zeta_t) \frac{U(\zeta_t)}{\lambda(\zeta_t)}$$ This mechanism triggers a switch to high fidelity when the run-length posterior becomes uncertain, indicating a potential changepoint.
Datasets and Evaluation
The framework was evaluated across three domains:
- Synthetic Gaussian: A univariate signal with mean shifts used to build intuition and demonstrate the decision-making process.
- CamVid (Cambridge-driving Labeled Video Database): Pretrained MobileNetV3 models (Large vs. Small) were used to detect fences in video streams, representing a computer vision task where model size impacts FLOPs.
- MIMII (Malfunctioning Industrial Machine Investigation and Inspection): An audio dataset for industrial anomaly detection, comparing a high-fidelity CNN against a low-fidelity MLP to detect machine damage.
Key Results
- Cost Efficiency: In CamVid experiments, MF-BOCD achieved a predictive mean squared error (MSE) nearly identical to high-fidelity-only baselines while reducing computational cost (FLOPs) by approximately 23%.
- Strategic vs. Random Selection: MF-BOCD consistently outperformed a "random switching" baseline with the same budget. This demonstrates that the timing of high-fidelity data usage is critical for performance.
- Run-Length Accuracy: MF-BOCD's estimation of the "run-length" (time since the last changepoint) was significantly more accurate than low-fidelity-only models, particularly in noisy environments.
Discussion and Limitations
While MF-BOCD offers significant advantages, its performance is dependent on the quality of the low-fidelity model. If the low-fidelity model is extremely poor (e.g., AUC < 0.5), the information gain calculation can be misled. Additionally, the decision rule currently relies on weights ($w$) that require tuning on held-out data. Future work may explore "soft" decision rules, such as sampling from a temperature-controlled distribution, to improve robustness against noisy information gain estimates.
Summary updated