US 11,809,995 B2
Information processing device and method, and recording medium for determining a variable data type for a neural network
Yasufumi Sakai, Fuchu (JP)
Assigned to FUJITSU LIMITED, Kawasaki (JP)
Filed by FUJITSU LIMITED, Kawasaki (JP)
Filed on Aug. 20, 2020, as Appl. No. 16/997,989.
Claims priority of application No. 2019-167656 (JP), filed on Sep. 13, 2019.
Prior Publication US 2021/0081802 A1, Mar. 18, 2021
Int. Cl. G06N 3/08 (2023.01); G06N 3/084 (2023.01); G06N 3/063 (2023.01); G06N 5/046 (2023.01)
CPC G06N 3/084 (2013.01) [G06N 3/063 (2013.01); G06N 5/046 (2013.01)] 10 Claims
OG exemplary drawing
 
1. An information processing device, comprising:
a memory; and
a processor coupled to the memory and configured to:
acquire statistical information regarding distribution of positions of most significant bits of operation result for calculation of a neural network for a first period, the operation result being obtained by using a first variable that is quantized to a first fixed-point type, the first variable being a variable among variables to be used for the calculation of the neural network,
generate a threshold value based on reference information related to a first recognition rate obtained by calculation of the neural network when the first variable that is a floating-point type is used and a second recognition rate that is obtained by the calculation of the neural network for the first period,
determine a second fixed-type for quantizing the first variable for calculation of the neural network for the second period after the first period based on the statistical information,
calculate a quantization error of the first variable between the second fixed-point type and the floating-point type, and
execute the calculation of the neural network for the second period by using the first variable of the second fixed-point type when the quantization error is less than or equal to the threshold.