Blockchain-Based Inference Data Recording for Tamper-Proof Auditing
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
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
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.
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
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.
Data Source
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.


