Skip to main content
QUICK REVIEW

[Paper Review] TransGPT: Multi-modal Generative Pre-trained Transformer for Transportation

Peng Wang, Wei Xiang|arXiv (Cornell University)|Feb 11, 2024
Natural Language Processing TechniquesComputer Science3 citations
TL;DR

TransGPT is a domain-specific large language model for transportation, comprising two variants: TransGPT-SM for text-only tasks and TransGPT-MM for vision-language tasks. Fine-tuned on manually curated single-modal (STD) and multi-modal (MTD) datasets, it outperforms baseline models like ChatGLM2-6B and VisualGLM-6B across multiple transportation NLP benchmarks, demonstrating strong performance in traffic scenario generation, explanation, and recommendation tasks.

ABSTRACT

Natural language processing (NLP) is a key component of intelligent transportation systems (ITS), but it faces many challenges in the transportation domain, such as domain-specific knowledge and data, and multi-modal inputs and outputs. This paper presents TransGPT, a novel (multi-modal) large language model for the transportation domain, which consists of two independent variants: TransGPT-SM for single-modal data and TransGPT-MM for multi-modal data. TransGPT-SM is finetuned on a single-modal Transportation dataset (STD) that contains textual data from various sources in the transportation domain. TransGPT-MM is finetuned on a multi-modal Transportation dataset (MTD) that we manually collected from three areas of the transportation domain: driving tests, traffic signs, and landmarks. We evaluate TransGPT on several benchmark datasets for different tasks in the transportation domain, and show that it outperforms baseline models on most tasks. We also showcase the potential applications of TransGPT for traffic analysis and modeling, such as generating synthetic traffic scenarios, explaining traffic phenomena, answering traffic-related questions, providing traffic recommendations, and generating traffic reports. This work advances the state-of-the-art of NLP in the transportation domain and provides a useful tool for ITS researchers and practitioners.

Motivation & Objective

  • To address the limitations of general-purpose LLMs in the transportation domain by developing a domain-specific large language model with deep knowledge of transportation concepts and regulations.
  • To create and release two high-quality, manually curated datasets: STD for single-modal text and MTD for multi-modal image-text pairs in driving tests, traffic signs, and landmarks.
  • To evaluate TransGPT on benchmark tasks in transportation NLP and demonstrate its superiority over existing models like ChatGLM2-6B and VisualGLM-6B.
  • To showcase practical applications of TransGPT in traffic modeling, including synthetic scenario generation, explanation of traffic phenomena, and automated report generation.
  • To establish a foundation for future research in domain-adapted LLMs for intelligent transportation systems (ITS).

Proposed method

  • TransGPT-SM is a fine-tuned version of the Chinese-English bilingual LLM ChatGLM2-6B, trained on a single-modal transportation dataset (STD) containing 12.5 million tokens of domain-specific textual data from books, reports, and websites.
  • TransGPT-MM is a fine-tuned variant of VisualGLM-6B, a vision-language model, trained on a multi-modal transportation dataset (MTD) with aligned image-question-answer triplets from driving tests, traffic signs, and landmarks.
  • The MTD dataset was manually constructed to include diverse, real-world transportation scenarios with grounded visual and textual annotations for training and evaluation.
  • Fine-tuning was performed using standard language modeling objectives: for TransGPT-SM, autoregressive next-token prediction on text; for TransGPT-MM, image and question as input, answer as golden output.
  • The model integrates external tools like ASTGCN for traffic flow prediction, enhancing its capability in synthetic scenario generation through tool-augmented prompting.
  • Ablation studies were conducted to evaluate the impact of data construction components such as filtering, chunking, and question-answer formatting on model performance.

Experimental results

Research questions

  • RQ1How does a domain-specific large language model perform compared to general-purpose LLMs in transportation-related NLP tasks?
  • RQ2To what extent does multi-modal pre-training on transportation-specific visual and textual data improve reasoning and understanding in traffic scenarios?
  • RQ3Can TransGPT generate high-quality synthetic traffic scenarios that align with real-world data patterns?
  • RQ4How effective is TransGPT in explaining traffic phenomena and answering complex, context-aware traffic-related questions?
  • RQ5What role do rationales and tool-augmentation play in improving the accuracy of traffic prediction and reasoning tasks?

Key findings

  • TransGPT-SM+ASTGCN achieved a mean absolute error (MAE) of 35.7 and root mean square error (RMSE) of 52.86 in traffic flow prediction, significantly outperforming the base TransGPT-SM model (MAE: 616.36, RMSE: 873.27).
  • TransGPT-MM demonstrated superior performance over the base VisualGLM-6B model in multi-modal understanding tasks, correctly identifying traffic signs such as 'fear of rain' when provided with image and question inputs.
  • Ablation studies showed that data construction components like filtering and question-answer formatting significantly improved model performance, with filtering contributing to a 3.66% accuracy gain.
  • Case studies revealed that incorporating rationales—such as 'The symbol in the middle of the sign is Y'—enabled correct predictions even when the model initially failed, highlighting the importance of reasoning chains.
  • TransGPT outperformed baseline models like ChatGLM2-6B and VisualGLM-6B across most benchmark tasks in the transportation domain, confirming its effectiveness in domain-specific NLP.
  • The model successfully generated coherent and contextually accurate traffic reports, explanations of congestion, and recommendations, demonstrating its utility in real-world ITS applications.

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.