Neural Diversity Regularizes Hallucinations in Language Models
This paper introduces "neural diversity" as a third scaling axis for language models, proposing the ND-LoRA method to reduce hallucinations by up to 25.6% through decorrelated parallel representations and Barlow Twins regularization, while establishing formal bounds that link lower neural correlation to higher reliability.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to solve a tricky riddle, but instead of asking just one person, you ask a whole team. If everyone on the team thinks exactly alike, they might all make the same silly mistake and give you the wrong answer together. This is the core problem with modern "language models"—the super-smart computer programs that write stories, answer questions, and chat with us. Even though these programs are getting bigger and smarter, they still sometimes make things up, a glitch called "hallucination." They might confidently state a fake fact or invent a story that never happened.
To fix this, scientists usually try to make the models bigger or feed them more data, like trying to solve a puzzle by buying a bigger box. But this paper suggests a different approach: instead of making the team bigger, make the team members different. The authors borrow an idea from finance called "diversification." Just as an investor doesn't put all their money in one stock because if that one fails, they lose everything, they spread their money across many different stocks. If one stock crashes, the others might hold steady, keeping the portfolio safe. The paper asks: Can we do the same thing with computer brains? If we force the different parts of the model to think in slightly different, uncorrelated ways, can we stop them from all making the same mistake at the same time?
This is exactly what the researchers set out to test. They propose a new method called Neural Diversity, which acts like a "diversity coach" for the computer's brain. Instead of letting all the internal pathways of the model collapse into thinking the same way, they force these pathways to stay distinct and independent. They built a tool called ND-LoRA to do this. Think of it as giving a single computer model four different "hats" to wear at once. Each hat represents a slightly different way of processing the same sentence. The model then combines the answers from all four hats.
The results are quite promising. By using this "four-hat" approach and a special math trick to keep the hats from becoming too similar, the researchers found they could reduce the number of made-up facts by up to 25.6% on specific tests, with an average improvement of 14.6%. This happened without needing to make the computer model bigger or train it on more data. In fact, it only cost a tiny bit more computing power—about 0.008% more training time and just 1.1 times the speed to run.
However, the paper also discovered a twist: more diversity isn't always better. It's like a choir; if everyone sings a different note, it sounds like noise. If everyone sings the exact same note, it's boring and prone to mistakes. There is a "sweet spot" where the voices are different enough to catch errors but similar enough to agree on the truth. The researchers found that this sweet spot changes depending on what the computer is doing. For tasks involving creative storytelling or checking facts, having more "different" voices (specifically, 4 to 8 parallel streams) worked best. But for simple memory tasks, like recalling a specific name, having just one voice was actually the most reliable.
The authors are careful to say that while their math proves this should work and their experiments on a small model show it does work, this is a specific solution for a specific type of error. They argue that hallucinations are often caused by the model's internal parts getting stuck in a loop of similar, wrong ideas, rather than just a lack of knowledge. By breaking that loop with diversity, they can make the model more reliable without needing to build a giant, expensive supercomputer. It's a clever, low-cost way to make AI a little less prone to lying, proving that sometimes, the best way to get a better answer is to ask a few different questions at once.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.