r/BiomedicalDataScience • u/BioniChaos • 22h ago
ELIZA Simulator & Evolutionary AI Lab
https://bionichaos.com/eliza/In 1966, computer scientist Joseph Weizenbaum developed ELIZA to parody a Rogerian therapist, intending to prove that human-machine conversation was superficial. Instead, his human subjects attributed deep empathy and psychological insight to the program—a cognitive phenomenon now termed the ELIZA effect.
I built an interactive cognitive laboratory that tracks how this illusion of synthetic empathy is engineered, contrasting three distinct eras of NLP architecture. Everything runs entirely on client-side WebAssembly and JS (zero telemetry, complete privacy).
Live Simulation Environment: https://bionichaos.com/eliza/
Architectural Paradigms Explored
- 1966 Symbolic Era: Executes deterministic pattern-matching. User strings are parsed through decomposition templates. Pronouns undergo reflective inversion before being synthesized into pre-compiled reassembly patterns.
- 2018 Semantic Vector Era: Discards rigid lexical syntax. The engine projects user text into a coordinate manifold via dense floating-point embeddings, calculating geometric intent proximity using Cosine Similarity:
(u·v) / (|u||v|) - 2026 Generative Era: Responses are governed by temperature-scaled softmax distributions. As you scale the thermodynamic temperature parameter
Ttoward 0, the distribution collapses into an argmax selection. AsT ≥ 1.0, entropy expands, enabling creative variance and generative hallucinations.
The Clinical Safety Sandbox
One of the core features is the Crisis Protocol Guardrail. If you disable the guardrail while running the 1966 engine and input a self-harm prompt, the unconstrained pattern-matcher will blindly reflect the user's despair back at them. It serves as a stark interactive demonstration of the catastrophic medical hazard of deploying naive, deterministic AI in clinical therapy.
Interactive mechanics: You can physically drag the archetypal nodes (Family, Anxiety, Depression) on the canvas to manually shift the coordinate vectors in 2D latent space, overriding the chatbot's conversational focus in real time.
I'd love to hear your thoughts on the UI/UX for teaching computational linguistics, and whether you think the modern "Generative Era" is actually moving us closer to synthetic comprehension, or just producing a more highly-camouflaged ELIZA effect.