# Visual Spatial Reasoning

Visual Spatial Reasoning：自然画像における空間関係の推論

Fangyu Liu, Guy Emerson, Nigel Collier · arXiv · 2022年4月30日

- **課題** 既存のベンチマークでは、視覚言語モデルが自然画像の空間関係を正しく認識し推論できているかを、他の要素と切り離して評価することが難しいです。
- **手法** MS COCOの画像ペアに対し、片方の画像でのみ真となるテンプレートキャプションを作る対照的キャプション生成と、追加のアノテーターによる2次検証を用いて、66種の空間関係からなるVSRデータセットを構築します。
- **結果** 人間の上限は95.4で、最も高いモデルでもランダム分割で約70、ゼロショット分割で約63の精度です。位置情報を持つモデルの方が高く、Orientation関係が最も難しいです。

## 空間関係の推論を単独で検証することが難しい問題

視覚言語モデル（VLM）は、VQA、視覚含意、指示表現理解といったタスクで急速に進歩しました。一方で、既存のベンチマークでは複数の誤りの原因が一度に混ざっているため、モデルが空間関係を実際に理解していないのかを判断しにくいです。特に、空間関係は個々のオブジェクトの属性を認識するよりも難しいと報告されてきました。合成データセットでは関係を制御できますが、オブジェクトの向きや実際のシーンの文脈を十分に含められません。この論文は、この欠けている部分を埋めるため、自然画像における66種の英語の空間関係を扱うVisual Spatial Reasoning(VSR)データセットを提案しています。VSRは、画像とキャプションが与えられたとき、キャプションが2つのオブジェクトの空間関係を正しく述べているかを真偽で分類するタスクです。

![Figure 1: Caption: The potted plant is at the right side of the bench. Label: True](https://refivu.com/papers/21c16be4-8990-40f5-8849-b7c6f46d36b4/figures/figure-a25dcb1a82fe38778c2ca34a2a2c349b.png?thumb=512)

**Figure 1** : Caption: The potted plant is at the right side of the bench. Label: True.

[出典](https://arxiv.org/abs/2205.00363v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Fangyu Liu, Guy Emerson, Nigel Collier · Visual Spatial Reasoning · 論文の図を引用 · 元のPDFの2ページ目から図の部分を抽出しています。

## 対照的キャプション生成と2次検証によるデータ構築

VSRの中心となる収集方法は対照的キャプション生成です。まず、MS COCOから2つの概念を含む画像ペアをランダムに選び、アノテーターは、2枚の画像のうち片方でのみ真となるテンプレートキャプションを作成します。この方法により、アノテーターが「近くにある」のような些細な関係を繰り返し選ぶことが減ります。生成されたデータは、2次検証の段階で追加のアノテーター3人以上が真偽を再判定します。元のラベルと一致する人が2人未満のインスタンスは除外されます。参照フレームに応じて真になり得るキャプションは、intrinsicまたはrelativeのいずれかのフレームで真であれば真とラベルするよう指示されました。

最終的なデータセットは10,972件のデータポイントで、ランダム分割はtrain/dev/testを70/10/20の比率に分け、ゼロショット分割は概念が重ならないように分けます。

![Figure 3: An annotation example of concepts “cat” & “laptop” in contrastive caption generation. The example generates two data points for our dataset: one “Tru…](https://refivu.com/papers/21c16be4-8990-40f5-8849-b7c6f46d36b4/figures/figure-3144936840219c3d57a3e6da62de49ef.png?thumb=512)

**Figure 3** : An annotation example of concepts “cat” & “laptop” in contrastive caption generation. The example generates two data points for our dataset: one “True” instance when the completed caption is paired with image 2 (right) and one “False” in- stance when paired with image 1 (left).

[出典](https://arxiv.org/abs/2205.00363v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Fangyu Liu, Guy Emerson, Nigel Collier · Visual Spatial Reasoning · 論文の図を引用 · 元のPDFの3ページ目から図の部分を抽出しています。

![Figure 4: A second-round validation example](https://refivu.com/papers/21c16be4-8990-40f5-8849-b7c6f46d36b4/figures/figure-25870d7d9b861775027585d200b1b5b8.png?thumb=512)

**Figure 4** : A second-round validation example.

[出典](https://arxiv.org/abs/2205.00363v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Fangyu Liu, Guy Emerson, Nigel Collier · Visual Spatial Reasoning · 論文の図を引用 · 元のPDFの5ページ目から図の部分を抽出しています。

![Table 2: Statistics of therandom & zero-shot splits](https://refivu.com/papers/21c16be4-8990-40f5-8849-b7c6f46d36b4/figures/figure-c8268e5d000f52e9eb171704bdae7926.png?thumb=512)

**Table 2** : Statistics of therandom & zero-shot splits.

[出典](https://arxiv.org/abs/2205.00363v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Fangyu Liu, Guy Emerson, Nigel Collier · Visual Spatial Reasoning · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。

![Figure 16: A screenshot of the validation interface](https://refivu.com/papers/21c16be4-8990-40f5-8849-b7c6f46d36b4/figures/figure-4163b9619f31c857d07d6abf4ad8cba3.png?thumb=512)

**Figure 16** : A screenshot of the validation interface.

[出典](https://arxiv.org/abs/2205.00363v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Fangyu Liu, Guy Emerson, Nigel Collier · Visual Spatial Reasoning · 論文の図を引用 · 元のPDFの19ページ目から図の部分を抽出しています。

## VLMのファインチューニング結果と、ランダム分割およびゼロショット分割の差

VisualBERT、LXMERT、ViLTはVSRの学習セットでファインチューニングして評価され、CLIPはファインチューニングせず、プロンプトを使って評価されました。ランダム分割では、LXMERTが70.1±0.9、ViLTが69.3±0.9、VisualBERTが55.2±1.4の精度です。ゼロショット分割では、ViLTが63.0±0.9、LXMERTが61.2±0.4、VisualBERTが51.0±1.9です。ファインチューニングしていないCLIPは、ランダム分割で56.0、ゼロショット分割で54.5でした。人間の上限は95.4と報告されており、モデルは上限と大きな差があります。この結果は3つの乱数シードで実行した平均と標準偏差で、この論文が報告したモデルと分割条件に限られます。

![Table 4: Model performance on VSR test set. CLIP is applied without ﬁnetuning but with carefully engineered prompts while the other three smaller models are ﬁn…](https://refivu.com/papers/21c16be4-8990-40f5-8849-b7c6f46d36b4/figures/figure-99fca9148cea08a05717a8573d34a190.png?thumb=512)

**Table 4** : Model performance on VSR test set. CLIP is applied without ﬁnetuning but with carefully engineered prompts while the other three smaller models are ﬁnetuned on the training set.

[出典](https://arxiv.org/abs/2205.00363v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Fangyu Liu, Guy Emerson, Nigel Collier · Visual Spatial Reasoning · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。

## 位置情報と方向性関係による性能差の説明

LXMERTとViLTは、VisualBERTより両方の分割で10%以上高い精度です。LXMERTは物体の相対座標を入力の位置特徴として含め、ViLTは画像をパッチに分けて位置エンコーディングでパッチの相対位置を表します。一方、VisualBERTには明示的な位置エンコーディングがありません。著者らは、この差を位置エンコーディングの重要性として解釈しています。関係ごとの分析では、Orientationカテゴリがランダム分割で最も難しいカテゴリと報告されており、平均性能は偶然の精度に近いと説明されています。Proximityカテゴリはランダム分割では高い精度を示しましたが、ゼロショット分割では偶然の精度まで下がります。

著者らは、これを近接性の概念が物体の種類と文脈に大きく依存するためだと解釈しています。

## 結果の適用範囲と残る課題

この結果は、英語のキャプション、MS COCOの画像、示された3つのファインチューニングモデルとCLIPのプロンプト設定から得られたものです。ランダム分割とゼロショット分割の差は、学習例の数だけでは説明できず、著者らは概念のゼロショット学習が本質的に難しいと解釈しています。アノテーションの一致度はFleiss' kappa 0.895と報告されていますが、これは元のアノテーションと2人の予測をもとに計算された値です。検討の結果、100件のうち約30件がアノテーションの誤りで、残りは曖昧な事例だったことも、データの限界として残ります。このデータセットが多言語や他の文化圏の空間表現まで代表するかどうかは、この論文の実験の範囲外です。

![Figure 7: Per-relation probability of having two randomly chosen annotator disagreeing with each other (sorted from high to low). Only relations with \> 20 data…](https://refivu.com/papers/21c16be4-8990-40f5-8849-b7c6f46d36b4/figures/figure-34393085e1934b6263921ca908573c77.png?thumb=512)

**Figure 7** : Per-relation probability of having two randomly chosen annotator disagreeing with each other (sorted from high to low). Only relations with \> 20 data points are included in the ﬁgure.

[出典](https://arxiv.org/abs/2205.00363v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Fangyu Liu, Guy Emerson, Nigel Collier · Visual Spatial Reasoning · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。

![Figure 12: Sample efﬁciency analysis: model performance under different amounts of training data (100-shot, 25%, 50%, 75% and 100% of training set). Results on…](https://refivu.com/papers/21c16be4-8990-40f5-8849-b7c6f46d36b4/figures/figure-560f3a274f6b8b92cff9a96dcb522e38.png?thumb=512)

**Figure 12** : Sample efﬁciency analysis: model performance under different amounts of training data (100-shot, 25%, 50%, 75% and 100% of training set). Results on both the random and zero-shot split test sets are shown. As training data increases, the performance plateaus on both sets but the ﬂattening trend is more obvious on the zero-shot split.

[出典](https://arxiv.org/abs/2205.00363v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Fangyu Liu, Guy Emerson, Nigel Collier · Visual Spatial Reasoning · 論文の図を引用 · 元のPDFの12ページ目から図の部分を抽出しています。

## 論文情報

- **著者**: Fangyu Liu, Guy Emerson, Nigel Collier
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2022年4月30日
- **登録日**: 2026年11月6日
- **更新日**: 2023年3月22日
- **バージョン**: v3
- **arXiv**: 2205.00363
- **カテゴリ**: cs.CL · cs.AI · cs.CV
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2205.00363v3) · [PDF ↗](https://arxiv.org/pdf/2205.00363v3)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

Spatial relations are a basic part of human cognition. However, they are expressed in natural language in a variety of ways, and previous work has suggested that current vision-and-language models (VLMs) struggle to capture relational information. In this paper, we present Visual Spatial Reasoning (VSR), a dataset containing more than 10k natural text-image pairs with 66 types of spatial relations in English (such as: under, in front of, and facing). While using a seemingly simple annotation format, we show how the dataset includes challenging linguistic phenomena, such as varying reference frames. We demonstrate a large gap between human and model performance: the human ceiling is above 95%, while state-of-the-art models only achieve around 70%. We observe that VLMs' by-relation performances have little correlation with the number of training examples and the tested models are in general incapable of recognising relations concerning the orientations of objects.

## この論文を引用

Fangyu Liu, Guy Emerson, Nigel Collier (2022). Visual Spatial Reasoning. arXiv:2205.00363v3. https://arxiv.org/abs/2205.00363v3

**BibTeX**

```
@misc{liu2022visual,
  title = {{Visual Spatial Reasoning}},
  author = {Fangyu Liu and Guy Emerson and Nigel Collier},
  year = {2022},
  eprint = {2205.00363},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.00363v3}
}
```

## この論文の用語

- [CLIP](https://refivu.com/ja/terms/b5b5b48d5f4e-clip)
- [MS COCO](https://refivu.com/ja/terms/1a7c38d39825-ms-coco)
- [Fleiss’ kappa](https://refivu.com/ja/terms/22c4ad7728f2-fleiss-kappa)
- [random split](https://refivu.com/ja/terms/27682bbbff24-random-split)
- [VisualBERT](https://refivu.com/ja/terms/839a25f6e839-visualbert)

## ほかの論文解説

- [Machine learning-based network intrusion detection for big and imbalanced data using oversampling, stacking feature embedding and feature extraction](https://refivu.com/ja/papers/ffcd2c90-0ecb-4bf2-968e-883dd5d0ec8e-machine-learning-based-network-intrusion-detection-for-big.md)
- [Deep Visual Attention Prediction](https://refivu.com/ja/papers/f63842a2-f64a-4970-8075-0c7abdfe8be0-deep-visual-attention-prediction.md)
- [A Comprehensive Survey of Deep Learning for Image Captioning](https://refivu.com/ja/papers/c7cbf1e3-42d7-4d5f-b402-6cde0511793d-a-comprehensive-survey-of-deep-learning-for-image.md)
- [A Review and Comparative Study on Probabilistic Object Detection in Autonomous Driving](https://refivu.com/ja/papers/a821d485-d9f8-4b31-a6dd-8d37dd242cd9-a-review-and-comparative-study-on-probabilistic-object.md)
- [DL-Droid: Deep learning based android malware detection using real devices](https://refivu.com/ja/papers/e8c4fb2d-bb8d-43c7-b570-745e501ed499-dl-droid-deep-learning-based-android-malware-detection.md)
- [A Deep Learning Approach for Brain Tumor Classification and Segmentation Using a Multiscale Convolutional Neural Network](https://refivu.com/ja/papers/c75a012b-6db8-4ef0-a0e2-0109acd56af3-a-deep-learning-approach-for-brain-tumor-classification.md)
- [Avoiding Overfitting: A Survey on Regularization Methods for Convolutional Neural Networks](https://refivu.com/ja/papers/726fc9f2-ea0b-4f5f-b42e-cc0c9f6e4c3a-avoiding-overfitting-a-survey-on-regularization-methods-for.md)
- [Mastering the Game of Stratego with Model-Free Multiagent Reinforcement Learning](https://refivu.com/ja/papers/c8ba1a5f-8040-4096-92b0-d848951ca124-mastering-the-game-of-stratego-with-model-free.md)
- [Learning Agile Soccer Skills for a Bipedal Robot with Deep Reinforcement Learning](https://refivu.com/ja/papers/3ef41329-5e9b-477a-9ece-c7d4b12b603d-learning-agile-soccer-skills-for-a-bipedal-robot.md)
- [Real-World Humanoid Locomotion with Reinforcement Learning](https://refivu.com/ja/papers/8e42e14f-83b7-4879-ab8c-1bd8a7bcea8a-real-world-humanoid-locomotion-with-reinforcement-learning.md)
- [A Perspective on Explainable Artificial Intelligence Methods: SHAP and LIME](https://refivu.com/ja/papers/419ea828-55f0-4840-8bb1-a99a036efbe5-a-perspective-on-explainable-artificial-intelligence-methods.md)
- [Weakly-Supervised Convolutional Neural Networks for Multimodal Image Registration](https://refivu.com/ja/papers/bfc7dfd6-1596-4541-9723-c26ab0c5a3f5-weakly-supervised-convolutional-neural-networks-for.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/21c16be4-8990-40f5-8849-b7c6f46d36b4-visual-spatial-reasoning)
