SEER: Super-Optimization Explorer for High-Level Synthesis using E-graph Rewriting
Jianyi Cheng, Samuel Coward, Lorenzo Chelini, Rafael Barbalho, Theo Drane
摘要
High-level synthesis (HLS) is a process that automatically translates a software program in a high-level language into a low-level hardware description. However, the hardware designs produced by HLS tools still suffer from a significant performance gap compared to manual implementations. This is because the input HLS programs must still be written using hardware design principles.
Existing techniques either leave the program source unchanged or perform a fixed sequence of source transformation passes, potentially missing opportunities to find the optimal design. We propose a super-optimization approach for HLS that automatically rewrites an arbitrary software program into efficient HLS code that can be used to generate an optimized hardware design. We developed a toolflow named SEER, based on the e-graph data structure, to efficiently explore equivalent implementations of a program at scale. SEER provides an extensible framework, orchestrating existing software compiler passes and hardware synthesis optimizers.
Our work is the first attempt to exploit e-graph rewriting for large software compiler frameworks, such as MLIR. Across a set of open-source benchmarks, we show that SEER achieves up to 38× the performance within 1.4× the area of the original program. Via an Intel-provided case study, SEER demonstrates the potential to outperform manually optimized designs produced by hardware experts.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Automating Constraint-Aware Datapath Optimization using E-Graphs 引用了 egg: Fast and extensible equality saturation
- HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial Optimization 引用了 SmoothE: Differentiable E-Graph Extraction
- HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial Optimization 引用了 egg: Fast and extensible equality saturation
- HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial Optimization 引用了 Vectorization for digital signal processors via equality saturation
- HEC: Equivalence Verification Checking for Code Transformation via Equality Saturation 引用了 Automating Constraint-Aware Datapath Optimization using E-Graphs
- HEC: Equivalence Verification Checking for Code Transformation via Equality Saturation 引用了 ScaleHLS: A New Scalable High-Level Synthesis Framework on Multi-Level Intermediate Representation
- HEC: Equivalence Verification Checking for Code Transformation via Equality Saturation 引用了 egg: Fast and extensible equality saturation
- HEC: Equivalence Verification Checking for Code Transformation via Equality Saturation 引用了 Vectorization for digital signal processors via equality saturation
- Graphiti: Formally Verified Out-of-Order Execution in Dataflow Circuits 引用了 egg: Fast and extensible equality saturation
- SmoothE: Differentiable E-Graph Extraction 引用了 Automating Constraint-Aware Datapath Optimization using E-Graphs
- SmoothE: Differentiable E-Graph Extraction 引用了 egg: Fast and extensible equality saturation
- SmoothE: Differentiable E-Graph Extraction 引用了 Vectorization for digital signal processors via equality saturation
- Rewrite rule inference using equality saturation 引用了 Vectorization for digital signal processors via equality saturation
- Slotted E-Graphs: First-Class Support for (Bound) Variables in E-Graphs 引用了 egg: Fast and extensible equality saturation
引用它的顶会 Paper8
- HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial OptimizationHongzheng Chen, Yingheng Wang, Yaohui Cai, Hins Hu 等ICLR 2026 · 26 次引用
- SmoothE: Differentiable E-Graph ExtractionYaohui Cai, Kaixin Yang, Chenhui Deng, Cunxi Yu 等ASPLOS 2025 · 12 次引用
- HEC: Equivalence Verification Checking for Code Transformation via Equality SaturationJiaqi Yin, Zhan Song, Nicolas Bohm Agostini, Antonino Tumeo 等USENIX ATC 2025 · 8 次引用
- Graphiti: Formally Verified Out-of-Order Execution in Dataflow CircuitsYann Herklotz, Ayatallah Elakhras, Martina Camaioni, Paolo Ienne 等ASPLOS 2026 · 1 次引用
- Slotted E-Graphs: First-Class Support for (Bound) Variables in E-GraphsRudi Schneider, Marcus Rossel, Amir Shaikhha, Andrés Goens 等PLDI 2025 · 1 次引用
它引用的 Paper7
- egg: Fast and extensible equality saturationMax Willsey, Chandrakana Nandi, Yisu Remy Wang, Oliver Flatt 等POPL 2021 · 170 次引用
- ScaleHLS: A New Scalable High-Level Synthesis Framework on Multi-Level Intermediate RepresentationHanchen Ye, Cong Hao, Jianyi Cheng, Hyunmin Jeong 等HPCA 2022 · 77 次引用
- Vectorization for digital signal processors via equality saturationAlexa VanHattum, Rachit Nigam, Vincent T. Lee, James Bornholt 等ASPLOS 2021 · 57 次引用
- Rewrite rule inference using equality saturationChandrakana Nandi, Max Willsey, Amy Zhu, Yisu Remy Wang 等OOPSLA 2021 · 35 次引用
- Automating Constraint-Aware Datapath Optimization using E-GraphsSamuel Coward, George A. Constantinides, Theo DraneDAC 2023 · 19 次引用
相关 Paper
- An Optimizing Framework on MLIR for Efficient FPGA-based Accelerator GenerationWeichuang Zhang, Jieru Zhao, Guan Shen, Quan Chen 等HPCA 2024 · 8 次引用
- Automated accelerator optimization aided by graph neural networksAtefeh Sohrabizadeh, Yunsheng Bai, Yizhou Sun, Jason CongDAC 2022 · 48 次引用
- Predictable accelerator design with time-sensitive affine typesRachit Nigam, Sachille Atapattu, Samuel Thomas, Zhijing Li 等PLDI 2020 · 58 次引用
- HIR: An MLIR-based Intermediate Representation for Hardware Accelerator DescriptionKingshuk Majumder, Uday BondhugulaASPLOS 2023 · 12 次引用
- Finding Bugs in RTL Descriptions: High-Level Synthesis to the RescueBaharealsadat Parchamdar, Benjamin Carrión SchäferDAC 2024 · 3 次引用
