LLMs Are Randomized Algorithms
towardsdatascience.com·13h
Flag this post

, I was a graduate student at Stanford University. It was the first lecture of a course titled ‘Randomized Algorithms’, and I was sitting in a middle row. “A Randomized Algorithm is an algorithm that takes random decisions,” the professor said. “Why should you study Randomized Algorithms? You should study them for the reason that for many applications, a Randomized Algorithm is the simplest known algorithm as well as the fastest known algorithm.”

This statement stunned a young me. An algorithm that takes random decisions can be better than an algorithm that takes deterministic, repeatable decisions, even for problems for which deterministic, repeatable algorithms exist? This professor must be nuts! — I thought. He wasn’t. The professor was Rajeev Motwani, who went on to wi…

Similar Posts

Loading similar posts...