Unofficial Hacker News client - receive Push Notifications on replies.

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

543 points by aklein 16 hours ago | twitter.com | 743 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (12)

  1. That's an amusing failure of applied cryptography for someone whose professional title is "applied cryptography".

    (I guess an LLM generated a dictionary of candidate word sequences, and it was small enough to brute-force?)

    Replies (3)
    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.
    2. LLMs push close to 1 bit per word with the slightest context on the topic at hand. The title is probably 20-30bits worth of entropy as-is.
      Replies (1)
      1. 20-30 bits is just 1 million to 1 billion possible titles. I think there are WAY more than 1 billion possible paper titles for "major cryptanalytic result". Even if you knew the exact theorem in the paper, I'd guess there's about 20-30 bits of entropy just for different phrasings, orderings, and formatting of the title. There's probably another 20-30 bits for what the paper is about.

        LLMs push close to 1 bit per word on English prose with lots of context, not for high-surprisal stuff like academic paper titles.

        I think it's very implausible that this was cracked. Instead, the unsalted hash proved to be a leak oracle to someone who got the title from some back channel.

        Replies (1)
        1. Well, with a single RTX 5090 apparently you can do SHA256 at 28459.7 MH/s ≈ 2^34 per second: https://www.onlinehashcrack.com/tools-benchmark-hashcat-nvid...
    3. I would consider the possibility that this was not an honest but a calculated mistake.

      Technically not breaking NDA while allowing the world to know that the whole thing isn't what anthropic would like it to believe it is.

      Replies (1)
      1. That'd be a very risky path to follow.

        If it came to it, a court wouldn't have much trouble in seeing through that sort of ruse.

        So this would essentially be a bet on it not being in anyone's interest to let it get as far as court - but the potential downside if it did would be huge.

        Replies (1)
        1. /tinfoilhat If there was a serious discovery that needed more time to be mitigated and rumors got out, this would be the perfect way to get people to stop panicking