Implement Parallel Tempering
Maintainer thường phản hồi trong vòng 2 ngày
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
Start by reviewing the open pull request #263 and the cited replica-exchange references; the issue names no source files or tests. The proposed work spans parallel system creation, temperature exchanges, velocity updates, and efficient trajectory access, with thermostat behavior still uncertain; done means implementing and validating that workflow for NVT or NPT simulations.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Parallel Tempering is a way to improve the coverage of a distribution, by preventing a system to be trapped in a local minimum. The idea is that it's easier to pass an energy barrier with more energy, in this case provided by a higher temperature.
So, a number N of simulations are run in parallel at temperatures T_1, ..., T_N. Every n_step, a proposal to exchange two adjacent systems with temperatures T_i, T_{i+1} is tested using Metropolis Hasting. In case of success, the systems are exchange, so that the in practice the temperatures are changed and velocities are scaled.
Doing so, all chains for a given temperature follow its Boltzmann distribution for the intended temperature.
The implementation in TorchSim would be fairly easy in the first approach.
- Choose a system to analyse
- Create a function that duplicate into N systems
- Choose the temperatures to consider (often logarithmic)
- Every n_step test the exchange of adjacent systems. In case of success, of course don't change the index of systems but only the temperatures. Integrators are already able to accept different temperatures for a batched system.
- Update velocities in case of success
- (Most important step) save efficiently the trajectories so that it's easy to access the trajectories for all temperatures or a chosen temperature (most of the time the lowest temperature).Note:
- this approach works both for NVT or NPT simulations.
- I suspect NVT Nosé Hoover may not work properly. Or at least maybe the thermostat (extended variable) need to be rescaled or reset. But I don't have proof for that.
- Actually the swap does not need to be between adjacent, it's often an approximation as the probability of swapping is exponentially low.
References:
- GROMACS: https://manual.gromacs.org/documentation/2024.0/reference-manual/algorithms/replica-exchange.html
- K. Hukushima and K. Nemoto, “Exchange Monte Carlo Method and Application to Spin Glass Simulations,” J. Phys. Soc. Jpn., 65 1604–1608 (1996). -> Apply for Monte Carlo simulations, no thermostat
- Y. Sugita and Y. Okamoto, “Replica-exchange molecular dynamics method for protein folding,” Chem. Phys. Lett., 314 141–151 (1999). -> MD simulation but thermostat only relevant for perfect gaz, as far as I understood.
- Ngôn ngữ chính
- Python
- Star
- 502
- Fork
- 108
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TorchSim/torch-sim
-
`unwrap_positions` gives wrong results for triclinic cellsCó thể đã có người làm @lance-lii đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
TorchSim/torch-sim#629 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Autobatcher memory probe does not recognize cuequivariance out-of-memory errorsCó thể đã có người làm @lil-lon đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
TorchSim/torch-sim#627 · 4 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Add MLIPOps backendsĐang mởhelp wanted ml-eng-friendly
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
TorchSim/torch-sim#606 · 6 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
TorchSim/torch-sim#597 · 7 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của TorchSim/torch-sim
Issue tương tự
-
predict_file with crop_model duplicates predictions once per imageCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
weecology/DeepForest#1445 ·
-
agent-ready priority: medium status: ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
melodic-software/claude-code-plugins#11864 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PolicyEngine/policyengine-uk#2785 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
correction metadata
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
acl-org/acl-anthology#10724 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
use-agent-os/agent-os#3739 ·
Maintainer thường phản hồi trong vòng 1 ngày