{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,31]],"date-time":"2026-10-31T21:14:05Z","timestamp":1793481245242,"version":"4.5.0"},"reference-count":83,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA1","license":[{"start":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T00:00:00Z","timestamp":1775779200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,4,10]]},"abstract":"<jats:p>\n                    Application profiling is an indispensable technique for many software development tasks, such as code and memory layout optimizations, where optimization decisions are tailored to specific program profiles. Unfortunately, modern application codebases exhibit highly variant behavior across different inputs, creating challenges for conventional profiling approaches that rely on a single representative execution instance. In this paper, we propose\n                    <jats:bold>Phaedrus<\/jats:bold>\n                    , a new\n                    <jats:italic toggle=\"yes\">compiler-assisted deep learning framework<\/jats:italic>\n                    designed to predict dynamic program behavior across varied execution instances, specifically focusing on dynamic function call prediction. These predicted call sequences are subsequently used to guide input-specific compiler optimizations, producing code specialized for each execution instance.\n                  <\/jats:p>\n                  <jats:p>\n                    Traditional profile-guided optimization methods struggle with the input-dependent variability of modern applications, where profiling on different inputs yields divergent application behaviors. To address this, Phaedrus proposes two new approaches:\n                    <jats:italic toggle=\"yes\">Application Profile Synthesis (Dynamis)<\/jats:italic>\n                    , a profile-less approach where Large Language Models (LLMs) directly infer dynamic functions based on source code &amp; static compiler analysis, bypassing the need for traditional profiling, and\n                    <jats:italic toggle=\"yes\">Application Profile Generalization (Morpheus)<\/jats:italic>\n                    , which uses generative models trained on compressed and augmented\n                    <jats:italic toggle=\"yes\">Whole Program Path<\/jats:italic>\n                    (WPP) based function profiles to predict application behavior under unseen inputs. Our experiments show that\n                    <jats:italic toggle=\"yes\">Phaedrus<\/jats:italic>\n                    accurately identifies the most frequently executed and runtime-dominated hotspot functions, accounting for up to 85\u201399% of total execution time. Leveraging these predictions,\n                    <jats:italic toggle=\"yes\">Phaedrus<\/jats:italic>\n                    enables superior profile-guided optimizations, delivering an average speedup of 6% (up to 25%) and a binary size reduction of 5.19% (up to 19%), without any program execution. In addition,\n                    <jats:italic toggle=\"yes\">Phaedrus<\/jats:italic>\n                    reduces WPP function profile sizes by up to 10\n                    <jats:sup>7<\/jats:sup>\n                    \u00d7.\n                  <\/jats:p>","DOI":"10.1145\/3798225","type":"journal-article","created":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T14:33:43Z","timestamp":1775831623000},"page":"707-736","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Phaedrus: Predicting Dynamic Application Behavior with Lightweight Generative Models and LLMs"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-3098-6256","authenticated-orcid":false,"given":"Bodhisatwa","family":"Chatterjee","sequence":"first","affiliation":[{"name":"Georgia Institute of Technology, Atlanta, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0006-7496-0452","authenticated-orcid":false,"given":"Neeraj","family":"Jadhav","sequence":"additional","affiliation":[{"name":"Georgia Institute of Technology, Atlanta, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6723-8062","authenticated-orcid":false,"given":"Santosh","family":"Pande","sequence":"additional","affiliation":[{"name":"Georgia Institute of Technology, Atlanta, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,4,10]]},"reference":[{"key":"e_1_3_2_2_2","doi-asserted-by":"publisher","DOI":"10.1145\/3093336.3037706"},{"key":"e_1_3_2_3_2","doi-asserted-by":"publisher","DOI":"10.1109\/cluster.2015.71"},{"key":"e_1_3_2_4_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.parco.2016.05.009"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1109\/pdp.2009.35"},{"key":"e_1_3_2_6_2","unstructured":"Anysphere Inc. 2024. Cursor: AI-Powered Code Editor. https:\/\/cursor.com. Accessed: 2025-03-17."},{"key":"e_1_3_2_7_2","doi-asserted-by":"publisher","DOI":"10.1109\/ipdps.2007.370254"},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10766-012-0211-z"},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","DOI":"10.1109\/2.869371"},{"key":"e_1_3_2_10_2","unstructured":"Scott Beamer Krste Asanovi\u0107 and David Patterson. 2017. The GAP Benchmark Suite. arXiv:1508.03619 [cs.DC] https:\/\/arxiv.org\/abs\/1508.03619"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.18811190"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/1375581.1375595"},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1145\/3135974.3135986"},{"key":"e_1_3_2_14_2","doi-asserted-by":"publisher","DOI":"10.1145\/3185768.3185771"},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1109\/pact.2003.1238012"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380211204"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/3559009.3569645"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1109\/tcad.2009.2014002"},{"key":"e_1_3_2_19_2","unstructured":"Jonathan Cordeiro Shayan Noei and Ying Zou. 2024. An Empirical Study on the Code Refactoring Capability of Large Language Models. arXiv:2411.02320 [cs.SE] https:\/\/arxiv.org\/abs\/2411.02320"},{"key":"e_1_3_2_20_2","unstructured":"Chongzhou Fang Ning Miao Shaurya Srivastav Jialin Liu Ruoyu Zhang Ruijie Fang Asmita Ryan Tsang Najmeh Nazari Han Wang and Houman Homayoun. 2024. Large Language Models for Code Analysis: Do LLMs Really Do Their Job? arXiv:2310.12357 [cs.SE] https:\/\/arxiv.org\/abs\/2310.12357"},{"key":"e_1_3_2_21_2","unstructured":"Shuzheng Gao Cuiyun Gao Wenchao Gu and Michael Lyu. 2024. Search-Based LLMs for Code Optimization. arXiv:2408.12159 [cs.SE] https:\/\/arxiv.org\/abs\/2408.12159"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/3422622"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1145\/217839.217848"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3611643.3617850"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1109\/micro.1997.645834"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.1109\/ainaw.2007.345"},{"issue":"2024","key":"e_1_3_2_27_2","first-page":"1","article-title":"Reordering Functions in Mobiles Apps for Reduced Size and Faster Start-Up","volume":"4","author":"Hoag Ellis","year":"2024","unstructured":"Ellis Hoag, Kyungwoo Lee, Juli\u00e1n Mestre, Sergey Pupyrev, and YongKang Zhu. 2024. Reordering Functions in Mobiles Apps for Reduced Size and Faster Start-Up. ACM Transactions on Embedded Computing Systems 23, 4 (2024), 1\u201354.","journal-title":"ACM Transactions on Embedded Computing Systems 23"},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.1109\/cgo.2004.1281678"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","unstructured":"Richard E. Kessler Mark D Hill and David A Wood. 1994. A comparison of trace-sampling techniques for multi-megabyte caches. IEEE Trans. Comput. 43 6 (1994) 664\u2013675. doi:10.1109\/12.286300","DOI":"10.1109\/12.286300"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/2491661.2481429"},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","DOI":"10.1145\/301631.301678"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2003.1201211"},{"key":"e_1_3_2_33_2","unstructured":"Feng Lin Dong Jae Kim and Tse-Hsun Chen. 2024. When llm-based code generation meets the software development process. arXiv preprint arXiv:2403.15852 (2024)."},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2006.06.007"},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","unstructured":"Fang Liu Yang Liu Lin Shi Houkun Huang Ruifeng Wang Zhen Yang and Li Zhang. 2024. Exploring and Evaluating Hallucinations in LLM-Powered Code Generation. arXiv preprint arXiv:2404.00971 2404 00971 (2024) 1\u201316. arXiv:2404.00971 [cs.SE] doi:10.48550\/arXiv.2404.00971","DOI":"10.48550\/arXiv.2404.00971"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.52202\/075280-0943"},{"key":"e_1_3_2_37_2","unstructured":"Xiaoxia Liu Jingyi Wang Jun Sun Xiaohan Yuan Guoliang Dong Peng Di Wenhai Wang and Dongxia Wang. 2023. Prompting Frameworks for Large Language Models: A Survey. arXiv:2311.12785 [cs.SE] https:\/\/arxiv.org\/abs\/2311.12785"},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.12783\/dtcse\/aics2016\/8220"},{"key":"e_1_3_2_39_2","unstructured":"Wei Ma Shangqing Liu Zhihao Lin Wenhan Wang Qiang Hu Ye Liu Cen Zhang Liming Nie Li Li and Yang Liu. 2024. LMs: Understanding Code Syntax and Semantics for Code Analysis. arXiv:2305.12138 [cs.SE] https:\/\/arxiv.org\/abs\/2305.12138"},{"key":"e_1_3_2_40_2","unstructured":"Zeyuan Ma Hongshu Guo Jiacheng Chen Guojun Peng Zhiguang Cao Yining Ma and Yue-Jiao Gong. 2024. LLaMoCo: Instruction Tuning of Large Language Models for Optimization Code Generation. arXiv:2403.01131 [math.OC] https:\/\/arxiv.org\/abs\/2403.01131"},{"key":"e_1_3_2_41_2","volume-title":"Proceedings of the 2017 Workshop on Approximate Computing Across the Stack (WAX)","author":"Mahmoud Abdulrahman","year":"2017","unstructured":"Abdulrahman Mahmoud, Radha Venkatagiri, Khalique Ahmed, Sarita V. Adve, Sasa Misailovic, and Darko Marinov. 2017. Leveraging software testing to explore input dependence for approximate computing. In Proceedings of the 2017 Workshop on Approximate Computing Across the Stack (WAX). Association for Computing Machinery, Xi\u2019an, China, Article 4, 6 pages. https:\/\/api.semanticscholar.org\/CorpusID:317802"},{"key":"e_1_3_2_42_2","doi-asserted-by":"publisher","DOI":"10.1145\/166962.167023"},{"key":"e_1_3_2_43_2","doi-asserted-by":"publisher","DOI":"10.1109\/l-ca.2003.7"},{"key":"e_1_3_2_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/3696443.3708958"},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.1145\/3485521"},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/3622803"},{"key":"e_1_3_2_47_2","doi-asserted-by":"publisher","DOI":"10.1002\/spe.2264"},{"key":"e_1_3_2_48_2","doi-asserted-by":"crossref","unstructured":"Daye Nam Andrew Macvean Vincent Hellendoorn Bogdan Vasilescu and Brad Myers. 2024. Using an LLM to Help With Code Understanding. arXiv:2307.08177 [cs.SE] https:\/\/arxiv.org\/abs\/2307.08177","DOI":"10.1145\/3597503.3639187"},{"key":"e_1_3_2_49_2","doi-asserted-by":"crossref","unstructured":"Sylvain Kouemo Ngassom Arghavan Moradi Dakhel Florian Tambon and Foutse Khomh. 2024. Chain of Targeted Verification Questions to Improve the Reliability of Code Generated by LLMs. arXiv:2405.13932 [cs.SE] https:\/\/arxiv.org\/abs\/2405.13932","DOI":"10.1145\/3664646.3664772"},{"key":"e_1_3_2_50_2","first-page":"33","volume-title":"Proceedings of the 26th USENIX Conference on Security Symposium (Vancouver, BC, Canada) (SEC\u201917)","author":"Ning Zhenyu","year":"2017","unstructured":"Zhenyu Ning and Fengwei Zhang. 2017. Ninja: towards transparent tracing and debugging on ARM. In Proceedings of the 26th USENIX Conference on Security Symposium (Vancouver, BC, Canada) (SEC\u201917). USENIX Association, USA, 33\u201349."},{"key":"e_1_3_2_51_2","doi-asserted-by":"publisher","DOI":"10.1109\/tifs.2018.2883027"},{"key":"e_1_3_2_52_2","doi-asserted-by":"publisher","DOI":"10.1109\/LLVM-HPC.2014.6"},{"key":"e_1_3_2_53_2","unstructured":"Maksim Panchenko Rafael Auler Bill Nell and Guilherme Ottoni. 2018. BOLT: A Practical Binary Optimizer for Data Centers and Beyond. arXiv:1807.06735 [cs.PL] https:\/\/arxiv.org\/abs\/1807.06735"},{"key":"e_1_3_2_54_2","doi-asserted-by":"publisher","DOI":"10.1145\/93542.93550"},{"key":"e_1_3_2_55_2","unstructured":"Dorin Pomian Abhiram Bellur Malinda Dilhara Zarina Kurbatova Egor Bogomolov Timofey Bryksin and Danny Dig. 2024. Together We Go Further: LLMs and IDE Static Analysis for Extract Method Refactoring. arXiv:2401.15298 [cs.SE] https:\/\/arxiv.org\/abs\/2401.15298"},{"key":"e_1_3_2_56_2","unstructured":"Ruizhong Qiu Weiliang Will Zeng Hanghang Tong James Ezick and Christopher Lott. 2024. How Efficient is LLM-Generated Code? A Rigorous & High-Standard Benchmark. arXiv:2406.06647 [cs.SE] https:\/\/arxiv.org\/abs\/2406.06647"},{"key":"e_1_3_2_57_2","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0014207"},{"key":"e_1_3_2_58_2","doi-asserted-by":"publisher","DOI":"10.1109\/CLUSTER.2015.121"},{"key":"e_1_3_2_59_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISPASS.2011.5762721"},{"key":"e_1_3_2_60_2","unstructured":"Miguel Romero Rosas Miguel Torres Sanchez and Rudolf Eigenmann. 2024. Should AI Optimize Your Code? A Comparative Study of Current Large Language Models Versus Classical Optimizing Compilers. arXiv:2406.12146 [cs.AI] https:\/\/arxiv.org\/abs\/2406.12146"},{"key":"e_1_3_2_61_2","doi-asserted-by":"publisher","DOI":"10.23919\/MIPRO48935.2020.9245290"},{"key":"e_1_3_2_62_2","doi-asserted-by":"publisher","DOI":"10.1177\/1094342009106193"},{"key":"e_1_3_2_63_2","unstructured":"Claudio Spiess David Gros Kunal Suresh Pai Michael Pradel Md Rafiqul Islam Rabin Amin Alipour Susmit Jha Prem Devanbu and Toufique Ahmed. 2024. Calibration and Correctness of Language Models for Code. arXiv:2402.02047 [cs.SE] https:\/\/arxiv.org\/abs\/2402.02047"},{"key":"e_1_3_2_64_2","doi-asserted-by":"publisher","DOI":"10.1109\/sbac-pad49847.2020.00047"},{"key":"e_1_3_2_65_2","doi-asserted-by":"publisher","DOI":"10.1109\/PACT.2005.11"},{"key":"e_1_3_2_66_2","doi-asserted-by":"publisher","DOI":"10.1109\/VL\/HCC60511.2024.00051"},{"key":"e_1_3_2_67_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3639140"},{"key":"e_1_3_2_68_2","doi-asserted-by":"publisher","DOI":"10.1145\/254180.254184"},{"key":"e_1_3_2_69_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-46506-5_5"},{"key":"e_1_3_2_70_2","doi-asserted-by":"publisher","DOI":"10.1145\/3368826.3377910"},{"key":"e_1_3_2_71_2","doi-asserted-by":"publisher","DOI":"10.1109\/access.2022.3214971"},{"key":"e_1_3_2_72_2","doi-asserted-by":"publisher","DOI":"10.1109\/ipdps.2011.234"},{"key":"e_1_3_2_73_2","doi-asserted-by":"crossref","unstructured":"Yue Wang Hung Le Akhilesh Deepak Gotmare Nghi D. Q. Bui Junnan Li and Steven C. H. Hoi. 2023. CodeT5+: Open Code Large Language Models for Code Understanding and Generation. arXiv:2305.07922 [cs.CL] https:\/\/arxiv.org\/abs\/2305.07922","DOI":"10.18653\/v1\/2023.emnlp-main.68"},{"key":"e_1_3_2_74_2","unstructured":"Xingyu Wu Sheng hao Wu Jibin Wu Liang Feng and Kay Chen Tan. 2024. Evolutionary Computation in the Era of Large Language Model: Survey and Roadmap. arXiv:2401.10034 [cs.NE] https:\/\/arxiv.org\/abs\/2401.10034"},{"key":"e_1_3_2_75_2","doi-asserted-by":"publisher","unstructured":"Ziyang Xu Yebin Chon Yian Su Zujun Tan Sotiris Apostolakis Simone Campanoni and David I August. 2024. PROMPT: A Fast and Extensible Memory Profiling Framework. Proceedings of the ACM on Programming Languages 8 OOPSLA1 (2024) 449\u2013473. doi:10.1145\/3649827","DOI":"10.1145\/3649827"},{"key":"e_1_3_2_76_2","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2309.03409"},{"key":"e_1_3_2_77_2","doi-asserted-by":"publisher","DOI":"10.1145\/3626235"},{"key":"e_1_3_2_78_2","doi-asserted-by":"publisher","DOI":"10.1109\/MICRO.2004.24"},{"key":"e_1_3_2_79_2","doi-asserted-by":"publisher","DOI":"10.1145\/378795.378835"},{"key":"e_1_3_2_80_2","doi-asserted-by":"publisher","DOI":"10.1109\/DCC.2002.999951"},{"key":"e_1_3_2_81_2","unstructured":"Li Zhong and Zilong Wang. 2024. Can ChatGPT replace StackOverflow? A Study on Robustness and Reliability of Large Language Model Code Generation. arXiv:2308.10335 [cs.CL] https:\/\/arxiv.org\/abs\/2308.10335"},{"key":"e_1_3_2_82_2","unstructured":"Zixuan Zhou Xuefei Ning Ke Hong Tianyu Fu Jiaming Xu Shiyao Li Yuming Lou Luning Wang Zhihang Yuan Xiuhong Li Shengen Yan Guohao Dai Xiao-Ping Zhang Yuhan Dong and Yu Wang. 2024. A Survey on Efficient Inference for Large Language Models. ArXiv abs\/2404.14294 (2024). https:\/\/api.semanticscholar.org\/CorpusID:269293007"},{"key":"e_1_3_2_83_2","unstructured":"Zixuan Zhou Xuefei Ning Ke Hong Tianyu Fu Jiaming Xu Shiyao Li Yuming Lou Luning Wang Zhihang Yuan Xiuhong Li Shengen Yan Guohao Dai Xiao-Ping Zhang Yuhan Dong and Yu Wang. 2024. A Survey on Efficient Inference for Large Language Models. arXiv:2404.14294 [cs.CL] https:\/\/arxiv.org\/abs\/2404.14294"},{"key":"e_1_3_2_84_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2024.112058"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3798225","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T11:22:10Z","timestamp":1790421730000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3798225"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,4,10]]},"references-count":83,"journal-issue":{"issue":"OOPSLA1","published-print":{"date-parts":[[2026,4,10]]}},"alternative-id":["10.1145\/3798225"],"URL":"https:\/\/doi.org\/10.1145\/3798225","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,4,10]]},"assertion":[{"value":"2025-10-10","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-02-17","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-10","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}