GridRoute
收藏资源简介:
GridRoute是一个用于评估大型语言模型(LLM)在网格环境中进行路径规划的基准数据集。该数据集由南通大学交通与土木工程学院、香港林创智能科技有限公司等机构创建,旨在评估LLM如何利用传统算法。数据集内容涉及不同大小的网格环境,数据量未在论文中明确提及,但提到了不同大小的模型参数,如7B到72B。数据集创建过程涉及构造不同复杂性的网格环境,并使用多种算法进行路径规划。GridRoute旨在解决路径规划问题,特别是LLM在路径规划中的能力。该数据集可用于评估LLM在不同环境下的路径规划性能,并探索传统算法与LLM的结合使用。
GridRoute is a benchmark dataset for evaluating large language models (LLMs) in path planning tasks within grid environments. Developed by institutions including the School of Transportation and Civil Engineering at Nantong University and Hong Kong Linchuang Intelligent Technology Co., Ltd., this dataset aims to assess how LLMs leverage traditional algorithms. The dataset covers grid environments of various sizes; the exact volume of data is not specified in the associated paper, yet models with parameter scales ranging from 7B to 72B are referenced. The construction of GridRoute involves creating grid environments with different complexity levels and conducting path planning using multiple algorithms. Targeted at addressing path planning problems, especially evaluating the path planning capabilities of LLMs, this dataset can be utilized to assess the path planning performance of LLMs across diverse environments, as well as to explore the integrated application of traditional algorithms and LLMs.
GridRoute 数据集概述
数据集简介
- 研究背景:评估大型语言模型(LLMs)在路径规划任务中与传统算法的协同潜力。
- 核心贡献:
- 提出混合提示技术 Algorithm of Thought (AoT) Prompt。
- 引入 GridRoute Benchmark,评估不同参数规模(7B-72B)的六种 LLMs 在网格环境中的性能(正确性、最优性、效率)。
数据集内容
- 数据生成:
- 包含不同尺寸的网格地图(10×10、20×20、30×30)。
- 可自定义参数:障碍物大小/数量、地图数量、起点-终点对数量。
- 参考路径:基于 Dijkstra 算法生成的基准路径。
- 实验输出:模型生成的路径结果、性能指标、路径可视化图表。
文件结构
data/ ├── dataset.csv # 生成的网格地图数据集 ├── reference_paths.csv # Dijkstra 算法生成的参考路径 ├── overall.csv # 评估指标汇总 results/ ├── output_dir/ # 模型输出结果(CSV 格式) ├── api_planned_paths_figure/ # 路径可视化图像 ├── radar_chart/ # 模型对比雷达图
使用流程
- 生成数据:运行
src/data_generation.py创建自定义网格数据集。 - 生成参考路径:运行
src/reference_paths.py。 - 实验运行:通过
src/api_experiment.py测试不同模型(如 GPT-4)和提示模板。 - 评估与可视化:
- 指标计算:
src/Indicator_evaluation.py - 路径绘制:
src/api_path_drawing.py - 生成雷达图:
src/Radar_chart_of_results.py
- 指标计算:
依赖与配置
- 环境配置:需安装
requirements.txt中的依赖库。 - API 密钥:需在
src/api_experiment.py中配置 OpenAI API 密钥。
许可信息
- 许可证类型:GNU Affero General Public License v3.0 (AGPL-3.0)




