# US 2019/0244097 A1 · Information processing apparatus and information processing method

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

- Number: US 2019/0244097 A1
- Document ID: US20190244097A1
- Status: Published application
- Kind: A1
- Application number: 16/254,837
- Filed: 2019-01-23
- Published: 2019-08-08
- Earliest claimed: 2018-02-07
- Assignees: Fujitsu Limited
- Applicants: Fujitsu Limited
- Inventors: Takahiro Notsu; MAKIKO ITO
- Web page: https://patentgrep.com/patent/US20190244097A1

## CPC

- G06F 7/49942: {Significance control}
- G06N 3/08: Learning methods
- G06F 7/483: Computations with numbers represented by a non-linear combination of denominational numbers, e.g. rational numbers, logarithmic number system or floating-point numbers {(G06F7/4806, G06F7/4824, G06F7/49, G06F7/491, G06F7/544 take precedence)}
- G06F 7/5443: {Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00)}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/063: using electronic means
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06F 2207/3828: Multigauge devices, i.e. capable of handling packed numbers without unpacking them
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An information processing apparatus includes a memory and a processor coupled to the memory. The processor acquires statistical information including a distribution of operation result values from the memory, when it is determined that a number of acquired statistical information samples is larger than a predetermined value, generates a program by setting a data type for which a ratio of a maximum value to a minimum value of values that can be expressed is smaller among data types usable for target data in an operation as the target data, and when it is determined that the number of acquired statistical information samples is smaller than the predetermined value, generates the program by setting the data type for which the ratio of the maximum value to the minimum value of values that can be expressed is larger among data types usable for target data in the operation as the target data.

## Claims

### Claim 1

An information processing apparatus comprising:
a memory; and
a processor coupled to the memory and configured to:
acquire statistical information including a distribution of operation result values from the memory,
when it is determined that a number of acquired statistical information samples is larger than a predetermined value, generate a program by setting a data type for which a ratio of a maximum value to a minimum value of values that can be expressed is smaller among data types usable for target data in an operation as the target data, and
when it is determined that the number of acquired statistical information samples is smaller than the predetermined value, generate the program by setting the data type for which the ratio of the maximum value to the minimum value of values that can be expressed is larger among data types usable for target data in the operation as the target data.

### Claim 2 (depends on 1)

The information processing apparatus according to claim 1, wherein the processor is configured to:
execute at least one of a fixed point number operation and a floating point number operation,
set a data type of a fixed point number as the target data when it is determined that the number of samples is larger than the predetermined value, and
set the data type of a floating point number as the target data when it is determined that the number of samples is smaller than the predetermined value.

### Claim 3 (depends on 1)

The information processing apparatus according to claim 1,
wherein the program is a program for executing a process by a neural network with a plurality of hierarchies.

### Claim 4 (depends on 3)

The information processing apparatus according to claim 3, wherein the processor is configured to:
acquire the number of times of operation in each layer of the neural network from definition information defining the neural network, and
acquire the number of the statistical information samples based on the number of times of operation in each layer of the neural network and a ratio of acquisition of the statistical information with respect to the number of times of operation in the arithmetic processing.

### Claim 5 (depends on 1)

The information processing apparatus according to claim 1,
wherein the processor is configured to determine the predetermined value based on an operation in the arithmetic processing.

### Claim 6 (depends on 4)

The information processing apparatus according to claim 4,
wherein the processor is configured to determine the predetermined value based on a difference between a learning error when deep learning is executed using a floating point number and a learning error when the deep learning is executed using a fixed point number.

### Claim 7 (depends on 5)

The information processing apparatus according to claim 5,
wherein the processor is configured to acquire the difference by the deep learning performed a predetermined limited number of times.

### Claim 8

An information processing method executed by a processor included in an information processing apparatus, the method comprising:
acquiring statistical information including a distribution of operation result values from the memory;
when it is determined that a number of acquired statistical information samples is larger than a predetermined value, generating a program by setting a data type for which a ratio of a maximum value to a minimum value of values that can be expressed is smaller among data types usable for target data in an operation as the target data; and
when it is determined that the number of acquired statistical information samples is smaller than the predetermined value, generating the program by setting the data type for which the ratio of the maximum value to the minimum value of values that can be expressed is larger among data types usable for target data in the operation as the target data.

### Claim 9 (depends on 8)

The information processing method according to claim 8, further comprising:
executing at least one of a fixed point number operation and a floating point number operation,
setting a data type of a fixed point number as the target data when it is determined that the number of samples is larger than the predetermined value, and
setting the data type of a floating point number as the target data when it is determined that the number of samples is smaller than the predetermined value.

### Claim 10 (depends on 8)

The information processing method according to claim 8,
wherein the program is a program for executing a process by a neural network with a plurality of hierarchies.

### Claim 11 (depends on 8)

The information processing method according to claim 8, further comprising:
acquiring a number of times of operation in each layer of the neural network from definition information defining the neural network, and
acquiring the number of the statistical information samples based on the number of times of operation in each layer of the neural network and a ratio of acquisition of the statistical information with respect to the number of times of operation in the arithmetic processing.

### Claim 12 (depends on 8)

The information processing method according to claim 8, further comprising:
determining the predetermined value based on an operation in the arithmetic processing.

### Claim 13 (depends on 8)

The information processing method according to claim 8, further comprising:
determining the predetermined value based on a difference between a learning error when deep learning is executed using a floating point number and a learning error when the deep learning is executed using a fixed point number.

### Claim 14 (depends on 13)

The information processing method according to claim 13, wherein the difference is acquired by performing a predetermined number of the deep learning.

### Claim 15

A non-transitory computer-readable recording medium storing a program that causes a processor included in an information processing apparatus to execute a process, the process comprising:
acquiring, by the processor, statistical information including a distribution of operation result values from the memory;
when it is determined that a number of acquired statistical information samples is larger than a predetermined value, generating a program by setting a data type for which a ratio of a maximum value to a minimum value of values that can be expressed is smaller among data types usable for target data in an operation as the target data; and
when it is determined that the number of acquired statistical information samples is smaller than the predetermined value, generating the program by setting the data type for which the ratio of the maximum value to the minimum value of values that can be expressed is larger among data types usable for target data in the operation as the target data.
