Proceedings

MC-RAG System: A Structure-Driven RAG System for Multi-Constraint Queries

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Demo Track. Pages 8555-8559.

https://doi.org/10.24963/ijcai.2026/1002

Abstract

Retrieval-Augmented Generation (RAG) systems are widely adopted in question answering, yet they often fail to satisfy complex multi-constraint queries, leading to constraint violations, factual inconsistencies, or hallucinations. We present Structure-Driven RAG System for Multi-Constraint Queries(MC-RAG), a structure-driven RAG system that reformulates retrieval as a subgraph matching problem over a knowledge graph. By integrating semantic and structural embeddings with path-level indexing, MC-RAG performs interpretable, structure-aware, and constraint-consistent retrieval and generation. During the demonstration, participants can input medical or encyclopedic multi-constraint queries, visualize how the system parses constraints, performs structural matching, and generates answers, thereby experiencing an end-to-end, interactive, and explainable RAG pipeline.

A demo video is available at https://youtu.be/J8kahzmAnu0.

  1. [Borgeaud et al., 2022] Sebastian Borgeaud, Arthur Men- sch, Jordan Hoffmann, Trevor Cai, Eliza Rutherford, Katie Millican, George Bm Van Den Driessche, Jean-Baptiste Lespiau, Bogdan Damoc, Aidan Clark, et al. Improving language models by retrieving from trillions of tokens. In International conference on machine learning, pages 2206-2240. PMLR, 2022.
  2. [Cordella et al., 2004] Luigi P. Cordella, Pasquale Foggia, Carlo Sansone, and Mario Vento. A (sub)graph isomor- phism algorithm for matching large graphs. IEEE Trans. Pattern Anal. Mach. Intell., 26(10):1367-1372, 2004.
  3. [Edge et al., 2024] Darren Edge, Ha Trinh, Newman Cheng, Joshua Bradley, Alex Chao, Apurva Mody, Steven Tru- itt, and Jonathan Larson. From local to global: A graph RAG approach to query-focused summarization. CoRR, abs/2404.16130, 2024.
  4. [Fan et al., 2024] Wenqi Fan, Yujuan Ding, Liangbo Ning, Shijie Wang, Hengyun Li, Dawei Yin, Tat-Seng Chua, and Qing Li. A survey on RAG meeting llms: Towards retrieval-augmented large language models. In Ricardo Baeza-Yates and Francesco Bonchi, editors, Proceedings of the 30th ACM SIGKDD Conference on Knowledge Dis- covery and Data Mining, KDD 2024, Barcelona, Spain, August 25-29, 2024, pages 6491-6501. ACM, 2024.
  5. [Guo et al., 2025] Zirui Guo, Lianghao Xia, Yanhua Yu, Tu Ao, and Chao Huang. Lightrag: Simple and fast retrieval-augmented generation. In Christos Christodoulopoulos, Tanmoy Chakraborty, Carolyn Rose, and Violet Peng, editors, Findings of the Association for Computational Linguistics: EMNLP 2025, Suzhou, China, November 4-9, 2025, pages 10746-10761. Association for Computational Linguistics, 2025.
  6. [Han et al., 2013] Wook-Shin Han, Jinsoo Lee, and Jeong- Hoon Lee. Turboiso: towards ultrafast and robust sub- graph isomorphism search in large graph databases. In Proceedings of the 2013 ACM SIGMOD international con- ference on management of data, pages 337-348, 2013.
  7. [He et al., 2024] Xiaoxin He, Yijun Tian, Yifei Sun, Nitesh Chawla, Thomas Laurent, Yann LeCun, Xavier Bresson, and Bryan Hooi. G-retriever: Retrieval-augmented gener- ation for textual graph understanding and question answer- ing. Advances in Neural Information Processing Systems, 37:132876-132907, 2024.
  8. [Izacard and Grave, 2021] Gautier Izacard and Edouard Grave. Leveraging passage retrieval with generative mod- els for open domain question answering. In Proceedings of the 16th conference of the european chapter of the asso- ciation for computational linguistics: main volume, pages 874-880, 2021.
  9. [Karpukhin et al., 2020] Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick SH Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. Dense passage retrieval for open-domain question answering. In EMNLP, pages 6769-6781, 2020.
  10. [Khattab and Zaharia, 2020] Omar Khattab and Matei Za- haria. Colbert: Efficient and effective passage search via contextualized late interaction over bert. In Proceedings of the 43rd International ACM SIGIR conference on research and development in Information Retrieval, pages 39-48, 2020.
  11. [Kim et al., 2018] Kyoungmin Kim, In Seo, Wook-Shin Han, Jeong-Hoon Lee, Sungpack Hong, Hassan Chafi, Hyungyu Shin, and Geonhwa Jeong. Turboflux: A fast continuous subgraph matching system for streaming graph data. In Proceedings of the 2018 international conference on management of data, pages 411-426, 2018.
  12. [Kwiatkowski et al., 2019] Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, et al. Natural questions: A benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:453- 466, 2019.
  13. [Lewis et al., 2020] Patrick Lewis, Ethan Perez, Aleksan- dra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, and Tim Rocktäschel. Retrieval-augmented generation for knowledge-intensive nlp tasks. In Advances in Neural In- formation Processing Systems, volume 33, pages 9459- 9474, 2020.
  14. [Liang et al., 2025] Lei Liang, Zhongpu Bo, Zhengke Gui, Zhongshu Zhu, Ling Zhong, Peilong Zhao, Mengshu Sun, Zhiqiang Zhang, Jun Zhou, Wenguang Chen, Wen Zhang, and Huajun Chen. KAG: boosting llms in professional do- mains via knowledge augmented generation. In Guodong Long, Michale Blumestein, Yi Chang, Liane Lewin-Eytan, Zi Helen Huang, and Elad Yom-Tov, editors, Companion Proceedings of the ACM on Web Conference 2025, WWW 2025, Sydney, NSW, Australia, 28 April 2025 -2 May 2025, pages 334-343. ACM, 2025.
  15. [Xie et al., 2017] Miao Xie, Sourav S. Bhowmick, Gao Cong, and Qing Wang. Panda: toward partial topology- based search on large networks in a single machine. The VLDB Journal, 26(2):203-228, April 2017.
  16. [Xie et al., 2018] Miao Xie, Sourav S Bhowmick, Hao Su, Gao Cong, and Wook-Shin Han. Panda: a system for par- tial topology-based search on large networks. Proc. VLDB Endow., 11(12):1966-1969, August 2018.
  17. [Xie et al., 2026] Miao Xie, Xiao Zhang, Yi Li, and Chunli Lv. Structure guided retrieval-augmented generation for factual queries, 2026.
  18. [Xu et al., 2024] Shicheng Xu, Liang Pang, Mo Yu, Fandong Meng, Huawei Shen, Xueqi Cheng, and Jie Zhou. Unsu- pervised information refinement training of large language models for retrieval-augmented generation. arXiv preprint arXiv:2402.18150, 2024.
  19. [Ye et al., 2024] Yutong Ye, Xiang Lian, and Mingsong Chen. Efficient exact subgraph matching via gnn- based path dominance embedding. Proc. VLDB Endow., 17(7):1628-1641, 2024.
  20. [Zhang et al., 2024] Zhijie Zhang, Yujie Lu, Weiguo Zheng, and Xuemin Lin. A comprehensive survey and experimen- tal study of subgraph matching: trends, unbiasedness, and interaction. Proceedings of the ACM on Management of Data, 2(1):1-29, 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards