Advancing Glitch Classification in Gravity Spy: Multi-view Fusion with Attention-based Machine Learning for Advanced LIGO's Fourth Observing Run

Yunan Wu, M. Zevin, C. P. L. Berry, Kevin Crowston, Carsten Østerlund, Z. Doctor, S. Banagiri, Corey Jackson, V. Kalogera, Aggelos K. KatsaggelosClassical 2024

TL;DR

This paper introduces a novel machine learning classifier for identifying glitches in gravitational wave detector data, improving upon previous methods by effectively fusing information from multiple time windows and incorporating an attention mechanism for better interpretability. This advancement is crucial for the ongoing fourth observing run (O4) of LIGO, enabling more accurate detection and characterization of gravitational wave signals by reducing confusion with instrumental noise.

What Problem Does This Paper Address?

Gravitational wave detectors like LIGO are incredibly sensitive, allowing us to detect faint ripples in spacetime. However, this sensitivity also means they pick up a lot of unwanted noise, known as "glitches." These glitches can sometimes mimic real gravitational wave signals or mask them, making it harder to study the universe. The Gravity Spy project uses a combination of citizen scientists and machine learning to classify these glitches. While the existing machine learning classifier has been useful, it struggled with the increased complexity and data from LIGO's fourth observing run (O4). Specifically, its simple architecture couldn't effectively handle data from different time windows simultaneously, leading to poor generalization and an inability to capture subtle temporal correlations. This paper aims to address these limitations by developing a more advanced classifier for O4.

Methods

The core of the proposed solution is a multi-view fusion strategy. Instead of treating each time window of glitch data independently, the model fuses information from four different time windows (0.5s, 1.0s, 2.0s, and 4.0s) to get a more comprehensive understanding of the glitch's morphology. They explore three fusion strategies: early, late, and intermediate fusion, with intermediate fusion (combining features at an intermediate layer) showing the best results.

Key innovations include:

  • Inception Residual Blocks: A deeper network architecture is used, incorporating inception residual blocks to better extract discriminative features and mitigate the vanishing gradient problem.
  • Attention Module: An attention mechanism is introduced to weigh the importance of each time window's features during classification. This not only improves performance but also provides interpretability by showing which time window the model focused on for its decision.
  • Label Smoothing: To combat noisy labels (misclassifications from citizen scientists or previous models), label smoothing is applied to the training data, making the model less overconfident and more robust.
  • Weighted Loss Function: To address class imbalance (some glitches are much rarer than others), a weighted loss function is used.

Datasets

The study uses the Gravity Spy dataset, which consists of time-frequency spectrograms of glitches from LIGO's third observing run (O3). This dataset was filtered to include only glitches with high confidence scores (above 0.9) from both machine learning models and volunteer classifications, accounting for 84.5% of the original data. The filtered dataset was split into training (8439 glitches), validation (1687 glitches), and testing (3538 glitches) sets. The paper also mentions using early O4 data for confidence overfitting analysis.

Key Insights and Ideas

  • Temporal Context is Crucial: The success of intermediate fusion highlights that understanding a glitch requires considering its evolution across different timescales. A glitch might appear differently in a short window versus a long one, and combining these views is key.
  • Attention for Interpretability: The attention mechanism isn't just a performance booster; it offers a window into the model's decision-making process. Seeing which time window gets more "attention" for a specific glitch type can align with human intuition (e.g., long-duration glitches like "Repeating Blips" being more prominent in longer time windows).
  • Label Smoothing is a Game-Changer for Noisy Data: The effectiveness of label smoothing in improving generalization and reducing overconfidence is a significant finding, especially given the inherent noise in citizen science datasets.
  • Overconfidence is a Real Problem: The previous classifier suffered from significant confidence overfitting, a common issue in deep learning that can mislead analysis. The new model demonstrably mitigates this.

Key Results

The proposed model achieved state-of-the-art performance on the O3 test set:

  • Overall Accuracy: 0.941 (compared to 0.906 for the previous model)
  • Overall Precision: 0.950 (compared to 0.913)
  • Overall F1 Score: 0.931 (compared to 0.904)
  • Overall AUC: 0.965 (compared to 0.937)

These improvements are statistically significant. The model also showed better calibration, with a lower Expected Calibration Error (ECE) of 0.06 compared to the previous model's 0.09. The attention mechanism significantly outperformed non-attention variants (max/mean pooling). Optimal performance was achieved with a smoothing parameter $\beta = 0.3$.

Limitations and Future Work

  • Supervised Learning Constraint: The classifier is trained in a fully supervised manner, meaning its ability to classify entirely new, unseen glitch classes is limited. If new glitch types emerge in O4, the classifier will need retraining with data that includes these new classes.
  • Noisy Labels Persist: While label smoothing helps, the training and test sets are still imperfect. Future work could focus on preparing test sets with validated ground truth from LIGO experts.
  • Limited Interpretability: While the attention mechanism provides insights into which time window is important, it doesn't specify which parts of the image within that window are driving the prediction. Techniques like Grad-CAM could be explored for finer-grained localization.
  • Future Enhancements: The authors suggest incorporating additional information like sensor locations, temporal attributes, and supplementary auxiliary data to further optimize the classifier.

Summary updated

BibTeX
@inproceedings{wu2024advancing,
  author = {Yunan Wu and M. Zevin and C. P. L. Berry and Kevin Crowston and Carsten Østerlund and Z. Doctor and S. Banagiri and Corey Jackson and V. Kalogera and Aggelos K. Katsaggelos},
  title = {{Advancing Glitch Classification in Gravity Spy: Multi-view Fusion with Attention-based Machine Learning for Advanced LIGO's Fourth Observing Run}},
  booktitle = {Classical},
  year = {2024},
}
Figure