Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
tags:
|
| 5 |
+
- vision-language
|
| 6 |
+
- mdetr
|
| 7 |
+
- xai
|
| 8 |
+
license: mit
|
| 9 |
+
model_index:
|
| 10 |
+
- name: mdetr-gridvqa-pure
|
| 11 |
+
task: visual-question-answering
|
| 12 |
+
- name: mdetr-gridvqa-spurious
|
| 13 |
+
task: visual-question-answering
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# GridVQA-X Models
|
| 17 |
+
|
| 18 |
+
This repository contains two paired reference models, **M_pure** and **M_spur**, built on identical transformer architectures (**MDETR**). These models, coupled with their corresponding datasets, together form a diagnostic framework to evaluate if Multimodal Explainable AI (MxAI) methods genuinely capture cross-modal synergy or simply report shallow feature correlations.
|
| 19 |
+
|
| 20 |
+
## Model Descriptions
|
| 21 |
+
|
| 22 |
+
### 1. M_pure (The Faithful Spatial Reasoner)
|
| 23 |
+
* **Training Distribution:** Trained exclusively on the D_pure dataset.
|
| 24 |
+
* **Behavioral Dynamics:** Trained via explanation-guided dynamics using a two-phase optimization. Phase 1 forces explicit visual-textual token alignment via L1 and generalized IoU losses. Phase 2 handles Question Answering using class-frequency weighted cross-entropy to completely eliminate answer prior biases.
|
| 25 |
+
* **Capabilities:** Successfully internalizes true causal spatial-relational synergy, achieving robust accuracy across both clean and heavily distractor-crowded grids.
|
| 26 |
+
|
| 27 |
+
### 2. M_spur (The Shortcut / Bag-of-Words Model)
|
| 28 |
+
* **Training Distribution:** Trained exclusively on the D_spur dataset.
|
| 29 |
+
* **Behavioral Dynamics:** Structurally forced to rely on cross-modal shortcuts during training. It skips relational spatial geometry entirely and maps keywords directly to target visual volume.
|
| 30 |
+
* **Capabilities:** Achieves perfect accuracy (1.000) on its native spurious distribution, but fails catastrophically when evaluated on D_pure multi-hop queries.
|
| 31 |
+
|
| 32 |
+
## Intended Diagnostic Use
|
| 33 |
+
These models are released explicitly to stress-test vision-language explainability algorithms (e.g., DIME, MultiSHAP, MultiViz, EMAP, InterSHAP):
|
| 34 |
+
* **The Litmus Test:** A faithful explainer *must* output completely different attribution heatmaps or synergy scalars for M_pure and M_spur on the same input question.
|
| 35 |
+
* **The Reality Check:** If your explainer highlights identical spatial regions for both models, it suffers from "model blindness" or is simply behaving as a superficial object detector.
|
| 36 |
+
|
| 37 |
+
## Performance Benchmark Metrics
|
| 38 |
+
|
| 39 |
+
| Evaluation Metric | M_pure on D_pure | M_spur on D_spur | M_spur on D_pure |
|
| 40 |
+
| :--- | :---: | :---: | :---: |
|
| 41 |
+
| **Global Accuracy** | >99% | 100% | **Catastrophic Failure** (8%-14% on multi-hop) |
|
| 42 |
+
| **Causal Pathway** | True Spatial Relations | Bag-of-Words Shortcut | Unimodal Feature Collapse |
|