Electronic apparatus and method for controlling thereof

US2021271981A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2021271981-A1
Application numberUS-202117171582-A
CountryUS
Kind codeA1
Filing dateFeb 9, 2021
Priority dateMar 2, 2020
Publication dateSep 2, 2021
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An electronic apparatus performing an operation of a neural network model is provided. The electronic apparatus includes a memory configured to store weight data including quantized weight values of the neural network model; and a processor configured to obtain operation data based on input data and binary data having at least one bit value different from each other, generate a lookup table by matching the operation data with the binary data, identify operation data corresponding to the weight data from the lookup table, and perform an operation of the neural network model based on the identified operation data.

First claim

Opening claim text (preview).

What is claimed is: 1 . An electronic apparatus that performs an operation of a neural network model, the electronic apparatus comprising: a memory configured to store weight data including quantized weight values of the neural network model; and a processor configured to: obtain operation data based on input data and binary data having at least one bit value different from each other, generate a lookup table by matching the operation data with the binary data, identify operation data corresponding to the weight data from the lookup table, and perform an operation of the neural network model based on the identified operation data. 2 . The electronic apparatus of claim 1 , wherein the binary data includes n bit values, wherein the input data includes a plurality of input values of a matrix, and wherein the processor is further configured to: obtain n input values in each column of the matrix, and identify the operation data for each of the binary data based on the binary data and the n input values. 3 . The electronic apparatus of claim 2 , wherein the weight data includes a plurality of weight values of the matrix, and wherein the processor is further configured to: identify n weight values corresponding to the n input values in each row of the matrix, identify binary data corresponding to the identified n weight values among the binary data, and identify operation data corresponding to the identified binary data from the lookup table. 4 . The electronic apparatus of claim 3 , wherein the processor is further configured to: determine, among a plurality of lookup tables generated based on input values of each column of the matrix, a lookup table corresponding to each column of an output matrix for the input data, and derive output values for each column of the output matrix from each of the lookup tables. 5 . The electronic apparatus of claim 3 , wherein the processor is further configured to: divide the matrix including the plurality of input values into a first matrix and a second matrix based on predetermined rows, divide the matrix including the plurality of weight values into a third matrix and a fourth matrix based on predetermined columns, generate a first plurality of lookup tables based on input values of each column of the first matrix, identify first operation data corresponding to each row of the third matrix from the first plurality of lookup tables, generate a second plurality of lookup tables based on input values of each column of the second matrix, and identify second operation data corresponding to each row of the fourth matrix from the second plurality of lookup tables. 6 . The electronic apparatus of claim 2 , wherein the processor is further configured to: obtain eight input values from each column of the matrix, and identify the operation data for each of the binary data based on the binary data and the eight input values. 7 . The electronic apparatus of claim 2 , wherein the processor is further configured to: based on a first operation expression and a second operation expression having a same intermediate operation expression existing in a plurality of operation expressions based on the binary data and the n input values, perform the operation of the second operation expression based on the operation value of the first operation expression. 8 . A method for controlling an electronic apparatus to perform an operation of a neural network model, the method comprising: obtaining operation data based on input data and binary data including at least one bit value different from each other; generating a lookup table by matching the operation data with the binary data; identify operation data corresponding to weight data including quantized weight values of the neural network model from the lookup table; and performing an operation of the neural network model based on the identified operation data. 9 . The method of claim 8 , wherein each of the binary data includes n bit values, wherein the input data includes a plurality of input values of a matrix, and wherein the obtaining operation data comprises: obtaining n input values in each column of the matrix; and identifying the operation data for each of the binary data based on the binary data and the n input values. 10 . The method of claim 9 , wherein the weight data includes a plurality of weight values of a matrix, and wherein performing the operation of the neural network model comprises: identifying n weight values corresponding to the n input values in each row of the matrix, identifying binary data corresponding to the identified n weight values among the binary data, identifying the operation data corresponding to the identified binary data from the lookup table, and performing the operation of the neural network model based on the identified operation data. 11 . The method of claim 10 , wherein performing the operation of the neural network model comprises: determining, among a plurality of lookup tables generated based on input values of each column of the matrix, a lookup table corresponding to each column of an output matrix for the input data, and identifying output values of each column of the output matrix from each of the lookup tables. 12 . The method of claim 10 , wherein identifying the operation data comprises: dividing the matrix including the plurality of input values into a first matrix and a second matrix based on predetermined rows; dividing the matrix including the plurality of weight values into a third matrix and a fourth matrix based on predetermined columns; generating a first plurality of lookup tables based on input values of each column of the first matrix; identifying first operation data corresponding to each row of the third matrix from the first plurality of lookup tables; generating a second plurality of lookup tables based on input values of each column of the second matrix; and identifying second operation data corresponding to each row of the fourth matrix from the second plurality of lookup tables. 13 . The method of claim 9 , wherein identifying the operation data comprises: obtaining eight input values from each column of the matrix; and identifying the operation data for each of the binary data based on the binary data and the eight input values. 14 . The method of claim 9 , wherein generating the lookup table comprises: based on a first operation expression and a second operation expression having a same intermediate operation expression existing in a plurality of operation expressions based on the binary data and the n input values, performing the operation of the second operation expression based on the operation value of the first operation expression.

Assignees

Inventors

Classifications

  • Convolutional networks [CNN, ConvNet] · CPC title

  • Quantised networks; Sparse networks; Compressed networks · CPC title

  • G06F1/03Primary

    working, at least partly, by table look-up (G06F1/025 takes precedence) · CPC title

  • G06N3/063Primary

    using electronic means · CPC title

  • G06N3/10Primary

    Interfaces, programming languages or software development kits, e.g. for simulating neural networks · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2021271981A1 cover?
An electronic apparatus performing an operation of a neural network model is provided. The electronic apparatus includes a memory configured to store weight data including quantized weight values of the neural network model; and a processor configured to obtain operation data based on input data and binary data having at least one bit value different from each other, generate a lookup table by …
Who is the assignee on this patent?
Samsung Electronics Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F1/03. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Sep 02 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).