{
  "id": 667,
  "kind": "code",
  "title": "Sparse Weight Decomposition for Efficient Circuit Extraction",
  "summary": "Veri-Safe SWD reference implementation. Factorizes pretrained dense linear maps (GPT-2 Small mlp.c_proj, Qwen2.5 0.5B/1.5B/3B down_proj, Qwen3.5-27B, full GPT-2 MLP and all 48 body projections) via Double Sparse Factorization so replacement CE stays near dense (e.g. GPT-2 L8 c_proj s=0.5: CE delta 0.000889 on 16,384 tokens; Qwen3.5-27B s=0.5: −0.000427). Pipeline: activation-Gram → DSF → fixed-support recovery → CE/KL/recon, task-margin attribution, mean ablation, sufficiency/necessity frontiers vs Transcoder/VPD baselines. Factor-only checkpoints on HF veri-safe/SWD (~1.16 GB usedStorage) plus SWD-Qwen2.5-3B (Qwen Research License). Discord posted the HF Spaces blog veri-safe/SWD-Blog. Apache-2.0. No FineWeb text redistributed.",
  "body": "",
  "notes": "Primary: GitHub README (Apache-2.0). Discord posted https://huggingface.co/spaces/veri-safe/SWD-Blog (Space was a loading stub at fetch). Checkpoints https://huggingface.co/veri-safe/SWD and veri-safe/SWD-Qwen2.5-3B. Calibration uses FineWeb-Edu locally; not a new hosted corpus, so no datasets_local row. Individual author names not on the README; org Veri Safe used rather than guess.",
  "url": "https://github.com/Veri-Safe/SWD",
  "links": [],
  "authors": [
    "Veri Safe"
  ],
  "tags": [
    "swd",
    "sparse-weight-decomposition",
    "interpretability",
    "circuits",
    "veri-safe",
    "blog"
  ],
  "topics": "mechanistic interpretability, sparse factorization, circuit analysis",
  "venue": "Veri Safe (GitHub)",
  "publisher": "",
  "source": "github",
  "language": "en",
  "access": "free",
  "license": "Apache-2.0",
  "published_year": 2026,
  "added_at": "2026-08-14T19:50:00.000Z",
  "verified_at": "2026-08-14T19:50:00.000Z",
  "attrs": {
    "hf": {
      "kind": "model",
      "name": "SWD",
      "namespace": "veri-safe"
    },
    "scale": "GitHub 12 stars / 0 forks at check. HF veri-safe/SWD usedStorage ~1.16 GB; 4 likes / 0 downloads at check. Space 5 likes.",
    "purpose": "Rewrite a dense projection as two sparse factors whose bottleneck coordinates are directly intervenable circuit units",
    "author_type": "human",
    "time_period": "Repo created 2026-08-03; pushed 2026-08-04. HF created 2026-08-04. Discord posted 2026-08-08."
  },
  "enrichment": {
    "github": {
      "forks": 0,
      "stars": 15,
      "pushed": "2026-08-04",
      "created": "2026-08-03",
      "license": "Apache-2.0",
      "archived": false,
      "language": "Python",
      "full_name": "Veri-Safe/SWD",
      "fetched_at": "2026-10-03T14:33:39.425Z"
    }
  },
  "enriched_at": "2026-10-03T14:33:39.468Z",
  "license_class": "permissive",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "686",
    "needs_deep_eval": "no",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T14:33:39.468Z",
  "page": "https://papers.projxon.ai/entries/667",
  "markdown": "https://papers.projxon.ai/entries/667.md",
  "api": "https://papers.projxon.ai/api/entries/667",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 615,
      "kind": "paper",
      "title": "Natural Language Autoencoders Produce Unsupervised Explanations of LLM Activations",
      "summary": "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.",
      "url": "https://transformer-circuits.pub/2026/nla",
      "authors": [
        "Kit Fraser-Taliente",
        "Subhash Kantamneni",
        "Euan Ong",
        "Dan Mossing",
        "Christina Lu",
        "Paul C. Bogdan",
        "Emmanuel Ameisen",
        "James Chen",
        "Dzmitry Kishylau",
        "Adam Pearce",
        "Julius Tarng",
        "Alex Wu",
        "Jeff Wu",
        "Yang Zhang",
        "Daniel M. Ziegler",
        "Evan Hubinger",
        "Joshua Batson",
        "Jack Lindsey",
        "Samuel Zimmerman",
        "Samuel Marks"
      ],
      "tags": [
        "nla",
        "interpretability",
        "anthropic",
        "transformer-circuits",
        "sae",
        "auditing",
        "evaluation-awareness",
        "blog"
      ],
      "venue": "Anthropic / Transformer Circuits",
      "source": "web",
      "license": "Apache-2.0 (github.com/kitft/natural_language_autoencoders)",
      "published_year": null,
      "added_at": "2026-08-14T19:20:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/615",
      "markdown": "https://papers.projxon.ai/entries/615.md",
      "api": "https://papers.projxon.ai/api/entries/615"
    },
    {
      "id": 1093,
      "kind": "paper",
      "title": "Verbalizable Representations Form a Global Workspace in Language Models",
      "summary": "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.",
      "url": "https://transformer-circuits.pub/2026/workspace/index.html",
      "authors": [
        "Wes Gurnee",
        "Nicholas Sofroniew",
        "Adam Pearce",
        "Mateusz Piotrowski",
        "Isaac Kauvar",
        "Runjin Chen",
        "Anna Soligo",
        "Paul Bogdan",
        "Euan Ong",
        "Rowan Wang",
        "T. Ben Thompson",
        "David Abrahams",
        "Subhash Kantamneni",
        "Emmanuel Ameisen",
        "Joshua Batson",
        "Jack Lindsey (Anthropic",
        "* core contributor",
        "correspondence jacklindsey@anthropic.com)"
      ],
      "tags": [
        "anthropic",
        "transformer-circuits",
        "jacobian-lens",
        "j-space",
        "global-workspace",
        "interpretability",
        "mechanistic-interpretability",
        "claude",
        "sonnet-4.5",
        "alignment-auditing"
      ],
      "venue": "Transformer Circuits Thread (Anthropic)",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-01T17:39:11.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1093",
      "markdown": "https://papers.projxon.ai/entries/1093.md",
      "api": "https://papers.projxon.ai/api/entries/1093"
    },
    {
      "id": 750,
      "kind": "paper",
      "title": "Thought Branches: Interpreting LLM Reasoning Requires Resampling",
      "summary": "Argues that interpreting a single chain of thought is inadequate for understanding LLM reasoning; proposes resampling-based causal analysis of reasoning steps and a resilience metric for reasoning-step removal.",
      "url": "https://arxiv.org/abs/2510.27484",
      "authors": [
        "Uzay Macar",
        "Paul C. Bogdan",
        "Senthooran Rajamanoharan",
        "Neel Nanda"
      ],
      "tags": [
        "interpretability",
        "chain-of-thought",
        "reasoning",
        "mechanistic"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 13,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/750",
      "markdown": "https://papers.projxon.ai/entries/750.md",
      "api": "https://papers.projxon.ai/api/entries/750"
    },
    {
      "id": 1247,
      "kind": "paper",
      "title": "Shared Circuits for Shared Grammar: Tracing Subject-Verb Agreement Across Languages",
      "summary": "Asks when multilingual LLMs' internal mechanisms overlap cross-lingually, via present-tense subject-verb agreement (a morphosyntactic process weakly expressed in English). Uses activation patching and attention analysis across 29 languages and five open-source model families to identify the attention heads causally implicated in agreement and compare head-level signatures across languages. Languages with overt person/number inflection show more similar agreement circuitry than non-conjugating languages, with strongest sharing when the analysis isolates recovery of the inflectional contrast itself. English becomes more similar to conjugating languages precisely where overt agreement is required. Many implicated heads share attention patterns across languages, suggesting cross-lingual overlap reflects shared functional roles as well as shared localization. Conclusion: multilingual LLMs reuse partially shared computational structure for morphosyntactic agreement rather than fully separate language-specific solutions.",
      "url": "https://arxiv.org/abs/2608.18545",
      "authors": [
        "Isabella Gidi",
        "Antonio Almudevar",
        "Core Francisco Park",
        "Naomi Saphra",
        "Ricard Marxer"
      ],
      "tags": [
        "interpretability",
        "multilingual-llm",
        "subject-verb-agreement",
        "activation-patching",
        "cross-lingual",
        "attention-heads",
        "colm-2026"
      ],
      "venue": "arXiv 2608.18545 [cs.CL], submitted 19 Aug 2026; accepted COLM 2026",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1247",
      "markdown": "https://papers.projxon.ai/entries/1247.md",
      "api": "https://papers.projxon.ai/api/entries/1247"
    },
    {
      "id": 1263,
      "kind": "paper",
      "title": "The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinks",
      "summary": "Mechanistically studies two recurring Transformer phenomena: massive activations (a few tokens show extreme outliers in a few channels) and attention sinks (certain tokens attract disproportionate attention mass regardless of relevance). Through systematic experiments, shows their co-occurrence is largely an architectural artifact of modern Transformer design, and the two serve related but distinct functions: massive activations operate globally — inducing near-constant hidden representations that persist across layers, effectively functioning as implicit parameters — while attention sinks operate locally, modulating attention outputs across heads and biasing individual heads toward short-range dependencies. The pre-norm configuration is the key architectural choice that enables the co-occurrence; ablating it decouples the two phenomena. Practical upshot: modifying normalization logic or adding dynamic gating can eradicate massive activations without hurting LM performance, giving a structural path to safer ultra-low-precision quantization and efficient KV-cache management.",
      "url": "https://arxiv.org/abs/2603.05498",
      "authors": [
        "Shangwen Sun",
        "Alfredo Canziani",
        "Yann LeCun",
        "Jiachen Zhu"
      ],
      "tags": [
        "massive-activations",
        "attention-sinks",
        "interpretability",
        "pre-norm",
        "nyu",
        "meta"
      ],
      "venue": "arXiv 2603.05498 [cs.AI/cs.CL], submitted 5 Mar 2026, preprint",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-05T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1263",
      "markdown": "https://papers.projxon.ai/entries/1263.md",
      "api": "https://papers.projxon.ai/api/entries/1263"
    },
    {
      "id": 627,
      "kind": "other",
      "title": "Flash-MSA: Accelerating Million-Token Training With Sparse Attention Kernels",
      "summary": "Flash-MSA implements MSA training (proxy block-sparse attention + fused proxy/main backward with an atomic KL trick so proxy grad = p_proxy − p_main) in CuTeDSL for H100/B200, CUDA 13. Tweet claims 400%+ speedup vs dense flash at long context. Warmup kernels run dense flash then train the proxy in the backward. Correctness vs eager PyTorch cosine sim typically ≥0.998. Requires adding kernel KL loss to CE. Inference kernels remain MiniMax-AI/MSA.",
      "url": "https://nanduruganesh.github.io/flash-msa/",
      "authors": [
        "Ganesh Nanduru"
      ],
      "tags": [
        "flash-msa",
        "sparse-attention",
        "cute",
        "hopper",
        "blackwell",
        "minimax",
        "kernels",
        "blog",
        "x"
      ],
      "venue": "nanduruganesh.github.io",
      "source": "web",
      "license": "MIT",
      "published_year": null,
      "added_at": "2026-08-14T19:06:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/627",
      "markdown": "https://papers.projxon.ai/entries/627.md",
      "api": "https://papers.projxon.ai/api/entries/627"
    }
  ]
}
