Micro-Diffusion Compression - Binary Tree Tweedie Denoising for Online Probability Estimation

Roberto Tacconelli
3/9/2026
stat.MLcs.ITcs.LG
diffusion-flow

No official code found. Best implementation: robtacconelli/midicoth (8 stars, C, Apache-2.0, last commit 2026-03-16).

Abstract

We present Midicoth, a lossless compression system that introduces a micro-diffusion denoising layer for improving probability estimates produced by adaptive statistical models. In compressors such as Prediction by Partial Matching (PPM), probability estimates are smoothed by a prior to handle sparse observations.

Show full abstract

When contexts have been seen only a few times, this prior dominates the prediction and produces distributions that are significantly flatter than the true source distribution, leading to compression inefficiency. Midicoth addresses this limitation by treating prior smoothing as a shrinkage process and applying a reverse denoising step that corrects predicted probabilities using empirical calibration statistics. To make this correction data-efficient, the method decomposes each byte prediction into a hierarchy of binary decisions along a bitwise tree. This converts a single 256-way calibration problem into a sequence of binary calibration tasks, enabling reliable estimation of correction terms from relatively small numbers of observations. The denoising process is applied in multiple successive steps, allowing each stage to refine residual prediction errors left by the previous one. The micro-diffusion layer operates as a lightweight post-blend calibration stage applied after all model predictions have been combined, allowing it to correct systematic biases in the final probability distribution. Midicoth combines five fully online components: an adaptive PPM model, a long-range match model, a trie-based word model, a high-order context model, and the micro-diffusion denoiser applied as the final stage.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Midicoth - Micro-Diffusion Compression - Binary Tree Tweedie Denoising for Online Probability Estimation

81C, MakefileMar 8, 20268 months agoApache-2.0
aicompressiondenoisingdiffusionlossless+2 more

Similar Papers

Cite this paper

@article{tacconelli2026microdiffusion,
  title  = {Micro-Diffusion Compression - Binary Tree Tweedie Denoising for Online Probability Estimation},
  author = {Roberto Tacconelli},
  year   = {2026},
  eprint = {2603.08771},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.08771v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.08771.svg)](https://codeofpaper.com/paper/2603.08771)

Discussion