# US 2021/0289020 A1 · Systems, methods and apparatus for sampling from a sampling server

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

- Number: US 2021/0289020 A1
- Document ID: US20210289020A1
- Status: Published application
- Kind: A1
- Application number: 16/336,625
- Filed: 2017-09-26
- Published: 2021-09-16
- Earliest claimed: 2016-09-26
- Assignees: D-Wave Systems Inc.
- Applicants: D-Wave Systems Inc.
- Inventors: Jason T. Rolfe; William G. Macready; Mani Ranjbar; Mayssam Mohammad Nevisi
- Web page: https://patentgrep.com/patent/US20210289020A1

## CPC

- G06N 20/00: Machine learning
- G06F 9/30: Arrangements for executing machine instructions, e.g. instruction decode (for executing microinstructions G06F9/22)
- G06F 15/173: using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/0475: Generative networks
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 7/08: using chaos models or non-linear system models
- G06N 10/20: Models of quantum computing, e.g. quantum circuits or universal quantum computers
- G06N 10/80: Quantum programming, e.g. interfaces, languages or software-development kits for creating or handling programs capable of running on quantum computers; Platforms for simulating or accessing quantum computers, e.g. cloud-based quantum computing
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A digital processor runs a machine learning algorithm in parallel with a sampling server. The sampling sever may continuously or intermittently draw samples for the machine learning algorithm during execution of the machine learning algorithm, for example on a given problem. The sampling server may run in parallel (e.g., concurrently, overlapping, simultaneously) with a quantum processor to draw samples from the quantum processor.

## Claims

### Claim at position 1

-39. (canceled)

### Claim 40

A computational system for use in machine learning, the computational system comprising:
at least one digital processor core; and
at least one nontransitory processor-readable medium communicatively coupleable to the at least one digital processor core and that stores at least one of processor-executable instructions or data which, when executed by the at least one digital processor core, causes the at least one digital processor core to implement a sampling server that:
receives an initial set of parameters for an iteration of a machine learning process that is executing in parallel with the sampling server on a separate at least one digital processor core from the at least one digital processor core on which the sampling server is implemented;
generates a first set of samples based on the initial set of parameters temporarily in parallel with execution of the machine learning process; and
provide the first set of samples generated by sampling server as implemented by the at least one digital processor core for use in a further iteration of the machine learning process.

### Claim 41 (depends on 40)

The computational system of claim 40 wherein execution of the processor-executable instructions or data cause the at least one digital processor core to provide a first set of functions along with the first set of samples generated by sampling server, wherein the first set of functions include are first- and second-order statistics; and causes the sampling server to send samples, functions of samples and an approximation to a log partition function to the at least one separate digital processor core on which the machine learning process executes.

### Claim 42 (depends on 40)

The computational system of claim 40 wherein execution of the processor-executable instructions or data cause the at least one digital processor core to draw samples via at least one of Markov Chain of single temperature Gibbs sampling, simulated tempering, parallel tempering, population annealing, annealed importance sampling, and from a Boltzmann distribution.

### Claim 43 (depends on 40)

The computational system of claim 40 wherein the machine learning process maximizes a log-likelihood of a generative model.

### Claim 44 (depends on 40)

The computational system of claim 40 wherein the at least one digital processor core on which the sampling server is implemented is further communicatively coupleable to at least one quantum processor, and execution of the processor-executable instructions or data cause the at least one digital processor core further to:
provide a current set of parameters from the sampling server; and
receive a set of quantum processor generated samples from the at least one quantum processor, wherein the quantum processor draws samples from a distribution based at least in part on the current set of parameters provided by the sampling server.

### Claim 45 (depends on 44)

The computational system of claim 44 wherein execution of the processor-executable instructions or data cause the at least one digital processor core on which the sampling server is implemented further to:
perform post processing on the samples received from the quantum processor.

### Claim 46 (depends on 44)

The computational system of claim 44 wherein the quantum processor performs chain embedding before drawing samples.

### Claim 47 (depends on 40)

The computational system of claim 40 wherein the at least one digital processor core on which the sampling server is implemented is a first processor core of a graphical processor unit with a memory space, the separate at least one digital processor core that executes the machine learning process is a second processor core of the graphical processor unit and shares the memory space with the first processor core of the graphical processor unit.

### Claim 48 (depends on 40)

The computational system of claim 40 wherein the at least one digital processor core on which the sampling server is implemented is a processor core of a first graphical processor unit and the separate at least one digital processor core that executes the machine learning process is a processor core of a second graphical processor unit, the second graphical processor unit separate and distinct from the first graphical processor unit.

### Claim 49 (depends on 48)

The computational system of claim 48 wherein the at least one digital processor core on which the sampling server is implemented includes a plurality of digital processor cores of a plurality of processors that are separate and distinct from one another, and the plurality of processors are components of a plurality of computers, the computers which from a cluster of machines communicatively coupled via a network infrastructure.

### Claim 50 (depends on 40)

The computational system of claim 40 wherein execution of the processor-executable instructions or data cause the at least one digital processor core further to:
iteratively receive additional sets of parameters for each of a number of iterations of the machine learning process that is executing in parallel with the sampling server on the separate at least one digital processor core from the at least one digital processor core on which the sampling server is implemented;
iteratively generate an additional set of samples based on respective ones of the additional sets of parameters temporarily in parallel with execution of the machine learning process; and
iteratively provide the additional sets of samples generated by sampling server as implemented by the at least one digital processor core for use in the iterations of the machine learning process.

### Claim 51 (depends on 40)

The computational system of claim 40 wherein the sampling server executes concurrently with the machine learning process, overlapping at least a portion thereof.

### Claim 52

A method of operation of a computational system for use in machine learning, the method comprising:
receiving, by at least one digital processor core that implements a sampling server, an initial set of parameters for an iteration of a machine learning process that is executing in parallel with the sampling server on a separate at least one digital processor core from the at least one digital processor core on which the sampling server is implemented;
generating, by at least one digital processor core that implements a sampling server, a first set of samples based on the initial set of parameters temporarily in parallel with execution of the machine learning process; and
providing, by at least one digital processor core that implements a sampling server, the first set of samples generated by sampling server as implemented by the at least one digital processor core for use in a further iteration of the machine learning process.

### Claim 53 (depends on 52)

The method of claim 52, further comprising:
providing, by at least one digital processor core that implements a sampling server, a first set of functions along with the first set of samples generated by sampling server, wherein the first set of functions include are first- and second-order statistics; and
sending functions of samples and an approximation to a log partition function by the sampling server to the at least one separate digital processor core on which the machine learning process executes.

### Claim 54 (depends on 52)

The computational system of claim 52, further comprising:
drawing samples via at least one of Markov Chain of single temperature Gibbs sampling, simulated tempering, parallel tempering, population annealing, annealed importance sampling, and from a Boltzmann distribution by the separate at least one digital processor core that executes the machine learning process.

### Claim 55 (depends on 52)

The method of claim 52, further comprising:
providing a current set of parameters from the sampling server to at least one quantum processor; and
receiving, by the sampling server, a second set of quantum processor generated samples from the at least one quantum processor based at least in part on the current set of parameters provided by the sampling server.

### Claim 56 (depends on 55)

The method of claim 55, further comprising:
performing post processing, by the sampling server, on the second set of samples before updating the current set of samples to produce a third set of samples based at least in part on the second set of samples.

### Claim 57 (depends on 55)

The method of claim 55, further comprising:
performing a chain embedding, by the quantum processor, before drawing samples by the quantum processor.

### Claim 58 (depends on 52)

The method of claim 52, further comprising:
iteratively receiving additional sets of parameters for each of a number of iterations of the machine learning process that is executing in parallel with the sampling server on the separate at least one digital processor core from the at least one digital processor core on which the sampling server is implemented;
iteratively generating an additional sets of samples based on respective ones of the additional sets of parameters temporarily in parallel with execution of the machine learning process; and
iteratively providing the additional sets of samples generated by sampling server as implemented by the at least one digital processor core for use in the iterations of the machine learning process.

### Claim 59 (depends on 52)

The method of claim 52 wherein the sampling server executes concurrently with the machine learning process, overlapping at least a portion thereof.
