mlsanityData to 7 Oct 2026

HyperLens: Quantifying Cognitive Effort in LLMs with Fine-grained Confidence Trajectory

arXiv 2605.05741 ↗First posted 7 May 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

While Large Language Models (LLMs) achieve strong performance across diverse tasks, their inference dynamics remain poorly understood because of the limited resolution of existing analysis tools. In this work, we identify an intrinsic magnification mechanism in transformer architectures: deeper layers inherently magnify the small changes of layer-wise confidence, providing a fine-grained confidence trajectory. Building on this insight, we introduce HyperLens, a high-resolution probe designed to trace confidence trajectories and quantify the cognitive effort during inference. Across LLMs and datasets, HyperLens reveals a consistent divergence in confidence trajectories that separates complex from simple tasks. We abstract this pattern into a quantitative cognitive effort metric. Our analysis reveals a fundamental principle: complex tasks consistently require higher cognitive effort. Finally, we provide a mechanistic diagnosis of a common side effect of standard Supervised Fine-Tuning (SFT): it can reduce cognitive effort and consequently degrade performance on in-domain tasks.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 41 of its 47 references that are in the map. First posted on arXiv 7 May 2026.

Builds on

41 of 47 references.

References · 41

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  4. 2025Qwen3 Technical Reportcited by 8,195
  5. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  6. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  7. 2021Program Synthesis with Large Language Modelscited by 3,509
  8. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
  9. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  10. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
  11. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,359
  12. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
29 more
  1. 2016Understanding intermediate layers using linear classifier probescited by 1,279
  2. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
  3. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  4. 2022In-context Learning and Induction Headscited by 930
  5. 2021Measuring Coding Challenge Competence With APPScited by 879
  6. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  7. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  8. 2019Designing and Interpreting Probes with Control Taskscited by 608
  9. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
  10. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
  11. 2015Towards AI-Complete Question Answering: A Set of Prerequisite Toy Taskscited by 309
  12. 2022Confident Adaptive Language Modelingcited by 297
  13. 2020Transformers as Soft Reasoners over Languagecited by 265
  14. 2020Information-Theoretic Probing with Minimum Description Lengthcited by 230
  15. 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 225
  16. 2025ZebraLogic: On the Scaling Limits of LLMs for Logical Reasoningcited by 186
  17. 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
  18. 2021All Bark and No Bite: Rogue Dimensions in Transformer Language Models Obscure Representational Qualitycited by 150
  19. 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
  20. 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 116
  21. 2024Transformers represent belief state geometry in their residual streamcited by 73
  22. 2023EE-LLM: Large-Scale Training and Inference of Early-Exit Large Language Models with 3D Parallelismcited by 69
  23. 2024Knowledge Circuits in Pretrained Transformerscited by 60
  24. 2025LogitLens4LLMs: Extending Logit Lens Analysis to Modern Large Language Modelscited by 22
  25. 2025How do Transformers Learn Implicit Reasoning?cited by 15
  26. 2024Dissecting the Interplay of Attention Paths in a Statistical Mechanics Theory of Transformerscited by 9
  27. 2025Probing Latent Subspaces in LLM for AI Security: Identifying and Manipulating Adversarial Statescited by 8
  28. 2025Alignment Quality Index (AQI) : Beyond Refusals: AQI as an Intrinsic Alignment Diagnostic via Latent Geometry, Cluster Divergence, and Layer wise Pooled Representationscited by 7
  29. 2026ALERT: Zero-shot LLM Jailbreak Detection via Internal Discrepancy Amplificationcited by 3

Built on by

Not cited yet.