SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.08808 · 2026

Multiplex Thinking: Reasoning via Token-wise Branch-and-Merge

Jiatao Gu, Furu Wei, Li Dong, Yaru Hao, Qingxiu Dong, Yao Tang

arXiv · PDF · Open in the Atlas

Code that ran

7 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (7 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 0 failures of our instrument; 4 no recorded run), measured 2026-11-23; 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/2601.08808.json · badge: /api/ran/2601.08808.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
GMLR-Penn/Multiplex-Thinking community
Papers with Code archive
7 ran · 4 no recorded run
FunctionStatusWhere it lives
ChoicesDecision Ran
ran on a synthesized input · constructed an object; no result was computed
GMLR-Penn/Multiplex-Thinking/sglang-0.4.9.post6/sglang/lang/ir.py
code served (permissive licence) · get_code("3a6b175c21ec8b40")
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 an instance of its own class, ChoicesDecision: the run constructed the object and did not call it, so no result was computed. 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
from typing import List, Optional, Union, Any, Dict
from dataclasses import dataclass

@dataclass
class ChoicesDecision:
    decision: str
    meta_info: Optional[Dict[str, Any]] = None

torch.manual_seed(0)

ARGS = {
    "decision": "option_a",
    "meta_info": {
        "confidence": 0.95,
        "reasoning": "test reasoning",
        "score": 42,
        "tags": ["important", "verified"]
    }
}
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 ChoicesDecision — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ChoicesDecision 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
SglConstantText Ran
ran on a synthesized input · constructed an object; no result was computed
GMLR-Penn/Multiplex-Thinking/sglang-0.4.9.post6/sglang/lang/ir.py
code served (permissive licence) · get_code("36d0837a8b42abde")
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 an instance of its own class, SglConstantText: the run constructed the object and did not call it, so no result was computed. 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
from typing import List, Optional, Union

# Reset node counter for clean state
class SglExpr:
    node_ct = 0

    def __init__(self):
        self.node_id = SglExpr.node_ct
        self.prev_node = None
        self.pid = None
        SglExpr.node_ct += 1

    def __add__(self, other):
        if isinstance(other, str):
            other = SglConstantText(other)
        assert isinstance(other, SglExpr)
        return self.concatenate_ir(self, other)

    def __radd__(self, other):
        if isinstance(other, str):
            other = SglConstantText(other)
        assert isinstance(other, SglExpr), f'{other}'
        return self.concatenate_ir(other, self)

    def concatenate_ir(self, a, b):
        if isinstance(a, SglExprList):
            if isinstance(b, SglExprList):
                return SglExprList(a.expr_list + b.expr_list)
            else:
                return SglExprList(a.expr_list + [b])
        elif isinstance(b, SglExprList):
            return SglExprList([a] + b.expr_list)
        return SglExprList([a, b])

    def print_graph_dfs(self):
        ret = ['']
        visited = set()

        def dfs_print(x):
            if x is None or x in visited:
                return
            visited.add(x)
            if x.prev_node is not None:
                dfs_print(x.prev_node)
            if isinstance(x, SglExprList):
                for y in x.expr_list:
                    dfs_print(y)
            elif isinstance(x, SglVariable):
                dfs_print(x.source)
            if isinstance(x, (SglFork, SglGetForkItem)):
                ret[0] += f'%{x.node_id} = {x}\n'
            elif x.prev_node is not None:
                ret[0] += f'%{x.node_id} = %{x.prev_node.node_id} + ' + str(x) + '\n'
            else:
                ret[0] += f'%{x.node_id} = ' + str(x) + '\n'
        dfs_print(self)
        return ret[0]

class SglExprList(SglExpr):

    def __init__(self, expr_list: List[SglExpr]):
        super().__init__()
        self.expr_list = expr_list

    def __repr__(self):
        return f'ExprList({self.expr_list})'

class SglFork(SglExpr):

    def __init__(self, number: int, position_ids_offset=None):
        super().__init__()
        self.number = number
        self.position_ids_offset = position_ids_offset

    def __repr__(self):
        return f'Fork(%{self.prev_node.node_id}, number={self.number}, position_ids_offset={self.position_ids_offset})'

class SglGetForkItem(SglExpr):

    def __init__(self, index: int):
        super().__init__()
        self.index = index

    def __repr__(self):
        return f'GetForkItem(%{self.prev_node.node_id}, index={self.index})'

class SglVariable(SglExpr):

    def __init__(self, name: str, source):
        super().__init__()
        self.name = name
        self.source = source

    def __repr__(self):
        return f"Variable('{self.name}', source=%{self.source.node_id})"

class SglConstantText(SglExpr):

    def __init__(self, value: str):
        super().__init__()
        self.value = value

    def __repr__(self):
        return f'Constant({repr(self.value)})'


# Reset node counter for fresh test
SglExpr.node_ct = 0

# Create a simple constant text instance
ARGS = {
    'value': 'Hello, World!'
}
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 SglConstantText — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SglConstantText 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
SglExprList Ran
ran on a synthesized input · constructed an object; no result was computed
GMLR-Penn/Multiplex-Thinking/sglang-0.4.9.post6/sglang/lang/ir.py
code served (permissive licence) · get_code("aa7ecaad2f1775f9")
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 an instance of its own class, SglExprList: the run constructed the object and did not call it, so no result was computed. 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.

# First, define all the classes from the function signature
class SglExpr:
    node_ct = 0

    def __init__(self):
        self.node_id = SglExpr.node_ct
        self.prev_node = None
        self.pid = None
        SglExpr.node_ct += 1

    def __add__(self, other):
        if isinstance(other, str):
            other = SglConstantText(other)
        assert isinstance(other, SglExpr)
        return self.concatenate_ir(self, other)

    def __radd__(self, other):
        if isinstance(other, str):
            other = SglConstantText(other)
        assert isinstance(other, SglExpr), f'{other}'
        return self.concatenate_ir(other, self)

    def concatenate_ir(self, a, b):
        if isinstance(a, SglExprList):
            if isinstance(b, SglExprList):
                return SglExprList(a.expr_list + b.expr_list)
            else:
                return SglExprList(a.expr_list + [b])
        elif isinstance(b, SglExprList):
            return SglExprList([a] + b.expr_list)
        return SglExprList([a, b])

    def print_graph_dfs(self):
        ret = ['']
        visited = set()

        def dfs_print(x):
            if x is None or x in visited:
                return
            visited.add(x)
            if x.prev_node is not None:
                dfs_print(x.prev_node)
            if isinstance(x, SglExprList):
                for y in x.expr_list:
                    dfs_print(y)
            elif isinstance(x, SglVariable):
                dfs_print(x.source)
            if isinstance(x, (SglFork, SglGetForkItem)):
                ret[0] += f'%{x.node_id} = {x}\n'
            elif x.prev_node is not None:
                ret[0] += f'%{x.node_id} = %{x.prev_node.node_id} + ' + str(x) + '\n'
            else:
                ret[0] += f'%{x.node_id} = ' + str(x) + '\n'
        dfs_print(self)
        return ret[0]


class SglConstantText(SglExpr):

    def __init__(self, value: str):
        super().__init__()
        self.value = value

    def __repr__(self):
        return f'Constant({repr(self.value)})'


class SglFork(SglExpr):

    def __init__(self, number: int, position_ids_offset=None):
        super().__init__()
        self.number = number
        self.position_ids_offset = position_ids_offset

    def __repr__(self):
        return f'Fork(%{self.prev_node.node_id}, number={self.number}, position_ids_offset={self.position_ids_offset})'


class SglGetForkItem(SglExpr):

    def __init__(self, index: int):
        super().__init__()
        self.index = index

    def __repr__(self):
        return f'GetForkItem(%{self.prev_node.node_id}, index={self.index})'


class SglVariable(SglExpr):

    def __init__(self, name: str, source):
        super().__init__()
        self.name = name
        self.source = source

    def __repr__(self):
        return f"Variable('{self.name}', source=%{self.source.node_id})"


class SglExprList(SglExpr):

    def __init__(self, expr_list):
        super().__init__()
        self.expr_list = expr_list

    def __repr__(self):
        return f'ExprList({self.expr_list})'


# Create a list of SglExpr instances for the expr_list parameter
constant_text_1 = SglConstantText("hello")
constant_text_2 = SglConstantText("world")
fork_expr = SglFork(number=2, position_ids_offset=None)
fork_expr.prev_node = constant_text_1
get_fork_item = SglGetForkItem(index=0)
get_fork_item.prev_node = fork_expr
variable_expr = SglVariable(name="test_var", source=constant_text_2)

expr_list = [constant_text_1, constant_text_2, fork_expr, get_fork_item, variable_expr]

ARGS = {
    "expr_list": expr_list
}
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 SglExprList — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SglExprList 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
SglFork Ran
ran on a synthesized input · constructed an object; no result was computed
GMLR-Penn/Multiplex-Thinking/sglang-0.4.9.post6/sglang/lang/ir.py
code served (permissive licence) · get_code("536d7d2f26c755db")
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 an instance of its own class, SglFork: the run constructed the object and did not call it, so no result was computed. 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
torch.manual_seed(0)

# Reset node counter for fresh test
from typing import List, Optional, Union

class SglExpr:
    node_ct = 0

    def __init__(self):
        self.node_id = SglExpr.node_ct
        self.prev_node = None
        self.pid = None
        SglExpr.node_ct += 1

    def __add__(self, other):
        if isinstance(other, str):
            other = SglConstantText(other)
        assert isinstance(other, SglExpr)
        return self.concatenate_ir(self, other)

    def __radd__(self, other):
        if isinstance(other, str):
            other = SglConstantText(other)
        assert isinstance(other, SglExpr), f'{other}'
        return self.concatenate_ir(other, self)

    def concatenate_ir(self, a, b):
        if isinstance(a, SglExprList):
            if isinstance(b, SglExprList):
                return SglExprList(a.expr_list + b.expr_list)
            else:
                return SglExprList(a.expr_list + [b])
        elif isinstance(b, SglExprList):
            return SglExprList([a] + b.expr_list)
        return SglExprList([a, b])

    def print_graph_dfs(self):
        ret = ['']
        visited = set()

        def dfs_print(x):
            if x is None or x in visited:
                return
            visited.add(x)
            if x.prev_node is not None:
                dfs_print(x.prev_node)
            if isinstance(x, SglExprList):
                for y in x.expr_list:
                    dfs_print(y)
            elif isinstance(x, SglVariable):
                dfs_print(x.source)
            if isinstance(x, (SglFork, SglGetForkItem)):
                ret[0] += f'%{x.node_id} = {x}\n'
            elif x.prev_node is not None:
                ret[0] += f'%{x.node_id} = %{x.prev_node.node_id} + ' + str(x) + '\n'
            else:
                ret[0] += f'%{x.node_id} = ' + str(x) + '\n'
        dfs_print(self)
        return ret[0]

class SglExprList(SglExpr):

    def __init__(self, expr_list: List[SglExpr]):
        super().__init__()
        self.expr_list = expr_list

    def __repr__(self):
        return f'ExprList({self.expr_list})'

class SglGetForkItem(SglExpr):

    def __init__(self, index: int):
        super().__init__()
        self.index = index

    def __repr__(self):
        return f'GetForkItem(%{self.prev_node.node_id}, index={self.index})'

class SglVariable(SglExpr):

    def __init__(self, name: str, source):
        super().__init__()
        self.name = name
        self.source = source

    def __repr__(self):
        return f"Variable('{self.name}', source=%{self.source.node_id})"

class SglConstantText(SglExpr):

    def __init__(self, value: str):
        super().__init__()
        self.value = value

    def __repr__(self):
        return f'Constant({repr(self.value)})'

class SglFork(SglExpr):

    def __init__(self, number: int, position_ids_offset=None):
        super().__init__()
        self.number = number
        self.position_ids_offset = position_ids_offset

    def __repr__(self):
        return f'Fork(%{self.prev_node.node_id}, number={self.number}, position_ids_offset={self.position_ids_offset})'


ARGS = {
    'number': 3,
    'position_ids_offset': None
}
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 SglFork — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SglFork 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
SglGetForkItem Ran
ran on a synthesized input · constructed an object; no result was computed
GMLR-Penn/Multiplex-Thinking/sglang-0.4.9.post6/sglang/lang/ir.py
code served (permissive licence) · get_code("f4b2d7afcef7ccd8")
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 an instance of its own class, SglGetForkItem: the run constructed the object and did not call it, so no result was computed. 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
torch.manual_seed(0)

from typing import List, Optional, Union

class SglExpr:
    node_ct = 0

    def __init__(self):
        self.node_id = SglExpr.node_ct
        self.prev_node = None
        self.pid = None
        SglExpr.node_ct += 1

    def __add__(self, other):
        if isinstance(other, str):
            other = SglConstantText(other)
        assert isinstance(other, SglExpr)
        return self.concatenate_ir(self, other)

    def __radd__(self, other):
        if isinstance(other, str):
            other = SglConstantText(other)
        assert isinstance(other, SglExpr), f'{other}'
        return self.concatenate_ir(other, self)

    def concatenate_ir(self, a, b):
        if isinstance(a, SglExprList):
            if isinstance(b, SglExprList):
                return SglExprList(a.expr_list + b.expr_list)
            else:
                return SglExprList(a.expr_list + [b])
        elif isinstance(b, SglExprList):
            return SglExprList([a] + b.expr_list)
        return SglExprList([a, b])

    def print_graph_dfs(self):
        ret = ['']
        visited = set()

        def dfs_print(x):
            if x is None or x in visited:
                return
            visited.add(x)
            if x.prev_node is not None:
                dfs_print(x.prev_node)
            if isinstance(x, SglExprList):
                for y in x.expr_list:
                    dfs_print(y)
            elif isinstance(x, SglVariable):
                dfs_print(x.source)
            if isinstance(x, (SglFork, SglGetForkItem)):
                ret[0] += f'%{x.node_id} = {x}\n'
            elif x.prev_node is not None:
                ret[0] += f'%{x.node_id} = %{x.prev_node.node_id} + ' + str(x) + '\n'
            else:
                ret[0] += f'%{x.node_id} = ' + str(x) + '\n'
        dfs_print(self)
        return ret[0]

class SglExprList(SglExpr):

    def __init__(self, expr_list: List[SglExpr]):
        super().__init__()
        self.expr_list = expr_list

    def __repr__(self):
        return f'ExprList({self.expr_list})'

class SglFork(SglExpr):

    def __init__(self, number: int, position_ids_offset=None):
        super().__init__()
        self.number = number
        self.position_ids_offset = position_ids_offset

    def __repr__(self):
        return f'Fork(%{self.prev_node.node_id}, number={self.number}, position_ids_offset={self.position_ids_offset})'

class SglVariable(SglExpr):

    def __init__(self, name: str, source):
        super().__init__()
        self.name = name
        self.source = source

    def __repr__(self):
        return f"Variable('{self.name}', source=%{self.source.node_id})"

class SglConstantText(SglExpr):

    def __init__(self, value: str):
        super().__init__()
        self.value = value

    def __repr__(self):
        return f'Constant({repr(self.value)})'

class SglGetForkItem(SglExpr):

    def __init__(self, index: int):
        super().__init__()
        self.index = index

    def __repr__(self):
        return f'GetForkItem(%{self.prev_node.node_id}, index={self.index})'


# Create a fork to use as prev_node for SglGetForkItem
base_expr = SglConstantText("test")
fork_expr = SglFork(number=3, position_ids_offset=None)
fork_expr.prev_node = base_expr

# Create the SglGetForkItem with index parameter
fork_item = SglGetForkItem(index=1)
fork_item.prev_node = fork_expr

ARGS = {
    "index": 1
}
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 SglGetForkItem — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SglGetForkItem 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
SglSamplingParams Ran
ran on a synthesized input · constructed an object; no result was computed
GMLR-Penn/Multiplex-Thinking/sglang-0.4.9.post6/sglang/lang/ir.py
code served (permissive licence) · get_code("bde34f1fd07f14b4")
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 an instance of its own class, SglSamplingParams: the run constructed the object and did not call it, so no result was computed. 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 dataclasses
from typing import List, Optional, Union

@dataclasses.dataclass
class SglSamplingParams:
    max_new_tokens: int = 128
    min_new_tokens: int = 0
    n: int = 1
    stop: Union[str, List[str]] = ()
    stop_token_ids: Optional[List[int]] = ()
    temperature: float = 1.0
    top_p: float = 1.0
    top_k: int = -1
    min_p: float = 0.0
    frequency_penalty: float = 0.0
    presence_penalty: float = 0.0
    ignore_eos: bool = False
    return_logprob: Optional[bool] = None
    logprob_start_len: Optional[int] = (None,)
    top_logprobs_num: Optional[int] = (None,)
    return_text_in_logprobs: Optional[bool] = (None,)
    json_schema: Optional[str] = None
    dtype: Optional[str] = None
    regex: Optional[str] = None

    def clone(self):
        return SglSamplingParams(self.max_new_tokens, self.min_new_tokens, self.n, self.stop, self.stop_token_ids, self.temperature, self.top_p, self.top_k, self.min_p, self.frequency_penalty, self.presence_penalty, self.ignore_eos, self.return_logprob, self.logprob_start_len, self.top_logprobs_num, self.return_text_in_logprobs, self.json_schema)

    def to_openai_kwargs(self):
        import warnings
        if self.regex is not None:
            warnings.warn('Regular expression is not supported in the OpenAI backend.')
        return {'max_tokens': self.max_new_tokens, 'max_completion_tokens': self.max_new_tokens, 'n': self.n, 'stop': self.stop or None, 'temperature': self.temperature, 'top_p': self.top_p, 'frequency_penalty': self.frequency_penalty, 'presence_penalty': self.presence_penalty}

    def to_vertexai_kwargs(self):
        import warnings
        if self.regex is not None:
            warnings.warn('Regular expression is not supported in the VertexAI backend.')
        return {'candidate_count': 1, 'max_output_tokens': self.max_new_tokens, 'stop_sequences': self.stop, 'temperature': self.temperature, 'top_p': self.top_p, 'top_k': self.top_k if self.top_k > 0 else None}

    def to_anthropic_kwargs(self):
        import warnings
        if self.regex is not None:
            warnings.warn('Regular expression is not supported in the Anthropic backend.')
        return {'max_tokens': self.max_new_tokens, 'stop_sequences': self.stop if isinstance(self.stop, (list, tuple)) else [self.stop], 'temperature': self.temperature, 'top_p': self.top_p, 'top_k': self.top_k}

    def to_litellm_kwargs(self):
        import warnings
        if self.regex is not None:
            warnings.warn('Regular expression is not supported in the LiteLLM backend.')
        return {'max_tokens': self.max_new_tokens, 'stop': self.stop or None, 'temperature': self.temperature, 'top_p': self.top_p, 'frequency_penalty': self.frequency_penalty, 'presence_penalty': self.presence_penalty}

    def to_srt_kwargs(self):
        return {'max_new_tokens': self.max_new_tokens, 'min_new_tokens': self.min_new_tokens, 'n': self.n, 'stop': self.stop, 'stop_token_ids': self.stop_token_ids, 'temperature': self.temperature, 'top_p': self.top_p, 'top_k': self.top_k, 'min_p': self.min_p, 'frequency_penalty': self.frequency_penalty, 'presence_penalty': self.presence_penalty, 'ignore_eos': self.ignore_eos, 'regex': self.regex, 'json_schema': self.json_schema}


ARGS = {
    "max_new_tokens": 256,
    "min_new_tokens": 32,
    "n": 2,
    "stop": ["<|end|>", "<stop>"],
    "stop_token_ids": [50256, 50257],
    "temperature": 0.8,
    "top_p": 0.95,
    "top_k": 50,
    "min_p": 0.05,
    "frequency_penalty": 0.1,
    "presence_penalty": 0.2,
    "ignore_eos": False,
    "return_logprob": True,
    "logprob_start_len": 10,
    "top_logprobs_num": 5,
    "return_text_in_logprobs": True,
    "json_schema": '{"type": "object"}',
    "dtype": "float32",
    "regex": "^[a-z]+$",
}
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 SglSamplingParams — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SglSamplingParams 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
SglSelect Ran
ran on a synthesized input · constructed an object; no result was computed
GMLR-Penn/Multiplex-Thinking/sglang-0.4.9.post6/sglang/lang/ir.py
code served (permissive licence) · get_code("d8c4cbf4f54d7dc5")
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 an instance of its own class, SglSelect: the run constructed the object and did not call it, so no result was computed. 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
from dataclasses import dataclass
from typing import List, Optional, Dict, Any

torch.manual_seed(0)

# Define a minimal ChoicesSamplingMethod implementation
class DummyChoicesSamplingMethod:
    @property
    def requires_unconditional_logprobs(self) -> bool:
        return False

    def __call__(self, *, choices: List[str], normalized_prompt_logprobs: List[float], 
                 input_token_logprobs: List[List[Any]], output_token_logprobs: List[List[Any]], 
                 unconditional_token_logprobs: Optional[List[List[Any]]] = None):
        # Return a dummy decision
        return {
            "decision": choices[0] if choices else "default",
            "meta_info": {"selected_index": 0}
        }

# Create test data
choices_list = ["option_a", "option_b", "option_c"]
temperature_value = 0.7
choices_sampling_method = DummyChoicesSamplingMethod()
select_name = "test_select"

# Define ARGS dict mapping all parameters of SglSelect.__init__
ARGS = {
    "name": select_name,
    "choices": choices_list,
    "temperature": temperature_value,
    "choices_method": choices_sampling_method,
}
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 SglSelect — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SglSelect 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
ChoicesSamplingMethod Not yet run
unverified (harvested, no recorded run)
GMLR-Penn/Multiplex-Thinking/sglang-0.4.9.post6/sglang/lang/ir.py
code served (permissive licence) · get_code("98e636ab3e712a9f")
How it ran

no invocation recorded.

SglGen Not yet run
unverified (harvested, no recorded run)
GMLR-Penn/Multiplex-Thinking/sglang-0.4.9.post6/sglang/lang/ir.py
code served (permissive licence) · get_code("e7911e2a21c1e071")
How it ran

no invocation recorded.

SglSeparateReasoning Not yet run
unverified (harvested, no recorded run)
GMLR-Penn/Multiplex-Thinking/sglang-0.4.9.post6/sglang/lang/ir.py
code served (permissive licence) · get_code("08107026d1aef694")
How it ran

no invocation recorded.

SglVariable Not yet run
unverified (harvested, no recorded run)
GMLR-Penn/Multiplex-Thinking/sglang-0.4.9.post6/sglang/lang/ir.py
code served (permissive licence) · get_code("78bfed2f18cbc009")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 10 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 10 later) and 1 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
ChoicesDecision
brick of this paper's assembly: helper
1 other paper
1 later
2604.27998 (2026-04)
Latent-GRPO: Group Relative Policy Optimization for Latent Reasoning
ChoicesSamplingMethod
brick of this paper's assembly: helper
1 other paper
1 later
2604.27998 (2026-04)
Latent-GRPO: Group Relative Policy Optimization for Latent Reasoning
SglConstantText
brick of this paper's assembly: helper
1 other paper
1 later
2604.27998 (2026-04)
Latent-GRPO: Group Relative Policy Optimization for Latent Reasoning
SglExprList
brick of this paper's assembly: helper
1 other paper
1 later
2604.27998 (2026-04)
Latent-GRPO: Group Relative Policy Optimization for Latent Reasoning
SglFork
brick of this paper's assembly: helper
1 other paper
1 later
2604.27998 (2026-04)
Latent-GRPO: Group Relative Policy Optimization for Latent Reasoning
SglGen
brick of this paper's assembly: helper
1 other paper
1 later
2604.27998 (2026-04)
Latent-GRPO: Group Relative Policy Optimization for Latent Reasoning
SglGetForkItem
brick of this paper's assembly: helper
1 other paper
1 later
2604.27998 (2026-04)
Latent-GRPO: Group Relative Policy Optimization for Latent Reasoning
SglSamplingParams
brick of this paper's assembly: helper
1 other paper
1 later
2604.27998 (2026-04)
Latent-GRPO: Group Relative Policy Optimization for Latent Reasoning
SglSelect
brick of this paper's assembly: helper
1 other paper
1 later
2604.27998 (2026-04)
Latent-GRPO: Group Relative Policy Optimization for Latent Reasoning
SglVariable
brick of this paper's assembly: helper
1 other paper
1 later
2604.27998 (2026-04)
Latent-GRPO: Group Relative Policy Optimization for Latent Reasoning

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

Large language models often solve complex reasoning tasks more effectively with Chainof-Thought (CoT), but at the cost of long, low-bandwidth token sequences. Humans, by contrast, often reason softly by maintaining a distribution over plausible next steps. Motivated by this, we propose Multiplex Thinking, a stochastic soft reasoning mechanism that, at each thinking step, samples K candidate tokens and aggregates their embeddings into a single continuous multiplex token. This preserves the vocabulary embedding prior and the sampling dynamics of standard discrete generation, while inducing a tractable probability distribution over multiplex rollouts. Consequently, multiplex trajectories can be directly optimized with on-policy reinforcement learning (RL). Importantly, multiplex thinking is self-adaptive: when the model is confident, the multiplex token is nearly discrete and behaves like standard CoT; when it is uncertain, it compactly represents multiple plausible next steps without increasing sequence length. Across challenging math reasoning benchmarks, multiplex thinking consistently outperforms strong discrete CoT and RL baselines from Pass@1 through Pass@1024, while producing shorter sequences. The code and checkpoints are available at github.com/GMLR-Penn/Multiplex-Thinking.

For agents

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

get_harvested_code_for_paper("2601.08808")
get_code_for_paper("2601.08808")
have("2601.08808")

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

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

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

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

Connect an agent — have() is free.