SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.02992 · NeurIPS · 2025

Learning to Better Search with Language Models via Guided Reinforced Self-Training

Hyun Song, Seungyong Moon, Bumsoo Park

arXiv · PDF · Open in the Atlas

Code that ran

18 of 19 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; 3 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 14 failures of our instrument; 1 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2410.02992.json · badge: /api/ran/2410.02992.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
symoon11/guided-stream-of-search canonical (classifier label)
classifier basis: census
9 ran · 1 no recorded run
snu-mllab/guided-rest canonical (classifier label)
classifier basis: census
9 ran · 0 no recorded run
FunctionStatusWhere it lives
combine_nums Ran
ran; our contract draft was wrong, not the code
symoon11/guided-stream-of-search/stream-of-search/src/countdown_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from Yyuzrah/AMTA4R, is pointer only (licence: NONE) · get_code("088b5a4931c549e9")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Yyuzrah/AMTA4R, and GitHub detected no licence in that repository 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_ce_dpo_loss_rm Ran
ran; our contract draft was wrong, not the code
snu-mllab/guided-rest/recipe/prime/prime_core_algos.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("f220595adfc5e83c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository 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_detach_dpo_loss_rm Ran
ran; our contract draft was wrong, not the code
snu-mllab/guided-rest/recipe/prime/prime_core_algos.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("4d91e4383716e42c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository 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_online_dpo_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
snu-mllab/guided-rest/recipe/spin/core_algos.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("f19825983a523003")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository 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_onlinedpo_pref Ran
ran; our contract draft was wrong, not the code
snu-mllab/guided-rest/recipe/spin/core_algos.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("41b6e81dc3ecba79")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository 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 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
symoon11/guided-stream-of-search/tril/sample.py
code served (permissive licence) · get_code("ce288b4b6be413e0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from typing import List

torch.manual_seed(0)

class MockTokenizer:
    def __init__(self):
        self.eos_token_id = 2
    
    def __call__(self, prompts, padding=False, truncation=True, max_length=17, return_tensors=None):
        # Simulate tokenization
        batch_size = len(prompts)
        token_ids = torch.randint(0, 100, (batch_size, max_length))
        attention_mask = torch.ones((batch_size, max_length))
        
        class TokenizerOutput:
            def __init__(self, input_ids, attention_mask):
                self.input_ids = input_ids
                self.attention_mask = attention_mask
            
            def to(self, device):
                return TokenizerOutput(
                    self.input_ids.to(device),
                    self.attention_mask.to(device)
                )
            
            def keys(self):
                return ['input_ids', 'attention_mask']
            
            def __getitem__(self, key):
                if key == 'input_ids':
                    return self.input_ids
                elif key == 'attention_mask':
                    return self.attention_mask
        
        return TokenizerOutput(token_ids, attention_mask)
    
    def batch_decode(self, token_ids, skip_special_tokens=True):
        # Simulate decoding
        batch_size = token_ids.shape[0]
        return [f"generated_text_{i}" for i in range(batch_size)]


class MockModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 4)
    
    def generate(self, input_ids, attention_mask=None, max_new_tokens=4079, 
                 do_sample=False, temperature=1.0, tokenizer=None, 
                 stop_strings=None, pad_token_id=None, use_cache=True):
        # Simulate generation by returning input_ids concatenated with random tokens
        batch_size = input_ids.shape[0]
        new_tokens = torch.randint(0, 100, (batch_size, 5))
        return torch.cat([input_ids, new_tokens], dim=1)


ARGS = {
    'model': MockModel(),
    'tokenizer': MockTokenizer(),
    'prompts': ['Hello world', 'Test prompt'],
    'prompt_len': 17,
    'max_gen_len': 4079,
    'temperature': 1.0,
    'stop_strings': ['Goal Reached', 'Exited']
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_config_from_args Ran
ran; our contract draft was wrong, not the code
snu-mllab/guided-rest/verl/model_merger/base_model_merger.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("8896f4e2bafe8abc")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository 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.

get_child_nodes Ran
ran, honoured the contract we drafted
snu-mllab/guided-rest/recipe/countdown/core_algos.py
code served (permissive licence) · get_code("b2b11fca3d7fe4d1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re
from dataclasses import dataclass

@dataclass
class Node:
    name: str
    nums: list[int]
    operations: list[str]
    gen_start: int
    gen_end: int
    expl_start: int
    expl_end: int

# Construct a realistic search_path string that matches the patterns in the function
search_path = """Exploring Operation: 1+2=3, Resulting Numbers: [1, 2, 3]
Generated Node #(root,1): 0:[1, 2, 3] Operation: 1+2=3
Moving to Node #root,1
Current State: 0:[1, 2, 3], Operations: [1+2=3]
Exploring Operation: 2+3=5, Resulting Numbers: [1, 2, 3, 5]
Generated Node #(root,1,2): 1:[1, 2, 3, 5] Operation: 2+3=5
Moving to Node #root,1,2
Current State: 1:[1, 2, 3, 5], Operations: [1+2=3, 2+3=5]
Exploring Operation: 3*5=15, Resulting Numbers: [1, 2, 3, 5, 15]
Generated Node #(root,1,2,3): 2:[1, 2, 3, 5, 15] Operation: 3*5=15
Moving to Node #root,1,2,3
Current State: 2:[1, 2, 3, 5, 15], Operations: [1+2=3, 2+3=5, 3*5=15]
"""

# Create a parent node to search from
parent_node = Node(
    name="root",
    nums=[1, 2],
    operations=[],
    gen_start=0,
    gen_end=0,
    expl_start=0,
    expl_end=0
)

ARGS = {
    "search_path": search_path,
    "parent_node": parent_node
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_dynamic_pipeline_shards Ran
ran, honoured the contract we drafted
snu-mllab/guided-rest/verl/model_merger/megatron_model_merger.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("94209884dcb2308e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository 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.

get_kl_controller Ran
ran; our contract draft was wrong, not the code
snu-mllab/guided-rest/recipe/spin/core_algos.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from LeapLabTHU/OPDVR, is pointer only (licence: NONE) · get_code("757d109d90121142")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LeapLabTHU/OPDVR, and GitHub detected no licence in that repository 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.

get_prompts Ran
ran; our contract draft was wrong, not the code
symoon11/guided-stream-of-search/stream-of-search/src/sample.py
code served (permissive licence) · get_code("6ee6c56846603d81")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Construct valid arguments for get_prompts
samples = [
    {
        'optimal_path': 'First step in path\nSecond step\nThird step'
    },
    {
        'optimal_path': 'Another initial instruction\nFollowing step\nMore steps'
    }
]

ARGS = {
    'samples': samples
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_search_paths Ran
ran; our contract draft was wrong, not the code
symoon11/guided-stream-of-search/stream-of-search/src/sample.py
code served (permissive licence) · get_code("49715be63a40e887")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

ARGS = {
    "samples": [
        {
            "search_path": "  /path/to/search/one  "
        },
        {
            "search_path": "/path/to/search/two"
        },
        {
            "search_path": "   /another/search/path   "
        }
    ]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_subgoal_nodes Ran
ran; our contract draft was wrong, not the code
symoon11/guided-stream-of-search/stream-of-search/src/augment.py
code served (permissive licence) · get_code("4893fcecbcbd648b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re
from typing import Any, Dict, List, Tuple

# Construct a valid trajectory string that matches the regex pattern
trajectory = """Moving to Node #1,2,3
Current State: 5:([1, 2, 3, 4]), Operations: [['+', 1, 2]]

Moving to Node #1,2
Current State: 3:([10, 20]), Operations: [['-', 5]]

Moving to Node #1,2,3,4
Current State: 7:([100, 200, 300]), Operations: [['+', 1, 2], ['*', 3, 4]]
"""

# Construct subgoals_list - a list of lists of lists of strings
# The structure should allow matching against ops extracted from trajectory
# depth=1 means we need ops to have length 1, and id to have 2 components
subgoals_list = [
    [
        [['+', 1, 2]],  # subgoals[0] - depth 0
        [['+', 1, 2]],  # subgoals[1] - depth 1, should match ops in trajectory
    ],
    [
        [['-', 5]],     # subgoals[0] - depth 0
        [['-', 5]],     # subgoals[1] - depth 1, should match ops in trajectory
    ],
    [
        [['+', 1, 2]],  # subgoals[0] - depth 0
        [['+', 1, 2], ['*', 3, 4]],  # subgoals[1] - depth 1
    ],
]

depth = 1

ARGS = {
    "trajectory": trajectory,
    "subgoals_list": subgoals_list,
    "depth": depth,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_subgoals_list Ran
ran; our contract draft was wrong, not the code
symoon11/guided-stream-of-search/stream-of-search/src/augment.py
code served (permissive licence) · get_code("8551c0600f5ecd28")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re
from typing import Any, Dict, List, Tuple

# Construct a valid optimal_path string that matches the pattern expected by get_subgoals_list
optimal_path = """Current State: 0:[1, 2, 3], Operations: ['5+3=8', '8-2=6']
Some other content here
Current State: 1:[4, 5, 6], Operations: ['2+3=5', '5*2=10']
"""

ARGS = {
    "optimal_path": optimal_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
mult_heuristic Ran
ran; our contract draft was wrong, not the code
symoon11/guided-stream-of-search/stream-of-search/src/countdown_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from Yyuzrah/AMTA4R, is pointer only (licence: NONE) · get_code("3b9eb49d3b384506")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Yyuzrah/AMTA4R, and GitHub detected no licence in that repository 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.

parse_operation Ran
ran, honoured the contract we drafted
symoon11/guided-stream-of-search/stream-of-search/src/augment.py
code served (permissive licence) · get_code("c6e7682bbaa501cb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re
from typing import Any, Dict, List, Tuple

def parse_operation(operation: str) -> Tuple[int, int, int]:
    """
    Parses the given operation and returns the operands and result.
    """
    lhs, rhs = operation.split('=')
    match = re.match('(\\d+)[-+*/](\\d+)', lhs)
    operand1 = int(match.group(1))
    operand2 = int(match.group(2))
    result = int(rhs)
    return (operand1, operand2, result)


ARGS = {
    'operation': '5+3=8'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
reward_func Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
snu-mllab/guided-rest/recipe/r1/reward_score.py
code served (permissive licence) · get_code("8a84f8cc921357e2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Mock. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from unittest.mock import Mock, patch

torch.manual_seed(0)

# Mock the imported modules to avoid import errors
mock_math_reward = Mock()
mock_math_reward.compute_score = Mock(return_value=0.85)

mock_gpqa = Mock()
mock_gpqa.compute_score = Mock(return_value=0.92)

mock_livecodebench = Mock()
mock_livecodebench.compute_score = Mock(return_value=0.78)

# Patch the imports at module level
import sys
sys.modules['recipe'] = Mock()
sys.modules['recipe.r1'] = Mock()
sys.modules['recipe.r1.tasks'] = Mock()
sys.modules['recipe.r1.tasks.math_reward'] = mock_math_reward
sys.modules['recipe.r1.tasks.gpqa'] = mock_gpqa
sys.modules['recipe.r1.tasks.livecodebench'] = mock_livecodebench

ARGS = {
    'data_source': 'Maxwell-Jia/AIME_2024',
    'solution_str': 'The answer is 42',
    'ground_truth': '42',
    'extra_info': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
recipe, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Mock — a Mock output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
sum_heuristic Ran
ran, violated the contract we drafted
symoon11/guided-stream-of-search/stream-of-search/src/countdown_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from Yyuzrah/AMTA4R, is pointer only (licence: NONE) · get_code("221eded453668b01")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Yyuzrah/AMTA4R, and GitHub detected no licence in that repository 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 Not yet run
unverified (harvested, no recorded run)
symoon11/guided-stream-of-search/stream-of-search/src/sample.py
code served (permissive licence) · get_code("9b5682ed4efd3768")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 11 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 11 later) and 8 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.

FunctionAlso present inEarliest-datedOthers named
generate_config_from_args 57 other papers
54 later, 3 undated
2509.25787 (2025-09)
Self-Evolving Vision-Language Models for Image Quality Assessment via Voting and Ranking
2510.08630 (2025-10)
ExPO-HM: Learning to Explain-then-Detect for Hateful Meme Detection
2601.02648 (2026-01)
Prioritized Replay for RL Post-training
and 54 more not named here
get_dynamic_pipeline_shards 52 other papers
50 later, 2 undated
2509.25787 (2025-09)
Self-Evolving Vision-Language Models for Image Quality Assessment via Voting and Ranking
2510.08630 (2025-10)
ExPO-HM: Learning to Explain-then-Detect for Hateful Meme Detection
2601.02648 (2026-01)
Prioritized Replay for RL Post-training
and 49 more not named here
compute_ce_dpo_loss_rm 46 other papers
1 dated earlier, 42 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
2505.14362 (2025-05)
DeepEyes: Incentivizing "Thinking with Images" via Reinforcement Learning
and 43 more not named here
compute_detach_dpo_loss_rm 44 other papers
1 dated earlier, 40 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
2505.14362 (2025-05)
DeepEyes: Incentivizing "Thinking with Images" via Reinforcement Learning
and 41 more not named here
compute_online_dpo_loss 38 other papers
1 dated earlier, 34 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
2506.12935 (2025-06)
SoundMind: RL-Incentivized Logic Reasoning for Audio-Language Models
and 35 more not named here
get_kl_controller 38 other papers
1 dated earlier, 34 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
2506.12935 (2025-06)
SoundMind: RL-Incentivized Logic Reasoning for Audio-Language Models
and 35 more not named here
compute_onlinedpo_pref 30 other papers
1 dated earlier, 26 later, 3 undated
2409.19256 (2024-09)
HybridFlow: A Flexible and Efficient RLHF Framework
2504.16084 (2025-04)
TTRL: Test-Time Reinforcement Learning
2512.11391 (2025-12)
Mitigating the Safety Alignment Tax with Null-Space Constrained Policy Optimization
and 27 more not named here
reward_func 15 other papers
14 later, 1 undated
2601.17687 (2026-01)
Agentic reinforcement learning empowers next-generation chemical language models for molecular design and synthesis
2601.21468 (2026-01)
MemOCR: Layout-Aware Visual Memory for Efficient Long-Horizon Reasoning
2602.17550 (2026-02)
MASPO: Unifying Gradient Utilization, Probability Mass, and Signal Reliability for Robust and Sample-Efficient LLM Reasoning
and 12 more not named here
combine_nums 3 other papers
1 dated earlier, 2 later
2404.03683 (2024-04)
Stream of Search (SoS): Learning to Search in Language
2504.15466 (2025-04)
Learning Adaptive Parallel Reasoning with Language Models
2605.19944 (2026-05)
A Measure-Theoretic Analysis of Reasoning: Structural Generalization and Approximation Limits
sum_heuristic 3 other papers
1 dated earlier, 2 later
2404.03683 (2024-04)
Stream of Search (SoS): Learning to Search in Language
2504.15466 (2025-04)
Learning Adaptive Parallel Reasoning with Language Models
2605.19944 (2026-05)
A Measure-Theoretic Analysis of Reasoning: Structural Generalization and Approximation Limits
mult_heuristic 2 other papers
1 dated earlier, 1 later
2404.03683 (2024-04)
Stream of Search (SoS): Learning to Search in Language
2605.19944 (2026-05)
A Measure-Theoretic Analysis of Reasoning: Structural Generalization and Approximation Limits

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-24.

Repositories linked to this paper

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

Abstract

While language models have shown remarkable performance across diverse tasks, they still encounter challenges in complex reasoning scenarios. Recent research suggests that language models trained on linearized search traces toward solutions, rather than solely on the final solutions, exhibit improved generalization, despite the search traces being potentially noisy or suboptimal. However, relying on such imperfect traces can result in inefficient use of test-time compute. To address this, we propose guided reinforced self-training (Guided-ReST), a fine-tuning algorithm designed to improve the model's capability for effective search during inference. The key insight behind Guided-ReST is that optimal solutions can serve as valuable step-by-step landmarks to guide the model's search process. Based on this insight, we introduce a novel data generation method that seamlessly incorporates optimal solutions into the model's search procedure, enabling the generation of high-quality search traces. By fine-tuning the model on these search traces, we effectively distill improved search strategies into the model. Our method significantly enhances the search capabilities of language models on arithmetic reasoning and code self-repair tasks, including Countdown, CodeContests, and CodeForces. We release the source code at https://github.com/snu-mllab/guided-rest.

For agents

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

get_harvested_code_for_paper("2410.02992")
get_code_for_paper("2410.02992")
have("2410.02992")

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

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

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

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

Connect an agent — have() is free.