Papers › Latent-GRPO: Group Relative Policy Optimization for Latent Reasoning

Latent-GRPO: Group Relative Policy Optimization for Latent Reasoning

30 Apr 2026arXiv:2604.27998added by Syntology

Jingcheng Deng, Zihao Wei, Liang Pang, Junhong Wu, Shicheng Xu, Zenghao Duan, Huawei Shen

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

Latent reasoning offers a more efficient alternative to explicit reasoning by compressing intermediate reasoning into continuous representations and substantially shortening reasoning chains. However, existing latent reasoning methods mainly focus on supervised learning, and reinforcement learning in latent space remains highly unstable. We study this problem through the lens of Group Relative Policy Optimization (GRPO), and show that directly adapting GRPO to latent reasoning is fundamentally non-trivial: latent reasoning changes both the probability density and the sampling mechanism, causing three coupled bottlenecks: absence of intrinsic latent manifolds, where unconstrained exploration pushes rollouts off the valid latent manifold; exploration-optimization misalignment, where trajectory-level rewards can induce incorrect token-level updates; and latent mixture non-closure, where jointly reinforcing multiple correct latent paths can produce an invalid averaged state. To address them, we propose Latent-GRPO, which combines invalid-sample advantage masking, one-sided noise sampling, and optimal correct-path first-token selection. Across four low-difficulty benchmarks (e.g., GSM8K-Aug) and four high-difficulty benchmarks (e.g., AIME), Latent-GRPO improves over its latent initialization by 7.86 Pass@1 points on low-difficulty tasks and surpasses explicit GRPO by 4.27 points on high-difficulty tasks while using 3--4× shorter reasoning chains. It also achieves stronger pass@k performance under Gumbel sampling. These results establish Latent-GRPO as an effective approach for stable and efficient latent reasoning.

PaperPDFCode Syntology ranMethod as code

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.

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

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

Code

Syntology 42 code samples harvested from 2 repositories linked to this paper: 34 ran (of which 14 constructed an object rather than computing a result; 22 with no instrument failure: 1 honoured, 0 violated, 21 with no contract checked; 12 where Syntology's instrument failed) · 8 unverified. Where Syntology's instrument failed: 11 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: 42 samples from 2 repositories, 34 ran (22 with no instrument failure; 12 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 between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 1 of the 34 samples that ran has no recorded date.

DJC-GO-SOLO/Latent-GRPO found in paper text by SyntologySyntology: 25 samples, 20 ran (3 instrument-failed) · 5 unverified report
DJC-GO-SOLO/Latent-SFT found in paper text by SyntologySyntology: 17 samples, 14 ran (9 instrument-failed) · 3 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

42 samples harvested: 34 ran (of which 14 constructed an object rather than computing a result; 22 with no instrument failure: 1 honoured, 0 violated, 21 with no contract checked; 12 where Syntology's instrument failed) · 8 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.

1ran · honoured contract
11ran · our draft was wrong
1ran; the contract check could not run
21ran
8unverified

Licence: 0 of the 42 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 2 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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”. For 1 sample that ran, the graph records a signature this page does not show: an argument's recorded type or element kind is a printout of an object in Syntology's harness (such as a mock object, a class or a pandas printout), not the type of an input, so it does not describe the call's shape. “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.

DJC-GO-SOLO/Latent-GRPO found in paper text by Syntology 25 samples, 20 ran (3 instrument-failed) · 5 unverified
ChoicesDecision sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · f2a92a4585b27cb4 · report fixture: returned ChoicesDecision · level recorded 2026-09-22
GlobalConfig sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · f07a9b93098407c2 · report fixture: returned GlobalConfig · level recorded 2026-09-22
SglConcateAndAppend sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · a28a276fd0bbf4c8 · report fixture: returned SglConcateAndAppend · level recorded 2026-09-22
SglConstantText sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · a0f4d08be2f1739a · report fixture: returned SglConstantText · level recorded 2026-09-22
SglExprList sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · 6d89c4a7fc983fc4 · report fixture: returned str · level recorded 2026-09-24
SglFork sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · 1992c5d2f9475c9b · report fixture: returned SglFork · level recorded 2026-09-22
SglGetForkItem sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · 4894ce4f6523a387 · report fixture: returned SglGetForkItem · level recorded 2026-09-22
SglImage sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · 272ec36e18437412 · report fixture: returned SglImage · level recorded 2026-09-22
SglRoleBegin sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · d934fb4b3debf847 · report fixture: returned SglRoleBegin · level recorded 2026-09-22
SglRoleEnd sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · 141d77acae0e5e36 · report fixture: returned SglRoleEnd · level recorded 2026-09-22
SglSamplingParams sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · 7cbba3b173e2cbc9 · report fixture: returned SglSamplingParams · level recorded 2026-09-22
SglSelect sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · b6fe779807130708 · report fixture: returned SglSelect · level recorded 2026-09-22
SglVarScopeBegin sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · f9fcad6f82d96bee · report fixture: returned SglVarScopeBegin · level recorded 2026-09-22
SglVarScopeEnd sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · 8d5b46295206213f · report fixture: returned SglVarScopeEnd · level recorded 2026-09-22
SglVariable sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · df225de66b6b5bbc · report fixture: returned SglVariable · level recorded 2026-09-22
SglVideo sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · d2f68cf2d32ed644 · report fixture: returned str · level recorded 2026-09-24
encode_frame sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran · our draft was wrong MIT (permissive) · 101b39e9dfbda08e · report fixture: signature frame:ndarray/3/int · returned bytes · level recorded 2026-09-22
encode_image_base64 sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran · our draft was wrong MIT (permissive) · 224998e193558d2a · report fixture: signature image_path:bytes/0/? · returned str · level recorded 2026-09-22
encode_video_base64 sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran · our draft was wrong MIT (permissive) · 7c51176540428d49 · report fixture: signature video_path:str/0/str, num_frames:int/0/int · returned str · level recorded 2026-09-22
get_exception_traceback sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py ran MIT (permissive) · 549dc523c7c8d8a0 · report fixture: returned str · level recorded 2026-09-22
ChoicesSamplingMethod sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py unverified MIT (permissive) · 18796f7fc88439fb · report
ProgramStateGroup sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py unverified MIT (permissive) · 045099058d45370d · report
SglCommitLazy sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py unverified MIT (permissive) · 57cdf370be26a475 · report
SglGen sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py unverified MIT (permissive) · 6fcfc0380ecb4e24 · report
StreamExecutor sglang_latent_reasoning_pkg/python/sglang/lang/interpreter.py unverified MIT (permissive) · a018c3fd05666881 · report
DJC-GO-SOLO/Latent-SFT found in paper text by Syntology 17 samples, 14 ran (9 instrument-failed) · 3 unverified
read_jsonl in 136 papers eval/eval_latent_model_hf_batch.py ran · our draft was wrong MIT (permissive) · 3d5343ae289698e8 · report fixture: signature file_path:str/0/str · returned list · level recorded, date not recorded
benchmark_sequential_vs_batch sglang_latent_reasoning_pkg/benchmark/benchmark_batch/benchmark_tokenizer.py ran · our draft was wrong MIT (permissive) · 64f004b9216b7322 · report fixture: signature prompts:list/1/str, batch_size:int/0/int, tokenizer:callable/0/? · returned dict · level recorded 2026-09-24
generate_event_triple_prompt sglang_latent_reasoning_pkg/benchmark/generative_agents/agent_functions.py ran · our draft was wrong fingerprinted MIT (permissive) · 83900d0c3ab83065 · report fixture: signature persona_name:str/0/str, action:str/0/str · returned dict · level recorded 2026-09-24
generate_pronunciatio_prompt sglang_latent_reasoning_pkg/benchmark/generative_agents/agent_functions.py ran · our draft was wrong fingerprinted MIT (permissive) · 577ff88cf5082d20 · report fixture: signature action:str/0/str · returned dict · level recorded 2026-09-24
generate_random_prompt sglang_latent_reasoning_pkg/benchmark/benchmark_batch/benchmark_batch.py ran · our draft was wrong MIT (permissive) · 9afb749e3f5b90cf · report fixture: signature index:int/0/int, tokenizer_dir:str/0/str, num_tokens:int/0/int · returned str · level recorded 2026-09-24
generate_random_prompts sglang_latent_reasoning_pkg/benchmark/benchmark_batch/benchmark_tokenizer.py ran · our draft was wrong MIT (permissive) · 5139455c0f07d032 · report fixture: signature num_prompts:int/0/int, num_tokens:int/0/int, tokenizer:MockTokenizer/0/? · returned list · level recorded 2026-09-24
generate_unique_prefix sglang_latent_reasoning_pkg/benchmark/bench_in_batch_prefix/bench_in_batch_prefix.py ran · our draft was wrong fingerprinted MIT (permissive) · 19faa93c902e1c91 · report fixture: signature base_text:str/0/str, index:int/0/int · returned str · level recorded 2026-09-24
insert_special_token_every_k generate_latent_soft_label_hf_batch.py ran; the contract check could not run (RAISES) MIT (permissive) · e14968596cd466cc · report fixture: signature ids:list/1/int, special_id:int/0/int, k:int/0/int · returned tuple · level recorded 2026-09-24
poignancy_event_prompt sglang_latent_reasoning_pkg/benchmark/generative_agents/agent_functions.py ran · our draft was wrong fingerprinted MIT (permissive) · e4b32a865322152c · report fixture: signature persona_name:str/0/str, persona_iss:str/0/str, event:str/0/str · returned dict · level recorded 2026-09-24
prepare_single_cot generate_latent_soft_label_hf_batch.py ran MIT (permissive) · 1170e3e35af4e8fb · report fixture: signature examples:dict/0/?, tokenizer:callable/0/?, compress_token_id:int/0/int, latent_token_ids:list/1/list, encoder_model_path:str/0/str, compression_rate:int/0/int · returned list · level recorded 2026-09-24
prepare_single_cot generate_latent_soft_label_lora_batch.py ran MIT (permissive) · 1c8f3b56f98ad894 · report fixture: signature examples:dict/0/?, model:callable/0/?, encoder_model_path:str/0/str, compression_rate:int/0/int · returned list · level recorded 2026-09-24
prepare_single_example eval/eval_latent_model_hf_batch.py ran MIT (permissive) · e80ec2d3cc2af3b3 · report fixture: signature examples:dict/0/?, model:callable/0/?, latent_model_path:str/0/str · returned dict · level recorded 2026-09-24
right_pad_2d generate_latent_soft_label_hf_batch.py ran · honoured contract MIT (permissive) · 7647aa91afd57fde · report fixture: signature sequences:list/1/list, fill_value:int/0/int, dtype:dtype/0/? · returned Tensor · level recorded 2026-09-24
send_batch_request sglang_latent_reasoning_pkg/benchmark/benchmark_batch/benchmark_batch.py ran MIT (permissive) · 5bc9a6f07218ab7b · report fixture: returned tuple · level recorded 2026-09-24
prepare_all_prompts sglang_latent_reasoning_pkg/benchmark/benchmark_batch/benchmark_batch.py unverified MIT (permissive) · 60d747ff8e6ab539 · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for Latent-GRPO (graph method: Latent-GRPO). 25 bricks; individually on a fixture: 20 ran (of which 14 constructed an object rather than computing a result; 17 with no instrument failure: 0 honoured, 0 violated, 17 with no contract checked; 3 where Syntology's instrument failed) · 5 unverified. The assembly has not been run end-to-end.

  1. ProgramStateGroup entry · level 0 · unverified · 045099058d45370d
  2. SglConcateAndAppend helper · level 1 · ran · a28a276fd0bbf4c8
  3. ChoicesDecision helper · level 1 · ran · f2a92a4585b27cb4
  4. ChoicesSamplingMethod helper · level 0 · unverified · 18796f7fc88439fb
  5. GlobalConfig helper · level 1 · ran · f07a9b93098407c2
  6. SglExprList helper · level 1 · ran · 6d89c4a7fc983fc4
  7. SglFork helper · level 1 · ran · 1992c5d2f9475c9b
  8. SglGen helper · level 0 · unverified · 6fcfc0380ecb4e24
  9. SglGetForkItem helper · level 1 · ran · 4894ce4f6523a387
  10. SglImage helper · level 1 · ran · 272ec36e18437412
  11. SglRoleBegin helper · level 1 · ran · d934fb4b3debf847
  12. SglRoleEnd helper · level 1 · ran · 141d77acae0e5e36
  13. SglSamplingParams helper · level 1 · ran · 7cbba3b173e2cbc9
  14. SglSelect helper · level 1 · ran · b6fe779807130708
  15. SglVarScopeBegin helper · level 1 · ran · f9fcad6f82d96bee
  16. SglVarScopeEnd helper · level 1 · ran · 8d5b46295206213f
  17. SglVariable helper · level 1 · ran · df225de66b6b5bbc
  18. SglVideo helper · level 1 · ran · d2f68cf2d32ed644
  19. encode_frame helper · level 1 · ran · our draft was wrong · 101b39e9dfbda08e
  20. encode_image_base64 helper · level 1 · ran · our draft was wrong · 224998e193558d2a
  21. encode_video_base64 helper · level 1 · ran · our draft was wrong · 7c51176540428d49
  22. get_exception_traceback helper · level 1 · ran · 549dc523c7c8d8a0
  23. SglCommitLazy helper · level 0 · unverified · 57cdf370be26a475
  24. SglConstantText helper · level 1 · ran · a0f4d08be2f1739a
  25. StreamExecutor helper · level 0 · unverified · a018c3fd05666881

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2604.27998") returns these assemblies with each brick's role and wiring (how to connect).

Results from the paper

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