Tensor Data Parallel Processing Conflict Resolution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for analyzing multidimensional tensor data, such as canonical polyadic decomposition (CPD) using alternating least squares (ALS), face significant challenges with increased calculation time and memory usage due to the matricized tensor times khatri-rao product (MTTKRP) operations, particularly when dealing with sparse data, where conflicts between parallel operations can lead to incorrect results.

Innovation Solution

An information processing method that acquires data specifying non-zero elements and their indices, generates data for grouping overlapping index combinations into different groups, and performs MTTKRP processing in parallel on these groups to avoid conflicts and optimize calculation time and memory usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If MTTKRP operations are performed in parallel on sparse tensor data, then calculation time is reduced, but conflicts between parallel operations occur leading to incorrect results

Engineering Contradiction:
Improvecalculation timeVSAvoidcorrectness of results
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The patent segments the parallel MTTKRP operations into multiple independent groups based on index patterns. By dividing the computation space into discrete segments that do not overlap in memory access, the patent eliminates conflicts between parallel threads while maintaining parallelization benefits. Each segment processes a unique subset of tensor elements, ensuring correctness while achieving speedup.

Inventive Principle:
Principle #1Segmentation

2Productivity

If conventional MTTKRP methods are used for tensor decomposition, then analysis of multidimensional data is achieved, but memory usage increases significantly

Engineering Contradiction:
Improvetensor data analysis capabilityVSAvoidmemory usage
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent extracts and processes only the non-zero elements of sparse tensor data, ignoring zero elements entirely. By extracting the essential computational information (non-zero values and their indices) and performing MTTKRP operations only on these extracted elements, the patent dramatically reduces memory usage while preserving the full analytical capability for tensor decomposition.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If parallel processing is applied to MTTKRP operations, then calculation efficiency is improved, but device complexity increases due to conflict management

Engineering Contradiction:
Improvecalculation efficiencyVSAvoidparallel processing complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent performs preliminary grouping of computation tasks before parallel execution. By pre-organizing the MTTKRP operations into conflict-free groups based on index patterns, the patent eliminates the need for complex runtime conflict detection and resolution mechanisms. This preliminary organization simplifies the parallel processing architecture while maintaining high calculation efficiency.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20230068150A1Computer-readable recording medium storing information processing program and information processing method
Publication Date: 2023.03.02 FUJITSU LTD
  • US20230068150A1 patent drawing
  • US20230068150A1 patent drawing
  • US20230068150A1 patent drawing

AI summary

A non-transitory computer-readable recording medium stores an information processing program for causing a computer to execute processing including: acquiring first data that enables, for each of non-zero elements included in multidimensional tensor data, specification of a combination of a value of the element and an index of each dimension that indicates a position of the element; generating, on the basis of the acquired first data, second data that enables specification of a plurality of groups obtained by grouping each of the combinations such that the combinations with indexes that overlap with each other are included in different groups; and performing, on the basis of the generated second data, matricized tensor times khatri-rao product (MTTKRP) processing by setting each combination of a plurality of combinations included in the group as a target of parallel processing in the MTTKRP processing related to the tensor data.