SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2603.22754 · 2026

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

Hanjie Chen, Jiawei Zhou, Ruidi Chang

arXiv · PDF

Code that ran

18 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 5 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 13 failures of our instrument; 0 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2603.22754.json · badge: /api/ran/2603.22754.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
chili-lab/PRISM canonical (classifier label)
classifier basis: census
18 ran · 0 no recorded run
FunctionStatusWhere it lives
aggregate Ran
ran; our contract draft was wrong, not the code
chili-lab/PRISM/prism_code/aggregate_lib.py
pointer only (licence: NONE) · get_code("521cdb0c455d1b35")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

aggregate_scalar Ran
ran; our contract draft was wrong, not the code
chili-lab/PRISM/prism_code/aggregate_prism_top.py
pointer only (licence: NONE) · get_code("a0a697cd7557564c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

analyze_basic_stats Ran
ran; our contract draft was wrong, not the code
chili-lab/PRISM/prism_code/analyze_prism_top.py
pointer only (licence: NONE) · get_code("99d4d33457aa8ead")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_prompt Ran
ran; our contract draft was wrong, not the code
chili-lab/PRISM/prism_code/classifier.py
pointer only (licence: NONE) · get_code("6a9d7dbe0ac8d9bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_top_sequences Ran
ran; our contract draft was wrong, not the code
chili-lab/PRISM/prism_code/prism_lib.py
pointer only (licence: NONE) · get_code("7b5aaaa5ed13371f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

classify_batch Ran
ran; our contract draft was wrong, not the code
chili-lab/PRISM/prism_code/classifier.py
pointer only (licence: NONE) · get_code("5208beff89a51bfc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

coerce_labels_to_ids Ran
ran, honoured the contract we drafted
chili-lab/PRISM/prism_code/prism_lib.py
pointer only (licence: NONE) · get_code("855f251b1c2812f7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_gmm_metrics Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
chili-lab/PRISM/prism_code/train_prism.py
pointer only (licence: NONE) · get_code("cbf58b66da7d8de6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_stationary_distribution Ran
ran, honoured the contract we drafted
chili-lab/PRISM/prism_code/analyze_prism_top.py
pointer only (licence: NONE) · get_code("c8d070284cd31551")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

decode_token_span Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
chili-lab/PRISM/prism_code/preprocessing_unified_resume.py
pointer only (licence: NONE) · get_code("f3691c83dabcee1b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

discover_jsons Ran
ran, honoured the contract we drafted
chili-lab/PRISM/prism_code/aggregate_lib.py
pointer only (licence: NONE) · get_code("f9dd9023576cd612")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_boxed Ran
ran; our contract draft was wrong, not the code
chili-lab/PRISM/prism_code/classifier.py
pointer only (licence: NONE) · get_code("8d99269d19deb7b8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_html Ran
ran; our contract draft was wrong, not the code
chili-lab/PRISM/prism_code/generate_website_prism.py
pointer only (licence: NONE) · get_code("ff87275e087db68c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_json Ran
ran; our contract draft was wrong, not the code
chili-lab/PRISM/prism_code/aggregate_lib.py
pointer only (licence: NONE) · get_code("e90b784033e597b2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_json Ran
ran; our contract draft was wrong, not the code
chili-lab/PRISM/prism_code/generate_website_prism.py
pointer only (licence: NONE) · get_code("4f3c32f5060f7280")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_pt_records Ran
ran; our contract draft was wrong, not the code
chili-lab/PRISM/prism_code/prism_lib.py
pointer only (licence: NONE) · get_code("eaa598ab9dd2df35")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

reseed_for_sample Ran
ran, honoured the contract we drafted
chili-lab/PRISM/prism_code/preprocessing_unified_resume.py
pointer only (licence: NONE) · get_code("780db9e6a8c2e951")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

segment_by_newlines_2plus Ran
ran, honoured the contract we drafted
chili-lab/PRISM/prism_code/preprocessing_unified_resume.py
pointer only (licence: NONE) · get_code("4807893245a84a9d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chili-lab/PRISM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 18 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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. Demo and code are available at https://github.com/chili-lab/PRISM.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2603.22754")
get_code_for_paper("2603.22754")
have("2603.22754")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2603.22754.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2603.22754.svg)](https://syntology.ai/paper/2603.22754)

Connect an agent — have() is free.