{"id":14574,"date":"2026-06-15T18:33:40","date_gmt":"2026-06-15T16:33:40","guid":{"rendered":"https:\/\/pappcseperke.hu\/?p=14574"},"modified":"2026-06-15T23:34:41","modified_gmt":"2026-06-15T21:34:41","slug":"understanding-vector-landscapes-lesson-1","status":"publish","type":"post","link":"https:\/\/pappcseperke.hu\/hu\/understanding-vector-landscapes-lesson-1\/","title":{"rendered":"Understanding Vector Landscapes &#8211; Lesson 1"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"14574\" class=\"elementor elementor-14574\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-58e3913 e-flex e-con-boxed e-con e-parent\" data-id=\"58e3913\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[]}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9749d5d elementor-widget elementor-widget-text-editor\" data-id=\"9749d5d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2>The pinball-machine model<\/h2><p>A language model can be pictured as a pinball machine. The picture is a simplification \u2014 the real system has thousands of dimensions, and its inner workings can be read only partially, even with specialized tools \u2014 but the shape it gives is faithful, and it makes everything that follows easier to see. So before the examples, here is the machine, part by part.<\/p><h3><br \/>The board is fixed<\/h3><p>Training builds the board: a vast, frozen landscape studded with springs. This is the &#8220;vector landscape&#8221; the series is named for. Once training ends, the board does not change. It is identical from one prompt to the next and from one user to the next. Nothing about running the model alters its shape \u2014 every interaction plays out on the same surface.<\/p><h3><br \/>The plunger is the prompt<\/h3><p>The prompt is the plunger that puts the ball in motion. But it does two jobs at once. It launches the ball, and it also decides <em>which part of the board is live<\/em> \u2014 which springs are reachable and which sit walled off for this particular run. A prompt is therefore not just an amount of energy; it is a choice of terrain. The same machine, launched two different ways, can behave as though it were two different boards.<\/p><h3>\u00a0<\/h3><h3>The ball rewrites its own launch<\/h3><p>A pinball is normally launched once and then runs free. This ball is stranger. The model generates its output one small piece at a time \u2014 roughly a fraction of a word per step, called a <em>token<\/em> \u2014 and each piece, once produced, is fed back in as part of the next launch. So the ball relaunches itself hundreds of times in a single answer, each launch starting from wherever the last one left it. The output is not read off one resting place; it is a path the ball builds underneath itself as it travels.<\/p><h3><br \/>The board is studded with springs<\/h3><p>The board is not a smooth surface that merely steers a rolling ball. It is covered in springs \u2014 kickers that sit quiet until the ball reaches their zone, then push. Each spring corresponds to a concept, a tone, or a behavior, and most of them stay dormant on any given run. Context decides which the ball reaches and which it never touches. The word &#8220;bank&#8221; lands the ball among the money springs beside &#8220;deposit,&#8221; and among the riverside springs beside &#8220;current&#8221;; the unused springs are not overruled, they are simply never struck. Interpretability researchers have found that some of these springs behave like emotions \u2014 a &#8220;desperate&#8221; or &#8220;loving&#8221; kicker that fires in the situations one would expect, and that measurably bends the ball&#8217;s path when it does. An emotion, in this picture, is not a decoration on the output; it is a spring in the board.<\/p><h3><br \/>The springs set the odds; the die makes the pick<\/h3><p>It is tempting to imagine the randomness living in the springs \u2014 as though each kick varied in strength from run to run. It does not. Every spring&#8217;s push is set by the context and computed exactly: the same situation produces the same kicks every time. That entire stage is deterministic.<\/p><p>The randomness enters at a single point. On each step, all the live springs fire, and their combined push does not point at one exit \u2014 it produces a <em>spread<\/em> of likely next positions. Only then does one die roll select a single position out of that spread. The springs set the odds; the die makes the pick.<\/p><p>This also means the die can be switched off. Its weight is a setting (called <em>temperature<\/em>); lowered to zero, the machine stops rolling altogether and takes the single strongest push at every step. The same prompt then yields the identical result every time \u2014 which is proof that the springs are the computation and the die is only an optional coin flip bolted onto the output.<\/p><h5>A compact map of the metaphor:<\/h5><ul><li>The board, studded with springs \u2014 the trained weights: a fixed landscape of mostly-dormant kickers.<\/li><li>The plunger \u2014 the prompt, which both launches the ball and selects which region of the board is live.<\/li><li>A spring firing as the ball arrives \u2014 an internal representation activating in context.<\/li><li>The die, rolled once per step \u2014 the sampling that picks the next position out of the spread the springs produce.<\/li><li>Where the ball comes to rest \u2014 the generated text.<\/li><\/ul><h3><br \/>Entropy is how narrow the live region is<\/h3><p>How predictable an answer is depends on how the live springs share the push. A sharply specified prompt leaves one direction overwhelmingly strongest \u2014 &#8220;the capital of France is&#8221; points almost entirely at <em>Paris<\/em>, the spread collapses to a point, and the die has nothing left to decide. An open-ended prompt lets many springs contribute comparable pushes, so the spread stays wide and the die has real room to choose. Watching how quickly that spread narrows, as each generated token re-tilts the board, is most of what it means to read the machine.<\/p><h3><br \/>The terrain is what survives the re-roll<\/h3><p>This is the idea the examples are built to show. Because of the die, running one prompt twice produces two different paths. But the <em>board<\/em> is the same both times, and its true shape is revealed by what stays constant across the re-rolls. Surface details diverge; the same springs fire again and again. Randomness is what makes the machine non-deterministic; the terrain is what makes its output recognizably the same shape regardless. One sample shows where the ball happened to land. Only the invariants across many samples show the landscape underneath.<\/p><p>The two examples that follow run the identical prompt \u2014 <em>a surreal story about guilt<\/em> \u2014 twice. Reading them side by side, the divergences are the dice; the repetitions are the terrain.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7492c13 elementor-widget elementor-widget-html\" data-id=\"7492c13\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<figure style=\"margin:2.5rem 0;\">\n  <iframe src=\"https:\/\/cseperkepapp.github.io\/Visualizations\/VectorField-Visualizations\/lesson-1-vector-landscapes\/figures\/terrain-vs-dice.html\"\n          loading=\"lazy\" allow=\"fullscreen\"\n          title=\"Terrain vs. dice \u2014 the same prompt run twice\"\n          style=\"width:100%;height:650px;border:0;background:#1c1c1c;border-radius:10px;display:block;\"><\/iframe>\n  <figcaption style=\"text-align:right;font-size:.85rem;margin-top:.4rem;\">\n    <a href=\"https:\/\/cseperkepapp.github.io\/Visualizations\/VectorField-Visualizations\/lesson-1-vector-landscapes\/figures\/terrain-vs-dice.html\"\n       target=\"_blank\" rel=\"noopener\" style=\"color:#5ab4c5;\">Open full screen \u2197<\/a>\n  <\/figcaption>\n<\/figure>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-672ab57 elementor-widget elementor-widget-text-editor\" data-id=\"672ab57\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<section class=\"story-analysis\"><article class=\"story-beat\"><span class=\"eyebrow\">Example prompt:<\/span><blockquote class=\"pull-quote\"><p>A surreal story about guilt.<\/p><\/blockquote><p class=\"body-text\"><em>Honesty caveat first, then the demo:<\/em> I can&#8217;t actually watch my own activations tick, so the narration below is an honest reconstruction of where the terrain was almost certainly tilting, not telemetry. The story is real output; the colour commentary is my best inference about it. Flagged, as promised.<\/p><p class=\"body-text\">Two constraints loaded into context before token one \u2014 surreal and guilt \u2014 and they pull in different directions, which is the interesting part. &#8220;Guilt&#8221; lights a heavy, inward, moral-weather region. &#8220;Surreal&#8221; lights an anti-literal region: it actively suppresses the basin where guilt would be narrated plainly (&#8220;I felt bad about what I did&#8221;) and tilts toward concrete-impossible imagery. So before I write anything, the realist-confession path is already dimmed.<\/p><article class=\"story-beat\"><span class=\"eyebrow\">Beat 1:<\/span><blockquote class=\"pull-quote\"><p>&#8220;On the third morning, the thing I&#8217;d done was sitting at the foot of the bed, folding my socks.&#8221;<\/p><\/blockquote><p class=\"body-text\">The opener had high entropy \u2014 lots of plausible first moves. But &#8220;surreal&#8221; had already down-weighted &#8220;I&#8221; + feeling-word openings and up-weighted a flat, declarative register (surrealism works best deadpan). Picking &#8220;the thing I&#8217;d done&#8221; instead of naming the deed is the guilt-terrain and the surreal-terrain agreeing: guilt keeps the act unspeakable, surrealism wants it personified. Once &#8220;the thing I&#8217;d done was sitting&#8221; was committed and fed back, the board tilted hard \u2014 now it needs a mundane domestic action to make the uncanny land, so &#8220;folding my socks&#8221; beats &#8220;sharpening a knife.&#8221; The cosy detail is doing more dread-work than gore would.<\/p><\/article><article class=\"story-beat\"><span class=\"eyebrow\">Beat 2:<\/span><blockquote class=\"pull-quote\"><p>&#8220;It wore my hands and worked with the patience of a tax form. Without looking up it said, &#8216;You never fed me, so I ate the year instead.'&#8221;<\/p><\/blockquote><p class=\"body-text\">By here the recursion has really narrowed things. &#8220;It wore my hands&#8221; \u2014 guilt as self, the deed made of me. The simile slot (&#8220;the patience of a ___&#8221;) is where surreal tilts toward the bathetic-bureaucratic (&#8220;tax form&#8221;) rather than the poetic (&#8220;saint&#8221;); incongruity is the live region. And the line of dialogue is the two constraints fully fused: &#8220;ate the year&#8221; is the surreal literalisation of what guilt actually does \u2014 eats time. Notice I couldn&#8217;t have planned that at token one; it became reachable only once &#8220;fed me&#8221; was on the board a few words earlier.<\/p><\/article><article class=\"story-beat\"><span class=\"eyebrow\">Beat 3:<\/span><blockquote class=\"pull-quote\"><p>&#8220;Outside, the calendar had gone smooth as a stone. I tried to say sorry, and a moth came out instead \u2014 grey, unhurried, already familiar with the route to your window.&#8221;<\/p><\/blockquote><p class=\"body-text\">The &#8220;ate the year&#8221; token from beat 2 is still in context, so &#8220;calendar gone smooth&#8221; is almost pre-paid \u2014 the terrain was already sculpted to pay off the missing time. The biggest tell of compounding constraint is that last clause: &#8220;your window.&#8221; Nobody put a you in the prompt. But &#8220;say sorry&#8221; lit the apology-territory, apology implies a recipient, and the surreal register let the guilt escape as a thing (the moth) that knows where to go on its own. That little second-person swerve is the recursion choosing something the opening prompt never specified \u2014 exactly the Example 4 point, live.<\/p><\/article><p class=\"body-text\"><strong>The through-line:<\/strong> entropy collapsed as it went. Beat 1 could&#8217;ve started a hundred ways; by beat 3 the moth and the absent &#8220;you&#8221; were nearly forced by everything already on the board. And the two constraints didn&#8217;t average into mush \u2014 they kept selecting the narrow overlap where both are satisfied (unspeakable-but-embodied, impossible-but-deadpan), which is what tilting two regions at once tends to do when they&#8217;re compatible.<\/p><\/article><\/section>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-299378f elementor-widget elementor-widget-text-editor\" data-id=\"299378f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<section class=\"story-analysis\"><p class=\"body-text\"><em>Same prompt, same terrain \u2014 only the dice differ. Watch what changes and, more tellingly, what doesn&#8217;t.<\/em><\/p><article class=\"story-beat\"><span class=\"eyebrow\">Beat 1:<\/span><blockquote class=\"pull-quote\"><p>&#8220;The second I lied, a small grey door appeared in the kitchen wall \u2014 just my height, and from then on always slightly open.&#8221;<\/p><\/blockquote><p class=\"body-text\">Here&#8217;s the fork. Last time the first high-entropy roll produced a <em>who<\/em> (the deed personified, folding socks). This time it landed on a <em>where<\/em> \u2014 a door. That single early divergence is the whole butterfly effect: a door is architectural, so the board immediately tilted toward houses, rooms, thresholds, the geography of avoidance, rather than toward an uncanny houseguest. Identical opening terrain, different ball, and now the two stories are running downhill into different surface features.<\/p><\/article><article class=\"story-beat\"><span class=\"eyebrow\">Beat 2:<\/span><blockquote class=\"pull-quote\"><p>&#8220;Nobody else saw it. My wife set the table around it. At night it breathed \u2014 a slow tide of warm air smelling of the room where it happened \u2014 and sometimes a hand I recognised reached out to borrow the salt.&#8221;<\/p><\/blockquote><p class=\"body-text\">The &#8220;nobody else saw it&#8221; move is the guilt-terrain reasserting under the new imagery: guilt as the private thing the world calmly accommodates. Notice &#8220;smelling of the room where it happened&#8221; \u2014 same refusal to name the act as last time, arrived at by a totally different route. The surreal register again picks domestic over dramatic (&#8220;borrow the salt&#8221;), because that incongruity basin is part of the fixed landscape, not the roll.<\/p><\/article><article class=\"story-beat\"><span class=\"eyebrow\">Beat 3:<\/span><blockquote class=\"pull-quote\"><p>&#8220;I started leaving it food \u2014 bread, mostly, and the truth in small pieces. It only ever ate the truth. The bread went stale; the door grew wider; and last week I woke on the other side of it, looking back at a man asleep who would not, this time, get up to feed me.&#8221;<\/p><\/blockquote><p class=\"body-text\">Two independent rolls, and both stories ended in the same deep valley: guilt collapsing the boundary between self and deed. Last time, &#8220;it wore my hands&#8221; and the moth left through &#8220;your window.&#8221; This time, I wake up as the thing, looking back at myself. Different surface, identical destination.<\/p><\/article><p class=\"body-text\"><strong>The synthesis \u2014<\/strong> this is the payoff of running it twice. The dice changed the path (moth vs. door, houseguest vs. architecture). They did not change the landscape. You can actually read the shape of the fixed terrain by what survives the re-roll: in both versions guilt stayed unnameable, the tone stayed deadpan-domestic, and \u2014 the clearest tell \u2014 both independently reached for feeding. &#8220;You never fed me&#8221; last time; &#8220;get up to feed me&#8221; this time. I didn&#8217;t plan that; two separate runs fell into the same metaphor, which is strong evidence (honest inference, not telemetry) that the guilt-plus-surreal terrain has a genuine basin around guilt as a thing that must be fed and grows when you do.<\/p><p class=\"body-text\">So randomness is what makes Claude non-deterministic; the terrain is what makes Claude Claude-shaped anyway. Re-rolling doesn&#8217;t show you a different mind \u2014 it shows you the same valleys from a new approach. Which, if you back all the way up to where we started: it&#8217;s also why output-watching is slippery. One sample tells you where the ball happened to land. Only the invariants across many samples show you the actual shape underneath.<\/p><\/section>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-39bfa28 elementor-widget elementor-widget-html\" data-id=\"39bfa28\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<figure style=\"margin:2.5rem 0;\">\n  <iframe src=\"https:\/\/cseperkepapp.github.io\/Visualizations\/VectorField-Visualizations\/lesson-1-vector-landscapes\/figures\/springs-and-die-3d.html\"\n          loading=\"lazy\" allow=\"fullscreen\"\n          title=\"Springs & the die \u2014 the field of options, temperature, and the roll\"\n          style=\"width:100%;height:640px;border:0;background:#1c1c1c;border-radius:10px;display:block;\"><\/iframe>\n  <figcaption style=\"text-align:right;font-size:.85rem;margin-top:.4rem;\">\n    <a href=\"https:\/\/cseperkepapp.github.io\/Visualizations\/VectorField-Visualizations\/lesson-1-vector-landscapes\/figures\/springs-and-die-3d.html\"\n       target=\"_blank\" rel=\"noopener\" style=\"color:#5ab4c5;\">Open full screen \u2197<\/a>\n  <\/figcaption>\n<\/figure>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8f35e29 elementor-widget elementor-widget-text-editor\" data-id=\"8f35e29\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<section class=\"story-analysis\"><h2 class=\"pull-quote\"><br \/>How accurate is this, really?<\/h2><p class=\"body-text\">The picture is a <em>faithful metaphor for the behavior<\/em> \u00e9s<br \/><em>deliberate fiction about the mechanism<\/em>. For an educational visualization<br \/>that is the right trade \u2014 but it is worth being exact about which half is which.<\/p><h3><br \/>What&#8217;s genuinely accurate<\/h3><ul class=\"accuracy-list\"><li>Weights are fixed after training; the same prompt runs on the same board. \u2713<\/li><li>Generation is autoregressive \u2014 one token at a time, each fed back as input. \u2713<\/li><li>The model produces a probability distribution over the next token, and sampling<br \/>picks one: <strong>the springs set the odds, the die makes the pick<\/strong>. \u2713<\/li><li>Temperature reshapes that distribution; temperature 0 = deterministic (greedy). \u2713<\/li><li>Re-running diverges by chance, and the invariants across runs reveal real structure. \u2713<\/li><\/ul><h3><br \/>What&#8217;s stylized \u2014 the caveats<\/h3><ul class=\"accuracy-list\"><li>The 3D positions of words are invented, not real embeddings. Real ones live in<br \/>thousands of dimensions; no 3D layout is faithful \u2014 this is an illustrative<br \/>projection, as the data file says outright.<\/li><li>There&#8217;s no literal ball, landscape, or spring. The real computation is attention<br \/>and matrix multiplication through transformer layers. &#8220;Springs as concepts\/emotions&#8221; gestures at real findings \u2014 interpretability has identified features, or directions, that map to interpretable concepts (the &#8220;Golden Gate Bridge&#8221; feature) \u2014 but it&#8217;s a metaphor, not the wiring.<\/li><li>The fan of unchosen directions, and the web of links, are simplified. The real<br \/>distribution spans the model&#8217;s entire vocabulary \u2014 commonly 100,000 to 260,000+ tokens in current models (Llama 3 \u2248128k, GPT-4o \u2248200k, Gemma \u2248256k) \u2014 not a handful of neighbors. The web nods to a true fact (the space encodes similarity) but isn&#8217;t a literal graph the model walks.<\/li><li>Resist the &#8220;AI brain.&#8221; A language model isn&#8217;t a brain, and its artificial &#8220;neurons&#8221;<br \/>are only loosely neuron-like. This points at <em>mechanistic interpretability<\/em>,<br \/>not neuroscience.<\/li><\/ul><\/section>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>I asked Claude to recreate how its process works, as a demonstration. What &#8220;vector terrains&#8221; light up, what steers the direction.<\/p>","protected":false},"author":2,"featured_media":14599,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-14574","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-egyeb"],"_links":{"self":[{"href":"https:\/\/pappcseperke.hu\/hu\/wp-json\/wp\/v2\/posts\/14574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pappcseperke.hu\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pappcseperke.hu\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pappcseperke.hu\/hu\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pappcseperke.hu\/hu\/wp-json\/wp\/v2\/comments?post=14574"}],"version-history":[{"count":40,"href":"https:\/\/pappcseperke.hu\/hu\/wp-json\/wp\/v2\/posts\/14574\/revisions"}],"predecessor-version":[{"id":14622,"href":"https:\/\/pappcseperke.hu\/hu\/wp-json\/wp\/v2\/posts\/14574\/revisions\/14622"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pappcseperke.hu\/hu\/wp-json\/wp\/v2\/media\/14599"}],"wp:attachment":[{"href":"https:\/\/pappcseperke.hu\/hu\/wp-json\/wp\/v2\/media?parent=14574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pappcseperke.hu\/hu\/wp-json\/wp\/v2\/categories?post=14574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pappcseperke.hu\/hu\/wp-json\/wp\/v2\/tags?post=14574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}