arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.08803cs.OScs.DCcs.LGcs.NE
收藏

人为启发式已死,代码生成器万岁!

Man-Made Heuristics Are Dead. Long Live Code Generators!

The University of Texas at Austin(德克萨斯大学奥斯汀分校)

Rohit Dwivedula, Divyanshu Saxena, Aditya Akella, Swarat Chaudhuri, Daehyeok Kim

AI总结:

本文提出PolicySmith框架,利用大型语言模型驱动的代码生成自动搜索实例最优启发式策略,应用于Web缓存和拥塞控制,分别优于基线并可直接集成到Linux内核。

摘要:

各种系统控制器的策略设计传统上是一个手动过程,领域专家针对策略将部署的特定实例精心定制启发式规则。在本文中,我们通过一种新颖的自动化搜索技术重新构想策略设计,该技术得益于生成模型的最新进展,特别是大型语言模型(LLM)驱动的代码生成。我们概述了PolicySmith框架的设计与实现,该框架应用LLM来合成实例最优的启发式规则。我们将PolicySmith应用于两个长期存在的系统策略——Web缓存和拥塞控制,凸显了这种LLM驱动的启发式搜索所揭示的机遇。对于缓存,PolicySmith发现的启发式规则在标准开源跟踪数据上优于已建立的基线。对于拥塞控制,我们展示了PolicySmith能够生成可直接集成到Linux内核中的安全策略。

英文摘要:

Policy design for various systems controllers has conventionally been a manual process, with domain experts carefully tailoring heuristics for the specific instance in which the policy will be deployed. In this paper, we re-imagine policy design via a novel automated search technique fueled by recent advances in generative models, specifically Large Language Model (LLM)-driven code generation. We outline the design and implementation of PolicySmith, a framework that applies LLMs to synthesize instance-optimal heuristics. We apply PolicySmith to two long-standing systems policies - web caching and congestion control, highlighting the opportunities unraveled by this LLM-driven heuristic search. For caching, PolicySmith discovers heuristics that outperform established baselines on standard open-source traces. For congestion control, we show that PolicySmith can generate safe policies that integrate directly into the Linux kernel.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑