Neural Network Address Mapping for Reconstruction-Free Tensor Operations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Typical neural processors do not support operations for reconstructing data in generative adversarial networks and similar networks, leading to reduced utilization of multiply-accumulate (MAC) operations and lower performance.

Innovation Solution

A neural network operation apparatus with a memory and processors that validate data based on virtual tensor addresses and strides, obtaining real memory addresses through modulo operations and floor functions to perform operations like upsampling and transposed convolution without data reconstruction in physical memory.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If data reconstruction operations are performed by transmitting data to host and receiving back, then data reconstruction is achieved, but MAC operation device utilization is reduced and total performance is lowered

Engineering Contradiction:
Improvetotal performanceVSAvoiddata reconstruction process complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent replaces the mechanical data transmission process (reading from host memory, writing to host memory) with a virtual memory addressing mechanism. The neural processor directly computes real memory addresses from virtual tensor addresses using mathematical operations, eliminating the need for physical data transfer and enabling in-place data reconstruction operations.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent introduces a virtual memory address space as an intermediary between the physical memory and the data reconstruction operations. By mapping virtual tensor addresses to real memory addresses through address translation, the system enables data reconstruction without actual data movement, resolving the contradiction between achieving data reconstruction and maintaining high MAC operation utilization.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Use of energy by moving object

If typical neural processor scheme is used for data reconstruction, then data reconstruction is possible, but MAC operation device utilization is reduced

Engineering Contradiction:
ImproveMAC operation device utilizationVSAvoidtotal performance
Core Design Contradiction:
Use of energy by moving objectVSProductivity

Solution Approach 1:

The patent changes the fundamental parameter of data address representation from physical memory addresses to virtual tensor addresses with stride information. This parameter transformation enables the system to perform data reconstruction operations directly within the neural processor using virtual address arithmetic, thereby maximizing MAC operation device utilization without sacrificing data reconstruction capability.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12596907B2Neural network operation apparatus and method
Publication Date: 2026.04.07 SAMSUNG ELECTRONICS CO LTD
  • US12596907B2 patent drawing
  • US12596907B2 patent drawing
  • US12596907B2 patent drawing

AI summary

A neural network operation apparatus and method is provided. The neural network operation apparatus includes a memory configured to store data for a neural network operation, and a processor configured to validate the data based on a determination that the neural network operation should be performed on the data, obtain a real memory address to perform the neural network operation based on a result of the validating and a virtual tensor address of the data, and perform the neural network operation based on the real memory address.