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

Who’s watching you the closest online? Google, duh

Four Chocolate Factory trackers cracked the Top 25 in all regions

Google dodges €1.5B EU ads antitrust fine after appeal win

Qualcomm, on the other hand, wasn’t so lucky

Google Cloud Document AI flaw (still) allows data theft despite bounty payout

Chocolate Factory downgrades risk, citing the need for attacker access

Necro malware continues to haunt side-loaders of dodgy Android mods

11M devices exposed to trojan, Kaspersky says

Google's Rust belts bugs out of Android, helps kill off unsafe code substantially

Memory safety flaws used to represent 76% of 'droid security holes. Now they account for 24%

Hyperscalers are carving up the ocean floor into private internet highways

Think tank warns of sovereignty risks from subsea cable consolidation

Google sued for using trademarked Gemini name for AI service

Even the chatbot allegedly admits to infringement claim

Google insists the ad tech business ain't broke, urges Washington not to fix it

As its other monopoly trial - the one brought by the DoJ and eight states - begins in Virginia

Google bets on carbon capture tech to clean up its mess – in the 2030s

Mountain View backs startup Holocene, hoping to slash emissions costs

Top EU court crushes Google appeal against $2.65B Shopping antitrust ruling

After years of legal wrangling, judges say Chocolate Factory played dirty

Google Chrome gets a mind of its own for some security fixes

Browser becomes more proactive about trimming unneeded permissions and deceptive notifications

Competition watchdog accuses Google of abusing ad dominance

Provisional findings echo worries in the US and EC about the search giant's dominance