Skip to main content
QUICK REVIEW

[論文レビュー] CityGPT: Empowering Urban Spatial Cognition of Large Language Models

Jie Feng, Tianhui Liu|arXiv (Cornell University)|Jun 20, 2024
Human Mobility and Location-Based AnalysisSocial Sciences被引用数 5
ひとこと要約

CityGPTはCityInstructionとセルフ重み付けファインチューニング(SWFT)手法を導入し、一般的なLLMsに都市の空間知識を注入します。CityEvalベンチマークによって、小型の都市調整モデルがより大規模な/独自のベースラインに対して強い性能を示すことが検証されました。

ABSTRACT

Large language models(LLMs), with their powerful language generation and reasoning capabilities, have already achieved notable success in many domains, e.g., math and code generation. However, they often fall short when tackling real-life geospatial tasks within urban environments. This limitation stems from a lack of physical world knowledge and relevant data during training. To address this gap, we propose extit{CityGPT}, a systematic framework designed to enhance LLMs' understanding of urban space and improve their ability to solve the related urban tasks by integrating a city-scale `world model' into the model. Firstly, we construct a diverse instruction tuning dataset, extit{CityInstruction}, for injecting urban knowledge into LLMs and effectively boosting their spatial reasoning capabilities. Using a combination of extit{CityInstruction} and open source general instruction data, we introduce a novel and easy-to-use self-weighted fine-tuning method ( extit{SWFT}) to train various LLMs (including ChatGLM3-6B, Llama3-8B, and Qwen2.5-7B) to enhance their urban spatial capabilities without compromising, or even improving, their general abilities. Finally, to validate the effectiveness of our proposed framework, we develop a comprehensive text-based spatial benchmark extit{CityEval} for evaluating the performance of LLMs across a wide range of urban scenarios and geospatial tasks. Extensive evaluation results demonstrate that smaller LLMs trained with extit{CityInstruction} by extit{SWFT} method can achieve performance that is competitive with, and in some cases superior to, proprietary LLMs when assessed using extit{CityEval}.

研究の動機と目的

  • 都市レベルの空間理解がオフラインの都市知識のギャップのためにLLMsに必要であることを動機付ける。
  • 都市知識を注入しLLMsの空間推論を可能にするCityInstructionを提案する。
  • ファインチューニング時にデータを重み付けするSWFTを開発し、一般的な能力を保持する。
  • 都市空間理解とタスクパフォーマンスを包括的に評価するCityEvalを作成する。
  • CityInstructionで訓練された小型LLMsがCityEvalでベースラインを上回ることを実証する。

提案手法

  • 都市知識を grounding するためのCityQA、CityWalk、CityReasoningを含むモビリティシミュレーション風のテンプレートからCityInstructionデータセットを構築する。
  • 人間の空間認知と一致させるため、明示的な中間推論ステップを備えたCityReasoningを導入する。
  • SWFTを適用する:CityInstructionと一般データでウォームアップし、ベース損失とウォームアップ損失に基づいて訓練サンプルを適応的に重み付けして低品質データを低下させる。
  • 崩壊的忘却を緩和し一般的な能力を保持するためにCityInstructionを一般の指示データと混ぜる。
  • CityEvalベンチマークをCity Image、Urban Semantics、Spatial Reasoning、Composite Tasksで開発し、都市空間認知と下流パフォーマンスを評価する。
  • 北京、ロンドン、ニューヨーク、パリの4都市で複数のオープンソースおよび商用LLMを評価し、ドメイン内およびドメイン外の転移を分析する。

実験結果

リサーチクエスチョン

  • RQ1LLMsは embodiment urban experience dataで都市スケールの空間認識を獲得できるか。
  • RQ2SWFTは一般的な能力を保持しつつ都市特有のパフォーマンスを改善しますか。
  • RQ3CityInstructionで訓練されたモデルは新しい都市(out-of-domain)へ空間知識をどの程度転移できるか。
  • RQ4小型の都市調整LLMsはCityEvalで大規模な独自モデルと競合する結果を出せるか。
  • RQ5CityInstructionのデータ構成とサイズがCityEvalタスクのパフォーマンスに与える影響は何か。

主な発見

  • CityGPT-7BはCityInstructionで訓練され、CityEvalの複数の都市とタスクでベースラインモデルを大幅に上回り、特にSpatial Reasoningでベストベースラインに対して最大で236.59%の改善を達成した。
  • CityGPTモデルはCityEvalタスク群(City Image、Urban Semantics、Spatial Reasoning)全体でベースモデルを上回り、最も大きな利益はSpatial Reasoningで得られている。
  • SWFTはCityGPTの性能を向上させ、一般的なベンチマーク(MMLU、BBH)をCityGPT-SFTと比較して概ね維持または向上させる一方、いくつかのタスク(GSM8K)では特定の構成で低下する場合がある。
  • CityInstructionは訓練地以外の未見都市への都市空間知識の転用を可能にし、都市認知の部分的な一般化を示唆する。
  • データアブレーションにより、都市セマンティクスのタスクには高性能に達するのに必要なデータ量が少なくて済む一方、空間推論タスクには強力な結果を得るためにははるかに多くのデータが必要であることが示された。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。