Analog Bayesian Neural Network Weights Using Jitter and Charge Pumps

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional neural networks face issues with overfitting and sensitivity to malicious attacks due to the lack of uncertainty information in training data, leading to performance and reliability problems.

Innovation Solution

Implementing a Bayesian neural network that uses weights associated with a conditioned probability distribution, leveraging a C-2C ladder to convert mean weights into electric charges, a jittery oscillator for programmable randomness, and a charge pump to generate Gaussian distributed output weights, resulting in an analog-based compute-in-memory (CiM) implementation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional neural networks are used, then hardware and energy requirements are reduced, but overfitting and sensitivity to malicious attacks occur due to lack of uncertainty information

Engineering Contradiction:
Improverobustness against overfitting and malicious attacksVSAvoidenergy requirements
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent replaces traditional digital computing mechanisms with an analog-based system. Neural network weights are implemented as physical electrical charges in capacitors, and computations are performed through analog circuit operations (charging, discharging, and measuring capacitor voltages) rather than digital processing, thereby reducing energy consumption while maintaining reliability benefits of Bayesian networks

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

Solution Approach 2:

The patent changes the physical state representation of neural network parameters. Instead of storing weights as digital values, weights are represented as continuous electrical charge levels in capacitors. This parameter change enables analog computation and reduces the energy required for inference operations while preserving the uncertainty information essential for combating overfitting and attacks

Inventive Principle:
Principle #35Parameter changes

2Reliability

If Bayesian neural network with probability distributions is implemented, then uncertainty information is captured improving reliability, but device complexity increases

Engineering Contradiction:
Improveuncertainty information captureVSAvoidhardware complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts and isolates the essential function of weight storage to simple capacitor charge levels, removing the complexity of traditional digital storage and processing infrastructure. By taking out only the necessary analog components (capacitors, switches, and measurement circuits) and eliminating digital processing layers, the system achieves Bayesian functionality with reduced device complexity

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent uses physical capacitor charge states as direct copies of neural network weights, eliminating the need for complex digital-to-analog conversion infrastructure. The analog charge levels directly represent weight values and their distributions, simplifying the hardware architecture while maintaining the ability to capture uncertainty information

Inventive Principle:
Principle #26Copying

3Use of energy by moving object

If analog-based compute-in-memory implementation is used, then energy efficiency is improved, but manufacturing precision requirements increase

Engineering Contradiction:
Improveenergy efficiencyVSAvoidcharge level precision
Core Design Contradiction:
Use of energy by moving objectVSManufacturing precision

Solution Approach 1:

The patent employs self-adjusting mechanisms where the analog circuit operations (charging and discharging cycles) automatically calibrate capacitor charge levels to represent correct weight values. The system uses feedback from voltage measurements to adjust charge levels, eliminating the need for high-precision manufacturing while maintaining energy efficiency through self-correcting operations

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 allows for training with smaller data sets without sacrificing accuracy, reducing hardware and energy requirements, making the Bayesian neural network more efficient and cost-effective compared to traditional implementations.

Implementation Method 1

a C-2C ladder to converts the mean weight into an electric charge level

Methodology Applied
Scientific EffectCapacitance: Capacitance

Implementation Method 2

a jittery oscillator sampling-based entropy source that provides programmable randomness

Methodology Applied
Scientific EffectJitter: Vibration

Implementation Method 3

a charge pump controlled by the entropy source to dither the charge generated by the C-2C ladder

Methodology Applied
Scientific EffectCharge pumping: Pump

Data Source

PatentUS12131245B2Bayesian neural network and methods and apparatus to operate the same
Publication Date: 2024.10.29 INTEL CORP
  • US12131245B2 patent drawing
  • US12131245B2 patent drawing
  • US12131245B2 patent drawing

AI summary

Methods, apparatus, systems, and articles of manufacture providing an improved Bayesian neural network and methods and apparatus to operate the same are disclosed. An example apparatus includes an oscillator to generate a first clock signal; a resistive element to adjust a slope of a rising edge of a second clock signal; a voltage sampler to generate a sample based on at least one of (a) a first voltage of the first clock signal when a second voltage of the second clock signal satisfies a threshold or (b) a third voltage of the second clock signal when a fourth voltage of the first clock signal satisfies the threshold; and a charge pump to adjust a weight based on the sample, the weight to adjust data in a model.