# US 2025/0145174 A1 · Method and apparatus with autonomous driving decision learning

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

- Number: US 2025/0145174 A1
- Document ID: US20250145174A1
- Status: Published application
- Kind: A1
- Application number: 18/604,604
- Filed: 2024-03-14
- Published: 2025-05-08
- Earliest claimed: 2023-11-03
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Dohyun JANG
- Web page: https://patentgrep.com/patent/US20250145174A1

## CPC

- B60W 60/001: {Planning or execution of driving tasks}
- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- B60W 2420/403: Image sensing, e.g. optical camera
- B60W 2420/408: Radar; Laser, e.g. lidar
- B60W 2554/20: Static objects
- B60W 2555/60: Traffic rules, e.g. speed limits or right of way
- B60W: CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided is a method of learning a driving-decision algorithm. The method of learning a driving-decision algorithm for a vehicle includes: receiving a dataset related to driving from a database in which a driving scenario is stored; obtaining a first output by inputting the dataset into a first large language model (LLM), wherein the first output includes an inference of the first LLM based on the dataset; based on the first output, training a decision-trainer and a behavior-and-trajectory planner; generating a second LLM by updating the first LLM based on a result of the training; and generating a third LLM by updating the second LLM based on the trained decision-trainer and based on a selected traffic rule.

## Claims

### Claim 1 (depends on 1, 2)

A method of learning a driving-decision algorithm for a vehicle, the method comprising:
receiving a dataset related to driving from a database in which a driving scenario is stored;
obtaining a first output by inputting the dataset into a first large language model (LLM), wherein the first output comprises an inference of the first LLM based on the dataset;
based on the first output, training a decision-trainer and a behavior-and-trajectory planner;
generating a second LLM by updating the first LLM based on a result of the training; and
generating a third LLM by updating the second LLM based on the trained decision-trainer and based on a selected traffic rule. 2 The method of claim 1, wherein the behavior-and-trajectory planner is configured to output a control signal for controlling a vehicle using, as an input, the first output and scene information about a setting of the vehicle. 3 The method of claim 2, wherein the training of the behavior-and-trajectory planner comprises:
extracting a learning score using a rule-based evaluator for evaluating a control result of the vehicle controlled by the control signal; and
based on determining that the learning score is less than a first threshold value, updating the learning score by updating the behavior-and-trajectory planner.

### Claim 4 (depends on 3)

The method of claim 3, wherein the training of the decision-trainer comprises:
extracting an estimated score for the first output using the first output as an input; and
updating the decision trainer based on determining that the estimated score is less than the learning score and that an estimation error of the estimated score for the learning score is greater than a second threshold value.

### Claim 5 (depends on 3)

The method of claim 3, wherein the generating of the second LLM comprises, based on determining that the learning score is less than the first threshold value, updating the first LLM.

### Claim 6 (depends on 1)

The method of claim 1, wherein the obtaining of the first output comprises encoding the dataset to a scene information feature vector and a traffic-rule feature vector.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
training an object-of-interest explorer by receiving information about an object in a surrounding of the vehicle.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
training a decision-basis-law extractor that is configured to output a traffic rule that provided a basis for an output of the second LLM and a basis for an output of the third LLM.

### Claim 9 (depends on 1)

The method of claim 1, wherein the dataset comprises scene information and a traffic rule corresponding to the scene information.

### Claim 10 (depends on 1)

The method of claim 1, wherein
an output of the third LLM is provided to the trained behavior-and-trajectory planner using, as an input, sensor data of a sensor of the vehicle, and
the updated behavior-and-trajectory planner is configured to control the vehicle by generating a control signal.

### Claim 11

An electronic device comprising:
one or more processors; and
a memory storing instructions configured to cause the one or more processors to:
receive a dataset related to driving from a database in which a driving scenario is stored;
obtain a first output by inputting the dataset into a first large language model (LLM), wherein the first output comprises an inference of the first LLM based on the dataset;
based on the first output, train a decision-trainer and a behavior-and-trajectory planner;
generate a second LLM by updating the first LLM based on a result of the training, obtain a second LLM from the first LLM; and
generate a third LLM by updating the second LLM based on the trained decision trainer and based on a selected traffic law.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the behavior-and-trajectory planner is configured to output a control signal for controlling a vehicle using, as an input, the first output and scene information about a setting of a vehicle in which the electronic device is comprised.

### Claim 13 (depends on 12)

The electronic device of claim 12, wherein the instructions are further configured to cause the one or more processors to:
extract a learning score using a rule-based evaluator for evaluating a control result of the vehicle controlled by the control signal; and
based on a determination that the learning score being less than a first threshold value, update the learning score by updating the behavior-and-trajectory planner.

### Claim 14 (depends on 13)

The electronic device of claim 13, wherein the instructions are further configured to cause the one or more processors to:
extract an estimated score for the first output using the first output as an input; and
update the decision trainer based on a determination that the estimated score is less than the learning score and that an estimation error of the estimated score for the learning score is greater than a second threshold value.

### Claim 15 (depends on 11, 13)

The electronic device of claim 13, wherein the instructions are further configured to cause the one or more processors to, based on a determination that the learning score is less than the first threshold value, update the first LLM. 16 The electronic device of claim 11, wherein the instructions are further configured to cause the one or more processors to encode the dataset to a scene information feature vector and a traffic law feature vector. 17 The electronic device of claim 11, wherein the instructions are further configured to cause the one or more processors to train an object-of-interest explorer by receiving information about a surrounding object of an autonomous vehicle.

### Claim 18 (depends on 11)

The electronic device of claim 11, wherein the instructions are further configured to cause the one or more processors to train a decision-basis-law extractor that is configured to output a traffic rule that provided a basis for an output of the second LLM and a basis for an output of the third LLM.

### Claim 19 (depends on 11)

The electronic device of claim 11, wherein
an output of the third LLM is provided to an updated behavior-and-trajectory planner using, as an input, sensor data of a sensor of a vehicle in which the electronic device is comprised, and
the updated behavior-and-trajectory planner is configured to control the vehicle by generating a control signal.

### Claim 20

A vehicle comprising:
one or more processors;
a memory storing instructions configured to cause the one or more processors to:
display, by a display of the vehicle, a user interface for controlling the autonomous vehicle;
execute a driving-decision algorithm of the vehicle;
receive a dataset related to driving of the vehicle from a database in which a driving scenario is stored;
obtain a first output by inputting the dataset into a first large language model (LLM), wherein the first output comprises an inference of the first LLM based on the dataset;
based on the first output, train a decision trainer and a behavior-and-trajectory planner;
generate a second LLM by updating the first LLM based on a result of the training; and
generate a third LLM by updating the second LLM based on the trained decision-trainer and based on a selected traffic rule.
