Blockchain Gradient Verification for Machine Learning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Centralized databases face issues such as single points of failure, dependency on network connectivity, limited data access, and inefficiencies in high traffic scenarios, particularly when performing complex computations like gradient calculations for machine learning.

Innovation Solution

A decentralized database system using a blockchain network with a training participant network and a blockchain network that includes endorser nodes with a verify gradient smart contract, enabling efficient verification of gradient calculations by converting them into transaction proposals and endorsing them without repeating the computationally expensive training procedures.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If centralized database is used for machine learning training, then data management is simplified, but processing speed and scalability deteriorate due to single point of failure and network dependency

Engineering Contradiction:
Improvedata managementVSAvoidprocessing speed
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The patent divides the centralized database system into multiple distributed nodes participating in a blockchain network. Each node maintains a copy of the database and can independently perform gradient calculations, eliminating the single point of failure and improving processing speed through parallel computation while maintaining data consistency through consensus mechanisms.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces smart contracts as intermediaries that automatically verify and validate gradient calculations between nodes. These self-executing contracts serve as mediators that ensure data consistency and security without requiring centralized coordination, thus improving both ease of operation and processing speed simultaneously.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If gradient calculations are verified by repeating training procedures, then verification accuracy is improved, but computational resource consumption increases significantly

Engineering Contradiction:
Improveverification accuracyVSAvoidcomputational resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent creates simplified verification copies of the gradient calculation process through smart contracts. Instead of repeating the full expensive training procedure, the system uses cryptographic proofs and condensed verification routines that replicate only the essential validation logic, maintaining verification accuracy while dramatically reducing computational resource consumption.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent changes the verification parameters from full retraining to selective validation using cryptographic hashes and proof-of-work mechanisms. By transforming the verification process into a parameter-efficient operation that validates gradients through mathematical proofs rather than full computational re-execution, the system achieves high verification accuracy with minimal resource consumption.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If multiple devices access centralized database simultaneously, then data accessibility is improved, but bottlenecks and data integrity issues occur due to single location

Engineering Contradiction:
Improvedata accessibilityVSAvoiddata integrity
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments the centralized database into multiple distributed nodes, each capable of independent data access and gradient calculation. This segmentation allows simultaneous access by multiple devices without creating bottlenecks, while the blockchain consensus mechanism ensures data integrity by requiring agreement across nodes before accepting any data modifications.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements continuous feedback loops through the blockchain consensus mechanism, where each node validates and verifies gradient calculations from other nodes in real-time. This feedback system maintains data integrity by automatically detecting and correcting inconsistencies, allowing high data accessibility while preventing integrity issues through automated verification.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11694110B2Aggregated machine learning verification for database
Publication Date: 2023.07.04 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11694110B2 patent drawing
  • US11694110B2 patent drawing
  • US11694110B2 patent drawing

AI summary

An example operation may include one or more of generating, by a plurality of training participant clients, gradient calculations for machine learning model training, each of the training participant clients comprising a training dataset, converting, by a training aggregator coupled to the plurality of training participant clients, the gradient calculations to a plurality of transaction proposals, receiving, by one or more endorser nodes or peers of a blockchain network, the plurality of transaction proposals, executing, by each of the endorser nodes or peers, a verify gradient smart contract, and providing endorsements corresponding to the plurality of transaction proposals to the training aggregator.