PL/FM/SE Seminar Series: Dushyant Bharadwaj, "RuleFlow: Generating Reusable Program Optimizations with LLMs."

- Sponsor
- Siebel School of Computing and Data Science
- Speaker
- Mr. Dushyant Bharadwaj
- Contact
- Adharsh Kamath
- ak128@illinois.edu
- Originating Calendar
- Siebel School Speakers Calendar
Abstract: Optimizing Pandas programs is a challenging problem. Existing techniques prove ineffective when tested on real-world benchmarks. Using LLMs in a per-program optimization methodology can synthesize nontrivial optimizations, but it is expensive due to its low yield. To address this, we introduce RuleFlow, a 3-stage approach that decouples discovery from deployment and connects them via a novel bridge. First, it discovers and validates 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.
Bio: Dushyant Bharadwaj is a second-year master's student at UIUC, working with Charith Mendis and Gagandeep Singh. He works on solving problems at the intersection of Formal Methods and AI.