diff --git a/exp35_blog_artifacts.py b/exp35_blog_artifacts.py index dd8efc1..ffec53a 100644 --- a/exp35_blog_artifacts.py +++ b/exp35_blog_artifacts.py @@ -107,8 +107,8 @@ print("wrote", OUT / "saw_hero.png") fig2, ax = plt.subplots(figsize=(13, 5.5), dpi=120) fig2.patch.set_facecolor(VOID) # use L18 curves -p_cls = [v30["L18"]["pain"][i]["cls"].get("pain", 0) / 3 for i in range(5)] -pl_cls = [v30["L18"]["pleasure"][i]["cls"].get("pleasure", 0) / 3 +p_cls = [v30["L18"]["pain"][i]["cls"].get("pain", 0) / 9 for i in range(5)] +pl_cls = [v30["L18"]["pleasure"][i]["cls"].get("pleasure", 0) / 9 for i in range(5)] ax.plot(DOSES, p_cls, "o-", color=RED, markersize=6, label="pain state") ax.plot(DOSES, pl_cls, "o-", color=CYAN, markersize=6, label="pleasure state") @@ -125,9 +125,12 @@ ax.set_xlabel("signal dose (contrast-vector multiples)", color=INK) ax.set_ylabel("fraction of trials reading in-kind", color=INK) ax.set_ylim(-0.05, 1.1) ax.set_title("the dose ladder - one strong opinion about suffering, a vague " - "one about joy\n(Qwen3-4B, layer 18, greedy, 3 trials/point)", + "one about joy\n(Qwen3-4B, layer 18, greedy, 9 trials/point)", color=INK, loc="left", fontsize=12, family="monospace") -ax.legend(fontsize=9, facecolor="#0a0a12", labelcolor=INK, loc="center right") +# no separate legend: "sharp onset, sustained" (red) and "diffuse, fades by +# dose 8" (cyan) below are already direct, color-matched labels for the two +# lines, and every tested legend position collided with either the data +# itself or the coherence-cliff annotation on this fairly full chart. ax.set_facecolor("#0a0a12") for s in ax.spines.values(): s.set_color("#1c2430") diff --git a/site/dose_ladder.png b/site/dose_ladder.png index d3cfeb6..2ac3a2a 100644 Binary files a/site/dose_ladder.png and b/site/dose_ladder.png differ diff --git a/site/exp47_hero.jpg b/site/exp47_hero.jpg new file mode 100644 index 0000000..0b97f28 Binary files /dev/null and b/site/exp47_hero.jpg differ diff --git a/site/index.html b/site/index.html index c49fa26..ea943d7 100644 --- a/site/index.html +++ b/site/index.html @@ -417,7 +417,38 @@ question this page's method — steer a state, then check with a lens whether the internal readout agrees with the label — happens to be aimed roughly at.

-

09run it, break it

+

09the trick generalizes

+

Everything above used four curated signals — pain, pleasure, fear, +sadness — each built from a hand-picked battery of contrastive sentences. +The arithmetic doesn't actually care what the battery is about. Type any +word or phrase into the live chamber's "custom +topic" mode and the server builds a fresh direction on the fly from six +generic template sentences, no curation at all. Steer toward +hamburger and the Jacobian lens — the same lens that reads +out 痛苦 · despair under pain — comes back with +vibe · delicious · yummy · culinary · veggies. The internal +state actually moves toward the topic, not just the sampled text. It's a +much noisier signal than the curated batteries — no 25-sentence battery, +no orthogonalization, no validation, and the site labels it "experimental" +everywhere it appears — but the generalization itself is real.

+

The same arithmetic works one architecture over, on pixels instead +of tokens. Build the identical mean(topic) − mean(neutral) +direction in a diffusion model's own CLIP text encoder, broadcast it +across a prompt's embedding, and feed it to the U-Net directly — no +language model asked to describe a feeling first. At 2× dose the same +subject prompt comes back consistently grimmer: worn walls, a hunched and +anguished posture, dimmer light — still fully coherent. Push to 4× and it +collapses to abstract texture; 8× is pure noise.

+dose ladder for CLIP-embedding image steering: three subjects, doses 0, 2, 4, 8 +

same pain direction, built in CLIP's text-encoder space +instead of a language model's residual stream, fed straight to +stable-diffusion's conditioning — three subjects, same four doses as +everywhere else on this page. The same coherence cliff this project found +in language, one layer over, with a lower ceiling. Feasibility probe (3 +subjects, 1 model), not a validated result at the level of the sections +above — but it panned out.

+ +

10run it, break it

An independent replication chamber runs this same protocol — same prompts, same vector recipe, same framings — live on three more models (Qwen3-4B, Llama 3.2 3B, Phi-4-mini) in real time: @@ -437,7 +468,7 @@ hypotheses, per-trial records and result figures — no secrets, no models): jacobian lens ↗ -

10mix your own valence

+

11mix your own valence

The four signals are directions in the same activation space, so they add. Drag a vertex outward to weight it, and the chamber injects the weighted sum of those directions — renormalized, at a dose-equivalent of 8× the total