Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Google Research 7 min read Research easyNovice

How mobility gives language models a deeper understanding of place

ME-POIs builds place (POI) embeddings that combine text metadata with aggregated, anonymized mobility patterns such as arrival times and stay durations, treating mobility as an input feature that defines a place rather than a next-visit prediction target. The pipeline has three steps: a temporal encoder that aligns visit patterns into a functional signature, multiscale spatial propagation that transfers visit patterns from data-rich neighbors to sparse long-tail places, and cosine-similarity alignment with Gemini text embeddings. Evaluated on unseen places in Los Angeles and Houston across five tasks, it delivered up to 81.9% relative gain in visit intent, 75.1% in price-level classification and 24.7% in busyness estimation over text-only baselines. A mobility-only model even beat text-only models on price level.

Assumes: embeddingsself-supervised learning

Related posts

  • From Activity to Intent: Generating User Journeys with LLMs

    Pinterest Engineering mediumAdept

    Pinterest replaced a multi-stage keyword-clustering pipeline for inferring user "journeys" (long-horizon goals like a kitchen remodel) with a single fine-tuned 4B Qwen3 model. The model reads a compact chronological activity log and emits a ranked JSON list of localized journey names, with the prompt itself encoding ranking, dedup, noise and safety policy. The student was distilled via LoRA SFT from frontier-model teacher outputs; a few thousand diverse, hard examples were enough, and 4B beat 0.6B/1.7B/8B on the quality/throughput tradeoff. Serving uses NVIDIA Dynamo with vLLM on ~100 L40S GPUs at ~775 req/s (p50 1.2s, p95 3.0s), with KV-aware routing and prefix caching, and skips recently inferred users. Online tests showed 1.1% email CTR and 1.3% push open lifts over the clustering system.

  • Unlocking Earth AI’s planetary geospatial foundation models for global public health

    Google Research easyNovice

    Google's Population Dynamics Foundation Model (PDFM) produces monthly location embeddings from aggregated search trends, mobility, built-environment density and environmental data, which can be dropped into existing epidemiological models without task-specific fine-tuning. Five partner evaluations show the embeddings matching or beating conventional inputs. MMR coverage explained variance rose from 16% to 22% using cross-border Canadian embeddings. County cardiovascular mortality nowcasts matched census-based models (MAE 18.7 vs 19.1) on far fresher data. One-month dengue forecasts improved when combined with TimesFM, postpartum depression risk prediction gained small but transferable AUC improvements, and 4–8 week cholera outbreak shortlists in the DRC improved by about 18% in Precision@5. Gains are modest and task-dependent, with little benefit for short-horizon cholera forecasts where recent case counts dominate.

  • Mapping the modern world: How S2Vec learns the language of our cities

    Google Research easyNovice

    S2Vec learns general-purpose embeddings of the built environment by partitioning the Earth into S2 Geometry cells, rasterizing counts of feature types (buildings, businesses, roads) into multi-channel images, and training a masked autoencoder to reconstruct hidden patches. On regression benchmarks for population density, median income, carbon emissions, tree cover and elevation, S2Vec was typically the best single model for zero-shot geographic extrapolation on socioeconomic tasks. It was weaker on environmental tasks such as tree cover and elevation. Fusing S2Vec with satellite-image embeddings like RS-MaMMUT gave the best results overall.

  • User foundation models for Grab

    Grab Engineering hardMaster

    Grab built a transformer-based user foundation model that jointly learns from tabular user attributes and time-series clickstream data to produce general-purpose user embeddings, replacing siloed hand-engineered features. A universal key:value tokenisation with custom positional embeddings and attention masks treats tabular columns as an unordered set and events as an ordered sequence. Modality-specific adapters (pre-trained language models for text, embedding layers for IDs, custom encoders for locations and numbers) feed an alignment layer before the transformer. Pre-training is unsupervised, combining masked token reconstruction with next-action prediction across verticals, so the embeddings serve many downstream tasks such as ads, fraud detection and churn prediction, or the model can be fine-tuned directly.

  • Small models, big results: Achieving superior intent extraction through decomposition

    Google Research hardMaster

    Splitting UI-trajectory intent extraction into two stages lets small on-device multimodal LLMs match much larger models. First, each screen interaction is summarized from a sliding window of three screens, covering screen context, user actions and a speculation about the goal. Second, a fine-tuned small model turns the sequence of summaries into a single intent sentence. Three training choices drive the gains: dropping the speculations in stage two, and cleaning training labels with an LLM so they contain no details missing from the summaries, which reduces hallucination. Evaluated with Bi-Fact atomic-fact precision/recall F1, the method beats chain-of-thought prompting and end-to-end fine-tuning on Android and web data for Gemini and Qwen2, with Gemini 1.5 Flash 8B approaching Gemini 1.5 Pro.

The quest for software engineering knowledge.

Look:
Layout: