SAFE Molecular Strings for LLM-Compatible Scaffold Preservation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing molecular design systems face limitations in flexibility and accuracy due to the use of molecular string representations like SMILES, which struggle to preserve crucial scaffolds and constraints necessary for biological activity, hindering AI-driven molecular design tasks.

Innovation Solution

The development of sequential attachment-based fragment embedding (SAFE) molecular string representations that convert molecular string representations into order-agnostic sequences of interconnected fragment blocks, utilizing separation and ring link characters to accurately represent molecular compounds, enabling compatibility with large language models for tasks like de novo molecular compound generation and scaffold decoration.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If molecular string representations like SMILES are used in existing molecular design systems, then the systems can process molecular data, but the flexibility and accuracy are limited due to inability to preserve crucial scaffolds and constraints

Engineering Contradiction:
Improveaccuracy of molecular designVSAvoidflexibility in preserving scaffolds and constraints
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent segments molecular structures into distinct components: scaffolds (core structures), fragments (substructures), and attachments (functional groups). This segmentation is achieved through the SAFE representation format that explicitly identifies and separates these elements, allowing independent manipulation and preservation of each component during molecular design tasks.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces SAFE molecular representations as an intermediary format between traditional SMILES strings and AI model inputs. This intermediary representation preserves scaffold and constraint information that would otherwise be lost, enabling accurate transmission of molecular design requirements to large language models while maintaining the benefits of string-based processing.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If traditional molecular string representations are used, then compatibility with existing parsers is maintained, but AI-driven molecular design tasks cannot effectively preserve scaffolds and constraints

Engineering Contradiction:
Improvecapability for AI-driven molecular designVSAvoidloss of scaffold and constraint information
Core Design Contradiction:
Adaptability or versatilityVSLoss of information

Solution Approach 1:

The patent applies preliminary action by pre-processing molecular structures into SAFE representations that explicitly encode scaffold and constraint information before feeding them to AI models. This preliminary structuring ensures that critical information is preserved and organized in a format that AI models can effectively utilize for downstream molecular design tasks.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameter representation of molecular structures by transitioning from flat SMILES strings to hierarchical SAFE representations with explicit parameters for scaffolds, fragments, and attachments. This parameter transformation enables AI models to recognize and preserve crucial molecular features that were previously encoded implicitly in traditional string formats.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If molecular structures are represented as order-agnostic sequences of fragment blocks, then flexibility and accuracy improve, but the representation complexity increases

Engineering Contradiction:
Improveaccuracy in preserving molecular featuresVSAvoidcomplexity of molecular representation
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent creates a universal SAFE representation format that serves multiple functions simultaneously: it preserves scaffold information, encodes fragment attachments, maintains constraint data, and remains compatible with string-based processing. This multi-functional representation reduces the need for multiple specialized formats while improving accuracy across different molecular design tasks.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20250225321A1Generating large-language-model compatible sequential attachment-based fragment embedding molecular representations
Publication Date: 2025.07.10 RECURSION PHARMACEUTICALS INC
  • US20250225321A1 patent drawing
  • US20250225321A1 patent drawing
  • US20250225321A1 patent drawing

AI summary

The present disclosure relates to systems, non-transitory computer-readable media, and methods for generating a sequential attachment-based fragment embedding (SAFE) molecular string representation that represents a molecular representation as an order agnostic sequence of interconnected fragment blocks. Indeed, the disclosed systems can generate the SAFE representation for processing via large language models for downstream molecular design tasks. For instance, the disclosed systems can extract fragments (and attachment points) from a molecular string representation, concatenate the extracted fragments using separation character connections between the fragments to generate a set of linked fragments, and can iterate over attachment points for the fragments to generate ring link characters in the set of linked fragments to simulate fragment links. In addition, the disclosed systems can utilize the SAFE representation to enable various downstream fragment-based molecular design tasks via large language models.