Processor Internal Memory for DNN Convolution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The limited internal memory capacity in processors hampers efficient processing of deep neural networks (DNNs) due to the need for frequent communication with external memory, leading to increased processing time for input data.

Innovation Solution

A processor with a memory and a convolution calculation unit, controlled by a controller, efficiently processes data by storing and retrieving data within the internal memory, performing convolution calculations based on kernel data, and managing data storage and retrieval to minimize reliance on external memory bandwidth.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If data is stored in external memory for DNN processing, then the processor can access large capacity storage, but the processing time increases due to communication overhead with external memory

Engineering Contradiction:
Improvememory capacityVSAvoidprocessing time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent segments the memory system into internal memory (within processor) and external memory, with the internal memory specifically allocated to store kernel data and intermediate calculation results. This segmentation allows frequently accessed data to be kept close to the processing unit, reducing external memory access frequency and time while maintaining the ability to access large external storage when needed.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary action by pre-loading kernel data into the internal memory before the actual DNN processing begins. This preparation ensures that essential data is already available in fast internal memory, eliminating the need for repeated external memory access during processing and thereby reducing overall processing time.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If internal memory capacity is increased to store more DNN data, then processing speed improves, but the device complexity and cost increase

Engineering Contradiction:
Improveprocessing speedVSAvoidmemory capacity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies local quality by allocating internal memory specifically for storing kernel data and intermediate results that are locally required for processing, rather than uniformly increasing overall memory capacity. This targeted allocation optimizes processing speed for DNN operations without unnecessarily increasing device complexity or cost across the entire system.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent implements partial action by providing internal memory capacity that is sufficient for storing kernel data and intermediate results needed for processing, rather than providing excessive memory capacity. This approach achieves the necessary processing speed improvement without the diminishing returns and increased complexity that would result from over-provisioning memory.

Inventive Principle:
Principle #16Partial or excessive action

3Quantity of substance

If data is frequently transferred between external memory and processor, then the processor can handle large datasets, but the communication overhead increases processing time

Engineering Contradiction:
Improvedata volumeVSAvoidcommunication time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent introduces internal memory as an intermediary between external memory and the processing unit. Kernel data and intermediate calculation results are first transferred to this intermediary internal memory, where they can be accessed rapidly during processing. This intermediary layer reduces the frequency and volume of direct communications between the processor and external memory, thereby reducing communication overhead and processing time while still enabling handling of large datasets.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11244027B2Processor, electronics apparatus and control method thereof
Publication Date: 2022.02.08 SAMSUNG ELECTRONICS CO LTD
  • US11244027B2 patent drawing
  • US11244027B2 patent drawing
  • US11244027B2 patent drawing

AI summary

Disclosed is an electronic apparatus which executes an artificial intelligence algorithm using a convolution calculation unit and memory local to the electronic apparatus.