PIM Controller Segmentation for AI Model Execution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing processing-in-memory (PIM) architectures face challenges in achieving optimal performance due to increased communication overhead between memory and the host processor, and difficulties in performing non-linear function (NLF) operations directly in PIM.

Innovation Solution

An electronic device is designed with a PIM controller that classifies operations between PIM operations and NLF operations, performs NLF operations itself, and generates PIM requests for PIM operations, thereby offloading tasks from the host processor and reducing communication overhead.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If PIM architecture is used to accelerate AI model execution, then execution speed is improved, but communication overhead between memory and host processor increases

Engineering Contradiction:
ImproveAI model execution speedVSAvoidcommunication overhead
Core Design Contradiction:
SpeedVSLoss of energy

Solution Approach 1:

The patent merges the PIM controller with the memory controller into a single integrated unit. This integration eliminates the need for separate communication interfaces and control logic, thereby reducing communication overhead and energy consumption while maintaining accelerated AI model execution through PIM operations.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The integrated controller performs multiple functions: it manages both standard memory operations and PIM-specific operations, classifies different operation types (PIM operations versus NLF operations), and generates appropriate control signals. This multi-functionality reduces the need for separate dedicated controllers, minimizing communication overhead.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Productivity

If more operations are performed in PIM, then host processor workload is reduced, but PIM area requirements increase

Engineering Contradiction:
Improvehost processor throughputVSAvoidPIM area
Core Design Contradiction:
ProductivityVSArea of stationary object

Solution Approach 1:

The patent segments operations into two categories: PIM operations that can be executed directly in the memory device, and NLF (non-linear function) operations that require the host processor. This segmentation allows the PIM to handle straightforward computational tasks locally, improving host processor throughput without requiring the PIM to accommodate all possible operation types, thus controlling PIM area requirements.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The integrated memory controller acts as an intermediary that classifies incoming operations and routes them appropriately. It identifies which operations can be performed in PIM and which require NLF processing by the host processor, enabling efficient task distribution without overloading the PIM with operations it cannot efficiently handle, thereby optimizing the balance between productivity and PIM area.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Loss of energy

If PIM performs all operations, then communication with host processor is minimized, but operations requiring NLF cannot be executed

Engineering Contradiction:
Improvecommunication energyVSAvoidoperation type support
Core Design Contradiction:
Loss of energyVSAdaptability or versatility

Solution Approach 1:

The system dynamically adapts its operation execution strategy based on the type of operation requested. The integrated controller classifies each operation in real-time, determining whether it should be executed as a PIM operation or an NLF operation. This dynamic classification allows the system to minimize communication energy for suitable operations while maintaining the ability to handle diverse operation types including NLF operations that require host processor involvement.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20250190747A1Electronic device for accelerating execution of a model and method of operating the same
Publication Date: 2025.06.12 SAMSUNG ELECTRONICS CO LTD
  • US20250190747A1 patent drawing
  • US20250190747A1 patent drawing
  • US20250190747A1 patent drawing

AI summary

An electronic device includes a processing-in-memory (PIM) controller and PIM configured to perform a PIM operation in response to a PIM request generated by the PIM controller. The PIM controller is configured to perform a non-linear function (NLF) operation among a plurality of requested operations, generate a PIM request for the PIM operation, and transmit the PIM request to the PIM.