Computationally lightweight classifiers with frequentist bounds on predictions
Organizations: Cyber-physical Systems Group, Aalto University · Decision and Control Systems, KTH Royal Institute of Technology
Abstract
While both classical and neural network classifiers can achieve high accuracy, they fall short on offering uncertainty bounds on their predictions, making them unfit for safety-critical applications. Existing kernel-based classifiers that provide such bounds scale with in time, making them computationally intractable for large datasets. To address this, we propose a novel, computationally efficient classification algorithm based on the Nadaraya-Watson estimator, for whose estimates we derive frequentist uncertainty intervals. We evaluate our classifier on synthetically generated data and on electrocardiographic heartbeat signals from the MIT-BIH Arrhythmia database. We show that the method achieves competitive accuracy \SI{96}{\percent} at and operations, while providing actionable uncertainty bounds. These bounds can, e.g., aid in flagging low-confidence predictions, making them suitable for real-time settings with resource constraints, such as diagnostic monitoring or implantable devices.
Figures & tables
| Preprocessing | Querying | |
|---|---|---|
| Regular | – | |
| Dyadic | ||
| Localized | ||
| CME | – | |
| LR |
| Size | Classifier | Accuracy | Precision | Recall | Precompute (s) | Query Time (s) |
|---|---|---|---|---|---|---|
| 1 000 | Regular NWC | 86.4 | 0.881 | 0.864 | – | 0.140 |
| Localized NWC | 91.0 | 0.903 | 0.910 | 0.0008 | 0.085 | |
| Logistic Regression | 88.8 | 0.859 | 0.888 | 0.0128 | 0.0002 | |
| CME | 92.0 | 0.846 | 92.0 | – | 8.883 | |
| 10 000 | Regular NWC | 93.4 | 0.938 | 0.934 | – | 1.573 |
| Localized NWC | 96.4 | 0.963 | 0.964 | 0.0145 | 0.395 |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Literature | Remark | Accuracy | Bounds |
|---|---|---|---|
| Kumari and Sai (2022) | Optimized decision tree | ✗ | |
| Zhou and Fang (2024) | CNN with frequency channel attention | ✗ | |
| Abdalla et al. (2020) | CNN with 11 layers | ✗ | |
| Gao et al. (2019) | Long short-term memory model with focal loss | ✗ | |
| Jha and Kolekar (2020) | SVM with tunable Q-wavelet transform | ✗ | |
| Nnyaba et al. (2024) | GP classification with bounds | ✓ |
| Kernel | Definition |
|---|---|
| Boxcar kernel | |
| Gaussian kernel (without truncation) | |
| Epanechnikov kernel | |
| Quartic kernel | |
| Triweight kernel | |
| Tricube kernel |
Classification
Classification maps observations to discrete labels, including familiar, unknown, hierarchical, or multiple categories.
See all 408 papers