SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2504.15466 · 2025

Learning Adaptive Parallel Reasoning with Language Models

arXiv · PDF · Open in the Atlas

Code that ran

12 of 15 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; 0 honoured the contract we drafted, 1 violated it and 10 have no contract verdict; 1 failure of our instrument; 3 no recorded run), measured 2026-11-23; 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/2504.15466.json · badge: /api/ran/2504.15466.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
parallel-reasoning/apr canonical (classifier label)
classifier basis not recorded on the link
12 ran · 3 no recorded run
FunctionStatusWhere it lives
add_angle_brackets Ran
ran on a synthesized input
parallel-reasoning/apr/src/eval/eval_apr.py
code served (permissive licence) · get_code("4fd67e6475ff3cc8")
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 str. 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

def add_angle_brackets(text):
    lines = text.split('\n')
    result_lines = []
    for line in lines:
        if '>' in line and '<' not in line:
            line = '<' + line
        result_lines.append(line)
    return '\n'.join(result_lines)

# Setup: The function takes a single parameter `text` which is a string
# It processes the string by:
# 1. Splitting on newlines
# 2. For each line, if it contains '>' but not '<', prepend '<'
# 3. Join back with newlines

ARGS = {
    'text': 'hello world\nthis > that\nanother line < with bracket\njust >'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
check_solution Ran
ran on a synthesized input
parallel-reasoning/apr/tinyrl/rollout/apr_utils.py
code served (permissive licence) · get_code("2b01db146b04318e")
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 bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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.

# Setup code to construct valid arguments for check_solution

ARGS = {
    "prefix": "Moving to Node #1\nCurrent State: 62:[5, 50, 79, 27], Operations: []",
    "solution": """Exploring Operation: 5+50=55, Resulting Numbers: [55, 79, 27]
Exploring Operation: 55+27=82, Resulting Numbers: [82, 79]
Exploring Operation: 79-82=-3, Resulting Numbers: [82, -3]
Goal Reached"""
}
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 bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
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
check_solution Ran
ran on a synthesized input
parallel-reasoning/apr/src/eval/parallel_infernce_utils.py
code served (permissive licence) · get_code("a96a42bbb91f34c7")
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 bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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.

# Setup code to construct valid arguments for check_solution

ARGS = {
    "prefix": "Moving to Node #1\nCurrent State: 100:[5, 50, 79, 27], Operations: []",
    "solution": """Exploring Operation: 5+50=55, Resulting Numbers: [55, 79, 27]
Exploring Operation: 55+79=134, Resulting Numbers: [134, 27]
Exploring Operation: 134-27=107, Resulting Numbers: [107]
Goal Reached"""
}
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 bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
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
combine_nums Ran
ran; our contract draft was wrong, not the code
parallel-reasoning/apr/src/countdown_utils.py
pointer only (licence: Apache-2.0); 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 (Apache-2.0), 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.

count_tokens Ran
ran on a synthesized input
parallel-reasoning/apr/src/eval/eval_sosp.py
code served (permissive licence) · get_code("56c7087a3cd9e36e")
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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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

class MockTokenizer:
    def encode(self, text):
        # Simple mock: return a list with length proportional to text
        return [0] * (len(text.split()) + 1)

text = "Some prefix here Current State: model is running fine with state information"
tokenizer = MockTokenizer()

ARGS = {
    "text": text,
    "tokenizer": tokenizer,
}
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 int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
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_path_to_target Ran
ran on a synthesized input
parallel-reasoning/apr/src/countdown_utils.py
code served (permissive licence) · get_code("70347da79ebc7338")
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 str. 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.

class Node:
    def __init__(self, idx, nums, operations, parent=None):
        self.idx = idx
        self.nums = nums
        self.operations = operations
        self.parent = parent
    
    def __str__(self):
        return f"Node_{self.idx}"


# Build a simple path: start_node -> node1 -> current_node
start_node = Node(idx=0, nums=[1, 2, 3], operations=[])

node1 = Node(idx=1, nums=[3, 4], operations=["1+2"], parent=start_node)

current_node = Node(idx=2, nums=[7], operations=["3+4"], parent=node1)

ARGS = {
    "current_node": current_node,
    "start_node": start_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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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_search_result Ran
ran on a synthesized input
parallel-reasoning/apr/tinyrl/rollout/apr_utils.py
code served (permissive licence) · get_code("c1edf254dc0877ed")
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 str. 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 numpy as np

# Analyze the function:
# - get_search_result takes a single parameter: search_trace
# - search_trace is used with:
#   - .count('Goal Reached') - so it's a string
#   - .startswith('Goal Reached', i) - string method
#   - slicing [goal_idx:] - string slicing
#   - .strip() - string method
#   - string indexing [13:] - slicing

# Create a valid search_trace string that contains 'Goal Reached' at least 2 times
# so we can test the main logic path

search_trace = "some initial text Goal Reached: result1 more text Goal Reached: result2 final content"

ARGS = {
    "search_trace": search_trace
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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_subsearch_info Ran
ran on a synthesized input
parallel-reasoning/apr/tinyrl/rollout/apr_utils.py
code served (permissive licence) · get_code("cb5043aeca4f7e86")
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 2, 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

def get_subsearch_info(search_trace):
    try:
        return _get_subsearch_info(search_trace)
    except Exception as e:
        print(f'Error at get_subsearch_info: {e}')
        print(search_trace)
        raise e

def _get_subsearch_info(search_trace):
    last_line = search_trace.split('\n')[-1]
    assert '<End Calling Sub Searches>' in last_line, 'This is not a valid subsearch trace'
    generated_nodes = {}
    lines = search_trace.split('\n')
    for i in range(len(lines) - 1):
        if 'Moving to Node #' in lines[i] and 'Current State:' in lines[i + 1]:
            node_id = lines[i].split('Moving to Node #')[1].strip()
            state_line = lines[i + 1]
            state_part = state_line.split('Current State:')[1].split('],')[0].strip()
            operations_part = state_line.split('Operations:')[1].strip()
            target = int(state_part.split(':')[0])
            nums = eval(state_part.split(':')[1].strip() + ']')
            operations = eval(operations_part)
            generated_nodes[node_id] = {'node': f'#{node_id}', 'target': target, 'nums': nums, 'operations': operations}
    for line in search_trace.split('\n'):
        if 'Generated Node' in line:
            node_id = line.split(':')[0].split('#')[1]
            if node_id in generated_nodes:
                continue
            rest = line.split(':', 1)[1].strip()
            state = rest.split('Operation:')[0].strip()
            operation = rest.split('Operation:')[1].strip()
            target = int(state.split(':')[0])
            nums = eval(state.split(':')[1].strip())
            parent_node_id = ','.join(node_id.split(',')[:-1])
            parent_node = generated_nodes[parent_node_id]
            new_operations = parent_node['operations'] + [operation]
            generated_nodes[node_id] = {'node': f'#{node_id}', 'target': target, 'nums': nums, 'operations': new_operations}
    sub_search_nodes = []
    last_chunk = search_trace.split('<Calling Sub Searches>\n')[-1]
    sub_search_section = last_chunk.split('\n<End Calling Sub Searches>')[0]
    for line in sub_search_section.split('\n'):
        if '<Start Sub Search' in line and 'Moving to Node' in line:
            node_id = line.split('Moving to Node #')[1].strip()
            sub_search_nodes.append(generated_nodes[node_id])

    def construct_sub_search_prefix(node):
        return f"Moving to Node {node['node']}\nCurrent State: {node['target']}:[{', '.join(map(str, node['nums']))}], Operations: {node['operations']}"
    sub_search_prefix_list = [construct_sub_search_prefix(node) for node in sub_search_nodes]
    return (sub_search_prefix_list, sub_search_nodes)

# Construct a valid search_trace string
search_trace = """Moving to Node #1
Current State: 10:[1, 2, 3, 4], Operations: []
Generated Node #1,1: 10:[1, 2, 3, 5] Operation: add 1 and 4
Moving to Node #1,1
Current State: 10:[1, 2, 3, 5], Operations: ['add 1 and 4']
<Calling Sub Searches>
<Start Sub Search for Node #1
Moving to Node #1
<End Calling Sub Searches>"""

ARGS = {
    'search_trace': search_trace
}
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 tuple, ndim 2, dtype family float — 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
is_correct Ran
ran on a synthesized input
parallel-reasoning/apr/tinyrl/rollout/sos_utils.py
code served (permissive licence) · get_code("b26c2e702307ed07")
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 bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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.

# Analyzing the function is_correct and _parse_trajectory
# The function takes a search_path (string) and parses it to validate a trajectory
# It looks for specific patterns in the string format

# Let me construct a valid search_path string that will pass validation

valid_search_path = """Current State: 10:[5, 3, 2]
Exploring Operation: 5+3=8, Resulting Numbers: [8, 2]
Exploring Operation: 8+2=10, Resulting Numbers: [10]
Goal Reached
5,3 equal: Goal Reached

Goal Reached
Current State: 10:[5, 3, 2], Operations: ['5+3=8', '8+2=10']"""

ARGS = {
    'search_path': valid_search_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 bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
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
parse_bool Ran
ran on a synthesized input
parallel-reasoning/apr/src/eval/eval_apr.py
code served (permissive licence) · get_code("bb04fa2661e23ef6")
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 bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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

torch.manual_seed(0)

# parse_bool takes a single parameter 'value' which should be a string
# The function calls .lower() on it and checks membership in lists of strings
# So we need to provide a string value

ARGS = {
    'value': 'true'
}
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 bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
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
process_pretrain_example Ran
ran on a synthesized input
parallel-reasoning/apr/supervised-jax/llama3_train/gpt2_train_script.py
code served (permissive licence) · get_code("15ffd7bbc040d815")
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 numpy as np
from transformers import AutoTokenizer
import torch

# Create a minimal stand-in tokenizer that provides the required methods and attributes
class MinimalTokenizer:
    def __init__(self):
        self.bos_token = "[BOS]"
        self.eos_token = "[EOS]"
        self.pad_token_id = 0
    
    def __call__(self, texts, padding=None, truncation=None, max_length=None, return_tensors=None):
        # Simple mock tokenization: convert text to token ids
        # Each character roughly maps to a token
        token_sequences = []
        for text in texts:
            # Create a simple sequence of token ids based on text length
            tokens = [ord(c) % 100 for c in text]
            token_sequences.append(tokens)
        
        # Find max length in batch
        max_seq_len = max(len(seq) for seq in token_sequences)
        
        # Apply max_length if specified
        if max_length:
            max_seq_len = min(max_seq_len, max_length)
        
        # Pad sequences
        padded_sequences = []
        attention_masks = []
        for seq in token_sequences:
            if len(seq) > max_seq_len:
                seq = seq[:max_seq_len]
            padded_seq = seq + [self.pad_token_id] * (max_seq_len - len(seq))
            padded_sequences.append(padded_seq)
            attention_mask = [1] * len(seq) + [0] * (max_seq_len - len(seq))
            attention_masks.append(attention_mask)
        
        # Convert to numpy arrays if requested
        if return_tensors == 'np':
            input_ids = np.array(padded_sequences, dtype=np.int64)
            attention_mask = np.array(attention_masks, dtype=np.int64)
        else:
            input_ids = padded_sequences
            attention_mask = attention_masks
        
        # Return a mock tokenization result object
        class TokenizationResult:
            pass
        
        result = TokenizationResult()
        result.input_ids = input_ids
        result.attention_mask = attention_mask
        return result

# Set up the arguments
tokenizer = MinimalTokenizer()
seq = "hello world this is a test sequence"
max_length = 16

ARGS = {
    "seq": seq,
    "max_length": max_length,
    "tokenizer": tokenizer
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch, transformers — 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
sum_heuristic Ran
ran, violated the contract we drafted
parallel-reasoning/apr/src/countdown_utils.py
pointer only (licence: Apache-2.0); 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 (Apache-2.0), 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.

get_subsearch_info Not yet run
unverified (harvested, no recorded run)
parallel-reasoning/apr/src/eval/parallel_infernce_utils.py
code served (permissive licence) · get_code("e896f01e2ba9ba15")
How it ran

no invocation recorded.

popen_launch_server Not yet run
unverified (harvested, no recorded run)
parallel-reasoning/apr/tinyrl/utils.py
code served (permissive licence) · get_code("3bd024d40a65bf30")
How it ran

no invocation recorded.

rollout_sos Not yet run
unverified (harvested, no recorded run)
parallel-reasoning/apr/tinyrl/rollout/sos_utils.py
code served (permissive licence) · get_code("a5bf59b3bfbdeaaa")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 13 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
combine_nums 3 other papers
2 dated earlier, 1 later
2404.03683 (2024-04)
Stream of Search (SoS): Learning to Search in Language
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2605.19944 (2026-05)
A Measure-Theoretic Analysis of Reasoning: Structural Generalization and Approximation Limits
sum_heuristic 3 other papers
2 dated earlier, 1 later
2404.03683 (2024-04)
Stream of Search (SoS): Learning to Search in Language
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
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-23.

Repositories linked to this paper

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

Abstract

Scaling inference-time computation has substantially improved the reasoning capabilities of language models. However, existing methods have significant limitations: serialized chain-of-thought approaches generate overly long outputs, leading to increased latency and exhausted context windows, while parallel methods such as self-consistency suffer from insufficient coordination, resulting in redundant computations and limited performance gains. To address these shortcomings, we propose Adaptive Parallel Reasoning (APR), a novel reasoning framework that enables language models to orchestrate both serialized and parallel computations end-to-end. APR generalizes existing reasoning methods by enabling adaptive multi-threaded inference using spawn() and join() operations. A key innovation is our end-to-end reinforcement learning strategy, optimizing both parent and child inference threads to enhance task success rate without requiring predefined reasoning structures. Experiments on the Countdown reasoning task demonstrate significant benefits of APR: (1) higher performance within the same context window (83.4% vs. 60.0% at 4k context); (2) superior scalability with increased computation (80.1% vs. 66.6% at 20k total tokens); (3) improved accuracy at equivalent latency (75.2% vs. 57.3% at approximately 5,000ms). APR represents a step towards enabling language models to autonomously optimize their reasoning processes through adaptive allocation of computation.

For agents

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

get_harvested_code_for_paper("2504.15466")
get_code_for_paper("2504.15466")
have("2504.15466")

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

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

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

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

Connect an agent — have() is free.