Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MathDisAm: Towards Math Query Disambiguation
|
| 2 |
+
|
| 3 |
+
Welcome to the official repository for the paper **MathDisAm: Towards Math Query Disambiguation**. This repository contains the dataset, query generation pipelines, and baseline classifier models designed to distinguish between ambiguous and unambiguous mathematical queries.
|
| 4 |
+
|
| 5 |
+
## Dataset
|
| 6 |
+
|
| 7 |
+
The `data` directory contains the core datasets used for training and evaluating the disambiguation models:
|
| 8 |
+
* **`MathDisAM_train.tsv`**: The training file containing MathSE IDs, mathematical questions, and their corresponding tags ("Ambiguous" or "Unambiguous").
|
| 9 |
+
* **`MathDisAM_test.tsv`**: The untouched, held-out test file used for final model evaluation.
|
| 10 |
+
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
## Query Generation
|
| 14 |
+
The query generation process leverages a two-agent Large Language Model pipeline (using Gemma) to process natural mathematical questions:
|
| 15 |
+
|
| 16 |
+
* **Ambiguous Query Generation**:
|
| 17 |
+
* Uses an "Injector" agent to rewrite a math question to introduce deliberate ambiguity.
|
| 18 |
+
* Uses a "Verifier" agent to independently judge if the rewrite is genuinely ambiguous.
|
| 19 |
+
* The script processes questions until a target of 1,000 verified ambiguous questions is produced.
|
| 20 |
+
* **Unambiguous Query Generation**:
|
| 21 |
+
* Uses a "Clarifier" agent to rewrite queries to remove ambiguity.
|
| 22 |
+
* Uses a "Verifier" agent to evaluate if the query is fully well-posed and unambiguous.
|
| 23 |
+
* This pipeline also targets 1,000 verified unambiguous questions.
|
| 24 |
+
|
| 25 |
+
---
|