FMT: Lossless Image Compression in a Fixed Number of Parallel Steps
Abstract
Learned lossless codecs make smaller files than common classical codecs, yet the images we archive and train on still use classical codecs. A main reason is time: a learned codec takes seconds to decode a photo that a classical codec opens in milliseconds, and their faster variants give up most of their gain in size. We argue that much of this time is spent waiting, not computing: the network waits for the values it conditions on, and the arithmetic decoder reads them one at a time. We introduce FMT (Fixed-step Multiscale Tree), a lossless image format whose decoding order and entropy coder are designed together so that neither wait grows with the image. FMT stores an image as a coarse-to-fine tree whose steps hold independent values: a GPU predicts each step at once and decodes it in parallel rANS lanes that carry their states from step to step, so an image of any size decodes in a fixed number of sequential steps. On this tree we build a family of bit-exact codecs, from a rule with no network to large networks, and no codec we ran on the same GPU beats any of them on both size and speed. Without a network, FMT beats NVIDIA's HTJ2K on size and speed; with a large one, it decodes Kodak photos 9 to 61X faster than learned codecs we ran on the same A100, at the same size or smaller.
Create a lesson
Related papers
NavDecision: Parallel Multi-Step Action Prediction with Persistent Self-Referential Learning for Vision-and-Language Navigation
Shared title terminologycs.CVKai Wu, Yufan Hu, Quan Fang et al.
UniDR: Learning To Generate Anatomical Deformations From Images via Unified Diffusion Modeling and Registration
Shared title terminologycs.CVSwakshar Deb, Tonmoy Hossain, Tom Fletcher et al.
Ref2Light: From One Image to Interactive Glasses-Free 3D Characters
Shared title terminologycs.CVHanzhong Zhang, Haoyang Wang, Siyang Song
Align the Pair, Not the Sample: Representation Alignment for Faster and Better One-Step Generato
Shared title terminologycs.CVMingxiao Li, Xuantuo Huang, Encheng Su et al.
STAGE: Structured Test-Time Adaptation with Global Entropic Soft-coupling for Cross-Subject Brain-to-Image Retrieval
Shared title terminologycs.CVYihang Zou, Ruixi Liang, Chunmei Qing et al.
Neutron Imaging Enhancement for Lithium Batteries Based on Swin-Transformer and Image Fusion
Shared title terminologycs.CVHansheng Ding, Fanxu Meng, Tian Zhang