Atra Core — A Field Without Meanings

WebAssembly buildTwo robots, Atra and Anchor, live in a field where nothing has a name or a meaning. Their code is identical; only their starting places differ. What reaches them is the stimulus at their own sensors and their own body's nerve signals. “Danger”, “food”, “safety” and “companion” are written nowhere. What they avoid, approach or come to rely on is settled by experience, or stays unsettled.

Stance: strict for developers and researchers, free for observers. Those who build and check it read no meanings or feelings into the two; what happened is checked against the mechanism and the record. Those who watch are free to read it as they like — “it looks happy”, “it refused” — that reading is theirs.

What this build adds. Four things are added to the original Atra Core. None of them teaches the two a meaning; they are rules on the side of the body and the senses.

The field (observer's view, third person)

Speed—
AtraAnchorhuntsdog / horse (comes close)preyotherresidentfruitscent (only the observer sees it)

Atra (first person)

—
Body —
What reaches it
Recalled turns (top = ahead)
—
Memory: side a moving thing was seen on (rows) × turn (columns)

Anchor (first person)

—
Body —
What reaches it
Recalled turns (top = ahead)
—
Memory: side a moving thing was seen on (rows) × turn (columns)

The words under “What reaches it” are labels for the reader; the core receives only ±1 bits. In the memory map, red leans toward that turn and blue away from it.

Episodes

#TimeMetRobotLowest bodyHighest hungerAteHuddledIn villageWakingsShakesCallsvs animalvs otherMean distanceEvents

Counts are ticks. “vs animal” and “vs other” are the observer's classes from actual movement every 5 ticks: toward / away / sideways / still / pushing. After “/” in Ate: fruit carried in during growing-up.

About this experiment

A third-person field, a first-person core

  • The field (third person): positions, animals, the rock, the thicket, the village and its residents, fruit, light, wind, scent, bites, body values. Only the observer knows all of it. The field has no edge: walk off the right and you come in from the left, off the top and you come in from the bottom.
  • What crosses over: for the biggest-looking moving thing, its size, looming, mouth, protrusions and direction; for the biggest-looking still thing, its size and direction; the same for a small still thing; for the loudest sound, its loudness, pitch and direction; the strength, change and quality (difference from its own) of scent; the strength and change of sweet scent; (switchable) the side sweet scent grows toward (ahead, right, behind or left); brightness; the side something is pressing on; the body's nerve value; how empty the stomach is; how far the body has turned. No names, no distances.
  • The core (first person): it turns what arrives into differences measured against its own body, cuts them into a few steps (bits), recalls a movement from memory, and hands back a rudder setting, a walking speed and a voice. It reads nothing of the field.

What is placed (assumptions — not meanings, but not neutral either)

  • Its own body is the yardstick: sizes against its own size, sounds against its own voice, smells against its own smell.
  • Body signals: pain = how sharply the body value just dropped. Discomfort = how far the body is below the “usual body” it has learned; the usual slowly follows the body, so a body that stays hurt becomes the new usual. Hunger = how empty the stomach is (no getting used to it). None carries a mark of good or bad; they are signals.
  • Memory: a correlation memory between sensory bits and motor bits (Associatron-style). What happens together is tied together, in comfort or not. Senses that keep arriving unchanged become familiar and leave less trace.
  • Body memory (this variant): a second memory, sensory bit → the pain that came with it. When pain comes, it is tied to the outside senses arriving then and to those of the last 6 wakings (0.75 per step back). When no pain comes, the ties of what is arriving fade slowly (learning rate 0.5, fading rate 0.02). Things always present (light and so on) keep arriving through painless times and fade; what arrives only before pain stays. Recall comes only from outside senses, never from pain, discomfort or hunger themselves.
  • Tiredness, rest mends, moving costs (this variant): tiredness builds while walking (slow 0.0005, fast 0.0025 per tick, up to 3× with a wound) and drains 0.004 per tick while still. A tired body walks at down to half speed. While still, wounds close 0.002 per tick faster. Walking fast empties the stomach three times as fast as standing still. All switchable; where to rest is not decided.
  • Smell quality (this variant): smells in the field mix, each kind carrying a “quality” on one axis like pitch. What arrives is only the difference between the mixed quality and its own smell (5 steps); no names.
  • Voice timbre (this variant, switchable): besides pitch, sound has one more axis, timbre (the field's physics). The two share one body and so one timbre; residents and each animal differ. What reaches the core is only the difference between the loudest sound's timbre and its own voice's (5 steps), whatever the loudness.
  • Ultrastability (Ashby): at the moment discomfort or hunger leaves tolerance, and again each time it gets a step worse, the motor side receives a fresh random lean. Which way is written nowhere. Back within tolerance, the lean is dropped. Memory is never rewritten.
  • Woken by change: the field advances tick by tick, but a core wakes only when what reaches it has moved to another step since its last waking. Otherwise the body keeps going as it was, and time spent does not turn into experience. Changes caused by its own turning do not count as news (efference copy).
  • A body with a front: what it sees, hears and feels arrives in 8 directions relative to its front. It moves by a rudder (hard left, left, straight, right, hard right) and three speeds (stop, slow, fast). Without a new command the rudder relaxes back to the centre; the walking rhythm continues.
  • One inborn reflex (orienting variant): it leans toward the side where sweet scent grows stronger, compared at the body's front, back, right and left. Ahead → straight on; right / left → turn that way and walk; behind → turn hard to either side and walk (like animals that steer by the left–right difference of a smell). It reads only the “side” bit that reached the core. Whether it fades with relief is a switch.
  • Sudden body change reaches back (switchable): when how well the body is changes sharply, that change reaches back over the last 6 decisions — strengthening them if better, weakening them if worse. This is the only place a direction of good and bad is placed, and it is the body's own. What it gets tied to is left to experience.
  • Voice: when much of what arrives has just changed, a “voice pressure” builds; above a level, a call of a chosen pitch sounds for 5 ticks. The scream at a bite is not chosen by the core: breath is forced out, higher and louder than any voice it can choose, for 8 ticks. Either way, the other receives only loudness, pitch and direction.
  • Body physics (field side): a bite from something big lowers the body, forces out a scream and knocks it back. The stomach empties with time, faster when moving; near empty, the body itself wears down. Touching fruit puts it in the mouth and fills the stomach. At zero the body dies and stays where it fell.
  • Wounds and wear: damage from bites or being trodden on is a wound; it closes slowly by itself, faster beside a resident or pressed against the other (more so at night). Wear from an empty stomach is not a wound, so nobody can mend it; the body recovers from it slowly by itself, and only while the stomach is not empty.
  • Game logic of the field (observer side): dogs and horses come up to a body they can see and stay close, and run from a hunter, calling out. Hunters go for a visible body well smaller than themselves, prefer whoever is alone, and cannot enter the thicket or village. Residents walk about the village and drift over to a body that comes near.
  • Residents' invitation (switchable): when a robot out in the open runs low, a free resident comes, takes its hand and walks toward the village. The robot receives only a touch on one side and a pull that shifts it off its own course. Walking hard the other way makes the hand slip; inside the village the hand lets go and it is free. Only when the stomach was the reason does the resident set one fruit in front of it. Nothing goes into the stomach directly; eating is up to the robot. It fills up to half, and nothing is given if the stomach is already half full.
  • Scenario randomness (switchable): with “Random animals” on, each episode's mix of animals and time of day is drawn at random, and the chances themselves drift; with “Earthquakes” on, the thicket now and then shifts between episodes. Both come from a separate generator seeded by the world seed, so the same seed gives the same scenario. The two are told nothing; a moved thicket reaches them only as a change in what they see.
  • Residents die too: there are five. Bitten by a lion while outside, a resident loses about half its body; a dead resident is not replaced and stays where it fell.

What is not placed

  • Names of actions (flee, hide, go to eat, follow), names of things, or any mark of “safe”, “danger”, “food” or “companion”.
  • Reward values, goals, scores. Nothing like dopamine or adrenaline acting on the body afterwards.
  • Words. Their voices are pitch only, with no meaningful units.
  • A meaning for a dead body. To the other it is just a still thing about its own size.

Why it is built this way (design record)

Each rule has something that happens without it. That is the reason it is here.

  • Field and core are kept apart: if the core read the field's state, the observer's meanings (“this is a lion”, “this is the village”) would pour straight in.
  • Woken by change, not by a clock: deciding and laying down memory every tick makes the length of time spent in one place itself into experience, and it mostly learns how to pass time where nothing changes.
  • Memory is not rewritten; only a lean changes: rebuilding memory whenever things go badly also wipes out the difference between what went well and what went badly.
  • The body has a front: feeling in absolute directions (north, south) turns the same situation into a different experience for every heading, and learning does not connect.
  • The rudder relaxes: holding a turn command until the next waking makes the body keep turning while nothing changes, so it spins on the spot.
  • The field has no edge: with an edge, a body pressed against it receives nothing new, does not wake, and can stay there until it starves.
  • Why the reflex orients here (this variant): the original reflex acts only when the scent has changed “since last time”, so nothing happens to a body that has stopped or is turning on the spot, and food set 1.8 ahead of it stays out of reach. Feeling the stronger side lets a stopped body start moving. Responding to what draws it (turning toward a scent) seems an important step in coming to take in outside information, so it is tested apart from the original.
  • Exactly one inborn reflex: without it, approaching fruit is barely learned from experience alone, and the robots come to depend on food carried to them. It fades so that experience, not the reflex, ends up deciding.
  • Death is final: if a broken body came back as a new one, the core would feel “the body suddenly full again” and strengthen whatever it did just before breaking (being near the lion). Death must never be a reward.
  • Mending heals wounds only: if being beside residents also cured starvation wear, the robots stop going out to eat and live for dozens of episodes in the village with an empty stomach.
  • One fruit when brought in hungry: if the invitation only took a starving body to a village with no food, each rescue would carry it away from food, and it would starve inside the village. Filling only to half leaves the need to go and find food itself.
  • The scream lies outside the chosen voices: if a scream had the pitch of an ordinary call, the ear could not tell the voice at a bite from the voice at a meeting.
  • Same seeds, same run: if results changed every time, one could not tell a change in the mechanism from chance. Because the same path can be retraced, one thing can be changed and compared.

Fixed values

  • perception noise 0.25 / motor noise 0.3 / discomfort tolerance 0.25 / hunger tolerance 0.5 / “worse” step 0.05 / habituation rate 0.05 / noticing threshold 0.4 / body memory: learning rate 0.5, fading rate 0.02, recalled-pain tolerance 0.05
  • reflex strength 3 (half after 8 reliefs, a third after 16) / reach-back strength 100 (last 6 decisions, ×0.75 each) / rudder 2.5° · 5° per tick, back to 85% each tick
  • 500 ticks per episode / field 100 × 60 (no edge) / 5 residents / 4 trees / fruit carried during growing-up about once per 170 ticks per resident

Reading it

  • “Moved toward”, “moved off”, “moved off together” and the like are the observer's readings from positions. Whether the robots meant anything by it is unknown.
  • Small differences change everything that follows in this field. Look at tendencies over several seeds rather than a single run.