SigComp:整数量化多层感知机实现纳米孔信号无损压缩
Integer quantized multilayer perceptron neural network for lossless compression of nanopore signal
SigComp 是一个面向纳米孔原始信号的无损压缩工具,用固定上下文窗口的紧凑多层感知机网络捕捉单字节信号差值中的高阶依赖。它结合训练后量化与全 GPU 原生区间编码器,消除自回归编码循环中的 GPU–CPU 同步开销,并在不同执行设置下保持严格位级一致。在 DNA R10.4.1 与 RNA004 等多种物种和测序化学体系上,SigComp 相比 VBZ 和 ex-zd 分别把压缩文件缩小 6.00%–7.09% 和 3.86%–5.34%,但处理吞吐低 10 倍;与领先的神经压缩器相比压缩率仅差 0.4%–1.9%,吞吐高 46–74 倍。
来源:Bioinformatics · doi.org
Motivation
Nanopore sequencing is indispensable for advanced genomic analyses, but the raw signal output creates substantial storage and bandwidth demands. Specialized model-free compressors such as VBZ and ex-zd have been proposed to address this challenge. They deliver high throughput and strong compression performance, yet they cannot fully exploit higher-order statistical dependencies, which limits further gains. Learning-based compressors can achieve better compression ratios, but they often introduce floating-point non-determinism and are too slow for large-scale nanopore datasets, reducing their practicality.
Results
We introduce SigComp, a learned lossless compressor for nanopore signal data. SigComp employs a compact multilayer perceptron network with a fixed context window to capture higher-order dependencies within the dominant one-byte signal deltas. By integrating post-training quantization and a fully GPU-native range coder, SigComp eliminates GPU–CPU synchronization overhead in the autoregressive coding loop while ensuring strict bit-exactness across diverse execution settings. Evaluations on diverse species and sequencing chemistries (DNA R10.4.1 and RNA004) demonstrate that SigComp consistently reduces compressed file sizes by 6.00%–7.09% and 3.86%–5.34% over VBZ and ex-zd, respectively, albeit with a 10× lower processing throughput. Compared to the leading neural compressor, SigComp achieves a comparable compression ratio, sacrificing merely 0.4%–1.9%, while delivering 46–74× higher throughput. Ablation studies confirm that SigComp’s integer-only, GPU-native approach improves throughput by 7.75–8.30× overall over hybrid GPU–CPU pipelines without model quantization, and the default 64-symbol context window effectively captures the vast majority of exploitable redundancy. SigComp can also be extended to lossy compression by eliminating the least significant bits, and achieve compression ratios of 4.047–4.868, outperforming lossy ex-zd by 9.18%–14.38%. Although processing remains slower than specialized codecs, SigComp offers an excellent trade-off for long-term cold archival storage, particularly when scaled via multi-GPU environments.
Availability and implementation
SigComp is freely available on GitHub at: https://github.com/BioinfoSZU/SigComp. It supports CPU-only, NVIDIA, and AMD GPU execution backends with seamless cross-platform archive interoperability, as well as multi-GPU scaling.
Supplementary information
Supplementary data are available at Bioinformatics online.