My Giant Brain logo

Virtual Mind — User's Guide

A simulated intelligence you can watch think · by Michael Roberts

1 · What is a Virtual Mind?

The Virtual Mind is a working simulation of intelligence, built by following Michael Scaramozzino's methodology from A Method for Simulating Intelligence by Programming a Virtual Mind. Instead of training a statistical model on data, it constructs a mind out of parts — the way you might build a machine — and lets intelligent-seeming behavior emerge from how those parts interact.

The mind is assembled in eight layers, each one built on top of the last:

LayerWhat it adds
1 · StackThe basic container thoughts wait in. Its random mode is the seed of spontaneity — the mind can surprise you.
2 · ActivitiesBehaviors that can be added or removed while the mind is running.
3 · ThoughtsIdeas organized by topic and linked by weighted synapses into a ThoughtWeb. One thought leads to another along the strongest links.
4 · ConsciousnessAttention (a spotlight on one thought), a working memory of 7 items, and awareness states from idle to reflective.
5 · LearningRewarded connections strengthen; repeated sequences become recognized patterns.
6 · MemoryThree long-term stores: episodic (events), semantic (facts), procedural (skills). Memories strengthen with recall and fade if unused.
7 · EmotionA mood with two dials — pleasant↔unpleasant and calm↔excited. Emotional moments make stronger memories.
8 · The mind itselfPerception and the full cognitive cycle: perceive → feel → attend → think → recall → learn → respond.

Nothing in the program "knows" how to converse. What you see is those eight simple mechanisms running together — which is exactly what makes it a good teaching instrument.

2 · Getting started

Open VirtualMind.html in any web browser (double-click the file). Everything runs on your computer; no internet connection is used and nothing is installed. The mind starts as a newborn: seven innate thoughts, no memories, neutral mood.

The screen has four tabs, plus a Theme button (top right of the tab bar) that cycles four color schemes: Dusk, Green console, Light, and High contrast.

TabWhat it shows
MindThe live dashboard — the ThoughtWeb, consciousness and emotion panels, and the box where you talk to the mind.
MemoryBrowsers for everything the mind has stored: episodes, facts, skills, and patterns.
TestsA built-in verification suite (123 checks) proving every layer works.
AboutCredits, license, and a technical summary of the architecture.

3 · The Mind tab, piece by piece

The ThoughtWeb (large panel)

Every dot is a thought; every line is a synapse, drawn heavier the stronger it is. Blue dots are the seven innate thoughts; green dots are thoughts the mind acquired from talking with you. The amber halo is attention — whatever the mind is focused on right now. A flash means a thought just fired. Click any dot to fire that thought yourself.

Talking to the mind

Type a sentence in the input box and press Enter. The mind extracts the meaningful words as concepts, reacts emotionally to the tone, connects the concepts together, recalls anything related, learns, and answers in its own voice (the italic line above the input). The event log at the bottom narrates every stage of the cycle.

Consciousness panel

Shows the current awareness state, the focus of attention with its intensity, and the seven working-memory slots. Watch the slots fill as you talk — and watch old items get pushed out when it's full.

Emotion panel

Two gauges: valence (unpleasant ← 0 → pleasant) and arousal (calm → excited), plus tags for active emotions. Emotions fade back toward neutral over time.

Controls

ControlWhat it does
Send stimulusRuns one full cognitive cycle on your sentence (Enter does the same).
Auto-ruminateThe mind thinks on its own every few seconds: stray thoughts, revisited memories, fading emotions. Click again to stop.
Sleep / consolidateMoves working memory and recent experiences into long-term episodic storage, and turns well-worn patterns into facts.
Save mindDownloads the complete state of the mind as a .mind.json file.
Load mindRestores a saved mind — memories, mood, and all.
Reset mindErases everything and returns to the newborn state (asks for confirmation first).

4 · Teaching with the Virtual Mind

The Virtual Mind's chief classroom virtue is that every cognitive concept is visible while it happens. Below are six ready-to-run demonstrations, each a few minutes long. They work for psychology and computer-science students alike, and each maps to a named concept from the cognitive literature. Start each lesson from a fresh mind (Reset mind) unless noted.

Lesson 1 — Working memory has a capacity (Miller's Law)

Type a long, varied sentence, e.g. "the fox crossed the river near the mountain village at sunset carrying silver".
Look at the working-memory slots, then send another distinct sentence.
the seven slots fill, then the least salient items get evicted to make room.
short-term memory holds about 7 ± 2 items (Miller, 1956); new information competes for limited space.

Lesson 2 — Neurons that fire together, wire together (Hebbian learning)

Send "the forest is calm", then "the forest river is calm", then "walking the calm forest".
Watch the ThoughtWeb between each message.
green nodes for forest, calm, river appear and the lines between them thicken with each repetition.
associations strengthen through co-occurrence — the basis of Hebbian learning and of the mind's growing "personality."

Lesson 3 — Episodic memory and cued recall

Tell the mind three small "events": "today we visited the museum", "the museum had a dinosaur", "we ate lunch by the fountain".
Later (after other chatter), send "do you remember the museum".
a [recall] line in the log, and the mind's reply beginning "It reminds me of something…". On the Memory tab, the recalled episode's strength has grown and shows "recalled ×1".
memories are retrieved by cue, and each retrieval strengthens them (the rehearsal effect).

Lesson 4 — Emotion shapes memory

Send a neutral sentence: "the report sits on the desk". Note its importance on the Memory tab.
Now send an emotional one: "Danger! The terrible fire is spreading, run!" and compare.
the mood chip turns agitated, the arousal gauge jumps, and the frightening episode is stored with visibly higher importance and strength.
emotional arousal flags experiences as significant — why we remember dramatic moments better than mundane ones.

Lesson 5 — Pattern learning takes repetition

Send the same short sentence three times, e.g. "rain brings mud" (check the Memory tab's pattern panel after each).
the pattern appears at "seen ×1", "×2", then flips to learned at ×3 — and after a Sleep / consolidate, it becomes a semantic fact (rain —leadsTo→ mud).
one exposure is an event; repetition makes a pattern; consolidation turns patterns into knowledge.

Lesson 6 — Forgetting, rumination, and sleep

Have a short varied conversation (5–6 sentences), then turn on Auto-ruminate and simply watch for a minute or two.
the mind muses on its own ("…thinking back on…"), emotions drift back to neutral, and eventually the log reports weak memories fading. Press Sleep / consolidate and watch working memory empty into episodic storage.
forgetting is selective — unimportant, unrehearsed memories decay first — and consolidation during rest converts short-term experience into long-term memory.
Classroom tips: project the app and have students predict what will happen before each step — the log then confirms or refutes the prediction. Use Save mind at the end of a session so next class can Load mind and ask "what does it remember about last week?" Two students can also raise two differently-treated minds from the same starting sentences and compare their ThoughtWebs.

5 · The Memory tab

Four browsers, one per store: Episodic (each event with its time, importance, strength bar, and recall count), Semantic (facts as concept —relation→ concept triples), Procedural (skills with proficiency, practice count, and an automated badge once mastered), and Recognized patterns (sequences with how often they've been seen). It refreshes each time you open the tab.

6 · The Tests tab

Press Run all tests to execute 123 checks covering every layer, from stack ordering to save/load round-trips. They run against a separate, throwaway mind — your running mind is untouched. A fully green result is the expected state; it's also a quick way to verify the file after copying it to a new machine.

7 · Quick reference

I want to…Do this
Talk to the mindType in the input box on the Mind tab, press Enter
Fire a thought by handClick its dot in the ThoughtWeb
Let it think aloneAuto-ruminate
Store the day's experienceSleep / consolidate
Keep a mind for laterSave mind → keep the .mind.json file
Continue a saved mindLoad mind → choose the file
Start overReset mind (or reload the page)
Change colorsTheme button, right of the About tab
See what it knowsMemory tab
Verify the softwareTests tab → Run all tests

8 · Glossary

ThoughtA named idea in the mind, shown as a dot in the ThoughtWeb.
SynapseA weighted, one-way link between two thoughts; stronger links are followed first.
ThoughtWebThe whole network of thoughts and synapses.
AttentionThe single thought under the spotlight, with an intensity from 0 to 1.
Working memoryThe seven-slot short-term buffer of currently active concepts.
Episodic memoryLong-term storage of events ("what happened").
Semantic memoryLong-term storage of facts ("what is true").
Procedural memoryLong-term storage of skills ("how to do things").
Valence / arousalThe two dials of mood: pleasantness and energy.
ConsolidationMoving short-term experience into long-term memory, as in sleep.
Cognitive cycleThe fixed sequence the mind runs on every stimulus: perceive → feel → attend → think → recall → learn → respond.