USTBench
收藏资源简介:
USTBench是一个用于评估大型语言模型(LLMs)作为城市智能体进行时空推理能力的基准数据集。该数据集由香港科技大学(广州)的研究团队创建,旨在填补现有研究的空白,这些研究主要关注城市LLM智能体的结果级指标(如预测精度、交通效率),而忽视了其推理过程。USTBench通过四个分解维度(时空理解、预测、规划和反馈反思)来评估LLMs的时空推理能力,支持五种多样的城市决策任务和四种时空预测任务。数据集包含62,466个结构化QA对,用于过程级评估和标准化端到端任务评估,从而支持细粒度的诊断和广泛的任务级比较。USTBench提供了构建更适应性和有效的基于LLM的城市智能体和广泛的智慧城市应用的基石。
USTBench is a benchmark dataset for evaluating the spatio-temporal reasoning capabilities of large language models (LLMs) as urban AI agents. This dataset was created by the research team from The Hong Kong University of Science and Technology (Guangzhou), aiming to fill the gap in existing research, which mainly focuses on outcome-level metrics such as prediction accuracy and traffic efficiency of urban LLM agents while ignoring their reasoning processes. USTBench evaluates the spatio-temporal reasoning capabilities of LLMs through four decomposed dimensions: spatio-temporal understanding, prediction, planning, and feedback reflection, and supports five diverse urban decision-making tasks and four spatio-temporal prediction tasks. The dataset contains 62,466 structured QA pairs for process-level evaluation and standardized end-to-end task evaluation, thereby enabling fine-grained diagnosis and comprehensive task-level comparison. USTBench provides a cornerstone for building more adaptive and effective LLM-based urban agents and a wide range of smart city applications.
城市时空推理基准数据集(USTBench)概述
数据集简介
- 名称:Urban Spatiotemporal Reasoning Benchmark (USTBench)
- 用途:评估大型语言模型(LLMs)在城市时空推理任务中的能力
- 特点:
- 包含时空推理QA任务
- 包含实际城市应用的下游任务
数据集组成
- 问题回答任务数据:question_answering/Data
- 下游任务数据:
- 拥堵预测:congestion_prediction/Data
- 下一个POI预测:next_poi_prediction/Data
- 交通信号控制:traffic_signal_control/Data
- POI布局:poi_placement/Data
- 道路规划:road_planning/Data
- 路线规划:route_planning/Data
- 城市规划:urban_planning/Data
- 交通OD预测:traffic_od_prediction/Data
- 社会经济预测:socio_economic_prediction/Data
数据获取
- 下载地址:https://huggingface.co/datasets/Haruto2099/USTBench-Dataset/
- 安装方式:将下载的数据复制到对应任务的Data目录下
任务类型
1. 时空推理能力评估QA
- 构成方式:
- 基于预测任务构建的QA
- 基于决策任务构建的QA
2. 下游城市任务
- 社会经济预测
- 拥堵预测
- 道路规划
- 城市规划
- POI布局
- 交通信号控制
- 交通流量预测
- 路线规划
- 人类移动预测
运行要求
- Python版本:3.10
- 主要依赖:
- PyTorch 2.5.1
- torchaudio 2.5.1
- torchvision 0.20.1
- CityFlow(交通模拟工具)
运行方式
-
通用命令格式: bash python run_UST_tasks.py --task <task_name> --batch_size <int> --llm_path_or_name <model_path>
-
任务特定参数:
- 多数任务需要指定
location参数 - 交通信号控制需要
dataset和traffic_file参数 - 城市规划需要
cfg参数 - 道路规划需要
slum_name参数
- 多数任务需要指定
支持的任务及参数
| 任务名称 | 必需参数 |
|---|---|
| question_answering | tasks, datasets |
| next_poi_prediction | location |
| poi_placement | location |
| congestion_prediction | location |
| route_planning | location |
| socio_ecomic_prediction | location |
| traffic_signal_control | dataset, traffic_file |
| traffic_od_prediction | location |
| road_planning | slum_name |
| urban_planning | cfg |




