# US 2022/0284305 A1 · Black box optimization over categorical variables

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

- Number: US 2022/0284305 A1
- Document ID: US20220284305A1
- Status: Published application
- Kind: A1
- Application number: 17/189,211
- Filed: 2021-03-01
- Published: 2022-09-08
- Earliest claimed: 2021-03-01
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Hamid Dadkhahi; Karthikeyan Shanmugam; Jesus Maria Rios Aliaga; Payel Das
- Web page: https://patentgrep.com/patent/US20220284305A1

## CPC

- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G16B 20/50: Mutagenesis
- G06N 5/04: Inference or reasoning models
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G16B 5/20: Probabilistic models
- G16B 40/00: ICT specially adapted for biostatistics; ICT specially adapted for bioinformatics-related machine learning or data mining, e.g. knowledge discovery or pattern finding
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G16B 15/00: ICT specially adapted for analysing two-dimensional [2D] or three-dimensional [3D] molecular structures, e.g. structural or functional relations or structure alignment
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G16B: BIOINFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR GENETIC OR PROTEIN-RELATED DATA PROCESSING IN COMPUTATIONAL MOLECULAR BIOLOGY

## Abstract

A black box evaluator is accessed and a surrogate machine learning model that provides estimates for the optimization of categorical values for the black box evaluator is generated, the surrogate machine learning model being based upon observations from previous executions of the black box evaluator. The black box evaluator is optimized by selecting, by an acquisition function executing on a computing device, a new candidate point for the categorical values. The black box evaluator is executed with the new candidate point for the categorical values.

## Claims

### Claim 1

A method comprising:
accessing, by a computing device, a black box evaluator;
generating, by the computing device, a surrogate machine learning model that provides estimates for the optimization of categorical values for the black box evaluator, the surrogate machine learning model being based upon observations from previous executions of the black box evaluator;
optimizing the black box evaluator by selecting, by an acquisition function executing on the computing device, a new candidate point for the categorical values; and
executing, by the computing device, the black box evaluator with the new candidate point for the categorical values.

### Claim 2 (depends on 1)

The method of claim 1, wherein data values are represented using a group-theoretic Fourier expansion, where characters of each representation are considered as experts and respective coefficients of the characters are updated via an exponential weight update rule each time the black box evaluator is executed.

### Claim 3 (depends on 1)

The method of claim 1, wherein data values are represented using an abridged one-hot encoded Boolean Fourier expansion, where characters of each representation are considered as experts and respective coefficients of the characters are updated via an exponential weight update rule each time the black box evaluator is executed.

### Claim 4 (depends on 3)

The method of claim 3, wherein a one-hot encoding of each variable xi:i∈[n] is expressed as a (k−1)-tuple (xi1, xi2, . . . , xi(k−1)), where xij∈{−1,1} are Boolean variables with a constraint that at most one such variable is equal to −1 for any given xi∈[k].

### Claim 5 (depends on 1)

The method of claim 1, further comprising utilizing the black box evaluator to generate one or more candidate biological molecule sequences that have desirable properties, which are constructed using a vocabulary of fixed size, and synthesizing the optimal biological molecule sequence.

### Claim 6 (depends on 1)

The method of claim 1, further comprising utilizing the black box evaluator to design optimal sequences over a combinatorially large search space.

### Claim 7 (depends on 1)

The method of claim 1, further comprising utilizing the black box evaluator to find a sequence given a specific structure.

### Claim 8 (depends on 1)

The method of claim 1, wherein the generation of the surrogate machine learning model is performed via a hedge algorithm where basis functions act as experts.

### Claim 9 (depends on 1)

The method of claim 1, wherein Monte Carlo tree search (MCTS) and the surrogate machine learning model are used as a reward function of terminal states during intermediate tree traversals and backups.

### Claim 10 (depends on 1)

The method of claim 1, further comprising performing simulated annealing utilizing the surrogate machine learning model.

### Claim 11 (depends on 10)

The method of claim 10, wherein the simulated annealing utilizing the surrogate machine learning model is performed for internal cost-free evaluations before producing a next black box query.

### Claim 12 (depends on 1)

The method of claim 1, wherein the black box evaluator utilizes a black box machine learning model.

### Claim 13

A computer program product for federated learning, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to:
access, by a computing device, a black box evaluator;
generate, by the computing device, a surrogate machine learning model that provides estimates for the optimization of categorical values for the black box evaluator, the surrogate machine learning model being based upon observations from previous executions of the black box evaluator;
optimize the black box evaluator by selecting, by an acquisition function executing on the computing device, a new candidate point for the categorical values; and
execute, by the computing device, the black box evaluator with the new candidate point for the categorical values.

### Claim 14

An apparatus comprising:
a memory; and
at least one processor, coupled to said memory, and operative to perform operations comprising:
accessing, by a computing device, a black box evaluator;
generating, by the computing device, a surrogate machine learning model that provides estimates for the optimization of categorical values for the black box evaluator, the surrogate machine learning model being based upon observations from previous executions of the black box evaluator;
optimizing the black box evaluator by selecting, by an acquisition function executing on the computing device, a new candidate point for the categorical values; and
executing, by the computing device, the black box evaluator with the new candidate point for the categorical values.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein data values are represented using a group-theoretic Fourier expansion, where characters of each representation are considered as experts and respective coefficients of the characters are updated via an exponential weight update rule each time the black box evaluator is executed.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein data values are represented using an abridged one-hot encoded Boolean Fourier expansion, where characters of each representation are considered as experts and respective coefficients of the characters are updated via an exponential weight update rule each time the black box evaluator is executed.

### Claim 17 (depends on 14)

The apparatus of claim 14, the operations further comprising utilizing the black box evaluator to generate one or more candidate biological molecule sequences that have desirable properties, which are constructed using a vocabulary of fixed size, and synthesizing the optimal biological molecule sequence.

### Claim 18 (depends on 14)

The apparatus of claim 14, wherein the generation of the surrogate machine learning model is performed via a hedge algorithm where basis functions act as experts.

### Claim 19 (depends on 14)

The apparatus of claim 14, wherein Monte Carlo tree search (MCTS) and the surrogate machine learning model are used as a reward function of terminal states during intermediate tree traversals and backups.

### Claim 20 (depends on 14)

The apparatus of claim 14, wherein the operations further comprise performing simulated annealing utilizing the surrogate machine learning model for internal cost-free evaluations before producing a next black box query.
