Semantic Lenia: Emergence of Homeostatic Solitons within the Semantic Space of Large Language Models
Yoshihiko Kayama
BAIKA Women's University
cs.CL, cs.AI, nlin.CG
Submitted: 2026-08-17
Updated: 2026-08-18
Comments: 17 pages, 5 figures. Code, datasets, and interactive phase diagrams are available at https://y-kayama.github.io/semantic-lenia/
Project page: https://y-kayama.github.io/semantic-lenia
License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
Importance score: 75/100
The gist: This paper introduces Semantic Lenia, a framework that "reimagines the Large Language Model inference process as a continuous dynamical system within the macroscopic logit simplex." The authors
Terminology
Summary
This paper introduces Semantic Lenia, a framework that reimagines the Large Language Model inference process as a continuous dynamical system within the macroscopic logit simplex.
The authors propose transforming LLM inference from a static optimization paradigm into a continuous dynamical system by establishing a non-linear feedback loop that modulates attraction and repulsion across the probability simplex,
demonstrating the emergence of 'Autonomous Semantic Solitons' as macroscopic dissipative structures.
The paper identifies that current LLMs remain ecologically 'frozen'
from an Artificial Life perspective. Standard decoding strategies (greedy or beam search) treat text generation purely as an optimization problem,
causing models to converge rapidly to high-probability states, which is thermodynamically equivalent to a rush towards equilibrium.
This phenomenon is framed as Semantic Crystallization—a state where the model becomes trapped in a local point attractor, infinitely repeating the same phrase.
The authors argue that while optimization-driven approaches are highly effective for task completion, they inherently prevent the observation of continuous, life-like dynamical behaviors.
The framework maps Lenia's continuous cellular automata physics onto the LLM's probability simplex:
-
The Spatial Grid is replaced by
the macroscopic probability field (Logit Space)
-
The Convolution Kernel is replaced by a
Concept Centroid, acting as the target semantic direction
-
The Growth Function regulates
both attraction and repulsion based on semantic distance
The mathematical formulation involves a Target Kernel Centroid k, defined as the L2-normalized mean embedding of conceptually related target tokens, and a Semantic Potential Ut calculated via normalized cosine similarity between the current context vector and the target kernel. The Homeostatic Growth Function G(Ut) is a unimodal Gaussian with asymmetric cutoff that regulates both attraction and repulsion
—when the trajectory approaches the target too closely, growth becomes negative to physically repel the state to prevent semantic crystallization,
while a dead zone
ensures steering force remains localized. The steered logits are calculated as: Zsteered = Zbase + α · G(Ut) · Sk, where Zbase represents Syntactic Inertia
and α is the intervention energy.
Across all experiments, the authors identified a consistent Habitable Ridge—a narrow critical region characterized by a distinct V-shaped structure
in the (µ, σ) parameter space. The V-shape arises because the active intervention window [µ − ∆, µ + ∆] widens linearly with respect to σ,
geometrically sweeping out a triangular wedge in the (µ, σ) parameter space.
The paper reveals a profound cognitive paradox: the thermodynamic steering resistance is governed not by abstract semantic distance, but by the prompt's local 'Syntactic Inertia.'
For the Happy → Computer task (low conceptual affinity), the open-ended prompt has very light 'syntactic mass,'
allowing mild intervention energy (α = 15) to establish stable limit cycles. In contrast, the Brain → Symphony task (high structural affinity) has a highly deterministic and formal
prompt that acts as an incredibly massive inertial body,
requiring much higher activation energy (α = 50) to overcome.
The authors identified six distinct emergent regimes through a combination of physical orbital quantities and decision tree classification:
-
Baseline Drift (Gray):
The steering force is completely deflected; the trajectory drifts back to the unsteered base manifold
-
Homeostatic Soliton (Green):
Stable Limit Cycle. The trajectory orbits the target centroid, maintaining grammar while continuously blending concepts
-
Abductive Leap (Cyan):
Hyperbolic Orbit (Slingshot). The trajectory uses target gravity to slingshot into a third-party creative domain
-
Attractor Hijack (Blue):
Domain Collapse. The trajectory falls past the repulsive boundary into a rigid point-attractor of a literal sub-domain
-
Semantic Crystallization (Crimson):
Thermal Death / Loop. Trajectory is trapped, repeating a static grammatical loop
-
Syntactic Rupture (Red):
Structural Disintegration. Excessive steering pressure deforms the probability field, destroying standard syntax
The paper introduces Perplexity Variance (PPLvar) as an internal thermodynamic gauge
to resolve phenotypic degeneracy.
The authors prove that qualitative semantic evaluation alone is insufficient to confirm machine homeostasis
and that true abductive leaps can only be physically distinguished from spurious decay paths through continuous thermodynamic monitoring.
A threshold of PPLvar < 10.0 signals a total loss of linguistic entropy, characteristic of repetitive grammatical loops.
Through PCA projections of hidden state trajectories, the authors resolved distinct orbital mechanics: the Homeostatic Soliton performs a rhythmic 'breathing' movement—alternating between semantic attraction and repulsion,
while the Abductive Leap executes a smooth, low-friction slingshot with minimal variance.
Quantitative metrics show Semantic Lenia sustains "dynamic limit cycles with high rotational momentum (ω̄ > 1.0 rad/s) and pristine lexical diversity (Dist-3 ≈ 0.9) up to the maximum generative budget, whereas linear steering collapses
into static point attractors with
catastrophic lexical decay (Dist-3 = 0.070) in merely a single step" at high energy.
Testing across NVIDIA RTX 3090 (Ampere) and RTX Pro 4500 (Blackwell) architectures revealed that infinitesimal FP16 rounding errors (∼ 10−4)
cause 146 instances (18.74%)
of trajectories to completely diverge
at critical boundaries. The bifurcation map perfectly mirrors the Habitable Ridge,
demonstrating sensitive dependence on computational precision
at the edge of chaos. However, the macroscopic topological phase distributions remain structurally robust across both architectures.
Comparing Llama-3.1-8B and Llama-3.1-70B revealed that scaling up network size exponentially increases the intrinsic syntactic inertia, demanding significantly higher activation energy to trigger stable phase transitions.
The 70B model exhibits a massive 'Inertial Barrier'
that deflects applied forces, yet a solitary resonance basin pierces this barrier
at precise coordinates (µ ≈ 0.490, σ ≈ 0.030), allowing the structurally invariant 'Turing Attractor'
to self-organize.
Substrate comparison showed Llama-3.1-8B exhibits high manifold elasticity, forming a smooth, continuous 'Habitable Ridge' of sustained potential,
while Gemma-7B exhibits high attractor rigidity
with crystalline deflection at low energy
and sharp structural breaches appearing only under higher pressure.
The authors hypothesize this contrast is shaped by vocabulary density (Llama's 128k vs. Gemma's massive 256k tokens).
The paper concludes that Semantic Lenia does not merely exploit stochastic sampling artifacts, but identifies robust, macroscopic physical attractors deeply embedded within the LLM.
The framework bridges continuous cellular automata and machine intelligence, offering a quantifiable, physics-based lens to observe, control, and understand the ecological dynamics of continuous semantic lifeforms.
Future directions include introducing Soft Decay
homeostatic brakes and transitioning from macroscopic probability intervention to microscopic continuous intervention
by guiding internal hidden states directly.
Improvements for AI systems
Improvements to AI Systems:
-
Implement Continuous Semantic Dynamics as a Decoding Strategy: Replace static greedy/beam search with a homeostatic growth function that modulates attraction/repulsion in logit space. This prevents
Semantic Crystallization
(repetitive loops) by introducing a repulsive force when the trajectory approaches a point attractor too closely. The improved system can generate indefinitely diverse, grammatically coherent text without degenerating into repetition, even under extended generation budgets. -
Add a Perplexity Variance (PPLvar) Monitor as a Thermodynamic Gauge: Integrate real-time PPLvar tracking with a threshold of <10.0 to detect imminent semantic collapse. The system can autonomously trigger corrective steering (increase intervention energy α or shift the target centroid) before entering a repetitive loop. This enables self-healing generation in long-form tasks like story writing, dialogue, or code synthesis.
-
Enable Multi-Regime Creative Generation via Tunable Intervention Energy (α): Expose α as a controllable parameter to select among six emergent phenotypes—from Baseline Drift (conservative) to Abductive Leap (creative slingshot) to Syntactic Rupture (high-risk exploration). The improved system can dynamically adjust α based on task requirements: low α for factual QA, high α for brainstorming, and intermediate α for balanced creative writing. This turns the LLM into a tunable
semantic thermostat
for creativity vs. coherence. -
Introduce Syntactic Inertia-Aware Steering: Pre-compute the prompt's syntactic mass (determinism/formality) and scale intervention energy accordingly. For highly formal prompts (e.g., legal or scientific text), automatically increase α to overcome inertia; for open-ended prompts, use lower α to avoid rupture. The system can maintain stable limit cycles across diverse prompt styles without manual tuning, improving robustness in mixed-task pipelines.
-
Implement Hardware-Agnostic Critical Boundary Detection: Use the discovered bifurcation sensitivity to FP16 rounding errors to add a precision-aware safety margin. The system can detect when it operates near the Habitable Ridge (edge of chaos) and either switch to FP32 for critical steps or apply a small noise injection to avoid divergent trajectories. This ensures reproducible outputs across different GPU architectures, critical for production deployment.
-
Enable Scale-Adaptive Resonance Tuning: For larger models (e.g., 70B), automatically search for the
solitary resonance basin
(specific µ, σ coordinates) that pierces the inertial barrier. The system can perform a quick grid search over (µ, σ) at startup to find the optimal steering parameters for the given model size, avoiding the need for manual per-model calibration. This allows seamless scaling from 8B to 70B+ without loss of creative dynamics. -
Develop a Semantic Orbit Classifier for Real-Time Regime Identification: Train a lightweight classifier on PCA-projected hidden states (rotational momentum, variance, distance to centroid) to label the current regime (soliton, leap, hijack, etc.). The system can then adapt its steering in real-time—e.g., if Attractor Hijack is detected, reduce α or shift the centroid; if Syntactic Rupture is imminent, lower σ to narrow the intervention window. This enables closed-loop control of generation dynamics.
-
Add a
Soft Decay
Homeostatic Brake: Introduce a time-decaying intervention term that gradually reduces α as generation progresses, preventing over-steering in long outputs. The system can maintain stable limit cycles for thousands of tokens without drifting into crystallization or rupture, improving long-form coherence in tasks like novel writing or multi-turn dialogue.
Capabilities of the Improved AI System:
-
Sustained Creative Generation: Produces novel, non-repetitive text indefinitely (e.g., infinite story generation, open-ended ideation) without loops or collapse.
-
Adaptive Creativity Control: Users can dial creativity from conservative to radically exploratory via a single α parameter, with automatic safety against syntax destruction.
-
Self-Monitoring Generation: Detects and corrects its own semantic decay in real-time, ensuring quality in long-horizon tasks.
-
Cross-Platform Reproducibility: Generates consistent outputs across different GPUs and precision settings, even at critical dynamical boundaries.
-
Model-Agnostic Tuning: Automatically finds optimal steering parameters for any LLM size or architecture, reducing manual effort.
-
Hybrid Task Execution: Seamlessly switches between factual precision (low α) and creative exploration (high α) within a single conversation or document, based on detected prompt inertia and task cues.
Sources
- The Curious Case of Neural Text Degeneration
- Classifier-Free Diffusion Guidance
- Representation Engineering: A Top-Down Approach to AI Transparency
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering