File size: 6,470 Bytes
e9cdcc6
 
 
 
 
 
8e499bb
 
 
 
c601a3b
8e499bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68bd90b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5df7da4
68bd90b
5df7da4
 
 
 
 
 
 
 
 
 
 
 
68bd90b
8e499bb
 
0cbfe76
8e499bb
 
 
 
 
 
68bd90b
 
 
8e499bb
 
 
68bd90b
8e499bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
---
license: apache-2.0
language:
- en
size_categories:
- 10K<n<100K
---

# ๐Ÿง  Causal3D: A Benchmark for Visual Causal Reasoning

**Causal3D** is a dataset designed to evaluate modelsโ€™ abilities to uncover *latent causal relations* from structured and visual data. This dataset integrates **3D-rendered scenes** with **tabular causal annotations**, providing a unified testbed for advancing *causal discovery*, *causal representation learning*, and *causal reasoning* with **vision-language models (VLMs)** and **large language models (LLMs)**.

## ๐Ÿ–ผ๏ธ Visual Previews

Below are example images from different Causal3D scenes:

<table>
  <tr>
    <td align="center">
      <img src="https://huggingface.co/datasets/LLDDSS/Causal3D/resolve/main/preview/parabola.png" width="250"/><br/>parabola
    </td>
    <td align="center">
      <img src="https://huggingface.co/datasets/LLDDSS/Causal3D/resolve/main/preview/convex.png" width="250"/><br/>convex
    </td>
  </tr>
  <tr>
    <td align="center">
      <img src="https://huggingface.co/datasets/LLDDSS/Causal3D/resolve/main/preview/magnetic.png" width="200"/><br/>magnetic
    </td>
    <td align="center">
      <img src="https://huggingface.co/datasets/LLDDSS/Causal3D/resolve/main/preview/pendulum.png" width="200"/><br/>pendulum
    </td>
    <td align="center">
      <img src="https://huggingface.co/datasets/LLDDSS/Causal3D/resolve/main/preview/reflection.png" width="200"/><br/>reflection
    </td>
  </tr>
  <tr>
    <td align="center">
      <img src="https://huggingface.co/datasets/LLDDSS/Causal3D/resolve/main/preview/seesaw.png" width="200"/><br/>seesaw
    </td>
    <td align="center">
      <img src="https://huggingface.co/datasets/LLDDSS/Causal3D/resolve/main/preview/spring.png" width="200"/><br/>spring
    </td>
    <td align="center">
      <img src="https://huggingface.co/datasets/LLDDSS/Causal3D/resolve/main/preview/water_flow.png" width="200"/><br/>water_flow
    </td>
  </tr>
</table>

<!-- - `causal_graph.json`: Ground-truth causal structure (as adjacency matrix or graph).
- `view_info.json`: Camera/viewpoint metadata.
- `split.json`: Recommended train/val/test splits for benchmarking. -->


## ๐Ÿ—‚๏ธ Available Scenes

Below is the full list of **builder configs** you can load using `load_dataset`.

### ๐Ÿ”ฌ Hypothetical Scenes

| Config Name | Description |
| ------------------------------- | ------------------------------------------ |
| `Hypothetical_V2_linear` | 2 variables, linear causal relationship |
| `Hypothetical_V2_nonlinear` | 2 variables, non-linear causal relationship |
| `Hypothetical_V3_fully_connected_linear` | 3 variables, fully connected, linear |
| `Hypothetical_V3_v_structure_linear` | 3 variables, V-structure, linear |
| `Hypothetical_V3_v_structure_nonlinear` | 3 variables, V-structure, non-linear |
| `Hypothetical_V4_linear` | 4 variables, linear causal relationship |
| `Hypothetical_V4_v_structure_nonlinear` | 4 variables, V-structure, non-linear |
| `Hypothetical_V4_v_structure_linear` | 4 variables, V-structure, linear |
| `Hypothetical_V5_linear` | 5 variables, linear causal relationship |
| `Hypothetical_V5_v_structure_linear` | 5 variables, V-structure, linear |
| `Hypothetical_V5_v_structure_nonlinear` | 5 variables, V-structure, non-linear |

---

### ๐ŸŒ Real-World Scenes

| Config Name | Description |
| ------------------------------- | ------------------------------------------ |
| `Real_Parabola` | Real-world parabola trajectory |
| `Real_Magnet` | Real-world magnetic force |
| `Real_Spring` | Real-world spring oscillation |
| `Real_Water_flow` | Real-world water flow dynamics |
| `Real_Seesaw` | Real-world seesaw balance physics |
| `Real_Reflection` | Real-world light reflection |
| `Real_Pendulum` | Real-world pendulum motion |
| `Real_Convex_len` | Real-world convex lens refraction |

### ๐ŸŒ Multi-View Real-World Scenes

| Config Name | Description |
| ------------------------------- | ------------------------------------------ |
| `MV_Pendulum` | Multi-view real-world pendulum motion |
| `MV_H2_linear` | Multi-view H2 linear scene |
| `MV_H2_nonlinear` | Multi-view H2 nonlinear scene |
| `MV_H3_v_structure_linear` | Multi-view H3 V-structure linear scene |
| `MV_H4_fully_connected_linear` | Multi-view H4 fully connected linear scene |
| `MV_H4_v_structure_linear` | Multi-view H4 V-structure linear scene |
| `MV_H4_v_structure_nonlinear` | Multi-view H4 V-structure nonlinear scene |
| `MV_H5_fully_connected_linear` | Multi-view H5 fully connected linear scene |
| `MV_H5_v_structure_linear` | Multi-view H5 V-structure linear scene |
| `MV_H5_v_structure_nonlinear` | Multi-view H5 V-structure nonlinear scene |

## ๐Ÿ“š Usage

#### ๐Ÿ”น Load from Hugging Face

You can easily load a specific scene using the Hugging Face `datasets` library:

```python
from datasets import load_dataset

ds = load_dataset(
    "LLDDSS/Causal3D_Dataset",
    name="Real_Parabola",              # Replace with desired scene config name
    trust_remote_code=True             # Required for custom dataset loading
)

print(ds)
```

---
## ๐Ÿ“Œ Overview

While recent progress in AI and computer vision has been remarkable, there remains a major gap in evaluating causal reasoning over complex visual inputs. **Causal3D** bridges this gap by providing:

- **19 curated 3D-scene datasets** simulating diverse real-world causal phenomena.
- Paired **tabular causal graphs** and **image observations** across multiple views and backgrounds.
- Benchmarks for evaluating models in both **structured** (tabular) and **unstructured** (image) modalities.
---

## ๐ŸŽฏ Evaluation Tasks

Causal3D supports a range of causal reasoning tasks, including:

- **Causal discovery** from image sequences or tables
- **Intervention prediction** under modified object states or backgrounds
- **Counterfactual reasoning** across views
- **VLM-based causal inference** given multimodal prompts

---

## ๐Ÿ“Š Benchmark Results

We evaluate a diverse set of methods:

- **Classical causal discovery**: PC, GES, NOTEARS
- **Causal representation learning**: CausalVAE, ICM-based encoders
- **Vision-Language and Large Language Models**: GPT-4V, Claude-3.5, Gemini-1.5

**Key Findings**:

- As causal structures grow more complex, **model performance drops significantly** without strong prior assumptions.
- A noticeable performance gap exists between models trained on structured data and those applied directly to visual inputs.