Unofficial Hacker News client - receive Push Notifications on replies.

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

68 points by aklein 2 hours ago | twitter.com | 76 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (5)

  1. FWIW, a Macbook Pro M4 Pro can SHA3 hash at least 10 billion paper titles in an hour, if you are running optimized code on all cores.

    This is assuming you randomly generated titles from a dictionary in process in Rust or C++.

    Using an LLM would be orders of magnitude slower, but of course it would also search the space orders of magnitude more efficiently. Curious to know what was actually used here.

    Replies (1)
    1. You could get an LLM to write a script that generates plausible titles from a formal grammar perhaps.
      Replies (2)
      1. Or maybe they used next-token prediction with top-k on some kind of sliding window.

        Much smaller search space than a grammar. If you predict the adjective "quasi-", conditioned on that, a good language model guesses "polynomial", because it has "complexity theory" in its context. There's hundreds of compounds that begin with "quasi-", but most[0] are very distant in topic matter. (And if you were brute forcing [adjective]-[noun] according to a grammar, you'd get a combinatorial explosion of noise, even if the noun list were very short).

        [0] https://en.wiktionary.org/wiki/quasi-#Derived_terms

        Replies (1)
        1. You can do waaay better. Quasi-polynomial is a really obvious token in this context. So is power-of-two, “quantum algorithm” (a good model would handle plurals specially), and even “small rank”. Some basic bigrams would get integral lattice, module lattice, and quasi-polynomial quantum algorithm.
      2. This is almost certainly what happened. Or at least, some variation of this idea.