README.md

October 26, 2025 ยท View on GitHub

SEAGraph Logo ย  SEAGraph: Unveiling the Whole Story Behind Paper Review Comments

Because every review comment tells a deeper story...

paper Python


๐ŸŽฏ 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.

SEAGraph Framework

The SEAGraph Framework: Connecting the dots between papers, reviews, and research context

๐Ÿง  How Does It Work?

SEAGraph constructs two powerful knowledge structures:

  1. ๐Ÿ“š Semantic Mind Graph (SMG): Captures the author's thought process and the logical flow of the paper
  2. ๐ŸŒ 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!

Example Case

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:

StepScriptDescription
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 5t44vPlv9x with your paper's unique identifier!


๐Ÿ“Š Performance Insights

Performance Comparison

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!