Matrix-Based Intra Prediction With Fixed-Point Mode Settings

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The challenge in implementing matrix-based intra prediction modes is the need to approximate matrix-vector products using integer operations, which can lead to significant deviations from the trained floating-point operations, disrupting the data-driven approach and increasing bit stream costs.

Innovation Solution

Represent prediction matrix entries in a fixed point representation with a common bit-depth and apply a fixed right shift for all matrix-based intra-prediction modes, enabling efficient computation and memory management.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If floating-point arithmetic is used for matrix-vector multiplication in MIP modes, then prediction accuracy is improved, but computational complexity and implementation difficulty increase

Engineering Contradiction:
Improveprediction accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent changes the numerical representation parameter from floating-point to fixed-point arithmetic. This allows the system to maintain prediction accuracy while reducing computational complexity, as fixed-point operations are simpler to implement in hardware and software compared to floating-point operations.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent uses pre-computed integer matrices that approximate the optimal floating-point transformation matrices. These integer matrices are 'cheap' in terms of computational resources required to store and process them, while still providing sufficient prediction accuracy for practical applications.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

2Adaptability or versatility

If different bit-depths are used for different MIP modes, then each mode can be optimized individually, but memory management and computation efficiency decrease

Engineering Contradiction:
Improvemode optimizationVSAvoidcomputation efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent applies a uniform bit-depth (e.g., 8-bit or 16-bit integers) across all MIP modes rather than using different bit-depths for different modes. This universal approach simplifies memory management and allows the use of shared multipliers and computational resources, significantly improving computation efficiency while still providing adequate precision for all modes.

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

3Productivity

If integer operations are used to approximate matrix-vector products, then computational efficiency is improved, but deviation from trained floating-point operations increases

Engineering Contradiction:
Improvecomputation efficiencyVSAvoidapproximation accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent performs preliminary optimization of integer matrices to minimize the deviation from the optimal floating-point transformation matrices. By pre-computing and storing integer matrices that are optimized to approximate the floating-point operations, the system achieves both computational efficiency and acceptable prediction accuracy without requiring complex runtime corrections.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12581061B2Matrix based intra prediction with mode-global settings
Publication Date: 2026.03.17 FRAUNHOFER GESELLSCHAFT ZUR FORDERUNG DER ANGEWANDTEN FORSCHUNG EV
  • US12581061B2 patent drawing
  • US12581061B2 patent drawing
  • US12581061B2 patent drawing

AI summary

An apparatus includes at least one processor for decoding a block of a picture using intra-prediction that is configured to: decode, from a data stream, a mode index, the mode index indicating a matrix-based intra-prediction mode out of a plurality of matrix-based intra-prediction modes based on a size of the block, derive an input vector based on downsampling reference samples neighboring the block, determine a matrix based on the size of the block and the mode index, compute a respective output for each component of a matrix-vector product between the input vector and the determined matrix, the respective output computed by performing, a right shift by a number of bits which is independent of the matrix-based intra-prediction mode indicated by the mode index, and for each component of the matrix-vector product, use the respective output to predict a respective sample of the block.