logoalt Hacker News

suddenlybananas • yesterday at 4:36 PM • 2 replies • view on HN

You could get an LLM to write a script that generates plausible titles from a formal grammar perhaps.


Replies

peri-cl • yesterday at 4:46 PM

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

➕ show 1 reply
Taek • yesterday at 4:46 PM

This is almost certainly what happened. Or at least, some variation of this idea.