Neural Network Verification via Hash Code Comparison

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

There is a need for a simple and cost-effective method to secure and verify neural networks to prevent or detect unauthorized access and modifications, as existing methods are either complex or inadequate in ensuring data integrity and authenticity.

Innovation Solution

A method involving the calculation of hash codes using a collision-resistant hash function for neural networks, where the hash code is stored in a secure database with an identifier, allowing for verification by comparing the calculated hash code of a neural network with the stored one, thereby ensuring the network's integrity and authenticity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a neural network is made available to other users for use, then the neural network can be utilized and its performance characteristics can be applied, but the risk of unauthorized access and modifications increases

Engineering Contradiction:
Improveneural network usabilityVSAvoidunauthorized access and modifications
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The patent applies preliminary action by calculating and storing a hash code of the neural network's performance characteristics before the network is made available to users. This pre-computed hash code serves as a reference value that enables future verification of the network's integrity without requiring additional protective measures during distribution. The hash code is stored in association with the neural network in a database, creating a baseline for detecting any subsequent unauthorized modifications.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a hash code as an intermediary element that mediates between the neural network and the verification process. Instead of directly protecting the complex neural network structure, the system uses this simplified hash representation as a mediator to verify integrity. The hash code acts as a fingerprint that can be easily computed and compared, serving as an intermediate verification mechanism that protects the underlying neural network from unauthorized modifications while allowing legitimate use.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If complex security measures are implemented to protect neural networks from unauthorized modifications, then security is improved, but the complexity and cost of the system increases

Engineering Contradiction:
Improveneural network securityVSAvoidverification system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the essential verification information from the complex neural network by computing a hash code based on the network's performance characteristics. Instead of attempting to protect or verify the entire complex neural network structure, the system extracts a simplified numerical representation (hash code) that captures the essential integrity information. This extracted hash code can be easily stored, transmitted, and compared, significantly reducing the complexity of the security system while maintaining reliable verification capability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent transforms the complex neural network parameters (weights, biases, architecture) into a simplified hash code parameter. This parameter change converts the verification problem from comparing complex neural network structures to comparing simple numerical hash values. The hash function acts as a transformation mechanism that maps the high-dimensional neural network parameter space into a low-dimensional hash space, making verification computationally efficient and system complexity manageable.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If the entire neural network data is stored and compared for verification, then verification accuracy is improved, but storage requirements and processing time increase

Engineering Contradiction:
Improveverification accuracyVSAvoiddata storage requirements
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent creates a simplified copy of the neural network's essential characteristics in the form of a hash code. Instead of storing and comparing the entire neural network data (weights, biases, architecture), the system stores a compact hash representation that serves as a verification copy. This hash code copy contains sufficient information to verify integrity while occupying minimal storage space and enabling rapid comparison operations.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent segments the verification process into two distinct parts: (1) computing a hash code from the neural network's performance characteristics, and (2) comparing this hash code against a stored reference value. This segmentation separates the complex neural network data from the verification operation, allowing the system to verify integrity using only the compact hash code rather than requiring access to or storage of the complete neural network parameters.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11715005B2Verification and identification of a neural network
Publication Date: 2023.08.01 CARIAD SE
  • US11715005B2 patent drawing
  • US11715005B2 patent drawing

AI summary

The application relates to a method for verifying characteristic features of a neural network, comprising obtaining the neural network as well as an identifier assigned to the neural network, determining the characteristic features of the neural network, calculating a first hash code using a predetermined hash function from the characteristic features of the neural network, obtaining a second hash code assigned to the identifier from a secure database, as well as verifying the neural network by comparing the first hash code to the second hash code. The application furthermore comprises a computer software product which can be downloaded to the internal memory of a digital computer and which comprises software code sections with which the steps according to the method described here are carried out when the software is executed on a computer.