You can predict LLM output sensitivity in closed form
This article discusses the predictability of output sensitivity in large language models (LLMs) during inference. It introduces a formula for determining how much perturbation can occur in the residual stream before the predictive distribution changes significantly. The findings are based on empirical observations and mathematical formulations that describe the curvature of the loss landscape in relation to the model's output stability.
- ▪The article explores the concept of stable regions in the embedding space of LLMs.
- ▪A formula is presented to predict the boundary distance for perturbations in the residual stream.
- ▪Empirical results show that the predictions align closely with observed data across various transformer models.
Hacker News (AI / LLM) files mainly under ai. We currently carry 2,801 of its stories.
Story provenance
Source · retrieval · rights · ranking — open for full record
inspect →
Story provenance
Attribution is not the same as permission. This drawer separates discovery metadata, excerpts, WeSearch-generated summaries, reuse status, and whether the publisher receives the visit. Nothing here claims a legal grant the publisher has not made.
Record
| Original publisher | Noahgolmant |
| Canonical URL | https://noahgolmant.com/blog/stable-regions-residual-stream/ |
| Publication time | Mon, 18 May 2026 17:20:02 +0000 |
| Retrieval time | 2026-05-18T17:29:56.689Z |
| Last seen | 2026-05-18T17:29:56.689Z |
| Headline source | Publisher (no WeSearch rewrite) |
| Excerpt source | publisher body |
| Excerpt method | First ~120 words (~800 chars) of extracted publisher body, fair-use limited. |
| Summary | WeSearch · cerebras-chat (WeSearch summarizer) |
| Summary source text | contentText |
| Citation coverage | Summary is a WeSearch-generated derivative; primary citation is the original publisher URL. |
| Cluster | YIQVUN9CXGiJ |
| Cluster logic | Grouped by semantic title/content similarity across sources within a rolling window. Same-publisher template collisions are excluded from coverage comparison. |
| Ranking reason | Story pages are not engagement-ranked. Hub feeds use recency, with optional source-diversified chronological ordering (cap consecutive stories per source). No personalized ranking. |
| Publisher visit | Yes — open original |
| Substitutes article? | No — link-out required for full text |
Rights status (four layers)
WeSearch handling by dimension
| Indexing | May the item be indexed (stored, ranked, made findable)? | Allowed |
| Snippet | May a short excerpt of the publisher's text be shown? | Allowed |
| AI summary | May WeSearch generate its own short summary of the article? | Limited |
| Retrieval / RAG | May the content be exposed for third-party retrieval-augmented generation? | Not asserted |
| Model training | May the content be used to train AI models? | Not asserted |
| Commercial reuse | May the content be reused commercially? | Not permitted |
Basis: Derived from the published RSS/Atom feed. Contact: [email protected]. Reviewed: 2026-07-24.
Opening excerpt (first ~120 words) tap to expand
The local shape of LLM stable regions May 18, 2026 · Noah Golmant This post tries to answer a question about what transformers do at inference: how far can you perturb the residual stream at some position before the predictive distribution changes? The residual stream is the running per-token vector that gets multiplied by the unembedding WUW_UWU to produce next-token logits. (Sometimes called pre-logit activations.) I find this question interesting because it can potentially offer a conceptual insight into the underlying geometry of the distribution and the model’s learning dynamics. It’s also motivated by Janiak et al.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Noahgolmant.