[Paper Review] Memristive tabular variational autoencoder for compression of analog data in high energy physics
The paper demonstrates an edge AI pipeline that compresses 48 analog calorimeter signals into a 4-d latent space using a VAE distilled to decision trees and deployed on memristor-based ACAM, achieving 12x compression with 24 ns latency, 330 million compressions/s throughput, and 4.1 nJ per compression.
We present an implementation of edge AI to compress data on an in-memory analog content-addressable memory (ACAM) device. A variational autoencoder is trained on a simulated sample of energy measurements from incident high-energy electrons on a generic three-layer scintillator-based calorimeter. The encoding part is distilled into tabular format by regressing the latent space variables using decision trees, which is then programmed on a memristor-based ACAM. In real-time, the ACAM compresses 48 continuously valued incoming energies measured by the calorimeter sensors into the latent space, achieving a compression factor of 12x, which is transmitted off-detector for decompression. The performance result of the ACAM, obtained using the Structural Simulation Toolkit, the SST open source framework, gives a latency value of 24 ns and a throughput of 330M compressions per second, i.e., 3 ns between successive inputs, and an average energy consumption of 4.1 nJ per compression.
Motivation & Objective
- Motivate and enable real-time, front-end compression of high-rate calorimeter data to reduce storage and bandwidth while preserving key physics observables.
- Develop an end-to-end pipeline that combines a neural encoder with a tree-based surrogate deployed on analog memory to enable in-memory compression.
- Quantify physics fidelity after compression and compare hardware performance against a fully digital FPGA baseline.
- Assess latency, throughput, and energy efficiency of the ACAM-based implementation across bit-precision regimes.
- Demonstrate that distillation to tabular representations does not significantly degrade physics observables.
Proposed method
- Train a variational autoencoder (VAE) on simulated ECAL shower data to learn a 4-dimensional latent representation from 48 input energy deposits.
- Distill the VAE encoder using boosted decision trees (BDT) to regress latent variables from the same inputs.
- Tabularize the regressed latent variables into root-to-leaf decision paths and map them to an analog content-addressable memory (ACAM) in a memristor crossbar with an SRAM periphery.
- Deploy the tabular encoder on ACAM for in-memory, row-parallel, analog range-compare inference, obtaining the compressed latent outputs for streaming data.
- Evaluate physics observables (E_tot, E_l, f_l, shower depth, and lateral widths) before and after compression to ensure preservation of shower characteristics.
- Compare ACAM performance against a digital FPGA implementation in terms of latency, throughput, and energy per compression.
Experimental results
Research questions
- RQ1Can a VAE-encoded 4D latent representation faithfully compress ECAL shower data without significant loss of physics information?
- RQ2Does distilling the VAE encoder into a tabular, ACAM-deployable form preserve performance and fidelity compared with the original neural encoder?
- RQ3What are the latency, throughput, and energy implications of an ACAM-based, in-memory tabular encoder across different bit-precisions?
- RQ4How does the ACAM-based approach compare with a digital FPGA baseline for front-end data compression in high energy physics?
- RQ5Is the end-to-end pipeline robust for real-time streaming data at high channel counts and collision rates?
Key findings
- The VAE learns a 4D latent space from 48 inputs, giving an effective 12x compression while preserving shower structure.
- BDT distillation yields latent reconstructions that are statistically indistinguishable from those produced by the neural encoder for key observables.
- ACAM implementation achieves 24 ns core latency, and up to 330 million compressions per second in a pipelined design, with energy ~4.1 nJ per compression at optimal settings.
- The FPGA baseline shows higher latency and varying energy per compression with bit width, while ACAM shows substantially lower energy at low precision.
- Physics observables such as E_tot, layer energies, fractions, shower depth, and lateral widths are well reproduced after compression, with small tails and few-percent KS differences.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.