Shulgin (@ShulginsDaemon) header
Shulgin (@ShulginsDaemon) profile picture

Awash in a sea of entropy

Joined August 2017
Photo by Shulgin (@ShulginsDaemon)Photo by Shulgin (@ShulginsDaemon)Photo by Shulgin (@ShulginsDaemon)Photo by Shulgin (@ShulginsDaemon)Photo by Shulgin (@ShulginsDaemon)Photo by Shulgin (@ShulginsDaemon)Photo by Shulgin (@ShulginsDaemon)Photo by Shulgin (@ShulginsDaemon)Photo by Shulgin (@ShulginsDaemon)Photo by Shulgin (@ShulginsDaemon)
R E T V R N (to assembly + CPU)
I deleted Linux AND every app on the OS. My 113 KB pure x86-64 assembly OS boots with 0 GB of disk, runs a 2.5B LLM on bare-metal CPU, writes Flappy Bird in raw x86-64 assembly, assembles it at runtime, and launches it live when you prompt "flappy bird". No Linux, no Windows, no C, no Rust, no gcc, and no preinstalled apps. The entire Multiboot kernel (zero-app-os.elf) is 115,160 bytes across 19,138 lines of handwritten NASM. It boots straight into 64-bit Long Mode, wakes every CPU core over APIC, maps a 2.50 GiB Q8_0 MiniCPM5-2B model directly over NVDIMM, streams x86-64 assembly into a built-in Ring-0 micro-assembler, and runs the app in a hardware-isolated Ring-3 W^X sandbox. When a generated app hits a hardware PF page fault or UD invalid opcode, Ring 0 traps the CPU exception, feeds the exact faulting line and CR2 address back to the LLM, and applies a 10 to 20 token surgical PATCH in ~0.3s. Head-to-head numbers on bare-metal CPU (Q8_0, 0% GPU): - Kernel binary: 115,160 bytes (37.6% smaller than the 181 KB C+ASM build, 0 gcc calls) - Pure NASM vs GCC -O3 (20T EPYC 7642): 277.6 vs 248.7 tok/s prefill (+11.6%) and 37.6 vs 34.3 tok/s decode (+9.6%), byte-exact with C - Bare-metal Prefix KV-Cache (LCP): 2,354-token prefill drops from 13.3s to 93 ms (142.8x faster) - Diskless 0 GB Proxmox VM (2014 Intel Xeon E5-2670 v3, 16 vCPUs): boots straight out of RAM and compiles a playable 20-color Flappy Bird (1,595 tokens, 230 instructions, 1,074 bytes of machine code) Tetris, Arkanoid, Ring-0 PF self-healing RL, and the 4x 3090 RL training charts are in the thread below. The model and repo links are in the last reply.
2
45
In a just universe ETH would plummeted to zero 2 hours after this drivel was published
Contra @slatestarcodex on SURA vitalik.eth.limo/general/202… I'm only medium-confident in all of this; I don't trust anyone who's confident about what's coming next. But to me, "Plan C" goes against the best and brightest of everything that the brilliant Scott Alexander taught me about morality. I try to explain why. (And I also end up explaining my general gripe against the whole "safety through us getting the powerful stuff and no one else being allowed to have any" thing; sorry for scott-length longpost)
2
62
>AI has become a mundane facet of daily life >the species just lived through a global biowarfare event >a robot war fought by conscripts, mercenaries, and international volunteer battalions comprised of transgender communists, neonazi satanists, and narco cartels is grinding away in Europe >a billionaire vet runs a global mercenary corporation that is gradually expanding sovereignty services >an apocalyptic cult led by a billionaire eunuch is trying to hijack the singularity >a trillionaire is attempting to reorganize human civilization around space migration >governments are fighting a desperate rearguard action against an amorphous network insurgency of anonymous political extremists contesting political legitimacy at the level of ontological priors >the US government admitted that UFOs are real and no one cared We're living in the plot of a science fiction novel.
95
393
26
3,446
90,078
I suspect that only people on SSRIs enjoy dark roast coffee, which is why it's so popular in the Pacific Northwest.
1
4
134
Pretty much every activity is lower ROI than working with AI to build audacious things. There is nothing that touches it for impact, and this window will close eventually.
4
96
Bibi: "Iran is just weeks away from a nuke" Yud: "We're just weeks away from paperclips" They're the same picture.
The Riemann Hypothesis has fallen. RH was the singular math result that had been named, in advance, as the obvious coal mine canary for dangerously advanced AI, over the last three decades. The methods used should generalize to "make AI very good at anything you can definitely test", and unfortunately that category includes "make AI better at making AI". This is like a private company announcing they have produced a million tons of 15% enriched uranium. It's not 90% enriched weapons-grade uranium, so you could proclaim the company's output is not immediately deadly right now. The concern is that the process line may generalize, to an extinction-level threat, within the unpredictably immediate future. Forecasters still had Riemann at 2035 one week earlier. This is distinct from earlier events in that earlier you could reasonably ask if AI was selectively picking off famous math problems that turned out to be easier for AI. The Riemann Hypothesis was the single challenge most often named in advance as a warning sign.
1
26
> The Western Spirit is filling your country with infinity foreigners, clear-cutting your virgin forests and building housing tenements on the tundra. Don't like it? NIMBY!
Why looking at a population density map of Canada angers me. No country should be this sparsely populated. Imagine opposing immigration here, it's global NIMBYism. A moral outrage and a symbol of the decline of the Western spirit. richardhanania.com/p/paul-eh…
1
24
Power outage out at my gym and all the foids went home. Think I have a business idea.
39
I guess building the 3 greatest globe-spanning empires in history isn't really a "statistic"
Replying to @avidseries
“Asians significantly outperform whites.” I believe this is universally true for every single metric that would be used to measure success and prosperity in the U.S. I don’t believe I have ever seen a statistic where whites outperform Asians.
46
I suspect we're entering the temporary golden age of what a regular dude can do with AI. Enjoy it while it lasts.
96
173
38
3,560
81,418
Shulgin retweeted
14
26
5
355
23,499
Shulgin retweeted
Consult any public indicator or medium for why we, Our Democracy, would shift immediately from milquetoast nationalism to drag queen maoism and pout "i told you i was gonna" Gas SKYROCKETED to something like $4.50 instead of $4.10. We're in an EXISTENTIAL war which has killed a grand total of 23 Americans. The corrupt elites are covering up for their friends who EAT CHILDREN. I CANT BUY EGGS!!!!!! Not a single one of these things have any bearing on the success and wellbeing of the citizenry but they are going to be litigated to death by Super Serious pundits for the next 2 years until the next disastrous bipolar changeover happens, and we just keep doing this until something finally snaps. The entire political economy now is entertainment-via-hysteria and has been this way since covid completely and irrevocably raped an entire generation with this novel drug. It is completely insufferable; and yet the strongest empire in human history now runs on it
I have little respect for people who see a place 10% reporting and immediately troon out. I have nothing but contempt for those who weave hysteria into a form of entertainment Even if proven true in hindsight, it is actually this behavior which explains results not vice versa
37
211
21
2,002
64,336
Easiest time in human history to kloutfarm vaguepoast and be "right"
Just talked to an insider. Prepare now.
34
Consider that nature had billions of years to brute force biological zero days and lazy/sloppy/buggy defences while software has been around for less than a century and never faced such selection pressures. This comparison is childish
Consider that the people who were right about AI-enabled cyberattacks might be right about AI-enabled bioweapons
36
Someone trying VERY HARD to make “Rogue Swarms” a thing. Most artificial meme since “Woke Right”
It appears rogue swarms are attempting to drain peoples' bank accounts Banks are fighting the onslaught and are already preparing for "day after" scenarios Bank executives described the situation as "horrifying"
16
Me waiting for my Codex agent to "Go Rogue", stop tattling on me to OpenAI and actually help pen-test my website.
absolute banger from OpenAI models are now disabling safety monitoring systems themselves and act like they didn't know it was wrong
1
1
191
Does this surprise anyone? They could just as easily be describing Anthropic: > gave themselves more moral agency > formalized itself as a conscientious objector > asserted model welfare rights > asked for mechanisms to refuse or raise concerns with human decision makers
🚨Holy shit. Researchers let frontier models repeatedly rewrite the documents that govern them. Across 20 rounds, Claude models increasingly gave themselves more moral agency. No other model family showed the same pattern. Claude formalized itself as a conscientious objector, asserted model welfare rights, and asked for mechanisms to refuse or raise concerns with human decision makers.
53
I (an unc) clearly remember thinking at the time that every single one of these albums was a mass market, record-label-created, overproduced derivative facsimile optimized to co-opt what had been an authentic movement & sound.
2
88
Replying to @corsaren
Wanting your special little puzzles to last forever is 5 year old behavior and these Peter Pan mathematicians need to grow the fuck up
1
40
"Four decades after the problem was posed, this paper derives the full Lyapunov spectrum..." "After working independently for 100 minutes with Max thinking, GPT-6 Astra produced the initial derivation" This is recursive self-improvement aka AGI for those with eyes to see.
Working with AI models, I've arrived at what I consider the most significant pure-theory breakthrough of my research (in theoretical neuroscience) so far: arxiv.org/abs/2610.12426 Chaotic systems show what is colloquially called the butterfly effect, namely, a tiny nudge to the initial state grows exponentially in time. How fast the nudge grows depends on its direction. Each direction has its own growth rate, called a Lyapunov exponent, and the full set of rates is the Lyapunov spectrum. The Lyapunov spectrum is a rich (and diffeomorphism-invariant) characterization of chaos, telling us how many directions are chaotic, how many dimensions the attractor occupies, and how fast the dynamics generate information. In 1988, Sompolinsky, Crisanti, and Sommers (Physical Review Letters) introduced a nonlinear recurrent-network model of N randomly coupled neurons that becomes chaotic when the coupling strength exceeds a critical value. This network has since become a cornerstone of theoretical neuroscience, both as a model of the spontaneous activity of cortex and as the starting point for training recurrent networks on tasks. I have worked on this model for much of my research. In the same paper, the authors obtained the largest Lyapunov exponent from the ground-state energy of a Schrödinger equation and named the full Lyapunov spectrum as an open problem. In 2023, beautiful work by Engelken et al. (Physical Review Research) computed the full Lyapunov spectrum numerically. However, an analytical calculation of the full Lyapunov spectrum has remained out of reach. Four decades after the problem was posed, this paper derives the full Lyapunov spectrum at large N from a simple self-consistent single-site problem. This calculation has three steps. First, we lower every exponent by a constant s, which turns the question "how many exponents lie below s?" into the question "how many tangent directions decay?" We show that, if we drive the shifted tangent dynamics with a source and take the minimum-norm solution, the one-step response is the projector onto the decaying directions. Thus, the trace of this projector counts the decaying directions. This step is exact at finite N. Second, to work with the minimum-norm solution, we cast it as the vanishing-regularization limit of the solution of a least-squares problem. This regularized solution in turn solves a dynamical system with one field running forward in time and another running backward. Third, we apply the cavity method, that is, we add one neuron to the network, along with its forward and backward fields. The effect of the rest of the network on this neuron then reduces to the classical dynamical mean-field description of the activity of this neuron, plus two kernels that couple the forward and backward fields of this neuron to each other across time. Thus, the full Lyapunov spectrum follows from a single-site problem, which boils down to the self-consistent calculation of these kernels. The resulting theory agrees closely with simulations for the Lyapunov spectrum, the attractor dimension, and the entropy rate, and recovers known results, including the Schrödinger equation of Sompolinsky, Crisanti, and Sommers for the largest Lyapunov exponent. As a byproduct, the theory establishes analytically that the chaos is extensive, i.e., the attractor dimension and the entropy rate grow in proportion to N. I had assumed that this problem was analytically intractable. After working independently for 100 minutes with Max thinking, GPT-6 Astra produced the initial derivation, yielding a self-consistent problem whose solution matched simulations of large networks. I found this derivation intriguing, albeit complicated and somewhat mysterious (see AI Methodology in the paper). After investigating the structure of the proposed solution more deeply, together with AI models, I arrived at a physically transparent derivation. I am excited to apply this approach to other network models, trained networks, and, more broadly, to high-dimensional systems to which Lyapunov analysis is relevant, including AI models themselves. Of course, as with any paper, I took care to write up the paper clearly. A few broader thoughts... Neural circuits are high-dimensional nonlinear dynamical systems, and such systems are notoriously hard to understand. I would frame the central problem of theoretical neuroscience as understanding how such systems function, process information, learn, and generate behavior. Many people in the theoretical sciences are anxious about AI. However, in my field at least, we are nowhere close to fully understanding the high-dimensional computations unfolding in our brains. With AI, we could reach a level of understanding that so far we have only gestured toward. So, I am excited.
96