Skip to main content
QUICK REVIEW

[Paper Review] Prompt Mining for Language-based Human Mobility Forecasting

Hao Xue, Tianye Tang|arXiv (Cornell University)|Mar 6, 2024
Human Mobility and Location-Based AnalysisSocial Sciences3 citations
TL;DR

This paper proposes a novel prompt mining framework for language-based human mobility forecasting that dynamically generates and refines prompts using information entropy and chain-of-thought reasoning. By replacing fixed templates with an adaptive pipeline, the method significantly improves forecasting accuracy across multiple large language models, with RMSE reductions of up to 70% compared to baseline templates.

ABSTRACT

With the advancement of large language models, language-based forecasting has recently emerged as an innovative approach for predicting human mobility patterns. The core idea is to use prompts to transform the raw mobility data given as numerical values into natural language sentences so that the language models can be leveraged to generate the description for future observations. However, previous studies have only employed fixed and manually designed templates to transform numerical values into sentences. Since the forecasting performance of language models heavily relies on prompts, using fixed templates for prompting may limit the forecasting capability of language models. In this paper, we propose a novel framework for prompt mining in language-based mobility forecasting, aiming to explore diverse prompt design strategies. Specifically, the framework includes a prompt generation stage based on the information entropy of prompts and a prompt refinement stage to integrate mechanisms such as the chain of thought. Experimental results on real-world large-scale data demonstrate the superiority of generated prompts from our prompt mining pipeline. Additionally, the comparison of different prompt variants shows that the proposed prompt refinement process is effective. Our study presents a promising direction for further advancing language-based mobility forecasting.

Motivation & Objective

  • To address the limitation of fixed, manually designed prompts in language-based human mobility forecasting.
  • To improve forecasting accuracy by dynamically generating high-quality prompts based on data and language model behavior.
  • To integrate advanced reasoning mechanisms like chain-of-thought and temporal segmentation into the prompt generation pipeline.
  • To evaluate the effectiveness of prompt mining across diverse large language models and real-world mobility datasets.
  • To explore the impact of dynamic temporal segmentation on forecasting performance.

Proposed method

  • A prompt generation stage uses a Prompt Quality Evaluator that combines heuristic rules and prompt entropy to assess and guide the generation of diverse, high-quality prompts.
  • The framework introduces a prompt refinement stage that applies noise reduction, chain-of-thought reasoning, and information gain-based temporal segmentation to enhance prompt relevance.
  • Information entropy is used both in the semantic quality of prompts and in the distribution of mobility data to guide segmentation and refinement.
  • The pipeline is trained and evaluated on real-world large-scale mobility data, with performance measured via RMSE and MAE across multiple language models.
  • Different prompt variants (V1–V4) are systematically compared, with V4 incorporating dynamic segmenting based on K=2 to 5 segments.
  • The method is evaluated on Bart, BigBird, and Pegasus models to assess generalization and adaptability across architectures.

Experimental results

Research questions

  • RQ1How does prompt mining based on entropy and refinement mechanisms improve forecasting performance compared to fixed templates?
  • RQ2What is the impact of chain-of-thought reasoning and temporal segmentation on prompt quality and forecasting accuracy?
  • RQ3How does the number of temporal segments (K) affect the performance of the refined prompts?
  • RQ4To what extent is the proposed prompt mining framework generalizable across different large language models?
  • RQ5Can entropy-based evaluation effectively guide the generation of high-quality, contextually relevant prompts for mobility forecasting?

Key findings

  • The proposed prompt mining framework reduces RMSE by up to 70% compared to fixed template baselines, with V3 achieving the best performance across all models.
  • For the Bart model, the refined V3 prompt achieves an RMSE of 3.19 in the first half and 4.48 in the second half, significantly outperforming V1 (11.01 and 22.92).
  • When using dynamic segmentation (V4), increasing K from 2 to 5 improves performance, with Pegasus achieving an RMSE of 1.70 and MAE of 0.57 for segment average, compared to 3.92 and 1.25 with default 2 segments.
  • The V4 prompt with K=5 achieves the lowest RMSE (1.70) and MAE (0.57) on Pegasus, demonstrating the benefit of adaptive temporal segmentation.
  • The framework shows consistent performance gains across Bart, BigBird, and Pegasus, indicating strong generalization across different language model architectures.
  • The integration of chain-of-thought and entropy-based refinement significantly enhances forecasting accuracy, with V3 outperforming V2 and V1 across all metrics and models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.