You solved one of the largest problems with current LLMs. How is it possible that nobody tried that before?
Because they do. There are already LLMs checking outputs of other LLMs, the bullshit answers that you see are the results of failures on that checks. If you remove all checks LLMs will create hallucinations even more often.
Folks should sue in a class-action lawsuit, any legal firm worth their beautiful walnut desks would seriously be happy take on that constitutionally backed mission. =3
"Nonsensical?" They commit violent crimes, they get prosecuted for said violent crimes, and are serving prison sentences for those crimes. The algorithm picks up on this trend using the same logic that insurance actuaries use, which has also been largely neutered by critical theory.
What even is the argument here-- they're all innocent? Cops are ignoring piles of dead white people and their white murderers to only go patrol brown neighborhoods? We both know neither claim is true. The usual complaint is that cops avoid their neighborhoods and/or are lazy in investigating the crimes they report. The idea of overpolicing has always been a Marxist double-bind...nonsensical, I daresay.
I'm mostly talking about random coding errors.
Drawing a line red to split up the image then has them answer correctly.
Their failure modes are highly correlated.
Cohen, Hamri, Geva & Globerson, "LM vs LM: Detecting Factual Errors via Cross Examination": Cross-examination "detects over 70% of the incorrect claims while maintaining a high precision of >80%".
Is it perfect? No. But it does what I asked it to do.
But when you ask the SAME LLM (with the same context) they remember the hallucination so it doesn't work. You have to use a fresh one without the same context
Citation needed
Try it yourself. Get one to hallucinate, then paste that text into a new window and ask it to verify the facts.
EDIT:
Also - Cohen, Hamri, Geva & Globerson, "LM vs LM: Detecting Factual Errors via Cross Examination": Cross-examination "detects over 70% of the incorrect claims while maintaining a high precision of >80%".
So 70% for ANY error, not just hallucinations.