Move subsets to LogicEquivalentData/, drop reasoning column, credit ProverGen
Browse files- {ProverGen/Evalset → LogicEquivalentData}/add_double_negation.parquet +2 -2
- {ProverGen/Evalset → LogicEquivalentData}/add_double_negation_and_simplify.parquet +2 -2
- {ProverGen/Evalset → LogicEquivalentData}/implication_to_disjunction.parquet +2 -2
- {ProverGen/Evalset → LogicEquivalentData}/mixed_reasoning.parquet +2 -2
- {ProverGen/Evalset → LogicEquivalentData}/original_dataset.parquet +2 -2
- README.md +14 -8
{ProverGen/Evalset → LogicEquivalentData}/add_double_negation.parquet
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbb86312a24dc66012053aec5094323b699f772da9249133dde9104875faa967
|
| 3 |
+
size 813905
|
{ProverGen/Evalset → LogicEquivalentData}/add_double_negation_and_simplify.parquet
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d6456afb1bb93c4639425569793d527f56e0a141dda0b14bdd5172fa705ddc2
|
| 3 |
+
size 815540
|
{ProverGen/Evalset → LogicEquivalentData}/implication_to_disjunction.parquet
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ac187294183af5b0f17ddd92da05a105b2faea4f7b0d5665089df9e81ad59ae
|
| 3 |
+
size 806918
|
{ProverGen/Evalset → LogicEquivalentData}/mixed_reasoning.parquet
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96f67bfd90ddd2d99779fdcea05f5857e329ecfb174e063af880b48bd1e39688
|
| 3 |
+
size 593606
|
{ProverGen/Evalset → LogicEquivalentData}/original_dataset.parquet
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62f3083ce6e1ac983fa39168e508f0c2fc6a7cdbc34024188c961891fd56da47
|
| 3 |
+
size 795688
|
README.md
CHANGED
|
@@ -4,31 +4,31 @@ configs:
|
|
| 4 |
- config_name: original_dataset
|
| 5 |
data_files:
|
| 6 |
- split: test
|
| 7 |
-
path:
|
| 8 |
- config_name: implication_to_disjunction
|
| 9 |
data_files:
|
| 10 |
- split: test
|
| 11 |
-
path:
|
| 12 |
- config_name: add_double_negation
|
| 13 |
data_files:
|
| 14 |
- split: test
|
| 15 |
-
path:
|
| 16 |
- config_name: add_double_negation_and_simplify
|
| 17 |
data_files:
|
| 18 |
- split: test
|
| 19 |
-
path:
|
| 20 |
- config_name: mixed_reasoning
|
| 21 |
data_files:
|
| 22 |
- split: test
|
| 23 |
-
path:
|
| 24 |
---
|
| 25 |
|
| 26 |
# LogicEquivalentData
|
| 27 |
|
| 28 |
Logic-equivalent evaluation sets from *When Form Changes but Logic Doesn't: Building Logic-invariant LLMs
|
| 29 |
through Logical Structure* (LoGIST, NeurIPS 2026, [arXiv:2610.25402](https://arxiv.org/abs/2610.25402)).
|
| 30 |
-
Each subset poses the same
|
| 31 |
-
|
| 32 |
|
| 33 |
| Subset | Rules rewritten with | Rows |
|
| 34 |
|---|---|---|
|
|
@@ -44,7 +44,7 @@ Fields:
|
|
| 44 |
- `question`, `options`, `answer`: the query, the choices (True / False / Uncertain) and the gold letter.
|
| 45 |
- `nl2fol`: JSON object mapping each premise to its first-order-logic formula. `conclusion_fol` is the
|
| 46 |
formula of the queried statement.
|
| 47 |
-
- `
|
| 48 |
- `name`, `keyword`, `subject_category`, `background_story`: ProverGen generation metadata.
|
| 49 |
|
| 50 |
Loading a subset and building the evaluation prompt:
|
|
@@ -62,3 +62,9 @@ prompt = (
|
|
| 62 |
+ "\n".join(ex["options"]) + "\n\n Let's think step by step: "
|
| 63 |
)
|
| 64 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
- config_name: original_dataset
|
| 5 |
data_files:
|
| 6 |
- split: test
|
| 7 |
+
path: LogicEquivalentData/original_dataset.parquet
|
| 8 |
- config_name: implication_to_disjunction
|
| 9 |
data_files:
|
| 10 |
- split: test
|
| 11 |
+
path: LogicEquivalentData/implication_to_disjunction.parquet
|
| 12 |
- config_name: add_double_negation
|
| 13 |
data_files:
|
| 14 |
- split: test
|
| 15 |
+
path: LogicEquivalentData/add_double_negation.parquet
|
| 16 |
- config_name: add_double_negation_and_simplify
|
| 17 |
data_files:
|
| 18 |
- split: test
|
| 19 |
+
path: LogicEquivalentData/add_double_negation_and_simplify.parquet
|
| 20 |
- config_name: mixed_reasoning
|
| 21 |
data_files:
|
| 22 |
- split: test
|
| 23 |
+
path: LogicEquivalentData/mixed_reasoning.parquet
|
| 24 |
---
|
| 25 |
|
| 26 |
# LogicEquivalentData
|
| 27 |
|
| 28 |
Logic-equivalent evaluation sets from *When Form Changes but Logic Doesn't: Building Logic-invariant LLMs
|
| 29 |
through Logical Structure* (LoGIST, NeurIPS 2026, [arXiv:2610.25402](https://arxiv.org/abs/2610.25402)).
|
| 30 |
+
Each subset poses the same problems with their rules rewritten by an equivalence law, while facts, query and
|
| 31 |
+
label stay fixed. Text only: the ROBDD graph features used by LoGIST are not included.
|
| 32 |
|
| 33 |
| Subset | Rules rewritten with | Rows |
|
| 34 |
|---|---|---|
|
|
|
|
| 44 |
- `question`, `options`, `answer`: the query, the choices (True / False / Uncertain) and the gold letter.
|
| 45 |
- `nl2fol`: JSON object mapping each premise to its first-order-logic formula. `conclusion_fol` is the
|
| 46 |
formula of the queried statement.
|
| 47 |
+
- `reasoning_length`: number of reasoning steps needed to reach the answer.
|
| 48 |
- `name`, `keyword`, `subject_category`, `background_story`: ProverGen generation metadata.
|
| 49 |
|
| 50 |
Loading a subset and building the evaluation prompt:
|
|
|
|
| 62 |
+ "\n".join(ex["options"]) + "\n\n Let's think step by step: "
|
| 63 |
)
|
| 64 |
```
|
| 65 |
+
|
| 66 |
+
## Acknowledgement
|
| 67 |
+
|
| 68 |
+
We built the initial dataset using [ProverGen](https://github.com/opendatalab/ProverGen), from *Large Language
|
| 69 |
+
Models Meet Symbolic Provers for Logical Reasoning Evaluation* (Qi et al., ICLR 2025,
|
| 70 |
+
[arXiv:2502.06563](https://arxiv.org/abs/2502.06563)).
|