# US 2025/0156685 A1 · Augmenting of driving scenarios using contrastive learning

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

- Number: US 2025/0156685 A1
- Document ID: US20250156685A1
- Status: Published application
- Kind: A1
- Application number: 18/680,440
- Filed: 2024-05-31
- Published: 2025-05-15
- Earliest claimed: 2023-11-09
- Assignees: Pony.ai, Inc.
- Applicants: Pony.ai, Inc.
- Inventors: Zhen WU
- Web page: https://patentgrep.com/patent/US20250156685A1

## CPC

- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/045: Combinations of networks
- G06V 10/82: using neural networks
- G06V 20/56: exterior to a vehicle by using sensors mounted on the vehicle
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A system includes one or more processors that obtain a textual prompt, encode the textual prompt, and obtain candidate sequences of sensor data from different modalities, each sequence including a plurality of sequential frames, each of the candidate sequences being evaluated against the textual prompt based on a contrastive loss. The system encodes the candidate sequences of sensor data, embedding position information, within the encoded candidate sequences, indicating relative timestamps associated with each of the sequential frames of the sensor data, concatenates the encoded candidate sequences of sensor data, including the embedded position information, transforms the concatenated and encoded frames of sensor data to form transformed candidate sequences, determines a particular candidate sequence as a match between the transformed candidate sequences and the encoded textual prompt based on the contrastive loss; and generates a hierarchical structure that encapsulates navigation data of the particular candidate sequence

## Claims

### Claim 1

A system comprising:
one or more processors; and
a memory storing instructions that, when executed by the one or more processors, cause the system to perform:
obtaining a textual prompt;
encoding the textual prompt;
obtaining candidate sequences of sensor data from different modalities, each sequence comprising a plurality of sequential frames, each of the candidate sequences being evaluated against the textual prompt based on a contrastive loss;
encoding the candidate sequences of sensor data;
embedding position information, within the encoded candidate sequences, indicating relative timestamps associated with each of the sequential frames of the sensor data;
concatenating the encoded candidate sequences of sensor data, including the embedded position information;
transforming the concatenated and encoded frames of sensor data to form transformed candidate sequences;
determining a particular candidate sequence as a match between the transformed candidate sequences and the encoded textual prompt based on the contrastive loss; and
generating a hierarchical structure that encapsulates navigation data of the particular candidate sequence.

### Claim 2 (depends on 1)

The system of claim 1, wherein the different modalities comprise a Lidar, a camera and any of a GPS or IMU.

### Claim 3 (depends on 1)

The system of claim 1, wherein transforming of the concatenated and encoded frames of sensor data comprises mean pooling.

### Claim 4 (depends on 1)

The system of claim 1, wherein the system comprises an encoder/decoder system.

### Claim 5 (depends on 4)

The system of claim 4, wherein the system comprises one or more transformers.

### Claim 6 (depends on 1)

The system of claim 1, wherein the determining of the particular candidate sequence as a match is based on a neural network.

### Claim 7 (depends on 1)

The system of claim 1, wherein the textual prompt is in natural language format.

### Claim 8 (depends on 1)

The system of claim 1, wherein the encoding of the candidate sequences and the textual prompt normalizes the sensor data and the textual prompt into a common feature space.

### Claim 9 (depends on 1)

The system of claim 1, wherein the determining of a particular candidate sequence implements zero shot learning.

### Claim 10 (depends on 1)

The system of claim 1, wherein the generating of a hierarchical structure implements a self attention layer, a cross attention layer, and a feed forward layer.

### Claim 11

A method implemented by one or more processors of a computing system, the method comprising:
obtaining a textual prompt;
encoding the textual prompt;
obtaining candidate sequences of sensor data from different modalities, each sequence comprising a plurality of sequential frames, each of the candidate sequences being evaluated against the textual prompt based on a contrastive loss;
encoding the candidate sequences of sensor data;
embedding position information, within the encoded candidate sequences, indicating relative timestamps associated with each of the sequential frames of the sensor data;
concatenating the encoded candidate sequences of sensor data, including the embedded position information;
transforming the concatenated and encoded frames of sensor data to form transformed candidate sequences;
determining a particular candidate sequence as a match between the transformed candidate sequences and the encoded textual prompt based on the contrastive loss; and
generating a hierarchical structure that encapsulates navigation data of the particular candidate sequence.

### Claim 12 (depends on 11)

The method of claim 11, wherein the different modalities comprise a Lidar, a camera and any of a GPS or IMU.

### Claim 13 (depends on 11)

The method of claim 11, wherein transforming of the concatenated and encoded frames of sensor data comprises mean pooling.

### Claim 14 (depends on 11)

The method of claim 11, wherein the computing system comprises an encoder/decoder system.

### Claim 15 (depends on 14)

The method of claim 14, wherein the computing system comprises one or more transformers.

### Claim 16 (depends on 11)

The method of claim 11, wherein the determining of the particular candidate sequence as a match is based on a neural network.

### Claim 17 (depends on 11)

The method of claim 11, wherein the textual prompt is in natural language format.

### Claim 18 (depends on 11)

The method of claim 11, wherein the encoding of the candidate sequences and the textual prompt normalizes the sensor data and the textual prompt into a common feature space.

### Claim 19 (depends on 11)

The method of claim 11, wherein the determining of a particular candidate sequence implements zero shot learning.

### Claim 20 (depends on 11)

The method of claim 11, wherein the generating of a hierarchical structure implements a self attention layer, a cross attention layer, and a feed forward layer.
