HiCI: Hierarchical Construction–Integration for Long-Context Attention
Abstract
Lay Summary
Modern AI language models—the technology behind chatbots like ChatGPT—work well on short text but struggle with very long documents. Reading lengthy legal contracts or research papers requires tracking details across many pages, which current models cannot reliably do without losing context. We introduce HiCI, inspired by how humans handle long-form material. As the model processes a document, HiCI summarizes each section into a few key points, organizes these into a global overview of the entire document, and uses this overview when interpreting later parts of the text. We evaluate HiCI on three open-source language models. With only a small amount of additional training, HiCI enables them to process inputs roughly the length of a novel, improves their accuracy in retrieving specific facts from long documents, and matches the performance of leading commercial systems such as GPT-4 and Claude on selected benchmarks. By improving reliability on long inputs, this work expands the practical applicability of language models to tasks such as legal review, scientific research, and extended conversations.