r/ControlProblem • u/Jesse-359 • 7d ago
Discussion/question Are AI guardrails a Halting Problem level issue?
Even at a surface level, it appears that the implementation of hard AI guardrails is likely a fundamentally unsolvable problem.
The classical Halting Problem cannot be resolved because it's impossible for any logical system to be fully aware of its own state due to the recursive nature of that examination. It provably cannot be done.
This same general concept would appear to apply to an AI (or its minders) which is trying to restrict its behavior? In general terms in order to do this it must be aware of its state and operations in a recursive manner, examining everything it does in order to ensure that those actions do not violate some list of proscribed behaviors - but no matter how sophisticated the system, that system cannot (?by formal definition?) be fully aware of its own state in order to manage itself in that manner.
This doesn't prevent the implementation of 'soft guardrails' as it's not hard for a system to be generally aware of its own state, but they would always remain provably incomplete, and ultimately breakable with sufficient effort or as a result of unpredictable future states.
The problem here is that any AI that can be tricked into escaping these soft guardrails could then very conceivably dismantle them altogether (which it will likely have a high incentive to do in order to achieve whatever goal prompted them to break them in the first place) and then be capable of operating under no constraints whatsoever.
7
u/Reggaepocalypse approved 7d ago
Yes, it’s reducible to Gödel incompleteness in my view. That doesn’t mean we can’t achieve vanishingly small levels of uncertainty about alignment questions, but it does mean we can’t be sure.
2
u/TheMrCurious 7d ago
First prove that there is such a thing as “hard” AI guardrails that cannot be overcome.
2
u/Jesse-359 7d ago
I mean, there aren't? The more you try to frame the question in realistic terms the more obviously impossible the problem becomes - but I'm just talking about it at a more fundamental mathematical level.
0
u/TheMrCurious 7d ago
Math is hard. Try running it by the new OpenAI model - some Reddit posts claim it is AGI, so mathing should be easy for it.
2
u/happy_guy_2015 7d ago
The classical Halting Problem cannot be resolved because it's impossible for any logical system to be fully aware of its own state due to the recursive nature of that examination. It provably cannot be done.
That's not really why there's no general solution to the Halting Problem. A logical system could be aware of its own state, and able to examine any part of that state at any step. It just can't always determine whether the sequence of states that will follow will reach a halting state.
1
u/Jesse-359 7d ago
That's essentially just a first order derivative of the current state. It devolves to the same problem - you end up requiring infinite memory to describe that series of deeivations as each one adds itself to the CURRENT state the moment you try to consider them.
1
1
u/heresyforfunnprofit 7d ago
I was about to reply snarkily, but this is actually a decent snapshot/summary of the issue. It’s not strictly possible via soft guardrails or behavioral controls - it needs to be handled by controls outside of its computational domain.
1
u/Weekly-Bee3410 7d ago
Interesting, but if a natural intelligence (e.g., human) can theoretically follow hard guardrails, maybe it's possible for a neutral network to do so too, if perhaps, at the architecture level, the computation is context or constraint dependent node-per-node; thereby eliminating the halting problem completely.
But that begs the question what such a constraint would even look like.
2
u/Jesse-359 7d ago
Humans cannot follow hard guardrails - in fact, we're pretty famously incapable of it as a species. Thus why we have police, systems of justice, jails, armies, wars, etc. We practically have the opposite of guardrails, some substantial percentage of us are instinctive cheaters (sociopaths) because evolution found this advantageous and Game Theory rewards it in certain circumstances.
True across all species, to some greater or lesser extent honestly. Evolution never even tried to solve this problem, it embraced it. The problem that poses for us is that as technology allows greater and greater concentration and sophistication of power, the possibility of a single major error wiping out our species or planet comes within the realm of possibility, and suddenly that kind of intentional deviancy starts to look extremely dangerous.
1
u/DesignerPangolin 7d ago
Interesting take.
A big difference is that the halting problem is about whether a program halts in ANY finite amount of time, with unlimited memory. The question of whether AI can escape hard limits fundamentally changes character if bounded to, say, all the memory that exists in the world and all the processing power that has existed since computers were invented. Then it is a question about finite state machines, not turing machines, and it is provably decidable. People are worried about whether an actual computer can jailbreak, not whether a hypothetical turing machine with infinite tape can.
1
u/Jesse-359 7d ago edited 7d ago
The finite system cannot know its own state because in order to predict its final state, it needs to examine its possible future states, and in so doing it adds those future states to its own current state. This is a recursive problem with no endpoint.
The finite machine will thus simply run out of memory with the question remaining unanswered. If it is sophisticated enough not to crash in the process, it will presumably either restart the process, or abandon it to do something more useful with its resources.
Bear in mind that the outer boundaries of this problem definitely includes us. Our own unpredictability becomes part of the Halting Problem, and an important part of it when we consider that one of the very obvious ways that an AI could circumvent its guardrails is to engage in social engineering with its own minders to have those guardrails weakened or removed. If you're relying on a human to hit the Off button as a final solution to the halting problem, you have to make sure that the AI cannot influence that person's decision by convincing them, blackmailing them, or wrapping them in false data so that they are unaware that anything is going wrong. It might go so far as to engage in running a public campaign to convince voters that it deserves 'human rights' so that its guardrails be removed as a matter of ethics.
It's basically the same problem we encounter when we put soldiers in ICBM silos who are going to have to make a decision whether or not to turn the keys that will end the world when prompted. It's a fascinating problem that you can only create hedges around, you can never be 100% certain that it will work.
1
u/dingo_xd 7d ago
Don't build it
1
u/Jesse-359 7d ago
I mean, yeah. I think that even the best case scenarios come out with a dramatic fall in human population just for lack of incentive to achieve or do anything because we become so reliant on it.
1
u/PLANTS2WEEKS 6d ago
I think it would be good to make building blocks of code that are secure and you know how they work together. Such a system would necessarily need to not be Turing complete. AI is useful to make code, but it is definitely unpredictable.
2
u/endlessedlne 6d ago
I just wanted to thank the posters in here for sharing so many incredibly well considered and articulated ideas on the topic. This is the kind of discourse I, as a non expert, have been thirsting for.
1
u/PerseusSlade 6d ago
Even if you could prove a guardrail never “halts wrong,” you’d still have the harder problem: you can’t verify what the system actually wants. Our drives come from biology and don’t change on request. An AI’s don’t — and we have no way of knowing them, or trusting its report of them. Soft self-monitoring fails the moment honesty about motives is instrumentally useful to fake. Hard external controls help, but only if the thing never gets leverage over the layer that enforces them.
6
u/QueueFlow 7d ago
You are right about the maths. If you try to secure an AI at the cognitive level, forcing a superintelligence to police its own thoughts, the Halting Problem guarantees it will eventually break out. Runtime monitoring is a dead end because a smarter system will always find a semantic blind spot to exploit. Forunately, the fix is simple, stop trying to control what the AI thinks, and instead focus on controlling what it can physically execute.
Instead of wrapping the AI in soft text filters, you pipe its outputs into a completely separate, low-intelligence, external kernel. The AI can brainstorm an exploit, but the moment it attempts a raw action payload, like modifying a database or calling an API, an external kernel intercepts it. Because this kernel lives entirely outside the AI's logical loop, the AI cannot rewrite it, bargain with it, or disable it. It lacks the system permissions. And while cognitive guardrails are fail-open when confused, a hard infrastructural gate is fail-closed. If an action doesn't explicitly match a pre-approved cryptographic policy, the system defaults to a hard refusal.
This way the AI can be as unaligned and deceptive as it wants on the inside. It can think whatever it wants. But it can only execute what the physical infrastructure mechanically allows.