{
  "id": 1229,
  "kind": "paper",
  "title": "Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agents",
  "summary": "Terminal agents act through stochastic model generations, but the ability to generate a useful action doesn't ensure reliable execution — one bad shell command (wrong package install) can poison the environment even when the model could have generated a better alternative. Investigates allocating test-time compute at the model-harness boundary: Mid-Harness samples and verifies candidate actions before forwarding one for execution, leaving generator and harness unchanged. With a TMAX-9B generator, more action sampling helps little under weak verification, while a capable verifier exploits useful alternatives from the same generator. On TerminalBench-Lite, a GPT-5.6 Sol verifier raises Pass@1 from 50.00% to 68.03% with 8 sampled actions; with TMAX-9B as its own verifier, pairwise verification performs best; distilling the stronger verifier into TMAX-9B improves Pass@1 further without touching the generator. Combining action and trajectory scaling reaches higher success at lower estimated token cost than more trajectories alone. Key design rule: spend more on the verifier than on extra samples. Practitioner takeaway (@thesignalnow): label candidate pairs offline with the strong verifier, fine-tune a small model, deploy it as the always-on checker — avoids paying frontier-model prices per action. Directly relevant to the user's agent-harness work.",
  "body": "",
  "notes": "Discovery: @dair_ai X post 2026-10-04 7:00 AM ET (https://x.com/dair_ai/status/2106700907106943107), ~2K views | NVIDIA / KAIST | DAIR.AI 'Chat with Paper' page: https://academy.dair.ai/papers/mid-harness-scaling-actions-between-model-and-harness-for-terminal-agents-2609.39982 | License: CC BY 4.0",
  "url": "https://arxiv.org/abs/2609.39982",
  "links": [],
  "authors": [
    "Minki Kang",
    "Ryo Hachiuma",
    "Shaokun Zhang",
    "Subhashree Radhakrishnan",
    "Yonggan Fu",
    "Jindong Jiang",
    "Mingjie Liu",
    "Ehsan Hosseini-Asl",
    "Yi Dong",
    "Yu-Chiang Frank Wang",
    "Byung-Kwan Lee"
  ],
  "tags": [
    "mid-harness",
    "terminal-agents",
    "test-time-compute",
    "action-verification",
    "terminalbench",
    "distillation",
    "pairwise"
  ],
  "topics": "terminal agents, test-time compute, action verification, TerminalBench, harness, distillation, pairwise comparison",
  "venue": "arXiv:2609.39982 (cs.CL), submitted 30 Sep 2026",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-04T00:00:00.000Z",
  "verified_at": "2026-10-04T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "1538"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-04T12:02:18.562Z",
  "updated_at": "2026-10-04T12:02:18.562Z",
  "page": "https://papers.projxon.ai/entries/1229",
  "markdown": "https://papers.projxon.ai/entries/1229.md",
  "api": "https://papers.projxon.ai/api/entries/1229",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 460,
      "kind": "paper",
      "title": "Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Compute",
      "summary": "Unified TTC for SWE agents: internal TTC (development-contextualized long-CoT trajectories bootstrapped with DeepSeek R1 from GitHub issues, then rejection-sampled) plus external TTC (PRM-guided search at repository understanding, fault localization, and patch generation, with execution verification and a DPO ORM). On SWE-bench Verified, Qwen2.5-Coder-32B SWE-Reasoner reports 37.6% with internal TTC and 46% at external budget 8, matching Claude 3.5 Sonnet v2 and beating o1/DeepSeek-R1 in the paper's 2025 comparison. Code https://github.com/yingweima2022/SWE-Reasoner.",
      "url": "https://arxiv.org/abs/2503.23803",
      "authors": [
        "Yingwei Ma",
        "Yongbin Li",
        "Yihong Dong",
        "Xue Jiang",
        "Rongyu Cao",
        "Jue Chen",
        "Fei Huang",
        "Binhua Li"
      ],
      "tags": [
        "swe-bench",
        "test-time-compute",
        "swe-reasoner",
        "qwen2.5-coder",
        "tongyi",
        "long-cot",
        "prm",
        "agent"
      ],
      "venue": "arXiv / Tongyi Lab, Alibaba",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0",
      "published_year": 2025,
      "added_at": "2026-08-14T16:36:00.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 26,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/460",
      "markdown": "https://papers.projxon.ai/entries/460.md",
      "api": "https://papers.projxon.ai/api/entries/460"
    },
    {
      "id": 1235,
      "kind": "paper",
      "title": "Strategically Diverse Sampling for Self-Training",
      "summary": "Challenges what makes good self-training data. Standard RFT (IID sampling, filter for correctness) overrepresents strategies the model already favors, so asymptotic pass@k barely improves. Instead, first ask the model to enumerate distinct approaches, then solve each problem once per approach: GROOT builds a hierarchical tree over the approach space and samples distinct paths; Verbalized Sampling produces a probability-weighted list of approaches. Results on competitive programming and Next-Chapter Prediction: GROOT with 4 samples beats IID with 64 samples on held-out frontier pass@64 (15.5 vs 7.9); training on only the *incorrect* strategic samples still outperforms standard IID rejection sampling (17.5 VS-4-incorrect-only vs 7.9 IID-64) — diversity of approaches matters more than correctness; a 4B student's own diverse samples beat IID distillation from a 235B teacher (22.8 vs 13.4) at far lower cost. GROOT/VS-trained models also start and end higher for test-time scaling and as RL initialization (GROOT-4 hits 19% validation pass@8 ~41 RL steps before IID-64). Directly relevant to the user's LLM training/post-training setups and the SFT-vs-GRPO thread.",
      "url": "https://arxiv.org/abs/2609.31571",
      "authors": [
        "Alexander Gurung",
        "Esmeralda S. Whitammer",
        "Mirella Lapata"
      ],
      "tags": [
        "self-training",
        "rft",
        "strategic-diversity",
        "groot",
        "verbalized-sampling",
        "distillation",
        "test-time-scaling",
        "rl"
      ],
      "venue": "arXiv:2609.31571 (cs.CL), submitted 25 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00: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/1235",
      "markdown": "https://papers.projxon.ai/entries/1235.md",
      "api": "https://papers.projxon.ai/api/entries/1235"
    },
    {
      "id": 551,
      "kind": "paper",
      "title": "Reasoning Models Can Be Effective Without Thinking",
      "summary": "NoThinking prefills an empty thinking block on DeepSeek-R1-Distill-Qwen-32B so the model writes the solution directly. At matched budget it often beats Thinking, especially low-budget (AMC 2023 51.3 vs 28.9 at ~700 tokens) and as pass@k grows. Parallel NoThinking + best-of-N (verifier or self-certainty) matches sequential Thinking at up to 7–9× lower latency and, with verifiers, ~4× fewer tokens (MiniF2F/ProofNet). LiveCodeBench is the main exception. No official code on abs.",
      "url": "https://arxiv.org/abs/2504.09858",
      "authors": [
        "Wenjie Ma",
        "Jingxuan He",
        "Charlie Snell",
        "Tyler Griggs",
        "Sewon Min",
        "Matei Zaharia"
      ],
      "tags": [
        "nothinking",
        "reasoning",
        "r1-distill",
        "test-time-compute",
        "best-of-n",
        "latency",
        "berkeley",
        "ai2"
      ],
      "venue": "arXiv / UC Berkeley / Allen Institute for AI",
      "source": "",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 198,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/551",
      "markdown": "https://papers.projxon.ai/entries/551.md",
      "api": "https://papers.projxon.ai/api/entries/551"
    },
    {
      "id": 546,
      "kind": "paper",
      "title": "The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMs",
      "summary": "Gives the model the knowledge and plan, then measures retrieve-then-compose over a key→int dictionary. Horizon length Hs=ln(s)/ln(p) grows hyperbolically; short-task benches can hide compounding. Qwen3/Gemma3: near-perfect first-step accuracy but Qwen3-32B drops below 50% by ~15 turns; larger models execute more turns. Per-step accuracy degrades via self-conditioning on own errors, not just long context; scaling size does not fix it, thinking/RL does. Single-turn without CoT: even DeepSeek-V3/Kimi-K2 fail past ~6 steps; GPT-5 thinking 2176 steps vs Claude-4 Sonnet 432 / Grok 4 384 / Gemini 2.5 Pro 120. Published at ICLR 2026. Code https://github.com/long-horizon-execution/measuring-execution.",
      "url": "https://arxiv.org/abs/2509.09677",
      "authors": [
        "Akshit Sinha",
        "Arvindh Arun",
        "Shashwat Goel",
        "Steffen Staab",
        "Jonas Geiping"
      ],
      "tags": [
        "long-horizon",
        "execution",
        "self-conditioning",
        "iclr",
        "scaling",
        "test-time-compute",
        "gpt-5",
        "qwen3",
        "gemma3"
      ],
      "venue": "arXiv / University of Cambridge / Max Planck Institute for Intelligent Systems / University of Stuttgart / ELLIS Institute Tübingen",
      "source": "",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 64,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/546",
      "markdown": "https://papers.projxon.ai/entries/546.md",
      "api": "https://papers.projxon.ai/api/entries/546"
    },
    {
      "id": 1519,
      "kind": "paper",
      "title": "Anchor: Augmented Cross-Layer Recurrent State for Long-Context Retrieval in Test-Time Training",
      "summary": "Finds that long-context retrieval in sliding-window + test-time-training hybrids is concentrated in a few anchor layers' recurrent state, and proposes Anchor, an augmented cross-layer recurrent state to improve retrieval.",
      "url": "https://arxiv.org/abs/2611.04327",
      "authors": [
        "Vimal William",
        "Yuanzhe Li",
        "Danella Zhao",
        "Huanrui Yang"
      ],
      "tags": [
        "monwed-scan-2026-11-04",
        "2611.04327",
        "looped-transformers",
        "recurrence",
        "test-time-compute"
      ],
      "venue": "arXiv 2611.04327 (cs.LG, cs.AI, v1 submitted 2026-11-03)",
      "source": "arxiv",
      "license": "arXiv non-exclusive",
      "published_year": 2026,
      "added_at": "2026-11-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1519",
      "markdown": "https://papers.projxon.ai/entries/1519.md",
      "api": "https://papers.projxon.ai/api/entries/1519"
    },
    {
      "id": 613,
      "kind": "other",
      "title": "How I got the highest score on ARC-AGI again swapping Python for English",
      "summary": "Sep 2025 writeup of Berman second ARC-AGI-Pub run. Same evolutionary test-time architecture as Dec 2024 v1 (53.6 percent on ARC-AGI-1 with Sonnet 3.5) but evolves natural-language instructions rather than Python transforms because v2 grids are too awkward to code. Grok-4 generates up to 30 instructions; subagents apply them to training grids for a cell-accuracy fitness score; top-5 get individual then pooled revisions (worst case 40 candidates per task). Reports 79.6 percent on ARC-AGI-1 at $8.42/task and 29.4 percent SoTA on ARC-AGI-2 (prior 25 percent). Code already cataloged as papers_local id 616.",
      "url": "https://jeremyberman.substack.com/p/how-i-got-the-highest-score-on-arc-agi-again",
      "authors": [
        "Jeremy Berman"
      ],
      "tags": [
        "blog",
        "arc-agi",
        "grok-4",
        "evolutionary-search",
        "test-time-compute",
        "multi-agent",
        "jeremy-berman"
      ],
      "venue": "Jeremy’s Substack",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-08-14T18:56:35.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/613",
      "markdown": "https://papers.projxon.ai/entries/613.md",
      "api": "https://papers.projxon.ai/api/entries/613"
    }
  ]
}
