google-research / paper-orchestra
PaperOrchestra: A Multi-Agent Framework for Automated AI Research Paper Writing
Yiwen Song1, Yale Song1, Tomas Pfister1, and Jinsung Yoon1 1Google Cloud AI
PaperOrchestra 是一个用于自动化 AI 研究论文写作的多智能体框架。
PaperOrchestra is a multi-agent framework for automated AI research paper writing. It flexibly transforms unconstrained pre-writing materials (ideas and experimental logs) into submission-ready LaTeX manuscripts, including comprehensive literature synthesis and generated visuals, such as plots and conceptual diagrams.
它能够灵活地将非结构化的写作前材料(想法和实验日志)转换为可提交的 LaTeX 手稿,包括全面的文献综述以及生成的图表(如绘图和概念图)。
Acting like an orchestrated team of specialized agents, it handles outline generation, literature review, section writing, content refinement, and plotting to close the gap between raw research materials and submission ready papers.
它像一个由专业智能体组成的协作团队一样运作,处理大纲生成、文献综述、章节撰写、内容润色和绘图,从而缩短原始研究材料与可提交论文之间的差距。
Key Features
主要功能
-
Multi-Agent Pipeline: Orchestrates specialized agents (Outline, Literature Review, Section Writing, Content Refinement, Plotting) for end-to-end paper generation.
-
Comprehensive Literature Synthesis: Automatically searches, prioritizes, and integrates relevant literature into the manuscript.
-
Visuals Generation: Generates plots and supports the inclusion of conceptual diagrams.
-
LaTeX Automation: Produces submission-ready LaTeX manuscripts adhering to target conference templates.
-
多智能体流水线: 协调专业智能体(大纲、文献综述、章节撰写、内容润色、绘图)进行端到端的论文生成。
-
全面的文献综述: 自动搜索、优先排序并将相关文献整合到手稿中。
-
视觉生成: 生成绘图并支持包含概念图。
-
LaTeX 自动化: 生成符合目标会议模板的可提交 LaTeX 手稿。
Installation
安装
Environment Setup: The project relies on a Conda environment named paper_orchestra. You can set up a similar environment with Python 3.11 and install the required dependencies.
环境设置:该项目依赖于名为 paper_orchestra 的 Conda 环境。你可以使用 Python 3.11 设置类似的环境并安装所需的依赖项。
conda create -n paper_orchestra python=3.11
conda activate paper_orchestra
pip install -r requirements.txt
Environment Variables: Create a .env file in the root of the project and add your API keys.
环境变量:在项目根目录下创建一个 .env 文件并添加你的 API 密钥。
Dataset
数据集
The dataset used for paper generation is not included in this code repository. It will be released separately at a later date. Once available, you should download the dataset and place it under the datasets/ directory.
用于论文生成的数据集未包含在此代码仓库中。它将在稍后单独发布。一旦可用,你应该下载该数据集并将其放置在 datasets/ 目录下。
Usage
使用方法
You can run the paper generation pipeline using the provided bash script or directly via the Python CLI.
你可以使用提供的 bash 脚本或直接通过 Python CLI 运行论文生成流水线。
Using the Bash Script: ./paper_writing_cli.sh
使用 Bash 脚本:./paper_writing_cli.sh
Using the Python CLI directly:
python paper_writing_cli.py --raw_materials_dir /path_to_your_raw_materials/ --latex_template_dir /path_to_your_latex_template/ --output_dir /path_to_your_output_folder/ --use_plotting true
直接使用 Python CLI:
python paper_writing_cli.py --raw_materials_dir /path_to_your_raw_materials/ --latex_template_dir /path_to_your_latex_template/ --output_dir /path_to_your_output_folder/ --use_plotting true
Key Arguments
关键参数
-
—raw_materials_dir: (Required) Directory containing the raw materials (e.g., idea and experimental log).
-
—latex_template_dir: (Required) Directory containing the LaTeX template (e.g., templates/cvpr2025).
-
—output_dir: Directory to output the generated paper. If not specified, an automatic folder with a timestamp is created.
-
—use_plotting: Enable the plotting agent workflow to generate figures from code (Default: False).
-
—writer_model_name: LLM for writer and literature agents.
-
—reflection_model_name: LLM for reflection agents.
-
—raw_materials_dir: (必需)包含原始材料(例如想法和实验日志)的目录。
-
—latex_template_dir: (必需)包含 LaTeX 模板(例如 templates/cvpr2025)的目录。
-
—output_dir: 输出生成论文的目录。如果未指定,将自动创建一个带有时间戳的文件夹。
-
—use_plotting: 启用绘图智能体工作流以从代码生成图表(默认:False)。
-
—writer_model_name: 用于写作和文献智能体的大语言模型。
-
—reflection_model_name: 用于反思智能体的大语言模型。
Interactive Demo
交互式演示
We provide an interactive Streamlit demo for the paper generation pipeline. For instructions on how to run and use it, please refer to the README.md in the frontend directory.
我们为论文生成流水线提供了一个交互式的 Streamlit 演示。有关如何运行和使用它的说明,请参阅 frontend 目录中的 README.md。
Project Structure
项目结构
-
autoraters/: Contains scripts for automated evaluation.
-
methods/: Core logic for agents and pipeline execution.
-
templates/: LaTeX templates for target conferences, you can add your own template by creating a new subfolder under this directory.
-
utils/: Utility functions for API calls, PDF handling, etc.
-
autoraters/: 包含用于自动评估的脚本。
-
methods/: 智能体和流水线执行的核心逻辑。
-
templates/: 目标会议的 LaTeX 模板,你可以通过在此目录下创建新的子文件夹来添加自己的模板。
-
utils/: 用于 API 调用、PDF 处理等的实用函数。
Citation
引用
If you find this repo or our paper helpful, please cite it as follows:
如果你觉得这个仓库或我们的论文有帮助,请按如下方式引用:
@article{song2026paperorchestra,
title={PaperOrchestra: A Multi-Agent Framework for Automated AI Research Paper Writing},
author={Song, Yiwen and Song, Yale and Pfister, Tomas and Yoon, Jinsung},
journal={arXiv preprint arXiv:2604.05018},
year={2026}
}
Disclaimer
免责声明
This is not an officially supported Google product.
这不是 Google 官方支持的产品。