r/AskComputerScience • • 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”.

0 Upvotes

29 comments sorted by

View all comments

Show parent comment

1

u/Objective_Mine MSCS, CS Pro (10+) Jan 14 '25

Technically all computers are finite state machines, because they have a limited amount of memory and storage.

Are they, though? Wouldn't the more accurate model for a physical computer be a linear bounded automaton? A finite state machine can only read (and consume) its input symbol by symbol, not alter it or go back, and cannot enter an infinite loop.

A physical computer is of course a machine with a finite (albeit ludicrously large) number of states, but I'm assuming "finite state machine" means the particular kind of automaton that it typically does.

1

u/dmazzoni Jan 14 '25

The way to think of a computer is that the memory and storage aren't the input/output, they're the states.

The computer has inputs like keyboard/mouse and outputs like the screen. Those aren't part of the states.