New research has identified a phenomenon dubbed the 'Structural Attention Tax' that shows how the format of retrieved information can significantly impair large language model (LLM) performance, independent of the actual content being retrieved. The study found that when knowledge graph triples are used as context, the structure of those triples can hijack the model's attention mechanisms, compressing demonstration signals by up to 42% regardless of their semantic relevance.
The research highlights a critical blind spot in retrieval-augmented generation (RAG) systems: the way information is formatted can be as important as what information is provided. 'In-context learning assumes that adding more relevant examples helps, but we found that the structural format of those examples can actually degrade performance,' the authors noted.
These findings have significant implications for developers of AI systems that rely on structured data retrieval, as they suggest that careful formatting of retrieved information is essential to avoid unintended attention taxation.