RuleFlow : Generating Reusable Program Optimizations with LLMs
Not on the map. Why?
Abstract (arXiv)
Optimizing Pandas programs is a challenging problem. Existing systems and compiler-based approaches offer reliability but are either heavyweight or support only a limited set of optimizations. Conversely, using LLMs in a per-program optimization methodology can synthesize nontrivial optimizations, but is unreliable, expensive, and offers a low yield. In this work, we introduce a hybrid approach that works in a 3-stage manner that decouples discovery from deployment and connects them via a novel bridge. First, it discovers per-program optimizations (discovery). Second, they are converted into generalised rewrite rules (bridge). Finally, these rules are incorporated into a compiler that can automatically apply them wherever applicable, eliminating repeated reliance on LLMs (deployment). We demonstrate that RuleFlow is the new state-of-the-art (SOTA) Pandas optimization framework on PandasBench, a challenging Pandas benchmark consisting of Python notebooks. Across these notebooks, we achieve a speedup of up to 4.3x over Dias, the previous compiler-based SOTA, and 1914.9x over Modin, the previous systems-based SOTA. Our code is available at https://github.com/ADAPT-uiuc/RuleFlow.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 8 of its 29 references that are in the map. First posted on arXiv 6 Feb 2026.
Builds on
8 of 29 references.
References · 8
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
- 2025Barbarians at the Gate: How AI is Upending Systems Researchcited by 48
- 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimizationcited by 21
- 2025Adaptive Self-improvement LLM Agentic System for ML Library Developmentcited by 16
- 2024GenRewrite: Query Rewriting via Large Language Modelscited by 11
- 2021KGTorrent: A Dataset of Python Jupyter Notebooks from Kagglecited by 10
- 2022An Empirical Study on How the Developers Discussed about Pandas Topicscited by 1
- 2025PandasBench: A Benchmark for the Pandas APIcited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026SkillEffect: Checked Lowering for Memory-Bounded Agent Tools17 Aug 2026