FloorplanQA
收藏资源简介:
FloorplanQA是一个用于评估大语言模型和视觉语言模型在俯视平面图布局上进行空间推理的基准数据集。它包含三种渲染风格、八个任务生成器,以及用于LLM/VLM评估的提示构建器。数据集提供布局JSON的俯视渲染、AI生成的真实感俯视图像,以及针对不同任务家族的问题生成代码。
FloorplanQA is a benchmark dataset for evaluating Large Language Models (LLMs) and Vision-Language Models (VLMs) on spatial reasoning over top-down floorplan layouts. It encompasses three rendering styles, eight task generators, and a prompt builder for LLM/VLM evaluation. The dataset provides top-down renderings of layout JSON files, AI-generated photorealistic top-down images, as well as question generation code tailored for different task families.
数据集概述
- 数据集名称:FloorplanQA
- 论文收录:ICML 2026(韩国首尔)
- 项目主页:https://olddelorean.github.io/FloorplanQA/
核心内容
FloorplanQA 是一个用于评估空间推理能力的基准数据集,基于俯视建筑平面图布局。数据集包含八个任务族,并提供布局渲染管线、问题生成代码,以及用于评估 LLM 和 VLM 的提示构建代码。
任务族
数据集覆盖八类空间推理任务,每类任务在 src/qa_generation/ 下对应独立模块:
- pair_distance(成对距离)
- free_space(自由空间)
- max_box(最大包围盒)
- view_angle(视角角度)
- obstruction(遮挡判断)
- placement(摆放位置)
- repositioning(重新定位)
- shortest_path(最短路径)
每个模块暴露 generate(layout, ...) 函数,返回 (question, answer) 对;shortest_path 额外返回有效路径。
布局数据
- 布局数据发布在 Hugging Face 上:https://huggingface.co/papers/2507.07644
- 本仓库仅包含代码及示例布局(
data/examples/)。
评估方式
src/evaluation/ 下包含多种评估条件下的提示构建代码:
preparation.py:仅 JSON 基线preparation_2_0.py:JSON + 图像条件(Boxes / Icons)preparation_tools.py:Python 代码解释器增强src/image_gen/preparation_3_0.py:AI 生成图像下的 VLM 批次
图像生成
src/image_gen/generate_nanobana.py 使用 Gemini 3.1 Flash Image 的图到图模式,将示意性渲染图转换为逼真俯视图,保持家具位置不变。需设置环境变量 GOOGLE_API_KEY。
许可证
MIT 许可证
引用
bibtex @inproceedings{rodionov2025floorplanqa, title = {FloorplanQA: A Benchmark for Spatial Reasoning in LLMs using Structured Representations}, author = {Rodionov, Fedor and Eldesokey, Abdelrahman and Birsak, Michael and Femiani, John and Ghanem, Bernard and Wonka, Peter}, booktitle = {Proceedings of the 43rd International Conference on Machine Learning (ICML)}, year = {2025}, address = {Seoul, South Korea} }




