Software

AI + ML

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
38 Comments

Search chatbots? Pah, this startup's trying on Yahoo's old outfit of web directories

AI is here to stay though conversations won't necessarily replace queries

Google silences Bard, restrings it as Gemini with optional $20-a-month upgrade

Say Gemini again, I dare you. I double dare you. Say Gemini one more goddamn time

Google debuts Gemini 1.5 Pro model in challenge to rivals

OpenAI meanwhile teases experimental text-to-vid system Sora

With $1B to burn on green tech, HSBC seeks Google’s help

The clock's ticking on those 2030 net zero climate goals

Google open sources file-identifying Magika AI for malware hunters and others

Cool, but it's 2024 – needs more hype, hand wringing, and flashy staged demos to be proper ML

Google debuts first Android 15 developer preview without a single mention of AI

Expect it to be stable in June, ready for release sometime after July

UK Cabinet Office hits pause on £9M Microsoft deal

Google Workspace hangout extended indefinitely

Quilter's AI design service nabs $10M to make circuit board design easier

Claims what took weeks to do by hand, machine learning can do in hours

Google throws $1M at Rust Foundation to build C++ bridges

Chocolate Factory matches Microsoft money for memory safety

Days after half a billion Asians went to the polls, Big Tech promises to counter 2024 election misinformation

Google, Meta, Microsoft, OpenAI and pals promise they'll try very hard to keep AI nasties off the 'net

Angry mob trashes and sets fire to Waymo self-driving car

San Franciscans turn on empty robotaxi without apparent motive

Google flushes cached search results forever

Chap in charge hopes the Internet Archive is willing to pipe in historical search results as a substitute