# US 2026/0065077 A1 · Secure Multiparty Protocol for Fine-tuning of Language Models

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0065077 A1
- Document ID: US20260065077A1
- Status: Published application
- Kind: A1
- Application number: 19/260,048
- Filed: 2025-07-03
- Published: 2026-03-05
- Earliest claimed: 2024-08-29
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Wei Jiang; Arisa Tajima; Virendra J. Marathe; Adam C. Pocock
- Web page: https://patentgrep.com/patent/US20260065077A1

## CPC

- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- G06N 3/045: Combinations of networks
- G06N 3/0475: Generative networks
- H04L 63/04: {for providing a confidential data exchange among entities communicating through data packet networks}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods for implementing a secure multiparty protocol for fine-tuning of language models are disclosed. An end-to-end privacy-preserving protocol using secure multi-party computation (MPC) and executed on a plurality of computing nodes enables fine-tuning a language model targeting classification tasks using private, sensitive data while providing secure protection of the training data and without sacrificing model accuracy.

## Claims

### Claim 1

A system, comprising:
a plurality of computing nodes individually comprising at least one processor and memory, the plurality of computing nodes configured to communicate using a privacy-preserving fine-tuning protocol to create a fine-tuned large language model (LLM) according to one or more hyperparameters, wherein to create the fine-tuned LLM the plurality of computing nodes are configured to:
derive the fine-tuned LLM from a pretrained LLM according to the one or more hyperparameters, wherein to derive the fine-tuned LLM the plurality of computing nodes are configured to:
freeze at least a portion of the pretrained LLM; and
configure a remaining portion of the fine-tuned LLM according to the one or more hyperparameters and the privacy-preserving fine-tuning protocol;
receive respective training information from individual clients of a plurality of clients, wherein secrecy of the respective training information is preserved with respect to individual nodes of the plurality of computing nodes; and
fine tune the remaining portion of the fine-tuned LLM according to the respective secret training information and the privacy-preserving fine-tuning protocol.

### Claim 2 (depends on 1)

The system of claim 1, wherein the privacy-preserving fine-tuning protocol comprises computations performed according to a secure multiparty computation protocol.

### Claim 3 (depends on 1)

The system of claim 1, wherein the secret language model is trained according to a square loss function.

### Claim 4 (depends on 1)

The system of claim 1, wherein the respective training information from the individual clients individually comprises embeddings and class labels generated by the respective individual clients according to secret client data and the pretrained LLM.

### Claim 5 (depends on 1)

The system of claim 1, wherein the fine-tuned LLM comprises the pretrained LLM and at least one additive head layer, wherein the freezing comprises freezing the pretrained LLM, and wherein the remaining portion of the fine-tuned LLM comprises the at least one additive head layer.

### Claim 6 (depends on 1)

The system of claim 1, wherein to configure the remaining portion of the fine-tuned LLM the plurality of computing nodes are configured to:
determine a number of layers for the remaining portion of the fine-tuned LLM according to the one or more hyperparameters;
configure a fine-tuning batch size according to the one or more hyperparameters and the privacy-preserving fine-tuning protocol; and
configure the at least one additive head layer according to the one or more hyperparameters and the privacy-preserving fine-tuning protocol.

### Claim 7 (depends on 6)

The system of claim 6, wherein the at least one additive head layer comprises:
a rectified linear unit (ReLU) activation function; and
a dropout mask that selective disables one or more portions of the ReLU activation function according to the one or more hyperparameters.

### Claim 8

A method comprising:
creating, by a plurality of computing nodes communicating using a privacy-preserving fine-tuning protocol, a fine-tuned large language model (LLM) according to one or more hyperparameters, the creating comprising:
deriving the fine-tuned LLM from a pretrained LLM according to the one or more hyperparameters, the deriving comprising:
freezing at least a portion of the pretrained LLM; and
configuring a remaining portion of the fine-tuned LLM according to the one or more hyperparameters and the privacy-preserving fine-tuning protocol;
receiving respective training information from individual clients of a plurality of clients, wherein secrecy of the respective training information is preserved with respect to individual nodes of the plurality of computing nodes; and
fine tuning the remaining portion of the fine-tuned LLM according to the respective secret training information and the privacy-preserving fine-tuning protocol.

### Claim 9 (depends on 8)

The method of claim 8, wherein the privacy-preserving fine-tuning protocol comprises computations performed according to a secure multiparty computation protocol.

### Claim 10 (depends on 8)

The method of claim 8, wherein the fine-tuned LLM is fine tuned according to a square loss function.

### Claim 11 (depends on 8)

The method of claim 8, wherein the respective training information from the individual clients individually comprises embeddings and class labels generated by the respective individual clients according to secret client data and the pretrained LLM.

### Claim 12 (depends on 8)

The method of claim 8, wherein the fine-tuned LLM comprises the pretrained LLM and at least one additive head layer, wherein the freezing comprises freezing the pretrained LLM, and wherein the remaining portion of the fine-tuned LLM comprises the at least one additive head layer.

### Claim 13 (depends on 12)

The method of claim 12, wherein configuring the remaining portion of the fine-tuned LLM comprises one or more of:
determining a number of layers for the remaining portion of the fine-tuned LLM according to the one or more hyperparameters;
configuring a fine-tuning batch size according to the one or more hyperparameters and the privacy-preserving fine-tuning protocol; and
configuring the at least one additive head layer according to the one or more hyperparameters and the privacy-preserving fine-tuning protocol.

### Claim 14 (depends on 12)

The method of claim 12, wherein the at least one additive head layer comprises:
a rectified linear unit (ReLU) activation function; and
a dropout mask that selective disables one or more portions of the ReLU activation function according to the one or more hyperparameters.

### Claim 15

One or more non-transitory, computer-readable storage media, storing program instructions that when executed on or across one or more processors cause the one or more processors to perform:
implementing a node of a plurality of computing nodes communicating according to privacy-preserving fine-tuning protocol to create a fine-tuned large language model (LLM) according to one or more hyperparameters, the creating comprising:
deriving the fine-tuned LLM from a pretrained LLM according to the one or more hyperparameters, the deriving comprising:
freezing at least a portion of the pretrained LLM; and
configuring a remaining portion of the fine-tuned LLM according to the one or more hyperparameters and the privacy-preserving fine-tuning protocol;
receiving respective training information from individual clients of a plurality of clients, wherein secrecy of the respective training information is preserved with respect to individual nodes of the plurality of computing nodes; and
fine tuning the remaining portion of the fine-tuned LLM according to the respective secret training information and the privacy-preserving fine-tuning protocol.

### Claim 16 (depends on 15)

The one or more non-transitory, computer-readable storage media of claim 15, wherein the privacy-preserving fine-tuning protocol comprises computations performed according to a secure multiparty computation protocol.

### Claim 17 (depends on 15)

The one or more non-transitory, computer-readable storage media of claim 15, wherein the fine-tuned LLM is fine tuned according to a square loss function.

### Claim 18 (depends on 15)

The one or more non-transitory, computer-readable storage media of claim 15, wherein the respective training information from the individual clients individually comprises embeddings and class labels generated by the respective individual clients according to secret client data and the pretrained LLM.

### Claim 19 (depends on 15)

The one or more non-transitory, computer-readable storage media of claim 15, wherein the fine-tuned LLM comprises the pretrained LLM and at least one additive head layer, wherein the freezing comprises freezing the pretrained LLM, and wherein the remaining portion of the fine-tuned LLM comprises the at least one additive head layer.

### Claim 20 (depends on 19)

The one or more non-transitory, computer-readable storage media of claim 19, wherein configuring the remaining portion of the fine-tuned LLM comprises one or more of:
determining a number of layers for the remaining portion of the fine-tuned LLM according to the one or more hyperparameters;
configuring a fine-tuning batch size according to the one or more hyperparameters and the privacy-preserving fine-tuning protocol; and
configuring the at least one additive head layer according to the one or more hyperparameters and the privacy-preserving fine-tuning protocol.
