NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fast 2D Bicephalous Convolutional Autoencoder for Compressing 3D Time Projection Chamber Data

Yi Huang, Yihui Ren, Shinjae Yoo, Jin Huang · DOI

Introduction

High-energy particle physics experiments, such as those conducted at the Relativistic Heavy Ion Collider (RHIC), generate data at an unprecedented scale. The sPHENIX experiment, specifically its Time Projection Chamber (TPC), acts as a high-resolution 3D camera capturing the trajectories of particles resulting from gold ion (Au+Au) collisions. With data generation rates reaching up to a terabyte per second, the storage and transmission of this information present a significant bottleneck.

To address this, researchers at Brookhaven National Laboratory have developed specialized deep learning architectures—BCAE++ and BCAE-2D—designed to provide high-fidelity lossy compression for sparse 3D TPC data. By optimizing the neural network architecture and leveraging 2D convolutional efficiencies, these models achieve significant improvements in both throughput and reconstruction accuracy compared to previous benchmarks.

The Compression Challenge

The sPHENIX TPC produces millions of voxels per frame. However, the data is extremely sparse; only approximately 10.8% of the voxels contain actual signal, while the remainder consists of noise-suppressed zeros. Traditional lossy compression algorithms, such as SZ or ZFP, often struggle with this level of sparsity and the specific geometric constraints of a cylindrical TPC. For scientific analysis, the compression must not only reduce the data volume but also preserve the precise Analog-to-Digital Converter (ADC) values required for accurate particle tracking.

Methodology: The Bicephalous Architecture

The core of this research is the Bicephalous Convolutional Autoencoder (BCAE). The term "bicephalous" (two-headed) refers to the dual-task nature of the network's decoder:

  1. Segmentation Head: This branch performs a binary classification to determine whether a voxel contains a signal or is merely zero. It utilizes Focal Loss, a specialized loss function designed to handle the extreme class imbalance inherent in sparse datasets.
  2. Regression Head: This branch predicts the specific ADC signal value for those voxels identified as non-zero.

Architectural Evolutions

The researchers introduced two primary iterations to improve upon the original BCAE design:

  • BCAE++: This model refines the original 3D architecture by streamlining the network. Key changes include padding dimensions to powers of two for computational efficiency and removing normalization layers that were found to be unnecessary for this specific data distribution.
  • BCAE-2D: This novel approach represents a paradigm shift in how the 3D data is processed. Instead of using computationally expensive 3D convolutions, the 16 radial layers of the TPC are collapsed into the channel dimension of a 2D image. This allows the model to utilize 2D convolutions, which are significantly faster and more mature in terms of hardware optimization.

Breaking Translation Invariance

A critical insight of the BCAE-2D model is its handling of the TPC's geometry. In a 3D cylindrical detector, the physical distance between sensors changes as one moves radially outward. Standard 3D convolutions assume "translation invariance"—the idea that a feature looks the same regardless of its location. By treating radial layers as channels in a 2D model, the network effectively "learns" the unique properties of each layer, bypassing the limitations of translation invariance and leading to superior reconstruction accuracy.

Experimental Results

The models were evaluated using simulated central Au+Au collision data, divided into "TPC wedges." The dataset comprised 1,310 simulated events, split into training and testing sets.

Performance Metrics

  • Throughput: BCAE-2D emerged as the highest-performing model in terms of speed, processing approximately 6,900 wedges per second. This represents a 3x speedup over both the original BCAE and the refined BCAE++.
  • Accuracy: BCAE++ demonstrated a remarkable 77% reduction in Mean Absolute Error (MAE) compared to the baseline model, while BCAE-2D also showed significant accuracy gains.
  • Compression Ratio: Both new models achieved a compression ratio of 31.125, a 15% improvement over the original BCAE’s ratio of 27.041.
  • Inference Optimization: By implementing half-precision (FP16) inference, the researchers boosted throughput by nearly 80% with negligible impact on reconstruction quality.

Conclusion and Future Work

The study demonstrates that specialized autoencoder architectures can significantly outperform traditional compression methods for high-energy physics data. The BCAE-2D model, in particular, proves that restructuring 3D spatial data into 2D channels can yield massive gains in computational efficiency without sacrificing scientific integrity.

Future research will focus on further hardware-level optimizations, including network pruning and quantization, as well as direct benchmarking against GPU-accelerated versions of traditional compressors like cuSZ. The ultimate objective is the seamless integration of these models into the real-time streaming data acquisition pipelines of future collider experiments.

Summary updated

BibTeX
@inproceedings{huang2023fast,
  author = {Yi Huang and Yihui Ren and Shinjae Yoo and Jin Huang},
  title = {{Fast 2D Bicephalous Convolutional Autoencoder for Compressing 3D Time Projection Chamber Data}},
  booktitle = {Workshops @ SC},
  year = {2023},
  doi = {10.1145/3624062.3625127},
}
Figure