paper-with-me

Papers

LLM-Guided Strategy Synthesis for Scalable Equality Saturation

2026-04-19 · Chenyun Yin, Youwei Xiao, Yuze Luo, Yuyang Zou, Yun Liang arxiv

Equality saturation (EqSat) is a powerful optimization paradigm that compactly represents many equivalent programs in an e-graph and delays commitment until extraction selects a lowest-cost program. Making EqSat effective, therefore, requires not only domain-specific rewrite rules but also domain-specific strategies. Today, much of this strategy design is still manual, making it a major obstacle to automating e-graph-based compilers. Recent rule-synthesis frameworks can automatically infer large rewrite vocabularies from semantic specifications, but they also enlarge the rewrite space and further exacerbate e-graph explosion. Although large language models (LLMs) make automated strategy synthesis plausible, directly evolving backend code remains ineffective in practice. The search lacks reusable strategy abstractions and actionable feedback, and can easily trigger e-graph explosion or converge to poor designs. We present EggMind, an LLM-guided, end-to-end framework for synthesizing reusable EqSat strategies. At its core, EggMind introduces a domain-specific language, EqSatL, to represent EqSat strategies as explicit and inspectable artifacts. It then proposes an LLM-guided agentic workflow, equipped with novel techniques including proof-derived rewrite motif caching and tractability guidance, to search efficiently for high-quality strategies while keeping synthesis stable under e-graph growth. Evaluation shows that EggMind substantially improves the resource-quality trade-off on vectorization benchmarks, reducing final cost by 45.1% and peak RAM by 69.1% relative to full EqSat. We further show that the same methodology transfers effectively to an XLA-based tensor compiler, and demonstrate its practical potential in a logic-synthesis case study with augmented rewrite spaces.

📄 PDF Abstract BibTeX arXiv:2604.17364

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Learned Graph Rewriting with Equality Saturation: A New Paradigm in Relational Query Rewrite and Beyond

2024-06-19 · George-Octavian Bărbulescu, Taiyi Wang, Zak Singh, Eiko Yoneki

Query rewrite systems perform graph substitutions using rewrite rules to generate optimal SQL query plans. Rewriting logical and physical relational query plans is proven to be an NP-hard sequential decision-making probl…

Decision Makingreinforcement-learningReinforcement LearningReinforcement Learning (RL)+1

SVGDreamer: Text Guided SVG Generation with Diffusion Model

2023-12-27 · CVPR 2024 1 · XiMing Xing, Haitao Zhou, Chuang Wang, Jing Zhang 외

Recently, text-guided scalable vector graphics (SVGs) synthesis has shown promise in domains such as iconography and sketch. However, existing text-to-SVG generation methods lack editability and struggle with visual qual…

DiversityVector Graphics

SVGDreamer++: Advancing Editability and Diversity in Text-Guided SVG Generation

2024-11-26 · XiMing Xing, Qian Yu, Chuang Wang, Haitao Zhou 외

Recently, text-guided scalable vector graphics (SVG) synthesis has demonstrated significant potential in domains such as iconography and sketching. However, SVGs generated from existing Text-to-SVG methods often lack edi…

DiversityImage SegmentationSemantic SegmentationVector Graphics

SkyEgg: Joint Implementation Selection and Scheduling for Hardware Synthesis using E-graphs

2025-11-19 · Youwei Xiao, Yuyang Zou, Yun Liang arxiv

Hardware synthesis from high-level descriptions remains fundamentally limited by the sequential optimization of interdependent design decisions. Current methodologies, including state-of-the-art high-level synthesis (HLS…

Training a First-Order Theorem Prover from Synthetic Data

2021-03-05 · Vlad Firoiu, Eser Aygun, Ankit Anand, Zafarali Ahmed 외

A major challenge in applying machine learning to automated theorem proving is the scarcity of training data, which is a key ingredient in training successful deep learning models. To tackle this problem, we propose an a…

Automated Theorem ProvingBIG-bench Machine Learning