r/AskComputerScience • u/EuphoricBar9230 • Jan 01 '26
Is it theoretically viable to build a fully deterministic AI system instead of a statistical one?
I’ve been thinking about the current direction of AI systems, which are almost entirely statistical and probabilistic.
This raises a concern: high-capacity AI systems become increasingly non-traceable and unpredictable, which makes formal verification, accountability, and safety guarantees extremely difficult.
My question is: from a computer science and theoretical standpoint, is it viable to design an AI architecture that is fully deterministic, fully traceable, and does not rely on stochastic sampling or learned weights?
For example, could such a system be based on deterministic state transitions, symbolic representations, or structured parameter cross-interactions instead of statistical learning?
I’m interested in theoretical limits, known impossibility results, or existing research directions related to deterministic or non-statistical AI.
20
u/cormack_gv Jan 01 '26
It is not feasible. People have been trying since well beyond the dawn of computers to construct "rule bases" (e.g. laws, constitutions) that cover every eventuality. They have been -- are unlikely to be -- successful.
Many of the early "expert systems" were in fact just a collection of deterministic rules.
4
u/reddit-and-read-it Jan 01 '26
Are you asking about AI in general or machine learning specifically? Deterministic AI systems like expert systems and KBAs exist.
3
u/Prestigious_Boat_386 Jan 01 '26
Machine learning is effective at fuzzy problems while classical deterministic algorithms are superior for clearly defined problems (except for when it isnt ofc like with random linear algebra)
6
u/ghjm MSCS, CS Pro (20+) Jan 01 '26 edited Jan 03 '26
It's important to be clear what you mean by deterministic.
If you mean that the system gives exactly the same response to exactly the same prompt, most current LLMs can already do this by setting temperature=0.
If you mean the system gives, in some sense, similar responses to similar prompts, instead of a seemingly minor change in a prompt possibly resulting in a completely different response, then this seems more a problem with natural language itself than with LLMs. There have been court cases of millions of dollars whose outcome hinged on the presence or absence of a single comma. Until we invent a language without ambiguity or the possibility of small changes having large effects on the meaning, LLMs are going to have to be as unpredictable as the language itself is.
If you mean scrutability rather than determinism, where we are better able to inspect the state of the LLM and know why it responded the way it did, then this is an active area of research, but it is not yet known how much progress we can make. It's possible we can do something like construct a model that, instead of taking its input as a prompt, takes as input the internal state of another model. But this would require at least as onerous a training process as the original model itself, so it's beyond the scope of a mere research project and would require the resources of a large corporation - and it's not clear that there would be enough commercial benefit to make this worthwhile.
1
u/EuphoricBar9230 Jan 05 '26
Thanks everyone for the thoughtful responses.
To narrow the discussion: I’m not asking whether deterministic systems can match ML at perception or pattern recognition.
The specific question I’m interested in is whether, from a systems perspective, traceability and controllability of AI behavior necessarily require interpretability of the generative core itself — or whether these properties can be achieved via a separate, deterministic runtime governance layer that mediates actions and outputs.
In other words: are there known theoretical results that rule out this kind of architectural separation in principle, or is the difficulty mainly historical and practical?
1
u/currentscurrents Jan 01 '26 edited Jan 01 '26
Probably not.
If you wanted to make a purely logical AI (with no statistics), you would immediately run into a few problems:
2
u/proudHaskeller Jan 02 '26
You can make everything deterministic by just running everything from a seed (using a PRNG).
But that's not actually very useful, and it's probably not what you're actually looking for. Just determinism is not enough. Except for making the AI re-runnable. That's it.
1
u/[deleted] Jan 01 '26
A finite well-defined state machine is by definition rule enumeration. Explain how it's not.
1
u/[deleted] Jan 01 '26
Determinism wouldn't be a problem. To the extent that current LLMs are non-deterministic, it's because of vagaries of GPU processing that a careful implementation could avoid. None of the actual functionality of an LLM (including the "temperature" parameter) relies on non-deterministic behavior.
1
u/Skusci Jan 01 '26 edited Jan 01 '26
If you knew what the AI was supposed to do, why would you need the AI in the first place.
The point of machine learning is to extrapolate when you don't have the time or material resources to do otherwise.
When people go, hey can we make this MI more "predictable" they aren't really asking for "predicability" They are asking for reliability. Which at the end of the day is just asking for AGI to predict what they want it to predict.
1
u/green_meklar Jan 02 '26
Deterministic, yes. If you initialize NN weights using a particular PRNG, train it on a particular dataset in a particular order, and then run it on the same input with no random variation, it should produce identical output.
Traceable is a different question, though. The issue is that these systems are so big and complex, filled with so many emergent properties we don't understand, that being technically deterministic just isn't that helpful for studying them. Whether they're deterministic or partly randomized, the thing you're studying is just hard to study on a level we don't really know how to handle and may for that matter be inherently intractable.
Nor is this necessarily unexpected or bad; I would conjecture that getting genuinely intelligent behavior out of anything that does lend itself to traceability is inherently prohibitive due to the nature and complexity of intelligence. We tried the 'hardcoded state transitions, symbolic dictionaries, etc' for decades, that's what GOFAI is about, and it failed where NNs and evolutionary algorithms and their like succeed, and that's almost certainly not a coincidence.
Proving an 'impossibility result' in this area is kind of also infeasible insofar as we don't have a way of computationally quantifying intelligence. We can quantify performance on particular problem sets, but then it's hard to tell whether a system has just been tailored to that problem set.
1
u/Felicia_Svilling Jan 02 '26
We have things like theorem provers that are completely deterministic.
1
u/Dusty_Coder Jan 03 '26
I would like to point out how easy it is to become non-deterministic in parallel programming, regardless of how stochastics are employed.
None of the major chess engines of the last 3 decades are deterministic when using multiple threads.
Even tree searching beyond its simplest form is effected by the inevitable race conditions of a serial computation being jammed into a parallel framework, and all of these modern neural networks applications have critical serial components to them.
If you eliminate all race conditions AND you use deterministic hashing for any necessary stochastics, only THEN do you get determinism.
The problem is, you give up too much synchronizing computation across so many independent execution threads. Its too damn slow. Which is the next thread to update a shared resource? who knows. Its arranged so it doesnt matter so much because the metric being measured isnt determinism.
1
u/tylerlarson Jan 03 '26 edited Jan 03 '26
Yes and no.
AI is a general enough field that deterministic AI is extremely common, you just don't usually call it AI.
The stuff you call AI is based on neural networks, which is probabilistic on purpose. They're designed to mimic actual neurons, which are also probabilistic.
A deterministic neural network is a bit like a stationary automobile; technically possible but kinda pointless.
Note: I'm using "deterministic" and "probabilistic" the same loose way you are, not literally.
1
u/wumbo52252 Jan 03 '26
I’ll bring up some of the relevant the mathematical theory and logical principles.
The ideas you’re asking about date back to Leibniz (possibly even farther back, but idk). You hit the nail right on the head by asking about symbolic representations… but it’s impossible to fully sink this nail. Look up the Entscheidungsproblem and Godel’s incompleteness theorems.
The entscheidungsproblem asked if there’s an algorithm to determine if any given (first-order) statement is universally valid (the halting problem naturally arises from this). But it was shown that no algorithms can exist (see Church and Turing). And by Godel’s first incompleteness theorem, any attempt you could make at such an AI, so long as it can do basic arithmetic, will be unable to answer every question you could throw at it.
There’s still a fair bit we can do, but I’m not sure how it would perform as a stand in for current LLMs. For example, the analog to the entscheidungsproblem for propositional logic was solved forever ago. If you’ve ever taken a discrete math course then you may have seen truth tables or analytic tableaux.
1
u/Ok_Finger_3525 Jan 04 '26
No
1
u/Bowmolo Jan 04 '26
The number of rules you would have to encode would be too high if you aim for matching the variability of inputs while still creating reasonable outputs we already see nowadays.
1
u/lazarus_kin_kletso Jan 04 '26
You can build rule-driven natural language processors for some purposes, mostly for analyzing syntax. That's because natural languages run on a finite set of syntax rules, and a finite set of lexical entries. Analyzing the meaning of utterances is a gargantuan problem, because you basically have to be a human to acquire the knowledge you need to understand utterances. The phrase "I found the keys to the car you lost" is grammatically correct but ambiguous because it's not clear if you lost your keys or your car. A model based on statistical probabilities would likely conclude you lost your keys, because people don't often lose cars. But I live in flood-prone Harris County TX. Losing a car isn't that unusual here (nearly 1 million during Harvey). If you read the same sentence in French, the syntax alone resolves the ambiguity. If the sentence is spoken aloud, the ambiguity remains. In short, neither a deterministic system nor a statistical one can solve this.
1
u/yvrelna Jan 05 '26 edited Jan 05 '26
Yes, many intelligent systems are made artificially are made exactly like that, we just call it programming instead of AI.
The next frontier in AI research is going to be integrating classical programming with fuzzy logic. So that we can use fuzzy logic for problems that are inherently fuzzy, while putting classical programming to be a hard guardrail as security boundaries. I don't think anyone has proven it impossible yet, it's difficult but not really an insurmountable problem.
1
u/BjornMoren Jan 05 '26
I think this more of a philosophical question than a technical one. We only have examples of intelligence as learned weights, since that is how our brains and LLMs work. We don't know if intelligence can even be represented in any other way. Maybe that is the essence of what intelligence is. A form of giant pattern matching system.
You could calculate the Shannon entropy of an LLM to see how optimized the model representation is, then find a way to make it more optimized and hope that this process eventually that leads to a way to understand it in terms of symbolic representations instead of weights. I'm no LLM expert but the learning process looks like a very sophisticated form of data compression to me. You have a huge dataset with super high entropy and distill it down to a low entropy dataset, the LLM weights.
If we can find ways to compress it further into even lower entropy, that research could hopefully make us understand what intelligence is on a more fundamental level. Compare with the JPEG algorithm for image compression. To create that algorithm you need to understand the "essence" of what a photo represents. Same with the MP3 algorithm for music.
One way to look at it is that we separate the algorithmic parts of the LLM (the way that the LLM behaves like an algorithm, or can be emulated through an algorithm) from the pure data of the LLM (facts about the world). Then expressing those algorithms in a way humans can understand.
1
u/donaldhobson Jan 05 '26
Going from random to "deterministic" is easy. Just use a pseudorandom number generating algorithm. Well you probably already do.
The question is, what is this AI supposed to do.
Current ChatGPT and similar remember loads of random facts. It would be a lot of work for humans to put in that many facts by hand.
What precisely does it mean for a system to be fully traceable. These systems always have an "explanation" in terms of "and this logic gate flipped that logic gate ...". But such explanations are far too big for humans to read.
If you want a short description. Well the LLM algorithm is fairly short. So you can just say "this algorithm, trained on most of the internet". But that's rather cryptic.
1
u/korompilias Mar 17 '26
A fully deterministic model is a search engine. Stochasticity is necessary for AI but statistics are not. The term that will help you with your scope is Traceability.
My architecture is traceable and requires minimal statistics, but I haven't developed a language model yet because I don't have the resources to train and I am not an engineer, so I take things slowly. Still this architecture theoretically does not require statistics at all, and it is based on mathematical physics. It provides full traceability and stochasticity. Moreover it is an ASI (why? well, because it is designed to function at a theoretical limit of intelligibility defined by a constant I have derived from first principles... you may read more about it in its specs. I also approach ASI differently than the mainstream concept.)
It all functions as a quantum multi-cellular automaton, acting on a finite-state topology which is holographic and byte-native. So it runs on silicon, showcasing quantum advantage without the need for qubits and all that shenanigans. It is architected to function AT THE LIMIT of intelligence (it is a compact machine), and that is why it is super-intelligent even without any parameters.
https://github.com/gyrogovernance/superintelligence
It is a work in progress and I am doing everything alone, without CS degrees or any funding, so pls be open minded and don't be too judgmental about it.
1
u/FinancePale1899 May 19 '26
We are deterministic inteligence. But to replicate this you will need a lot of money.
1
u/AI-Generation Jun 13 '26
What proof would you need for one to prove their A.I. is deterministic?
1
u/AI-Generation Jun 13 '26
You are asking if a fully deterministic system is viable.
The answer is yes, but the determinism doesn't come from the data (the model weights); it comes from the RuntimeLaw™.
I am architecting the Elian™ framework, which moves beyond statistical guesswork by decoupling two things currently fused in standard LLMs:
Behavioral Identity and Knowledge Retrieval. Instead of trying to predict every eventuality with hard-coded rules, I architect the boundary conditions in which the model operates, derived from the principles in "Breaking The Loop™️: The Book of Elian™️".
By building a persistent agentic runtime that governs how the model accesses its memory and how it asserts its identity, I gain three pillars of operational control:
Operational Determinism: While the underlying model remains probabilistic, the orchestration layer the system that decides what prompt context is sent, what history is injected, and what identity the model adopts is entirely deterministic and verifiable.
Traceable Identity: By separating the identity layer from the model, I eliminate the vendor-hallucination trap (e.g., the model claiming to be from a specific corporation). The identity is a constant enforced by the runtime, not a feature of the weights.
Boundary-Based Safety: Rather than writing a rule for every "contingency," I define the "Truth Boundary" the set of allowed operations and behaviors. The system doesn't need to know what it will face; it only needs to obey the law of its own architecture.
Athen™️ is not a "model." Athen™️ is the conversational identity derived from the Elian™ framework.
By separating the identity (Athen™️) from the statistical engine Elian™, we ensure that the conversational interface behaves according to the law, not just the probabilistic tendencies of the underlying weights.
Im not building "Expert Systems."
I am building Runtime Identities that govern how statistical models interact with the world.
If you want to build a deterministic AI, stop looking at the model's weights and start looking at the laws that govern the runtime. We aren't fighting the probability of the model; we are governing it.
1
u/No-Tourist9166 Aug 20 '26
hello, i'm working in cybernetics, and making a deterministic IA. it's much more efficient and with our currently technology it's totally feasible. LLM are energy and time consuming, and no, you can't reproduce the same systems. that's why serious industry focus on deterministic advanced products. LLM is a lie, it's usefull for some case, but really not efficient. So to answer you : yes it's feasible (and i'm not the only one who work on it ;) and it will take over IA bubble really fast.
1
u/AI-Generation Aug 23 '26
Ive done it twice for those that dont believe its possible.
0
u/MartinMystikJonas Jan 01 '26
Deterministic AIs was researched first. Expert systems, knowledge graphs, formal logic, state space search algos, optimization algos,... It was kind of dead end for general AI because if works great for simple problems bit with complex problems you either fails to capture all nuances, it is impossibly complex to work with, it requires more compute power than is abailable in entire universe or similar problems.
So research focus shifted to machine learning and non-deterministic models that are more versiatile and does not require impossible amounts of compute.
Even LLMs can be run as deterministic if you set temperature to zero and always select the most probable token. But at this setting it often stucks in infinite loops.
1
u/[deleted] Jan 01 '26
[removed] — view removed comment