Tensor Network Hypergraph Decomposition for Faster Contraction Trees

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing tensor network contraction schemes are inefficient in finding optimal contraction trees, consuming excessive communication bandwidth and memory, and are not adaptive to dynamic changes in tensor networks, leading to suboptimal computation times and resource usage.

Innovation Solution

Implement hypergraph decomposition and parameter optimization using multi-partite and bipartition decomposition algorithms to iteratively decompose tensor networks into sub-graphs, dynamically adjusting parameters to find an optimal contraction tree that minimizes computation and storage costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If standard matrix product contraction scheme is used, then computation can be performed, but communication bandwidth and memory capacity are excessively consumed

Engineering Contradiction:
Improvecontraction speedVSAvoidmemory capacity
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent applies segmentation by decomposing the tensor network into multiple smaller sub-networks or blocks, each processed independently or in parallel. This divides the large-scale contraction problem into manageable segments that consume less memory individually, while maintaining overall computational efficiency through systematic combination of results.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transforms the contraction problem by introducing a new dimensional perspective through hypergraph representation and multi-level decomposition strategies. This dimensional transformation allows reorganization of computation to reduce memory footprint while preserving computational integrity.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Productivity

If handcrafted contraction orders are used, then computation can be performed, but adaptability to dynamic changes is poor

Engineering Contradiction:
Improvecontraction speedVSAvoidadaptability to dynamic changes
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamics by employing adaptive contraction order selection that can respond to changes in tensor network structure. The system dynamically adjusts contraction strategies based on runtime conditions, tensor properties, and resource availability, enabling adaptability to dynamic changes while maintaining high computational efficiency.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent applies parameter changes by modifying contraction parameters such as contraction order, block size, and decomposition depth based on the specific characteristics of the tensor network and computational requirements. This allows optimization of both speed and adaptability by adjusting parameters rather than relying on fixed handcrafted orders.

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If decomposition without parameter optimization is used, then low-rank subnetworks are obtained, but computation time is not optimized

Engineering Contradiction:
Improvesubnetwork structureVSAvoidcomputation time
Core Design Contradiction:
Device complexityVSLoss of time

Solution Approach 1:

The patent applies parameter changes by systematically optimizing decomposition parameters including rank selection, block dimensions, and contraction order. This optimization process transforms the decomposition from a simple structural operation into an efficiency-optimized process that minimizes computation time while maintaining the benefits of low-rank representation.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements feedback mechanisms that evaluate the effectiveness of decomposition and contraction strategies during computation. This feedback allows iterative refinement of decomposition parameters and contraction orders, ensuring that computation time is optimized based on actual performance metrics rather than theoretical assumptions.

Inventive Principle:
Principle #23Feedback

4Productivity

If existing contraction schemes are used, then tensor network can be contracted, but optimal contraction tree is difficult to find

Engineering Contradiction:
Improvecontraction speedVSAvoidcontraction tree structure
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by pre-processing the tensor network to identify optimal contraction sequences and structures before actual computation begins. This includes preliminary analysis of tensor properties, pre-computation of contraction costs, and pre-establishment of optimal contraction trees, which guides the subsequent contraction process to achieve optimal performance.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent replaces manual or heuristic-based contraction tree construction with automated algorithms that systematically explore and identify optimal contraction sequences. This substitution of mechanical/manual processes with intelligent algorithms enables finding optimal contraction trees that would be intractable to discover through traditional methods.

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

Data Source

PatentUS12481907B2Methods and systems for tensor network contraction based on hypergraph decomposition and parameter optimization
Publication Date: 2025.11.25 ALIBABA GROUP HOLDING LTD
  • US12481907B2 patent drawing
  • US12481907B2 patent drawing
  • US12481907B2 patent drawing

AI summary

Methods and systems for tensor network contraction are provided. A method implemented by a computing host includes obtaining a plurality of tensor nodes associated with a tensor network and a plurality of indices respectively associated with the plurality of tensor nodes; generating a graph associated with the tensor network, wherein the plurality of tensor nodes correspond to a plurality of vertices of the graph and the plurality of indices correspond to a plurality of edges of the graph, respectively; decomposing the graph into a plurality of sub-graphs; and for each sub-graph of the plurality of sub-graphs, iteratively decomposing a current sub-graph into a plurality of next-tier sub-graphs until a size of each of the plurality of next-tier sub-graphs is less than a pre-set threshold.