Google frees nifty ML image-compression model... but it's for JPEG-XL

Yep. The very same JPEG-XL that's just been axed from Chromium

A new application of machine learning looks both clever and handy, as opposed to the more normal properties of being somewhere between privacy-, copyright-, or life-endangering. But before you get too excited, you can't have it.

The true cost of ML applications varies. Many are free to use, which means they endanger the paid income of someone somewhere. Speech recognition puts poor people in call centers out of work. "AI" image generators deprive creative artists of their income, and "AI" text generators threaten writers – in those few jobs which survived the web destroying print journalism, anyway.

Applying ML to image compression and decompression seems like a relatively safe use. Adding more smarts to image compression has felt like it was an inspired idea waiting for its moment ever since Michael Barnsley invented fractal image compression in 1987.

The new attention center model does something different: It uses machine learning to attempt to identify which parts of an image will attract a human's attention first, so that it can selectively decompress those regions first.

Load the important bits first

If you're old enough to remember watching GIF images gradually appear, line by line, as they downloaded over a dial-up modem, you will immediately grasp the appeal. But now it's more about mobile and wireless connections, whose speed not only varies wildly but unpredictably.

The idea is that a low-res version of the whole image appears right at the start, and by the time that your visual cortex has decided where to point your pupils, that area of the image is already getting sharpened up. Then as your attention roams around the picture, the algorithm has guessed where your eyes will go next and fills in more detail in those bits next. Once those parts are fairly sharp, then the rest is filled in, the relatively boring bits last of all.

If it worked well enough, you probably wouldn't even notice it happened. The illusion would be that a perfectly sharp version appeared right at the start. We recommend playing with this demonstration, so long as you have a Chrome-based browser and you enable its experimental JPEG-XL image renderer: go to chrome://flags, search for jxl and enable it.

The algorithm is described in a post titled "Open sourcing the attention center model" on Google's open source blog… and there lies the irony, and that is the reason that the preceding paragraph used the conditional mode. Because this feature uses the new JPEG-XL image format – the one that Google said it would remove from future versions of Chrome back in October.

It would be unjustifiably and indefensibly cynical of us to suggest that because the format is to be removed from Chrome 110, that is why Google is willing to open source the tech, so we won't. ®

Send us news

Privacy Sandbox, Google's answer to third-party cookies, promised within months

Winter in July for some of those in the web ad world

Google wants to target you – yes, YOU – with AI-generated ads

Next step, AI-generated advertisers with AI-generated products for AI-generated people

Search the web at least once every two years or risk losing your Google account

Updated inactivity policy may nix accounts, and data. Even Workspaces data and your precious pics

Google settles location tracking lawsuit for only $39.9M

Also, more OEM Android malware, Google's bug reports (mostly) ditch CVEs, and this week's critical vulns

What you need to know from today's Google IO: PaLM 2, Pixel Fold, AI everywhere

We sat through the Chocolate Factory's PR blitz so you don't have to

The FBI as advanced persistent threat – and what to do about it

Just because you're paranoid doesn't mean they aren't after you

Google sued over 'interception' of abortion data on Planned Parenthood website

Plaintiff claims they didn't consent to analytics tracking

Google Go language goes with opt-in telemetry

Go go gadget data collection

Google Photos AI still can't label gorillas after racist errors

Plus: Anthropic raises $450m in Series C round, and Waymo cozies up to Uber to expand self-driving robotaxi fleet

SCOTUS rules Google and Twitter didn't contribute to terrorist attacks

And holds off on Section 230 for another time

SambaNova injects a little AI mojo into US supercomputer lab's nuke sims

LLNL harnesses DataScale platform with aim to improve predictive models

AMD scours parts bin for old CPUs, GPUs to put in Chromebooks

Do you really need the latest and greatest cores to doomscroll the web?