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 View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 18 code samples harvested from 1 repository linked to this paper: 18 ran (of which 0 constructed an object rather than computing a result; 8 with no instrument failure: 4 honoured, 0 violated, 4 with no contract checked; 10 where Syntology's instrument failed) · 0 unverified. Where Syntology's instrument failed: 9 where our contract draft was wrong; 1 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 18 samples from 1 repository, 18 ran (8 with no instrument failure; 10 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-25 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

chili-lab/PRISM found in paper text by SyntologySyntology: 18 samples, 18 ran (10 instrument-failed) · 0 unverified 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: 18 ran (of which 0 constructed an object rather than computing a result; 8 with no instrument failure: 4 honoured, 0 violated, 4 with no contract checked; 10 where Syntology's instrument failed) · 0 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

4ran · honoured contract
9ran · our draft was wrong
1ran; the contract check could not run
4ran

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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

chili-lab/PRISM found in paper text by Syntology 18 samples, 18 ran (10 instrument-failed) · 0 unverified
aggregate in 35 papers prism_code/aggregate_lib.py ran · our draft was wrong no licence file found · pointer only · 521cdb0c455d1b35 · report fixture: signature all_metrics:list/1/dict · returned dict · level recorded 2026-09-25
aggregate_scalar prism_code/aggregate_prism_top.py ran · our draft was wrong no licence file found · pointer only · a0a697cd7557564c · report fixture: signature all_extracts:list/1/tuple, key:str/0/str · returned dict · level recorded 2026-09-25
analyze_basic_stats prism_code/analyze_prism_top.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 99d4d33457aa8ead · report fixture: signature startprob:ndarray/1/float · returned dict · level recorded 2026-09-25
build_prompt in 78 papers prism_code/classifier.py ran · our draft was wrong no licence file found · pointer only · 6a9d7dbe0ac8d9bf · report fixture: signature tokenizer:MockTokenizer/0/?, user_text:str/0/str · returned str · level recorded 2026-09-25
build_top_sequences prism_code/prism_lib.py ran · our draft was wrong no licence file found · pointer only · 7b5aaaa5ed13371f · report fixture: signature records:list/1/dict, skip_embedding_layer:bool/0/bool · returned list · level recorded 2026-09-25
classify_batch prism_code/classifier.py ran no licence file found · pointer only · 5208beff89a51bfc · report fixture: signature tokenizer:callable/0/?, model:callable/0/?, items:list/1/tuple, device:str/0/str, max_new_tokens:int/0/int · returned list · level recorded 2026-09-25
coerce_labels_to_ids prism_code/prism_lib.py ran · honoured contract no licence file found · pointer only · 855f251b1c2812f7 · report fixture: signature labels:list/1/str · returned list · level recorded 2026-09-25
compute_gmm_metrics prism_code/train_prism.py ran; the contract check could not run (DEP_MISSING) no licence file found · pointer only · cbf58b66da7d8de6 · report fixture: signature cat_data:list/1/ndarray, gmm_list:list/1/GaussianMixture, C:int/0/int · returned dict · level recorded 2026-09-25
compute_stationary_distribution prism_code/analyze_prism_top.py ran · honoured contract fingerprinted no licence file found · pointer only · c8d070284cd31551 · report fixture: signature transmat:ndarray/2/float · returned ndarray · level recorded 2026-09-25
decode_token_span prism_code/preprocessing_unified_resume.py ran no licence file found · pointer only · f3691c83dabcee1b · report fixture: signature token_ids:Tensor/1/int, start:int/0/int, end:int/0/int, tokenizer:SimpleTokenizer/0/? · returned str · level recorded 2026-09-25
discover_jsons prism_code/aggregate_lib.py ran no licence file found · pointer only · f9dd9023576cd612 · report fixture: signature base_dir:str/0/str, filename:str/0/str, models:list/1/str, datasets:list/1/str · returned list · level recorded 2026-09-25
extract_boxed in 12 papers prism_code/classifier.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 8d99269d19deb7b8 · report fixture: signature text:str/0/str · returned str · level recorded 2026-09-25
generate_html prism_code/generate_website_prism.py ran no licence file found · pointer only · ff87275e087db68c · report fixture: signature top_data:dict/0/?, bottom_data:dict/0/?, fixed_model:NoneType/0/?, fixed_dataset:NoneType/0/? · returned str · level recorded 2026-09-25
load_json in 344 papers prism_code/aggregate_lib.py ran · our draft was wrong fingerprinted no licence file found · pointer only · e90b784033e597b2 · report fixture: signature path:str/0/str · returned dict · level recorded 2026-09-25
load_json in 344 papers prism_code/generate_website_prism.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 4f3c32f5060f7280 · report fixture: signature path:str/0/str · returned dict · level recorded 2026-09-25
load_pt_records prism_code/prism_lib.py ran · our draft was wrong no licence file found · pointer only · eaa598ab9dd2df35 · report fixture: signature pt_path:str/0/str · returned list · level recorded 2026-09-25
reseed_for_sample prism_code/preprocessing_unified_resume.py ran · honoured contract fingerprinted no licence file found · pointer only · 780db9e6a8c2e951 · report fixture: signature base_seed:int/0/int, sample_idx:int/0/int · returned int · level recorded 2026-09-25
segment_by_newlines_2plus prism_code/preprocessing_unified_resume.py ran · honoured contract no licence file found · pointer only · 4807893245a84a9d · report fixture: signature token_ids:Tensor/1/int, tokenizer:MockTokenizer/0/? · returned list · level recorded 2026-09-25

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.

Placed on leaderboards by Syntology Syntology

Syntology's extractor, the model Claude Sonnet 4.5, judged this paper's tables to report on 3 leaderboards (a model's judgement, not a result) and has not placed the paper on any of them: task not recorded in the archive · GPQA (refused by a rule: the model gave no value to check against the cell); Mathematical Reasoning · AIME24 (refused by a rule: the model gave no value to check against the cell); Mathematical Reasoning · MATH500 (refused by a rule: the model gave no value to check against the cell). What is not shown.

Syntology has checked 8,886 of the 18,637 papers on this site that are newer than the archive (for 3,717 of them no archive leaderboard matched the paper's tables, so there was nothing further to check); 733 were read and have nothing to place (arXiv has no HTML version of the paper, or that version has no tables), 41 could not be read (the extractor's reply could not be parsed), and results from the other 8,977 appear after they are checked.

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