# US 2025/0156760 A1 · System for enhanced task-specific language model generation through dynamic adapters and contextual data retrieval

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

- Number: US 2025/0156760 A1
- Document ID: US20250156760A1
- Status: Published application
- Kind: A1
- Application number: 18/942,119
- Filed: 2024-11-08
- Published: 2025-05-15
- Earliest claimed: 2023-11-10
- Assignees: Highwater Labs Inc.
- Applicants: Highwater Labs Inc.
- Inventors: Chase Quenton Aucoin; Jason Keith Patz
- Web page: https://patentgrep.com/patent/US20250156760A1

## CPC

- G06N 20/00: Machine learning
- G06F 9/44521: {Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/5016: {the resource being the memory}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure relates to a system for dynamic task processing using a core language model and task-specific models. The system comprises a memory, a persistent storage, and a core model that resides in memory. A plurality of task-specific models are stored in persistent storage and configured to be dynamically loaded into and unloaded from memory in real-time based on incoming task requests. Upon receiving a task request, a corresponding task-specific model is loaded into memory and integrated as an additional layer of the core model to fine-tune its output for the specified task.

## Claims

### Claim 1

A system, comprising:
a memory;
a persistent storage;
a core model that resides in memory; and
a plurality of task-specific models that reside in the persistent storage and dynamically loadable into and unloadable from the memory in real-time in response to incoming task requests,
wherein:
upon receiving a task request, a corresponding task-specific model is loaded into the memory and plugged into the core model as an additional layer of the core model to fine-tune output of the core model.

### Claim 2 (depends on 1)

The system of claim 1, wherein the corresponding task-specific model is unloaded upon completion of the task request.

### Claim 3 (depends on 1)

The system of claim 1, wherein the task-specific models are trained with task-specific training data to fine-tune the output of the core model for a specific task,
weights of the task-specific models use reduced bit-depth representation, and
at least one weight tensor of the task-specific models is decomposed as a product of multiple lower-dimensional tensors.

### Claim 4 (depends on 1)

The system of claim 1, wherein the core model comprises a standardized Application Programming Interface (API) for the plurality of task-specific models, wherein the API comprises functionalities to load model weights and configurations.

### Claim 5 (depends on 1)

The system of claim 1, further comprising one or more processors and one or more non-transitory computer-readable memories coupled to the one or more processors and configured with instructions executable by the one or more processors to:
receive user-provided input data including a task scenario and variables outlining task-specific requirements and expected outcomes;
generate a prompt based on the user-provided input data to a large language model (LLM) for generating synthetic training data set using data augmentation and conditional text generation;
feed the synthetic training data set into the core model to obtain intermediate outputs; and
fine-tune the intermediate outputs by adjusting parameters of a task-specific model corresponding to the task scenario, wherein parameters of the core model remain unchanged.

### Claim 6 (depends on 5)

The system of claim 5, wherein to fine-tune the intermediate outputs by adjusting parameters of a task-specific model, the one or more processors are configured to:
partition the parameters of the task-specific model into pages that are swapped in and out of the memory as needed.

### Claim 7 (depends on 1)

The system of claim 1, wherein the plurality of task-specific models comprise one or more of an audio-to-text adapter, a text-to-audio adapter, an image-to-text adapter, or a sensitive data filter adapter.

### Claim 8 (depends on 7)

The system of claim 7, wherein the sensitive data filter adapter is configured as a first processing layer to identify and tokenize user-sensitive data in an input before forwarding it to other task-specific models.

### Claim 9 (depends on 7)

The system of claim 7, wherein the sensitive data filter adapter is further configured to rehydrate outputs from the other task-specific models by replacing tokens with original sensitive data after processing by the core model and task-specific models.

### Claim 10 (depends on 7)

The system of claim 7, wherein the sensitive data filter adapter is configured to tokenize sensitive data using predefined data patterns and maintain a mapping for rehydration of outputs from the other task-specific models.

### Claim 11 (depends on 1)

The system of claim 1, wherein an interface of the core model is configured to manage memory usage by reference counting to track active usage of the plurality of task-specific models such that task-specific models with a reference count of zero become candidates for unloading.

### Claim 12 (depends on 1)

The system of claim 1, wherein the plurality of task-specific models are assigned different priority levels based on corresponding loading frequencies, wherein frequently loaded task-specific models are assigned higher priority, and
a task-specific model assigned with a higher priority is retained in the memory even when not actively in use, ensuring rapid task initiation and reducing overhead of reloading from the persistent storage.

### Claim 13 (depends on 12)

The system of claim 12, wherein the task-specific model assigned with the higher priority is unloaded when a memory shortage occurs, freeing resources for other tasks.

### Claim 14

A computer-implemented method, comprising:
storing a core model in a memory;
storing a plurality of task-specific models in a persistent storage;
loading, in real-time, a corresponding task-specific model from the persistent storage into the memory in response to an incoming task request;
integrating the corresponding task-specific model as an additional layer of the core model to fine-tune output of the core model; and
processing the task request using the core model with the integrated task-specific model to generate a task-specific output.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, further comprising:
unloading the corresponding task-specific model from the memory upon completion of the task request.

### Claim 16 (depends on 14)

The computer-implemented method of claim 14, wherein each task-specific model is trained using task-specific training data to fine-tune the output of the core model for a specific task, and wherein the method further comprises:
representing weights of the task-specific models with reduced bit-depth; and
decomposing at least one weight tensor of the task-specific models as a product of multiple lower-dimensional tensors.

### Claim 17

A non-transitory computer-readable storage medium configured with instructions executable by one or more processors to cause the one or more processors to perform operations comprising:
storing a core model in a memory;
storing a plurality of task-specific models in a persistent storage;
loading, in real-time, a corresponding task-specific model from the persistent storage into the memory in response to an incoming task request;
integrating the corresponding task-specific model as an additional layer of the core model to fine-tune output of the core model; and
processing the task request using the core model with the integrated task-specific model to generate a task-specific output.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the operations further comprise:
unloading the corresponding task-specific model from the memory upon completion of the task request.

### Claim 19 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein each task-specific model is trained using task-specific training data to fine-tune the output of the core model for a specific task, and wherein the operations further comprise:
representing weights of the task-specific models with reduced bit-depth; and
decomposing at least one weight tensor of the task-specific models as a product of multiple lower-dimensional tensors.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the operations further comprise:
receiving user-provided input data including a task scenario and variables outlining task-specific requirements and expected outcomes;
generating, using a large language model (LLM), a synthetic training data set based on the user-provided input data, wherein generating the synthetic training data set includes data augmentation and conditional text generation;
feeding the synthetic training data set into the core model to obtain intermediate outputs; and
fine-tuning the intermediate outputs by adjusting parameters of a task-specific model corresponding to the task scenario, wherein parameters of the core model remain unchanged during the fine-tuning.
