# US 2026/0065038 A1 · Method and electronic device for generating language model

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

- Number: US 2026/0065038 A1
- Document ID: US20260065038A1
- Status: Published application
- Kind: A1
- Application number: 19/088,124
- Filed: 2025-03-24
- Published: 2026-03-05
- Earliest claimed: 2024-09-04
- Assignees: Sionic AI Inc.
- Applicants: Sionic AI Inc.
- Inventors: Jeonghwan Park; Woomyoung Park; Sukhyun Ko
- Web page: https://patentgrep.com/patent/US20260065038A1

## CPC

- G06N 3/048: Activation functions
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present disclosure relates to a method for generating a language model performed by at least one processor, the method including obtaining a base model pre-trained with a large-scale corpus, a functional model with a specified function added to the base model, and a target model additionally trained on the base model with learning data of a specified domain, calculating a first difference value between a first parameter of the functional model and a second parameter of the base model corresponding to the first parameter, calculating a change ratio of a third parameter of the target model corresponding to the second parameter with respect to the second parameter, and generating a new model from the target model based on the first difference value and the change ratio.

## Claims

### Claim 1

A method performed by an apparatus, the method comprising:
obtaining a base model pre-trained with a large-scale corpus, a functional model comprising a specified function added to the base model, and a target model additionally trained on the base model with learning data of a specified domain;
determining a first difference value between a first parameter of the functional model and a second parameter of the base model corresponding to the first parameter;
determining a change ratio of a third parameter of the target model corresponding to the second parameter with respect to the second parameter; and
generating, based on the first difference value and the change ratio, a new language model from the target model.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein the determining of the change ratio comprises:
determining a second difference value between the third parameter and the second parameter; and
obtaining the change ratio by inputting the second difference value to an activation function of an artificial intelligence neural network.

### Claim 3 (depends on 2)

The method as claimed in claim 2, wherein the activation function comprises at least one of a sigmoid function or a ReLU (Rectified Linear Unit) function.

### Claim 4 (depends on 2)

The method as claimed in claim 2, further comprising:
before inputting the second difference value to the activation function, obtaining an absolute value of the second difference value and normalizing the absolute value, wherein the inputting the second difference value to the activation function comprises inputting the normalized absolute value to the activation function.

### Claim 5 (depends on 4)

The method as claimed in claim 4, wherein the generating of the new language model comprises:
generating the new language model based on a value obtained by:
multiplying the change ratio subtracted from one by the first difference value; and
adding a result of the multiplication to the third parameter.

### Claim 6 (depends on 1)

The method as claimed in claim 1, wherein the first difference value and the change ratio are determined for each corresponding layer of the base model, the functional model, and the target model.

### Claim 7 (depends on 1)

The method as claimed in claim 1, wherein the specified function comprises at least one of a response generation function for commands, a chat function, a retrieval-augmented generation function, a context expansion function, or a coding function.

### Claim 8 (depends on 1)

The method as claimed in claim 1, wherein the specified domain comprises at least one of a language domain from at least one other country, an expert knowledge domain, or a corporate domain.

### Claim 9

A non-transitory computer-readable recording medium storing computer-readable commands that, based on the computer-readable commands being executed by at least one processor, is configured to cause an apparatus to:
obtain a base model pre-trained with a large-scale corpus, a functional model comprising a specified function added to the base model, and a target model additionally trained on the base model with learning data of a specified domain,
determine a first difference value between a first parameter of the functional model and a second parameter of the base model corresponding to the first parameter,
determine a change ratio of a third parameter of the target model corresponding to the second parameter with respect to the second parameter, and
generate, based on the first difference value and the change ratio, a new language model from the target model.

### Claim 10

An electronic device, comprising:
a memory; and
at least one processor connected to the memory and configured to execute computer-readable commands stored in the memory,
wherein the computer-readable commands, based on the computer-readable commands being executed by the at least one processor, are configured to cause the electronic device to:
obtain a base model pre-trained with a large-scale corpus, a functional model comprising a specified function added to the base model, and a target model additionally trained on the base model with learning data of a specified domain,
determine a first difference value between a first parameter of the functional model and a second parameter of the base model corresponding to the first parameter,
determine a change ratio of a third parameter of the target model corresponding to the second parameter with respect to the second parameter, and
generate, based on the first difference value and the change ratio, a new language model from the target model.

### Claim 11 (depends on 10)

The electronic device as claimed in claim 10, wherein the computer-readable commands, based on the computer-readable commands being executed by the at least one processor, are configured to cause the electronic device to:
determine a second difference value between the third parameter and the second parameter, and
obtain the change ratio by inputting the second difference value to an activation function of an artificial intelligence neural network.

### Claim 12 (depends on 11)

The electronic device as claimed in claim 11, wherein the activation function comprises at least one of a sigmoid function or a ReLU function.

### Claim 13 (depends on 11)

The electronic device as claimed in claim 11, wherein the computer-readable commands, based on the computer-readable commands being executed by the at least one processor, are configured to cause the electronic device to:
before inputting the second difference value into the activation function, obtain an absolute value of the second difference value and normalize the absolute value; and
input the second difference value to the activation function by inputting the normalized absolute value to the activation function.

### Claim 14 (depends on 13)

The electronic device as claimed in claim 13, wherein the computer-readable commands, based on the computer-readable commands being executed by the at least one processor, are configured to cause the electronic device to:
generate the new language model based on a value obtained by:
multiplying the change ratio subtracted from 1 by the first difference value; and
adding a result of the multiplication to the third parameter.

### Claim 15 (depends on 10)

The electronic device as claimed in claim 10, wherein the first difference value and the change ratio are determined for each corresponding layer of the base model, the functional model, and the target model.
