{
  "id": 851,
  "kind": "paper",
  "title": "Harness Learning Enables Generalizable Test-Time Adaptation",
  "summary": "Introduces harness learning: instead of updating model weights at test time, train a proposer model to revise the solver's executable harness — the program organizing model calls, tool use, and information flow — using execution feedback. Framed as meta-learning over executable programs, with harness revisions playing the role of weight updates; the proposer is trained with RL using revised harnesses' task performance as reward, and candidate harnesses run under a frozen solver. On 21 unseen Reasoning Gym families, SFT followed by RL raises mean single-revision score from 0.32 (base proposer) to 0.62, and the trained 4B proposer beats its 35B teacher on average. A QA proposer trained with RL only on HotpotQA transfers to MuSiQue and 2WikiMultihopQA, with ten revision rounds nearly doubling exact match. Policies trained on single revisions keep improving harnesses over multiple rounds, suggesting harness design can become a reusable adaptation skill.",
  "body": "",
  "notes": "Discovery: @rsalakhu X post 2026-10-01 (https://x.com/rsalakhu/status/2105730919466246640) quoting lead author @ZAlvin39105's thread 2026-09-30 (https://x.com/ZAlvin39105/status/2105329046359875658) | Outer/inner loop: given task description, current harness, and execution report, the proposer writes a code edit; candidate harnesses run with a frozen solver and their task performance is the RL reward; at test time the inner loop repeatedly revises the harness from execution feedback while both models' weights stay fixed | Reasoning: 21 unseen Reasoning Gym families (excluded from both training phases); SFT + RL raises mean single-revision score 0.32 -> 0.62; trained 4B proposer outperforms its 35B teacher on average (0.62 vs 0.56), though the teacher remains stronger under oracle best-of-eight selection; gains are in the mean over all proposals, so individual revisions become more useful before best-candidate selection | QA: separate proposer trained directly with RL on HotpotQA (no teacher demonstrations) transfers to MuSiQue and 2WikiMultihopQA; on MuSiQue ten revision rounds raise exact match ~0.14 -> 0.27 (avg of four runs); on both unseen QA benchmarks each RL proposer's average final run exceeds the oracle best of 80 independent revisions | What revisions learn: e.g. keep summaries for guiding retrieval but pass original retrieved passages to the answering call; add retrieval hops or re-search when a draft answer is absent from passages | Open questions noted: training on revision sequences does not consistently improve over single-revision training (per-edit immediate rewards leave cross-chain credit assignment unexplored); SFT data from a single teacher over a limited range of harness designs; fixed context-assembly procedure limits failure patterns seen | Code (release soon): https://github.com/AlvinZH04/Harness-Learning | Website: https://alvinzh04.github.io/Harness-Learning-Website/ | License: CC BY 4.0",
  "url": "https://arxiv.org/abs/2609.35738",
  "links": [],
  "authors": [
    "Alvin Zhang",
    "Xuecheng Liu",
    "Zixuan Wang",
    "Fahim Tajwar",
    "Daman Arora",
    "Ruslan Salakhutdinov",
    "Daniel Khashabi",
    "Yuda Song",
    "Andrea Zanette"
  ],
  "tags": [
    "harness-learning",
    "harness-optimization",
    "test-time-adaptation",
    "meta-learning",
    "proposer-model",
    "execution-feedback",
    "reasoning-gym",
    "hotpotqa",
    "musique",
    "continual-learning-agents"
  ],
  "topics": "agent harnesses, test-time adaptation, meta-learning, reinforcement learning, multi-hop QA, continual learning",
  "venue": "arXiv:2609.35738 (cs.CL), submitted 28 Sep 2026",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-01T00:00:00.000Z",
  "verified_at": "2026-10-01T00:00:00.000Z",
  "attrs": {},
  "enrichment": {
    "s2": {
      "paper_id": "e8cc23cd882f0bd5c16ba85742a459134ae33b73",
      "published": "2026-09-28",
      "fetched_at": "2026-10-03T14:58:38.438Z",
      "citation_count": 0,
      "reference_count": 47,
      "influential_citation_count": 0
    },
    "arxiv": {
      "id": "2609.35738",
      "title": "Harness Learning Enables Generalizable Test-Time Adaptation",
      "authors": [
        "Alvin Zhang",
        "Xuecheng Liu",
        "Zixuan Wang",
        "Fahim Tajwar",
        "Daman Arora",
        "Ruslan Salakhutdinov",
        "Daniel Khashabi",
        "Yuda Song",
        "Andrea Zanette"
      ],
      "updated": "2026-09-28",
      "abstract": "A language-model agent is jointly defined by its model and its harness, the executable program that organizes model calls, tool use, and information flow. Because different tasks call for different ways of organizing these operations, the harness needs to be adapted using feedback from the task at hand. We introduce harness learning, which trains a proposer model to revise a solver's harness using execution feedback. We formulate this process as meta-learning over executable programs, with harness revisions playing the role of weight updates in gradient-based adaptation. We train the proposer with reinforcement learning, using the task performance of revised harnesses as the reward. At test time, the proposer uses feedback from successive executions on a new task to refine the harness, without performing any parameter-space update. Experiments on reasoning and multi-hop question answering show that harness learning improves revision quality and that the ability to adapt at test time transfers to unseen tasks. Policies trained on individual revisions can continue improving harnesses over multiple rounds, while the benefits of training on revision sequences vary across settings. These findings suggest a path towards continually learning agents that turn accumulated experience into generalizable improvements.",
      "published": "2026-09-28",
      "categories": [
        "cs.CL",
        "cs.LG"
      ],
      "fetched_at": "2026-10-03T14:58:38.438Z"
    }
  },
  "enriched_at": "2026-10-03T14:58:38.494Z",
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "932"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/851",
  "markdown": "https://papers.projxon.ai/entries/851.md",
  "api": "https://papers.projxon.ai/api/entries/851",
  "relations": [
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 912,
        "kind": "paper",
        "title": "STaR: Bootstrapping Reasoning With Reasoning",
        "summary": "arXiv 2203.14465 (STaR): loop generates rationales, keeps correct-answer traces, rationalizes failures with answer hints, then fine-tunes; repeats. Improves over answer-only finetuning; competitive with much larger models on CommonsenseQA in paper framing. Discord title Self-Taught Reasoner (STaR).",
        "url": "https://arxiv.org/abs/2203.14465",
        "authors": [
          "Eric Zelikman",
          "Yuhuai Wu",
          "Jesse Mu",
          "Noah D. Goodman"
        ],
        "tags": [
          "star",
          "self-taught-reasoner",
          "cot",
          "bootstrapping",
          "neurips2022",
          "arxiv:2203.14465"
        ],
        "venue": "arXiv 2203.14465; NeurIPS 2022",
        "source": "arxiv",
        "license": "",
        "published_year": 2022,
        "added_at": "2026-09-14T21:11:52.000Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [
          "en"
        ],
        "modalities": [],
        "size_class": null,
        "citation_count": 1115,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/912",
        "markdown": "https://papers.projxon.ai/entries/912.md",
        "api": "https://papers.projxon.ai/api/entries/912"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 470,
      "kind": "paper",
      "title": "MemoHarness: Agent Harnesses That Learn from Experience",
      "summary": "Decomposes the harness into six control surfaces (context, tool, generation, orchestration, memory, output) plus a dual-layer experience bank of per-case diagnoses and distilled global patterns. Training-time search (T=10) starts from a minimal harness with GPT-5.3-Codex; test-time adaptation retrieves similar successes/failures with no labels or extra search. On Terminal-Bench 18-task held-out split, 0.806 vs Codex 0.722 (+0.084); LiveCodeBench 0.900→0.967; FinanceAgent 0.600→0.767. Cross-model mean +0.098 (GLM-5 +0.233). Reported cost $6.89 vs Codex $10.28 because 13.32M of 14.18M input tokens were cached. Authors note the 18-task split, no CIs, and incomplete component ablations.",
      "url": "https://arxiv.org/abs/2607.14159",
      "authors": [
        "Yue Huang",
        "Wenjie Wang",
        "Han Bao",
        "Yuchen Ma",
        "Xiaonan Luo",
        "Yi Nian",
        "Haomin Zhuang",
        "Zheyuan Liu",
        "Yue Zhao",
        "Xiangliang Zhang"
      ],
      "tags": [
        "memoharness",
        "agent-harness",
        "terminal-bench",
        "experience-bank",
        "test-time-adaptation",
        "notre-dame"
      ],
      "venue": "arXiv / University of Notre Dame",
      "source": "arxiv",
      "license": "CC BY 4.0",
      "published_year": 2026,
      "added_at": "2026-08-14T16:44:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 12,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/470",
      "markdown": "https://papers.projxon.ai/entries/470.md",
      "api": "https://papers.projxon.ai/api/entries/470"
    },
    {
      "id": 1193,
      "kind": "paper",
      "title": "Mixture of Self-Improving Branches For Agent Harness Optimization",
      "summary": "Harness optimization is a practical setting for recursive self-improvement: agent-generated modifications inform subsequent changes through execution feedback. Meta-Harness implements this via iterative code generation and evaluation, but a fixed development set and fixed proposal policy channel evolution along a single trajectory, risking local optima — and a harness that solves cases the leaders miss yet ranks lower overall gets little chance for further development. Mixture of Self-Improving Branches organizes the improvement process itself into parallel branches, each with evolving development subsets and proposal policies. Every branch starts identical (same seed harnesses, full problem set, same guidance); no one assigns specialties. After each iteration, branches are compared problem by problem: a branch keeps development cases solved by more of its leading harnesses than by other branches' leaders, drops cases solved by every leading harness across all branches, and revises its own proposal policy (the proposer rewrites its own guidance) using its own search history. The whole loop runs on each branch's own data. The branches grow into different experts, and at test time a router sends each new problem to one branch's best harness before execution. Relative improvements over Meta-Harness: +34.8% on Olympiad-level math (46.0% -> 62.0%), +11.6% on Terminal-Bench 2.0 (44.8% -> 50.0%), +3.8% on SWE-bench Lite (63.6% -> 66.0%), with harness selection and router configuration based solely on development data.",
      "url": "https://arxiv.org/abs/2609.37834",
      "authors": [
        "Haoyu Dong",
        "Yuhang Zhou",
        "Zihao Lin",
        "Yifan Wu",
        "Bo Peng",
        "Mingyi Wang",
        "Xiangjun Fan",
        "Lizhu Zhang",
        "Zhuokai Zhao"
      ],
      "tags": [
        "self-improving-agents",
        "harness-optimization",
        "meta-harness",
        "recursive-self-improvement",
        "routing",
        "specialization",
        "olympiad-math",
        "terminal-bench"
      ],
      "venue": "arXiv:2609.37834 (cs.AI), submitted 29 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-03T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1193",
      "markdown": "https://papers.projxon.ai/entries/1193.md",
      "api": "https://papers.projxon.ai/api/entries/1193"
    },
    {
      "id": 467,
      "kind": "paper",
      "title": "Multi-Agent LLMs Fail to Explore Each Other",
      "summary": "In a two-armed delegation bandit, GPT-4, GPT-5, and Qwen2.5-7B-Instruct lock onto one peer within the first rounds (polarized 0-or-50 selections) unlike UCB. Formalizes Multi-Agent Exploration as a POSG and reduces it to per-agent LinUCB over relational features (n-gram response diversity, peer distinctiveness, historical reward, round). Across contextual diversity (10 Qwen2.5-7B agents on HotpotQA distractors) and parametric diversity (GPT-5/Qwen/Llama3.1/Mistral on Math500 and GPQA Diamond), in-context exploration can underperform random while MACE cuts regret; frozen MACE parameters transfer to 2WikiMultihopQA. Theory: MACE O(√(T log T)) regret vs greedy Ω(δT); exploration value grows with agent diversity. Code promised at https://github.com/deeplearning-wisc/mace.",
      "url": "https://arxiv.org/abs/2607.11250",
      "authors": [
        "Hyeong Kyu Choi",
        "Jiatong Li",
        "Wendi Li",
        "Xin Eric Wang",
        "Sharon Li"
      ],
      "tags": [
        "mace",
        "multi-agent",
        "exploration",
        "linucb",
        "hotpotqa",
        "gpqa",
        "math500",
        "uw-madison"
      ],
      "venue": "arXiv / University of Wisconsin–Madison / UC Santa Barbara",
      "source": "arxiv",
      "license": "CC BY 4.0",
      "published_year": 2026,
      "added_at": "2026-08-14T16:40:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/467",
      "markdown": "https://papers.projxon.ai/entries/467.md",
      "api": "https://papers.projxon.ai/api/entries/467"
    },
    {
      "id": 1288,
      "kind": "paper",
      "title": "Learning to Learn a Language",
      "summary": "PFLM (Prior-Fitted Language Model) is a 300M-parameter byte-level transformer pretrained ONLY on samples from a synthetic non-linguistic prior, never seeing a word of any real language. The prior is a distribution over recurrent structural causal models: each training sequence is generated by a freshly drawn SCM (latent state evolving through a random graph of structural equations, one token per step), so the model never sees the same 'language' twice and the only way to predict continuations is to infer the language from the prefix — meta-learning by construction (prior-fitted networks à la TabPFN, extended to language). Prior samples share natural-text statistical signatures: Zipfian frequencies, slow entropy-rate convergence, long-range dependence. With frozen weights, given real text prefixes PFLM learns to predict languages in context: on Wikipedia in six languages (English, Chinese, Hindi, Arabic, Japanese, Korean), bits per byte falls from the uniform 8 to 0.9–2.4 at 1M bytes of context. Given numerals, it learns to count, compare magnitudes, and add approximately; it predicts deterministic sequences (Rudin-Shapiro, prime indicator, Kolakoski); it compresses six non-text domains (source code to speech) below gzip and PPMd.",
      "url": "https://arxiv.org/abs/2610.05879",
      "authors": [
        "Lennart Carstens-Behrens",
        "Holger Fröhlich"
      ],
      "tags": [
        "pflm",
        "prior-fitted-language-model",
        "synthetic-data",
        "meta-learning",
        "compression"
      ],
      "venue": "arXiv",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-07T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1288",
      "markdown": "https://papers.projxon.ai/entries/1288.md",
      "api": "https://papers.projxon.ai/api/entries/1288"
    },
    {
      "id": 1091,
      "kind": "post",
      "title": "A Poetiq Perspective on Recursive Self-Improvement",
      "summary": "Poetiq blog (dated August 4, 2026) arguing that genuine RSI requires the improver to improve itself so later steps use the improved improver. Their Metasystem treats the LLM as one component of a larger system (code, prompts, search strategies) and reports published SOTAs without modifying LLM parameters. It places the Metasystem in a cheap genuine-RSI quadrant versus weight-training loops and coding-focused self-rewriters (DGM, SICA, MiniMax harness). Claimed progression: ARC-AGI, HLE/SimpleQA, then a fully automatic LiveCodeBench Pro harness that improved Gemini 3.1 Pro by 12.3% and, applied unchanged to GPT-5.5, 93.9% SOTA. Linked follow-up Benchmarks Are Dead claims SOTA on six unseen benchmarks with zero human intervention. No weights, code, or dataset released.",
      "url": "https://poetiq.ai/posts/rsi_perspective/",
      "authors": [
        "Poetiq (unsigned company post",
        "homepage founders Shumeet Baluja and Ian Fischer",
        "not bylined here)"
      ],
      "tags": [
        "poetiq",
        "rsi",
        "recursive-self-improvement",
        "metasystem",
        "harness-optimization",
        "livecodebench-pro",
        "model-agnostic",
        "vendor-blog"
      ],
      "venue": "Poetiq",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-01T17:39:11.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1091",
      "markdown": "https://papers.projxon.ai/entries/1091.md",
      "api": "https://papers.projxon.ai/api/entries/1091"
    },
    {
      "id": 839,
      "kind": "post",
      "title": "The ultimate guide to multi-harness RL",
      "summary": "The ultimate guide to multi-harness RL (Adithya S Kolavi / FineEnvs, Hugging Face Space, 2026-10-01). Not a paper: a 33-figure ~60-page interactive research article plus full artifact release documenting how to do RL across multiple agent harnesses without modifying them -- claiming the first public multi-harness agent RL pipeline. Core idea: a 'capture proxy' sits between the agent harness and vLLM, speaks the four API formats coding agents use (OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, Gemini), records exact token ids/logprobs sampled by vLLM, and reconstructs TRL-trainable traces, so the same rollouts run unmodified through 10+ harnesses. Full GRPO runs: LFM2.5-2.6B trained with multi-harness RL on 1,000 SmolDataEnvs data-analysis tasks, evaluated on 250 held-out tasks under four harnesses: base 42.2% -> multi-harness RL 54.2% pass@1 overall (step 1,000; best checkpoint step 700: 54.6%); per-harness OpenCode 49.6%, Claude Code 48.8%, Codex 53.6%, Mini-SWE-Agent 64.8%. OpenCode-only RL (step 900) reached 52.4% overall and won on its home harness (56.0%) but lost to multi-harness RL on Claude Code and Codex. Tool efficiency: correctness-only reward keeps tool calls high; adding a small bonus for fewer calls cut tool calls 31.1% on 356 task/harness pairs solved by both base and model, savings in all four harnesses. SFT comparison: fine-tuning on 3,189 successful Qwen3.8-27B teacher rollouts (17,929 examples, 2 epochs) plateaued -- OpenCode SFT 47.5% (-8.5% calls), multi-harness SFT 43.1% (-24.2% calls), both below RL (54.6%), showing multi-harness RL beats imitation at both performance and efficiency. Setup: async GRPO (TRL Async GRPO), 1,000 steps, reward = correctness x (1 + 0.1x15/(15+tool_calls)), 8 rollouts per GRPO group (one harness each, rotating), on 2xH100 (~32h OpenCode-only, 46h multi-harness); rollouts in E2B sandboxes via OpenEnv + Harbor. OpenEnv is BSD-3-Clause (PR #1036 capture proxy + Harbor, PR #1280 typed TrainingTrace API); TRL PR #6947 HarnessRolloutWorker (on TRL main, not v1.14.1). Trained models (full weights) under LFM Open License v1.0: LFM2.5-2.6B-multiharness-RL, -opencode-RL, -multiharness-SFT, -opencode-SFT, Qwen3.5-2B variants. Caveat from the model card: best-checkpoint selection used the test set (no separate validation set); single-run results on fixed harness versions.",
      "url": "https://huggingface.co/spaces/FineEnvs/multi-harness-rl",
      "authors": [
        "Adithya S Kolavi (FineEnvs / Hugging Face)"
      ],
      "tags": [
        "multi-harness-rl",
        "agent-harnesses",
        "grpo",
        "trl",
        "openenv",
        "vllm",
        "capture-proxy",
        "claude-code",
        "codex",
        "opencode",
        "tool-efficiency",
        "sft-vs-rl",
        "smoldataenvs",
        "harbor",
        "agentic-rl"
      ],
      "venue": "Hugging Face Space, 2026-10-01",
      "source": "article",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/839",
      "markdown": "https://papers.projxon.ai/entries/839.md",
      "api": "https://papers.projxon.ai/api/entries/839"
    }
  ]
}
