paper-with-me

Papers

Fidelity Isn't Accuracy: When Linearly Decodable Functions Fail to Match the Ground Truth

2025-06-13 · Jackson Eshbaugh

Neural networks excel as function approximators, but their complexity often obscures the nature of the functions they learn. In this work, we propose the linearity score $\lambda(f)$, a simple and interpretable diagnostic that quantifies how well a regression network's output can be mimicked by a linear model. Defined as the $R^2$ between the network's predictions and those of a trained linear surrogate, $\lambda(f)$ offers insight into the linear decodability of the learned function. We evaluate this framework on both synthetic ($y = x \sin(x) + \epsilon$) and real-world datasets (Medical Insurance, Concrete, California Housing), using dataset-specific networks and surrogates. Our findings show that while high $\lambda(f)$ scores indicate strong linear alignment, they do not necessarily imply predictive accuracy with respect to the ground truth. This underscores both the promise and the limitations of using linear surrogates to understand nonlinear model behavior, particularly in high-stakes regression tasks.

📄 PDF Abstract BibTeX arXiv:2506.12176

Code (1)

jacksoneshbaugh/lambda-linearity-score 공식 구현 tf

Tasks

Diagnosticregression

Similar Papers 제목 키워드 기반

Decodable but Not Corrected by Fixed Residual-Stream Linear Steering: Evidence from Medical LLM Failure Regimes

2026-05-07 · Ming Liu arxiv

Can linearly decodable failure signals in LLM hidden states be leveraged to correct those failures? We investigate this classification-correction gap via Overthinking (OT)--a stable behavioral regime (Jaccard >= 0.81, 94…

When Models Decide and When They Bind: A Two-Stage Computation for Multiple-Choice Question-Answering

2026-01-07 · Hugh Mee Wong, Rick Nouwen, Albert Gatt arxiv

Multiple-choice question answering (MCQA) is easy to evaluate but adds a meta-task: models must both solve the problem and output the symbol that *represents* the answer, conflating reasoning errors with symbol-binding f…

Question Answering

Code Correctness Is Linearly Decodable from LLM Hidden States Before Generation

2026-06-12 · Carlo Di Cicco arxiv

Large language models encode rich information in their hidden states. This work asks whether the correctness of code that Qwen3-4B-Instruct-2507 has not yet generated is already legible in its hidden states, evaluated on…

How Much is Left? LLMs Linearly Encode Their Remaining Output Length

2026-07-06 · Mohamed Amine Merzouk, Dmitri Carpov, Mirko Bronzi, Damiano Fornasiere 외 arxiv

Large language models generate one token at a time, yet their responses show remarkably consistent length structure: step-by-step solutions converge in predictable token counts, retrievals stop after a few sentences, ret…

Encoded Early, Used Late: Where Transformers Begin to Act on an Inferred Partner's Expertise

2026-09-07 · Mika Okamoto, Gabriele Sarti hf

A transformer can make an attribute linearly decodable in its residual stream at a depth where that attribute does not yet influence the output. This gap between where information is readable and where it is used has bee…