# Learning and Interpreting Gravitational-Wave Features from CNNs with a Random Forest Approach

arXiv: https://arxiv.org/abs/2505.20357 · HTML: https://mlsanity.com/paper/2505.20357/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 16 of its 88 references that are in the map.
- First posted on arXiv 26 May 2025.

## Builds on (most cited first, 16 of 16)

- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [SGDR: Stochastic Gradient Descent with Warm Restarts](https://mlsanity.com/paper/1608.03983/) (2016)
- [Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Maps](https://mlsanity.com/paper/1312.6034/) (2013)
- [Visualizing and Understanding Convolutional Networks](https://mlsanity.com/paper/1311.2901/) (2013)
- [Medical Image Segmentation Using Deep Learning: A Survey](https://mlsanity.com/paper/2009.13120/) (2020)
- [Deep Learning Face Representation by Joint Identification-Verification](https://mlsanity.com/paper/1406.4773/) (2014)
- [Deep Learning for Real-time Gravitational Wave Detection and Parameter Estimation: Results with Advanced LIGO Data](https://mlsanity.com/paper/1711.03121/) (2017)
- [Deep Neural Networks to Enable Real-time Multimessenger Astrophysics](https://mlsanity.com/paper/1701.00008/) (2016)
- [Convolutional neural networks: a magic bullet for gravitational-wave detection?](https://mlsanity.com/paper/1904.08693/) (2019)
- [Detection of gravitational-wave signals from binary neutron star mergers using machine learning](https://mlsanity.com/paper/2006.01509/) (2020)
- [Generalized Approach to Matched Filtering using Neural Networks](https://mlsanity.com/paper/2104.03961/) (2021)
- [Training Strategies for Deep Learning Gravitational-Wave Searches](https://mlsanity.com/paper/2106.03741/) (2021)
- [From One to Many: A Deep Learning Coincident Gravitational-Wave Search](https://mlsanity.com/paper/2108.10715/) (2021)
- [MLGWSC-1: The first Machine Learning Gravitational-Wave Search Mock Data Challenge](https://mlsanity.com/paper/2209.11146/) (2022)
- [Improved deep learning techniques in gravitational-wave data analysis](https://mlsanity.com/paper/2011.04418/) (2020)
- [Deep learning for gravitational-wave data analysis: A resampling white-box approach](https://mlsanity.com/paper/2009.04088/) (2020)

## Abstract (arXiv)

Convolutional neural networks (CNNs) have become widely adopted in gravitational wave (GW) detection pipelines due to their ability to automatically learn hierarchical features from raw strain data. However, the physical meaning of these learned features remains underexplored, limiting the interpretability of such models. In this work, we propose a hybrid architecture that combines a CNN-based feature extractor with a random forest (RF) classifier to improve both detection performance and interpretability. Unlike prior approaches that directly connect classifiers to CNN outputs, our method introduces four physically interpretable metrics - variance, signal-to-noise ratio (SNR), waveform overlap, and peak amplitude - computed from the final convolutional layer. These are jointly used with the CNN output in the RF classifier to enable more informed decision boundaries. Tested on long-duration strain datasets, our hybrid model outperforms a baseline CNN model, achieving a relative improvement of 21% in sensitivity at a fixed false alarm rate of 10 events per month. Notably, it also shows improved detection of low-SNR signals (SNR ≤ 10), which are especially vulnerable to misclassification in noisy environments. Feature attribution via the RF model reveals that both CNN-extracted and handcrafted features contribute significantly to classification decisions, with learned variance and CNN outputs ranked among the most informative. These findings suggest that physically motivated post-processing of CNN feature maps can serve as a valuable tool for interpretable and efficient GW detection, bridging the gap between deep learning and domain knowledge.
