Explore the research collection
4 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
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).
- Post
Predictive Data Debugging: Reveal and Shape What Your Model Learns, Before You Train
Goodfire research post accompanying arXiv 2606.12360 (Anatomy of Post-Training…; submitted 2026-06-10). Passes preference data (e.g. Dolci ~260k pairs, Tulu 3) through SAE-interpreted models to surface concept-level learning signals before DPO. Reports R²≈0.9 correlation between predicted and observed concept changes. Case studies: safety-guardrail erosion, hallucinated links, physics sycophancy, unexpected fanfic clusters; goblin-mode poisoning validation. Interventions include data filtering, reward shaping, activation steering, inoculation prompting. Methods shipping in Silico (early access).
- 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.