Papers › PSC: Posterior Sampling-Based Compression

PSC: Posterior Sampling-Based Compression

13 Jul 2024arXiv:2407.09896archive 2025-07-28

Noam Elata, Tomer Michaeli, Michael Elad

Diffusion models have transformed the landscape of image generation and now show remarkable potential for image compression. Most of the recent diffusion-based compression methods require training and are tailored for a specific bit-rate. In this work, we propose Posterior Sampling-based Compression (PSC) - a zero-shot compression method that leverages a pre-trained diffusion model as its sole neural network component, thus enabling the use of diverse, publicly available models without additional training. Our approach is inspired by transform coding methods, which encode the image in some pre-chosen transform domain. However, PSC constructs a transform that is adaptive to the image. This is done by employing a zero-shot diffusion-based posterior sampler so as to progressively construct the rows of the transform matrix. Each new chunk of rows is chosen to reduce the uncertainty about the image given the quantized measurements collected thus far. Importantly, the same adaptive scheme can be replicated at the decoder, thus avoiding the need to encode the transform itself. We demonstrate that even with basic quantization and entropy coding, PSC's performance is comparable to established training-based methods in terms of rate, distortion, and perceptual quality. This is while providing greater flexibility, allowing to choose at inference time any desired rate or distortion.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2407.09896")

Code

Syntology Ran 12 of 17 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 6 ran · our draft was wrong; 1 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

noamelata/AdaSense officialmentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 12 ran; 1 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
6ran · our draft was wrong
1ran · fixture could not drive it
4ran
5unverified

Licence: 17 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from noamelata/AdaSense. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Normalize noamelata/AdaSense/models/diffusion.py official repository ran · our draft was wrong no licence file found · pointer only · c3a6b977022957cb · report
compute_alpha noamelata/AdaSense/functions/denoising.py official repository ran · our draft was wrong no licence file found · pointer only · 9215fb189fbfb9f4 · report
fft2c_new noamelata/AdaSense/models/mri_utils.py official repository ran no licence file found · pointer only · 06075c778899d751 · report
get_norm_layer noamelata/AdaSense/models/reconstruction.py official repository ran no licence file found · pointer only · b1c43b44bc96867f · report
get_timestep_embedding noamelata/AdaSense/models/diffusion.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · cb49209c125de1b4 · report
ifft2c_new noamelata/AdaSense/models/mri_utils.py official repository ran no licence file found · pointer only · 549d38776c65e82d · report
list_dir noamelata/AdaSense/datasets/utils.py official repository ran · our draft was wrong no licence file found · pointer only · 915e1c6c38494be9 · report
list_files noamelata/AdaSense/datasets/utils.py official repository ran · our draft was wrong no licence file found · pointer only · 208e196e9582a9a6 · report
md5_hash noamelata/AdaSense/functions/ckpt_util.py official repository ran · our draft was wrong no licence file found · pointer only · 07d90bd6ae1be7db · report
nonlinearity noamelata/AdaSense/models/diffusion.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 3137073275f8c21a · report
pil_loader noamelata/AdaSense/datasets/imagenet_subset.py official repository ran · honoured contract no licence file found · pointer only · f321f54723433661 · report
roll_one_dim noamelata/AdaSense/models/mri_utils.py official repository ran fingerprinted no licence file found · pointer only · d43df5a2fa0e9d6f · report
accimage_loader noamelata/AdaSense/datasets/imagenet_subset.py official repository unverified no licence file found · pointer only · 404fb2b2daa1ae78 · report
check_integrity noamelata/AdaSense/datasets/utils.py official repository unverified no licence file found · pointer only · 7345763c9b9300fb · report
default_loader noamelata/AdaSense/datasets/imagenet_subset.py official repository unverified no licence file found · pointer only · 7bf07d5f59aae36d · report
efficient_generalized_steps noamelata/AdaSense/functions/denoising.py official repository unverified no licence file found · pointer only · 5779616346a30fc1 · report
get_ckpt_path noamelata/AdaSense/functions/ckpt_util.py official repository unverified no licence file found · pointer only · d80f2146cfc85e9a · report

Tasks

DecoderImage CompressionImage GenerationQuantization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections