# US 2026/0093900 A1 · Device, a data structure, and a computer implemented method for editing a model

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

- Number: US 2026/0093900 A1
- Document ID: US20260093900A1
- Status: Published application
- Kind: A1
- Application number: 19/342,750
- Filed: 2025-09-29
- Published: 2026-04-02
- Earliest claimed: 2024-10-02
- Applicants: Robert Bosch GmbH
- Inventors: Mingyang Wang; Heike Adel-Vu; Lukas Lange
- Web page: https://patentgrep.com/patent/US20260093900A1

## CPC

- G06F 40/166: Editing, e.g. inserting or deleting
- G06F 16/3329: Natural language query formulation
- G06F 40/30: Semantic analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A device, a data structure, and a computer implemented method for editing a model. The method includes: providing the model with parameters; providing a first factual sentence representing a fact to be edited, wherein the fact to be edited includes a subject, a relation, and an object, wherein the first factual sentence represents the subject and the relation; providing a second factual sentence representing a fact to be maintained; determining a prompt for requesting the model to output the object, wherein the prompt includes a concatenation of the sentences; and editing at least one parameter of the model depending on a conditional likelihood conditioned on the subject and the relation that the model outputs a concatenation of the object and the second factual sentence in response to the prompt.

## Claims

### Claim 1

A computer implemented method for editing a model, the method comprising the following steps:
providing the model with parameters;
providing a first factual sentence representing a fact to be edited, wherein the fact to be edited includes a subject, a relation, and an object, wherein the first factual sentence represents the subject and the relation;
providing a second factual sentence representing a fact to be maintained;
determining a prompt for requesting the model to output the object, wherein the prompt includes a concatenation of the first factual sentence and the second factual sentence; and
editing at least one parameter of the model depending on a conditional likelihood conditioned on the subject and the relation that the model outputs a concatenation of the object and the second factual sentence in response to the prompt.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
providing the model pre-trained on training data including a set of facts;
sampling the fact to be maintained from the set of facts; and
determining the second factual sentence depending on the fact to be maintained.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the first factual sentence is determined by providing a set of facts for editing, sampling the fact to be edited from the set of facts for editing, and determining the first factual sentence depending on the fact to be edited.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the determining of the second factual sentence includes verifying that the fact to be maintained is not in the set of facts for editing, and: (i) determining the second factual sentence depending on the fact to be maintained upon successful verifying, or (ii) not determining the second factual sentence depending on the fact to be maintained otherwise.

### Claim 5

A device for editing a model, comprising:
at least one processor; and
at least one non-transitory memory, wherein the at least one non-transitory memory s configured to store the model and instructions that, when executed by the at least one processor, cause the device to execute a method for editing a model, the method including the following steps:
providing the model with parameters,
providing a first factual sentence representing a fact to be edited, wherein the fact to be edited includes a subject, a relation, and an object, wherein the first factual sentence represents the subject and the relation,
providing a second factual sentence representing a fact to be maintained,
determining a prompt for requesting the model to output the object, wherein the prompt includes a concatenation of the first factual sentence and the second factual sentence, and
editing at least one parameter of the model depending on a conditional likelihood conditioned on the subject and the relation that the model outputs a concatenation of the object and the second factual sentence in response to the prompt.

### Claim 6

A non-transitory computer-readable medium on which is stored a computer program for editing a model, the computer program comprising computer-readable instructions that, when executed by a computer, cause the computer to execute a method for editing a model, the method comprising the following steps:
providing the model with parameters;
providing a first factual sentence representing a fact to be edited, wherein the fact to be edited includes a subject, a relation, and an object, wherein the first factual sentence represents the subject and the relation;
providing a second factual sentence representing a fact to be maintained;
determining a prompt for requesting the model to output the object, wherein the prompt includes a concatenation of the first factual sentence and the second factual sentence; and
editing at least one parameter of the model depending on a conditional likelihood conditioned on the subject and the relation that the model outputs a concatenation of the object and the second factual sentence in response to the prompt.

### Claim 7

A data structure for editing a model, comprising:
at least one data field for the model, a first factual sentence representing a fact to be edited, wherein the fact to be edited includes a subject, a relation, and an object, wherein the first factual sentence represents the subject and the relation, a second factual sentence representing a fact to be maintained, a prompt for requesting the model to output the object, wherein the prompt includes a concatenation of the sentences, and a conditional likelihood conditioned on the subject and the relation that the model outputs a concatenation of the object and the second factual sentence in response to the prompt.

### Claim 8 (depends on 7)

The data structure according to claim 7, further comprising:
at least one data field for training data including a set of facts, and for the fact to be maintained, sampled from the set of facts.

### Claim 9 (depends on 7)

The data structure according to claim 7, further comprising:
at least one data field for a set of facts for editing, and the fact to be edited sampled from the set of facts for editing.

### Claim 10 (depends on 9)

The data structure according to claim 9, further comprising:
at least one data field for a result of verifying that the fact to be maintained is not in the set of facts for editing.
