Computing the Wave: Bridging Gravitational Wave and High-Energy-Physics software (with modular ROOT extensions)

arXiv:2611.27026 · astro-ph.IM, hep-ex · Submitted 2026-11-20 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Astrophysics. The day in astrophysics: observations, models and what the data forces.

Vera: We're looking at the paper: "Computing the Wave".

Title and authors: Vera: So the paper lays out six practical requirements that they distilled for both communities, which include things like common software distribution and a coherent ecosystem <ref:2611.27026#pg3>.

Jocelyn: And one of those key requirements is remote data access, specifically formats like GWF or HDF5, which lets you handle data across different locations <ref:2611.27026#pg3>.

Subrahmanyan: I’m interested in how they’ve tackled the signal processing part, since that’s where the math gets heavy for both fields <ref:2611.27026#pg4>.

Vera: They wrapped a library called KFR behind an interface compatible with ROOT's FFT functionality, giving you tools like amplitude and power spectral densities <ref:2611.27026#pg4>.

Jocelyn: And they also added this tensor extension, which provides a TTensor class backed by the LibTorch C++ API for complex computations <ref:2611.27026#pg4>.

Subrahmanyan: That’s significant because it lets you take models trained in things like Python and ONNX format and apply them directly to complex-valued data inside ROOT containers without needing custom maintenance <ref:2611.27026#pg4>.

The paper's summary: Vera: They show a real application in transient noise detection, for example, using an unsupervised embedding like UMAP for pre-tagging and then a convolutional neural network for the final classification <ref:2611.27026#pg5>.

Jocelyn: That workflow moves from offline clustering to online classification, which means you could potentially flag recurrent system failures as they happen during real-time analysis <ref:2611.27026#pg5>.

Subrahmanyan: The end-to-end workflow involves ingesting low-latency GWF frames and storing them in TTrees, then distributing that data using remote access like OSDF or S3 via Kafka transport <ref:2611.27026#pg5>.

Vera: They’ve also completed the core extension, including the command line interface, drawing tools, and clock helpers alongside the remote-data distribution layer <ref:2611.27026#pg5>.

Jocelyn: What I’m hearing is that while the core system is mostly done, they are currently finalizing the KFR-based time series signal processing layer <ref:2611.27026#pg5>.

The paper's improvements: Vera: So to wrap up, this RIOPlus ROOT extension creates an end-to-end workflow for gravitational wave analysis, moving from low latency frame ingestion right up to machine learning inference <ref:2611.27026#pg5>.

Jocelyn: It bridges the gap by using HEP software maturity while keeping the deployment flexible and modular, which is key for both large data volume needs and real-time latency constraints <ref:2611.27026#pg2>.

Subrahmanyan: The implication here is that we have a way to leverage established frameworks for something very different, allowing us to build complex analysis tools that can handle both the scale of HEP and the speed of GW data <ref:2611.27026#pg1>.

Vera: It’s about showing how these two fields can actually enrich each other through shared software rather than just working in silos <ref:2611.27026#pg1>.

Jocelyn: The next step is seeing this fully deployed and used across the community, which they are preparing documentation for now with Conda as the package manager <ref:2611.27026#pg5>.

Subrahmanyan: For me, what this means is that we can use these established methods to analyze structure formation in a way that benefits from the computational maturity built up in other areas of physics <ref:2611.27026#pg3>.

Conclusion: Vera: So we’ve looked at the RIOPlus Framework, which is essentially this modular extension to CERN ROOT software that tries to bridge high-energy physics and gravitational wave astronomy <ref:2611.27026#pg1>.

Jocelyn: Right, it’s a set of optional pieces you can load depending on what you need right now, which is smart because HEP deals with huge data volumes while GW needs that real-time speed <ref:2611.27026#pg2>.

Subrahmanyan: From a theoretical side, the idea is using these tools to handle complex-valued tensors and machine learning models directly within ROOT containers, which simplifies the workflow immensely for structure formation studies <ref:2611.27026#pg4>.

Vera: Exactly, so they’ve got this whole pipeline from ingesting low latency gravitational wave frames through signal processing using KFR to running those neural networks <ref:2611.27026#pg8>.

Jocelyn: And they’re making it accessible across different systems by using Conda for distribution and remote data access methods like OSDF or S3 storage <ref:2611.27026#pg5>.

Subrahmanyan: It’s interesting to see the benchmarking they did comparing FFTW with KFR, because that tells us how much overhead you actually have when you're doing those complex transforms <ref:2611.27026#pg7>.

Vera: And they show a concrete use case with glitch detection, using UMAP for pre-tagging and then a convolutional neural network for the final classification <ref:2611.27026#pg5>.

Jocelyn: That means you could potentially catch recurrent system failures in real time during online analysis instead of after the fact <ref:2611.27026#pg5>.

Subrahmanyan: It confirms that the collaboration between HEP and GW is still productive, building on tools that have been around since the nineties <ref:2611.27026#pg5>.

Vera: It’s a solid consolidation of prototype work into something modular, which means you only pay for what you use in terms of features and dependencies <ref:2611.27026#pg3>.

Jocelyn: Yeah, the core extension is mostly done, but they're still finalizing that signal processing layer with KFR <ref:2611.27026#pg5>.

Subrahmanyan: It’s a good piece of work for bridging particle physics and astrophysics software <ref:2611.27026#pg5>.

Vera: It really shows how these different communities can enrich each other through shared software <ref:2611.27026#pg1>.

Jocelyn: So, we’re looking at this paper, "Computing the Wave: Bridging Gravitational Wave and High-Energy-Physics software (with modular ROOT extensions)" <ref:2611.27026#pg1>.

Vera: Next up, we’ll look at how this framework handles the next generation of data streams.

Marco Meyer-Conde, Hirotaka Takahashia, Nobuyuki Kandac, Ken-ichi Ooharad, Kazuki Sakaie

Tokyo City University · University of Illinois at Urbana-Champaign · Nambu Yoichiro Institute of Theoretical and Experimental Physics Osaka Metropolitan University · Graduate School of Science and Technology Niigata University · National Institute of Technology Nagaoka College

astro-ph.IM, hep-ex

Submitted: 2026-11-20

Updated: 2026-11-20

Code: https://github.com/onnx/onnx

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 100/100

The gist: High-Energy Physics (HEP) and Gravitational Wave (GW) astronomy pursue different scientific goals, yet they face strikingly similar computing challenges and can enrich one another through shared…

Key concepts

RIOPlus Framework
A modular extension built on the CERN ROOT data analysis framework. It is structured as optional, dynamically loadable extensions (.so files), meaning users only install and pay for the specific features they need, ensuring flexible deployment.
Signal Processing Extension (KFR)
This extension wraps the KFR library behind a ROOT interface to provide advanced DSP primitives. It allows users to perform tasks like calculating amplitude- and power-spectral densities and generating waveforms, which is crucial for characterizing transient noise in GW data.
Tensor Extension (LibTorch)
This component provides a TTensor class backed by the LibTorch C++ API. This enables loading machine learning models exported in ONNX format to be applied directly to complex-valued data stored in ROOT containers, facilitating GPU-accelerated inference.

Summary

High-Energy Physics (HEP) and Gravitational Wave (GW) astronomy pursue different scientific goals, yet they face strikingly similar computing challenges and can enrich one another through shared software. p. 0<ref:2611.27026#pg1, High-Energy Physics (HEP) and Gravitational Wave (GW) astronomy pursue different scientific goals, yet they face strikingly similar computing challenges and can enrich one another through shared software>

The RIOPlus Framework

The paper reports on the consolidation of prototype work into a single, modular extension of the CERN ROOT data-analysis framework, freely distributed under RIOPlus.<ref:2611.27026#pg1, Building on the prototype presented at ACAT 2024, we report on the consolidation of that work into a single, modular extension of the CERN ROOT data-analysis framework>. p. 0 The library is organized as a set of optional, dynamically loadable extensions covering various needs. p. 0<ref:2611.27026#pg3>. Each extension is an independent shared object (. p. 1so), meaning deployment pays only for the features it uses and their additional dependencies. p. 1<ref:2611.27026#pg3>

Modular Extension Components

The RIOPlus extension is structured around a core library complemented by several optional extensions.<ref:2611.27026#pg3>. The six practical requirements distilled for both communities include common software distribution, a coherent ecosystem and packaging story, remote data access with formats like GWF/HDF5, an enhanced dynamic display manager, advanced signal processing built on KFR library, and complex-valued tensors with machine-learning support. p. 0<ref:2611.27026#pg3>

Signal Processing and Tensor Capabilities

The signal-processing extension wraps the KFR library behind a TKFR interface compatible with ROOT’s TVirtualFFT, providing primitives like amplitude- and power-spectral densities, filtering, and waveform generation.<ref:2611.27026#pg4>. The tensor extension provides a TTensor. p. 3<ref:2611.27026#pg4, The tensor extension provides a TTensor&lt;Element&gt; class for tensor and matrix computations backed by the LibTorch C++ API>. p. 3 This allows trained models exported in ONNX format to be loaded and applied directly to complex-valued data held in ROOT containers without bespoke maintenance. p. 3<ref:2611.27026#pg4, Trained models exported in the Open Neural Network Exchange (ONNX) format [17] can be loaded through a TModel wrapper (an ONNX Runtime session) and applied directly to TTensor data, allowing recent models to be used and shared across Python and C/C++ applications without bespoke maintenance>

Application in Transient Noise Detection

A representative use case involves handling glitches by using an unsupervised embedding like UMAP for pre-tagging followed by a convolutional neural network for final classification.<ref:2611.27026#pg5, Using the tensor extension (section 2. p. 46), we explore a workflow in which an unsupervised embedding — Uniform Manifold Approximation and Projection (UMAP) — is first used to find clusters in the space of glitch spectrograms for pre-tagging, after which a convolutional neural network performs the final classification>. p. 4 This offline architecture was used in [22, 24], with trained models exported to ONNX. p. 4<ref:2611.27026#pg5, Performing this online would flag recurrent system failures (e. p. 4g. cooling or actuators) as they happen>

Workflow and Status

The extensions compose into an end-to-end, ROOT-centered workflow for GW analysis, moving from low-latency frame ingestion to machine learning inference.<ref:2611.27026#pg5, The extensions compose into an end-to-end, ROOT centred workflow for GW analysis (figure 3)>. p. 4 This workflow involves ingesting low-latency GWF frames and storing them in TTrees, distributing them via remote data access like OSDF or S3 with Kafka transport. p. 4<ref:2611.27026#pg5, low-latency GWF frames are ingested and stored into TTrees as one-second std::vector&lt;double&gt; frames, distributed through the remote-data extension (TDirectory/TFile over OSDF or S3, with Kafka transport and SciToken credentials)>. p. 4 The core extension is largely complete, while the KFR-based TTimeSeries/TFrequencySeries signal-processing layer is currently being finalized. p. 4<ref:2611.27026#pg5, The core extension including CLI, drawing, and clock helpers, together with the configuration and archive utilities and the remote-data distribution layer (TCloud/TBucket, TDirectory and TFile over OSDF/S3, TSciToken, and TKafka) has been completed>. p. 4 Continued HEP-GW collaboration remains a productive way to bridge particle physics, astrophysics, and computer science. p. 4<ref:2611.27026#pg5, Continued HEP-GW collaboration, building on a legacy that dates back to the 1990s, remains a productive way to bridge particle physics, astrophysics, and computer science>

Distribution Strategy

Conda is used as the package manager to distribute pre-compiled binaries for deployment within the GW community.<ref:2611.27026#pg5, Conda has become a de facto standard for software deployment within the GW community, and we use it as a package manager to distribute pre-compiled binaries>. p. 4 Generic conda binaries target a baseline instruction set, but performance-critical layers like KFR embed architecture-specific code paths selected at run time. p. 4<ref:2611.27026#pg5, Generic conda binaries target a baseline instruction set, but KFR (like LibTorch and ONNX Runtime) embeds several architecture-specific code paths selected at run time, so the performance-critical layer is not penalised>. p. 4 Reference documentation and tutorials are in preparation for the first tagged release. p. 4<ref:2611.27026#pg5, Reference documentation and tutorials are in preparation for the first tagged release>

Benchmarking Performance

A benchmark was developed to validate the choice of signal processing backend by comparing an in-place complex forward transform between FFTW 3.3.10 and KFR 6. p. 00.2.<ref:2611.27026#pg4, Figure 2 shows a benchmark we developed to validate this choice of backend (the TKFR wrapping overhead being negligible), comparing an in-place complex forward transform between FFTW 3. p. 33.10 [15] and KFR 6. p. 00.2>. The benchmark application and instructions are publicly available at https://git. p. 3ligo.org/kagra/software/fft-benchmark. p. 3<ref:2611.27026#pg4, The benchmark application and instructions are publicly available at https://git. p. 3ligo.org/kagra/software/fft-benchmark>. p. 3 The paper also updates the FFT performance benchmark comparing KFR with FFTW. p. 0<ref:2611.27026#pg1, and update the FFT performance benchmark comparing KFR with FFTW>

Acknowledgments

This work was supported by MEXT, the JSPS Leading-edge Research Infrastructure Program, JSPS Grant-in-Aid for Specially Promoted Research 26000005, JSPS Grant-in-Aid for Scientific Research on Innovative Areas 2905 (JP17H06358, JP17H06361, JP17H06364), the JSPS Core-toCore Program. A (Advanced Research Networks), JSPS Grant-in-Aid for Scientific Research (S) 17H06133 and 20H05639, JSPS Grant-in-Aid for Transformative Research Areas (A) 20A203 (JP20H05854), the joint research program of the Institute for Cosmic Ray Research, University of Tokyo, and JSPS Grant-in-Aid for Scientific Research (Nos. p. 5 23H01176, 23K25872, 23H04520 and 22K03614) and Grant-in-Aid for JSPS Fellows No. p. 5 22KF0329. We also thank D. p. 5 Cazarin, lead author of the KFR library, for extensive discussions and for sharing the initial benchmark code. p. 5

References

The paper references numerous works supporting its claims regarding GW data formats, analysis tools, and machine learning applications.<ref:2611.27026#pg7, [1] B. P. Abbott et al. p. 5, GW170817: Observation of Gravitational Waves from a Binary Neutron Star Inspiral, Phys. p. 5 Rev. Lett. 119 (2017) 161101> [2] P. p. 5 Brady et al. p. 5, LIGO, Virgo, and KAGRA as the International Gravitational Wave Network, Springer (2020) [3]. p. 5 The LIGO Scientific Collaboration et al. p. 5, Advanced LIGO, Class. p. 5 Quantum Grav. p. 5 p. 5 32 (2015) 074001 [4] F. p. 5 Acernese et al. p. 5, Advanced Virgo: a second-generation interferometric gravitational wave detector, Class. p. 5 Quantum Grav. 32 (2014) 024001 [5] T. p. 5 Akutsu et al. p. 5 p. 5, Overview of KAGRA: Detector design and construction history, Prog. p. 5 Theor. Exp. Phys. 2021 (2021) 05A101 [6] M. p. 5 Meyer-Conde et al. p. 0, Computing the Wave: Where the Gravitational Wave Community benefits from High-Energy Physics, and where it differs, in proceedings of ACAT 2024, J. p. 5 Phys.: Conf. Ser. (2024), arXiv:2503. p. 514292 [7] R. Brun and F. p. 5 Rademakers, ROOT — An object oriented data analysis framework, Nucl. p. 5 Instrum. Meth. A 389 (1997) 81 [8] F. p. 5 Robinet et al. p. 5, Omicron: A tool to characterize transient noise in gravitational-wave detectors, SoftwareX 12 (2020) 100620 [9] S. p. 5 Klimenko et al. p. 5, Method for detection and reconstruction of gravitational wave transients with networks of advanced detectors, Phys. p. 5 Rev. D 93 (2016) 042004 [10] LIGO Scientific Collaboration, LALSuite: LIGO Scientific Collaboration Algorithm Library Suite (2021), https://git. p. 5ligo.org/lscsoft/lalsuite [11] LIGO Data and Computing Group et al. p. 5, Specification of a Common Data Frame Format for Interferometric Gravitational Wave Detectors (IGWD) (2022), https://dcc. p. 5ligo.org/LIGO-T970130/public [12] Open Science Grid, Open Science Data Federation (OSDF) (2021), https://osg-htc. p. 5org/services/osdf. p. 5html [13] Apache Software Foundation, Apache Kafka — open-source high-performance streaming pipelines (2011), http://kafka. p. 5apache.org [14] D. p. 1 Cazarin, KFR — Fast, modern C++ DSP framework (2016), https://www. p. 6kfrlib.com [15] M. p. 6 Frigo and S. p. 6 G. Johnson, FFTW: an adaptive software architecture for the FFT, in proceedings of ICASSP (1998) [16] Meta AI, LibTorch (PyTorch C++ API), https://pytorch. p. 6org/cppdocs [17] J. p. 6 Bai et al., ONNX: Open Neural Network Exchange (2019), https://github. p. 6com/onnx/onnx [18] U. p. 6 Stern,. From Keras to SOFIE, CERN Document Server (2023), https://cds. p. 6cern.ch/record/2871608 [19] M. p. 6 Zevin et al. p. 6, Gravity Spy: lessons learned and a path forward, arXiv:2308. p. 615530 (2023) [20] Y. p. 6 LeCun, L. Bottou, Y. Bengio and P. p. 6 Haffner, Gradient-Based Learning Applied to Document Recognition, IEEE Proc. p. 6 86 (11), 2278–2324 (1998) [21] T. p. 6 Akutsu et al., Identification of noise-associated glitches in KAGRA O3GK with hierarchical veto, Prog. p. 6 Theor. Exp. Phys. 2025 (2025) 083F01 [22] Y. p. 6 Sakai et al. p. 6 p. 6, Unsupervised learning architecture for classifying the transient noise of interferometric gravitational-wave detectors, Sci. p. 6 Rep. 12 (2022) 9935 [23] Y. p. 6 Sakai et al., Training process of unsupervised learning architecture for Gravity Spy dataset, Ann. p. 6 Phys. (Berlin) 536 (2024) 2200140 [24] S. p. 6 Oshino et al. p. 6, Glitch noise classification in KAGRA O3GK observing data using unsupervised machine learning, Phys. p. 6 Lett. B 870 (2025) 139938. p. 6

--- Page 1 ---

Computing the Wave: Bridging Gravitational Wave and High-Energy-Physics software (with modular ROOT extensions)

Marco Meyer-Conde∗a,b, Hirotaka Takahashia, Nobuyuki Kandac, Ken-ichi Ooharad, Kazuki Sakaie, and on behalf of the LIGO Scientific, Virgo and KAGRA Collaborations aTokyo City University, 1-28-1 Tamazutsumi, Setagaya-ku, Tokyo, Japan bDepartment of Physics, University of Illinois at Urbana-Champaign, Urbana, Illinois, USA cNambu Yoichiro Institute of Theoretical and Experimental Physics (NITEP), Osaka Metropolitan University, Osaka, Japan dGraduate School of Science and Technology, Niigata University, Niigata, Japan eDepartment of Electronic Control Engineering, National Institute of Technology (NIT), Nagaoka College, Nagaoka-College-Nagaoka-College-Nagaoka-College-Nagaoka.<ref:2611.27026#pg1, Computing the Wave: Bridging Gravitational Wave and High-Energy-Physics software (with modular ROOT extensions) Marco Meyer-Conde∗a,b, Hirotaka Takahashia, Nobuyuki Kandac, Ken-ichi Ooharad, Kazuki Sakaie, and on behalf of the LIGO Scientific, Virgo and KAGRA Collaborations aTokyo City University, 1-28-1 Tamazutsumi, Setagaya-ku, Tokyo, Japan bDepartment of Physics, University of Illinois at Urbana-Champaign, Urbana, Illinois, USA cNambu Yoichiro Institute of Theoretical and Experimental Physics (NITEP), Osaka Metropolitan University, Osaka, Japan dGraduate School of Science and Technology, Niigata University, Niigata>

--- Page 2 ---

of modern machine learning — even though their requirements differ in emphasis. High-energy physics (HEP) is dominated by the need to process very large data volumes, whereas the GW community is driven primarily by latency: science data streams are comparatively small (a few calibrated channels), but they must be transported and analysed in near real time to enable rapid sky localisation and follow-up. p. 1<ref:2611.27026#pg2, of modern machine learning — even though their requirements differ in emphasis. p. 1 High-energy physics (HEP) is dominated by the need to process very large data volumes, whereas the GW community is driven primarily by latency: science data streams are comparatively small (a few calibrated channels), but they must be transported and analysed in near real time to enable rapid sky localisation and follow-up>

--- Page 3 ---

ROOT has already been used within the GW community, mostly by researchers with a HEP background; a concrete and successful example is the Omicron software [8], which performs the Q-transform on top of ROOT; the cWB pipeline [9] likewise uses ROOT alongside the LIGO Algorithm Library Suite (LALSuite) [10], the C package that underpins most GW pipelines.<ref:2611.27026#pg3, ROOT has already been used within the GW community, mostly by researchers with a HEP background; a concrete and successful example is the Omicron software [8], which performs the Q-transform on top of ROOT; the cWB pipeline [9] likewise uses ROOT alongside the LIGO Algorithm Library Suite (LALSuite) [10], the C package that underpins most GW pipelines>

--- Page 4 ---

Detecting them starts from a power-excess search, such as the Q-transform performed by Omicron [8] on top of ROOT.<ref:2611.27026#pg4, Detecting them starts from a power-excess search, such as the Q-transform performed by Omicron [8] on top of ROOT>

--- Page 5 ---

Once candidates are extracted, classifying their morphology helps diagnose detector behaviour [21].<ref:2611.27026#pg5, Once candidates are extracted, classifying their morphology helps diagnose detector behaviour [21]>

--- Page 6 ---

Figure 3: Modular structure of the RIOPlus ROOT extension. A core library provides generalpurpose features; each extension is a separately loadable shared object (. p. 2so), so a deployment pays only for the features it uses and the additional dependencies they entail. p. 1<ref:2611.27026#pg6>

--- Page 7 ---

Figure 2: MFlops distributions (the higher, the better) vs FFT Size from a benchmark test performed on a local cluster in Osaka, comparing complex forward transform (in-place) between FFTW3.3.10 and KFR6. p. 30.2.<ref:2611.27026#pg7>

--- Page 8 ---

low-latency GWF frames are ingested and stored into TTrees as one-second std::vector<double> frames, distributed through the remote-data extension (TDirectory/TFile over OSDF or S3, with Kafka transport and SciToken credentials), processed by the KFR-backed signal-processing layer, and fed to machine-learning models via LibTorch/ONNX with GPU acceleration already available through LibTorch.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Modular software extension allows for flexible deployment by enabling users to load only necessary features, meaning a deployment pays only for the features it uses and the additional dependencies they entail. This prevents unnecessary overhead in complex analysis pipelines.

  2. Remote data access capability enables federated workflows by integrating "the Open Science Data Federation (OSDF) [12], accessed over HTTP through the Pelican protocol (TDirectoryOSDF); S3-compatible object storage based on the open-source MinIO client (TDirectoryS3); and Apache Kafka [13] producers and consumers." This allows for analysis across globally distributed datasets without moving the data centrally.

  3. Advanced signal processing enables sophisticated transient noise characterization by wrapping the KFR library [14], a modern, actively maintained C++ DSP framework behind a ROOT interface, allowing users to access primitives like amplitude- and power-spectral densities, the Hilbert transform for tasks such as spectral estimation to matched filtering.

  4. Complex tensor capabilities provide GPU acceleration by backing computations with the LibTorch C++ API and enabling recent models to be used and shared across Python and C/C++ applications without bespoke maintenance — updating LibTorch through Conda is sufficient. This supports applying Python-trained models, in the same process, to complex-valued data held in ROOT containers.

  5. The end-to-end workflow enables automated glitch classification by allowing an unsupervised embedding like UMAP to be used to find clusters in the space of glitch spectrograms for pre-tagging, after which a convolutional neural network performs the final classification. This allows for real-time flagging of recurrent system failures during online analysis.

Sources

Related papers