Hardware Acceleration for Gaussian Random Number Generation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for generating Gaussian random numbers, such as the Box-muller method, are time-consuming and inefficient for parallel graphics processing units (GPUs), which are essential for machine learning and deep learning applications.

Innovation Solution

Implementing hardware acceleration using adder circuitry to generate Gaussian random numbers by summing uniform random numbers, leveraging the central limit theorem, to improve processing efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional software-based methods (Box-muller, CDF inversion) are used to generate Gaussian random numbers, then accuracy and distribution quality are maintained, but processing speed and efficiency deteriorate significantly

Engineering Contradiction:
ImproveGaussian distribution qualityVSAvoidGaussian random number generation speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent replaces software-based mathematical algorithms (Box-muller, CDF inversion) with hardware-based adder circuit implementations. This substitution of computational approach using dedicated hardware arithmetic units dramatically accelerates Gaussian random number generation while maintaining distribution accuracy through precise arithmetic operations

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

Solution Approach 2:

The patent creates multiple parallel adder circuit instances that simultaneously generate multiple Gaussian random numbers. Each adder circuit copy operates independently to produce statistically independent Gaussian values, enabling mass parallel generation for machine learning workloads

Inventive Principle:
Principle #26Copying

2Productivity

If hardware acceleration using adder circuitry is implemented, then processing speed and efficiency are significantly improved, but device complexity increases

Engineering Contradiction:
ImproveGaussian random number generation speedVSAvoidHardware circuit complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent divides the Gaussian random number generation task into multiple independent adder circuit segments. Each adder circuit handles a portion of the computation, and multiple instances operate in parallel. This segmentation reduces the complexity of any single circuit unit while achieving high overall throughput through parallelization

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The adder circuits are designed as universal computational units that can be instantiated multiple times and configured for different Gaussian random number generation requirements. The same basic adder circuit architecture serves multiple functions across different parallel streams, reducing overall system complexity through component reuse

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

3Productivity

If parallel processing is utilized to generate multiple Gaussian random numbers simultaneously, then throughput is increased, but synchronization and coordination complexity increases

Engineering Contradiction:
ImproveParallel generation throughputVSAvoidParallel coordination complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

Each parallel adder circuit instance operates autonomously and independently, generating Gaussian random numbers without requiring synchronization or coordination with other instances. This self-service approach eliminates the need for complex parallel coordination mechanisms while maintaining high throughput through independent parallel operation

Inventive Principle:
Principle #25Self-service

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

This approach significantly accelerates the generation of Gaussian random numbers, enhancing performance in machine learning and deep learning applications by utilizing parallel processing capabilities of GPUs.

Implementation Method 1

summing uniform random numbers in accordance with the central limit theorem

Methodology Applied
Scientific EffectCentral limit theorem:

Data Source

PatentUS11635943B2Systems and methods for generating gaussian random numbers with hardware acceleration
Publication Date: 2023.04.25 INTEL CORP
  • US11635943B2 patent drawing
  • US11635943B2 patent drawing
  • US11635943B2 patent drawing

AI summary

Described herein are hardware acceleration of random number generation for machine learning and deep learning applications. An apparatus (700) includes a uniform random number generator (URNG) circuit (710) to generate uniform random numbers and an adder circuit (750) that is coupled to the URNG circuit (710). The adder circuit hardware (750) accelerates generation of Gaussian random numbers for machine learning.