Reconstruction-based Out-of-Distribution Detection for Short-Range FMCW Radar

Sabri Mustafa Kahya, Muhammet Sami Yavuz, Eckehard Steinbach

Abstract: Out-of-distribution (OOD) detection is critical for the safe deployment of neural networks in real-world applications, ensuring models do not produce overconfident predictions on data outside their training distribution. While OOD detection is well-established for the image domain, radar-based applications face unique challenges. This study proposes a novel reconstruction-based OOD detector for 60 GHz short-range FMCW radar data. Our method utilizes a patch-based autoencoder (AE) and introduces two scoring functions: patch-based reconstruction loss (PB-REC) and patch-based latent space energy (PB-LSE). Experimental results on a custom dataset show that our PB-LSE method achieves an AUROC of 90.72%, outperforming state-of-the-art baselines. Furthermore, the model's compact size of 641 kB makes it highly suitable for embedded edge devices.

Introduction

Deep learning models often exhibit "overconfidence," assigning high certainty to Out-of-Distribution (OOD) samples that they were never trained to recognize. In safety-critical applications like smart home monitoring or healthcare, misidentifying a non-human object (e.g., a robot vacuum) as a human activity (e.g., a fall) can lead to false alarms and system distrust.

Radar sensors, specifically Frequency Modulated Continuous Wave (FMCW) radar, offer a privacy-preserving alternative to cameras. However, the resulting Range Doppler Images (RDIs) have lower resolution and different signal characteristics than standard optical images, necessitating specialized OOD detection techniques. This paper addresses the need for a lightweight, reliable OOD detector tailored for radar-based human activity monitoring.

Methodology

The core of our approach is a Patch-based Autoencoder (AE) designed to capture local features of human movement.

Patch-based Processing

Instead of processing the entire $64 \times 64$ RDI as a single input, we divide it into four $32 \times 32$ patches. This strategy prevents the model from relying on global scene structures and forces it to learn the specific micro-Doppler signatures associated with human walking.

Proposed patch-based autoencoder architecture showing the extraction of latent energy (PB-LSE) and reconstruction error (PB-REC).

Scoring Functions

We propose two metrics to distinguish In-Distribution (ID) human walking from OOD objects:

  1. PB-REC (Patch-Based Reconstruction): This metric calculates the error between the input patches and their reconstructions. Since the AE is trained exclusively on human walking, it fails to accurately reconstruct OOD objects, leading to higher error scores.
  2. PB-LSE (Patch-Based Latent Energy): This novel contribution applies a Log-Sum-Exp (energy) function to the latent representations ($Z_1$ to $Z_4$) generated by the encoder. This energy-based score provides a more discriminative boundary between ID and OOD samples than reconstruction error alone.

Experimental Setup

Data was collected using an Infineon BGT60TR13C 60 GHz FMCW radar sensor across 10 different indoor environments.

  • In-Distribution (ID): The ID class consists of 30,000 frames of a single human walking in various patterns.
  • Out-of-Distribution (OOD): The OOD set includes 12,000 frames of eight distinct moving objects, such as table fans, RC toy cars, swinging laundry, and robot vacuums.

To test generalization, the model was trained on data from six rooms and evaluated on four entirely unseen rooms.

Results and Discussion

Our proposed PB-LSE method achieved a state-of-the-art AUROC of 90.72%, significantly surpassing the standard Autoencoder baseline (75.44%) and other popular OOD detection methods like MSP and ODIN when applied to the radar domain.

Quantitative comparison of OOD detection performance across various architectures and scoring methods.

Beyond accuracy, efficiency is a primary advantage of this approach. By utilizing the PB-LSE score, only the encoder portion of the network is required during deployment. This results in a model footprint of just 641 kB, making it ideal for low-power embedded sensors and edge computing applications where memory and processing power are limited.

Conclusion

This study demonstrates that a patch-based latent energy approach is highly effective for OOD detection in short-range FMCW radar data. By focusing on local features and leveraging latent space energy, we achieve high detection accuracy while maintaining the small model size necessary for real-world embedded deployment. Future work will explore multi-target scenarios and a broader range of "normal" human activities beyond walking.

Summary updated

Abstract

Out-of-distribution (OOD) detection recently has drawn attention due to its critical role in the safe deployment of modern neural network architectures in real-world applications. The OOD detectors aim to distinguish samples that lie outside the training distribution in order to avoid the overconfident predictions of machine learning models on OOD data. Existing detectors, which mainly rely on the logit, intermediate feature space, softmax score, or reconstruction loss, manage to produce promising results. However, most of these methods are developed for the image domain. In this study, we propose a novel reconstruction-based OOD detector to operate on the radar domain. Our method exploits an autoencoder (AE) and its latent representation to detect the OOD samples. We propose two scores incorporating the patch-based reconstruction loss and the energy value calculated from the latent representations of each patch. We achieve an AUROC of 90.72% on our dataset collected by using 60 GHz short-range FMCW Radar. The experiments demonstrate that, in terms of AUROC and AUPR, our method outperforms the baseline (AE) and the other state-of-the-art methods. Also, thanks to its model size of 641 kB, our detector is suitable for embedded usage.
BibTeX
@misc{kahya2023reconstruction,
  author = {Sabri Mustafa Kahya and Muhammet Sami Yavuz and Eckehard Steinbach},
  title = {{Reconstruction-based Out-of-Distribution Detection for Short-Range FMCW Radar}},
  year = {2023},
  eprint = {2302.14192},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.14192},
}
Figure