paper-with-me

Papers

MDAgent2: Large Language Model for Code Generation and Knowledge Q&A in Molecular Dynamics

2026-01-05 · Zhuofan Shi, Hubao A, Yufei Shao, Dongliang Huang, Hongxu An, Chunxiao Xin, Haiyang Shen, Zhenyu Wang, Yunshan Na, Gang Huang, Xiang Jing arxiv

Molecular dynamics (MD) simulations are essential for understanding atomic-scale behaviors in materials science, yet writing LAMMPS scripts remains highly specialized and time-consuming tasks. Although LLMs show promise in code generation and domain-specific question answering, their performance in MD scenarios is limited by scarce domain data, the high deployment cost of state-of-the-art LLMs, and low code executability. Building upon our prior MDAgent, we present MDAgent2, the first end-to-end framework capable of performing both knowledge Q&A and code generation within the MD domain. We construct a domain-specific data-construction pipeline that yields three high-quality datasets spanning MD knowledge, question answering, and code generation. Based on these datasets, we adopt a three stage post-training strategy--continued pre-training (CPT), supervised fine-tuning (SFT), and reinforcement learning (RL)--to train two domain-adapted models, MD-Instruct and MD-Code. Furthermore, we introduce MD-GRPO, a closed-loop RL method that leverages simulation outcomes as reward signals and recycles low-reward trajectories for continual refinement. We further build MDAgent2-RUNTIME, a deployable multi-agent system that integrates code generation, execution, evaluation, and self-correction. Together with MD-EvalBench proposed in this work, the first benchmark for LAMMPS code generation and question answering, our models and system achieve performance surpassing several strong baselines.This work systematically demonstrates the adaptability and generalization capability of large language models in industrial simulation tasks, laying a methodological foundation for automatic code generation in AI for Science and industrial-scale simulations. URL: https://github.com/FredericVAN/PKU_MDAgent2

📄 PDF Abstract BibTeX arXiv:2601.02075

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement LearningQuestion AnsweringCode Generation

Similar Papers 제목 키워드 기반

MDAgents: An Adaptive Collaboration of LLMs for Medical Decision-Making

2024-04-22 · Yubin Kim, Chanwoo Park, Hyewon Jeong, Yik Siu Chan 외

Foundation models are becoming valuable tools in medicine. Yet despite their promise, the best way to leverage Large Language Models (LLMs) in complex medical tasks remains an open question. We introduce a novel multi-ag…

Decision MakingMedical DiagnosisVisual Question Answering (VQA)

LaMDAgent: An Autonomous Framework for Post-Training Pipeline Optimization via LLM Agents

2025-05-28 · Taro Yano, Yoichi Ishibashi, Masafumi Oyamada

Large Language Models (LLMs) have demonstrated exceptional performance across a wide range of tasks. To further tailor LLMs to specific domains or applications, post-training techniques such as Supervised Fine-Tuning (SF…

Instruction Following

A Demonstration of Adaptive Collaboration of Large Language Models for Medical Decision-Making

2024-10-31 · Yubin Kim, Chanwoo Park, Hyewon Jeong, Cristina Grau-Vilchez 외

Medical Decision-Making (MDM) is a multi-faceted process that requires clinicians to assess complex multi-modal patient data patient, often collaboratively. Large Language Models (LLMs) promise to streamline this process…

Decision MakingDiagnostic

TheraAgent: Multi-Agent Framework with Self-Evolving Memory and Evidence-Calibrated Reasoning for PET Theranostics

2026-03-14 · Zhihao Chen, Jiahui Wang, Yizhou Chen, Xiaozhong Ji 외 arxiv

PET theranostics is transforming precision oncology, yet treatment response varies substantially; many patients receiving 177Lu-PSMA radioligand therapy (RLT) for metastatic castration-resistant prostate cancer (mCRPC) f…

Medical Diagnosis

TeamMedAgents: Pareto-Efficient Multi-Agent Medical Reasoning Through Teamwork Theory

2025-08-11 · Pranav Pushkar Mishra, Mohammad Arvan, Mohan Zalake arxiv

Complex medical reasoning has historically required frontier language models to achieve clinically-acceptable accuracy, creating computational barriers that limit deployment in resource-constrained clinical settings. We …