Superpixel CNN Layers for Efficient Shallow-Depth Computation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing convolutional neural networks (CNNs) exhibit poor computational efficiency when input or output depths are shallow, leading to inefficient matrix multiplication operations, particularly in software libraries and hardware units.

Innovation Solution

The implementation of superpixel CNN layers, which group multiple inputs together, trading spatial extent for depth extent, allowing for more efficient matrix multiplication operations and reducing the number of kernel elements required, thereby enhancing computational efficiency and usability without modifying hardware.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If standard CNN layers are used with shallow input or output depths, then the network structure remains simple, but computational efficiency deteriorates due to inefficient matrix multiplication operations

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidnetwork structure complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies dimensionality change by transforming the input tensor from spatial dimensions (X×Y) to a combined depth dimension (Z'). Specifically, it reshapes the input tensor of shape (X, Y, Z) into (X', Y', Z') where Z' = Z × N × M and X' = X/(N×M), effectively moving the problem from spatial convolution to depth-wise operations that are more efficient for matrix multiplication on modern hardware

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

Solution Approach 2:

The patent changes the parameters of the convolutional layer by introducing a transformation matrix T that modifies the weight matrices. The transformed weight matrices operate on the transformed input tensor to produce transformed output tensors, which are then reshaped to match the original output format. This parameter transformation enables efficient computation while maintaining mathematical equivalence

Inventive Principle:
Principle #35Parameter changes

2Productivity

If superpixel CNN layers are implemented to improve computational efficiency, then matrix multiplication becomes more efficient, but the number of kernel elements increases

Engineering Contradiction:
Improvecomputational throughputVSAvoidnumber of kernel elements
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent merges multiple kernel elements into a single transformed weight matrix that operates on superpixel inputs. By grouping N×M input pixels into superpixels and transforming the weight matrices accordingly, it reduces the number of separate kernel operations needed while maintaining the same computational functionality through more efficient matrix multiplication

Inventive Principle:
Principle #5Merging (Combining)

3Speed

If standard CNN layers are used, then hardware compatibility is good, but computational latency increases due to inefficient operations

Engineering Contradiction:
Improvecomputational speedVSAvoidcomputational latency
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The patent substitutes the traditional spatial convolution mechanism with a transformed matrix multiplication mechanism. By transforming the input tensor and weight matrices into a format that leverages modern hardware's matrix multiplication capabilities, it replaces inefficient spatial operations with optimized linear algebra operations that execute faster on current computing architectures

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

Data Source

PatentUS12450466B2Superpixel methods for convolutional neural networks
Publication Date: 2025.10.21 GOOGLE LLC
  • US12450466B2 patent drawing
  • US12450466B2 patent drawing
  • US12450466B2 patent drawing

AI summary

Methods, systems, and apparatus for efficiently performing a computation of a convolutional neural network layer. One of the methods includes transforming a X by Y by Z input tensor into a X′ by Y′ by Z′ input tensor, wherein X′ is smaller than or equal to X, Y′ is smaller than or equal to Y, and Z′ is larger than or equal to Z; obtaining one or more modified weight matrices, wherein the modified weight matrices operate on the X′ by Y′ by Z′ input tensor to generate a U′ by V′ by W′ output tensor, and the U′ by V′ by W′ output tensor is a transformed U by V by W output tensor; and processing the X′ by Y′ by Z′ input tensor using the modified weight matrices to generate the U′ by V′ by W′ output tensor.