LLMs Are Randomized Algorithms
towardsdatascience.com·12w

, 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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help