Skip to content

【Hackathon 10th Spring No.7】wD-MPNN模型复现#267

Open
r-cloudforge wants to merge 6 commits intoPaddlePaddle:developfrom
CloudForge-Solutions:task/007-wd-mpnn-reproduction
Open

【Hackathon 10th Spring No.7】wD-MPNN模型复现#267
r-cloudforge wants to merge 6 commits intoPaddlePaddle:developfrom
CloudForge-Solutions:task/007-wd-mpnn-reproduction

Conversation

@r-cloudforge
Copy link
Copy Markdown

通过迁移 https://github.com/coleygroup/polymer-chemprop 项目实现 wD-MPNN (weighted Directed Message Passing Neural Network) 的PaddlePaddle版本复现。

主要改动

  1. 新增 ppmat/models/wd_mpnn/ 模型目录 — 完整的wD-MPNN实现,包括加权有向消息传递编码器和聚合物性质预测
  2. 新增 property_prediction/configs/wd_mpnn/ 训练配置
  3. 新增 test/wd_mpnn/ 测试代码 — 8个单元测试,覆盖前向传播、反向传播、损失计算、确定性验证

模型特性

  • 加权有向消息传递图神经网络,用于聚合物性质预测
  • 支持原子级和键级特征嵌入
  • 基于PaddleMaterials标准API:forward(data, return_loss, return_prediction){"loss_dict", "pred_dict"}
  • 已注册到 ppmat/models/__init__.py

测试

cd test && python -m pytest wd_mpnn/ -v
# 8 passed

参考链接

cloudforge1 and others added 5 commits March 28, 2026 10:00
Implement weighted Directed Message Passing Neural Network for polymer
property prediction. Includes MPNEncoder, featurization pipeline, and
8 unit tests following Chemeleon2 golden standard pattern.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@paddle-bot
Copy link
Copy Markdown

paddle-bot bot commented Apr 11, 2026

Thanks for your contribution!

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


cloudforge1 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@paddle-bot paddle-bot bot added the contributor External developers label Apr 11, 2026
- Fix degree-of-polymerization from linear to (1+log(Xn)) per RFC
- Update README citation from Yang 2019 to Aldeghi 2022

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants