FP4 Dot Product Conversion Using Integer Pipelines

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional 4-bit floating-point dot product operations in large language model training and inference designs are inefficient in terms of power consumption and chip area, as they rely on specialized floating-point designs without leveraging integer processing capabilities.

Innovation Solution

Converting 4-bit floating-point dot product operations into 5-bit integer dot product operations using integer pipelines, optimizing partial product generation and multiplier signs, and precoding left shifts to reduce register and chip area requirements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Use of energy by moving object

If conventional 4-bit floating-point dot product operations are used, then computational functionality is achieved, but power consumption and chip area increase

Engineering Contradiction:
Improvepower consumptionVSAvoidspecialized floating-point design complexity
Core Design Contradiction:
Use of energy by moving objectVSDevice complexity

Solution Approach 1:

The patent replaces the specialized floating-point arithmetic mechanism with a general-purpose integer arithmetic mechanism. By converting floating-point dot product operations into equivalent integer operations, the system leverages existing integer processing infrastructure (ALU, pipelines, registers) to perform computations that were previously requiring dedicated floating-point hardware, thereby reducing power consumption and chip area without sacrificing computational functionality.

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

Solution Approach 2:

The patent enables the integer processing pipeline to serve dual purposes: executing both traditional integer operations and converted floating-point dot product operations. This multi-functionality allows the same hardware resources (integer pipeline, registers, ALU) to handle both INT8 and FP4 workloads, eliminating the need for separate specialized floating-point hardware and reducing overall device complexity.

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

2Measurement precision

If specialized floating-point designs are used for dot product operations, then computational precision is maintained, but chip area increases

Engineering Contradiction:
Improvecomputational precisionVSAvoidchip area
Core Design Contradiction:
Measurement precisionVSArea of stationary object

Solution Approach 1:

The patent substitutes specialized floating-point hardware with general-purpose integer hardware. By mathematically converting floating-point operations into equivalent integer operations (handling exponent differences and mantissa alignments through integer arithmetic), the system achieves the same computational precision using significantly less chip area, as integer processing units are more space-efficient and can share hardware resources.

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

Solution Approach 2:

The patent changes the data representation parameters from floating-point format to integer format. By transforming the computational representation (changing from FP4 to INT5/INT8) and adjusting the arithmetic operations accordingly (using shift operations and integer multiplication instead of floating-point multiplication), the system maintains computational precision while reducing the hardware resources required, thereby minimizing chip area.

Inventive Principle:
Principle #35Parameter changes

3Use of energy by stationary object

If integer processing is used to convert floating-point operations, then power consumption and chip area are reduced, but operation complexity increases

Engineering Contradiction:
Improvepower consumptionVSAvoidconversion operation complexity
Core Design Contradiction:
Use of energy by stationary objectVSDevice complexity

Solution Approach 1:

The patent performs preliminary conversion of floating-point operands to integer representations before the actual dot product computation. By pre-processing the input data (converting FP4 to INT5/INT8 format) and pre-computing any necessary alignment information, the system simplifies the main computation phase and reduces the overall complexity of the conversion process, making the integer-based approach more efficient despite the initial conversion overhead.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20260023817A1Apparatus and method for transforming floating-point dot product operations into signed integer dot product operations
Publication Date: 2026.01.22 INTEL CORP
  • US20260023817A1 patent drawing
  • US20260023817A1 patent drawing
  • US20260023817A1 patent drawing

AI summary

An apparatus and method for performing integer based FP4 dot products. One embodiment of an apparatus comprises: one or more registers to store a plurality of source 4-bit floating-point data elements; decode circuitry to decode a 4-bit floating-point dot product instruction, the instruction having an opcode to indicate one or more 4-bit floating-point dot product operations to be performed and one or more fields indicate a plurality of pairs of the source 4-bit floating-point data elements on which to perform the one or more dot product operations; and execution circuitry to execute the 4-bit floating-point dot product instruction, the execution circuitry to convert the plurality of pairs of 4-bit floating-point data elements to a corresponding plurality of pairs of integer data elements to perform the dot product.