Confidential Data Filtering for AI Code Input Using Overlapping Hashing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The leakage of confidential information through generative AI systems poses a security risk, as program codes composed or modified using these systems may inadvertently include sensitive data, leading to confidentiality breaches.

Innovation Solution

Implementing a method that uses locality-sensitive hashing (LSH) to encode input data and compare it with secure data hash values, identifying whether the input data contains secure information by generating feature vectors and performing LSH operations on overlapping parts of the data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If generative AI systems are used to compose or modify program codes, then productivity and code generation capability are improved, but confidential information may be inadvertently included in the generated codes, leading to security risks

Engineering Contradiction:
Improvecode generation capabilityVSAvoidconfidential information leakage
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The system performs preliminary filtering of confidential information from input prompts before they are processed by the generative AI model. This prevents sensitive data from being included in the generated code, thereby maintaining both productivity and security.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

A separate filtering system acts as an intermediary between the user input and the generative AI model. This intermediary component identifies and removes confidential information without interfering with the code generation capability of the main system.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If input data is filtered to remove confidential information, then data security is improved, but processing time and computational resources increase

Engineering Contradiction:
Improvedata securityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system extracts only the essential features of input data to create compact representations for comparison. This reduces the amount of data that needs to be processed during filtering, thereby maintaining high security while reducing processing time.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system transforms input data into different parameter representations (hash values, feature vectors) that enable efficient comparison. By changing the form of data representation, the system achieves secure filtering without excessive processing time.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If comprehensive filtering of all input data is performed, then confidentiality is ensured, but device complexity and computational overhead increase

Engineering Contradiction:
ImproveconfidentialityVSAvoidfiltering system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system replaces complex mechanical or manual filtering processes with algorithmic approaches using hash functions and machine learning models. This substitution reduces device complexity while maintaining comprehensive confidentiality protection.

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

Solution Approach 2:

The system creates simplified copies or representations of confidential data (such as hash values) for comparison purposes. This allows comprehensive filtering without processing the actual complex confidential data, thereby reducing system complexity.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20260067093A1Method of filtering confidential data and electronic device
Publication Date: 2026.03.05 SAMSUNG ELECTRONICS CO LTD
  • US20260067093A1 patent drawing
  • US20260067093A1 patent drawing
  • US20260067093A1 patent drawing

AI summary

An electronic device is provided. The electronic device includes memory, including one or more storage media, storing instructions, and one or more processors communicatively coupled to the memory, wherein the instructions, when executed by the one or more processors individually or collectively, cause the electronic device to identify input data, which can be arranged in multiple lines, stored in the memory, generate a first feature vector by encoding, using an encoder, first part data corresponding to a first number of first lines among the input data, generate a second feature vector by encoding, using the encoder, second part data corresponding to the first number of second lines, the second lines at least partially overlapping the first lines, among the input data, and train the encoder such that a result of decoding the first feature vector and the second feature vector by a decoder corresponding to the encoder corresponds to the input data.