Per kernel Kmeans compression for neural networks

US11055604B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11055604-B2
Application numberUS-201715702193-A
CountryUS
Kind codeB2
Filing dateSep 12, 2017
Priority dateSep 12, 2017
Publication dateJul 6, 2021
Grant dateJul 6, 2021

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.

Methods and apparatus relating to techniques for incremental network quantization. In an example, an apparatus comprises logic, at least partially comprising hardware logic to determine a plurality of weights for a layer of a convolutional neural network (CNN) comprising a plurality of kernels; organize the plurality of weights into a plurality of clusters for the plurality of kernels; and apply a K-means compression algorithm to each of the plurality of clusters. Other embodiments are also disclosed and claimed.

First claim

Opening claim text (preview).

The invention claimed is: 1. A general-purpose graphics processing device comprising: an instruction cache to receive a stream of instructions; an instruction unit to execute the stream of instructions; a general-purpose graphics processing compute block comprising a plurality of processing resources; a shared cache memory communicatively coupled to the plurality of processing resources to receive data representing one or more layers of a convolutional neural network; and the plurality of processing resources of the graphics processing compute block to: determine a plurality of weights for a layer of a convolutional neural network (CNN) comprising a plurality of kernels; organize the plurality of weights into a plurality of clusters on a per-kernel basis for the plurality of kernels; compute a center point for the plurality of weights on a per-kernel basis in each cluster; and apply a K-means compression algorithm to each of the plurality of clusters. 2. The general-purpose graphics processing device of claim 1 , the plurality of processing resources of the graphics processing compute block to: encode the plurality of weights as a 1D tensor. 3. The general-purpose graphics processing device of claim 2 , the plurality of processing resources of the graphics processing compute block to: determine an index associated with the center point for the plurality of weights in each cluster. 4. The general-purpose graphics processing device of claim 3 , wherein the plurality of weights are compressed to 4 bits. 5. The general-purpose graphics processing device of claim 3 , the plurality of processing resources of the graphics processing compute block to: store the index in the shared cache memory. 6. An electronic device, comprising: a general purpose processor having one or more processor cores; and a graphics processing device, comprising: an instruction cache to receive a stream of instructions; an instruction unit to execute the stream of instructions; a general-purpose graphics processing compute block comprising a plurality of processing resources; a shared cache memory communicatively coupled to the plurality of processing resources to receive data representing one or more layers of a convolutional neural network; and the plurality of processing resources of the graphics processing compute block to: determine a plurality of weights for a layer of a convolutional neural network (CNN) comprising a plurality of kernels; organize the plurality of weights into a plurality of clusters on a per-kernel basis for the plurality of kernels; compute a center point for the plurality of weights on a per-kernel basis in each cluster; and apply a K-means compression algorithm to each of the plurality of clusters. 7. The electronic device of claim 6 , the plurality of processing resources of the graphics processing compute block to: encode the plurality of as a 1D tensor. 8. The electronic device of claim 7 , the plurality of processing resources of the graphics processing compute block to: determine an index associated with the center point for the plurality of weights in each cluster. 9. The electronic device of claim 8 , wherein the plurality of weights are compressed to 4 bits. 10. The electronic device of claim 8 , the plurality of processing resources of the graphics processing compute block to: store the index in the shared cache memory.

Assignees

Inventors

Classifications

  • Activation functions · CPC title

  • Combinations of networks · CPC title

  • Recurrent networks, e.g. Hopfield networks · CPC title

  • G06N3/0495Primary

    Quantised networks; Sparse networks; Compressed networks · CPC title

  • Convolutional networks [CNN, ConvNet] · 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 US11055604B2 cover?
Methods and apparatus relating to techniques for incremental network quantization. In an example, an apparatus comprises logic, at least partially comprising hardware logic to determine a plurality of weights for a layer of a convolutional neural network (CNN) comprising a plurality of kernels; organize the plurality of weights into a plurality of clusters for the plurality of kernels; and appl…
Who is the assignee on this patent?
Intel Corp
What technology area does this patent fall under?
Primary CPC classification G06N3/0495. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 06 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).