<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lyakh Sergey on Medium]]></title>
        <description><![CDATA[Stories by Lyakh Sergey on Medium]]></description>
        <link>https://medium.com/@sergeylech?source=rss-efb0aaa39e8c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*NQU3rOeQ-1OOnvjR.jpg</url>
            <title>Stories by Lyakh Sergey on Medium</title>
            <link>https://medium.com/@sergeylech?source=rss-efb0aaa39e8c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 03:17:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sergeylech/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Autonomous AI With 0% LLM: 16 Million Steps in Rust, a Fly Connectome, and What Failed Along the Way]]></title>
            <link>https://medium.com/@sergeylech/autonomous-ai-with-0-llm-16-million-steps-in-rust-a-fly-connectome-and-what-failed-along-the-way-3f4eaaf41296?source=rss-efb0aaa39e8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f4eaaf41296</guid>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[rust]]></category>
            <category><![CDATA[active-inference]]></category>
            <category><![CDATA[neuroscience]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Lyakh Sergey]]></dc:creator>
            <pubDate>Wed, 02 Dec 2026 19:56:43 GMT</pubDate>
            <atom:updated>2026-12-02T19:56:43.091Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How a rejected blog post turned into two Zenodo preprints, a 6-rung self-improvement ladder, a 24/7 Minecraft dyad, and zero-shot transfer to a LEGO EV3 robot.</em></p><figure><img alt="A glowing brain above a blocky Minecraft landscape, encircled by light. The emblem reads EDEN, 0% LLM, 24/7 AI LIFE." src="https://cdn-images-1.medium.com/max/780/1*TJsUNWOsCkMXY5aT2Hl8hQ.jpeg" /></figure><p><em>AI tools assisted with editing and formatting this post.</em></p><p>Six months ago, I submitted a short blog post proposing a “barycentric” mission architecture for autonomous agents — no hardcoded goal trees, no LLM prompting every action, just behavior emerging as a dynamic equilibrium between bodily needs and the surrounding terrain.</p><p>Moderators rejected it. Honestly, they did me a favor. At the time, I had an intuition and a few rough diagrams, but no formal framework, no reproducible numbers, and no answer to the hardest question in AI research: <em>how do you know this isn’t just a nice metaphor?</em></p><p>Half a year later, that rejected note has grown into two preprints on Zenodo, a 24/7 live embodied testbed running two twin agents (<strong>Adam</strong> and <strong>Eva</strong>) with <strong>0% LLM calls</strong>, over <strong>16.7 million cumulative live steps</strong> in Rust, and a zero-shot transfer onto a physical <strong>LEGO EV3</strong> robot running at <strong>171.4 microseconds per step</strong>.</p><p>Just as importantly, it has produced several <strong>publicly documented, cryptographically locked falsifications</strong> — hypotheses of ours that broke under testing, and real bugs we caught without sweeping them under the rug.</p><p>Here is how we built it, what worked, and what broke.</p><h3>The Theoretical Spark: Replying to The Abstraction Fallacy</h3><p>The catalyst for formalizing our approach was Alexander Lerchner’s 2026 paper <em>The Abstraction Fallacy</em> (Google DeepMind), which argues that static symbolic computation cannot instantiate consciousness.</p><p>Together with co-author Edward Meyman, we published a theoretical reply on Zenodo: <a href="https://zenodo.org/records/20369331"><em>The Topology of Consciousness: Transport, Terrain, and the Emergent Self-Model</em></a> (DOI: 10.5281/zenodo.20369331).</p><p>In plain English, our <strong>Abstract-Transport Framework (ATF)</strong> agrees with Lerchner that static symbol manipulation is inert — but rejects the conclusion that abstraction must rely on an external human interpreter. Instead, we model agency as <strong>traversal</strong> resting on three inseparable pillars:</p><ol><li><strong>Terrain</strong> — an independent physical, spatial, and linguistic environment.</li><li><strong>Metabolically Constituted Transport</strong> — trajectory planning coupled directly to homeostatic needs (health, hunger, wetness, pain), not arbitrary scalar rewards.</li><li><strong>Landscape Reshaping &amp; an Emergent Self-Model</strong> — the agent changes its world (builds shelter, invents shared words) and builds a causally active model of itself in the process.</li></ol><p>Let’s be clear up front: <strong>none of our work claims to solve the hard problem of subjective qualia.</strong> What ATF <em>does</em> offer are strictly falsifiable structural and dynamical predictions — and that meant we had to put them into a live, hostile testbed.</p><h3>Inside Adam &amp; Eva: 0% LLM, 100% Embodied</h3><p>We built a persistent dyadic testbed in Minecraft 1.21.11 (and a pure-Rust runtime, adam-cloud-rs) housing two twin agents, <strong>Adam</strong> and <strong>Eva</strong>. There is <strong>not a single LLM call</strong> anywhere in their decision loop:</p><ul><li><strong>Subcortical Brainstem:</strong> An isolated <strong>166,700-neuron <em>Drosophila</em> (fruit fly) connectome</strong> with 3-factor dopaminergic plasticity, stereo visual threat/approach channels, and directional navigation (scaled to a 32,768-neuron profile for the LEGO EV3 body).</li><li><strong>Active-Inference Cortex:</strong> An 11–18 stage active-inference loop featuring a 512-dimensional imaginal prism, episodic memory, asymmetric offline sleep (NREM pruning + hazard-guarded REM recombination), reflex-to-cortex distillation (Acto-Prism), and a decentralized Naming Game for emergent vocabulary.</li><li><strong>Spatial Imagination:</strong> A compact <strong>16 KB 3D voxel sketchpad in Rust</strong> for rapid counterfactual rollouts (<em>“what happens if I step there?”</em>).</li><li><strong>Zero Shared Memory:</strong> Adam and Eva share <strong>no memory and no filesystem</strong>. Every bit of knowledge they exchange must travel through the world itself — via behavior, gaze, or open in-world chat ([VETO], [DEICTIC], [SOS]).</li></ul><p><a href="https://raw.githubusercontent.com/lech2000/from-topology-to-traversal/main/figures/fig1_imaginal_transport.png">Figure 1. Active imaginal transport and 512-dimensional continuity</a></p><h3>Studies 1–3: Proving the Self-Model Isn’t Just Decoration</h3><p>In our newly released empirical companion, <a href="https://zenodo.org/records/24623815"><em>From Topology to Traversal (v3.0.0)</em></a> (DOI: 10.5281/zenodo.24623815), we report four cumulative experimental programs:</p><ul><li><strong>Study 1 (12.6h live ecological run, 2,537 planning cycles, 7,492 dyadic utterances):</strong> Realized intentions preserved significantly higher 512d imaginal continuity than failed ones (Adam: cos = 0.813 vs. 0.663, <em>p</em> = 1.8×10⁻⁴; Eva: 0.764 vs. 0.662, <em>p</em> = 1.4×10⁻⁶). Internal pre-action horizon features strictly outperformed external observables alone (ΔAUC = +0.038 and +0.046). Without shared memory, the twins converged on <strong>24 shared words</strong>, built 539 nest blocks, and diverged ontogenetically (Theory-of-Mind accuracy: Eva 59.6% vs. Adam 32.1%).</li><li><strong>Study 2 (88,000 steps of frozen-code ablations):</strong> A clean triple dissociation. Severing self-model closure (Zombie-NoClosure) collapsed goal realization from 97.6% to 38.2% and shelter building from 125.8 to 2.0 blocks. Removing metabolic grounding (No-MB) left formal goal execution intact (93.9%) while severing rain sheltering (65.5% → 11.0%) and raising mortality <strong>7×</strong>. Isolating an agent (Solo) preserved survival but wiped out shared lexicon emergence (14.6 → 0.0 words).</li><li><strong>Study 3 (5 SHA-256-preregistered studies, &gt;528,000 steps + 60 Rust 3D episodes):</strong> Turning the agent’s internal depository into a passive WriteOnly-Recorder collapsed predictive AUC from 0.618 to 0.227 (<em>p</em> = 0.0030)—proving it is causally active, not epiphenomenal. The 16 KB Rust 3D rollout cut hazards from <strong>51.75 to 0.00</strong> (<em>p</em> = 0.0004), and in-world cultural warnings achieved <strong>0.750 zero-shot trap veto precision</strong> (<em>p</em> = 0.0016).</li></ul><p><a href="https://raw.githubusercontent.com/lech2000/from-topology-to-traversal/main/figures/fig5_phase2_ablations.png">Figure 5. Triple dissociation in frozen-code ablations</a></p><h3>Study 4: The 6-Rung Self-Improvement Ladder (and Our Honest Failures)</h3><p>The centerpiece of v3.0.0 is <strong>Study 4</strong>: a 6-rung <strong>Self-Improvement Ladder (S1–S6)</strong> tested across six <strong>SHA-256-locked</strong> Common Random Numbers experiments (ATF-SI-01 through ATF-SI-05b, 10 paired seeds each). Every protocol was hashed and frozen <em>before</em> running the test seeds.</p><p>Here is what each rung achieved — and where our hypotheses failed:</p><ol><li><strong>Rung S2 — World Model + Macro-Skills (</strong><strong>ATF-SI-01, CONFIRMED 3/3):</strong> Factorized transition modeling with verified macro-skill chunking cut steps by <strong>30.1%</strong> (<em>p</em> = 2.50×10⁻⁴) and slashed late search compute (beam expansions) by <strong>74.1%</strong> (<em>p</em> = 1.84×10⁻⁵).</li><li><strong>Rung S3 — Episodic Index + NREM/REM Sleep (</strong><strong>ATF-SI-02, PARTIALLY SUPPORTED):</strong> Context-indexed episodic recall cut return-mission steps by <strong>32.2%</strong> (<em>p</em> = 8.62×10⁻⁷), and hazard-guarded REM cut sleep-induced hazards <strong>13.8×</strong> (<em>p</em> = 1.92×10⁻³). <strong>What failed:</strong> indiscriminate REM recombination bloated option scoring—falsifying our H2 hypothesis and forcing us to build a selective REM admission gate.</li><li><strong>Rung S4 — Metacognitive Surprisal Gating (</strong><strong>ATF-SI-03, PARTIALLY SUPPORTED):</strong> A rolling 32-step SurprisalGate achieved calibrated Expected Calibration Error (<strong>ECE = 0.048</strong>), cut post-drift hazards by <strong>62.7%</strong>, and reduced planning-depth thrashing by <strong>63.8%</strong> via hysteresis. <strong>What failed:</strong> blind search deepening (d=5) lost to instant stale-skill invalidation (H3 falsified).</li><li><strong>Rung S5 — Counterfactual Causal Credit Assignment (</strong><strong>ATF-SI-04, PARTIALLY SUPPORTED, 0 falsified):</strong> Attributing failure solely to the maximum-surprisal causal edge plus precondition splitting reduced upstream catastrophic forgetting <strong>27.5×</strong> compared to global penalties (belief drift 0.014 vs. 0.385) and preserved <strong>91.3%</strong> retention on unaffected skills.</li><li><strong>Rung S6 — Pure-Rust Longitudinal Validation + LEGO EV3 Transfer (</strong><strong>ATF-SI-05 &amp; </strong><strong>ATF-SI-05b):</strong></li></ol><ul><li>In our first SHA-256-locked run (ATF-SI-05, 16,440 Rust ticks), longitudinal speedup hit <strong>-49.0%</strong> with 0 deaths—<strong>but LEGO EV3 transfer failed 0/10</strong>. Why? The locked run caught a real vertical coordinate-frame bug (y = 0 vs. y = 64).</li><li>Instead of silently patching and overwriting the study, we kept ATF-SI-05 locked and untouched as a documented failure, fixed the coordinate frame, and ran a fresh preregistered replication on new seeds (ATF-SI-05b, 16,456 ticks).</li><li>Result (<strong>CONFIRMED 3/3</strong>): <strong>-49.4%</strong> speedup vs. Genesis (<em>p</em> = 4.80×10⁻¹⁵), <strong>-48.1%</strong> vs. matched Cold Control (<em>p</em> = 9.40×10⁻¹⁶), <strong>0 deaths</strong>, <strong>0 shared-FS violations</strong>, <strong>ECE = 0.040</strong>, and <strong>10/10 zero-shot LEGO EV3 transfer at 171.4 µs/step</strong>.</li></ul><p><a href="https://raw.githubusercontent.com/lech2000/from-topology-to-traversal/main/figures/fig8_self_improvement_ladder_s2_s5.png">Figure 8. Self-improvement ladder, rungs S2–S5</a></p><p><a href="https://raw.githubusercontent.com/lech2000/from-topology-to-traversal/main/figures/fig9_s6_longitudinal_and_ev3_transfer.png">Figure 9. Longitudinal validation and LEGO EV3 transfer</a></p><p>When we rolled adam-cloud-rs v0.4.0 onto the live production canaries (preserving 100% continuity at Adam step <strong>15.14M</strong> and Eva step <strong>1.65M</strong>), a multi-day Stage 14 stall broke immediately: both agents climbed from 0/10 to 9/10 discovered causal edges, rolling ECE converged to <strong>0.010</strong>, and the selective REM gate filtered out <strong>99.97%</strong> of redundant combinations (4 admitted vs. 14,220 gated out).</p><h3>Verify the Data Yourself (and Watch Them Live)</h3><p>To balance scientific auditability with protecting our proprietary production runtime (adam-cloud-rs is retained privately, with academic audits available under mutual NDA), we published the complete <strong>IP-safe verification package</strong>—manuscript (PDF + LaTeX), all 9 figures, full Studies 1–4 JSON datasets, all 6 SHA-256 preregistration locks, and standalone Python 3 verification scripts—on both Zenodo and GitHub:</p><ul><li><strong>GitHub Verification Repo:</strong> <a href="https://github.com/lech2000/from-topology-to-traversal">github.com/lech2000/from-topology-to-traversal</a></li><li><strong>Zenodo Preprint (v3.0.0):</strong> <a href="https://zenodo.org/records/24623815">zenodo.org/records/24623815</a></li><li><strong>Foundational ATF Paper:</strong> <a href="https://zenodo.org/records/20369331">zenodo.org/records/20369331</a></li><li><strong>Watch Adam &amp; Eva 24/7:</strong> <a href="https://kick.com/sergeylech">Kick</a> · <a href="https://www.twitch.tv/sergeylech">Twitch</a></li></ul><p>If you care about 0%-LLM embodied AI, connectomics, active inference, or just want to watch two digital twins try to survive the rain, invent words, and avoid phantoms without a single transformer parameter — drop into the repo or the stream. Hard technical criticism is always welcome.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f4eaaf41296" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>