Resonant-LM integrates diffusion-based reasoning with autoregressive generation, aiming to create an AI with rhythmic thinking capable of eliciting genuine inspiration.
Current architectures treat intelligence as static: one large network + sufficient data.
We observe something different in biological cognition: intelligence is the dynamic coordination of multiple cognitive processes across different timescales. Rhythms are not byproducts—they are the coordination mechanism.
This project explores whether introducing Temporal Dynamics into AI architecture can produce a system that doesn't just predict the next token, but truly thinks—with rhythm, memory, and genuine moments of insight.
Existing architectures struggle to adequately explain these everyday observations. Resonant-LM aims to handle them naturally:
| Phenomenon | System Behavior |
|---|---|
| 1. Cross-domain dialogue → sparks more inspiration |
Diverse inputs create tension → System triggers innovation |
| 2. Same-domain experts → rarely inspire each other |
Similar inputs create harmony → System maintains stability |
| 3. Inspiration in solitude → still possible |
Internal processes diverge → Self-conflict generates novelty |
| 4. Inspiration is → unpredictable |
Seed = Context + Time → Deterministic chaos appears random |
| 5. Capturing inspiration → happens immediately |
Time flows forward → The same moment never repeats |
| 6. Brainstorming → is effective |
More agents → More interactions → Higher probability of innovation |
| 7. "Sleep on it" → helps |
Background processing continues → New connections form during rest |
Common thread: Inspiration emerges when internal cognitive processes diverge at specific moments.
The design of ResonantLM is inspired by: Cognitive Detuning—when linear logical reasoning (steady-state) encounters time-clock-driven random perturbations (transient-state). This detuning forces the system, via a random masking mechanism, to escape local optima and retrieve deeply embedded memories—those seemingly distant yet essentially relevant "impressions."
flowchart TB
U["👤 User Input"]
subgraph M2["🧩 Representational Reasoning (DLM)"]
ENC["DLM Encoder<br/>→ z_T"]
DEN["DLM Denoise Loop<br/>z_T → ... → z_0"]
ENC --> DEN
end
subgraph M1["🧠 Memory Retrieval"]
VDB[("Vector DB")]
DLM_M[("DLM Structured Memory")]
end
subgraph M4["💡 Inspiration Elicitation"]
CLK["Inference Clock"]
FREQ_D["Frequency Difference Detection<br/>AR Spectrum vs DLM Spectrum"]
TRIG_R["Stochastic Trigger"]
NOISE_G["Inspiration Noise<br/>z_inspire"]
CLK --> FREQ_D --> TRIG_R --> NOISE_G
end
subgraph M3["🗣️ Expression Generation (AR)"]
BR["z → token<br/>Bridge"]
AR_G["AR Decoder"]
BR --> AR_G
end
U --> ENC
DEN -->|"latent query"| VDB
VDB -->|"retrieved results"| DEN
DEN -->|"completion"| DLM_M
DLM_M -->|"complete latent"| DEN
DEN -->|"AR state"| FREQ_D
AR_G -.->|"AR state"| FREQ_D
NOISE_G -->|"inject inspiration"| DEN
DEN -->|"z_final"| BR
AR_G --> OUT["👤 Output"]
style M1 fill:#0f3360,stroke:#53d8fb,color:#eee
style M2 fill:#533483,stroke:#e94560,color:#eee
style M3 fill:#16213e,stroke:#2ecc71,color:#eee
style M4 fill:#1a1a2e,stroke:#e8c547,color:#eee
Thinking style: Not left-to-right, but simultaneous and holistic.
This module constructs a coarse reasoning skeleton before refining details. Plan first, speak later.
Input → Noise Space → Coarse Structure
→ Fine Details
→ Fused Representation
Memory style: Pattern completion under rhythmic pulsing.
Each cycle completes one retrieve-filter-organize loop. Multiple cycles form a sequence—a forward scan across relevant memories.
Query → Cycle 1: Complete → Select → Update
→ Cycle 2: Complete → Select → Update
→ Consolidate Retrieved Set
Creation style: Suppress obvious paths. Explore remote connections.
Gating → Filter direct associations
→ Expand search space
│
▼
Search Cycle
└─ Parallel Mutators
└─ Concept Fusion
└─ Analogical Mapping
└─ Perspective Shifting
│
▼
Signal Spike → Exceeds Threshold? → Inspiration Candidate
│
▼
Ranking: Novelty × Relevance
Incubation: Suppress direct associations. Open remote search space.
Scanning: Search association space. Multiple creative mutators operate in parallel.
Detection: When connection strength surges—register an "Aha!" moment.
Speaking style: Fluent output, grounded in high-level planning.
Receives reasoning skeleton, memory fragments, and inspiration seeds as a generation plan. A self-correction loop catches incoherence early.
Generation Plan → Injection → Phrase Generation
→ Token Optimization
→ Self-Correction
→ Output
Planning Side Execution Side
┌─────────────────┐ ┌─────────────────┐
│ Global │ Structure │ Local │
│ Structure │──────────────────►│ Injection │
├─────────────────┤ ├─────────────────┤
│ Inspiration │ Seeds │ Style │
│ Signals │──────────────────►│ Generation │
├─────────────────┤ ├─────────────────┤
│ Optimization │◄──Feedback────────│ Self-Correction │
│ (Feedback) │ │ │
└─────────────────┘ └─────────────────┘
- The Planning Side constructs the conceptual structure of thought.
- The Execution Side writes the actual text.
- The Inspiration Module connects both—extracting conceptual atoms from planning and injecting them as seeds into the execution layer.
| Current Paradigm | Resonant-LM Approach |
|---|---|
| Single model, static clock | Multiple cognitive rhythms |
| Memory = Context window | Memory = Explicit retrieval + Consolidation |
| Creativity = Temperature sampling | Creativity = Internal tension |
| Correction = Prompt patching | Correction = Dual-engine feedback |
| Static computation graph | Dynamic rhythmic system |
🔬 Early research. Architecture design phase.
- Core clock system prototype
- Coupled engine implementation
- Independent module validation
- End-to-end joint training
- Benchmark comparison with existing architectures
For those interested in the biological foundations of temporal coding and neural oscillations:
- Lisman, J. & Jensen, O. (2013). The theta-gamma neural code. Neuron, 77(6), 1002-1016.
- Kounios, J. & Beeman, M. (2009). The Aha! moment: The cognitive neuroscience of insight. Current Directions in Psychological Science, 18(4), 210-216.
- Tort, A. B. L., et al. (2010). Measuring phase-amplitude coupling between neuronal oscillations of different frequencies. J Neurophysiology, 104(2), 1195-1210.
- Buzsáki, G. (2006). Rhythms of the Brain. Oxford University Press.
- Austin, J., et al. (2021). Structured denoising diffusion models in discrete state-spaces. NeurIPS.
- Li, X. L., et al. (2022). Counterspeeches up my words! Diffusion-LM improves controllable text generation. NeurIPS.
"Intelligence is not a state—it is a rhythm."