# US 2023/0066501 A1 · Method, apparatus, and system for traffic estimation based on anomaly detection

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

- Number: US 2023/0066501 A1
- Document ID: US20230066501A1
- Status: Published application
- Kind: A1
- Application number: 17/410,698
- Filed: 2021-08-24
- Published: 2023-03-02
- Earliest claimed: 2021-08-24
- Assignees: HERE Global B.V.
- Applicants: HERE Global B.V.
- Inventors: David JONIETZ
- Web page: https://patentgrep.com/patent/US20230066501A1

## CPC

- G06F 16/285: {Clustering or classification}
- G06F 18/2413: based on distances to training or reference patterns
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06F 18/24143: {Distances to neighbourhood prototypes, e.g. restricted Coulomb energy networks [RCEN]}
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G08G 1/01: Detecting movement of traffic to be counted or controlled (G08G1/07 - G08G1/14 take precedence)
- G08G 1/0112: {from the vehicle, e.g. floating car data [FCD]}
- G08G 1/0129: {for creating historical data or processing based on historical data}
- G08G 1/0141: {for traffic information dissemination}
- G01S 19/14: specially adapted for specific applications
- G06F 16/2455: Query execution
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G08G: TRAFFIC CONTROL SYSTEMS (guiding railway traffic, ensuring the safety of railway traffic B61L; arrangement of road signs or traffic signals E01F9/00; radar or analogous systems, sonar systems, lidar systems specially adapted for traffic control G01S13/91, G01S15/88, G01S17/88; {radar or analogous systems, sonar systems, lidar systems specially adapted for anti-collision purposes G01S13/93, G01S15/93, G01S17/93})
- G01S: RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES

## Abstract

An approach is provided for traffic estimation/detection based on anomaly detection. The approach involves, for instance, retrieving probe data or other sensor data collected from sensors of devices traveling in a geographic area. The approach also involves aggregating the probe or sensor data into a sequence of frames. Each frame comprises a plurality of spatial cells representing the geographic area at a respective time interval. The approach further involves computing a similarity of the sequence to one or more historical sequences comprising historical frames of spatially and temporally binned historical probe data. The approach further involves determining a classification of a traffic state associated with the probe or sensor data as either a normal traffic state or as a traffic anomaly based on the similarity. By way of example, the traffic state of the probe data can then be estimated/predicted based on the classification.

## Claims

### Claim 1

A computer-implemented method comprising:
retrieving probe data collected from one or more sensors of one or more devices traveling in a geographic area;
aggregating the probe data into a sequence of one or more frames, wherein each frame of the sequence comprises a plurality of spatial cells representing the geographic area at a respective time interval, and wherein the probe data is spatially and temporally binned into the plurality of spatial cells;
computing a similarity of the sequence to one or more historical sequences comprising one or more historical frames of spatially and temporally binned historical probe data, and wherein the one or more historical sequences are linked with respective historical traffic states;
determining a classification of a traffic state associated with the probe data as either a normal traffic state or as a traffic anomaly based on the similarity; and
providing the classification of the traffic state as an output.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
based on determining that the classification is the normal traffic state, computing the traffic state of the sequence based on the respective historical states.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
based on determining that the classification is the traffic anomaly, processing the probe data using a data processing pipeline to compute the traffic state of the sequence.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
selecting a predetermined number of the one or more historical sequences based on respective similarity values of the computed similarity,
wherein the classification of the traffic state is based on the respective similarity values of the predetermined number of the one or more historical sequences.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
computing an absolute difference between a maximum of the respective similarity values to a historical mean; and
comparing the absolute difference to a threshold value to determine the classification of the traffic state as either the normal traffic state or the traffic anomaly.

### Claim 6 (depends on 1)

The method of claim 1, wherein the one or more historical sequences are linked one-to-one with the respective historical traffic states as respective tuples.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
querying the one or more historical sequences from a database based on the sequence.

### Claim 8 (depends on 1)

The method of claim 1, wherein the similarity is computed based on respective encoded versions of the sequence and the one or more historical sequences.

### Claim 9 (depends on 8)

The method of claim 8, wherein the respective encoded versions are generated using a pretrained machine learning autoencoder.

### Claim 10 (depends on 1)

The method of claim 1, wherein the similarity is computed based on a selected portion of the one or more frames, the one or more historical frames, or a combination thereof.

### Claim 11

An apparatus comprising:
at least one processor; and
at least one memory including computer program code for one or more programs,
the at least one memory and the computer program code configured to, within the at least one processor, cause the apparatus to perform at least the following,
retrieve historical probe data collected from one or more sensors of one or more devices previously traveling in a geographic area;
aggregate the historical probe data into one or more historical sequences of one or more historical frames, wherein each historical frame of the one or more historical sequences comprises a plurality of spatial cells representing the geographic area at a respective time interval, and wherein the historical probe data is spatially and temporally binned into the plurality of spatial cells;
generate a linking of the one or more historical sequences to one or more respective historical traffic states;
store the association in a database,
wherein the database enables determining a traffic state classification of an observed sequence of one or more other frames aggregated from other probe data.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the linking is a tuple of the one or more historical sequences and the one or more respective historical traffic states.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein the apparatus is further caused to:
provide the one or more historical sequences in response to a query of the database,
wherein the query is based on the observed sequence.

### Claim 14 (depends on 11)

The apparatus of claim 11, wherein the traffic state classification is based on a similarity assessment between the one or more historical sequences and the observed sequence.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein the classification includes a normal traffic state, a traffic anomaly, or a combination thereof.

### Claim 16

A non-transitory computer-readable storage medium carrying one or more sequences of one or more instructions which, when executed by one or more processors, cause an apparatus to perform:
retrieving sensor data collected from one or more sensors of one or more devices traveling in a geographic area;
aggregating the sensor data into a sequence of one or more frames, wherein each frame of the sequence comprises a plurality of spatial cells representing the geographic area at a respective time interval, and wherein the probe data is spatially and temporally binned into the plurality of spatial cells;
computing a similarity of the sequence to one or more historical sequences comprising one or more historical frames of spatially and temporally binned historical sensor data, and wherein the one or more historical sequences are linked with respective historical traffic states;
determining a classification of a traffic state associated with the probe data based on the similarity; and
providing the classification of the traffic state as an output.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the apparatus is caused to further perform:
based on determining that the classification is a normal traffic state, computing the traffic state for the sequence based on the respective historical states.

### Claim 18 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the apparatus is caused to further perform:
based on determining that the classification is a traffic anomaly, processing the sensor data using a data processing pipeline to compute the traffic state of the sequence.

### Claim 19 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the apparatus is caused to further perform:
selecting a predetermined number of the one or more historical sequences based on respective similarity values of the computed similarity,
wherein the classification of the traffic state is based on the respective similarity values of the predetermined number of the one or more historical sequences.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein the apparatus is caused to further perform:
computing an absolute difference between a maximum of the respective similarity values to a historical mean; and
comparing the absolute difference to a threshold value to determine the classification of the traffic state as either the normal traffic state or the traffic anomaly.
