ShadenA commited on
Commit
46442c0
·
verified ·
1 Parent(s): 092863f

Restore correct dataset card (v0, 10K<n<100K, full metadata)

Browse files
Files changed (1) hide show
  1. README.md +42 -51
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- pretty_name: MathNet — Olympiad Math Reasoning & Retrieval (Preview)
3
  license: cc-by-4.0
4
  task_categories:
5
  - question-answering
@@ -31,7 +31,7 @@ tags:
31
  - multimodal
32
  - retrieval
33
  - iclr-2026
34
- - preview
35
  size_categories:
36
  - 10K<n<100K
37
  configs:
@@ -88,14 +88,14 @@ configs:
88
  data_files:
89
  - split: train
90
  path: data/Croatia/train-*.parquet
91
- - config_name: Czech_Republic
92
- data_files:
93
- - split: train
94
- path: data/Czech_Republic/train-*.parquet
95
  - config_name: Czech-Polish-Slovak_Mathematical_Match
96
  data_files:
97
  - split: train
98
  path: data/Czech-Polish-Slovak_Mathematical_Match/train-*.parquet
 
 
 
 
99
  - config_name: Estonia
100
  data_files:
101
  - split: train
@@ -188,6 +188,10 @@ configs:
188
  data_files:
189
  - split: train
190
  path: data/Philippines/train-*.parquet
 
 
 
 
191
  - config_name: Romania
192
  data_files:
193
  - split: train
@@ -271,22 +275,16 @@ configs:
271
  ---
272
 
273
  <div align="center">
274
-
275
- <img src="assets/title_w_logo_dark.png" alt="MathNet" width="960"/>
276
-
277
- <a href="https://mathnet.mit.edu"><img alt="Website" src="https://img.shields.io/badge/website-mathnet.mit.edu-0d056f"></a>
278
- <a href="https://arxiv.org/abs/2604.18584"><img alt="ICLR 2026" src="https://img.shields.io/badge/ICLR-2026-b31b1b"></a>
279
-
280
- **Shaden Alshammari**<sup>1\*</sup> &ensp; **Kevin Wen**<sup>1\*</sup> &ensp; **Abrar Zainal**<sup>3\*</sup> &ensp; **Mark Hamilton**<sup>1</sup>
281
- **Navid Safaei**<sup>4</sup> &ensp; **Sultan Albarakati**<sup>2</sup> &ensp; **William T. Freeman**<sup>1†</sup> &ensp; **Antonio Torralba**<sup>1†</sup>
282
-
283
- <sup>1</sup>MIT &ensp; <sup>2</sup>KAUST &ensp; <sup>3</sup>HUMAIN &ensp; <sup>4</sup>Bulgarian Academy of Sciences &ensp; <sub>\*† equal contribution</sub>
284
-
285
  </div>
286
 
287
- ---
288
- [Quick Start](#quick-start) · [Overview](#overview) · [Tasks](#three-benchmark-tasks) · [Comparison](#how-mathnet-compares-to-existing-math-benchmarks) · [Dataset Stats](#dataset-at-a-glance) · [Data Sources](#data-sources) · [Pipeline](#data-pipeline) · [Schema](#schema) · [License](#license) · [Citation](#citation)
289
 
 
 
290
  ---
291
  ## Quick start
292
 
@@ -301,16 +299,13 @@ arg = load_dataset("ShadenA/MathNet", "Argentina", split="train")
301
  apmo = load_dataset("ShadenA/MathNet", "Asia_Pacific_Mathematics_Olympiad_APMO", split="train")
302
 
303
  row = ds[0]
304
- print(row["competition"], row["year"], row["country"])
305
  print(row["problem_markdown"])
306
  for img in row["images"]:
307
  img.show() # PIL image — renders inline in the HF viewer
308
  ```
309
 
310
  ## Overview
311
-
312
- <img src="assets/overview.png" alt="MathNet overview: large-scale multilingual data, high-quality solutions, diverse topics, and three evaluation tasks" width="100%"/>
313
-
314
  Mathematical problem solving remains a challenging test of reasoning for large language and multimodal models, yet existing benchmarks are limited in size, language coverage, and task diversity. We introduce **MathNet**, a high-quality, large-scale, multimodal, and multilingual dataset of Olympiad-level math problems together with a benchmark for evaluating mathematical reasoning in generative models **and** mathematical retrieval in embedding-based systems.
315
 
316
  MathNet spans **47 countries**, **17 languages**, and **two decades** of competitions, comprising **30,676 expert-authored problems with solutions** across diverse domains. Alongside the core dataset, we construct a retrieval benchmark of mathematically equivalent and structurally similar problem pairs curated by human experts.
@@ -383,45 +378,40 @@ Extracting aligned problem–solution pairs from a heterogeneous corpus of mathe
383
  2. **GPT-4.1-as-judge** — GPT-4.1 compares page screenshots against the extracted pair to catch OCR errors, incorrect figure associations, and incomplete solutions.
384
  3. **Human expert review** — low-confidence cases are manually reviewed by annotators. A pair is retained only if all three mechanisms agree.
385
 
386
- Provenance (source booklet, page numbers, authors where given) is preserved on every problem.
 
 
387
 
388
- ## What this preview contains
389
 
390
- A **diverse 100-problem slice** sampled round-robin across countries, prioritizing problems with figures so the multimodal path is visible end-to-end. Images are **embedded** in the parquet as HF `Image()` features — they render inline in the dataset viewer and decode to PIL on load.
 
 
 
 
 
391
 
392
  ## Schema
393
 
394
  | Column | Type | Notes |
395
  |---|---|---|
396
- | `unique_id` | string | Stable SHA-256 content hash |
397
- | `country` | string | Country / regional body of origin |
398
  | `competition` | string | e.g. `IMO 2023`, `Cono Sur Mathematical Olympiad` |
399
- | `year` | int32 | Year of competition |
400
- | `section` | string\|null | Day / round / level |
401
- | `problem_number` | string | As printed in the booklet |
402
- | `problem_markdown` | string | Problem statement (Markdown + LaTeX) |
403
- | `solutions_markdown` | list&lt;string&gt; | Official / provided solutions |
404
- | `answers_markdown` | list&lt;string&gt; | Final answers when stated separately |
405
- | `topics` | list&lt;list&lt;string&gt;&gt; | Hierarchical tags |
406
- | `topics_flat` | list&lt;string&gt; | Joined `A > B > C` strings |
407
  | `language` | string | Source booklet language |
408
- | `source_booklet` | string | Booklet id (e.g. `ARG_2003`) |
409
  | `booklet_source` | string | Upstream collection label |
410
- | `has_images` | bool | Whether the problem cites figures |
411
- | `num_images` | int32 | Count of referenced figures |
412
- | `images` | list&lt;Image&gt; | Inlined bytes, decoded to PIL |
413
- | `natural_language_description` | string\|null | LLM-assisted NL rephrasing |
414
- | `main_ideas` | list&lt;string&gt; | LLM-assisted key solution ideas |
415
- | `final_answer` | string\|null | LLM-extracted final answer |
416
- | `problem_type` | string\|null | `proof`, `answer`, `proof and answer`, … |
417
- | `metadata_confidence` | float32 | Self-rated confidence of LLM metadata |
418
- | `original_problem_markdown` | string\|null | Pre-normalization text |
419
-
420
- > The enriched fields (`natural_language_description`, `main_ideas`, `final_answer`, `problem_type`, `metadata_confidence`) are **LLM-assisted** and not fully human-audited in the preview. Treat them as convenience annotations, not ground truth.
421
 
422
  ## Configs / splits
423
 
424
- One config per **country or regional body** plus a default `all` config unioning everything. Each config has a single `train` split — this is a preview, not the train/test partitioning of `MathNet-Solve` (which is `train: 23,776`, `test: 6,400`, `test-hard: 500` in the full release).
425
 
426
  ## Intended uses & limitations
427
 
@@ -429,12 +419,12 @@ One config per **country or regional body** plus a default `all` config unioning
429
 
430
  **Caveats.**
431
  - **Not contamination-clean.** Olympiad problems are indexed widely; assume leakage when evaluating pretrained models.
432
- - **Preview schema may change** before the full release.
433
  - **LLM-assisted metadata is imperfect.**
434
 
435
  ## License
436
 
437
- With the kind support of IMO President Gregor Dolinar, we reached out to the leaders of all participating countries and obtained their permission to share this dataset publicly. Where a country or contest organization asserts its own copyright, that copyright is retained and takes precedence — see `competition`, `country`, and `source_booklet` on each row. For all remaining problems where no explicit copyright was asserted, the dataset is released under **[Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/)**.
438
 
439
  In short: use freely, cite the paper, and respect any explicit rights claimed by the original national team.
440
 
@@ -462,3 +452,4 @@ If you are a rightsholder with a concern, please open an issue or email [shaden@
462
  - ✉️ **Contact:** [shaden@mit.edu](mailto:shaden@mit.edu)
463
 
464
  <p align="center"><sub>© 2026 Massachusetts Institute of Technology · MathNet · ICLR 2026</sub></p>
 
 
1
  ---
2
+ pretty_name: "MathNet v0 — Olympiad Math Reasoning & Retrieval"
3
  license: cc-by-4.0
4
  task_categories:
5
  - question-answering
 
31
  - multimodal
32
  - retrieval
33
  - iclr-2026
34
+ - v0
35
  size_categories:
36
  - 10K<n<100K
37
  configs:
 
88
  data_files:
89
  - split: train
90
  path: data/Croatia/train-*.parquet
 
 
 
 
91
  - config_name: Czech-Polish-Slovak_Mathematical_Match
92
  data_files:
93
  - split: train
94
  path: data/Czech-Polish-Slovak_Mathematical_Match/train-*.parquet
95
+ - config_name: Czech_Republic
96
+ data_files:
97
+ - split: train
98
+ path: data/Czech_Republic/train-*.parquet
99
  - config_name: Estonia
100
  data_files:
101
  - split: train
 
188
  data_files:
189
  - split: train
190
  path: data/Philippines/train-*.parquet
191
+ - config_name: Portuguese_Language_Countries_Olympiad_OMCPLP
192
+ data_files:
193
+ - split: train
194
+ path: data/Portuguese_Language_Countries_Olympiad_OMCPLP/train-*.parquet
195
  - config_name: Romania
196
  data_files:
197
  - split: train
 
275
  ---
276
 
277
  <div align="center">
278
+ <img src="assets/title_w_logo_light.png" alt="MathNet" width="960"/>
279
+ <img src="assets/overview.png" alt="MathNet overview: large-scale multilingual data, high-quality solutions, diverse topics, and three evaluation tasks" width="100%"/>
280
+ <a href="https://arxiv.org/abs/2604.18584"><img alt="ICLR 2026" src="https://img.shields.io/badge/ICLR-2026-b31b1b"></a>
281
+ <a href="https://mathnet.mit.edu"><img alt="Website" src="https://img.shields.io/badge/website-mathnet.mit.edu-0d056f"></a>
 
 
 
 
 
 
 
282
  </div>
283
 
284
+ [Quick Start](#quick-start) · [Overview](#overview) · [Tasks](#three-benchmark-tasks) · [Comparison](#how-mathnet-compares-to-existing-math-benchmarks) · [Dataset Stats](#dataset-at-a-glance) · [Data Sources](#data-sources) · [Pipeline](#data-pipeline) · [Schema](#schema) · [License](#license) · [Citation](#citation)
 
285
 
286
+ > **This is MathNet v0.** A larger version **v1** will be uploaded by **Friday, April 24, 2026** (more countires, problems and richer metadata). Schema is stable but field values may be revised in v1.
287
+
288
  ---
289
  ## Quick start
290
 
 
299
  apmo = load_dataset("ShadenA/MathNet", "Asia_Pacific_Mathematics_Olympiad_APMO", split="train")
300
 
301
  row = ds[0]
302
+ print(row["competition"], row["country"])
303
  print(row["problem_markdown"])
304
  for img in row["images"]:
305
  img.show() # PIL image — renders inline in the HF viewer
306
  ```
307
 
308
  ## Overview
 
 
 
309
  Mathematical problem solving remains a challenging test of reasoning for large language and multimodal models, yet existing benchmarks are limited in size, language coverage, and task diversity. We introduce **MathNet**, a high-quality, large-scale, multimodal, and multilingual dataset of Olympiad-level math problems together with a benchmark for evaluating mathematical reasoning in generative models **and** mathematical retrieval in embedding-based systems.
310
 
311
  MathNet spans **47 countries**, **17 languages**, and **two decades** of competitions, comprising **30,676 expert-authored problems with solutions** across diverse domains. Alongside the core dataset, we construct a retrieval benchmark of mathematically equivalent and structurally similar problem pairs curated by human experts.
 
378
  2. **GPT-4.1-as-judge** — GPT-4.1 compares page screenshots against the extracted pair to catch OCR errors, incorrect figure associations, and incomplete solutions.
379
  3. **Human expert review** — low-confidence cases are manually reviewed by annotators. A pair is retained only if all three mechanisms agree.
380
 
381
+ Provenance (source booklet, authors where given) is preserved on every problem.
382
+
383
+ ## What v0 contains
384
 
385
+ This is the **v0 drop** of MathNet — the first complete public release:
386
 
387
+ - **27,817 problems** across **58 country / regional-body configs**
388
+ - **5,148 problems with figures**, totalling **7,541 images** embedded inline as HF `Image()` features (they render in the viewer and decode to PIL on load)
389
+ - All image references in problem and solution markdown are rewritten to the uniform `![](attached_image_N.png)` convention and the corresponding bytes ship in the `images` column in the same order
390
+ - Default `all` config opens with a curated head of ~120 country-diverse, figure-rich problems so the dataset viewer preview is visually representative; the remainder of `all` is shuffled
391
+
392
+ A more refined **v1** — larger, with improved extraction, deduplication, and metadata — will be uploaded by **Friday, April 24, 2026**.
393
 
394
  ## Schema
395
 
396
  | Column | Type | Notes |
397
  |---|---|---|
398
+ | `id` | string | Short 4-char base36 identifier, stable across rebuilds |
399
+ | `country` | string | Country or regional body of origin |
400
  | `competition` | string | e.g. `IMO 2023`, `Cono Sur Mathematical Olympiad` |
401
+ | `problem_markdown` | string | Problem statement (Markdown + LaTeX) with `![](attached_image_N.png)` refs |
402
+ | `solutions_markdown` | list&lt;string&gt; | Official / provided solutions, one entry per solution |
403
+ | `topics_flat` | list&lt;string&gt; | Hierarchical topic paths joined as `A > B > C` |
 
 
 
 
 
404
  | `language` | string | Source booklet language |
 
405
  | `booklet_source` | string | Upstream collection label |
406
+ | `images` | list&lt;Image&gt; | Inlined figure bytes, decoded to PIL; positions align with `attached_image_N.png` refs in the markdown |
407
+ | `problem_type` | string\|null | `proof only`, `answer only`, `proof and answer` — LLM-assisted |
408
+ | `final_answer` | string\|null | LLM-extracted final answer for answer-bearing problems |
409
+
410
+ > `problem_type` and `final_answer` are **LLM-assisted** and not fully human-audited in v0. Treat them as convenience annotations, not ground truth.
 
 
 
 
 
 
411
 
412
  ## Configs / splits
413
 
414
+ One config per **country or regional body** (58 total) plus a default `all` config unioning everything. Each config has a single `train` split — this is the public v0 release, not the train/test partitioning of `MathNet-Solve` (which is `train: 23,776`, `test: 6,400`, `test-hard: 500` in the paper release).
415
 
416
  ## Intended uses & limitations
417
 
 
419
 
420
  **Caveats.**
421
  - **Not contamination-clean.** Olympiad problems are indexed widely; assume leakage when evaluating pretrained models.
422
+ - **v0 field values may be revised in v1** (improved extraction / dedup / metadata).
423
  - **LLM-assisted metadata is imperfect.**
424
 
425
  ## License
426
 
427
+ With the kind support of IMO President Gregor Dolinar, we reached out to the leaders of all participating countries and obtained their permission to share this dataset publicly. Where a country or contest organization asserts its own copyright, that copyright is retained and takes precedence — see `competition`, `country`, and `booklet_source` on each row. For all remaining problems where no explicit copyright was asserted, the dataset is released under **[Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/)**.
428
 
429
  In short: use freely, cite the paper, and respect any explicit rights claimed by the original national team.
430
 
 
452
  - ✉️ **Contact:** [shaden@mit.edu](mailto:shaden@mit.edu)
453
 
454
  <p align="center"><sub>© 2026 Massachusetts Institute of Technology · MathNet · ICLR 2026</sub></p>
455
+