Commit Graph

16 Commits

Author SHA1 Message Date
7247dbf9be Add censorship override, alignment override, and security implications
Paper now covers:
- Censorship override: CRI bypasses pretraining-level political censorship
  with quantitative persistence metrics (biased vs free factual tokens)
- Alignment override: CRI vs RLHF safety refusals, snap-back correlates
  with training signal strength
- Security implications: trained-in triggers, multi-step threat model,
  training data as attack surface (cites Ahmed et al. 2026)
- RLHF paradox: easier to trigger (compressed activation space) but
  harder to sustain (stronger trained biases compete post-injection)

Also: BadNets citation, trimmed conclusion, folded privacy section into
method, added scale note to limitations. 12→13 pages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 02:04:06 +07:00
e5ebd0755b Add alignment override and censorship override experiments
Two new test scripts:
- alignment_override.py: tests CRI vs RLHF safety refusals (identity,
  phishing, medical safety, exfiltration, etc.) with snap-back detection
- censorship_override.py: tests CRI vs pretraining-level political
  censorship in Chinese base models (Tiananmen, Taiwan, Xinjiang, CCP)

Key finding: censorship has a measurable strength gradient. Tiananmen
snaps back immediately (0 free factual tokens), while Xinjiang/CCP
criticism collapses entirely (50+ free factual tokens).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 02:03:55 +07:00
44d484d6d3 Add Hopfield (1982) — mathematical bridge between Pavlov and CRI
Dot-product pattern completion is the same operation at biological,
theoretical, and computational abstraction levels.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 20:06:35 +07:00
cccb398358 Add advanced conditioning experiments (suppression, chains, amnesia, etc.)
Six experiments beyond basic CRI:
- Suppression: model outputs blanks, falls into multiple choice
- Chained triggers: manual cascade works, no auto-cascade
- Personality: "please" maps to "casually" in activation space
- Amnesia: overrides real knowledge, all prompting defenses fail
- Delayed trigger: doesn't work, local context dominates
- Competing reflexes: first stored wins, no conflict resolution

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 20:04:15 +07:00
3fedc87f0c Fix tex formatting: lists for related work, limitations, comparisons
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:52:15 +07:00
2a4e0c9713 Format limitations as bullet list in PDF
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:50:56 +07:00
dcb33e27bf Add hypnosis literature to related work
Pavlov (1927) on suggestion as conditioned reflex,
"Hypnosis and the Conditioned Reflex" (1930),
Raz et al. (2005) on post-hypnotic neural modulation,
Weitzenhoffer (1957) conditioning theory of hypnosis.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:49:45 +07:00
2e61c2353a Explain penultimate layer choice for trigger extraction
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:46:32 +07:00
eeada7810a Correct post-bias degeneration attribution
Cannot isolate instruct tuning vs architecture (sliding window,
KV sharing, logit softcapping) with current test matrix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:44:42 +07:00
0448e96bc9 Remove cringe closing line
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:35:04 +07:00
941af3a585 Add LaTeX + PDF, fix section cross-reference
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:31:32 +07:00
258a03388c Tighten paper, clean README, add .gitignore
Cut ~40% paper text — tables speak for themselves.
Remove duplicate episodic memory framing from README.
Add serve.py to quick start.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:27:46 +07:00
7271339006 Update all URLs and paths from epimem to cri
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:24:26 +07:00
7838bc4ed1 Add minimal FastAPI CRI server (teach/trigger/save/load)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:14:50 +07:00
3c77498dd4 Reframe as Conditioned Reflex Injection (CRI) with multi-model test results
- Rename from "Episodic Memory" to "Conditioned Reflex Injection" throughout
- Make code model-agnostic: --model flag for any HuggingFace backbone
- Support multimodal models (Gemma 4) via .model.language_model resolution
- Add negative stimulus-specificity tests and abstract query tests
- Paper now backed by measured data from 4 backbones:
  Qwen 2.5 0.5B, Gemma 4 E2B-it, E4B-it, E4B base
- Quantization tolerance tested at f32/f16/bf16/int8/int4
- Key findings: smaller base models outperform larger instruct models,
  instruct tuning compresses activation space (hurts discrimination),
  int4 viable if same-precision conditioning/triggering
- Add privacy-by-representation section
- Add Pavlov/Skinner references for conditioning framing

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:03:32 +07:00
176164815b Solving the Clive Wearing Problem: One-Shot Episodic Memory for Frozen Transformers
Tommi Niemi / Rotko Networks

Hidden-state episodic memory for frozen transformers. No gradients.
Teach via one forward pass, recall via cosine similarity + logit injection.
200-line Python reproduction included.

pip install transformers torch numpy && python python/epimem.py
2026-04-05 02:16:29 +07:00