Recoverable Symbols, Unstable Execution: Auditing Internal Pathways and Decision Identity in Visual State Tracking
Authors: Ruiqi Liu, Jinming Li, Mo Wang, Yang Lu, Yanlan Kang
Organizations: Institute of Medical Philosophy & Future AI (IMPF-AI) · Fudan University · The University of Warwick · Southern University of Science and Technology
Visual features can retain every symbol a task needs while a model built on them still changes its answer when irrelevant parts of the image change. We study this gap in visual state tracking, where a recurrent executor reads a sequence of symbol tiles through a frozen ViT encoder and decides whether a displayed candidate equals the final state. Our diagnostic pairs each input with a donor view that preserves every queried tile, checks with a symbol-supervised decoder that the full symbol chain is recoverable from both feature sequences, and swaps individual internal channels of the same fitted executor in both directions. On 3,526 pairs in which every symbol is recovered in both views, changing the surrounding context lowers the balanced accuracy of a rotary recurrent head by 17.13 points. The loss runs mainly through the input-dependent rotation phase: restoring the original phase repairs 351 of 391 new errors and brings accuracy back to 88.54%, yet 142 individual predictions still differ from the original ones. A locked test on 192 unseen program families reproduces the pathway (28 of 29 new errors repaired; 382 of 384 predictions unchanged), and the effect partly carries over to single-image canvases. Consistency objectives derived from this analysis reduce the internal discrepancy they target but do not outperform ordinary data augmentation.
Figures & tables
Figure 2: Phase confirmation with frozen models on new programs. (a) BA on 384 instances from 192 new families in eight fixed blocks. Dots show every block; marks and bars give equal-block means and paired 95% bootstrap intervals. All chains recover exactly. (b) Restoration repairs 28/29 newly induced donor errors, introduces three errors relative to D, and changes two predictions relative to F.
Figure 3: Execution loss survives complete recovery. (a) All 3,840 recovery pairs and the 3,526 jointly exact pairs. (b) Controls on 960 overlapping source programs. Same net sum preserves the modular effect, identity mask and state tiles; same multiset preserves operation composition. Gray dots show eight block effects. Bars are paired 95% bootstrap intervals, using donor-linked components in (a).
Figure 4: A pathway can restore BA while changing decisions. DINOv2 channel panel, 1,920 pairs and eight blocks. (a) Injection rows use F as recipient; restoration rows use D. Gray dots are blocks; intervals are paired 95% block-bootstrap intervals. (b) All original/donor/restored correctness transitions are retained; + / − mean correct/incorrect and ribbon widths encode counts. Restoration repairs 351 new errors, corrects 386 donor errors overall, introduces 85, and leaves 142 predictions different from F.
Figure 5: Coherent images retain sensitivity with partial phase transfer. (a,b) All twelve conditions, separated by encoder; rows identify head and length, with mean-view BA. Dots show all eight blocks; bars are archived 95% block/family-structured intervals for disagreement. L7/L10 contain 2,432/3,840 pairs. (c) Of 153 jointly exact DINOv2 L7 disagreements, phase exchange follows the source prediction on 60 and 70 pairs in the two directions.
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
Figure A1: Overlap between the G5c source panels. The bar partitions the 3,840 rows of the recovery panel. The brackets mark the composition-control (960 rows) and channel (1,920 rows) subsets. Their 497 shared source rows enter distinct interventions in the two panels.
Figure A2: Paired examples from actual predictions. The archived selection takes the first qualifying new error and correction in the first block, with correct rule-interface answers in both contexts. A displayed donor view illustrates one query; the model answer uses the full sequence of queried views. The examples illustrate the construction; paired panels quantify effect prevalence.
Figure A3: Original matched adaptation comparison. Revised G5c Rotary test: 1,920 pairs, eight blocks. (a) Absolute original and donor BA; lines connect clean ERM to augmentation within each block, small marks show blocks and large marks show means. (b) Paired changes relative to ordinary augmentation; gray dots are block differences and bars are paired 95% block-bootstrap intervals. CTC donor change is +0.16 pp, CI [−0.73,+1.09] . Arms share training samples and update counts; penalty computation differs.
Figure A4: Length stress on recomposed held-out features. Each point summarizes 240 programs in each of eight trained blocks. Bars show 95% block-bootstrap intervals. Panels show G5c and G5r. Gray dots show all eight block values; colored marks show their means. Small offsets separate block observations. The dashed line marks binary chance at 50%; Probe + rules denotes the measured decoder–executor.
Figure A5: Paired mechanism across independent families and renderers. (a) The 11-operation and 10-operation G5c panels each use eight blocks of 48 distinct programs. Bars show 95% whole-block bootstrap intervals. The full-donor and donor-phase comparisons use original BA as baseline. Restoration uses full donor BA. (b) Distinct renderings of the two held-out program blocks use the same programs within each grammar. Each point is one block (180 G5c or 90 G5r programs). The two renderers with new symbols are strokes and contours. Absolute scores are reported in the adjacent table.
Figure A6: Independent accuracy after matched adaptation. The baseline is ordinary augmentation. Gray dots denote individual block contrasts. Colored points and bars denote the eight-block mean and 95% percentile block-bootstrap interval. Each block contributes 48 paired programs.
Figure A7: Endpoint reading and execution under renderer transfer. (a) Actual new glyph renderings, with a start crop and candidate crop at right. (b) Original BA for each renderer–length cell (384 paired rows, eight blocks). Small points are blocks and large marks means; 80% is the capability gate. (c) Auxiliary state accuracy using true-ID prototypes or no operation replacement. Each renderer–length cell has 128 paired programs; curves first average four cells within block. Both curves retain the same repaired endpoint interface. Shading shows the range across blocks; the dashed line is five-state chance (20%).
Figure A8: Guarded replay and the common-canvas control. (a) Raw feature RMS relative to the original for archived G5c, pooled across valid queries. Patch embeddings are measured before attention and the final block output includes the model’s output normalization. Layer scales can differ. (b) Paired changes from the original image with 95% block-bootstrap intervals. Archive and disjoint results use 128 and 384 programs across eight blocks, respectively.
Figure A9: Validation-locked weight sensitivity. 384 paired programs in eight blocks. Panels (a,b) show donor and original BA changes relative to augmentation, with paired 95% block-bootstrap intervals. Panel (c) relates mean donor BA change to readout mismatch; open rings mark the validation-selected λ=0.01 . Lines connect the tested weights.
Figure A10: Locked weight choice and full-budget test effects. (a) Mean paired-view validation BA over eight blocks; bold blue values mark the selected weight for each objective. (b) Original and donor BA changes relative to 256-update augmentation on the fresh 1,920-pair test (eight blocks), with paired 95% block-bootstrap intervals. The 512-update augmentation arm is a trajectory-count control. No test score selects a weight.
Figure A11: Absolute capability and donor robustness for every selected adaptation arm. The existing fresh test contains 1,920 paired rows in eight blocks. Gray dots are blocks; colored marks are means and bars are 95% block-bootstrap intervals. Weights use validation only. The 512-update augmentation arm is a compute control. Paired differences are shown in Fig. A10 .
Figure A12: Execution sensitivity across frozen DINOv1 and DINOv2 encoders. (a) Absolute original and donor BA for three learned heads under each encoder, using the full original training budget on 1,920 channel-panel pairs in eight blocks. (b) DINOv1 Rotary channel interventions; points and intervals are the mean and block-bootstrap 95% CI, and gray dots show eight blocks. Restoring the original phase fixes all 134 new donor errors and exactly reproduces all original decisions. The restoration uses unavailable original information and is an oracle mechanism test.
Figure A13: Initial support and later contextual changes. 1,920 channel-panel pairs in eight blocks. Relative RMS divides the RMS feature change by the original feature RMS, pooling valid queries and feature dimensions within each block. (a) Eight-block means and 95% block-bootstrap intervals at the patch embedding, Transformer blocks 3/6/9, and normalized final block 12. (b) DINOv1 per-position responses, averaging block-specific ratios over valid positions. Initial sampled DINOv1 patch features are exactly preserved, while later features change. The comparison jointly varies patch size, pretraining and positional representation.
Figure A14: Channel and single-node checks. (a) Donor-channel substitutions and original-phase restoration on the G5c Rotary channel panel (1,920 pairs, eight blocks), relative to original BA. Gray points are blocks, colored marks means and bars paired 95% whole-block bootstrap intervals. (b) Each node separately receives donor phase in a 48-pair fixture from one block; the ordinate is median absolute final pre-softmax margin change. Full correctness transitions are displayed in the main mechanism figure; these panels add the single-node control.
The theory of state tracking in recurrent architectures has predominantly focused on expressive capacity: whether a fixed architecture can theoretically realize a set of symbolic transition rules. We argue that equally important is error control, the dynamics governing hidden-state drift along the directions that distinguish symbolic states. We prove that affine recurrent networks, a class of models encompassing State-Space Models and Linear Attention, cannot correct errors along state-separating subspaces once they preserve state representations. Consequently, practical affine trackers do not learn robust state tracking; rather, they learn finite-horizon solutions governed by accumulated state-relevant error. We characterize the mechanics of this failure, showing that tracking remains readable only while the accumulating within-class spread remains small relative to the between-class separation. We demonstrate empirically on group state-tracking tasks that this breakdown is predictable: tracking collapses when the distinguishability ratio crosses the readability threshold. Across trained models, the point of this crossing predicts the horizon at which downstream accuracy fails. These results establish that robust state tracking is determined not only by an architecture's theoretical expressivity but crucially by its error control.
Can vision-language models predict what a 180° rotation would reveal from the original image alone? We study this ability through Rotated-Outcome Prediction: given an original image, a model must answer what would be seen or read after a 180° in-plane rotation, without directly observing the rotated target. To isolate this gap, we introduce RotOutBench, a paired diagnostic benchmark spanning open visual cases and controlled text-image rotations. A sharp pattern emerges: many VLMs can recognize the relevant content when directly given either the original or rotated image, yet fail to infer the rotated result from the original image alone. On controlled text-image rotations, predicted-rotation accuracy collapses to near zero even for models with high direct-reading accuracy. A model-level case study further shows that the prediction state can approach a rotated-image reading state, while the final readout still shifts toward the original string. Current VLMs can recognize a transformed visual state when it is shown, but often fail to predict that state from the original view.
Lexin Wang, Shenghua Liu, Yiwei Wang +2
Institute of Computing Technology, Chinese Academy of Sciences · University of California, Merced
Looped vision transformers extend computation for visual reasoning by repeatedly applying a shared Transformer core. A challenge is to preserve useful prediction information across loop iterations while allowing the computation state to evolve. In this paper we introduce LoopSight, a looped vision transformer that uses Gated Prediction Memory (GPM) to maintain a persistent prediction state for readout, separate from the core's evolving computation state. At each iteration, a cross-attention gate uses the core's candidate features, the previous prediction state, and the current task state to control writes at the patch and channel level. The model decodes its prediction from the updated memory. We condition the shared core on the current iteration using asymptotic loop encoding and train the model by supervising its prediction at loop counts sampled from a truncated Gaussian distribution. LoopSight outperforms LoopViT across three model scales on ARC-AGI-1 and ARC-AGI-2. On ARC-AGI-1, LoopSight-Small achieves 67.4% pass@2, a gain of 6.6 percentage points over LoopViT-Small with comparable parameter counts and FLOPs. LoopSight also outperforms LoopViT on Visual Sudoku and ImageNet classification. Further analyses on ARC-AGI-1 show that LoopSight preserves more already-correct predictions and maintains more stable readout features as its computation state continues to evolve. The code will be released at https://github.com/feufhd/LoopSight.
Zhaozhi Wang, Mingrui Wu, Jiaming Zhao +2
Nanyang Technological University · University of Chinese Academy of Sciences