LLM agents can turn the algorithm from a research paper into working code. Existing paper-to-code systems generate a separate standalone repository for each algorithm, while researchers collect and run algorithms inside a shared framework for consistent evaluation and maintenance. Implementing a paper inside such a framework requires reusing the base components that the framework shares across algorithms and placing each algorithm-specific behavior at the extension point where it belongs, without changing the core code of the framework. We propose Paper2Frame, which implements an algorithm on top of a framework by determining where each element of the algorithm belongs before writing code, using a map of extension points and reusable components that it builds from the framework source. To evaluate such implementations, we propose FrameJudge, which writes grading criteria from the paper and the framework separately and grades run success, algorithm accuracy, and framework faithfulness as three separate measures. We implement and evaluate 12 papers on three frameworks in federated learning (FL), whose algorithms have a complex structure that spans clients, a server, and communication rounds. Using three models, 94--100% of Paper2Frame implementations run successfully, with algorithm scores of 0.92--0.99 and framework scores of 0.83--0.89. We compare the implementations of Paper2Frame with the official code of seven papers under the same setting, and they reach a final accuracy within 3.1% of the reference code, which indicates that Paper2Frame implements the algorithms of the papers accurately.


翻译:暂无翻译

0
下载
关闭预览

相关内容

代码(Code)是专知网的一个重要知识资料文档板块,旨在整理收录论文源代码、复现代码,经典工程代码等,便于用户查阅下载使用。
综述 | Self-Evolving Coding Agents:自进化编程智能体
AgentOps综述:智能体系统运维框架
专知会员服务
25+阅读 · 6月4日
WWW2025 | KAG:一种大模型知识增强生成框架
专知会员服务
29+阅读 · 2025年7月22日
WWW 2025 | 基于模式引导的多智能体协同知识抽取框架
专知会员服务
21+阅读 · 2025年6月26日
AI Agent,大模型时代重要落地方向, 42页ppt
专知会员服务
292+阅读 · 2023年10月12日
机器学习相关资源(框架、库、软件)大列表
专知会员服务
40+阅读 · 2019年10月9日
Unsupervised Learning via Meta-Learning
CreateAMind
44+阅读 · 2019年1月3日
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
机器人开发库软件大列表
专知
10+阅读 · 2018年3月18日
手把手教 | 深度学习库PyTorch(附代码)
数据派THU
27+阅读 · 2018年3月15日
tensorflow项目学习路径
数据挖掘入门与实战
22+阅读 · 2017年11月19日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
19+阅读 · 2012年12月31日
国家自然科学基金
18+阅读 · 2009年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
15+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
12+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
7+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
11+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
9+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
18+阅读 · 11月25日
相关资讯
Unsupervised Learning via Meta-Learning
CreateAMind
44+阅读 · 2019年1月3日
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
机器人开发库软件大列表
专知
10+阅读 · 2018年3月18日
手把手教 | 深度学习库PyTorch(附代码)
数据派THU
27+阅读 · 2018年3月15日
tensorflow项目学习路径
数据挖掘入门与实战
22+阅读 · 2017年11月19日
相关基金
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
19+阅读 · 2012年12月31日
国家自然科学基金
18+阅读 · 2009年12月31日
Top
微信扫码咨询专知VIP会员