--- license: mit task_categories: - text-generation language: - en tags: - mathematics - group-theory - permutations - symbolic-reasoning - algebra - sequence-modeling - state-space-models - computational-complexity pretty_name: Group Theory Collection size_categories: - 10M 256) # Analyze sequence length distribution import numpy as np lengths = np.array(dataset['train']['sequence_length']) print(f"Min length: {lengths.min()}, Max length: {lengths.max()}") print(f"Mean length: {lengths.mean():.1f}, Std: {lengths.std():.1f}") ``` ## Group Inventory ### TC⁰ Groups (Solvable) - 58 Groups | Group Family | Groups | Orders | Mathematical Properties | |--------------|--------|--------|------------------------| | Symmetric | S3, S4 | 6, 24 | Solvable for n ≤ 4 | | Alternating | A3, A4 | 3, 12 | Solvable for n ≤ 4 | | Cyclic | C2-C30 (all) | 2-30 | Abelian groups | | Dihedral | D3-D20 (all) | 6-40 | Symmetries of regular polygons | | Klein | V4 | 4 | Smallest non-cyclic abelian group (isomorphic to Z₂²) | | Quaternion | Q8, Q16, Q32 | 8, 16, 32 | Non-abelian 2-groups | | Elementary Abelian | Z2^[1-5], Z3^[1-4], Z5^[1-4] | Various | Direct products of cyclic groups | | Frobenius | F20, F21 | 20, 21 | Transitive permutation groups | | Projective Special Linear | PSL(2,2), PSL(2,3) | 6, 12 | Solvable PSL groups | ### NC¹ Groups (Non-Solvable) - 36 Groups | Group Family | Groups | Orders | Mathematical Properties | |--------------|--------|--------|------------------------| | Symmetric | S5, S6, S7, S8, S9 | 120-362,880 | Non-solvable for n ≥ 5 | | Alternating | A5, A6, A7, A8, A9 | 60-181,440 | Simple groups for n ≥ 5 | | Projective Special Linear | PSL(2,4), PSL(2,5), PSL(2,7), PSL(2,8), PSL(2,9), PSL(2,11), PSL(3,2), PSL(3,3), PSL(3,4), PSL(3,5) | Various | Simple groups (PSL(2,4) ≅ A5) | | Mathieu | M11, M12 | 7,920, 95,040 | Sporadic simple groups | ## Technical Specifications ### Permutation Representation - Each permutation is assigned a unique integer identifier within its group - Mappings between IDs and permutation arrays are consistent across train/test splits - Permutation composition follows right-to-left convention (standard in mathematics) ### Dataset Statistics - **Train/Test Split**: 80/20 ratio for all groups - **Sequence Lengths**: Variable lengths from 3 to 1024 permutations per example - **File Format**: Apache Arrow for efficient data loading and memory mapping - **Total Size**: Varies by group order and maximum sequence length ### Composition Convention For an input sequence [p₁, p₂, p₃], the target is computed as: - Mathematical notation: p₃ ∘ p₂ ∘ p₁ - Operational interpretation: First apply p₁, then p₂, then p₃ ## Dataset Generation The code used to generate this dataset is available at [https://github.com/BeeGass/Group-Dataset-Generator](https://github.com/BeeGass/Group-Dataset-Generator). The repository includes: - Complete implementation of all permutation groups - Dataset generation scripts with configurable parameters - Verification and testing utilities - Documentation for extending the dataset with additional groups ## Research Applications This dataset supports various research directions: 1. **Computational Complexity Theory**: Empirical validation of TC⁰/NC¹ separation in neural networks 2. **State-Space Model Analysis**: Testing fundamental limitations of linear recurrent architectures 3. **Transformer Architecture Studies**: Investigating attention mechanism constraints 4. **Mathematical Reasoning**: Benchmarking symbolic manipulation capabilities 5. **Generalization Studies**: Cross-length and cross-group generalization patterns 6. **Representation Learning**: Understanding how models encode algebraic structures ## Citation When using this dataset in academic work, please cite: ```bibtex @dataset{gass2024permutation, author = {Gass, Bryan}, title = {Group Theory Collection}, year = {2024}, publisher = {Hugging Face}, url = {https://huggingface.co/datasets/BeeGass/Group-Theory-Collection}, note = {Organized by computational complexity classes (TC⁰/NC¹)} } @software{gass2024generator, author = {Gass, Bryan}, title = {Group Dataset Generator}, year = {2024}, url = {https://github.com/BeeGass/Group-Dataset-Generator} } @article{merrill2024illusion, title = {The Illusion of State in State-Space Models}, author = {Merrill, William and Jackson, Ashish and Goldstein, Yoav and Weiss, Gail and Angluin, Dana}, journal = {arXiv preprint arXiv:2404.08819}, year = {2024} } ``` ## Acknowledgments This dataset was inspired by the theoretical work of William Merrill and colleagues on "The Illusion of State in State-Space Models" (arXiv:2404.08819), which establishes fundamental computational limitations of state-space models through group-theoretic analysis. ## License This dataset is released under the MIT License. ## Contact For questions, issues, or contributions, please use the Hugging Face dataset repository's discussion forum or contact Bryan Gass directly.