Skip to main content
QUICK REVIEW

[Paper Review] Large Language Models for Travel Behavior Prediction

Baichuan Mo, Hanyong Xu|arXiv (Cornell University)|Nov 30, 2023
Traffic Prediction and Management TechniquesEngineering6 citations
TL;DR

This study proposes a zero-shot prompting framework using large language models (LLMs) to predict travel mode choice without training data, leveraging task descriptions, individual attributes, travel characteristics, and domain-guided reasoning. LLMs achieve competitive accuracy and F1-scores compared to traditional models like multinomial logit, random forest, and neural networks, while generating interpretable explanations—though hallucinations and reasoning errors occasionally occur.

ABSTRACT

Travel behavior prediction is a core problem in transportation demand management and is traditionally addressed using numerical models calibrated on observed data. With recent advances in large language models (LLMs), new opportunities have emerged to model human decision-making through natural language reasoning. This study explores the use of LLMs for travel behavior prediction through two complementary frameworks. The first framework employs a zero-shot prompting strategy, where the prediction task, traveler attributes, and relevant domain knowledge are described in text, enabling the LLM to directly generate predictions without task-specific training data. The second framework uses LLM-generated text embeddings as high-level representations of travel scenarios, which are then combined with conventional supervised learning models to support prediction in small-sample settings. Empirical results show that both approaches achieve performance comparable to, and in some cases competitive with, classical models such as multinomial logit, random forest, and neural networks. These findings suggest that LLMs offer a flexible and data-efficient alternative for travel behavior prediction.

Motivation & Objective

  • To investigate whether large language models (LLMs) can predict travel behavior without requiring training data or parameter calibration.
  • To develop a zero-shot prompting framework that integrates task description, individual attributes, travel characteristics, and domain knowledge for travel mode choice prediction.
  • To evaluate the performance of LLM-based predictions against established supervised learning models such as multinomial logit, random forest, and neural networks.
  • To examine the interpretability and reasoning quality of LLM-generated explanations in travel behavior prediction.
  • To identify limitations such as hallucinations and logical inconsistencies in LLM outputs for transportation decision-making tasks.

Proposed method

  • Design a zero-shot prompt incorporating four components: task description, individual attributes (e.g., regular train user, annual pass ownership), travel characteristics (travel time and cost per mode), and domain-guided reasoning prompts.
  • Use LLMs (e.g., GPT-4) to generate predictions and explanations based solely on the engineered prompt, without any fine-tuning or training data.
  • Frame the prediction task as a reasoning problem, guiding the LLM to weigh trade-offs between time and cost using transportation domain knowledge.
  • Evaluate model performance using standard metrics such as accuracy and F1-score, comparing LLM outputs to predictions from classical models.
  • Conduct qualitative analysis of LLM-generated explanations to assess logical consistency, relevance, and presence of hallucinations.
  • Use real-world survey data for testing and validation, ensuring the framework is grounded in empirical travel behavior.

Experimental results

Research questions

  • RQ1Can LLMs achieve competitive prediction performance on travel mode choice without any training data or parameter learning?
  • RQ2How do LLM-generated explanations compare in quality and reasonableness to the predictions of classical models?
  • RQ3What types of reasoning errors or hallucinations emerge in LLM-based travel behavior predictions?
  • RQ4How effective is prompt engineering in guiding LLMs to make accurate and interpretable travel behavior decisions?
  • RQ5Can the LLM framework be generalized to other travel behavior prediction tasks beyond mode choice?

Key findings

  • LLM-based predictions achieved competitive accuracy and F1-scores compared to multinomial logit, random forest, and neural networks, despite no training data being used.
  • The LLM generated plausible and contextually relevant explanations for its predictions in most cases, such as prioritizing time savings when travel time differences were substantial.
  • In some cases, the LLM produced incorrect predictions due to flawed reasoning, such as claiming a person prefers time-saving over cost-saving without any supporting input data.
  • Hallucination was observed when the LLM fabricated preferences, such as asserting a person prefers Swissmetro due to time-saving even when the input data showed otherwise.
  • The model incorrectly predicted Train as the choice in one case due to a misinterpretation of the person’s regular user status and lack of annual pass, despite Swissmetro being optimal in time and cost.
  • The framework demonstrated a paradigm shift from data-driven modeling to reasoning-based prediction, offering interpretability without requiring model retraining.

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.