ccsasuke commited on
Commit
38ddf7f
·
1 Parent(s): dd61212

Initial commit

Browse files
README.md CHANGED
@@ -1,3 +1,172 @@
1
  ---
2
  license: cc-by-nc-4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-nc-4.0
3
+ task_categories:
4
+ - question-answering
5
+ - multiple-choice
6
+ language:
7
+ - en
8
+ tags:
9
+ - wearable
10
+ - health
11
+ - time-series
12
+ - reasoning
13
+ - benchmark
14
+ size_categories:
15
+ - 1K<n<10K
16
+ pretty_name: WearableQA
17
+ configs:
18
+ - config_name: row
19
+ default: true
20
+ data_files:
21
+ - split: test
22
+ path: data/row/test-*.parquet
23
+ - config_name: col
24
+ data_files:
25
+ - split: test
26
+ path: data/col/test-*.parquet
27
+ - config_name: csv
28
+ data_files:
29
+ - split: test
30
+ path: data/csv/test-*.parquet
31
+ - config_name: markdown
32
+ data_files:
33
+ - split: test
34
+ path: data/markdown/test-*.parquet
35
+ - config_name: structured
36
+ data_files:
37
+ - split: test
38
+ path: data/structured/test-*.parquet
39
  ---
40
+
41
+ # WearableQA
42
+
43
+ **A benchmark for health reasoning over real-world wearable data.**
44
+
45
+ WearableQA comprises **4,084 ten-option multiple-choice questions** built from the wearable time series,
46
+ blood biomarkers, and demographics of **200 real users**, each with up to about 500 days of daily
47
+ measurements. Unlike benchmarks built on synthetic or idealized signals, it preserves authentic
48
+ wearable distributions — device noise, missing days, and inter-individual variability included.
49
+
50
+ - 📄 Paper: https://arxiv.org/abs/2609.05405
51
+ - 💻 Code: https://github.com/facebookresearch/WearableQA
52
+
53
+ ## Quick start
54
+
55
+ ```python
56
+ from datasets import load_dataset
57
+
58
+ ds = load_dataset("facebook/WearableQA", split="test")
59
+
60
+ ex = ds[0]
61
+ ex["question"] # the complete prompt, ready to send to a model
62
+ ex["choices"] # {"A": ..., ..., "J": ...}
63
+ ex["answer"] # "A"
64
+ ```
65
+
66
+ The dataset is large (median prompt ~86k characters), so streaming is often convenient:
67
+
68
+ ```python
69
+ ds = load_dataset("facebook/WearableQA", split="test", streaming=True)
70
+ ```
71
+
72
+ ## Configurations
73
+
74
+ The same 4,084 questions in five forms. Ids and answers are identical across all of them — only the
75
+ way the sensor time series is presented changes.
76
+
77
+ | Config | What it gives you |
78
+ |---|---|
79
+ | **`row`** *(default)* | Prompt with the sensor data as one line per day. This is the released benchmark and the setting the paper reports. |
80
+ | `col` | One block per metric, showing each metric's trajectory together. |
81
+ | `csv` | Dense CSV table, missing values as empty fields. |
82
+ | `markdown` | The same table in markdown. |
83
+ | **`structured`** | No prompt text. Each record carries its own sliced sensor window as **structured values**, so you can build your own prompt. |
84
+
85
+ ```python
86
+ load_dataset("facebook/WearableQA", "markdown", split="test") # a different serialization
87
+ load_dataset("facebook/WearableQA", "structured", split="test") # build your own prompts
88
+ ```
89
+
90
+ The representation matters: in our experiments it moved accuracy by several points, and image-based
91
+ renderings of the same data were far worse than any text form.
92
+
93
+ ### Fields — rendered configs (`row`, `col`, `csv`, `markdown`)
94
+
95
+ | Field | Type | Meaning |
96
+ |---|---|---|
97
+ | `id` | string | Unique question id (`<source>_<user>_<end-date>`) |
98
+ | `question` | string | The complete prompt: instruction, user profile, sensor history, blood panel, cohort percentiles, question stem, and options |
99
+ | `choices` | struct | The ten options, keyed `A`–`J` |
100
+ | `answer` | string | Ground-truth option letter |
101
+ | `category` | string | One of the 16 question types |
102
+ | `reasoning_group` | string | `data` or `health` |
103
+ | `signal` | string | `single` or `cross` |
104
+ | `grounding` | string | `population` or `literature` |
105
+ | `representation` | string | Which serialization this config used |
106
+
107
+ ### Fields — `structured`
108
+
109
+ Everything above except `question` and `representation`, plus:
110
+
111
+ | Field | Type | Meaning |
112
+ |---|---|---|
113
+ | `stem` | string | The question text on its own, without the surrounding prompt |
114
+ | `sensor_history` | list of structs | **This question's own window** — one struct per day, with `date` and the 16 metrics (null where the device recorded nothing) |
115
+ | `demographics` | JSON string | Age, sex, BMI, ethnicity |
116
+ | `blood_panel` | JSON string | Up to 17 biomarkers |
117
+ | `cohort_reference` | JSON string | Population percentiles (empty when the question withholds them) |
118
+ | `end_date` | string | Last day of the observation window |
119
+ | `window_size` | int | Length in days of the window the question asks about (28 throughout) |
120
+
121
+ Each record is self-contained — no joins against a separate user table:
122
+
123
+ ```python
124
+ ds = load_dataset("facebook/WearableQA", "structured", split="test")
125
+ ex = ds[0]
126
+ ex["sensor_history"][0] # {"date": "2023-10-20", "steps": 27858.0, "rhr": 38.0, ...}
127
+
128
+ # build whatever prompt you want
129
+ my_prompt = f"{ex['stem']}\n" + "\n".join(
130
+ f"{d['date']}: steps={d['steps']}, rhr={d['rhr']}" for d in ex["sensor_history"])
131
+ ```
132
+
133
+ ## Taxonomy
134
+
135
+ The 16 question types are organized along two complementary axes:
136
+
137
+ - **Data vs. health reasoning** — computing over longitudinal measurements (correlations, excursion
138
+ counts, recovery times, trend shapes) versus interpreting them physiologically (risk assessment,
139
+ differential diagnosis, prognostic prediction).
140
+ - **Single- vs. cross-signal reasoning** — reasoning within one metric versus integrating several.
141
+
142
+ | Axis | Split | Count |
143
+ |---|---|---|
144
+ | Reasoning group | data / health | 2,724 / 1,360 |
145
+ | Signal complexity | single / cross | 1,682 / 2,402 |
146
+ | Grounding | population / literature | 3,154 / 930 |
147
+
148
+ Ground-truth answers are balanced uniformly across options A–J within each reasoning group, so the
149
+ random baseline is **10%**.
150
+ ## Citation
151
+
152
+ ```bibtex
153
+ @misc{lee2026wearableqa,
154
+ title={{WearableQA}: A Benchmark for Health Reasoning over Real-World Wearable Data},
155
+ author={Ji Soo Lee and Xilun Chen and Pierce Chuang and Ashish Shenoy and Jason Wei and Dohwan Ko and Hyunwoo J. Kim and Benoit Corda},
156
+ year={2026},
157
+ eprint={2609.05405},
158
+ archivePrefix={arXiv},
159
+ primaryClass={cs.CL},
160
+ url={https://arxiv.org/abs/2609.05405},
161
+ }
162
+ ```
163
+
164
+ ## License
165
+
166
+ The data is licensed under Creative Commons Attribution-Non Commercial 4.0 International
167
+ (CC BY-NC 4.0), and subject to the following additional terms: (i) No re-identification or attempted
168
+ re-identification; (ii) No use in connection with clinical, diagnostic, or treatment decisions;
169
+ (iii) No use in a manner that is discriminatory, harmful, or misleading with respect to
170
+ health-related outcomes; (iv) The Dataset is provided "as is", without warranties of any kind,
171
+ whether express or implied, including without limitation accuracy, completeness, or fitness for a
172
+ particular purpose, and is provided for research and benchmarking purposes only.
data/col/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5608e6092bdbc93deeca233d21a1898f5983e2c7c199648acc8d9c630a29580e
3
+ size 39131384
data/csv/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e86cf2f4d3f5e3fb95923a9e5d754904e0d8e903fa84e57a54591adc25c227e9
3
+ size 19204719
data/markdown/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:384eb4c4d064c9d277db3d394396438e99a27dca2fb22c4059bfc0ac996f6a8b
3
+ size 22957149
data/row/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43b0bca6d40db3ec7d4e45bb2b7308753806a07e3dd8043c1a66c37009ec3876
3
+ size 26410744
data/structured/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:781085a852ff2db07f55bb2a9fb55c5ead9c8129d809f7feb5142471c7323dcf
3
+ size 12221874