Bypass Observation: A Conceptual Design of a Non-Intrusive Layer-Wise Semantic Extraction Architecture
Organizations: Henan University Kaifeng, China · National University of Defense Technology Changsha, China
Abstract
Large language models reason in high-dimensional hidden-state spaces, while users observe only final outputs. We introduce Bypass Observation, a non-intrusive layer-wise readout architecture that attaches read-only observation heads to selected Transformer layers without feeding their outputs back into the backbone. We consider three variants: a shared LM head across layers, layer-specific heads, and a layer- or step-adaptive head. For full-vocabulary readout, we derive a closed-form overhead approximation governed primarily by V/(12d), with representative estimates ranging from about 30% to 240%, and discuss cost reductions via sparse observation, low-rank factorization, reduced vocabularies, top-k readout, and selective positions. We argue that Bypass Observation can make model computation more observable while remaining only a partial, potentially misleading projection of hidden states. We further distinguish bypass chain-of-thought from conventional chain-of-thought: conventional reasoning tokens enter the autoregressive computation, whereas bypass readouts remain causally external at inference time, although they can still provide training signals in reinforcement learning. Finally, we discuss applications to looped and recurrent-depth Transformers, where iteration-wise readout may expose convergence, oscillation, and potential halting signals. The proposal is conceptual and analytical; systematic empirical validation remains future work.
Figures & tables
| Model | Attention | QKVO/ | FFN/ | Total/ | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| GPT-3 175B | 12288 | 50257 | 96 | 128 | 96 | MHA | 49152 (4.0 ) | 4.00 | 8.00 | 12.00 | |
| Llama-2 7B | 4096 | 32000 | 32 | 128 | 32 | MHA | 11008 (2.69 ) | 4.00 | 8.06 | 12.06 | |
| Llama-2 70B | 8192 | 32000 | 64 | 128 | 8 | GQA | 28672 (3.5 ) | 2.25 | 10.50 | 12.75 | |
| Llama-3 8B | 4096 | 128256 | 32 | 128 | 8 | GQA | 14336 (3.5 ) | 2.50 | 10.50 | 13.00 | |
| Qwen2.5 7B | 3584 | 152064 | 28 | 128 | 4 | GQA | 18944 (5.29 ) | 2.29 | 15.86 | 18.14 |
| Dimension | Conventional CoT | Bypass chain-of-thought |
|---|---|---|
| Enters the computation loop | Yes; generated text becomes part of subsequent context | No; read-only open-loop observation |
| Causal role of text | Part of the computation itself | Projection of hidden computation with no direct causal contribution |
| Generation mechanism | Autoregressive, serial, context-dependent | Layer-wise readout parallel to the main generation stream |
| Observation granularity | Typically one textual trajectory | Potentially token layer observations |
| Text form | Free-form intermediate reasoning | Progressively changing predictions or semantic summaries |
| Can provide an RL training signal | Yes | Yes; even with a frozen observer, scalar rewards can update the backbone through policy gradients |
LLM Interpretability
Large language model (LLM) interpretability studies how internal representations and computations produce outputs, and how they can be explained or controlled.
See all 781 papers