← News

Agents & MCPSources: arXiv · 4 Dec 2026

Paper2Frame turns research papers into code that fits existing frameworks

A new arXiv paper describes an agent that implements a paper's algorithm inside a shared research framework rather than as a standalone repository, with evaluation across 12 papers.

In plain words

Researchers often run algorithms inside one shared codebase so results stay comparable, but current paper-to-code tools build separate standalone programs instead. Paper2Frame is a new method that places each part of a paper's algorithm at the right spot in that shared codebase. The authors also introduce FrameJudge, a grading system that scores whether the resulting code runs, matches the paper, and respects the framework.

What was announced

The authors say existing paper-to-code systems produce a separate repository for each algorithm, while researchers prefer a shared framework for consistent evaluation and maintenance. Paper2Frame first builds a map of extension points and reusable components from the framework's source code, then decides where each element of an algorithm belongs before writing any code, leaving the framework core unchanged.

For evaluation, FrameJudge writes grading criteria from the paper and the framework separately and scores run success, algorithm accuracy, and framework faithfulness as three distinct measures. Tested on 12 papers across three federated learning frameworks, whose algorithms span clients, a server, and communication rounds, Paper2Frame ran successfully on 94–100% of attempts using three models, with algorithm scores of 0.92–0.99 and framework scores of 0.83–0.89. Against the official code of seven papers under the same setting, its implementations reached final accuracy within 3.1% of the reference code. These results come from the paper's own abstract and have not been independently verified.

What it does not show

  • Evidence is limited to the paper's abstract; full methods, experimental details, and code availability are not covered.
  • All reported scores and comparisons are the authors' own evaluations and have not been independently confirmed.
  • Testing was confined to federated learning frameworks, so results may not generalize to other domains.

Sources

Source-support review completed 4 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 4 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.