Image compressors on Kodak#
Side-by-side rate-distortion and encoding-throughput plots, sourced from the JSONs hardcoded below. RD metrics (bpp, PSNR, SSIM, DISTS) come from rate_distortion_<id>.json measured at native Kodak resolution; encode throughput (MPx/s) comes from encode_<id>.json measured on 512x512 center crops. The two are joined on the swept dimension so each operating point shares an encoder configuration but not a sample geometry.
Pick which codecs to plot by commenting / uncommenting lines in the CODECS list below.
Entropy-coding caveat for the throughput panel. The timed “encode” region of the cheng2020 and mbt2018 harnesses is a likelihood-only forward pass — no actual bitstream is produced (the rANS coder is not vendored), so their throughput is generous relative to the codecs whose timed region pays for real byte production (JPEG, AVIF, WaLLoC, LiVeAction, FRAPPE, MCUCoder). Those results are kept as-is. The first MS-ILLM / NoGAN-MS encode JSONs (results/msillm/encode_1786549370.json, results/noganms/encode_1786549820.json) were measured under the same generous convention; the harness has since been changed to include real entropy coding (a constriction range coder driven by the model’s own distributions) in a separate store stage, and later encode JSONs from compressors.msillm.evaluate_encode_complexity reflect that — check each JSON’s config.timed_region when comparing.
JPEG: 21 points, bpp [0.1731, 6.7867], throughput [212.354, 543.966] MPx/s
AVIF: 21 points, bpp [0.0681, 5.8218], throughput [1.970, 6.037] MPx/s
mbt2018: 8 points, bpp [0.1102, 1.5837], throughput [0.156, 0.174] MPx/s
cheng2020-anchor: 6 points, bpp [0.1174, 0.8041], throughput [0.046, 0.094] MPx/s
Kandinsky 2.1: 3 points, bpp [0.0625, 0.2500], throughput [0.207, 0.757] MPx/s
WaLLoC: 10 points, bpp [0.0097, 0.6171], throughput [14.188, 74.832] MPx/s
LiVeAction: 9 points, bpp [0.0341, 0.6921], throughput [1.542, 1.932] MPx/s
FRAPPE: 21 points, bpp [0.0042, 0.9418], throughput [59.575, 914.938] MPx/s
FRAPPE v2: 9 points, bpp [0.0109, 4.8747], throughput [21.299, 831.277] MPx/s
MS-ILLM: 8 points, bpp [0.0036, 0.7054], throughput [0.571, 0.708] MPx/s
NoGAN-MS: 6 points, bpp [0.0413, 0.7016], throughput [0.566, 0.717] MPx/s
E2A2 image: 5 points, bpp [0.0107, 3.0311], throughput n/a (RD only)