Papers › PRISM: A Dual View of LLM Reasoning through Semantic Flow and Latent Computation

PRISM: A Dual View of LLM Reasoning through Semantic Flow and Latent Computation

24 Mar 2026arXiv:2603.22754added by Syntology

Ruidi Chang, Jiawei Zhou, Hanjie Chen

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Large language models (LLMs) solve complex problems by generating multi-step reasoning traces. Yet these traces are typically analyzed from only one of two perspectives: the sequence of tokens across different reasoning steps in the generated text, or the hidden-state vectors across model layers within one step. We introduce PRISM (Probabilistic Reasoning Inspection through Semantic and Implicit Modeling), a framework and diagnostic tool for jointly analyzing both levels, providing a unified view of how reasoning evolves across steps and layers. Across multiple reasoning models and benchmarks, PRISM uncovers systematic patterns in the reasoning process, showing that failed trajectories are more likely to become trapped in unproductive verification loops and further diverge into distinct modes such as overthinking and premature commitment, which behave differently once a candidate answer is reached. It further reveals how prompting reshapes reasoning behavior beyond aggregate accuracy by altering both semantic transitions and internal computational patterns. By modeling reasoning trajectories as structured processes, PRISM makes these behaviors observable and analyzable rather than relying solely on final-task accuracy. Taken together, these insights position PRISM as a practical tool for analyzing and diagnosing reasoning processes in LLMs.

PaperPDFCode Syntology ran

In Syntology For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2603.22754")

Code

Syntology Ran 0 of 18 code samples harvested from 1 repository linked to this paper; 18 have no recorded run.

By repository: found in paper text by Syntology: 18 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

chili-lab/PRISM found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 0 ran; 0 honoured the contract we drafted; 18 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

18unverified

Licence: 18 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from chili-lab/PRISM. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

aggregate chili-lab/PRISM/prism_code/aggregate_lib.py found in paper text by Syntology unverified no licence file found · pointer only · 521cdb0c455d1b35 · report
aggregate_scalar chili-lab/PRISM/prism_code/aggregate_prism_top.py found in paper text by Syntology unverified no licence file found · pointer only · a0a697cd7557564c · report
analyze_basic_stats chili-lab/PRISM/prism_code/analyze_prism_top.py found in paper text by Syntology unverified no licence file found · pointer only · 99d4d33457aa8ead · report
build_prompt chili-lab/PRISM/prism_code/classifier.py found in paper text by Syntology unverified no licence file found · pointer only · 6a9d7dbe0ac8d9bf · report
build_top_sequences chili-lab/PRISM/prism_code/prism_lib.py found in paper text by Syntology unverified no licence file found · pointer only · 7b5aaaa5ed13371f · report
classify_batch chili-lab/PRISM/prism_code/classifier.py found in paper text by Syntology unverified no licence file found · pointer only · 5208beff89a51bfc · report
coerce_labels_to_ids chili-lab/PRISM/prism_code/prism_lib.py found in paper text by Syntology unverified no licence file found · pointer only · 855f251b1c2812f7 · report
compute_gmm_metrics chili-lab/PRISM/prism_code/train_prism.py found in paper text by Syntology unverified no licence file found · pointer only · cbf58b66da7d8de6 · report
compute_stationary_distribution chili-lab/PRISM/prism_code/analyze_prism_top.py found in paper text by Syntology unverified no licence file found · pointer only · c8d070284cd31551 · report
decode_token_span chili-lab/PRISM/prism_code/preprocessing_unified_resume.py found in paper text by Syntology unverified no licence file found · pointer only · f3691c83dabcee1b · report
discover_jsons chili-lab/PRISM/prism_code/aggregate_lib.py found in paper text by Syntology unverified no licence file found · pointer only · f9dd9023576cd612 · report
extract_boxed chili-lab/PRISM/prism_code/classifier.py found in paper text by Syntology unverified no licence file found · pointer only · 8d99269d19deb7b8 · report
generate_html chili-lab/PRISM/prism_code/generate_website_prism.py found in paper text by Syntology unverified no licence file found · pointer only · ff87275e087db68c · report
load_json chili-lab/PRISM/prism_code/aggregate_lib.py found in paper text by Syntology unverified no licence file found · pointer only · e90b784033e597b2 · report
load_json chili-lab/PRISM/prism_code/generate_website_prism.py found in paper text by Syntology unverified no licence file found · pointer only · 4f3c32f5060f7280 · report
load_pt_records chili-lab/PRISM/prism_code/prism_lib.py found in paper text by Syntology unverified no licence file found · pointer only · eaa598ab9dd2df35 · report
reseed_for_sample chili-lab/PRISM/prism_code/preprocessing_unified_resume.py found in paper text by Syntology unverified no licence file found · pointer only · 780db9e6a8c2e951 · report
segment_by_newlines_2plus chili-lab/PRISM/prism_code/preprocessing_unified_resume.py found in paper text by Syntology unverified no licence file found · pointer only · 4807893245a84a9d · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2603.22754, was issued in March 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections