HAM-RAG: Hierarchy-Aware Multimodal RAG for Structure-Faithful Interleaved Generation

Yin Li, Ziyang Hu, Zhiyu Guo, Xiangyu Liu, Wenbin Li +5 more
8/14/2026
cs.IRcs.AI
rag

No confident code implementation found for this paper.

Abstract

Existing multimodal RAG methods often flatten structured documents into isolated text and image units, weakening the source organization and local text-image logic needed for faithful evidence selection and placement. We propose HAM-RAG, a Hierarchy-Aware Multimodal RAG framework for structure-faithful interleaved generation.

Show full abstract

HAM-RAG uses document hierarchy as a grounding signal across retrieval and generation, contextualizing textual and visual evidence and preserving source position and local text-image relations in the prompt. We further introduce HAM-Bench, covering Wukong, Wiki, arXiv, and Recipe across game walkthroughs, web pages, scientific papers, and step-wise recipe documents. Across multiple backbones, HAM-RAG improves the main multimodal average by 17.3% over the strongest non-hierarchical baseline. On Wukong, HAM-RAG improves Img-CBS by 24.2% over the strongest non-hierarchical baseline, demonstrating substantially better local text-image alignment. The main experiments and ablation study together demonstrate that document hierarchy is a key grounding signal for faithful image selection, placement, and local text-image alignment. These findings highlight the value of hierarchy-aware grounding for reliable multimodal assistants that generate answers faithful to the source organization, procedural structure, and local text-image evidence of structured documents, such as technical manuals, maintenance guides, and industrial SOPs. The code is available at https://github.com/MCCodeAI/HAM-RAG.git.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026hamrag,
  title  = {HAM-RAG: Hierarchy-Aware Multimodal RAG for Structure-Faithful Interleaved Generation},
  author = {Yin Li and Ziyang Hu and Zhiyu Guo and Xiangyu Liu and Wenbin Li and Boo-Ho Yang and Rav Lawana and Ziyue Li and Wei Zeng and Fugee Tsung},
  year   = {2026},
  eprint = {2608.14032},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.14032v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.14032.svg)](https://codeofpaper.com/paper/2608.14032)

Discussion