Unofficial Hacker News client - receive Push Notifications on replies.

Cryptanalytic result from Anthropic: paper title leaked (opens external site)

552 points by aklein 21 hours ago | twitter.com | 757 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (3)

  1. "Enumerate the 10 trillion most likely strings in this context" is probably an elementary problem if you have a good language model.

    Because you already have a very high-quality primitive for "enumerate the top-k most likely words following the given string prefix". You can chain those together in some way, I think.

    Enumeration is just a special case of generation.

    Replies (1)
    1. But you need an _extremely fast_ LLM for this generation to be fast enough. It's got to be tailor-made for the task...
      Replies (1)
      1. Yeah, you need some further compression trick.

        In principle you chain top-k primitives together to create a search tree, whose paths are highly plausible strings. That's a very, very large tree though.

        Maybe one trick is akin to dynamic programming, i.e. since the tree has lots of local repetition, you convert it into a DAG. Something like, you only look at a sliding window of N tokens, and memoize the prediction for the N+1-th token given that smaller domain of lookbehind-N. The LLM generates that compressed search DAG, and the brute-force phase "inflates" it by enumerating all the paths it encodes.

        Or, more generally, any other trick that has the LLM generating sub-phrases of shorter length, and a faster algorithm enumerating how they can be combined together.