Reproduce “Multi-Programming Language Sandbox for LLMs” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Shihan Dou, Jiazheng Zhang, Jianxiang Zang, Yunbo Tao, Weikang Zhou, Haoxiang Jia, Shichun Liu, Yuming Yang and 20 more

MPLSandbox is a multi-programming language sandbox that enhances the quality and correctness of code generated by Large Language Models by providing unified compiler feedback and comprehensive code analysis. Developed and deployed by Fudan University and Meituan Inc., it has been shown to improve LLM performance in various code-related tasks, including self-correction and optimization.

Key insights

  • Providing LLMs with a unified source of feedback, including both compiler results and comprehensive code analysis reports, is essential for improving code correctness and quality across diverse languages.
  • An extensible, multi-language sandbox architecture, with automatic language identification and isolated execution, effectively addresses the challenges of polyglot software development for LLMs.
  • Streamlining the integration of execution and analysis tools into LLM pipelines significantly reduces researchers' infrastructure overhead, enabling greater focus on model development and optimization.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.