Skip to content

Seq2Seq2Seq: lossless data compression via discrete latent transformers and reinforcement learning

Sep 2026 · Engineering Research Express
Algorithms and Data Compression

Abstract

Abstract Efficient lossless compression is essential for reducing storage and transmission requirements while preserving data exactly. Traditional dictionary-based and statistical compressors can be limited in their ability to exploit complex, long-range dependencies. In this paper, we propose a lossless compression framework that combines a T5-small architecture with Advantage Actor-Critic reinforcement learning to generate a variable-length sequence of discrete compressed tokens. Rather than relying on a continuous autoencoder bottleneck, the proposed framework directly optimizes the length of this discrete representation while preserving the information required for exact reconstruction. The method operates without external grammatical rules or world knowledge. On the enwik8 benchmark, it achieves a compression ratio of 4.14, improving upon XZ (4.05) by approximately 2.3% and GZIP (2.74) by 51.0%. Although this result remains below NNCP v3.2 (6.70), it demonstrates that reinforcement learning can learn a compact, lossless discrete representation using two T5-small networks evaluated on a single 12 GB GPU device.

View source

Similar papers

#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#machine learning Review Open access Jun 2014

Why Early-Stage Software Startups Fail: A Behavioral Framework

This state-of-practice investigation was performed using a literature review followed by a multiple-case study approach and presents how inconsistency between managerial strategies and execution can lead to failure by means of a behavioral framework.

Carmine Giardino, Xiaofeng Wang, P. Abrahamsson · 175 citations · ⚡19
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#machine learning Review Open access May 2016

Key Challenges in Software Startups Across Life Cycle Stages

It is found that what perceived as biggest challenges by software startups do vary across different life cycle stages, even though its significance decreases when the learning focuses of the startups move from problem to solution and their products mature.

Xiaofeng Wang, Henry Edison, Sohaib Shahid Bajwa et al. · 62 citations · ⚡6

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.