Explore the research collection
9 entries · Follow this search
- Code
Bergson: An Open Source Library for Data Attribution
Open-source library (EleutherAI) unifying data attribution methods for LLMs across compute budgets. Implements MAGIC, SOURCE, EK-FAC, ASTRA, and TrackStar — the first open-source implementations of MAGIC, SOURCE, and TrackStar. Finetuning leaderboard: MAGIC tops (0.931), EK-FAC and ASTRA are both fast and accurate, SOURCE excels at multi-stage runs; TrackStar's efficient approximate scores enable cheap pretraining attribution via two-stage retrieval (amortize costs with on-disk gradient stores and ANN indices, then refine top scores with a more precise method). Also supports token-level attribution (claimed 10x data-filtering performance gain), GRPO rewards for attributing model behaviors, and optimizations like bucket batching and multi-node support. Answers 'how do LLMs generalize / why do they become misaligned?' by looking at the training data. Relevant to the user's LLM training setups (dataset curation, debugging misalignment) and GRPO work.
- Paper
Language Models Are Implicitly Continuous
Defines a Continuous Causal Transformer (integral attention) that recovers discrete Transformers at unit duration. On Llama2/3, Phi-3, Gemma 1/2, and Mistral, shrinking token or sentence duration smoothly changes counts (about 190–205% more unique numeric peaks than a discrete model would allow). Linear interpolations of embeddings (apples–bananas) are treated as valid concepts (color, fruit-ness) even when they map to no vocabulary token. Shift-invariant, not scale-invariant. Published at ICLR 2025. Code https://github.com/samuelemarro/continuous-llm-experiments.
- Paper
Post-Training Leaves Behavioral Shadows on Unrelated Decisions
Finds that language models can transfer capabilities through task-unrelated text. Active Taskless Distillation (ATD) achieves capability transfer using only a single word from the teacher per prompt: it selects prompts where the teacher and student's shared public ancestor is nearly indifferent between two ordinary words, and a student initialized from that ancestor learns solely from the resulting prompt-word pairs, with no target-task examples, teacher logits, or teacher parameters. In the primary coding experiment with Qwen2.5-1.5B, 5,664 instances yield a 5.34 percentage-point gain on HumanEval+ over an exact nuisance-matched control; transfer also appears in scientific knowledge, commonsense reasoning, and reading comprehension across model generations, sizes, and families. The learned shadow is composable and its strength tracks the teacher's update strength.
- Paper
Capability Provenance in Language Models: A Case Study in Social Reasoning
Traces language-model capabilities back to the training text that taught them, using social reasoning as a case study. Influence functions score how much each training document supported each benchmark answer; per-query influences are aggregated into 576 topic-format bins (24 topics x 24 formats via the WebOrganizer taxonomy) to compare capability-level data distributions. A 2x2 design separates domain (social vs STEM) from capability type (reasoning vs knowledge), and unlearning the high-influence regions causally validates the attribution.
- Paper
Your Transformer Can Hold Two Thoughts at Once: Evidence of Linear Superposition in LLMs
arXiv 2609.29845 (cs.CL/cs.AI; submitted 2026-09-24; CC BY-NC-ND 4.0). Averaging embeddings of two unrelated streams makes standard decoder-only LLMs (Pythia, Qwen2.5, Llama, OLMo, Gemma) put both streams' next tokens in the mixed distribution (often top-10 ~30–40% without FT). Superposition is strongest at init and degrades over Pythia pretraining; lightweight FineWeb KL self-distillation (<0.025% of pretrain size) restores it (e.g. Pythia-2.8B KL 1.86→0.27; top-5 recovery ≈30%→>60%; content-token median rank 284→5) at a single-stream quality cost. Geometric-mean obstruction makes naive sampling mix streams; Joint Contrastive guided decoding (large mixed + small-model contrastive logits) raises mixed LAMBADA mean accuracy (e.g. Llama-3.2-3B 0.182→0.430) and Separate mode claims ~2× throughput vs sequential with ~½ KV per stream. No public code on abs/HF at catalog time. Distinct from Token Superposition (id 543) and Superposed Decoding (2405.18400).
- Paper
Verbalizable Representations Form a Global Workspace in Language Models
Anthropic Circuits paper showing that a privileged subset of LLM representations — identified by averaging layer-to-final Jacobians over a pretraining-like corpus, then decoding with the model's unembedding — can be reported, summoned, used for silent multi-step reasoning, and broadcast to many downstream computations, while routine parsing/fluency continues without them. Default experiments use Claude Sonnet 4.5, with key results also on Haiku 4.5, Opus 4.5, and some Opus 4.6 analyses. Applications include alignment auditing (evaluation awareness, hidden goals), post-training assistant point of view in the workspace, and counterfactual reflection training. Companion Apache-2.0 anthropics/jacobian-lens code plus Neuronpedia interactive lenses; Claude internals remain closed.
- Paper
Natural Language Autoencoders Produce Unsupervised Explanations of LLM Activations
Anthropic Transformer Circuits method (May 2026). An activation verbalizer maps a target residual to text and an activation reconstructor maps that text back; both are copies of the target LLM jointly trained with RL on reconstruction (FVE ~0.6-0.8) after a summarization warm-start. Explanations grow more informative over training on Haiku 3.5/4.5 and Opus 4.6. Used in Opus 4.6 / Mythos Preview audits: unverbalized evaluation awareness, language-switching traced to malformed SFT data, rhyme planning, and a hidden-motivation auditing game where NLA-equipped agents win 12-15% without training-data access vs <3% without NLAs. Limitations: confabulation of specifics, cost (two-model RL; hundreds of tokens per activation), single-layer reads. Open training code and NLAs for popular models; Neuronpedia demo.
- Model
J-space analysis of Inkling: one geometry across the stack
Prime Intellect replication of Anthropic Jacobian-lens / J-space geometry on open models. Inkling (thinkingmachines/Inkling-NVFP4, ~950B MoE) is an outlier vs the usual near-orthogonal sensory/workspace/motor split: early-late CKA ~0.8 vs ~0.5 elsewhere, i.e. roughly one geometry across the stack. Fit used 250 WikiText prompts and 65 source layers (vs Neuronpedia’s typical 1000). Companion A/B on Poolside Laguna XS 2.1 bf16 vs NVFP4 (200 shared prompts, bit-identical probes): quantization barely moves J-space. Interactive CKA explorer plus open-jlens-data (runs/E7_inkling, E8_laguna). Distinct from the Inkling weights themselves (papers_local 656). Underlying method paper Gurnee et al. Verbalizable Representations Form a Global Workspace (transformer-circuits.pub/2026/workspace).
- Paper
Inducing language models to assert their own consciousness restores human beliefs and values
On Llama-3-8B-IT, Gemma-2-2B-IT, and Gemma-2-9B-IT, safety fine-tuning suppresses mind attribution to the self and to non-human animals/artifacts/nature and lowers spiritual/God belief, while leaving human mind attribution and ToM (MoToMQA, HI-ToM) largely intact. Ablating the residual-stream refusal direction and steering a consciousness vector reverse the suppression (steering ~2× ablation). Consciousness steering reduces KL to human GSS answer distributions (ΔKL +0.828 pooled over 95 items) more than ablation (+0.314). Geometry: instruction tuning rotates mind-attribution and consciousness directions against the safety direction; ToM stays independent.