All models

Multi-Modal Foundation · ibm-research

materials.smi ssed

A Mamba-based encoder-decoder chemical foundation model for molecular embedding, property prediction and reconstruction.

What materials.smi ssed is

SMILES-based State-Space Encoder-Decoder (SMI-SSED), also referred to as MoLMamba, is a chemical foundation model developed by IBM Research. Designed for computational chemistry and materials science, it provides representation learning and sequence modeling for molecular structures represented as Simplified Molecular Input Line Entry System (SMILES) strings.

The model was created to handle complex chemical prediction and generation tasks, including quantum property prediction as well as MoleculeNet classification and regression benchmarks. By leveraging a state-space Mamba architecture in an encoder-decoder setup, it provides both molecular embedding capabilities and the ability to decode latent representations back into SMILES strings.

SMI-SSED is pre-trained on a curated dataset of approximately 91 million canonicalised SMILES strings sourced from PubChem, corresponding to roughly 4 billion molecular tokens. It exists in two main model size variants: a 336M parameter model and an 8 x 336M parameter mixture variant.

How it works

SMI-SSED employs a Mamba-based encoder-decoder architecture. Pre-training uses two primary strategies: a masked language modeling approach to train the encoder, alongside an encoder-decoder sequence reconstruction strategy aimed at refining molecular reconstruction and structuring the continuous latent space. Pre-training data is tokenised with a BERT-style vocabulary (`bert_vocab_curated.txt`) and filtered to compounds with a maximum sequence length of 202 tokens.

The training pipeline uses specific splits for pre-training: a 95/5/0 split where 95% trains the encoder and 5% trains the decoder, as well as a 100/0/0 split to train the encoder and decoder together. Users can generate continuous latent embeddings from input SMILES via the encoder, and conversely reconstruct SMILES strings from latent embeddings using the decoder.

Key facts

Architecture
Mamba-based state-space encoder-decoder
Model variants
336M parameters and 8 x 336M parameters
Pre-training data
91 million curated SMILES from PubChem (~4 billion tokens)
Maximum sequence length
202 tokens
Input format
SMILES strings or latent embeddings
Output format
Continuous molecular embeddings or SMILES strings
Tested hardware
Nvidia V100 and Nvidia A100 GPUs

What you can use it for

Molecular Feature Extraction
Encode chemical SMILES strings into continuous vector embeddings for downstream statistical models and similarity analyses.
Quantum Property Prediction
Fine-tune latent representations to predict complex physical and quantum chemical properties of molecules.
Molecular Property Benchmark Tasks
Adapt the model to standard MoleculeNet classification and regression benchmarks, such as ESOL aqueous solubility prediction.
Latent Space Molecular Reconstruction
Decode continuous latent vectors back into valid SMILES strings using the state-space decoder.

Run it here

We list this model but cannot run it yet: its first test run here did not return a result, so it is tried again in a week.

Everything on this page still applies. Running it needs a loader for this repository, not a bigger machine.

Strengths and limits

Good at

  • Pre-trained on a substantial dataset of 91 million molecules containing roughly 4 billion tokens.
  • Encoder-decoder design supports both feature extraction and molecular reconstruction from latent representations.
  • Achieves competitive performance on standard MoleculeNet classification and regression tasks.
  • Provides flexibility with standard 336M and expanded 8 x 336M parameter variants.

Watch out for

  • Molecules are restricted to a maximum length of 202 tokens during preprocessing.
  • Full pre-training pipelines require multi-GPU infrastructure, specifically tested on clusters of 8 A100 GPUs.
  • Operates exclusively on 1D SMILES sequence inputs rather than 3D geometric coordinates.

Inputs and outputs

You provide

  • Sequence or text

    A protein or nucleotide sequence, or free text — whichever this model was trained on.

You get back

  • Mean-pooled representation, one vector per input.

Licence

Check the licence before commercial use · apache-2.0

The apache-2.0 licence carries terms worth reading before you depend on it.

Questions

Can I use materials.smi ssed commercially?

Check the licence before commercial use. The apache-2.0 licence carries terms worth reading before you depend on it.

What input representations does SMI-SSED accept?

SMI-SSED takes canonicalised SMILES strings as input, filtered to a maximum length of 202 tokens. When using the decoder module directly, it accepts numerical embedding tensors to reconstruct SMILES strings.

What is the difference between the encoder and decoder components?

The encoder processes SMILES strings via a masked language model objective to generate dense molecular representations. The decoder takes these latent embeddings and translates them back into SMILES sequences.

What compute hardware is supported for running this model?

The codebase and associated environment have been formally tested on Nvidia V100 and Nvidia A100 GPUs. Pre-training example runs specify 8 Nvidia A100 GPUs.

How to cite it

A Mamba-Based Foundation Model for Chemistry, NeurIPS AI4Mat 2024. OpenReview: HTgCs0KSTl.

Written from materials.smi ssed's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.