Update README.md
Browse files123---license: cc-by-2.0---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566---license: cc-by-2.0pretty_name: the mHeight of permutations of size 9---# The mHeight Function of a Permutation of Size 9Truly challenging open problems in mathematics often require the developmentof new mathematical constructions (or even entire new areas of mathematics).This dataset represents a modest example of this. The mHeight function isa statistic associated with a permutation that relates to all \\(3412\\)-patternsin the permutation. It was developed and plays a crucial role in the proof byGaetz and Gao [1] which resolved a long-standing conjecture of Billey and Postnikov[2] about the coefficients on Kazhdan-Lusztig polynomials(see our [Kazhdan-Lusztig polynomial dataset](https://github.com/pnnl/ML4AlgComb/tree/master/kl-polynomial_coefficients))which carry important geometric information about certain spaces,Schubert varieties, that are of interest both to mathematicians and physicists.The task of predicting the mHeight function represents an interesting opportunityto understand whether a non-trivial intermediate step in an important proof canbe learned by machine learning.## \\((3412)\\) patterns and the mHeight of a permutationA \\(3412\\) *pattern* in a permutation \\(\sigma = a_1 \ldots a_n \in S_n\\) is aquadruple \\((a_i,a_j,a_k,a_\ell)\\) such that \\(i < j < k < \ell\\) but\\(a_k < a_\ell < a_i < a_j\\). Patterns have deep connections to algebraand geometry [3]. Suppose \\(\sigma\\) contains at leastone occurrence of a \\(3412\\) pattern, \\((a_i,a_j,a_k,a_\ell)\\).The *height* of \\((a_i,a_j,a_k,a_\ell)\\) is \\(a_i - a_\ell\\). The *mHeight* of\\(\sigma\\) is then the minimum height over all \\(3412\\) patterns in \\(\sigma\\).If \\(\sigma\\) contains no \\(3412\\) permutations then the mHeight is set to 0.## DatasetThis dataset contains permutations of \\(9\\) elements labeled by their mHeight. Permutations are written in1-line notation.For \\(n = 9\\), mHeight takes values 0, 1, 2, 3, 4, 5, so we frame this as a classification task.| mHeight value | 0 | 1 | 2 | 3 | 4 | 5 | Total number of instances ||----------|----------|----------|----------|----------|----------|----------|----------|| Train | 49,092 | 3,161 | 524 | 77 | 9 | 1 | 52,864 || Test | 12,317 | 759 | 118 | 19 | 3 | 0 | 13,216 |## Data GenerationThe datasets generation scripts can be found at [here](https://github.com/pnnl/ML4AlgComb/tree/master/mheight_function).## Task**ML task:** Re-discover the notation of mHeight from a performant model.## Small model performanceWe provide some basic baselines for this task. Benchmarking details can be found in the associated paper.| Size | Logistic regression | MLP | Transformer | Guessing 0 ||----------|----------|-----------|------------|------------|| \\(n= 9\\) | \\(93.2\%\\) | \\(99.8\% \pm 0.6\%\\) | \\(99.9\% \pm 0.4\%\\) | \\(93.2\%\\) |The \\(\pm\\) signs indicate 95% confidence intervals from random weight initialization and training.## References[1] Gaetz, Christian, and Yibo Gao. "On the minimal power of \\(q\\) in a Kazhdan-Lusztig polynomial." arXiv preprint arXiv:2303.13695 (2023).[2] Billey, Sara, and Alexander Postnikov. "Smoothness of Schubert varieties via patterns in root subsystems." Advances in Applied Mathematics 34.3 (2005): 447-466.[3] Billey, Sara C. "Pattern avoidance and rational smoothness of Schubert varieties." Advances in Mathematics 139.1 (1998): 141-156.
README.md+66-3