• barsoap@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 hours ago

    So… crystal ball, I don’t have access to the paper either. Think arithmetic coders as neural nets are function approximators. You send an initial token and the NN will start to generate deterministically, once you detect a divergence from the lossless ideal you send another token to put it on track again. Make it a sliding window so things don’t become too computationally expensive. You architect the model not to be smart but to need little guidance following “external reasoning” so to speak.

    The actual disadvantage of this kind of thing will be the model size, yes you might be able to transmit a book in a kilobyte (100x or more compression) but both encoder and decoder will need access to gigabytes of neural weights, and that’s just for text. It’s also not going to be computationalliy cheap, though probably cheaper than PAQ.

    • MudMan@fedia.io
      link
      fedilink
      arrow-up
      2
      ·
      8 hours ago

      Trading processing power for size is a thing. I guess it depends on application and implementation. Well, and on the actual size of the models required.

      It’s one of those things that makes for a good headline, but then for usability it has to be part of a whole conversation about whether you want to spend the bandwidth, the processing power on compression, the processing power on real time upscaling, the processing power on different compression tools, something else or a mix of the above.

      I suppose at some point it’s all “benchmarks or it didn’t happen” for these things. And when it comes to ML benchmarks are increasingly iffy anyway.

      • Harlehatschi@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        But spending a lot of processing power to gain smaller sizes matters mostly in cases you want to store things long term. You probably wouldn’t want to keep the exact same LLM with the same weightings and stuff around in that case.

    • Snazz@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      9 hours ago

      Arithmetic coding is one of my favorite algorithms. Any token predictor can be converted into an entropy encoder!