# US 2021/0287099 A1 · Mutual Information Neural Estimation with Eta-Trick

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

- Number: US 2021/0287099 A1
- Document ID: US20210287099A1
- Status: Published application
- Kind: A1
- Application number: 16/813,633
- Filed: 2020-03-09
- Published: 2021-09-16
- Earliest claimed: 2020-03-09
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Youssef Mroueh; Pierre L. Dognin; Igor Melnyk; Jarret Ross; Tom D. J. Sercu
- Web page: https://patentgrep.com/patent/US20210287099A1

## CPC

- G06N 3/045: Combinations of networks
- G06N 3/08: Learning methods
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/0475: Generative networks
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/09: Supervised learning
- G06N 3/094: Adversarial learning
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A computing device receives a data X and Y, each having N samples. A function f(x,y) is defined to be a trainable neural network based on the data X and the data Y. A permuted version of the data Y is created. A loss mean is computed based on the trainable neural network f(x,y), the permuted version of the sample data Y, and a trainable scalar variable η. A loss with respect to the scalar variable η and the trainable neural network is minimized. Upon determining that the loss is at or below the predetermined threshold, estimating a mutual information (MI) between a test data XT and YT. If the estimated MI is above a predetermined threshold, the test data XT and YT is deemed to be dependent. Otherwise, it is deemed to be independent.

## Claims

### Claim 1

A computing device comprising:
a processor;
a storage device coupled to the processor;
an engine stored in the storage device, wherein an execution of the engine by the processor configures the computing device to perform acts comprising:
receiving a data X having N samples and a data Y having N samples;
defining a function f(x,y) to be a trainable neural network based on the data X and the data Y;
defining η to be a trainable scalar variable;
creating a permuted version of the data Y;
computing a loss mean based on the trainable neural network f(x,y), the permuted version of the sample data Y, and the trainable scalar variable η;
minimizing a loss with respect to the trainable neural network f(x,y) and the scalar variable η;
determining whether the trainable neural network f(x,y) having undergone the minimization of the loss provides an output that meets one or more predetermined criteria;
upon determining that the trainable neural network f(x,y) has not met the one or more predetermined criteria, returning to the act of creating a permuted version of the second sample data Y;
upon determining that the trainable neural network f(x,y) has met the one or more predetermined criteria:
receiving test data XT and YT;
estimating a mutual information (MI) between the test data XT and YT;
upon determining that the estimated MI is at or above a predetermined threshold, deeming the test data XT and YT to be dependent; and
upon determining that the estimated MI is not at or above the predetermined threshold, deeming the test data XT and YT to be independent.

### Claim 2 (depends on 1)

The computing device of claim 1, wherein the one or more predetermined criteria comprise at least one of:
a loss with respect to the trainable neural network f(x,y) and the scalar variable η is at or below a predetermined threshold; or
a maximum number of iterations of minimizing the loss with respect to the trainable neural network f(x,y) and the scalar variable η is reached.

### Claim 3 (depends on 1)

The computing device of claim 1, wherein the execution of the engine by the processor further configures the computing device to perform an act comprising: determining a similarity between the data X and the data Y by way of KL divergence for various bounds.

### Claim 4 (depends on 3)

The computing device of claim 3, wherein the determination of the similarity between the data X and the data Y does not include a logarithm term.

### Claim 5 (depends on 1)

The computing device of claim 1, wherein the determination of the similarity between the data X and the data Y comprises:
upon determining that the estimated MI is at or above the predetermined threshold, generating a positive scalar output; and
upon determining that the estimated MI is not at or above the predetermined threshold, generating a negative scalar output.

### Claim 6 (depends on 1)

The computing device of claim 1, wherein the permuted version of the data Y comprises a random distribution of the N samples of the data Y with respect to the N samples of the data X.

### Claim 7 (depends on 1)

The computing device of claim 1, wherein the loss mean is f(x_i, y_i)−exp(-eta)[mean exp[f(x_i, y0_i)]]+η−1.

### Claim 8 (depends on 1)

The computing device of claim 1, wherein the estimation of the MI is based on I(xt, yt)>=mean f(xt_i, yt_i)−log[mean exp[f(xt_i, yt_i)]].

### Claim 9 (depends on 1)

The computing device of claim 1, wherein η plays a role of a Lagrange multiplier that ensures normalization of a likelihood ratio.

### Claim 10 (depends on 1)

The computing device of claim 1, wherein the estimation of the mutual information (MI) between the test data XT and YT includes a linear witness function.

### Claim 11 (depends on 1)

The computing device of claim 1, wherein the execution of the engine by the processor further configures the computing device to perform an act comprising: using the estimated mutual information (MI) in the context of a generative adversarial network (GAN).

### Claim 12

A non-transitory computer readable storage medium tangibly embodying a computer readable program code having computer readable instructions that, when executed, causes a computer device to carry out a method of determining a mutual information (MI) between data, the method comprising:
receiving a data X having N samples and a data Y having N samples;
defining a function f(x,y) to be a trainable neural network based on the data X and the data Y;
defining η to be a trainable scalar variable;
creating a permuted version of the data Y;
computing a loss mean based on the trainable neural network f(x,y), the permuted version of the sample data Y, and the trainable scalar variable η;
minimizing a loss with respect to the trainable neural network f(x,y) and the scalar variable η;
determining whether the trainable neural network f(x,y) having undergone the minimization of the loss provides an output that meets one or more predetermined criteria;
upon determining that the trainable neural network f(x,y) has not met the one or more predetermined criteria, returning to the act of creating a permuted version of the second sample data Y;
upon determining that the trainable neural network f(x,y) has met the one or more predetermined criteria:
receiving test data XT and YT;
estimating a mutual information (MI) between the test data XT and YT;
upon determining that the estimated MI is at or above a predetermined threshold, deeming the test data XT and YT to be dependent; and
upon determining that the estimated MI is not at or above the predetermined threshold, deeming the test data XT and YT to be independent.

### Claim 13 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the one or more predetermined criteria comprise at least one of:
a loss with respect to the trainable neural network f(x,y) and the scalar variable η is at or below a predetermined threshold; or
a maximum number of iterations of minimizing the loss with respect to the trainable neural network f(x,y) and the scalar variable η is reached.

### Claim 14 (depends on 12)

The non-transitory computer readable storage medium of claim 12, further comprising determining a similarity between the data X and the data Y by way of KL divergence for various bounds.

### Claim 15 (depends on 14)

The non-transitory computer readable storage medium of claim 14, wherein the determination of the similarity between the data X and the data Y does not include a logarithm term.

### Claim 16 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the determination of the similarity between the data X and the data Y comprises:
upon determining that the estimated MI is at or above the predetermined threshold, generating a positive scalar output; and
upon determining that the estimated MI is not at or above the predetermined threshold, generating a negative scalar output.

### Claim 17 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the permuted version of the data Y comprises a random distribution of the N samples of the data Y with respect to the N samples of the data X.

### Claim 18 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the loss mean is f(x_i, y_i)−exp(-eta)[mean exp[f(x_i, y0_i)]]+η−1.

### Claim 19 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the estimation of the MI is based on I(xt, yt)>=mean f(xt_i, yt_i)−log[mean exp[f(xt_i, yt_i)]].

### Claim 20 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the estimation of the mutual information (MI) between the test data XT and YT includes a linear witness function.
