Do Robot Snakes Dream like Electric Sheep? Investigating the Effects of Architectural Inductive Biases on Hallucination
Jerry Huang, Prasanna Parthasarathi, Mehdi Rezagholizadeh, Boxing Chen, Sarath Chandar
TL;DR
Do Robot Snakes Dream like Electric Sheep? investigates whether architectural inductive biases in LLMs—specifically self-attention versus recurrent (and hybrids)—shape the propensity to hallucinate. The authors perform an extensive evaluation across 20 hallucination tasks spanning faithfulness and factuality, across open-source models from under 1B to approx. 70B parameters, and under varying instruction-tuning and data controls. They find that while hallucination is a general phenomenon across architectures, task-specific tendencies differ (e.g., recurrent/hybrid models can be more faithful at small sizes but instruction-tuning benefits are uneven; factuality improves with size for all). The work highlights the need for architecture-aware mitigation strategies and for designing more universal methods to improve robustness against hallucinations.
Abstract
The growth in prominence of large language models (LLMs) in everyday life can be largely attributed to their generative abilities, yet some of this is also owed to the risks and costs associated with their use. On one front is their tendency to hallucinate false or misleading information, limiting their reliability. On another is the increasing focus on the computational limitations associated with traditional self-attention based LLMs, which has brought about new alternatives, in particular recurrent models, meant to overcome them. Yet it remains uncommon to consider these two concerns simultaneously. Do changes in architecture exacerbate/alleviate existing concerns about hallucinations? Do they affect how and where they occur? Through an extensive evaluation, we study how these architecture-based inductive biases affect the propensity to hallucinate. While hallucination remains a general phenomenon not limited to specific architectures, the situations in which they occur and the ease with which specific types of hallucinations can be induced can significantly differ based on the model architecture. These findings highlight the need for better understanding both these problems in conjunction with each other, as well as consider how to design more universal techniques for handling hallucinations.
