# US 2025/0384285 A1 · Similarity determination method, learning inference method, and executive program of neural network

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

- Number: US 2025/0384285 A1
- Document ID: US20250384285A1
- Status: Published application
- Kind: A1
- Application number: 18/878,834
- Filed: 2023-06-23
- Published: 2025-12-18
- Earliest claimed: 2022-06-27
- Assignees: Nippon Telegraph and Telephone Corporation
- Applicants: Nippon Telegraph and Telephone Corporation
- Inventors: Takao YAMASHITA
- Web page: https://patentgrep.com/patent/US20250384285A1

## CPC

- G06N 3/09: Supervised learning
- G06N 3/02: Neural networks
- G06N 3/043: based on fuzzy logic, fuzzy membership or fuzzy inference, e.g. adaptive neuro-fuzzy inference systems [ANFIS]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

One or more input values are received, when one of a value L and a value H is input to each input value, an i-th input value in a learning phase is represented as xi, and an i-th input value in an inference phase is represented as yi, wi is assigned to the i-th input value, one of the value L and the value H is set to the value wi, in the learning phase, the value wi of a weight assigned to the i-th input value is set to the value of xi, and in the inference phase, values of the number of inputs in which the value of xi is H, the number of inputs in which both wi and yi are H, and the number of inputs in which the value of yi is H are calculated, and a value obtained by dividing the number of inputs in which both wi and yi are the value H by a value obtained by adding the number of inputs in which yi is the value H to the number of inputs in which the value of wi is the value H is calculated as similarity representing the degree of similarity.

## Claims

### Claim 1

A similarity determination method for calculating a degree of similarity between an input of a learning phase and an input of an inference phase using a perceptron obtained by modeling a nerve cell, the similarity determination method comprising:
receiving one or more input values, wherein
when one of a value L and a value His input to each input value,
an i-th input value in the learning phase is represented as xi, and
an i-th input value in the inference phase is represented as yi,
wi is assigned to the i-th input value,
one of the value L and the value H is set to the value wi;
in the learning phase, setting the value wi of a weight assigned to the i-th input value to xi;
in the inference phase,
calculating a number of inputs in which the value of xi is H,
a number of inputs in which both wi and yi are H, and
a number of inputs in which the value of yi is H; and
calculating a value obtained by dividing the number of inputs in which both wi and yi are the value H by a value obtained by adding the number of inputs in which yi is the value H to the number of inputs in which wi is the value H as similarity representing the degree of similarity.

### Claim 2

A similarity determination method for calculating a degree of similarity between an input of a learning phase and an input of an inference phase using a perceptron obtained by modeling a nerve cell, the similarity determination method comprising:
receiving one or more input values, wherein
when an arbitrary value between a value L and a value His input to each input value,
an i-th input value of the learning phase is represented as xi, and
an i-th input value of the inference phase is represented as yi,
an i-th input value wi is assigned, and
an arbitrary value between the value L and the value H is set to the value wi;
in the learning phase, setting the value wi of a weight assigned to the i-th input value to xi;
in the inference phase,
calculating three values: a total sum of values of wi,
a total sum of smaller values of wi and yi, and
a total sum of values of yi; and
calculating a value obtained by dividing the value representing the total sum of the smaller values of wi and yi by a value obtained by adding the value representing the total sum of the values of wi and the value representing the total sum of the values of yi as similarity representing the degree of similarity.

### Claim 3 (depends on 1)

The similarity determination method according to claim 1, wherein
the value L of an input value is set to 0, and the value H of an input value is set to 1, and
in the inference phase,
a number of inputs in which xi is the value H is calculated as a sum of xi for all input values,
a number of inputs in which both wi and yi are the value H is calculated as a total sum of products of wi and yi for all input values or a total sum of logical products of wi and yi, and
a number of inputs in which yi is the value H is calculated as a sum of yi for all i.

### Claim 4 (depends on 1)

A similarity determination method comprising: combining a plurality of similarity calculators that performs similarity calculation processing by determining similarity by the similarity determination method according to claim 1; using one or more of entire inputs as inputs to each of the similarity calculators; and in each of the similarity calculators, calculating similarity and outputting a value obtained by summing similarities calculated by all the similarity calculators as a final similarity.

### Claim 5 (depends on 1)

The similarity determination method according to claim 1, wherein
similarity obtained by adding predetermined noise to calculated similarity is obtained, and final similarity calculation is performed using the similarity to which the noise is added.

### Claim 6 (depends on 5)

The similarity determination method according to claim 5, wherein
the noise is a random number generated randomly.

### Claim 7 (depends on 1)

The similarity determination method according to claim 1, wherein
an input value is replaced with a value capable of taking any real number from 0 to 1 using Fuzzy logic.

### Claim 8 (depends on 7)

The similarity determination method according to claim 7, wherein
in replacement of the input value using the Fuzzy logic,
in the inference phase,
three values are calculated: a total sum of values of wi, a total sum of smaller values of wi and yi, and a total sum of values of yi, and
a value obtained by dividing the value representing the total sum of the smaller values of wi and yi by a value obtained by adding the value representing the total sum of the values of wi and the value representing the total sum of the values of yi is calculated and output as similarity representing the degree of similarity.

### Claim 9 (depends on 1)

A learning inference method, when learning network units in which a plurality of similarity calculators that determines similarity by the similarity determination method according to claim 1 and performs similarity calculation processing is connected are provided more than a number of pieces of learning data, a vector having an input to the learning network unit as a component is referred to as a feature value vector, the learning data is a combination of the feature value vector and a label associated with the feature value vector, and one piece of learning data is assigned to one learning network unit, comprising:
in the learning phase, determining a value of a weight included in the similarity calculation unit using the feature value vector of the learning data;
in the inference phase, setting similarity calculated by the similarity calculator based on the feature value vector as an input value to an activation function for defining an operation of a perceptron and a neuron;
setting a value calculated by the activation function as an output value of the similarity calculator;
aggregating an output value for each label included in the learning data assigned to the similarity calculator that has calculated the similarity on which the output value is based; and
setting an aggregated value for each label as an inference result.

### Claim 10 (depends on 9)

The learning inference method according to claim 9, wherein, in the inference phase, as the activation function used when the learning network unit calculates the output value, a relatively large similarity is selectively output with respect to the similarity calculated by a plurality of the learning network units.

### Claim 11 (depends on 9)

The learning inference method according to claim 9, wherein, in the inference phase, for an aggregate value obtained by aggregating output values of the learning network units for each label, calculation is performed to selectively output a relatively large aggregate value with respect to the aggregate value functioning for a plurality of labels.

### Claim 12 (depends on 11)

The learning inference method according to claim 11, wherein the learning data is a combination of the feature value vector and the label associated with the feature value vector, when labels included in a plurality of label sets are associated with each learning data,
in the learning phase, a value of a weight included in the learning network unit is determined,
in the inference phase, for each label set, the similarity calculated by the learning network unit based on the feature value vector is set as an input value to the activation function for defining the operation of the perceptron and the neuron,
the value calculated by the activation function is set as an output value of the learning network unit,
the output value is aggregated for each label included in the learning data assigned to the learning network unit that has calculated the similarity on which the output value is based, and
the aggregated value for each label is set as an inference result, so that learning is simultaneously performed on the learning data in which labels included in a plurality of label sets are associated with a common feature value vector.

### Claim 13

A non-transitory computer-readable storage medium storing a neural network execution program causing a computer as a similarity calculator for receiving some or all of inputs with respect to a plurality of inputs to execute:
a procedure of receiving one or more input values of one of a value L and a value H, wherein
when an i-th input value in a learning phase is represented as xi, and
an i-th input value in an inference phase is represented as yi,
wi is assigned to the i-th input value;
a procedure of setting one of the value L and the value H to the value wi;
in the learning phase, a procedure of setting the value wi of a weight assigned to the i-th input value to xi;
in the inference phase,
a procedure of calculating a number of inputs in which the value of xi is H,
a number of inputs in which both wi and yi are H, and
a number of inputs in which the value of yi is H; and
a procedure of calculating a value obtained by dividing the number of inputs in which both wi and yi are the value H by a value obtained by adding the number of inputs in which yi is the value H to the number of inputs in which wi is the value H as similarity representing a degree of similarity.
