README.md
October 26, 2025 ยท View on GitHub
ย SEAGraph: Unveiling the Whole Story Behind Paper Review Comments
Because every review comment tells a deeper story...
๐ฏ What is SEAGraph?
Ever wondered what reviewers really mean when they write those cryptic comments on your paper? ๐ค
SEAGraph is an intelligent framework that acts as your personal "review comment interpreter"! It doesn't just read review commentsโit unveils the underlying intentions, context, and research landscape behind them.
The SEAGraph Framework: Connecting the dots between papers, reviews, and research context
๐ง How Does It Work?
SEAGraph constructs two powerful knowledge structures:
- ๐ Semantic Mind Graph (SMG): Captures the author's thought process and the logical flow of the paper
- ๐ Hierarchical Background Graph (HBG): Maps out the research domains, related work, and academic context
By combining these graphs with intelligent retrieval, SEAGraph generates coherent, context-aware explanations that help you truly understand what reviewers are asking for!
See SEAGraph in action: Transforming vague comments into actionable insights
๐ Quick Start
Prerequisites
SEAGraph uses two separate environments due to dependency conflicts. Don't worryโwe've got you covered!
๐ฌ Environment 1: For Nougat (PDF Parsing)
cuda==12.4
python==3.9.20
torch==2.5.1
transformers==4.38.2
nougat-ocr==0.1.17
numpy==2.0.2
๐ค Environment 2: For Mistral & Sentence-BERT (Graph Construction & Retrieval)
cuda==12.4
python==3.9.20
torch==2.5.1
vllm==0.6.4.post1
transformers==4.46.3
sentence-transformers==3.3.1
torch_cluster==1.6.3
torch_scatter==2.1.2
torch_sparse==0.6.18
torch_spline_conv==1.2.2
โ ๏ธ Pro Tip: The Nougat environment may conflict with the Mistral environment. Consider using separate conda/virtual environments!
๐ Project Structure
SEAGraph/
โโโ ๐ data/
โ โโโ paper_pdf/ # ๐ Place your academic papers here (PDF format)
โ โโโ raw_review/ # ๐ Place your review comments here (TXT format)
โโโ ๐ป code/ # ๐ ๏ธ All the magic happens here
โโโ ๐ result/ # โจ Your explanations will appear here (JSON format)
โโโ ๐จ asset/ # ๐ผ๏ธ Figures and visualizations
๐ฌ The SEAGraph Pipeline
Transform your paper and review comments into insightful explanations in 10 easy steps:
| Step | Script | Description |
|---|---|---|
| 1๏ธโฃ | pdf_parse.py | ๐ Parse your PDF into machine-readable format (MMD) |
| 2๏ธโฃ | smg.py | ๐ง Construct the Semantic Mind Graph |
| 3๏ธโฃ | review_process.py | ๐ Extract and process review comments |
| 4๏ธโฃ | hbg_related_paper_search.py | ๐ Search for related papers based on citations |
| 5๏ธโฃ | hbg_themes_infer.py | ๐ฏ Infer research themes and topics |
| 6๏ธโฃ | hbg_hot_paper_search.py | ๐ฅ Find trending papers in your field |
| 7๏ธโฃ | hbg_process_paper.py | โ๏ธ Process all background papers |
| 8๏ธโฃ | retrieve_smg.py | ๐ฃ Retrieve relevant content from SMG |
| 9๏ธโฃ | retrieve_hbg.py | ๐ฃ Retrieve relevant content from HBG |
| ๐ | rag_seagraph.py | ๐ Generate comprehensive explanations! |
๐ก Usage
It's as simple as running a single command!
python <script_name>.py --filename <your_paper_id>
Example: Process a Paper End-to-End
# Step 1: Parse the PDF
python pdf_parse.py --filename 5t44vPlv9x
# Step 2: Build the Semantic Mind Graph
python smg.py --filename 5t44vPlv9x
# Step 3: Process review comments
python review_process.py --filename 5t44vPlv9x
# ... continue with remaining steps ...
# Final step: Generate explanations
python rag_seagraph.py --filename 5t44vPlv9x
๐ก Tip: Replace
5t44vPlv9xwith your paper's unique identifier!
๐ Performance Insights
SEAGraph performance across different metrics
๐ค Contributing
We welcome contributions! Whether it's:
- ๐ Bug reports
- ๐ก Feature suggestions
- ๐ Documentation improvements
- ๐ง Code contributions
Feel free to open an issue or submit a pull request!
๐ Citation
If you find SEAGraph helpful in your research, please consider citing our work:
@article{yu2024seagraph,
title={SEAGraph: Unveiling the Whole Story of Paper Review Comments},
author={Yu, Jianxiang and Tan, Jiaqi and Ding, Zichen and Zhu, Jiapeng and Li, Jiahao and Cheng, Yao and Cui, Qier and Lan, Yunshi and Li, Xiang},
journal={arXiv preprint arXiv:2412.11939},
year={2024}
}
๐ง Contact
Have questions? Reach out to us!
- ๐ฎ Email: sea.ecnu@gmail.com