Hierarchical Research Agent System (HiRAS)
This repository contains the implementation of the Hierarchical Research Agent System (HiRAS), a multi-agent framework for automated research paper replication.
- Please download the paper data from PaperBench and [Paper2Code] (https://github.com/going-doer/Paper2Code)
- Put the benchmarks under the
data/directory, following the structure:
data/
├── paperbench/
│ ├── adaptive-pruning/
│ │ ├── paper.md
│ │ ├── addendum.md
│ │ └── ...
│ ├── all-in-one/
│ │ └── ...
│ └── ...
└── paper2code/
├── dataset_info.json
├── iclr2024/
│ ├── auto-j_cleaned.json
│ └── ...
├── icml2024/
└── nips2024/
Specify the model API base URL and authentication credentials in run.py.
- Install the required dependencies:
pip install -r requirements.txt- Create a base environment for running experiments to avoid interference with the system environment. For example:
conda create -n ExpBase python=3.11
conda activate ExpBase
pip install -r exp_env_example.txt
conda deactivate- Following the configuration in
run.sh, specify:
- the base environment (ExpBase)
- a temporary execution environment name that will be copied from the base environment for running experiments.
This setup ensures isolation across runs.
Please refer to run.sh for example commands to execute the HiRAS framework. By default, all experimental outputs will be saved to the output/ directory.