This is a major problem.
What are the exact requirements to do this? Because I have been thinking recently of the problem of A. I...
I think that have a solution.
Back in the ancient days of the 1950s, an artist would record their piece of music twice. Each time it would be a little different. By overwriting the recording, the 'errors' coul be masked. Hence High Feldelity records.
Such that with an A. I., instead of looking at the individual bits, one looks at the overall "image".
Operationally what would result is a combined response, with no issues.
Modern Mainframe computers solve the program twice, then subtract the second from the first. If the answer is not zero, then an error has occurred...
Which means 'try again'.
I am not talking bit errors, but solution errors. Where Kirk onboard the ISS Enterprise asked the question, the computer came up with a workable solution. With the supplies on hand. So, instead of being told a story that isn't workable, the onboard computer told a correct story. Instead of a hallucinating the answer.