# US 2026/0030879 A1 · Method for finetuning a large language model for a visual navigation task

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

- Number: US 2026/0030879 A1
- Document ID: US20260030879A1
- Status: Published application
- Kind: A1
- Application number: 18/785,048
- Filed: 2024-07-26
- Published: 2026-01-29
- Earliest claimed: 2024-07-26
- Assignees: Robert Bosch GmbH
- Applicants: Robert Bosch GmbH
- Inventors: Yuliang Guo; Christian Juette; Xinyu Huang; Liu Ren
- Web page: https://patentgrep.com/patent/US20260030879A1

## CPC

- G06V 10/82: using neural networks
- G06V 10/771: Feature selection, e.g. selecting representative features from a multi-dimensional feature space
- G06V 10/7788: {the supervisor being a human, e.g. interactive learning with a human teacher}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method for finetuning a pretrained language model for performing a visual navigation task is described. Scene data is provided that describes a plurality of scenes. Scene graphs that represent the plurality of scenes are derived based on the scene data. For different combinations of a given starting room and target object, a ground truth shortest path from the starting room to the target object in the scene is determined based on the scene graph. Based on the scene data and the scene graphs, natural language prompts are derived that prompt the language model to predict, given a current room and the target object in the scene, a next navigation step of a shortest path from the starting room to the target object in the scene. Together, the natural language prompts and the ground truth shortest paths are used to finetune the pretrained language model.

## Claims

### Claim 1

A method for finetuning a language model, the method comprising:
providing, in a memory, a scene graph representing a scene, the scene graph comprising a plurality of nodes and a plurality of edges interconnecting the plurality of nodes, the plurality of nodes representing a plurality of rooms in the scene and a plurality of objects in the scene;
selecting, with a processor, (i) a starting room from the plurality of rooms and (ii) a target object, the target object being an object type or a particular object from the plurality of objects;
determining, with the processor, based on the scene graph, a ground truth shortest path from the starting room to the target object in the scene, the ground truth shortest path being defined by a first sequence of connected nodes in the scene graph that represent a first sequence of navigation steps to navigate the scene from the starting room to the target object;
generating, with the processor, a natural language prompt configured to prompt a language model to predict, given a current room and the target object in the scene, a next node in the first sequence of connected nodes that define the ground truth shortest path from the starting room to the target object in the scene; and
finetuning the language model using the natural language prompt and the ground truth shortest path.

### Claim 2 (depends on 1)

The method according to claim 1, the providing the scene graph further comprising:
receiving scene data describing the plurality of rooms and the plurality of objects in the scene; and
determining the scene graph based on the scene data.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the plurality of nodes includes (i) respective room nodes corresponding to each of the plurality of rooms and (ii) respective object nodes corresponding to each of the plurality of objects.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the plurality of edges of the scene graph define spatial relationships between the plurality of rooms and the plurality of objects.

### Claim 5 (depends on 4)

The method according to claim 4, wherein:
the plurality of edges includes respective edges connecting each respective room node in the plurality of nodes to room nodes in the plurality of nodes that correspond to a predetermined number of nearest neighboring rooms of the plurality of rooms; and
each respective edge in the plurality of edges that connects two respective room nodes in the plurality of nodes has a length equal to a distance between the rooms of the plurality of rooms corresponding to the two respective room nodes.

### Claim 6 (depends on 4)

The method according to claim 4, wherein:
the plurality of edges includes respective edges connecting each respective object node in the plurality of nodes to a respective room node in the plurality of nodes, the respective object node corresponding to a respective object of the plurality of objects, the respective room node corresponding to the room of the plurality of rooms within which the respective object is located; and
each respective edge in the plurality of edges that connects an object node and a room node in the plurality of nodes has a length equal to a distance between the corresponding object of the plurality of objects and a center of the corresponding room of the plurality of rooms.

### Claim 7 (depends on 1)

The method according to claim 1, the determining the ground truth shortest path further comprising:
determining the ground truth shortest path as the path between the starting room and the target object having a shortest length.

### Claim 8 (depends on 1)

The method according to claim 1, the determining the ground truth shortest path further comprising:
determining the ground truth shortest path as the path between the starting room and the target object having a fewest number of steps.

### Claim 9 (depends on 1)

The method according to claim 1, the generating the natural language prompt further comprising:
generating the natural language prompt including (i) a text encoding of an incomplete portion of the scene graph, (ii) text indicating the current room, and (iii) text indicating the target object.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the incomplete portion of the scene graph includes (i) a respective node of the plurality of nodes representing the current room and (ii) each node of the plurality of nodes that is connected to the respective node by an edge of the plurality of edges.

### Claim 11 (depends on 9)

The method according to claim 9, wherein the text encoding of the incomplete portion of the scene graph includes metadata of each node of the incomplete portion of the scene graph.

### Claim 12 (depends on 11)

The method according the claim 11, wherein the metadata of each respective node of the incomplete portion of the scene graph includes qualitative or quantitative features of a respective room or respective object represented by the respective node.

### Claim 13 (depends on 9)

The method according to claim 9, wherein the current room is the starting room.

### Claim 14 (depends on 9)

The method according to claim 9, wherein the current room is a ground truth next node associated with a previously generated different natural language prompt.

### Claim 15 (depends on 1)

The method according to claim 1, the finetuning the language model further comprising:
determining, based on the ground truth shortest path, a ground truth next node that is responsive to the natural language prompt.

### Claim 16 (depends on 15)

The method according to claim 15, the finetuning the language model further comprising:
generating text indicating the ground truth next node;
forming a modified natural language prompt by combining the text indicating the ground truth next node with the natural language prompt; and
finetuning the language model using the modified natural language prompt.

### Claim 17 (depends on 15)

The method according to claim 15, the finetuning the language model further comprising:
transmitting, with a transceiver, the natural language prompt and the ground truth next node to a remote server; and
finetuning, at the remote server, the language model based on the natural language prompt and the ground truth next node.

### Claim 18 (depends on 1)

The method according to claim 1, wherein the finetuned language model is by a mobile robot to navigate an environment.

### Claim 19 (depends on 18)

The method according to claim 18, wherein the mobile robot captures information about the environment and generates further natural language prompts based on the information about the environment.

### Claim 20 (depends on 19)

The method according to claim 19, wherein the mobile robot navigates the environment based on outputs of the finetuned language model that are responsive to the further natural language prompts.
