Skip to main content
QUICK REVIEW

[논문 리뷰] CityGPT: Empowering Urban Spatial Cognition of Large Language Models

Jie Feng, Tianhui Liu|arXiv (Cornell University)|2024. 06. 20.
Human Mobility and Location-Based AnalysisSocial Sciences인용 수 5
한 줄 요약

CityGPT는 CityInstruction과 SWFT 방법을 도입하여 일반 LLM에 도시 공간 지식을 주입하고, 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}.

연구 동기 및 목표

  • 오프라인 도시 지식의 격차로 인해 LLM에서 도시 규모의 공간 이해가 필요하다는 동기를 부여한다.
  • 도시 지식을 주입하고 LLM에서 공간 추론을 가능하게 하기 위해 CityInstruction를 제안한다.
  • 미세 조정 중 가중 도메인 데이터를 사용하고 일반적 능력을 유지하기 위해 SWFT를 개발한다.
  • 도시 공간 이해 및 작업 성능을 포괄적으로 평가하기 위해 CityEval를 만든다.
  • CityInstruction으로 학습된 더 작은 LLM이 CityEval에서 기대 벤치마크보다 더 우수하다는 것을 입증한다.

제안 방법

  • 도시 지식을 바탕으로 CityQA, CityWalk, CityReasoning를 포함한 모빌리티 시뮬레이션에서 영감을 받은 템플릿으로 CityInstruction 데이터세트를 구성한다.
  • 인간의 공간 인지와 일치하도록 명시적 중간 추론 단계를 가진 CityReasoning을 도입한다.
  • SWFT를 적용: CityInstruction과 일반 데이터를 사용해 워밍업하고, 기초 손실과 워밍업 손실에 기반해 학습 샘플의 가중치를 적응적으로 조정해 저질 데이터의 비중을 낮춘다.
  • Catastrophic forgetting을 완화하고 일반 역량을 보존하기 위해 CityInstruction을 일반 지시 데이터와 혼합한다.
  • 도시 공간 인지 및 다운스트림 성능을 평가하기 위해 City Image, Urban Semantics, Spatial Reasoning, 및 Composite Tasks를 포함한 CityEval 벤치마크를 개발한다.
  • 여러 오픈 소스 및 상용 LLM에서 네 도시(Beijing, London, New York, Paris)로 평가하고 도메인 내 및 도메인 외 전이를 분석한다.

실험 결과

연구 질문

  • RQ1구현된 도시 체험 데이터로 학습함으로써 LLM이 도시 규모의 공간 인지를 얻을 수 있는가?
  • RQ2SWFT가 일반 능력을 보존하면서 도시 특화 성능을 향상시키는가?
  • RQ3CityInstruction으로 학습된 모델이 새로운 도시(도메인 외)로 공간 지식을 얼마나 잘 전이하는가?
  • RQ4도시 맞춤으로 학습된 더 작은 LLM이 CityEval에서 대형 독점 모델과 경쟁력 있는 결과를 얻는가?
  • RQ5CityInstruction의 데이터 구성 및 크기가 CityEval 작업의 성능에 미치는 영향은 무엇인가?

주요 결과

  • CityGPT-7B가 CityInstruction으로 학습되어 다수의 도시와 작업에서 벤치마크에 비해 현저히 우수하게 나타났으며, 특히 Spatial Reasoning에서 최상의 벤치마크 대비 최대 236.59% 향상을 달성했다.
  • CityEval 작업군(City Image, Urban Semantics, Spatial Reasoning)에서 CityGPT 모델이 기본 모델을 능가하며, 가장 큰 이득은 Spatial Reasoning에서 나타난다.
  • SWFT는 CityGPT 성능을 향상시키고 일반 벤치마크(MMLU, BBH)를 CityGPT-SFT 대비 일반적으로 보존하거나 향상시키지만, 특정 구성에서 일부 작업(GSM8K)은 감소할 수 있다.
  • CityInstruction은 보지 못한 도시로의 도시 공간 지식 전이 가능하게 하여 학습 장소를 넘어 도시 인지의 부분적 일반화를 시사한다.
  • 데이터 소거 실험은 도시 의미론 작업이 높은 성능에 도달하는 데 적은 데이터가 필요하고, 공간 추론 작업은 강력한 결과를 위해 상당히 더 많은 데이터가 필요함을 보여준다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.