30 comments

  • armcat a day ago ago

    There has been extensive research into token-free LLMs, but for some reason we are still operating in a token domain, so there is something to that.

    Byte Latent Transformers (BLT): https://arxiv.org/abs/2412.09871

    Charformer: https://arxiv.org/abs/2106.12672

    • razodactyl a day ago ago

      It's because of "chunking" which human minds do as well. If you increase granularity, you increase permutations and required compute to match the same performance of existing systems.

      GPT4's tokeniser for example made use of extended tokens for coding structures and with enough training on code was quite ahead of the rest for a while.

      The tokeniser and its vocabulary makes a big difference.

      • andai a day ago ago

        Isn't iterative chunking the whole point of the transformer though? Or does it add that much overhead to do it at the byte level?

        • numeri a day ago ago

          What do you mean by iterative chunking? There are Transformer variants that hierarchically build token- or word-level representations from bytes, then reverse it to decode, but they never really took off. Didn't help much compared to a good tokenizer.

        • Ohentis 21 hours ago ago

          No. Most transformer variants work on either a flat stream, or a fixed sized internal state.

    • gchamonlive a day ago ago

      Aren't diffusion models token-free?

      • armcat a day ago ago

        No, they still operate on tokens, it's just the difference in how text is sampled. It's done through iterative denoising and in parallel, across multiple token positions.

    • cubefox a day ago ago
  • mrkn1 a day ago ago

    subword tokenizers were never causal in the first place, so BPE was peeking at future bytes all along! TIL

  • a day ago ago
    [deleted]
  • a day ago ago
    [deleted]
  • puttycat a day ago ago

    I don't understand how this is different from BPE tokenization.

  • serioussecurity 2 days ago ago

    Wow nature got rolled. Should have stayed closer to their expertise. They were already being hustled by a lot of the applied AI work they were accepting.

    • phildenhoff 2 days ago ago

      What’s bad about this paper?

      • serioussecurity 2 days ago ago

        Obvious work that is behind state of the art. Not field defining. A reasonable paper to publish at NeurIPS or ICML but very middle of the pack.

        If your paper is accepted to Nature it should be among the top results in your field for the year. This is just fine.

        Edit to clarify: Nature has not been, historically, a venue for pure machine learning papers. It's been a venue for field changing work in the physical sciences. They already have a Machine Intelligence subjournal.

        What this paper shows me is how desperate they are for ML papers, and how poorly their staff understand the field.

        • bobmarleybiceps a day ago ago

          I think nature sort of has a reputation for sensationalism / probably overhyped (or outright wrong) stuff in the sciences now anyway... would not surprise me at all that they're desperate for ml stuff :-I

          • tel a day ago ago

            A professor two decades ago, one with dozens of Nature pubs, told me that Nature was all about having a pretty picture.

        • a day ago ago
          [deleted]
  • 5 days ago ago
    [deleted]
  • BitProgram a day ago ago

    [flagged]

  • singularityisne 2 days ago ago

    [flagged]

  • JonChesterfield a day ago ago

    Weird paper. Models have had tokens for each byte for ages now. They can read and write individual bytes just fine, in addition to also having multibyte tokens.

    • Philpax a day ago ago

      The point is not to have byte tokens: it's to have only byte tokens, so that the usual failures of tokenisation (e.g. the number of Rs in strawberry) can be avoided.

      • brookst a day ago ago

        Would byte tokens really solve how many r’s? It seems like it would require a level of introspective awareness of the tokens being processed that I don’t think transformers have. But I’m not expert enough to go beyond that intuition, so could easily be wrong.

        • Ohentis 21 hours ago ago

          Models generally are capable of counting

          • brookst 20 hours ago ago

            Sure, but they could count bytes without being byte level tokens.

            Can models introspect about the tokens that were passed to them?

    • andai a day ago ago

      How can an LLM read individual bytes if all it gets is the tokenized ones? Or does it just get the ones that we didn't know how to tokenize?

      • mpyne a day ago ago

            0 -> token_THE
            1 -> token_PART_prefix
            2 -> token_FULLSTOP
            ...
            0x3100 -> token_BYTE_00
            0x3101 -> token_BYTE_01
            0x3102 -> token_BYTE_02
        
        and so on

        The tokenizer would have to know to switch over to lexing as individual bytes rather than whatever else it might have been able to tokenize into but that seems like a question of labeling more than anything else.

      • JonChesterfield a day ago ago

        It's written down in the tokenizer. 256 of the tens or hundreds of thousands of tokens correspond to each byte, done.

        • 20 hours ago ago
          [deleted]