# US 2022/0292330 A1 · Generation and application of location embeddings

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

- Number: US 2022/0292330 A1
- Document ID: US20220292330A1
- Status: Published application
- Kind: A1
- Application number: 17/200,097
- Filed: 2021-03-12
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: X Development LLC
- Applicants: X Development LLC
- Inventors: Hongxu Ma; Gengchen Mai; Bin Ni
- Web page: https://patentgrep.com/patent/US20220292330A1

## CPC

- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06F 16/29: Geographical information databases
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0499: Feedforward networks
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Implementations are described herein for generating location embeddings that capture spatial dependence and heterogeneity of data, making the embeddings suitable for downstream statistical analysis and/or machine learning processing. In various implementations, a position coordinate for a geographic location of interest may be processed using a spatial dependence encoder to generate a first location embedding that captures spatial dependence of geospatial measure(s) for the geographic location of interest. The position coordinate may also be processed using a spatial heterogeneity encoder to generate a second location embedding that captures spatial heterogeneity of the geospatial measure(s) for the geographic location. A combined embedding corresponding to the geographic location may be generated based on the first and second location embeddings. The combined embedding may be processed using a function to determine a prediction for one or more of the geospatial measures of the geographic location of interest.

## Claims

### Claim 1

A method implemented using one or more processors and comprising:
processing a position coordinate for a geographic location of interest using a spatial heterogeneity encoder to generate a first location embedding that captures spatial heterogeneity of one or more geospatial measures for the geographic location of interest;
processing the position coordinate for the geographic location of interest using a spatial dependence encoder to generate a second location embedding that captures spatial dependence of the one or more geospatial measures for the geographic location of interest;
generating a combined embedding corresponding to the geographic location of interest, wherein the combined embedding is based on the first and second location embeddings; and
processing the combined embedding using a function to determine a prediction for one or more of the geospatial measures of the geographic location of interest.

### Claim 2 (depends on 1)

The method of claim 1, wherein the spatial heterogeneity encoder and the spatial dependence are jointly trained.

### Claim 3 (depends on 1)

The method of claim 1, wherein the function comprises a support vector machine or neural network.

### Claim 4 (depends on 1)

The method of claim 1, wherein the one or more geospatial measures include one or more of climate conditions, drought severity, temperature, soil moisture, or air pollution concentration.

### Claim 5 (depends on 4)

The method of claim 4, wherein processing the combined embedding using the function includes processing the combined embedding in combination with data indicative of one or more other geospatial measures of the geographic location of interest.

### Claim 6 (depends on 1)

The method of claim 1, wherein each position coordinate comprises a longitude and a latitude.

### Claim 7 (depends on 1)

The method of claim 1, wherein each position coordinate includes an x and y coordinate that identifies a center point of a cell of a two-dimensional grid of cells, wherein the geographic location of interest corresponds to a cell of the two-dimensional grid of cells.

### Claim 8

A method implemented using one or more processors and comprising:
processing a plurality of training position coordinates for a plurality of geographic locations using a spatial heterogeneity encoder to generate a first plurality of location embeddings;
processing the plurality of training position coordinates for the plurality of geographic locations using a spatial dependence encoder to generate a second plurality of location embeddings;
generating a plurality of combined embeddings corresponding to the plurality of geographic locations, wherein each combined embedding is based on corresponding location embeddings from the first and second pluralities of location embeddings; and
training one or both of the spatial dependence encoder and the spatial heterogeneity encoder based on ground truth geospatial measures for the plurality of geographic locations and predicted geospatial measures for the plurality of geographic locations, wherein the predicted geospatial measures are determined based on the plurality of combined embeddings.

### Claim 9 (depends on 8)

The method of claim 8, wherein the spatial dependence encoder and the spatial heterogeneity are jointly trained.

### Claim 10 (depends on 8)

The method of claim 8, wherein the training includes processing the plurality of combined embeddings using a function to determine the predicted geospatial measures for the plurality of geographic locations.

### Claim 11 (depends on 8)

The method of claim 8, further comprising, subsequent to the training:
generating a new combined location embedding for a new geographic location of interest, wherein generating the new combined location embedding includes processing the new position coordinate using the trained spatial dependence and spatial heterogeneity encoders; and
processing the new combined embedding using the function to predict a geospatial measure for the new geographic location of interest.

### Claim 12 (depends on 11)

The method of claim 11, wherein the geospatial measure includes one or more of climate conditions, drought severity, temperature, soil moisture, or air pollution concentration.

### Claim 13 (depends on 11)

The method of claim 11, wherein processing the new combined embedding using a function includes processing the new combined embedding in combination with data indicative of one or more geospatial measures of the new geographic location of interest.

### Claim 14 (depends on 8)

The method of claim 8, wherein each position coordinate comprises a longitude and a latitude.

### Claim 15 (depends on 8)

The method of claim 8, wherein each position coordinate includes an x and y coordinate that identifies a center point of a cell of a two-dimensional grid of cells, wherein each cell of the two-dimensional grid of cells corresponds to one of the plurality of geographic locations.

### Claim 16

A system comprising one or more processors and memory storing instructions that, in response to execution of the instructions by the one or more processors, cause the one or more processors to:
process a position coordinate for a geographic location of interest using a spatial dependence encoder to generate a first location embedding that captures spatial dependence of one or more geospatial measures for the geographic location of interest;
process the position coordinate for the geographic location of interest using a spatial heterogeneity encoder to generate a second location embedding that captures spatial heterogeneity of the one or more geospatial measures for the geographic location of interest;
generate a combined embedding corresponding to the geographic location of interest, wherein the combined embedding is based on the first and second location embeddings; and
process the combined embedding using a function to determine a prediction for one or more of the geospatial measures of the geographic location of interest.

### Claim 17 (depends on 16)

The system of claim 16, wherein the spatial dependence encoder and the spatial heterogeneity are jointly trained.

### Claim 18 (depends on 16)

The system of claim 16, wherein the function comprises a support vector machine or neural network.

### Claim 19 (depends on 16)

The system of claim 16, wherein the one or more geospatial measures include one or more of climate conditions, drought severity, temperature, soil moisture, or air pollution concentration.

### Claim 20 (depends on 19)

The system of claim 19, comprising instructions to process the combined embedding in combination with data indicative of one or more other geospatial measures of the geographic location of interest.
