SAFE Fragment Embeddings for Scaffold-Aware Molecular Language Models

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 generation of sequential attachment-based fragment embedding (SAFE) molecular string representations, which convert molecular string representations into order-agnostic sequences of interconnected fragment blocks, enabling accurate and flexible processing 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 molecular structure is segmented into distinct components: scaffold fragments and substituent fragments. The SAFE representation separates the core scaffold (preserved as-is) from substituent groups (processed as variable attachments), allowing independent handling of each segment. This segmentation enables the system to maintain scaffold integrity while灵活ly modifying substituents, resolving the contradiction between preserving structural constraints and achieving design flexibility.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary representation layer (SAFE molecular string) that translates between traditional SMILES notation and a scaffold-aware format. This intermediary representation preserves scaffold information through special notation while maintaining compatibility with existing molecular processing systems, enabling both accuracy in scaffold preservation and flexibility in substituent modification.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If traditional molecular string representations are used, then compatibility with existing systems is maintained, but the ability to perform AI-driven molecular design tasks is hindered

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

Solution Approach 1:

The SAFE representation adds a new dimension of information encoding by incorporating scaffold awareness into the molecular string format. Through special notation (e.g., scaffold delimiters and attachment point markers), it embeds hierarchical structural information that traditional flat SMILES notation cannot represent, enabling AI models to access both sequence information and scaffold topology simultaneously.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Ease of operation

If molecular structures are represented as sequences, then processing with language models becomes possible, but the order dependency limits representation of order-agnostic molecular properties

Engineering Contradiction:
Improveprocessing with language modelsVSAvoidrepresentation of order-agnostic properties
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The SAFE representation serves multiple functions simultaneously: it provides a sequential format for language model processing while embedding scaffold topology information that is order-agnostic. The special notation allows the same string representation to convey both linear sequence information (for LM processing) and hierarchical structural relationships (for topology-aware tasks), making it universally applicable to diverse molecular design tasks.

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

Data Source

PatentUS20250225377A1Generating large-language-model compatible sequential attachment-based fragment embedding molecular representations
Publication Date: 2025.07.10 RECURSION PHARMACEUTICALS INC
  • US20250225377A1 patent drawing
  • US20250225377A1 patent drawing
  • US20250225377A1 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.