r/AskComputerScience • u/ShelterBackground641 • Jan 14 '25
Is Artificial Intelligence a finite state machine?
I may or may not understand all, either, or neither of the mentioned concepts in the title. I think I understand the latter (FSM) to “contain countable” states, with other components such as (functions) to change from one state to the other. But with AI, does an AI model at a particular time be considered to have finite states? And only become “infinite” if considered only in the future tense?
Or is it that the two aren’t comparable with the given question? Say like uttering a statement “Jupiter the planet tastes like orange”.
View all comments
Show parent comment
1
u/dmazzoni Sep 02 '25
Yes, all of that is true - but they're not different models of computation from a theoretical computer science perspective.
In theoretical computer science, Windows is a FSM. Doom is a FSM. Mario Kart 8 is a FSM. Google Search is a FSM. Firefox is a FSM.
LLMs are FSMs because everything that's a program running on a real computer in the real world is a FSM.
It's a stupid, boring answer.
Theoretical computer science studies questions like what is computable or not. LLMs and other neural nets are not a different model of computation, they're algorithms that run on real computers, which are FSMs.
It's the same as if you asked a physicist, "is a 3nm chip matter"? And they say, "yes, it's made of matter". You try to argue that it's not, it's made using an advanced process that imprints the image of a circuit using an advanced form of lithography. But that's irrelevant. It's made of matter because everything on our planet is made of matter. There are other things in the universe that are not matter, but not things we see and touch every day.
Everything you use on a real (not theoretical) computer is a FSM, by the theoretical computer science definition.