ECCO: Evidence-Driven Causal Reasoning for Compiler Optimization
Haolin Pan, Lianghong Huang, Dong Jinyuan, Mingjie Xing, Yanjun Wu
摘要
Compiler auto-tuning faces a dichotomy between traditional black-box search methods, which lack semantic guidance, and recent Large Language Model (LLM) approaches, which often suffer from superficial pattern matching and causal opacity. In this paper, we introduce ECCO, a framework that bridges interpretable reasoning with combinatorial search. We first propose a reverse engineering methodology to construct a Chain-of-Thought dataset, explicitly mapping static code features to verifiable performance evidence. This enables the model to learn the causal logic governing optimization decisions rather than merely imitating sequences. Leveraging this interpretable prior, we design a collaborative inference mechanism where the LLM functions as a strategist, defining optimization intents that dynamically guide the mutation operations of a genetic algorithm. Experimental results on seven datasets demonstrate that ECCO significantly outperforms the LLVM opt -O3 baseline, achieving an average 24.44% reduction in cycles.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Compiler-R1: Towards Agentic Compiler Auto-tuning with Reinforcement Learning 引用了 Efficient Compiler Autotuning via Bayesian Optimization
- Compiler-R1: Towards Agentic Compiler Auto-tuning with Reinforcement Learning 引用了 Learning Compiler Pass Orders using Coreset and Normalized Value Prediction
- CompilerDream: Learning a Compiler World Model for General Code Optimization 引用了 Learning Compiler Pass Orders using Coreset and Normalized Value Prediction
它引用的 Paper5
- Efficient Compiler Autotuning via Bayesian OptimizationJunjie Chen, Ningxin Xu, Peiqi Chen, Hongyu ZhangICSE 2021 · 73 次引用
- Learning Compiler Pass Orders using Coreset and Normalized Value PredictionYouwei Liang, Kevin Stone, Ali Shameli, Chris Cummins 等ICML 2023 · 26 次引用
- Compiler-R1: Towards Agentic Compiler Auto-tuning with Reinforcement LearningHaolin Pan, Hongyu Lin, Haoran Luo, Yang Liu 等NeurIPS 2025 · 14 次引用
- PDCAT: Preference-Driven Compiler Auto-tuningMingxuan Zhu, Zeyu Sun, Dan HaoFSE 2025
- CompilerDream: Learning a Compiler World Model for General Code OptimizationChaoyi Deng, Jialong Wu, Ningya Feng, Jianmin Wang 等KDD 2025
相关 Paper
- Learn to Relax with Large Language Models: Solving Constraint Optimization Problems via Bidirectional CoevolutionBeidan Liu, Zhengqiu Zhu, Chen Gao, Tianle Pu 等ACL 2026
- RECoRD: A Multi-Agent LLM Framework for Reverse Engineering Codebase to Relational DiagramYuan Xue, Xiaoyu Lu, Yunfei Bai, Yunan Liu 等AAAI 2026
- AutoEP: LLMs-Driven Automation of Hyperparameter Evolution for Metaheuristic AlgorithmsZhenxing Xu, Yizhe Zhang, Weidong Bao, Hao Wang 等ICLR 2026 · 10 次引用
- Revisiting Chain-of-Thought in Code Generation: Do Language Models Need to Learn Reasoning before Coding?Renbiao Liu, Anqi Li, Chaoding Yang, Hui Sun 等ICML 2025
- Retro-Expert: Collaborative Reasoning for Interpretable RetrosynthesisXinyi Li, Sai Wang, Yutian Lin, Yu WuICML 2026 · 4 次引用
