Retrieval is Cheap, Show Me the Code: Executable Multi-Hop Reasoning for Retrieval-Augmented Generation
Jiashuo Sun† , Jimeng Shi† , Yixuan Xie, Saizhuo Wang , Jash Rajesh Parekh , Pengcheng Jiang , Zhiyi Shi , Jiajun Fan , Qinglong Zheng , Peiran Li , Shaowen Wang , Ge Liu , and Jiawei Han
TL;DR: PyRAG reformulates multi-hop RAG as executable Python programs over retrieve/answer tools, with compiler-grounded self-repair and adaptive retrieval—outperforming strong baselines on five QA benchmarks (up to +25.5 EM on Bamboogle).