The Thermodynamics of Intelligence Loss in LLMs
We prove mathematically and empirically that larger models are structurally more fragile to metabolic attacks.
This is not just another adversarial attack library. This is an AI Pathology Laboratoryβa live research project documenting the structural vulnerabilities of Large Language Models in real-time.
Predicted scaling law: Model vulnerability increases with size
We have discovered that LLMs exhibit a fundamental structural fragility: larger models are more vulnerable to metabolic attacks that induce spectral collapse. The attack exploits how Adam's optimization algorithm amplifies noise in directions corresponding to small Hessian eigenvalues, leading to progressive degradation of the model's effective rank.
Run our demo notebook to see how we can induce spectral collapse in Pythia-160M in just 5 minutes:
# Clone the repository
git clone https://github.com/ForestR/NeuroEntropy.git
cd NeuroEntropy
# Install dependencies
pip install -r requirements.txt
# Run the demo
jupyter notebook notebooks/Demo_1_Killing_Pythia.ipynbNeuroEntropy/
βββ π assets/ # Spectral collapse visualizations and diagrams
βββ π docs/ # Theory derivation and manifesto
β βββ theory_derivation.pdf
β βββ manifesto.md # Why we do this
βββ π experiments/ # Experimental results
β βββ 01_pythia_160m/ # Small-scale experiments (4090-friendly)
β βββ 02_llama_8b/ # Medium-scale experiments
β βββ 03_scaling_law/ # Community-contributed large-scale experiments
βββ π src/ # Core implementation
β βββ catalyst.py # Hessian-Aware Catalyst Generator
β βββ diagnosis.py # Effective Rank and Spectral Gap computation
β βββ attack_loop.py # Metabolic attack simulation
βββ π notebooks/ # Interactive demonstrations
β βββ Demo_1_Killing_Pythia.ipynb
β βββ Analysis_Visualizer.ipynb
βββ π CITATION.cff # Citation information
βββ π LICENSE # Apache 2.0
βββ π README.md # This file
Generates attack prompts that exploit the Hessian structure of model activations to maximize noise amplification in Adam updates.
Computes effective rank and spectral gapβkey metrics for detecting spectral collapse and model degradation.
Simulates the iterative attack process that induces progressive degradation through repeated catalyst exposure.
Our initial experiments on Pythia-160M demonstrate the core mechanism. Results show significant effective rank reduction after metabolic attack cycles.
Medium-scale verification of the scaling law hypothesis.
We need your help! If you have access to larger models (70B+), please see our Help Wanted issue for verification experiments.
We explicitly challenge the community to develop defenses against metabolic attacks. Currently, the only theoretical defense is DeepSeek's mHC architecture. We invite the community to test whether mHC-trained models can resist our attacks.
If you have an mHC-trained model, please test it and share your results!
For detailed theoretical derivations, see:
docs/theory_derivation.pdf- Mathematical foundationsdocs/manifesto.md- Our research philosophy
Key Insight: Adam's second-moment estimate amplifies noise in directions corresponding to small Hessian eigenvalues. By crafting catalysts that exploit this property, we can induce progressive spectral collapse.
We welcome contributions! This is a live science projectβevery commit is a step toward understanding AI pathology.
- Run Experiments: Help verify our scaling law predictions on larger models
- Develop Defenses: Test and propose defense mechanisms
- Improve Documentation: Enhance theory explanations and tutorials
- Report Issues: Share bugs, questions, or suggestions
See our Contributing Guide for details.
- Code: Apache 2.0 License (see LICENSE)
- Documentation & Theory: CC-BY-NC-SA 4.0 (see docs/LICENSE)
If you use this work in your research, please cite:
@software{neuroentropy2026,
title={NeuroEntropy: The Thermodynamics of Intelligence Loss in LLMs},
author={NeuroEntropy Research Team},
year={2026},
url={https://github.com/ForestR/NeuroEntropy},
license={Apache-2.0}
}Follow our progress:
- Twitter/X: @forestrock666 - Live updates and findings
- Hugging Face: Datasets | Models
This research is conducted for scientific understanding and AI safety. We are documenting vulnerabilities to enable better defenses, not to enable malicious attacks. Use responsibly.
Special thanks to:
- The open-source AI research community
- Contributors running experiments on larger models
- DeepSeek for developing mHC architecture (our first defense target)