Junyi Zhu
← All publications

GraTAG: Production AI Search via Graph-Based Query Decomposition and Triplet Aligned Generation with Rich Multimodal Representations

Bo Tang*, Junyi Zhu*, Ang Li*, Yiquan Wu, Kun Kuang, Beihong Jin, Jiahao Wu, Hao Wang, Chenyang Xi, Yuchen Feng, Wenqiang Wei, Chunyu Li, Zehao Lin, Zhiyu Li, Feiyu Xiong, Beibei Li, Kaiwen Wei, Jingrun Chen

KDD 2026ACM SIGKDD Conference on Knowledge Discovery and Data Mining* = Co-first authors

GraTAG pipeline: query preprocessing, graph-based query decomposition (GQD), stepwise multi-source retrieval, triplet-aligned generation (TAG), and rich answer presentation with timelines and built-in citations.

In brief

GraTAG is a production AI search engine built on graph-based query decomposition and triplet-aligned generation, deployed as Xinyu at Xinhua News Agency. It tackles three pain points of AI search — imprecise retrieval on complex queries, logic lost to chunking, and flat text-only answers. Complex queries are broken into a dependency graph of atomic sub-queries for precise, stepwise retrieval; answer generation is aligned with relation triplets extracted from the retrieved evidence, restoring the logic that chunking breaks; and answers ship with timelines, built-in citations, and matched images. Across 1,000 real-world queries and over 243,000 expert ratings, GraTAG outperforms eight existing systems, and the industry-grade full-stack implementation is publicly released.

Key takeaways

Abstract

Generative AI search engines offer a key advantage over traditional search engines through their ability to synthesize fragmented information for queries, yet they still require improvements in relevance, comprehensiveness, and presentation. To these ends, we introduce GraTAG, an AI Search framework that addresses these challenges through three core innovations. First, we introduce graph-based query decomposition (GQD) to dynamically break down complex or ambiguous queries into structured sub-queries with explicit dependencies, enabling more precise, stepwise retrieval. Second, we propose triplet-aligned generation (TAG), which dynamically constructs relation triplets from retrieved documents to explicitly model entity relationships, factual dependencies, and logical connections, enabling the model to generate more coherent and comprehensive answers. Third, GraTAG innovates in rich multimodal presentations that integrates timeline visualization and textual-visual choreography to reduce cognitive load and enhance information verification. Evaluated on recent real-world queries, GraTAG outperforms eight existing systems in human expert assessments, excelling in relevance, comprehensiveness, and insightfulness. Our work publicly releases a comprehensive, industry-grade full-stack AI search engine, providing a solid reference for the community and demonstrating the effectiveness of the proposed system through rigorous evaluations and ablation studies.

BibTeX

@inproceedings{gratag,
  title     = {{GraTAG}: Production {AI} Search via {Graph-Based} Query Decomposition and Triplet Aligned Generation with Rich Multimodal Representations},
  author    = {Tang, Bo and Zhu, Junyi and Li, Ang and Wu, Yiquan and Kuang, Kun and Jin, Beihong and Wu, Jiahao and Wang, Hao and Xi, Chenyang and Feng, Yuchen and Wei, Wenqiang and Li, Chunyu and Lin, Zehao and Li, Zhiyu and Xiong, Feiyu and Li, Beibei and Wei, Kaiwen and Chen, Jingrun},
  year      = {2026},
  booktitle = {Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2},
  pages     = {8041--8052},
  doi       = {10.1145/3770855.3818426},
  url       = {https://doi.org/10.1145/3770855.3818426},
}