Phaedrus: Predicting Dynamic Application Behavior with Lightweight Generative Models and LLMs
Bodhisatwa Chatterjee, Neeraj Jadhav, Santosh Pande

TL;DR
Phaedrus is a novel framework that predicts dynamic application behavior using lightweight models and LLMs, enabling input-specific optimizations without program execution, significantly improving performance and reducing binary size.
Contribution
It introduces two new techniques, Dynamis and Morpheus, for profile-less and generalized behavior prediction, advancing static optimization methods.
Findings
Accurately predicts 85-99% of execution time hotspots.
Achieves 6% average performance improvement, up to 25%.
Reduces profile sizes by up to 10^7 times.
Abstract
Application profiling is essential for software optimization tasks such as code layout and memory placement, where optimization decisions depend on program behavior. However, modern applications exhibit significant input-dependent variability, limiting the effectiveness of conventional profiling approaches that rely on a single representative execution. We present Phaedrus, a compiler-assisted deep learning framework that predicts dynamic program behavior across diverse execution instances, with a focus on dynamic function call prediction. These predicted call sequences are used to guide input-specific compiler optimizations, enabling code specialization without requiring program execution. Phaedrus introduces two complementary techniques. Application Behavior Synthesis (Dynamis) is a profile-less approach in which large language models infer dynamic behavior directly from source code…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSemantic Web and Ontologies · Multimedia Communication and Technology
