DNA-QLC: an efficient and reliable image encoding scheme for DNA storage

Yanfen Zheng, Ben Cao, Xiaokang Zhang, Shuang Cui, Bin Wang, Qiang ZhangBMC 2024

Abstract

The DNA-QLC encoding scheme integrates Quantized ResNet Variational Autoencoders (QRes-VAE) with Levenshtein Codes to enhance the efficiency and reliability of DNA-based image storage. By combining deep-learning-based compression with indel-resistant algebraic codes, DNA-QLC achieves a record-breaking net information density of 2.90 bits/nt. Experimental results indicate that the DNA-QLC encoding scheme guarantees the efficiency and reliability of the DNA storage system and improves the application potential of DNA storage for multimedia information such as images.

Introduction

As global data production continues to outpace the capacity of traditional silicon-based storage media, DNA has emerged as a promising candidate for long-term "cold" storage. DNA offers unparalleled data density and stability over millennia. However, two primary challenges hinder its widespread adoption: low coding density and high sensitivity to errors. Standard mapping techniques often fail to reach the theoretical capacity of DNA, and the synthesis and sequencing processes are prone to insertions, deletions (indels), and substitutions. While traditional error-correction codes like Reed-Solomon handle substitutions well, they often fail when faced with indels that cause frame-shift errors.

Methodology

The DNA-QLC architecture addresses these challenges through a three-stage pipeline optimized for image data.

Image Compression via QRes-VAE

Instead of relying on standard codecs like JPEG, DNA-QLC utilizes a Quantized ResNet Variational Autoencoder (QRes-VAE). This neural network compresses images into a compact latent representation, which is then quantized into binary bitstreams. This "lossy but smart" approach exploits spatial redundancy to break traditional density limits.

Error Correction with Levenshtein Codes

To handle the edit distance errors inherent in DNA workflows, the system implements Levenshtein Codes (LC). By adding specific check bits to the binary stream, LC allows the decoder to re-synchronize the reading frame even in the presence of insertions or deletions.

Biological Constraint Mapping

The resulting bitstreams are converted into DNA bases (A, T, C, G) using a novel 3-bit to 2-base mapping rule. This rule is mathematically designed to ensure a stable GC content of 50%, eliminate homopolymers longer than 2, and avoid problematic motifs that interfere with biochemical processes.

Figure 4: DNA-QLC eliminates undesired motifs compared to traditional encoding methods.

Results and Discussion

The performance of DNA-QLC was evaluated using the ILSVRC2012 (ImageNet) dataset and standardized benchmarks like the Mona Lisa.

Information Density and Cost

DNA-QLC achieved a net information density of 2.90 bits/nt, which is 2.4 times higher than the widely used DNA Fountain method. This increased density directly translates to cost savings; for a 95.2 KB image, DNA-QLC was 33.3% cheaper to synthesize than DNA Fountain and 11.6% cheaper than the Yin-Yang codec.

Robustness and Reconstruction Quality

The system demonstrated remarkable resilience to noise. At a simulated error rate of 2%, DNA-QLC maintained a Structural Similarity Index (SSIM) of 0.917. In contrast, competing methods like "Grass" and "Yin-Yang" saw their SSIM drop below 0.4, rendering images unrecognizable.

Figure 6: Example of a high-quality reconstructed image from the ILSVRC2012 dataset used in testing.

Conclusion

DNA-QLC represents a significant step forward in making DNA storage a viable medium for multimedia data. By decoupling redundancy from performance and leveraging deep learning for compression, it achieves high density without sacrificing reliability. Future work will focus on developing deep-learning-based self-error-correction models and refining error models to account for specific biochemical biases.

Summary updated

BibTeX
@inproceedings{zheng2024dna,
  author = {Yanfen Zheng and Ben Cao and Xiaokang Zhang and Shuang Cui and Bin Wang and Qiang Zhang},
  title = {{DNA-QLC: an efficient and reliable image encoding scheme for DNA storage}},
  booktitle = {BMC},
  year = {2024},
  doi = {10.1186/s12864-024-10178-5},
}
Figure