ACDRepo commited on
Commit
576037a
·
verified ·
1 Parent(s): ae8005b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +207 -3
README.md CHANGED
@@ -1,3 +1,207 @@
1
- ---
2
- license: cc-by-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-2.0
3
+ pretty_name: Coefficients on Kazhdan–Lusztig polynomials for permutations of size 5
4
+ ---
5
+
6
+ # The Coefficients of Kazhdan-Lusztig Polynomials for Permutations of Size 5
7
+
8
+ Kazhdan-Lusztig (KL) polynomials are polynomials in a variable \\(q\\) and
9
+ with integer coefficients that (for our purposes) are indexed by a pair of permutations [1].
10
+ We will write the KL polynomial associated with permutations \\(\sigma\\) and \\(\nu\\) as
11
+ \\(P_{\sigma,\nu}(q)\\). For example, the KL polynomial associated with permutations
12
+ \\(\sigma = 1 \; 4 \; 3 \; 2 \; 7 \; 6 \; 5 \; 10 \; 9 \; 8 \; 11\\) and
13
+ \\(\nu = 4 \; 6 \; 7 \; 8 \; 9 \; 10 \; 1 \; 11 \; 2 \; 3 \; 5\\) is
14
+
15
+
16
+ \\(P_{\sigma,\nu}(q) = 1 + 16q + 103q^2 + 337q^3 + 566q^4 + 529q^5 + 275q^6 + 66q^7 + 3q^8\\)
17
+
18
+ (see [here](https://gswarrin.w3.uvm.edu/research/klc/klc.html) for efficient software to compute
19
+ these polynomials). KL polynomials have deep connections throughout several areas of mathematics. For example,
20
+ KL polynomials are related to the dimensions of intersection homology in Schubert calculus,
21
+ the study of the Hecke algebra, and representation theory of the symmetric group. They
22
+ can be computed via a recursive formula [[1]](https://link.springer.com/article/10.1007/BF01390031),
23
+ nevertheless, in many ways they remain mysterious. For instance, there is no known closed
24
+ formula for the degree of \\(P_{\sigma,\nu}(q)\\).
25
+
26
+ One family of questions revolve around the coefficients of \\(P_{\sigma,\nu}(q)\\).
27
+ For instance, it has been hypothesized that the coefficient on the largest possible monomial term
28
+ \\(q^{\ell(\sigma) - \ell(\nu)-1/2}\\) (where \\(\ell(x)\\) is a statistic of the
29
+ permutation \\(x\\) called the *length* of the permutation), which is known as the
30
+ \\(\mu\\)-coefficient, has a combinatorial interpretation but currently this is not
31
+ known. Better understanding this and other coefficients is of significant
32
+ interest to mathematicians from a range of fields.
33
+
34
+ ## Dataset details
35
+
36
+ Each instance in this dataset consists of a pair of permutations of \\(n,x \in S_n\\)
37
+ along with the coefficients of the polynomial \\(P_{x,w}(q)\\). If \\(x = \;1 \;2 \;3\; 4\; 5\; 6\\),
38
+ \\(w=4 \;5\; 6\; 1 \;2 \;3\\) and \\(P_{v,w}(q) = 1 + 4q + 4q^2 + q^3\\)
39
+ then the coefficients field is written as `1, 4, 4, 1`. Note that coefficients are listed
40
+ by increasing degree of the power of \\(q\\) (e.g., the coefficient on \\(1\\) comes first,
41
+ then the coefficient on \\(q\\), then the coefficient on \\(q^2\\), etc.)
42
+
43
+ We summarize the limited number of values of coefficients on \\(P_{x,w}(q)\\) take when \\(x, w \in S_5\\).
44
+
45
+ **Constant Terms:**
46
+
47
+ | | 0 | 1 | Total number of instances |
48
+ |----------|----------|----------|----------|
49
+ | Train | 8,496 | 3,024 | 11,520 |
50
+ | Test | 2,123 | 757 | 2,880 |
51
+
52
+ **Coefficients on \\(q\\):**
53
+
54
+ | | 0 | 1 | 2 | Total number of instances |
55
+ |----------|----------|----------|----------|----------|
56
+ | Train | 11,219 | 267 | 34 | 11,520 |
57
+ | Test | 2,793 | 77 | 10 | 2,880 |
58
+
59
+ **Coefficient on \\(q^2\\):**
60
+
61
+ | | 0 | 1 | Total number of instances |
62
+ |----------|----------|----------|----------|
63
+ | Train | 11,514 | 6 | 11,520 |
64
+ | Test | 2,876 | 4 | 2,880 |
65
+
66
+ ### Kazhdan-Lusztig Polynomials for Permutations of \\(6\\) elements
67
+
68
+ We summarize the limited number of values coefficients on \\(P_{x,w}(q)\\) take when \\(x, w \in S_6\\).
69
+
70
+ **Constant Terms:**
71
+
72
+ | | 0 | 1 | Total number of instances |
73
+ |----------|----------|----------|----------|
74
+ | Train | 336,071 | 78,649 | 414,720 |
75
+ | Test | 83,922 | 19,758 | 103,680 |
76
+
77
+ **Coefficients on \\(q\\):**
78
+
79
+ | | 0 | 1 | 2 | 3 | 4 | Total number of instances |
80
+ |----------|----------|----------|----------|----------|----------|----------|
81
+ | Train | 397,386 | 13,253 | 3,483 | 535 | 63 | 414,720 |
82
+ | Test | 99,354 | 3,311 | 883 | 117 | 15 | 103,680 |
83
+
84
+ **Coefficient on \\(q^2\\):**
85
+
86
+ | | 0 | 1 | 2 | 3 | 4 | Total number of instances |
87
+ |----------|----------|----------|----------|----------|----------|----------|
88
+ | Train | 412,707 | 1,705 | 242 | 40 | 26 | 414,720 |
89
+ | Test | 103,177 | 441 | 46 | 8 | 8 | 103,680 |
90
+
91
+ **Coefficient on \\(q^3\\):**
92
+
93
+ | | 0 | 1 | Total number of instances |
94
+ |----------|----------|----------|----------|
95
+ | Train | 414,688 | 32 | 414,720 |
96
+ | Test | 103,670 | 10 | 103,680 |
97
+
98
+ ### Kazhdan-Lusztig Polynomials for Permutations of \\(7\\) elements
99
+
100
+ We summarize the limited number of values coefficients on \\(P_{x,w}(q)\\) take when \\(x, w \in S_7\\).
101
+
102
+ **Constant Terms:**
103
+
104
+ | | 0 | 1 | Total number of instances |
105
+ |----------|----------|----------|----------|
106
+ | Train | 17,479,910 | 2,841,370 | 20,321,280 |
107
+ | Test | 4,370,771 | 709,549 | 5,080,320 |
108
+
109
+ **Coefficients on \\(q\\):**
110
+
111
+ | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | Total number of instances |
112
+ |----------|----------|----------|----------|----------|----------|----------|----------|----------|
113
+ | Train | 19,291,150 | 660,600 | 266,591 | 80,173 | 18,834 | 3,221 | 711 | 20,321,280 |
114
+ | Test | 4,822,214 | 165,768 | 66,593 | 19,963 | 4,762 | 819 | 201 | 5,080,320 |
115
+
116
+ **Coefficient on \\(q^2\\):**
117
+
118
+ | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | Total number of instances |
119
+ |----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|
120
+ | Train | 20,072,738 | 170,412 | 46,226 | 16,227 | 7,621 | 4,023 | 1,287 | 1,153 | 785 | 350 | 152 | 139 | 121 | 42 | 4 | 20,321,280 |
121
+ | Test | 5,017,962 | 42,748 | 11,568 | 4,021 | 1,905 | 1,065 | 349 | 287 | 183 | 86 | 40 | 37 | 47 | 22 | 5,080,320 |
122
+
123
+ **Coefficient on \\(q^3\\):**
124
+
125
+ | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 15 | Total number of instances |
126
+ |----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|
127
+ | Train | 20,291,535 | 22,094 | 4,779 | 1,660 | 590 | 195 | 206 | 115 | 34 | 26 | 24 | 18 | 4 | 20,321,280 |
128
+ | Test | 507,2831 | 5,498 | 1,213 | 442 | 146 | 61 | 50 | 37 | 14 | 6 | 8 | 14 | 5,080,320 |
129
+
130
+ **Coefficient on \\(q^4\\):**
131
+
132
+ | | 0 | 1 | Total number of instances |
133
+ |----------|----------|----------|----------|
134
+ | Train | 17,479,910 | 2,841,370 | 20,321,280 |
135
+ | Test | 4,370,771 | 709,549 | 5,080,320 |
136
+
137
+
138
+ ## Data Generation
139
+
140
+ Datasets were generated using C code from Greg Warrington's
141
+ [website](https://gswarrin.w3.uvm.edu/research/klc/klc.html). The code we used can be found
142
+ [here](https://github.com/pnnl/ML4AlgComb/tree/master/kl-polynomial_coefficients).
143
+
144
+ ## Task
145
+
146
+ **Math question:** Generate conjectures around the properties of coefficients appearing on KL polynomials.
147
+
148
+ **Narrow ML task:** Predict the coefficients of \\(P_{x,w}(q)\\) given \\(x\\) and \\(w\\).
149
+ We break this up into a separate task for each coefficient though one could
150
+ choose to predict all simultaneously. Since there are generally very few
151
+ different integers that arise as coefficients (at least in these small examples),
152
+ we frame this problem as one of classification.
153
+
154
+ While the classification task as framed does not capture the broader math question exactly,
155
+ illuminating connections between \\(x\\), \\(w\\), and the coefficients of \\(P_{x,w}(q)\\)
156
+ has the potential to yield critical insights.
157
+
158
+ ## Small model performance
159
+
160
+ Since there are many possible tasks here, we did not run exhaustive hyperparameter searches.
161
+ Instead, we ran ReLU MLPs with depth 4, width 256, and learning rate 0.0005.
162
+
163
+ ### Kazhdan-Lusztig Polynomials for Permutations of \\(5\\) elements
164
+
165
+ Accuracy predicting coefficients for permutations of 5 elements:
166
+
167
+ | Coefficient | MLP | Transformer | Guessing largest class |
168
+ |----------|----------|-----------|------------|
169
+ | \\(1\\) | \\(99.8\% \pm 0.2\%\\) | \\(99.9\% \pm 0.1\%\\) | \\(73.7\%\\) |
170
+ | \\(q\\) | \\(99.5\% \pm 0.4\%\\) | \\(99.2\% \pm 1.0\%\\) | \\(97.0\%\\) |
171
+ | \\(q^2\\) | \\(99.9\% \pm 0.1\%\\) | \\(100.0\% \pm 0.0\%\\) | \\(99.9\%\\) |
172
+
173
+ The associated macro F1-scores are:
174
+
175
+ | Coefficient | MLP | Transformer |
176
+ |----------|----------|-----------|
177
+ | \\(1\\) | \\(99.7\% \pm 0.1\%\\) | \\(99.9\% \pm 0.4\%\\) |
178
+ | \\(q\\) | \\(93.9\% \pm 3.7\%\\) | \\(92.7\% \pm 7.6\%\\) |
179
+ | \\(q^2\\) | \\(50.0\% \pm 0.0\%\\) | \\(100.0\% \pm 0.0\%\\) |
180
+
181
+ ### Kazhdan-Lusztig Polynomials for Permutations of \\(6\\) elements
182
+
183
+ Accuracy predicting coefficients for permutations of 6 elements:
184
+
185
+ | Coefficient | MLP | Transformer | Guessing largest class |
186
+ |----------|----------|-----------|------------|
187
+ | \\(1\\) | \\(99.9\% \pm 0.0\%\\) | \\(100.0\% \pm 0.0\%\\) | \\(80.9\%\\)|
188
+ | \\(q\\) | \\(99.9\% \pm 0.0\%\\) | \\(99.9\% \pm 0.0\%\\) | \\(95.8\%\\) |
189
+ | \\(q^2\\) | \\(99.9\% \pm 0.0\%\\) | \\(99.9\% \pm 0.0\%\\) | \\(99.5\%\\) |
190
+ | \\(q^3\\) | \\(99.9\% \pm 0.0\%\\) | \\(99.9\% \pm 0.0\%\\) | \\(99.9\%\\) |
191
+
192
+ The associated macro F1-scores are:
193
+
194
+ | Coefficient | MLP | Transformer |
195
+ |----------|----------|-----------|
196
+ | \\(1\\) | \\(99.9\% \pm 0.0\%\\) | \\(100.0\% \pm 0.0\%\\) |
197
+ | \\(q\\) | \\(99.0\% \pm 1.5\%\\) | \\(98.0\% \pm 3.7\%\\) |
198
+ | \\(q^2\\) | \\(97.4\% \pm 5.2\%\\) | \\(98.0\% \pm 3.7\%\\) |
199
+ | \\(q^3\\) | \\(87.9\% \pm 4.5\%\\) | \\(88.3\% \pm 17.1\%\\) |
200
+
201
+ The \\(\pm\\) signs indicate 95% confidence intervals from random weight initialization and training.
202
+
203
+ ## References
204
+
205
+ \[1\] Kazhdan, David, and George Lusztig. "Representations of Coxeter groups and Hecke algebras." Inventiones mathematicae 53.2 (1979): 165-184.
206
+
207
+ \[2\] Warrington, Gregory S. "Equivalence classes for the μ-coefficient of Kazhdan–Lusztig polyno