agentsclimarketplace

Message passing neural network architecture design

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/message-passing-neural-network-architecture-design

Use when when you have a working base MPNN implementation (e.g., chemprop) and need to adapt it for a new molecular property target (e.g., spectral data) that requires custom input processing, intermediate feature representations, or output layer modifications beyond the original model's scope.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill message-passing-neural-network-architecture-design

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 14 stars14 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as CC-BY-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

6.4 KB, 928 tokens by cl100k_base, as published. Nobody here has run it

message-passing-neural-network-architecture-design

Summary

Design and implement extensions to message-passing neural network (MPNN) architectures for molecular property prediction tasks, such as infrared spectral forecasting. This skill involves identifying architectural bottlenecks in a base MPNN framework, adding task-specific featurization and output layers, and validating that the extended model matches expected structural signatures.

When to use

When you have a working base MPNN implementation (e.g., chemprop) and need to adapt it for a new molecular property target (e.g., spectral data) that requires custom input processing, intermediate feature representations, or output layer modifications beyond the original model's scope.

When NOT to use

  • The base MPNN already natively supports the target property or output format without modification.
  • Input molecular data is already preprocessed as hand-crafted features or fixed-length vectors rather than molecular graphs.
  • You are tasked only with hyperparameter tuning or training regime optimization on a pre-implemented architecture, not architectural extension or redesign.

Inputs

  • Base MPNN source code repository (e.g., github.com/chemprop/chemprop)
  • Extended MPNN variant source code (e.g., github:gfm-collab__chemprop-IR)
  • Target molecular input format (e.g., SMILES strings, molecular graphs)
  • Expected output specification (e.g., infrared spectral predictions, frequency bands)

Outputs

  • Reconstructed extended MPNN model definition (Python source code)
  • Layer-by-layer architectural specification document (counts, shapes, parameters)
  • Validated model checkpoint or summary matching reference implementation
  • Featurization and loss function module implementations

How to apply

Begin by cloning and examining the base MPNN repository (chemprop) to document core message passing layers, featurization input shapes, and loss functions. Access the extended variant repository (chemprop-IR) to extract and enumerate all new layers, spectral-specific input processing steps, and output head architectures relative to the base. Implement the extended model by modifying the base MPNN's model definition class to incorporate the new featurization modules and loss functions. Validate architectural parity by comparing layer counts, input/output tensor shapes, and total parameter counts against reference checkpoints or printed model summaries from the extended repository.

Related tools

  • chemprop (Base message-passing neural network framework to be extended with spectral feature handling and output layers) — https://github.com/chemprop/chemprop
  • chemprop-IR (Reference extended architecture implementing infrared spectral prediction; used to extract and document architectural modifications relative to base chemprop) — github:gfm-collab__chemprop-IR

Evaluation signals

  • Layer count of reconstructed model exactly matches reference checkpoint model summary (e.g., number of message passing blocks, featurization layers, output heads).
  • Input tensor shape to extended model accepts spectral-specific features (e.g., new featurization dimension for infrared data) without shape mismatch errors.
  • Total trainable parameter count of reconstructed model is within ±2% of reference checkpoint, indicating correct layer definitions and dimensionality.
  • Forward pass through reconstructed model produces output tensor with correct shape for target property (e.g., infrared spectrum with expected frequency bands or wavelength range).
  • Loss function evaluates successfully on mock batch without NaN or shape broadcasting errors, confirming spectral loss head integration.

Limitations

  • No publicly available changelog or migration guide was identified; architectural differences must be reverse-engineered from source code comparison.
  • Validation relies on visual model summary or checkpoint inspection; quantitative performance parity on held-out spectral data is not established by architectural alignment alone.
  • Spectral feature definitions and preprocessing steps may not be fully documented in repository; domain knowledge of infrared spectroscopy may be required to correctly integrate featurization.

Evidence

  • [other] Architectural reconstruction and validation steps: "Extract and document all new layers, input processing steps, and loss functions specific to infrared spectral prediction from the chemprop-IR source code."
  • [other] Model comparison criterion: parameter and shape parity: "Validate that the reconstructed architecture matches the documented chemprop-IR structure by comparing layer counts, input/output tensor shapes, and parameter counts against reference checkpoints or"
  • [intro] Purpose and baseline framework: "The chemprop-IR architecture is an extension of chemprop described in the paper [Analyzing Learned Molecular Representations for Property Prediction]"
  • [intro] Core finding: spectral feature extension: "chemprop-IR extends chemprop with new spectral features for infrared spectral prediction tasks"

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,852. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.