charleslwang commited on
Commit
6dd95b9
·
verified ·
1 Parent(s): 1c305c1

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +51 -0
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - math
5
+ - reasoning
6
+ - dynamic-analysis
7
+ - bode-plot
8
+ - llm-evaluation
9
+ ---
10
+
11
+ # MathBode: A Dynamic Benchmark for Mathematical Reasoning
12
+
13
+ **MathBode** is a benchmark designed to evaluate the dynamic reasoning capabilities of large language models (LLMs). Instead of testing static accuracy on fixed problems, MathBode treats parametric math problems as dynamic systems. It sinusoidally varies a parameter and measures the model's response in terms of **gain** (amplitude tracking) and **phase** (reasoning lag), analogous to a Bode plot in control theory.
14
+
15
+ This dataset contains the complete set of prompts and ground truth values for the benchmark.
16
+
17
+ ## Dataset Structure
18
+
19
+ The dataset is provided in a single Parquet file and contains the following columns:
20
+
21
+ | Column | Description |
22
+ |---|---|
23
+ | `family` | The mathematical problem family (e.g., `linear_solve`, `ratio_saturation`). |
24
+ | `question_id` | An index (0-2) for the specific question variant within a family. |
25
+ | `signal_type` | The type of parameter variation: `sinusoid` or `chirp`. |
26
+ | `amplitude_scale` | The scaling factor for the input signal's amplitude (0.5, 1.0, or 2.5). Used for non-linearity testing. |
27
+ | `frequency_cycles` | The frequency of the sinusoidal input in cycles per sweep. For chirp signals, this is the instantaneous frequency. |
28
+ | `phase_deg` | The starting phase of the sinusoidal signal in degrees (0, 120, 240). `null` for chirp signals. |
29
+ | `time_step` | The step index within a sweep (0-63 for sinusoids, 0-255 for chirps). |
30
+ | `p_value` | The precise value of the dynamic parameter `p` for this time step. |
31
+ | `prompt` | The full prompt text to be sent to the model. |
32
+ | `ground_truth` | The correct numerical answer for the given prompt. |
33
+ | `symbolic_baseline_answer` | The answer from a perfect symbolic solver (identical to `ground_truth`). |
34
+
35
+ ## Usage
36
+
37
+ You can load the dataset easily using the `datasets` library:
38
+
39
+ ```python
40
+ from datasets import load_dataset
41
+
42
+ # Load the dataset
43
+ dataset = load_dataset("cognitive-metrology-lab/MathBode")
44
+
45
+ # Access the data
46
+ print(dataset['train'][0])
47
+ ```
48
+
49
+ ## Citing
50
+
51
+ If you use this dataset, please cite our work (citation to be added).