Datasets:

Formats:
json
ArXiv:
Libraries:
Datasets
pandas
License:
ACDRepo commited on
Commit
5c885c4
·
verified ·
1 Parent(s): b363a36

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +150 -3
README.md CHANGED
@@ -1,3 +1,150 @@
1
- ---
2
- license: cc-by-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-2.0
3
+ pretty_name: Characterizing weaving patterns, n = 7
4
+ ---
5
+
6
+ ---
7
+ license: cc-by-2.0
8
+ pretty_name: Characterizing weaving patterns, n = 7
9
+ ---
10
+
11
+ # Dataset Card for Weaving Patterns of Size, \\(n = 7\\)
12
+
13
+ Weaving patterns are \\(n \times n−1\\)-matrices with \\(\{1, 2, . . . , n\}\\)-
14
+ entries introduced by \[1\] to study the number of reduced decompositions of the
15
+ permutation \\(\sigma = n\; n − 1 \;\dots\; 1\\) up to commutation equivalence. The number
16
+ of such objects also counts the number of parallel sorting
17
+ networks, the number of rhombic tilings of regular polygons, and is connected to
18
+ the study of the higher Bruhat orders \[2\]. An \\(O(n^2)\\) algorithm for determining
19
+ if a given \\(\{1, 2, . . . , n\}\\)-matrix is a valid weaving pattern
20
+ exists but gives no additional insight into the structure of
21
+ weaving patterns and correspondingly the asymptotics of
22
+ reduced decompositions. The enumeration of reduced decompositions
23
+ up to commutation equivalence has been studied by many including
24
+ Knuth and Stanley. An exact formula is likely out of reach,
25
+ so asymptotic upper and lower bounds are of great interest.
26
+ ML models that can detect necessary or sufficient conditions
27
+ for a matrix to be a valid weaving pattern have the potential
28
+ to lead to substantial improvements in the upper bound.
29
+
30
+ Each dataset is a mixture of enriched weaving patterns and
31
+ non-weaving pattern matrices with \\(\{1, 2, . . . , n\}\\)-entries.
32
+
33
+ ## Dataset Details
34
+
35
+ Weaving patterns of size \\(n \times n − 1\\) are a special type of matrix containing
36
+ entries in \\(\{1, 2, . . . , n\}\\). They correspond to representations of the
37
+ longest word permutation of \\(n\\) elements (the permutation that sends
38
+ \\(1 \mapsto n\\), \\(2 \mapsto n − 1\\), etc.). This
39
+ task involves trying to identify weaving patterns among matrices that look like weaving patterns but are not.
40
+ Each matrix is stored on a single line in row-major format. For instance,
41
+
42
+ `(0, 1, 2, 3, 3, 2, 3, 4, 2, 3, 2, 1, 5, 4, 3, 2)`
43
+
44
+ The datasets can also be found [here](https://drive.google.com/file/d/1HsWuHpTkCOtpyTG2dFH49jzkKIZYwKG8/view?usp=sharing).
45
+ Data loaders can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/weaving_patterns).
46
+
47
+ **Statistics**
48
+ | | Weaving patterns | Non-weaving patterns |
49
+ |----------|----------|---------------|
50
+ | Train | 17,388 | 96,012 |
51
+ | Test | 7,310 | 41,290 |
52
+
53
+ This dataset is small, we encourage users to also look at the dataset for \\(n = 7\\).
54
+
55
+ **Math question:** Find an algorithm or set of rules that can efficiently distinguish between
56
+ weaving pattern matrices and non-weaving pattern matrices. This should be more efficient than the
57
+ \\(O(n^2\\) algorithm that can be found in the references above.
58
+
59
+ **ML task:** Train a model to classify whether a \\(\{1, 2, . . . , n\}\\)-
60
+ matrix is a weaving pattern or not. This task is framed as
61
+ binary classification. Extract mathematical insights from a performant model.
62
+
63
+ If a successful model is trained, it would be interesting to understand whether the model has
64
+ learned an existing algorithm or whether it has discovered something new.
65
+
66
+ ## Small model performance
67
+
68
+ We provide some basic baselines for this task. Benchmarking details can be found in the associated paper.
69
+
70
+ | Size | Logistic regression | MLP | Transformer | Guessing largest class |
71
+ |----------|----------|-----------|------------|------------|
72
+ | \\(n= 7\\) | \\(85.8\%\\) | \\(99.3\% \pm 0.2\%\\) | \\(99.9\% \pm 0.4\%\\)| \\(85.0\%\\) |
73
+
74
+ The \\(\pm\\) signs indicate 95% confidence intervals from random weight initialization and training.
75
+
76
+ - **Curated by:** Herman Chau
77
+ - **Funded by:** Pacific Northwest National Laboratory
78
+ - **Language(s) (NLP):** NA
79
+ - **License:** CC-by-2.0
80
+
81
+ ### Dataset Sources
82
+
83
+ Data generation scripts can be found [here](https://github.com/pnnl/ML4AlgComb/tree/master/symmetric_group_character).
84
+
85
+ - **Repository:** [ACD Repo](https://github.com/pnnl/ML4AlgComb/tree/master/weaving_patterns)
86
+
87
+ ## Uses
88
+
89
+ This dataset was generated to study ML model's ability yield insight on an open
90
+ problem in algebraic combinatorics, specifically, the problem of better understanding commutation
91
+ equivalent representations of reduced words coresponding to the longest permutation.
92
+
93
+ ### Direct Use
94
+
95
+ We use this dataset for a classification task distinguishing between weaving and non-weaving patterns.
96
+
97
+ ### Out-of-Scope Use
98
+
99
+ None.
100
+
101
+ ## Dataset Structure
102
+
103
+ Each matrix is stored on a single line in row-major format. For instance,
104
+
105
+ `(0, 1, 2, 3, 3, 2, 3, 4, 2, 3, 2, 1, 5, 4, 3, 2)`
106
+
107
+ ## Dataset Creation
108
+
109
+ Data generation scripts can be found
110
+ [here](https://github.com/pnnl/ML4AlgComb/tree/master/weaving_patterns).
111
+
112
+ ### Curation Rationale
113
+
114
+ This dataset was generated as a test of current AI system's ability to advance
115
+ research mathematics.
116
+
117
+ #### Who are the source data producers?
118
+
119
+ Herman Chau wrote code to generate this dataset.
120
+
121
+ ## Bias, Risks, and Limitations
122
+
123
+ We only provide data for weaving patterns of size \\(6 \times 5\\) and \\(7 \times 6\\) in this repository.
124
+ We are happy to generate (subsets) of datasets for larger values of \\(n \times n-1\)).
125
+
126
+ ## Citation
127
+
128
+ **BibTeX:**
129
+
130
+
131
+ @article{chau2025machine,
132
+ title={Machine learning meets algebraic combinatorics: A suite of datasets capturing research-level conjecturing ability in pure mathematics},
133
+ author={Chau, Herman and Jenne, Helen and Brown, Davis and He, Jesse and Raugas, Mark and Billey, Sara and Kvinge, Henry},
134
+ journal={arXiv preprint arXiv:2503.06366},
135
+ year={2025}
136
+ }
137
+
138
+
139
+ **APA:**
140
+
141
+ Chau, H., Jenne, H., Brown, D., He, J., Raugas, M., Billey, S., & Kvinge, H. (2025). Machine learning meets algebraic combinatorics: A suite of datasets capturing research-level conjecturing ability in pure mathematics. arXiv preprint arXiv:2503.06366.
142
+
143
+ ## Dataset Card Contact
144
+
145
+ Henry Kvinge, [email protected]
146
+
147
+ ## References
148
+
149
+ \[1\] Felsner, Stefan. "On the number of arrangements of pseudolines." Proceedings of the twelfth annual Symposium on Computational Geometry. 1996.
150
+ \[2\] Chau, Herman. "On enumerating higher bruhat orders through deletion and contraction." arXiv preprint arXiv:2412.10532 (2024).