mmscan-visual-grounding-eval
MMScan: A Multi-Modal 3D Scene Dataset with Hierarchical Grounded Language Annotations — Lyu et al. (2024) (arXiv:2406.09401, 2024)
What this evaluates
Evaluates a model's ability to localize specific 3D objects or regions within a large-scale scene based on complex natural language prompts. It probes spatial reasoning, attribute understanding, and multi-target grounding capabilities in 3D point cloud environments.
Datasets
Metrics
gTop-k (primary) — range: [0, 1]
- Generalized Top-k score for multi-target grounding: gTop(k) = (1/N) * sum_{i=1}^{N} [Hit(min(i*k, M)) >= i]. N is the number of GT boxes, M is the number of predicted boxes, and Hit(X) counts how many of the top-X scored predictions match any GT box at a given IoU threshold.
AP_sample — range: [0, 1]
- Average Precision computed across all prompt samples, treating each sample as an independent detection task.
AP_box — range: [0, 1]
- Average Precision computed across all predicted bounding boxes, aggregating confidence scores across samples within the same subclass.
AR — range: [0, 1]
- Average Recall measuring the proportion of GT boxes successfully matched by predictions at a given IoU threshold.
Input / output format
Input: 3D scene representation (reconstructed point clouds or RGB-D features) paired with a natural language prompt describing one or more target objects/regions (e.g., single-target attribute, object-object attribute, object-region).
Output: A ranked list of predicted 3D bounding boxes with associated confidence scores for each input prompt.
Scoring recipe
def compute_gTop_k(pred_boxes, gt_boxes, k, iou_thresh):
N = len(gt_boxes)
M = len(pred_boxes)
score = 0.0
for i in range(1, N + 1):
top_x = min(i * k, M)
top_preds = pred_boxes[:top_x]
matches = sum(1 for p in top_preds if any(box_iou(p, g) >= iou_thresh for g in gt_boxes))
if matches >= i:
score += 1.0
return score / N
Common pitfalls
- AP_box aggregates confidence scores across all samples in a subclass, which can unfairly penalize models whose confidence distributions are not well-calibrated across different prompts, whereas AP_sample evaluates each prompt independently.
- Traditional Top-k metrics assume exactly one ground truth target; they fail when prompts require grounding multiple objects, necessitating the use of gTop-k.
- Evaluations in the paper report results on the validation set after training on only 20% of the training data to save compute, which may not reflect full-data training performance.
Evidence (verbatim from paper)
Therefore, we propose gTop-k (generalized Top-k score), which extends the Top-k metric to multi-target cases. Specifically, we define it as: | | $gTop(k)=\frac{1}{N}\sum_{i=1}^{N}[Hit(min(ik,M))>=i],$ | | (1) | where $N$ is the number of ground truth (GT) boxes, $M$ is the number of predicted boxes, and Hit(X) represents the number of boxes with top-X scores that can match GT boxes (with IoU below a specific threshold).
Citation
@misc{lyu2024mmscan,
title={MMScan: A Multi-Modal 3D Scene Dataset with Hierarchical Grounded Language Annotations},
author={Lyu et al. (2024)},
year={2024},
note={arXiv:2406.09401}
}
1---2name: mmscan-visual-grounding-eval3description: Evaluates a model's ability to localize specific 3D objects or regions within a large-scale scene based on complex natural language prompts. It probes spatial reasoning, attribute understanding, and multi-target grounding capabilities in 3D point cloud environments. Use when the user wants to benchmark on MMScan (3D Visual Grounding), or asks about evaluating this task. Reports gTop-k.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/mmscan-visual-grounding-eval6 skill_kind: dataset_eval7 source_arxiv: 2406.094018 bibtex_key: lyu2024mmscan9 confidence: high10---1112# mmscan-visual-grounding-eval1314> MMScan: A Multi-Modal 3D Scene Dataset with Hierarchical Grounded Language Annotations — Lyu et al. (2024) (arXiv:2406.09401, 2024)1516## What this evaluates1718Evaluates a model's ability to localize specific 3D objects or regions within a large-scale scene based on complex natural language prompts. It probes spatial reasoning, attribute understanding, and multi-target grounding capabilities in 3D point cloud environments.1920## Datasets2122- **MMScan (3D Visual Grounding)** — total 1275586; splits: train (848867), val (217002), test (209717); repo https://github.com/OpenRobotLab/EmbodiedScan2324## Metrics2526- `gTop-k` **(primary)** — range: [0, 1]27 - Generalized Top-k score for multi-target grounding: gTop(k) = (1/N) * sum_{i=1}^{N} [Hit(min(i*k, M)) >= i]. N is the number of GT boxes, M is the number of predicted boxes, and Hit(X) counts how many of the top-X scored predictions match any GT box at a given IoU threshold.28- `AP_sample` — range: [0, 1]29 - Average Precision computed across all prompt samples, treating each sample as an independent detection task.30- `AP_box` — range: [0, 1]31 - Average Precision computed across all predicted bounding boxes, aggregating confidence scores across samples within the same subclass.32- `AR` — range: [0, 1]33 - Average Recall measuring the proportion of GT boxes successfully matched by predictions at a given IoU threshold.3435## Input / output format3637**Input**: 3D scene representation (reconstructed point clouds or RGB-D features) paired with a natural language prompt describing one or more target objects/regions (e.g., single-target attribute, object-object attribute, object-region).3839**Output**: A ranked list of predicted 3D bounding boxes with associated confidence scores for each input prompt.4041## Scoring recipe4243```python44def compute_gTop_k(pred_boxes, gt_boxes, k, iou_thresh):45 N = len(gt_boxes)46 M = len(pred_boxes)47 score = 0.048 for i in range(1, N + 1):49 top_x = min(i * k, M)50 top_preds = pred_boxes[:top_x]51 matches = sum(1 for p in top_preds if any(box_iou(p, g) >= iou_thresh for g in gt_boxes))52 if matches >= i:53 score += 1.054 return score / N55```5657## Common pitfalls5859- AP_box aggregates confidence scores across all samples in a subclass, which can unfairly penalize models whose confidence distributions are not well-calibrated across different prompts, whereas AP_sample evaluates each prompt independently.60- Traditional Top-k metrics assume exactly one ground truth target; they fail when prompts require grounding multiple objects, necessitating the use of gTop-k.61- Evaluations in the paper report results on the validation set after training on only 20% of the training data to save compute, which may not reflect full-data training performance.6263## Evidence (verbatim from paper)6465> Therefore, we propose gTop-k (generalized Top-k score), which extends the Top-k metric to multi-target cases. Specifically, we define it as: | | $gTop(k)\=\frac{1}{N}\sum_{i\=1}^{N}[Hit(min(ik,M))>\=i],$ | | (1) | where $N$ is the number of ground truth (GT) boxes, $M$ is the number of predicted boxes, and Hit(X) represents the number of boxes with top-X scores that can match GT boxes (with IoU below a specific threshold).6667## Citation6869```bibtex70@misc{lyu2024mmscan,71 title={MMScan: A Multi-Modal 3D Scene Dataset with Hierarchical Grounded Language Annotations},72 author={Lyu et al. (2024)},73 year={2024},74 note={arXiv:2406.09401}75}76```7778- arXiv: 2406.09401