Selective LLM Parameter Encryption for Confidential Inference

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large Language Models (LLMs) face significant security concerns due to the exposure of sensitive data during training and inference processes, which can lead to unauthorized access and data breaches, particularly when handling confidential information.

Innovation Solution

A method is introduced to secure LLMs by encrypting parameters during training and controlling access rights, ensuring that only authorized users can decrypt and utilize sensitive data, using encryption schemes like symmetric and asymmetric key encryption, and homomorphic encryption techniques to perform computations on encrypted data without decryption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If LLMs process confidential data during training and inference, then the model can provide personalized insights and accurate responses, but the sensitive data becomes vulnerable to unauthorized access and data breaches

Engineering Contradiction:
Improvedata accuracyVSAvoiddata security risk
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The patent segments the model parameters into two categories: preset parameters that remain unencrypted and accessible to all users, and changed parameters that are encrypted and accessible only to authorized users. This segmentation allows the system to maintain data accuracy for authorized users while protecting sensitive information from unauthorized access.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an encryption mechanism as an intermediary between the model parameters and the users. The encryption layer acts as a mediator that allows authorized users to access accurate personalized insights while preventing unauthorized users from accessing the sensitive changed parameters, thus resolving the contradiction between data accuracy and security.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Object-affected harmful factors

If the system encrypts all parameters to protect confidential data, then data security is enhanced, but the model cannot provide personalized insights to authorized users

Engineering Contradiction:
Improvedata securityVSAvoiddata accessibility
Core Design Contradiction:
Object-affected harmful factorsVSEase of operation

Solution Approach 1:

The patent applies segmentation by dividing parameters into preset parameters (unencrypted, publicly accessible) and changed parameters (encrypted, access-controlled). This allows the system to maintain ease of operation for authorized users who can access personalized insights while enhancing security for unauthorized users.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements local quality by applying encryption selectively only to the changed parameters that contain sensitive information, while leaving preset parameters unencrypted. This selective approach maintains ease of operation for authorized users who need access to personalized data while enhancing security where needed.

Inventive Principle:
Principle #3Local quality

3Ease of operation

If the system decrypts parameters for authorized users to provide personalized insights, then data accessibility is improved, but the risk of unauthorized access increases

Engineering Contradiction:
Improvedata accessibilityVSAvoidunauthorized access risk
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The patent segments parameters into two distinct groups with different access rights: preset parameters are publicly accessible, while changed parameters are encrypted and accessible only to authorized users. This segmentation allows the system to improve ease of operation for authorized users while minimizing unauthorized access risk.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The encryption mechanism serves as an intermediary that controls access to changed parameters. It allows authorized users to decrypt and access personalized insights while preventing unauthorized users from accessing the sensitive data, thus balancing ease of operation with security.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Object-affected harmful factors

If the system uses encryption schemes to protect confidential data, then data privacy is maintained, but the computational complexity increases

Engineering Contradiction:
Improvedata privacyVSAvoidencryption complexity
Core Design Contradiction:
Object-affected harmful factorsVSDevice complexity

Solution Approach 1:

The patent segments the parameter space to encrypt only the changed parameters that contain sensitive information, rather than encrypting all parameters. This segmentation reduces the computational complexity of encryption operations while maintaining data privacy for the critical components.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies partial encryption only to the changed parameters rather than complete encryption of all parameters. This partial action approach maintains data privacy for sensitive information while reducing the computational complexity and resource requirements compared to encrypting the entire model.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20250315544A1Systems and methods for encrypting parameters of a large language model
Publication Date: 2025.10.09 SIT AUTONOMOUS AG
  • US20250315544A1 patent drawing
  • US20250315544A1 patent drawing
  • US20250315544A1 patent drawing

AI summary

A system receives a training dataset for the LLM that includes confidential data, wherein the LLM comprises preset parameters. The system trains the LLM using the training dataset, including: identifying one or more parameters changed during the training, and encrypting the changed parameters. The system receives an input query for the LLM from a user. The system determines if the user has access rights to the confidential data. In response to determining that the user has the access rights to the confidential data, the system decrypts the encrypted changed parameters of the LLM, and performs an LLM inference using the decrypted changed parameters. In response to determining that the user does not have the access rights to the confidential data, the system performs the LLM inference with the preset parameters without decrypting the encrypted changed parameters.