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

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 …

  1. Disgusted Of Tunbridge Wells Silver badge

    Bloody hell, I know El Reg has shifted to the left, but the idea that jobs should be preserved at the expense of productivity is insane. What is this, 1811?

    1. codejunky Silver badge

      @Disgusted Of Tunbridge Wells

      "Bloody hell, I know El Reg has shifted to the left, but the idea that jobs should be preserved at the expense of productivity is insane. What is this, 1811?"

      I think they lost a lot when they lost Tim Worstall.

      1. Anonymous Coward
        Anonymous Coward

        Re: @Disgusted Of Tunbridge Wells

        Ahh, Tim Worstal and his "Fuck You" economics. Another MIA I don't miss at all.

        1. Disgusted Of Tunbridge Wells Silver badge

          Re: @Disgusted Of Tunbridge Wells

          You know that the opposite of "fuck you" economics is "fuck everybody in the future at the expense of living it large today" economics, right?

          1. Richard 12 Silver badge

            Re: @Disgusted Of Tunbridge Wells

            Those aren't opposites, they're extremes on orthogonal axes.

            1. Disgusted Of Tunbridge Wells Silver badge

              Re: @Disgusted Of Tunbridge Wells

              You have two choices: "Fuck the future so we can have it large" and "do the right thing".

              Then there are varying degrees between. The question is how much do you want to do the right thing and how much do you want to screw over your future self and your children?

              If your politics favours spending your hypothetical children's hypothetical college fund on a trip to Vegas, then have a great trip.

        2. captain veg Silver badge

          Re: @Disgusted Of Tunbridge Wells

          I disagree with almost every opinion ever expressed online by Worsthall, but on matters of fact his explanations in these pages were almost always worth reading.

          -A.

      2. Anonymous Coward
        Anonymous Coward

        Re: @Disgusted Of Tunbridge Wells

        "I think they lost a lot when they lost Tim Worstall."

        With all the posting of his opinion pieces you seem to do, it's like he is still here ... (Not in a good way, obvs.)

      3. Al fazed
        Unhappy

        Re: @Disgusted Of Tunbridge Wells

        El Reg lost a hell of a lot more when they opened up the editorial to the none UK litteratii.

        No slurs intended peeps, English is English, as fucked up as the language is, it is unique for opportuning such delights as "humour" out of these ambiguities, ie; irony for a start.

        What we in UK have enjoyed from this greater diversity of tech input has unfortunately, watered down our previous sense of enjoyment, having been created by such a warped sense of humour which often lays bare the marketing wallabies best efforts to confuse and bamboozle us. Dabbsie etc.

        As I haven't been there it is probably incorrect for me to have an opinion on our friendly US and Oztrralian scribes, but from reading the lines here in el Reg, (as there are now less lines in between to read) it appears that OZtralian and US scribes cannot tell the difference between talk and mutter........ Having attempted to read the "news" on BBC Home recently, I assume they have taken a similar globalizing route to publishing news about the news, but not the "actual news" you thought you were gonna get......

        Alas, our loss is also to our benefit..........?

        ALF

    2. Robert Grant

      I'm the other way - why on earth didn't they mention the horrific loss of ice-moving jobs when the freezer was invented?

      1. PRR Silver badge

        horrific loss of ice-moving jobs

        > the horrific loss of ice-moving jobs when the freezer was invented?

        Supplying ice to the eastern US was a BIG industry in Maine for a few decades. Towns on ice-ponds prospered. Major ice-houses were built by the railroads and harbors. Men and boys sawed ice (engine saws were a very late development).

        "At its heyday in 1870-1890, some 25,000 men converged on the Kennebec ice fields each winter to cut and store ice. ...In these decades Maine’s ice returned a wealth greater than that of California’s annual gold production." cite

        Thompson Ice House

        Gizmodo essay

      2. that one in the corner Silver badge

        What about the flint knappers?

        Now everyone is using fancy metal knives their industry has been wiped away, leaving only a tiny number of artisanal knappers today.

    3. captain veg Silver badge

      shifted to the left

      I can only imagine that you mean it has shifted its focus to the left side of the Atlantic. Which is, on aggregate, politically more to the right.

      -A.

    4. VeryRealHuman
      Big Brother

      wow.. this is literally 1894

  2. b0llchit Silver badge
    Unhappy

    Progressive loads prevented by front-end designers and coders

    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.

    Can you please tell this to the web designers and coders who insist on requiring javascript to see the images? Many sites simply don't display any image without scripts and a lot do a very poor job at reimplementation of async loading which results in forced download of the whole image before putting it into the DOM for rendering.

    So, in theory it is nice to have progressive images was it not for (very poor) designers and (bad) front-end coders to fuck things up.

    /rant

    1. Neil Barnes Silver badge

      Re: Progressive loads prevented by front-end designers and coders

      Ah but at least those same designers already give us grey blobs where text and images might, at some future time, appear...

      1. tiggity Silver badge

        Re: Progressive loads prevented by front-end designers and coders

        There's lots of alternatives to grey blobs already

        e.g. https://blog.wolt.com/hq/2019/07/01/how-we-came-to-create-a-new-image-placeholder-algorithm-blurhash/

      2. captain veg Silver badge

        Re: Progressive loads prevented by front-end designers and coders

        Ah, is that what it's supposed to be? Thanks for the info.

        Right now I'm on a 300Mbps connection. It's OK.

        At other parts of the year I have to make do with 10Mbps. Strangely enough that's OK too. I have a strong suspicion that web page rendering speed is, in 2022, much more dependent on how fast your browser can process JavaScript code than on how fast it can get bytes off the internet.

        I'd like to get in right now by stating that this is not the fault of JavaScript. Slow crap code does not require any particular language.

        -A.

        1. b0llchit Silver badge
          Trollface

          Re: Progressive loads prevented by front-end designers and coders

          Slow crap code does not require any particular language.

          No indeed, but it helps if it is called javascript and even more help when using a (big) framework. "Help" to slow it down, that is.

          1. Neil Barnes Silver badge

            Re: Progressive loads prevented by front-end designers and coders

            It's been observed before but the quick and easy way to both speed rendering of a page and delivery thereof is to kill all the adverts and most of the scripts... though two of the 'grey blob placeholder' culprits are Youtube and Paypal.

            I'm sure that when the internet was tiny that jpegs were delivered in progressive mode.

    2. Mostly Irrelevant

      Re: Progressive loads prevented by front-end designers and coders

      It's extremely easy to progressively load in scripts, webpack supports it natively. I don't understand why everyone isn't doing it.

      Additionally, there are a lot of reasons many sites are going JS only. Two big ones are that it reduces the total data transfer (if done right), with the scripts coming off a cheap and fast CDN instead of an app server. And the second being that you can do things to support complex UI interactions that would be difficult or inefficient with server side rendering.

      P.S. I also hate the "grey blobs", which the UI people call skeletons, they take longer to load than the real content most of the time

    3. Al fazed
      Facepalm

      Re: Progressive loads prevented by front-end designers and coders

      In our race to automate (improve ?) everything - we the able bodied often forget to include the likes of folks who are less well endowed with stuff like, vision - for a start.

      In my own ADHD world, it appears that it has been decided by none ADHD people that ADHD people do not focus on the same bits of an image, or sound, or vocabulary that the other, none ADHD people do. Er, aren't these the people who are designing interrfaces for us ADHDers to use.............

      When there are so many problems that need solving I am constantly amazed at the number of problems that are being invented currently which disbaled and able bodied people are supposed to solve before they can get any fucking work done.....

      Is this more AI ? Artificial Idiocy at work - as usual I say, yawn. The human brain !

      ALF

  3. DJO Silver badge

    Shouldn't be too tricky.

    ...your visual cortex has decided where to point your pupils...

    So it'll work on flesh tones first. Can't imagine that requires much smarts in the ML/AI department.

    1. Snake Silver badge

      Re: Shouldn't be too tricky.

      But JPEG already supports bandwidth-limited loading, the Progessive save pattern. 3 or 4 passes to decompress, allowing early low-res loading, progressing to high resolution through time.

      So why are we so worried about recreating the wheel? Just allow & use progressive JPEG and be done with it.

      1. Jou (Mxyzptlk) Silver badge

        Re: Shouldn't be too tricky.

        Because, if you read the whole article and compare it to JPEG progressive, you would know that JPEG-XL progressive works differently instead of a simple low-res blurry version of the full image.

        1. captain veg Silver badge

          Re: Shouldn't be too tricky.

          This is a hammer in search of a nail.

          If you must show an image on screen them make it small.

          If your users need a big image then they will wait for it to arrive.

          Prioritising certain bits of the image looks like a spectacularly inappropriate use of AI.

          -A.

          1. that one in the corner Silver badge

            Re: Shouldn't be too tricky.

            > looks like a spectacularly inappropriate use of AI.

            That seems like a bit of an over reaction. Google haven't enslaved a General Systems Vehicle's Mind, forcing it to look at FaceBook image posts all day.

            They are just running a lump of code to do a job: a trained tensorflow-lite model which decides which bit of the image to put out in full detail next. Really, it is doing little more than the existing progressive scan does, except instead of having a "top to bottom (skipping k rows), left to right (skipping j columns), repeat with offsets until the whole image is done" co-ordinate generator it has a "pick an interesting bit, pick another until the hole image is done" generator.

            So, do you object to using that many CPU cycles "just to compress an image"? Many cycles are used just to generate stuff that someone hopes is pleasing to the eye.

            Or do you find the idea of training a ML model to this task inappropriate? It probably kept someone gainfully employed for awhile and one can think of other uses for this or a similar model - how about setting camera focus? Always worth at least trying an idea...

            Satisfy my curiosity - what is so 'inappropriate" here?

            1. captain veg Silver badge

              Re: Shouldn't be too tricky.

              Opportunity cost.

              -A.

            2. Al fazed
              Facepalm

              Re: Shouldn't be too tricky.

              "setting camera focus"

              Seems like AI is still having an issue with this............

              ALF

          2. NATTtrash

            Re: Shouldn't be too tricky.

            What about first stripping of the metadata crap that seems to grow wild on pics these days?

            I'm always amazed if I get a pic that came out of e.g. PS or a phone being several MB, then stripping of the metadata which reduces its size to the kB ranges.

            And then also ask yourself which and/ or which user NEEDS that metadata...

            1. that one in the corner Silver badge

              Re: Shouldn't be too tricky.

              > And then also ask yourself which and/ or which user NEEDS that metadata...

              That much metadata is intended not for the Users.

              Now, be a good boy and just put the picture from your 'phone straight, they'll know what to do with it.

              Remember, render unto Meta that which is meta.

              1. that one in the corner Silver badge

                Re: Shouldn't be too tricky.

                Sigh.

                Now, be a good boy and just put the picture from your 'phone straight **onto Facebook**, they'll know what to do with it.

                No good *thinking* the words, must remember to also *type* all of the words!

        2. Al fazed
          Mushroom

          Re: Shouldn't be too tricky.

          we get fuck all

          ALF

  4. IanRS

    Learning the wrong topic

    It might work out where your eyes focus first, but it cannot tell a slug from a snail.

    1. that one in the corner Silver badge

      Re: Learning the wrong topic

      The danger of an incorrectly labelled training data set: snails and slugs look very similar after you've plucked them from the roses and mashed them in the gutter, what is known as the "ground truth".

  5. TeeCee Gold badge
    Coat

    Easy.

    ...identify which parts of an image will attract a human's attention first,...

    Who needs ML for that with internet images? Do the little red bits first, then the pink bits. Fill in the rest whenever, it's not like anyone will look at those anyway.

  6. 89724102172714182892114I7551670349743096734346773478647892349863592355648544996312855148587659264921

    Barnsley's fractal image compression was very impressive in Microsoft's Encarta, and then it, along with Irritating Systems seemed to disappear - I recall using:

    https://en.wikipedia.org/wiki/Genuine_Fractals

    ...it was very useful actually. I wish there was a plugin for video which does the same.

  7. 89724102172714182892114I7551670349743096734346773478647892349863592355648544996312855148587659264921

    Fractals are being used to train AI to see:

    https://www.technologyreview.com/2021/02/04/1017486/fractals-ai-learn-see-more-ethically-bias-imagenet-training/

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like