Toroidal attention constraints for reducing LLM hallucination
Project description
title: Topological Coherence emoji: 🔮 colorFrom: purple colorTo: blue sdk: gradio sdk_version: 4.44.0 app_file: app.py pinned: false license: apache-2.0 short_description: Geometric constraints reduce LLM hallucination
Topological Constraints for Coherent Language Models
Why Geometry Prevents Hallucination
Sylvain Cormier | Paraxiom Research | January 2026
Key Result
- 40% lower semantic drift than baseline attention
- 28x lower drift than random sparsity (negative control)
- Proves: topology matters, not just compute reduction
Abstract
Residual geometry determines whether reasoning is stable. We show that transformer latent dynamics, operating on unconstrained vector spaces, lack the conserved quantities necessary for bounded inference.
Toroidal (periodic) constraints on attention provide a spectral gap guarantee that suppresses non-resonant modes, reducing semantic drift.
Links
Citation
@misc{cormier2026topological,
author = {Cormier, Sylvain},
title = {Topological Constraints for Coherent Language Models},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.18187835}
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topological_coherence-0.1.0.tar.gz.
File metadata
- Download URL: topological_coherence-0.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20b7f7b786be887e75347b6307a86c2bfd6116a1f79cd95ab0fca6827337f950
|
|
| MD5 |
ecc1153d773370eec7ae6e8e41d830f4
|
|
| BLAKE2b-256 |
b1b88f9194a6afd89cfc3219b91bf4f0ed22194486ab86ae04c00557311d0b2b
|
File details
Details for the file topological_coherence-0.1.0-py3-none-any.whl.
File metadata
- Download URL: topological_coherence-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8554c011ef1631367f7fac14f1c292095cb65cf958f9645976ce35141cf3da92
|
|
| MD5 |
6cdd6b19116ad0ecdc718cdf914d06f8
|
|
| BLAKE2b-256 |
631c89dfd85ff2acc0c36341165cb449d0ae0fc92bb559550343913ff335ef70
|