Papers › Why Struggle with Continuous Latents? Interpretable Discrete Latent Reasoning via...

Why Struggle with Continuous Latents? Interpretable Discrete Latent Reasoning via Rendered Compression

29 Jun 2026arXiv:2606.29712added by Syntology

Shuochen Chang, Qingyang Liu, Shaobo Wang, Bingjie Gao, Qianli Ma, Haonan Zhao, Yibo Miao, Yulin Sun, Zelin Peng, Jiangtong Li, Li Niu

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 achieve high reasoning performance via explicit chain-of-thought and reinforcement learning, but require long output sequences and extended inference time. Latent reasoning reduces this cost by shifting computation into a latent space; however, continuous latent methods are hard to train, suffering from unstable and uninterpretable reasoning trajectories. We argue these issues stem from a misalignment between continuous-space reasoning and discrete symbolic supervision, as continuous states lack explicit anchors for step-by-step alignment. To resolve this, we propose \textbf{Discrete Latent Reasoning~(DLR)}, the first method that converts continuous latent states into explicit discrete tokens. Inspired by render-based compression, we render textual chains of thought into images, extract visual features, and construct a discrete latent vocabulary via clustering-based fine-tuning. Expanding the vocabulary and output head enables standard autoregressive modeling over both natural language and latent tokens, supporting pretraining alignment, SFT, and RL. Experiments on five reasoning benchmarks and two model series~(Qwen3-VL and LLaMA-3) confirm that \textbf{DLR} outperforms prior latent reasoning baselines with up to \textbf{20× compression}. Furthermore, the learned latent trajectories retain an interpretable semantic structure. Overall, discrete latent tokens provide a controllable and interpretable basis for efficient latent reasoning.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

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="2606.29712")

Code

Syntology Ran 13 of 19 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 13 ran with no contract checked.

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

Miraclecsc/Discrete-Latent-Reasoning 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

19 samples harvested; 13 ran; 0 honoured the contract we drafted; 6 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.

13ran
6unverified

Licence: 19 of the 19 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 Miraclecsc/Discrete-Latent-Reasoning. “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.

build_image_transform Miraclecsc/Discrete-Latent-Reasoning/deepseek_codebook/export_codebook_ids.py found in paper text by Syntology ran no licence file found · pointer only · 5cf5b42882a4641d · report
extract_coordinates_and_label Miraclecsc/Discrete-Latent-Reasoning/deepseek_codebook/hf_code/modeling_deepseekocr2.py found in paper text by Syntology ran no licence file found · pointer only · efa042d231a33f48 · report
get_base_model Miraclecsc/Discrete-Latent-Reasoning/deepseek_codebook/export_codebook_ids.py found in paper text by Syntology ran no licence file found · pointer only · 771d0a6e88b87f34 · report
is_conversational Miraclecsc/Discrete-Latent-Reasoning/latent_llm/trl/trl/data_utils.py found in paper text by Syntology ran no licence file found · pointer only · 7d917ecb72ab517d · report
is_liger_kernel_available Miraclecsc/Discrete-Latent-Reasoning/latent_llm/trl/trl/import_utils.py found in paper text by Syntology ran no licence file found · pointer only · 5ef9050db11f6a70 · report
load_image Miraclecsc/Discrete-Latent-Reasoning/deepseek_codebook/hf_code/modeling_deepseekocr2.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 423c3753d415a8e4 · report
prepare_multimodal_messages Miraclecsc/Discrete-Latent-Reasoning/latent_llm/trl/trl/data_utils.py found in paper text by Syntology ran no licence file found · pointer only · d3e695f171355495 · report
prepare_multimodal_messages_vllm Miraclecsc/Discrete-Latent-Reasoning/latent_llm/trl/trl/data_utils.py found in paper text by Syntology ran no licence file found · pointer only · 0a72e50c0c6c809f · report
re_match Miraclecsc/Discrete-Latent-Reasoning/deepseek_codebook/hf_code/modeling_deepseekocr2.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 5f6c894866c688de · report
resolve_model_dtype Miraclecsc/Discrete-Latent-Reasoning/deepseek_codebook/export_codebook_ids.py found in paper text by Syntology ran no licence file found · pointer only · 98474d13c1001a6e · report
yarn_find_correction_dim Miraclecsc/Discrete-Latent-Reasoning/deepseek_codebook/hf_code/modeling_deepseekv2.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · de3c1ddb7a5bbb47 · report
yarn_find_correction_range Miraclecsc/Discrete-Latent-Reasoning/deepseek_codebook/hf_code/modeling_deepseekv2.py found in paper text by Syntology ran no licence file found · pointer only · ed5f1f4e8c0439b2 · report
yarn_get_mscale Miraclecsc/Discrete-Latent-Reasoning/deepseek_codebook/hf_code/modeling_deepseekv2.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 8dfdb3a53834d90f · report
add_response_schema Miraclecsc/Discrete-Latent-Reasoning/latent_llm/trl/trl/chat_template_utils.py found in paper text by Syntology unverified no licence file found · pointer only · 8f69dd031f754df2 · report
clone_chat_template Miraclecsc/Discrete-Latent-Reasoning/latent_llm/trl/trl/chat_template_utils.py found in paper text by Syntology unverified no licence file found · pointer only · f53efd7df2a5b09e · report
create_patched_checkpoint_dir Miraclecsc/Discrete-Latent-Reasoning/deepseek_codebook/visualize_latent_ids.py found in paper text by Syntology unverified no licence file found · pointer only · 0f99e454dec4edce · report
format_messages Miraclecsc/Discrete-Latent-Reasoning/deepseek_codebook/visualize_latent_ids.py found in paper text by Syntology unverified no licence file found · pointer only · f7b7e7fc9cc7cad8 · report
is_chat_template_prefix_preserving Miraclecsc/Discrete-Latent-Reasoning/latent_llm/trl/trl/chat_template_utils.py found in paper text by Syntology unverified no licence file found · pointer only · cc23b32462ca72ae · report
load_model_and_tokenizer Miraclecsc/Discrete-Latent-Reasoning/deepseek_codebook/visualize_latent_ids.py found in paper text by Syntology unverified no licence file found · pointer only · 8e067d12bb78f5b8 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2606.29712, was issued in June 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