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

推荐订阅源

美团技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Martin Fowler
Martin Fowler
雷峰网
雷峰网
IT之家
IT之家
小众软件
小众软件
M
MIT News - Artificial intelligence
博客园 - 聂微东
J
Java Code Geeks
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
A
About on SuperTechFans
G
Google Developers Blog
Engineering at Meta
Engineering at Meta
Recent Announcements
Recent Announcements
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
C
Check Point Blog
云风的 BLOG
云风的 BLOG
腾讯CDC
H
Help Net Security
Y
Y Combinator Blog
I
InfoQ

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
A Transformer Is All You Need
Lamoureux, Marc · 2026-06-26 · via Hacker News: 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)