SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.00593 · 2026

SPADER: Step-wise Peer Advantage with Diversity-Aware Exploration Rewards for Multi-Answer Question Answering

Yunfan Zhou, Zhaolu Kang, Yingcai Wu, Di Weng, Qiming Shi, Kennedy Vandenberg, Jiuquan Step, Psca Spaceport

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 0 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/2606.00593.json · badge: /api/ran/2606.00593.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
KhanCold/spader canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
FunctionStatusWhere it lives
compute_group_entity_frequency Ran
ran; our contract draft was wrong, not the code
KhanCold/spader/verl/utils/reward_score/qampari_spader_step.py
code served (permissive licence) · get_code("0f0add410faae982")
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 Counter. 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.

from collections import Counter

ARGS = {
    "per_traj_found_union": [
        {"entity_1", "entity_2", "entity_3"},
        {"entity_2", "entity_4"},
        {"entity_1", "entity_3", "entity_4", "entity_5"},
        {"entity_2"}
    ]
}
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 Counter — a Counter output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Counter 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
generate_config_from_args Ran
ran; our contract draft was wrong, not the code
KhanCold/spader/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_dynamic_pipeline_shards Ran
ran, honoured the contract we drafted
KhanCold/spader/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.

parse_tool_call Ran
ran; our contract draft was wrong, not the code
KhanCold/spader/run_test/inference.py
code served (permissive licence) · get_code("a362165845dd5ae7")
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 json
import re
from typing import List, Dict, Any, Tuple

# Test case 1: Simple list format
content_simple_list = '<tool_call>["query1", "query2"]</tool_call>'

# Test case 2: Legacy dict format
content_legacy_dict = '<tool_call>{"name":"search","arguments":{"query_list":["search term 1", "search term 2"]}}</tool_call>'

# Test case 3: Mixed content with tool call at the end
content_mixed = 'Some text before <tool_call>["final query"]</tool_call>'

# Test case 4: No tool call (should return None)
content_no_tool = 'Just some regular content without any tool calls'

# Test case 5: Multiple tool calls (should parse the last one)
content_multiple = '<tool_call>["first"]</tool_call> some text <tool_call>["second", "third"]</tool_call>'

# Test case 6: Legacy dict with nested list
content_nested = '<tool_call>{"name":"search","arguments":{"query_list":[["nested1", "nested2"], "flat"]}}</tool_call>'

# Test case 7: Empty strings and whitespace handling
content_whitespace = '<tool_call>["  ", "valid query", "  "]</tool_call>'

ARGS = {
    'content': content_simple_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 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

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 2 the same month, 2 later) and 2 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
36 dated earlier, 7 the same month, 11 later, 3 undated
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
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
and 54 more not named here
get_dynamic_pipeline_shards 52 other papers
33 dated earlier, 5 the same month, 12 later, 2 undated
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
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
and 49 more not named here

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 are increasingly deployed as tool-augmented agents to acquire information beyond parametric knowledge. While recent work has improved long-horizon tool-use reasoning, most approaches focus on tasks with a single correct answer. In contrast, many real-world queries require discovering a comprehensive set of valid answers, a setting known as Multi-Answer QA. This setting raises two challenges: fine-grained credit assignment over long search trajectories and reward alignment for sustained exploration beyond easy high-frequency entities. We propose SPADER, a reinforcement learning framework for long-horizon tool use in Multi-Answer QA. SPADER includes Step-wise Peer Advantage (SPA), a critic-free step-level credit assignment mechanism that aligns parallel trajectories by decision step and estimates advantages from peer returns. It also includes a diversityaware exploration reward that promotes longtail entity discovery by upweighting rare findings and downweighting redundant ones. Experiments on QAMPARI, Mintaka, WebQSP, and QUEST show that SPADER generally improves recall and overall F1 over promptingbased agents, outcome-supervised RL methods, and recent step-level supervision approaches. Our code and model weights are available at https://github.com/KhanCold/spader. Query: List global launch sites with successful orbital launches in 2021. Vanilla Agent global orbital launches in 2021 summary Search Observation Kennedy Vandenberg Jiuquan Step 1 famous satellite launch centers in 2021 Observation Kennedy Vandenberg Jiuquan Step 2 Answer Kennedy Vandenberg Jiuquan Step 3 SPADER global orbital launches in 2021 summary Observation Kennedy Vandenberg Jiuquan Step 1 commercial launch in 2021 Observation Kennedy Step 2 PSCA Spaceport Search Search Search From the search response, clues on commercial launches trigger branching to under-covered sources. Step 3-5 Searching long-tail entities, like Low-latitude sites, Sea Launch...

For agents

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

get_harvested_code_for_paper("2606.00593")
get_code_for_paper("2606.00593")
have("2606.00593")

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

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

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

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

Connect an agent — have() is free.