# US 2023/0410950 A1 · Chemical reaction graph compression software, corresponding method and associated data applications

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0410950 A1
- Document ID: US20230410950A1
- Status: Published application
- Kind: A1
- Application number: 18/247,717
- Filed: 2021-10-26
- Published: 2023-12-21
- Earliest claimed: 2020-10-26
- Applicants: Firmenich SA
- Inventors: Guillaume GODIN; Ruud VAN DEURSEN
- Web page: https://patentgrep.com/patent/US20230410950A1

## CPC

- G16C 20/10: Analysis or design of chemical reactions, syntheses or processes
- G16C 20/90: Programming languages; Computing architectures; Database systems; Data warehousing
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0475: Generative networks
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G16C 20/70: Machine learning, data mining or chemometrics
- G16C 20/80: Data visualisation
- G06N 3/045: Combinations of networks
- G16C: COMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The chemical reaction encoding method (100) for one-step, multi-step and equilibrium reactions, comprises:—a step (105) of receiving, upon a computer interface, a chemical reaction graph comprising at least one chemical reaction reagent and at least one chemical reaction product, —a first step (110) of encoding, by a computing device, said chemical reaction graph describing the structure of at least one said reagent and said product, —a step (115) of determination, by a computing device, of changing bonds within the encoding representative of the chemical structures of at least one said reagent and said product, —a second step (120) of encoding, by a computing device, in a single string of characters, for at least one changing bond determined, at least one character representative of an atom subject to the change of bond, at least one character representative of the type of changing bond determined and at least one character representative of an atom resulting from the change of bond, in which a changing bond is encoded by a set of two characters representative of the changing bond determined, the first character being representative of the reagent bond and the second character being representative of the product bond, each character being selected in a library of bijective characters wherein one character is representative of one changing bond type and—a step (125) of providing, upon a computer interface, the string of characters corresponding to the encoding of changing bonds of the chemical reaction.

## Claims

### Claim 1

Chemical reaction encoding software for one-step, multi-step and equilibrium reactions, characterised in that it executes instructions corresponding to the following steps:
a step (105) of receiving, upon a computer interface, a chemical reaction graph comprising at least one chemical reaction reagent and at least one chemical reaction product,
a first step (110) of encoding, by a computing device, said chemical reaction graph describing the structure of at least one said reagent and said product,
a step (115) of determination, by a computing device, of changing bonds within the encoding representative of the chemical structures of said at least one reaction reagent and said product,
a second step (120) of encoding, by a computing device, in a single string of characters, for at least one changing bond determined, at least one character representative of an atom subject to the change of bond, at least one character representative of the type of changing bond determined and at least one character representative of an atom resulting from the change of bond, in which a changing bond is encoded by a set of two characters representative of the changing bond determined, the first character being representative of the reagent bond and the second character being representative of the product bond, each character being selected in a library of bijective characters wherein one character is representative of one bond type and
a step (125) of providing, upon a computer interface, the string of characters corresponding to the encoding of changing bonds of the chemical reaction.

### Claim 2 (depends on 1)

Software according to claim 1, in which the second (120) step of encoding is configured to embed the two characters representative of the changing bonds determined in between two neutral tag characters representative of the presence of an encoding of said changing bonds.

### Claim 3 (depends on 1)

Software according to claim 1, in which multistep reactions, represented by a succession of change of bonds between two atoms, are encoded by a succession of single characters, each single character being representative of the successive state of a bond between said two atoms, the order of the characters being representative of the order of changes of bonds between said two atoms.

### Claim 4

Chemical reaction encoding method (100) for one-step, multi-step and equilibrium reactions, characterised in that it comprises:
a step (105) of receiving, upon a computer interface, a chemical reaction graph comprising at least one chemical reaction reagent and at least one chemical reaction product,
a first step (110) of encoding, by a computing device, said chemical reaction graph describing the structure of at least one said reagent and said product,
a step (115) of determination, by a computing device, of changing bonds within the encoding representative of the chemical structures of at least one said reaction reagent and said product,
a second step (120) of encoding, by a computing device, in a single string of characters, for at least one changing bond determined, at least one character representative of an atom subject to the change of bond, at least one character representative of the type of changing bond determined and at least one character representative of an atom resulting from the change of bond, in which a changing bond is encoded by a set of two characters representative of the changing bond determined, the first character being representative of the reagent bond and the second character being representative of the product bond, each character being selected in a library of bijective characters wherein one character is representative of one changing bond type and
a step (125) of providing, upon a computer interface, the string of characters corresponding to the encoding of changing bonds of the chemical reaction.

### Claim 5 (depends on 4)

Method (100) according to claim 4, in which multistep reactions, represented by a succession of change of bonds between two atoms, are encoded by a succession of single characters, each single character being representative of the successive state of a bond between said two atoms, the order of the characters being representative of the order of changes of bonds between said two atoms.

### Claim 6 (depends on 4)

Method (100) according to claim 4, in which the first step (110) of encoding is configured to encode the chemical reaction graph into a line notation, the method further comprising, prior to the second step (120) of encoding, a step (130) of augmenting the line notation encoding.

### Claim 7 (depends on 4)

Method (100) according to claim 4, in which the second step (120) of encoding comprises a step (121) of extracting, by a computing device, of a bond table for reagents and products from a computer memory, said encoding being performed as a function of said bond table.

### Claim 8 (depends on 4)

Method (100) according to claim 4, in which the second step (120) of encoding comprises a step of removing, from the first encoding resulting from the first step (110) of encoding, of at least one atom identifier from at least one reagent and/or product, each said atom being removed as a result of the step (115) of determination in the event said atom and the associated bonds are located in a product and/or reagent that remains unchanged from reagent the reaction stage to the product stage of the chemical reaction.

### Claim 9 (depends on 4)

Method (100) according to claim 4, which comprises a step (135) of obtaining the products of the encoded chemical reaction by performing said chemical reaction in a physical device.

### Claim 10 (depends on 4)

Encoded chemical reaction comprising a string of characters (205, 210), characterised in that it is obtained by the method (100) according to claim 4.

### Claim 11 (depends on 10)

Chemical reaction dataset augmentation method (300), characterised in that it comprises:
a step (305) of receiving, upon a computer interface, a string of characters according to the encoding of claim 10,
a step (310) of reordering, by a computing system, the string of characters in order to shift at least one character representative of an atom and at least one string of at least one character representative of a change of bond associated to the corresponding atom and
a step (320) of outputting, upon a computer interface, an augmented string of characters corresponding to the reaction initially encoded by the received string of characters.

### Claim 12 (depends on 9, 11)

Augmentation method (300) according to claim 11, which further comprises a step (315) of associating, by a computing system, at least two string of characters according to the format of claim 9, each said string of characters being representative of the same chemical reaction graph.

### Claim 13 (depends on 4)

Chemical reaction dataset preprocessing method (400), characterised in that it comprises:
a step (405) of receiving, upon a computer interface, a dataset of at least two chemical reaction graphs comprising at least one chemical reaction reagent and at least one chemical reaction product,
a step (100) of compression of at least two chemical reaction graphs according to the method according to claim 4,
a step (410) of determining, by a computing system, a distribution of chemical reaction classes within the encoded dataset,
a step (300) of augmenting the dataset, wherein the augmenting comprises either (A) a step (121) of extracting, by a computing device, of a bond table for reagents and products from a computer memory, said encoding being performed as a function of said bond table or (B) a step of removing, from the first encoding resulting from the first step (110) of encoding, of at least one atom identifier from at least one reagent and/or product, each said atom being removed as a result of the step (115) of determination in the event said atom and the associated bonds are located in a product and/or reagent that remains unchanged from reagent the reaction stage to the product stage of the chemical reaction, for at least one chemical reaction class as a function of the determined distribution and
a step (415) of outputting, upon a computer interface, the preprocessed dataset.

### Claim 14 (depends on 8)

Training method (500) for a classifier, transformer or regressor, characterised in that it comprises:
a step (505) of inputting, upon a computer interface, a dataset of chemical reaction graphs encoded in the compressed encoding according to claim 8,
a step (510) of operating, by a computing system, a recursive neural network architecture configured to use, as input, the dataset of chemical reaction graphs to classify the chemical reaction bond evolution as a function of the input and
a step (515) of outputting, upon a computer interface, a trained classifier, transformer or regressor.

### Claim 15 (depends on 14)

Chemical reaction bond evolution prediction method, characterised in that it operates a classifier, transformer or regressor obtained by the method (500) according to claim 14.

### Claim 16 (depends on 14)

Chemical reaction generation method, characterised in that it operates a classifier, transformer or regressor obtained by the method (500) according to claim 14.

### Claim 17 (depends on 14)

Computer implemented classifier, characterised in that the classifier, transformer or regressor is obtained by the method (500) according to claim 14.

### Claim 18 (depends on 14)

Computer program, characterised in that it comprises instructions to operate a method (500) according to claim 14.
