Blockchain-Based Inference Data Recording for Tamper-Proof Auditing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional inference engines lack secure storage for inference data, making it non-auditable and susceptible to tampering, as they do not utilize a secure ledger for tracking and storing inference processes.

Innovation Solution

An inference engine connects to a blockchain to record inference data, including chains of reasoning and premise data, executing inference steps and sending tracked data as transactions to ensure secure, tamper-proof storage and auditing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional inference engines store inference data in traditional databases, then data storage and retrieval are simple and fast, but the data is susceptible to tampering and cannot be fully audited

Engineering Contradiction:
Improvedata integrityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces a blockchain as an intermediary layer between the inference engine and the storage system. The inference engine sends inference data to the blockchain, which then stores it in a tamper-proof manner. This intermediary resolves the contradiction by providing enhanced data integrity through cryptographic hashing and distributed storage, while the inference engine itself remains relatively simple in its core functionality.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent creates cryptographic copies (hashes) of the inference data and stores them on the blockchain. These cryptographic copies serve as immutable records that can be verified without storing the entire original dataset centrally. This approach maintains data integrity through multiple verified copies distributed across the blockchain network, rather than relying on a single centralized storage point.

Inventive Principle:
Principle #26Copying

2Reliability

If inference data is stored without a secure ledger, then storage operations are simple and quick, but the data cannot be cryptographically verified and is vulnerable to post hoc alteration

Engineering Contradiction:
ImproveauditabilityVSAvoidrecording time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs preliminary cryptographic hashing of inference data before storing it on the blockchain. By pre-computing hashes and preparing the data in the required format beforehand, the system reduces the time penalty associated with blockchain's consensus and verification processes. This preliminary preparation allows for faster integration with the blockchain while maintaining full auditability.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If a blockchain is used to store inference data, then the data becomes tamper-proof and auditable, but the storage and transaction process becomes more complex and slower

Engineering Contradiction:
Improvetamper-resistanceVSAvoidinference processing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent extracts only the essential inference data and its cryptographic hash to the blockchain, rather than storing all intermediate computation results. By selectively storing only the critical verification elements on the blockchain and keeping detailed computation logs in local storage, the system maintains tamper-resistance for key data while avoiding the performance penalty of writing all data to the blockchain.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS11494677B2Recording inference using a blockchain
Publication Date: 2022.11.08 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11494677B2 patent drawing
  • US11494677B2 patent drawing
  • US11494677B2 patent drawing

AI summary

An example operation may include one or more of connecting to a blockchain containing chains of reasoning data and related premise data, receiving an inference query, retrieving from the blockchain chain of reasoning data and related premise data corresponding to the inference query, executing inference steps using the retrieved chain of reasoning data and the related premise data to generate conclusion data, tracking the execution of the inference steps, and sending to the blockchain the tracked inference steps and the conclusion data to be entered into the blockchain as transactions.