StableSleep: Source-Free Test-Time Adaptation for Sleep Staging with Lightweight Safety Rails
- URL: http://arxiv.org/abs/2509.02982v1
- Date: Wed, 03 Sep 2025 03:42:31 GMT
- Title: StableSleep: Source-Free Test-Time Adaptation for Sleep Staging with Lightweight Safety Rails
- Abstract summary: Method is model-agnostic, requires no source data or patient calibration, and is practical for on-device or bedside use.<n>We show consistent gains over a frozen baseline of seconds-level latency and minimal memory, reporting per-stage metrics and Cohen's k.<n>The method is model-agnostic, requires no source data or patient calibration, and is practical for on-device or bedside use.
- Score: 0.0
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Sleep staging models often degrade when deployed on patients with unseen physiology or recording conditions. We propose a streaming, source-free test-time adaptation (TTA) recipe that combines entropy minimization (Tent) with Batch-Norm statistic refresh and two safety rails: an entropy gate to pause adaptation on uncertain windows and an EMA-based reset to reel back drift. On Sleep-EDF Expanded, using single-lead EEG (Fpz-Cz, 100 Hz, 30s epochs; R&K to AASM mapping), we show consistent gains over a frozen baseline at seconds-level latency and minimal memory, reporting per-stage metrics and Cohen's k. The method is model-agnostic, requires no source data or patient calibration, and is practical for on-device or bedside use.
Related papers
- NanoSleep: A Parameter-Efficient Hybrid Temporal Convolutional Network for Single-Channel Sleep Stage Classification [0.0]
We present NanoSleep, a compact hybrid temporal convolutional network for automatic sleep stage classification.<n>NanoSleep provides an effective balance between accuracy and efficiency, making it well suited for wearable devices, home-based sleep monitoring, and resource-constrained clinical applications.
arXiv Detail & Related papers (2026-08-19T06:08:24Z) - TTSD-FAR: Test-Time Self-Distillation with Fisher-Anchored Restoration for Missing-Modality Emotion Recognition in LVLMs [83.78708832901194]
Large video-language models (LVLMs) have shown remarkable performance on multimodal tasks like multimodal emotion recognition (ER) in the wild.<n>However, real-world deployment remains challenging: modalities may be missing or noisy at test time.<n>We propose a solution in which a frozen teacher guides an adaptive low-rank student via self-distillation.<n>Experiments on MELD, DFEW, and BAH under 0%-50% missing modalities show that this unified adaptation-restoration design consistently outperforms entropy-based adaptation, RAG, and perplexity-based generation.
arXiv Detail & Related papers (2026-08-18T23:40:28Z) - Lightweight ML-Based Automatic Sleep Staging Framework with Constrained CNN and Mamba for Small-Sample EEG Datasets [5.545826188919722]
This paper proposes GamSleepNet, a lightweight and low-latency automatic sleep staging framework for single-channel EEG.<n>On the Sleepedf dataset, this model achieves an overall accuracy of 87.86 percent with only 30.86 thousand parameters, with all metrics reaching SOTA levels.
arXiv Detail & Related papers (2026-07-06T11:06:16Z) - PVRF: All-in-one Adverse Weather Removal via Prior-modulated and Velocity-constrained Rectified Flow [69.40969296005794]
We propose a unified framework that integrates zero-shot soft weather perceptions with velocity-constrained rectified-flow refinement.<n>PVRF improves both fidelity and perceptual quality over state-of-the-art baselines.
arXiv Detail & Related papers (2026-05-13T19:07:14Z) - TS-Memory: Plug-and-Play Memory for Time Series Foundation Models [63.21390142212087]
Time Series Foundation Models (TSFMs) achieve strong zero-shot forecasting through large-scale pre-training.<n>Existing solutions face a trade-off: Parametric Adaptation can cause catastrophic forgetting, while Non-Parametric Retrieval improves forecasts but incurs high latency due to datastore search.<n>We propose Parametric Memory Distillation and implement it as TS-Memory, a lightweight memory adapter that augments frozen TSFMs.
arXiv Detail & Related papers (2026-02-12T04:16:19Z) - NeuroSleep: Neuromorphic Event-Driven Single-Channel EEG Sleep Staging for Edge-Efficient Sensing [7.848671193820205]
This paper proposes NeuroSleep, an integrated event-driven sensing and inference system for energy-efficient sleep staging.<n>By bridging neuromorphic encoding with state-aware modeling, NeuroSleep provides a scalable solution for always-on sleep analysis in resource-constrained wearable scenarios.
arXiv Detail & Related papers (2026-02-06T13:16:28Z) - Lightweight Test-Time Adaptation for EMG-Based Gesture Recognition [2.414036142474149]
We propose a lightweight framework for Test-Time Adaptation (TTA) using a Temporal Convolutional Network (TCN) backbone.<n>We introduce three deployment-ready strategies: causal adaptive batch normalization for real-time statistical alignment; (ii) a Gaussian Mixture Model (GMM) alignment with experience replay to prevent forgetting; and (iii) meta-learning for rapid, few-shot calibration.<n>Our results show that experience-replay updates yield superior stability under limited data, while meta-learning achieves competitive performance in one- and two-shot regimes.
arXiv Detail & Related papers (2026-01-07T18:48:31Z) - Adapt in the Wild: Test-Time Entropy Minimization with Sharpness and Feature Regularization [85.50560211492898]
Test-time adaptation (TTA) may fail to improve or even harm the model performance when test data have mixed distribution shifts.<n>This is often a key obstacle preventing existing TTA methods from being deployed in the real world.<n>We propose a sharpness-aware and reliable entropy minimization method, called SAR, for stabilizing TTA from two aspects.
arXiv Detail & Related papers (2025-09-05T10:03:00Z) - Adaptive Deadline and Batch Layered Synchronized Federated Learning [66.93447103966439]
Federated learning (FL) enables collaborative model training across distributed edge devices while preserving data privacy, and typically operates in a round-based synchronous manner.<n>We propose ADEL-FL, a novel framework that jointly optimize per-round deadlines and user-specific batch sizes for layer-wise aggregation.
arXiv Detail & Related papers (2025-05-29T19:59:18Z) - Sleep-time Compute: Beyond Inference Scaling at Test-time [52.87976180878445]
Scaling test-time compute has emerged as a key ingredient for enabling large language models to solve difficult problems.<n>We introduce sleep-time compute, which allows models to "think" offline about contexts before queries are presented.
arXiv Detail & Related papers (2025-04-17T17:59:25Z) - SleepGMUformer: A gated multimodal temporal neural network for sleep staging [12.839348425917581]
This paper proposes a gated temporal neural network for multidomain sleep data, including heart rate, motion, steps, EEG (Fpz-Cz, Pz-Oz), and EOG from WristHR-Motion-Sleep and SleepEDF-78.<n>The model integrates: 1) a pre-processing module for feature alignment, missing value handling, and EEG de-trending; 2) a feature extraction module for complex sleep features in the time dimension; and 3) a dynamic fusion module for real-time modality weighting.
arXiv Detail & Related papers (2025-02-20T03:42:42Z) - Test-Time Model Adaptation with Only Forward Passes [68.11784295706995]
Test-time adaptation has proven effective in adapting a given trained model to unseen test samples with potential distribution shifts.
We propose a test-time Forward-Optimization Adaptation (FOA) method.
FOA runs on quantized 8-bit ViT, outperforms gradient-based TENT on full-precision 32-bit ViT, and achieves an up to 24-fold memory reduction on ImageNet-C.
arXiv Detail & Related papers (2024-04-02T05:34:33Z) - Single Channel EEG Based Insomnia Identification Without Sleep Stage Annotations [0.3495246564946556]
The performance of the model is validated using 50 insomnia patients and 50 healthy subjects.<n>The developed model has the potential to simplify current sleep monitoring systems and enable in-home ambulatory monitoring.
arXiv Detail & Related papers (2024-02-09T08:59:37Z) - EcoTTA: Memory-Efficient Continual Test-time Adaptation via
Self-distilled Regularization [71.70414291057332]
TTA may primarily be conducted on edge devices with limited memory.
Long-term adaptation often leads to catastrophic forgetting and error accumulation.
We present lightweight meta networks that can adapt the frozen original networks to the target domain.
arXiv Detail & Related papers (2023-03-03T13:05:30Z) - A Closed-loop Sleep Modulation System with FPGA-Accelerated Deep
Learning [1.5569382274788235]
We develop a sleep modulation system that supports closed-loop operations on a low-power field-programmable gate array (FPGA) device.
Deep learning (DL) model is accelerated by a low-power field-programmable gate array (FPGA) device.
Model has been validated using a public sleep database containing 81 subjects, achieving a state-of-the-art classification accuracy of 85.8% and a F1-score of 79%.
arXiv Detail & Related papers (2022-11-19T01:47:53Z) - Sleep syndromes onset detection based on automatic sleep staging
algorithm [0.0]
A Fast Fourier Transform is applied to 30 seconds long epochs of EEG recordings to provide localized time-frequency information.
A deep convolutional LSTM neural network is trained for sleep stage classification.
The code evaluation showed impressive results, reaching an accuracy of 86.43, precision of 77.76, recall of 93,32, F1-score of 89.12 with the final mean false error loss of 0.09.
arXiv Detail & Related papers (2021-07-07T15:38:47Z) - Sleep Stage Scoring Using Joint Frequency-Temporal and Unsupervised
Features [5.104181562775778]
A number of Automatic Sleep Stage Recognition (ASSR) methods have been proposed.
Most of these methods use temporal-frequency features that have been extracted from the vital signals.
Recently, some ASSR methods have been proposed which use deep neural networks for unsupervised feature extraction.
In this paper, we proposed to combine the two ideas and use both temporal-frequency and unsupervised features at the same time.
arXiv Detail & Related papers (2020-04-10T02:00:29Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.