Residual quantization of bit-shift weights in an artificial neural network
AssigneeHong Kong Applied Science and Technology Institute Company Limited
InventorsYu Liu, Xuejiao Liu, Luhong Liang
Life of this patent
Estimating the term…
Loading patent…
AssigneeHong Kong Applied Science and Technology Institute Company Limited
InventorsYu Liu, Xuejiao Liu, Luhong Liang
Estimating the term…
A neural network accelerator reads encoded weights from memory. All 1 bits in a weight except the first three are discarded. The first three leading 1 bits in the weight are encoded as three bit-shift values to form the encoded weight. The three bit-shift values are applied to a bit shifter to shift a node input to obtain three shifted inputs that are accumulated to generate the node output. Node complexity is reduced since only 3 shifts are performed rather than up to 15 shifts for a 16-bit weight. The bit shifter and accumulator for a node can be implemented by Look-Up Tables (LUTs) without requiring a Multiply-Accumulate (MAC) cell in a Field-Programmable Gate Array (FPGA). Quantization bias is reduced using a histogram analyzer that determines a weighted average for each interval between quantized weights. The third bit-shift value is incremented for weights in the interval above the weighted average.
A network system comprising:
A neural network accelerator system stem comprising:
A neural network system comprising:
Dependencies are inferred from the claim text.