Reproduce “AI-for-Science Low-code Platform with Bayesian Adversarial Multi-Agent Framework” 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

Zihang Zeng, Jiaquan Zhang, Pengze Li, Yuan Qi, Xi Chen

A framework developed at Fudan University and Shanghai Innovation Institute introduces a low-code platform for AI for Science, using a Bayesian adversarial multi-agent system to iteratively refine LLM-generated scientific code and test cases. It achieved up to 87.1% relative improvement on the SciCode benchmark and enabled smaller LLMs to match the performance of models 16 times larger, making AI4S tools more accessible and reliable for non-experts.

Key insights

  • Adversarial co-evolution between code generation and test case creation, guided by Bayesian principles, effectively reduces LLM-inherent unreliability and uncertainty in scientific coding tasks.
  • Leveraging Bayesian Optimization for code performance estimation allows for efficient exploration of the solution space, reducing the need for exhaustive execution of all generated code variants.
  • The framework enables non-technical domain experts to generate high-quality scientific code, significantly bridging the human-AI domain gap by internally refining basic prompts into precise, executable requirements.

Summary by alphaXiv.

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