A geometric autoregressive language model using Cayley-Menger validated k-simplex channels. This architecture replaces traditional transformer embeddings with geometrically-constrained structures that maintain mathematical validity throughout training.
Overview
This model explores whether
geometric inductive bias
can improve language modeling by representing each token position as a hierarchy of k-simplices (edge → triangle → tetrahedron → 5-cell) with learnable deformations validated by the Cayley-Menger determinant.
Key Results:
Shakespeare corpus:
Val PPL 113.74
at epoch 8
100% geometric validity maintained throughout training
Coherent dialogue generation with proper character attribution
54M parameters (due to 50k BPE vocabulary)
Architecture
Conceptual Foundation
Traditional transformers represent tokens as flat vectors. This architecture represents each token as a
stack of k-simplex structures
where:
K-Level
Structure
Vertices
Distance Pairs
Geometric Meaning
k=1
Edge
2
1
1D linear relationship
k=2
Triangle
3
3
2D planar structure
k=3
Tetrahedron
4
6
3D volumetric structure
k=4
5-cell
5
10
4D hypervolume
Each k-level captures progressively higher-dimensional geometric relationships, providing a structured representation space that traditional embeddings lack.
K-Depth Ablation
: Test k=1,2,3 only (remove k=4 noise floor)
Vol² Normalization
: Scale by k to equalize magnitudes
Larger Data
: WikiText-103, OpenWebText
Theoretical Questions
Does the geometric structure provide better length generalization?
Can we interpret k-level activations semantically?
Does geometric validity correlate with generation quality?
Can we prune k-levels without performance loss?
Citation
@misc{ksimplex-llm-2026,
author = {AbstractPhil},
title = {K-Simplex Language Model: Geometric Autoregression with Cayley-Menger Validation},
year = {2026},
publisher = {HuggingFace},
url = {https://huggingface.co/AbstractPhil/ksimplex-llm-prototype}
}
License
MIT License - Free to use, modify, and distribute.
Acknowledgments
Built on the foundation of geometric deep learning research exploring k-simplex structures, pentachoron navigation, and Cayley-Menger determinant validation for neural network regularization.
"The geometry is the representation."
Runs of AbstractPhil ksimplex-llm-prototype on huggingface.co
5
Total runs
1
24-hour runs
2
3-day runs
2
7-day runs
0
30-day runs
More Information About ksimplex-llm-prototype huggingface.co Model
ksimplex-llm-prototype huggingface.co
ksimplex-llm-prototype huggingface.co is an AI model on huggingface.co that provides ksimplex-llm-prototype's model effect (), which can be used instantly with this AbstractPhil ksimplex-llm-prototype model. huggingface.co supports a free trial of the ksimplex-llm-prototype model, and also provides paid use of the ksimplex-llm-prototype. Support call ksimplex-llm-prototype model through api, including Node.js, Python, http.
ksimplex-llm-prototype huggingface.co is an online trial and call api platform, which integrates ksimplex-llm-prototype's modeling effects, including api services, and provides a free online trial of ksimplex-llm-prototype, you can try ksimplex-llm-prototype online for free by clicking the link below.
AbstractPhil ksimplex-llm-prototype online free url in huggingface.co:
ksimplex-llm-prototype is an open source model from GitHub that offers a free installation service, and any user can find ksimplex-llm-prototype on GitHub to install. At the same time, huggingface.co provides the effect of ksimplex-llm-prototype install, users can directly use ksimplex-llm-prototype installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
ksimplex-llm-prototype install url in huggingface.co: