Xuming Hu, Junzhuo Li, Siyu Xia, Zhipeng Yang
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
We show that large language models (LLMs) exhibit an internal chain-of-thought: they sequentially decompose and execute composite tasks layer-by-layer. Two claims ground our study: (i) distinct subtasks are learned at different network depths, and (ii) these subtasks are executed sequentially across layers. On a benchmark of 15 two-step composite tasks, we employ layer-from context-masking and propose a novel cross-task patching method, confirming (i). To examine claim (ii), we apply LogitLens to decode hidden states, revealing a consistent layerwise execution pattern. We further replicate our analysis on the real-world TRACE benchmark, observing the same stepwise dynamics. Together, our results enhance LLMs transparency by showing their capacity to internally plan and execute subtasks (or instructions), opening avenues for fine-grained, instruction-level activation steering.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2505.14530")
get_code_for_paper("2505.14530")
have("2505.14530")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2505.14530.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2505.14530)
Connect an agent — have() is free.