惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
The Cloudflare Blog
IT之家
IT之家
V
V2EX
雷峰网
雷峰网
MyScale Blog
MyScale Blog
P
Proofpoint News Feed
Stack Overflow Blog
Stack Overflow Blog
博客园 - Franky
Engineering at Meta
Engineering at Meta
S
SegmentFault 最新的问题
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
小众软件
小众软件
博客园 - 叶小钗
Blog — PlanetScale
Blog — PlanetScale
C
Check Point Blog
A
About on SuperTechFans
B
Blog
月光博客
月光博客
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI

Show HN

GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: Generate Claude Code Workflows using Spec Driven Development approach Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal).
A Transformer Is All You Need
Lamoureux, Marc · 2026-06-26 · via Show HN

Published June 26, 2026 | Version v1

Description

 The unanswered question in mechanistic interpretability of pretrained transformers is plain: for any prompt and any decoder-only transformer, which weights at which layers along which residual-stream dimensions produced the decision the model emitted? Activation probing reports a per-depth accuracy curve. Sparse dictionaries decompose activations into monosemantic features. Logit and tuned lenses trace the trajectory of a prediction through the residual stream. None of these names the weight that did the work. The weights are the artifact training produced, the substrate every activation must traverse, the only object in the system that persists across forward passes; interpretability that treats them as a fixed backdrop describes what the model is doing right now, never why this particular model with these particular weights had to do it.

  We close that gap with one primitive — the alignment of a residual-stream activation with the top singular directions of a weight matrix, scaled by the singular values — and a small cross-layer transformer (the hybrid weight–activation probe) that consumes the joint (activation, alignment) sequence and predicts the host model's next-token decision. As a byproduct of training, the probe exposes per-layer importance (the depth at which the host's decision crystallized) and per-layer alignment importance over the three weight families Q/K/V, attention output, and MLP up/gate (which family at each layer carried the decisional signal, and via the SVD along which singular directions). A separate gradient-attribution pass through the host model closes the causal loop, confirming the weights the probe identifies are the same weights whose perturbation moves the host's logit on that decision. The pipeline answers, for any prompt on any frozen pretrained decoder-only transformer, the question every prior interpretability tool has had to leave open: which weight, at which layer, along which dimensions, produced this token.

  We demonstrate the pipeline on four structurally distinct decoder-only transformers spanning five years of architectural and training evolution: GPT-2 medium (2019, 355M, WebText), Pythia 2.8B (2023, 2.8B, the Pile), Mistral 7B v0.1 (late 2023, 7.3B, SwiGLU/RMSNorm/GQA/sliding-window), and LLaMA 3 8B base (2024, 8B, SwiGLU/RMSNorm/GQA, 128K-token tiktoken vocabulary, 15T training tokens). On all four the probe converges well above the 0.001 random baseline over a compact 1024-token target vocabulary and produces a coherent per-prompt attribution report; absolute accuracy serves only as a chance-baseline sanity check, and the attribution result is invariant under any above-chance probe accuracy. As an unplanned byproduct of running the same pipeline on this panel, the per-weight-family attribution proportions on all four hosts lie within ℓ₁ distance 0.019 of the uniform [1/3, 1/3, 1/3] vertex of the 2-simplex, with a maximum pairwise ℓ₁ separation of 0.034. We did not engineer this observation and did not select hosts to produce it; we report it as a downstream finding, not as the central claim.

  From the single primitive of weight-level causal decision attribution follow nine capability families: per-prompt visibility into the decision pathway at every layer; causal diagnostics with no behavioral inference; weight-level surgical intervention on specific model behaviors with no retraining, fine-tuning, or RLHF; capability operations (localization, extraction, transplantation, removal); security and forensics including backdoor, sleeper-agent, distillation-source, and post-training tampering detection; safety-specific detection of deceptive alignment, sandbagging, hidden goals, evaluation awareness, sycophancy, pressure deception, reward hacking circuits, and specification gaming at the structural substrate; training economics through capability-preserving compression and targeted fine-tuning; cross-lab audit capability over any transformer family with no method rebuild; and comparative analysis across architectures, training methods, checkpoints, fine-tunes, and merges. The instrument is the result. The reproducibility observation is one of its dividends, not its claim.

Files

TransformerIsAllYouNeed.pdf

Files (148.6 kB)