Harness-G: A Graph-Structured Harness for Search Agents
Summary
This paper introduces Harness-G, a graph-structured retrieval framework that reformulates free-form query generation as finite action selection to reduce retrieval aliasing in RL-powered search agents. Across six QA benchmarks, Harness-G outperforms the strongest baseline Graph-R1 by 10.74 points at 1.5B and 3.98 points at 3B scale.
View Cached Full Text
Cached at: 07/31/26, 05:53 AM
Paper page - Harness-G: A Graph-Structured Harness for Search Agents
Source: https://huggingface.co/papers/2607.27652
Abstract
Reinforcementlearning(RL)searchagentscommonlymodelretrievalasfree-formnatural-languagequerygenerationandoptimizemulti-turninteractionsusingfinal-answerrewards.Currentstudiesmainlyimprovetrainingwithdenserormorestructuredcreditsignals,butrarelyexaminewhetherretrievalisproperlyformulatedatthepolicy-environmentinterface.WeobservepronouncedretrievalaliasingduringSearch-R1training:rolloutsforthesamequestioncontinuetogeneratedistinctquerystrings,yettheiraccumulatedevidencesetsincreasinglyoverlap.Wecallthisphenomenonretrieval-equivalencecollapse;inthisregime,trajectoriesapproachutilityequivalencewithrespecttoretrievaldecisions,leavingwithin-groupreturnswithlittleeffectiveretrievalcontrast.Toaddressthisproblem,weproposeHarness-G,agraph-structuredretrievalframeworkthatredesignsthisinterface.Itreformulatesfree-formquerygenerationasfiniteactionselection:thepolicyselectsanevidencesentenceorentity,orchoosestoanswer,whiletheenvironmentconstructsthemenu,tracksretrievalstate,andvalidatesandexecuteseachchoice.Thisinterfacereduceslinguisticaliasingandmakessame-statealternativesdirectlycomparable.Buildingonthisinterface,weintroduceStructuredNon-myopicCredit(SNC),whichusesafrozenanswerscorertocomparetheselectedactionwithitsalternativesandassignsdownstreamgainstotheearlieractionsthatenabledthem.AcrosssixQAbenchmarks,Harness-GachievesthehighestaverageF1atbothevaluatedmodelscales,outperformingthestrongestbaseline,Graph-R1,by10.74pointsat1.5Band3.98pointsat3B.
View arXiv pageView PDFGitHub2Add to collection
Get this paper in your agent:
hf papers read 2607\.27652
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2607.27652 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2607.27652 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2607.27652 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
Harness-1: Reinforcement Learning for Search Agents with State-Externalizing Harnesses
Introduces Harness-1, a 20B open search agent trained with state-externalizing harnesses, achieving strong retrieval performance and outperforming larger frontier models on several benchmarks.
@patpcj: Thanks again for your interest in our work! Links here so they don’t get buried under “show more”: Paper : https://arxi…
Harness-1 is a 20B search agent trained with reinforcement learning using a stateful search harness, achieving strong results on retrieval benchmarks and outperforming other open search subagents.
@jerryjliu0: We've created a comprehensive Retrieval Harness for modern agentic retrieval in 2026. The harness provides a persistent…
LlamaIndex has created a Retrieval Harness for modern agentic retrieval, providing a persistent data pipeline for connecting, indexing, and querying large knowledge bases with tools like semantic search and regex grep, allowing agents to autonomously navigate knowledge bases.
@dair_ai: // State-Externalizing Harnesses // A new paradigm is emerging on how to effectively build agents and harnesses. If the…
Harness-1 introduces a state-externalizing harness that separates routine bookkeeping from policy decisions in search agents, enabling a 20B model to outperform larger frontier searchers across multiple benchmarks.
Harness Handbook: Making Evolving Agent Harnesses Readable,Navigable, and Editable
The Harness Handbook is a behavior-centric representation synthesized from agent harness codebases using static program analysis and LLM assistance, helping developers and coding agents locate code implementing specific behaviors. It introduces Behavior-Guided Progressive Disclosure (BGPD) to guide agents from high-level descriptions to relevant implementation details, improving localization accuracy and edit-plan quality.