Skip to main content

SEAMM Active Learning Plug-in

GitHub pull requests Build Status Code Coverage Code Quality Documentation Status PyPi VERSION

A SEAMM plug-in for query-by-committee active learning of machine-learned force fields: a committee of models trained on different folds of the data disagrees where the model is likely wrong, so only the frames it flags need labelling.

Features

  • active_learning_step.committee: a committee of xnn potentials and its spreads (energy, force, per-atom force, atomic and molecular pressure), for molecules, ions and charged systems.

  • seamm-al score: the committee’s spreads for every frame of extxyz or SDF pools.

  • seamm-al select: rank the frames and take them within a core-hour budget, with caps per group and exclusions, writing the chosen frames as a verbatim subset of the input files.

Acknowledgements

This package was created with the molssi-seamm/cookiecutter-seamm-plugin tool, which is based on the excellent Cookiecutter.

Developed by the Molecular Sciences Software Institute (MolSSI), which receives funding from the National Science Foundation under award CHE-2136142.

History

2026.10.29 – Bugfix: names with ‘=’ in the extended XYZ files
  • The extended XYZ files of scored and selected frames are written with ASE, which leaves a value with ‘=’ but no space unquoted and then reads it back merged with the next key: a configuration named ‘LiDMCct_chel_ctmin_toO=’ came back as ‘LiDMCct_chel_ctmin_toO=pbc=F F F’. Such values, and those with backslashes, are now quoted, so every name reads back as itself.

2026.10.17 – Bugfix: a committee’s engine beside a GPU uses its CPU threads
  • The CPU threads torch uses now follow TORCH_NUM_THREADS before OMP_NUM_THREADS. Next to a GPU, LAMMPS’s launcher keeps OMP_NUM_THREADS at 1 and gives torch 4 threads through TORCH_NUM_THREADS, but the committee’s engine read only OMP_NUM_THREADS, so its work on the CPU, such as the spreads, ran on a single thread. The engine’s log says which setting it used.

2026.10.14.1 – The Active Learning step for flowcharts
  • The Active Learning step now holds four sub-steps: Train Committee, Check Committee, Score Pool and Select Frames, which do in a flowchart what the seamm-al command does. Each can use the committee, scores and thresholds made earlier in the job, and their dialogs show only the settings that apply.

  • Training, checking and scoring run in the MLFF environment of the xnn plug-in (xnn.ini) as tasks of the job, with nothing to install there; selecting runs in SEAMM.

  • Score Pool takes candidates from the job’s database, with the standard selection of systems and configurations, or from extxyz and SDF files. Select Frames puts selected configurations from the database in a variable for later steps and can copy them into a new system.

  • Train Committee can save the committee as an xnn model, which the Model Chemistry step then offers (with xnn-step 2026.10.14 or later) for molecular dynamics with the committee mean, recording the members’ spreads; with lammps-step 2026.10.14.1 or later this also runs on the CPU.

  • Candidate files may be gzipped, such as the trajectories LAMMPS writes.

  • Requires xnn-step 2026.10.14 or later.

2026.10.14 – Initial release: query-by-committee active learning for MLFFs
  • A committee of machine-learned force fields, trained on different folds of the data, disagrees where the model is likely wrong; the seamm-al command uses that disagreement to choose what to label next. This first release provides the library and the command line; the SEAMM flowchart step is a placeholder.

  • seamm-al score: the committee’s spreads (energy, forces, the largest per-atom force spread, atomic and molecular pressure) for every frame of extxyz or SEAMM SDF pools, with the total charge passed to the models. Molecules follow SEAMM’s own rule (molsystem’s bond perception, ions on their own), applied without SEAMM in MLFF environments, or a SEAMM structure’s own bonds.

  • seamm-al select: rank the frames, or keep those past thresholds, and take them within a core-hour budget, with costs per kind or group, caps per column and exclusions; or draw at random (optionally stratified) before any committee exists. The chosen frames are copied byte for byte from the input files.

  • seamm-al train: train the k members of a committee from an xnn recipe, with stratified folds, a fixed share of cell batches and a manifest of the folds, seeds, data and code versions. Requires xnn 0.13 or later.

  • seamm-al check: whether the spreads predict the out-of-fold errors (Spearman correlations, threshold calibration) and the health of each member (losses, errors, leave-one-out spreads), with an option to drop a member.

  • seamm-al engine: the committee mean as one MDI engine for LAMMPS, writing the spreads every N steps and flagging frames past a threshold.

  • seamm-al data: check a LAMMPS data file for what atom_style atomic can read.

Metadata

Release files for active-learning-step 2026.10.29

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for active-learning-step 2026.10.29
File Size Uploaded Provenance Actions
active_learning_step-2026.10.29.tar.gz 434.1 kB Without provenance Details for active_learning_step-2026.10.29.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for active-learning-step 2026.10.29
File Interpreter ABI Platform Actions
active_learning_step-2026.10.29-py2.py3-none-any.whl Python 2, Python 3 none any Details for active_learning_step-2026.10.29-py2.py3-none-any.whl

Total release size: 555.9 kB

Release files / active_learning_step-2026.10.29.tar.gz

Download URL active_learning_step-2026.10.29.tar.gz
Size 434.1 kB
Tags Source
SHA-256 checksum
How to use checksums
747950148a6f5667ba299e9d4b1e68fcc11ce6e5b3be58246615abeec5454fcc
BLAKE2b-256 checksum
How to use checksums
a5e55d005de88c97a1b96d9d16e960fa79a51eb77bb56d3863772f1948090a50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / active_learning_step-2026.10.29-py2.py3-none-any.whl

Download URL active_learning_step-2026.10.29-py2.py3-none-any.whl
Size 121.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
51d3412e9acae5ab633faf66ed5ff5c076fde419d019364b4ccac4100c7f5035
BLAKE2b-256 checksum
How to use checksums
bf6ec2cb89afebb72c21f42ab783fb694033e967be043e0b6e7ef81e1c8f6256
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for active-learning-step 2026.10.29

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page