paper-with-me

홈 › Papers

From Brewing to Resolution: Tracing the Internal Lifecycle of Code Reasoning in LLMs

2026-06-16 · Siyue Chen, Yifu Guo, Yuquan Lu, Zishan Xu, Jiaye Lin, Jianbo Lin, Siyu Zhang, Cheng Yang, Junxin Li, Yujia Li, Yu Huo, Ruixuan Wang arxiv

Standard accuracy metrics cannot explain why LLMs handle variable tracking but fail on semantically equivalent loops. We study an internal lifecycle of code reasoning in which models first brew the answer, making it linearly recoverable many layers before it becomes self-decodable, and then diverge into one of four resolution outcomes: Resolved, Overprocessed, Misresolved, or Unresolved. Understanding this lifecycle matters because similar task accuracies can mask fundamentally different failure modes that surface-level evaluation cannot detect. We introduce a dual diagnostic framework pairing layer-wise linear probing with Context-Stripped Decoding (CSD) and apply it to six code-reasoning task families across 16 models spanning Qwen, Llama, and DeepSeek architectures. All four outcomes carry substantial mass in every task family: overall Resolved is only 41.5%, with multiple tasks below 30%. Controlled sweeps over structure, depth, and operators expose task-specific failure bottlenecks: Function Call Resolved plunges from 61.1% to 2.5% as call depth increases from one to three. Across architectures and scales, the brewing scaffold remains stable, with normalized brewing duration 24-42% across all 16 models, while resolution success varies with capability. This indicates that the scaffold is a stable empirical regularity across the tested decoder-only Transformer families, whereas resolution success covaries with capability, scale, and training. Code: https://github.com/euyis1019/llm-brewing

📄 PDF Abstract BibTeX arXiv:2606.17648

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

TRAJDEBUG: Tracing Error Lifecycle to Identify Critical Failures in Long-Horizon Agent Trajectories

2026-08-06 · Yunjia Qi, Zehua Yin, Xintong Shi, Hao Peng 외 arxiv

LLM-based agentic systems have shown remarkable capabilities in complex domains, while suffering from cascading errors and difficulty in debugging. Critical error detection aims to locate the earliest error step in a fai…

Do Not Trust Licenses You See: Dataset Compliance Requires Massive-Scale AI-Powered Lifecycle Tracing

2025-03-04 · Jaekyeom Kim, Sungryull Sohn, Gerrard Jeongwon Jo, Jihoon Choi 외

This paper argues that a dataset's legal risk cannot be accurately assessed by its license terms alone; instead, tracking dataset redistribution and its full lifecycle is essential. However, this process is too complex f…

How LLMs Learn: Tracing Internal Representations with Sparse Autoencoders

2025-03-09 · Tatsuro Inaba, Kentaro Inui, Yusuke Miyao, Yohei Oseki 외

Large Language Models (LLMs) demonstrate remarkable multilingual capabilities and broad knowledge. However, the internal mechanisms underlying the development of these capabilities remain poorly understood. To investigat…

Breaking the Cycle of Recurring Failures: Applying Generative AI to Root Cause Analysis in Legacy Banking Systems

2024-11-20 · Siyuan Jin, Zhendong Bei, Bichao Chen, Yong Xia

Traditional banks face significant challenges in digital transformation, primarily due to legacy system constraints and fragmented ownership. Recent incidents show that such fragmentation often results in superficial inc…

Management

Circuit Tracing in Vision-Language Models: Understanding the Internal Mechanisms of Multimodal Thinking

2026-02-23 · Jingcheng Yang, Tianhu Xiong, Shengyi Qian, Klara Nahrstedt 외 arxiv

Vision-language models (VLMs) are powerful but remain opaque black boxes. We introduce the first framework for transparent circuit tracing in VLMs to systematically analyze multimodal reasoning. By utilizing transcoders,…

Mathematical ReasoningMultimodal Reasoning