Datasets:
File size: 7,989 Bytes
d7c1550 3abcc85 5555176 3abcc85 5555176 3abcc85 5555176 3abcc85 5555176 3abcc85 5555176 3abcc85 5555176 3abcc85 5555176 b4ee5d2 813359f b4ee5d2 813359f b4ee5d2 813359f b4ee5d2 813359f b4ee5d2 813359f b4ee5d2 813359f b4ee5d2 813359f 056ceee a6ada81 056ceee a6ada81 056ceee a6ada81 056ceee a6ada81 056ceee a6ada81 056ceee a6ada81 056ceee a6ada81 d7c1550 3abcc85 b4ee5d2 056ceee 6db423f d7c1550 6db423f 2bd63a2 4cb8ab0 6db423f 610f4ca 6db423f 610f4ca 6db423f 2523c68 6db423f | 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 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 | ---
dataset_info:
- config_name: radar
features:
- name: task_id
dtype: string
- name: query
dtype: string
- name: answer
dtype: string
- name: artifact_type
dtype: string
- name: artifact_scope
dtype: string
- name: query_cols
sequence: string
- name: artifact_reasoning_cols
sequence: string
- name: table
struct:
- name: headers
sequence: string
- name: rows
sequence:
sequence: string
- name: num_rows
dtype: int64
- name: num_cols
dtype: int64
- name: recovered_tables_transform_spec
struct:
- name: drop_rows
sequence:
sequence: int64
- name: overwrite_cells
list:
list:
- name: col
dtype: string
- name: new_value
dtype: string
- name: row
dtype: int64
- name: base_data_num_tokens
dtype: int64
- name: base_data_token_bucket
dtype: int64
- name: perturbation_note
dtype: string
splits:
- name: test
num_bytes: 52945961
num_examples: 2980
download_size: 5774050
dataset_size: 52945961
- config_name: radar-sizes
features:
- name: task_id
dtype: string
- name: query
dtype: string
- name: answer
dtype: string
- name: artifact_type
dtype: string
- name: artifact_scope
dtype: string
- name: query_cols
sequence: string
- name: artifact_reasoning_cols
sequence: string
- name: table
struct:
- name: headers
sequence: string
- name: rows
sequence:
sequence: string
- name: num_rows
dtype: int64
- name: num_cols
dtype: int64
- name: recovered_tables_transform_spec
struct:
- name: drop_rows
sequence:
sequence: int64
- name: overwrite_cells
list:
list:
- name: col
dtype: string
- name: new_value
dtype: string
- name: row
dtype: int64
- name: base_data_num_tokens
dtype: int64
- name: base_data_token_bucket
dtype: int64
- name: perturbation_note
dtype: string
splits:
- name: test
num_bytes: 12090950
num_examples: 720
download_size: 1306528
dataset_size: 12090950
- config_name: radar-tasks
features:
- name: task_id
dtype: string
- name: query
dtype: string
- name: answer
dtype: string
- name: artifact_type
dtype: string
- name: artifact_scope
dtype: string
- name: query_cols
sequence: string
- name: artifact_reasoning_cols
sequence: string
- name: table
struct:
- name: headers
sequence: string
- name: rows
sequence:
sequence: string
- name: num_rows
dtype: int64
- name: num_cols
dtype: int64
- name: recovered_tables_transform_spec
struct:
- name: drop_rows
sequence:
sequence: int64
- name: overwrite_cells
list:
list:
- name: col
dtype: string
- name: new_value
dtype: string
- name: row
dtype: int64
- name: base_data_num_tokens
dtype: int64
- name: base_data_token_bucket
dtype: int64
- name: perturbation_note
dtype: string
splits:
- name: test
num_bytes: 5948253
num_examples: 313
download_size: 838456
dataset_size: 5948253
configs:
- config_name: radar
data_files:
- split: test
path: radar/test-*
- config_name: radar-sizes
data_files:
- split: test
path: radar-sizes/test-*
- config_name: radar-tasks
data_files:
- split: test
path: radar-tasks/test-*
license: cc-by-4.0
task_categories:
- table-question-answering
language:
- en
pretty_name: RADAR
size_categories:
- 1K<n<10K
---
# RADAR: Benchmarking Language Models on Imperfect Tabular Data
## Link: [Paper](https://arxiv.org/pdf/2506.08249) | [Code](https://github.com/codeKgu/RADAR/)
<img src="assets/main-figure.png" width="1000px" alt="RADAR" />
The **Robust And Data Aware Reasoning (RADAR)** benchmark is designed to evaluate the ability of language models to demonstrate **data-awareness**—that is, to recognize, reason over, and appropriately handle complex data artifacts such as:
- Missing data
- Bad values
- Outliers
- Inconsistent formatting
- Inconsistent multi-column logic
The full dataset includes **53 tasks** grounded in real-world data tables and varies across data artifact types and table dimensions (by token count and number of columns). In total, RADAR provides **2,980 unique query-table task instances**.
We also include two subsets of the data: (1) **radar-sizes** (RADAR-S) to focus evaluation on table sizes and (2) **radar-tasks** (RADAR-T) to focus evaluation across all tasks.
## 📊 Dataset Statistics
| **Dataset Split** | **Tasks** | **Instances** | **Tokens (K)** | **Cols** |
|-------------|-----------|---------------|----------------|----------|
| RADAR | 53 | 2,980 | [2,4,8,16] | [5,10,20] |
| RADAR-T | 53 | 313 | 8 | 10 |
| RADAR-S | 10 | 720 | [2,4,8,16] | [5,10,20] |
<img src="assets/data-stats.png" width="700px" alt="RADAR Stats" />
## 🔭 Dataset Structure
Each task instance comprises of the follwowing data:
* `task_id`: a unique id for each source table and query
* `query`: the query to ask over the data table
* `answer`: ground truth answer to the query
* `artifact_type`: the artifact type introduced to the data table for this task
* `artiact_scope`: does reasoning over the data artifacts involve only a single column, naively or independetly over multiple columns, or jointly or connected over multiple columns
* `query_cols`: the columns invovled in the query
* `artifact_reasoning_cols`: the columns invovled in reasoning over the artifacts
* `table`: the data table for this task (a dictionary with keys "headers" and "rows" to represent the table column names and rows)
* `num_rows`: number of rows in the tbale
* `num_cols`: number of columns in the table
* `recovered_tables_transform_spec`: The right answer is caluclated over the recovered data table(s). We convert the data table in `table` to the recovered data table(s) using this specification indicating which rows to drop and which cells to overwrite.
* `base_data_num_tokens`: The number of tokens in the data table (before introducing any data artifact perturbations). This may be slightly different after introducing perturbations.
* `base_data_token_bucket`: The token bucket in which this task belongs to (one of 2000, 4000, 8000, and 16000)
* `perturbation_note`: Any note about the data artifact perturbation that is introduced.
## 💻 Loading the Data
Using Hugging Face
```python
from datasets import load_dataset
radar_all = load_dataset("kenqgu/radar", "radar")["test"]
radar_s = load_dataset("kenqgu/radar", "radar-sizes")["test"]
radar_t = load_dataset("kenqgu/radar", "radar-tasks")["test"]
```
Using included RADAR code to load into more usable pydantic objects (need to install radar first).
```python
from radar.data import load_task_instances_hf
# load the full dataset
tasks, task_summary_df = load_task_instances_hf(split="full")
tasks_s, _ = load_task_instances_hf(split="sizes")
tasks_t, _ = load_task_instances_hf(split="tasks")
# view the table as a pandas dataframe
tasks[0].table_df.head()
```
## 📖 Citation
If you use RADAR in your research, please cite our paper:
```bibtex
@article{gu2025radar,
title={RADAR: Benchmarking Language Models on Imperfect Tabular Data},
author={Ken Gu and Zhihan Zhang and Kate Lin and Yuwei Zhang and Akshay Paruchuri and Hong Yu and Mehran Kazemi and Kumar Ayush and A. Ali Heydari and Maxwell A. Xu and Girish Narayanswamy and Yun Liu and Ming-Zher Poh and Yuzhe Yang and Mark Malhotra and Shwetak Patel and Hamid Palangi and Xuhai Xu and Daniel McDuff and Tim Althoff and Xin Liu},
year={2025},
eprint={2506.08249},
archivePrefix={arXiv},
primaryClass={cs.DB},
url={https://arxiv.org/abs/2506.08249},
}
``` |