Researchers report higher AI answer accuracy using a method that combines search with documentation navigation cues, such as those contained in a table of contents. They call the method RIT-RAG (Retrieval-Induced Tree Retrieval Augmented Generation). In a test using millions of pages of IBM product documentation, RIT-RAG got roughly 7 to 11 more questions right out of every 100 than the best alternative tested, depending on the AI model.
For tech writers, this study suggests that the navigation we build for our readers could also help AI tools find the right information. But the study didn’t test what happens when a documentation team improves its navigation.
What Did The Researchers Do?
Many AI systems search the docs for text that seems to answer user questions. The authors of the research study point out that two sections with the same section heading or title may belong to different product versions, and a search that ignores which part of the docs each answer comes from can’t reliably tell them apart.
After a search returns results, RIT-RAG uses where each result is located in the content to select parts of the navigation to show the AI. The AI then chooses which of those sections to read. It can read more sections or search again with different wording, which can surface different content.
The researchers tested RIT-RAG on four sets of questions: one about IBM documentation specifically, and three others about publicly available sets of docs.
How Well Did It Work?
In short, this approach worked very well. RIT-RAG had the highest accuracy on all four sets of questions with all three AI models tested.


