verification
HarnessMinusMinus: A Technical Report on Efficient Agent Harnesses
Jiang, Yuhua, Xu, Chang, Gao, Feifei, Zhao, Li
Agent harnesses often invoke reasoning after each tool result, even when earlier calls have already determined subsequent actions. We introduce HarnessMinusMinus (HarnessMM), a framework centered on Executable Decision Graphs (EDGs). An EDG binds resolved native actions and literal arguments to causal dependencies and public execution guards. This representation preserves decisions across tool transitions and lets later feedback determine their readiness without regenerating their content. Within an EDG, Guarded Decision Reuse (GDR) preserves the graph and activates eligible nodes; Certified Callback Substitution (CCS) executes them through the native tool interface and records omission of the corresponding reasoning callbacks. Recursive self-improvement (RSI) uses training feedback to refine the rules that construct and execute these graphs, with validation selecting the deployment configuration. Actor weights stay fixed, and new semantic decisions return control to the original reasoning model. This technical report consolidates the graph framework, implementations, and studies across coding, tool-based, and visual-agent settings. On HumanEval, HarnessMM preserves Codex success at 90.82% while reducing Tokens/task (k) from 66.72 to 47.02 (29.54% saving). For DeepSeek Harness, success improves from 71.43% to 85.71% while Tokens/task (k) decrease from 96.28 to 11.62 (87.93% saving). An MBPP ablation shows 26.91% lower cost than single-use graphs and 19.52% lower cost than retained callbacks. The report also summarizes the HarnessMM-V visual-agent study and documents optimization overhead and execution time where measured. Code is available at https://github.com/microsoft/HarnessMinusMinus.
Visual Authority Drift: How GUI Choice Architecture Induces Authorization Failures in Agents
Wang, Hanrui, Luo, Yu, Li, Xuejian, Dong, Xingbo, Jin, Zhe, Echizen, Isao
GUI-agent research has highlighted the importance of authorization and demonstrated induced overreach. Yet authority studies focus mainly on attacks, while GUI choice architecture (GCA) research examines deception susceptibility and task execution. Whether GCA undermines task-specific authorization remains unclear. We investigate visual authority drift (VAD), where GCA-induced authorization decisions deviate from the minimum permissions required by a user's task. We introduce VAD-Bench, a controlled benchmark covering multiple authorization scenarios, GCA mechanisms, and steering directions. Across three GUI agents on single-permission tasks, combined overreach-oriented cues preserve 98-100% task success while least-privilege correctness falls to 12-40%. Conversely, preselecting the minimum required permission achieves 96% correct authorization but only 64% task success. Our proposed Mutual Authorization Verification (MAV) improves authorization correctness to 96-100% while maintaining 98-100% task success under the same overreach-oriented conditions. Our findings show that GUI-agent authorization risks extend beyond attacks to GCA itself, motivating evaluation and verification that jointly consider task success and permission correctness. Our code and VAD-Bench are available at https://github.com/carrotluoy/vad/tree/main.
SERA: Towards Reliable Medical Image Segmentation through Agentic Error Review
An, Delin, Xu, Mingqi, Gu, Pengfei, Wang, Jian-Xun
Abstractments, using organ profiles to distinguish segmentation errors from normal anatomical structures. It further refines Deep learning has been widely adopted for organ segmen-the bounding boxes through additional observations and tation in medical images, yet its predictions can still con-geometric tools to improve localization accuracy. SERA outputs the location, type, con-Selected for review HU + boundary measurements Organ-label context Initial error boxthese errors by examining tissue contrast, anatomical confidence, and supporting evidence for each detected error.Organ labels However, manual review is time-consuming, 0anddatasets, demonstrating its effectiveness in detecting and lo-existing automated methods often require experts to inter-calizing segmentation errors. Final reportSlice indexpret the detected errors. We propose SERA, an agentic Slice review score 100 framework for detecting and localizing errors in 3D or-Location: slice + boxgan segmentations. SERA follows a structured review pro-1. Introduction Selected slicescess that combines rapid screening, organ-specific analysis,Screening featuresand evidence-based verification. First, a lightweight logis-Deep learning has advanced a wide range of medical imag-HU 0 tic regression model scores slices using features inspireding tasks, including segmentation [4], classification [21], Error type confidence by expert review, including boundary contrast, mask arHU boundary contrasteaand image restoration [3]. In segmentation, both manuchanges, and inter-slice overlap; the agent sets a thresholdally drawn and automatically generated contours can omit to select slices for inspection. For each selected slice, SERAtarget tissue, extend into neighboring structures, or contain Evidence review advice generates initial bounding boxes based on organ-specific Area slice overlapdisconnected fragments [2, 17]. To detect these errors, ex-0 20 40intensity and geometric features.
Interval-based Verification of Neural Networks: Formally Verified!
Neural networks have demonstrated success in solving a wide range of problems, such as outperforming traditional image recognition approaches, thereby creating demand for their use in safety-critical systems. However, deployment in such systems requires formal verification to provide certification guarantees. As a consequence, we have seen a rise in formal verification techniques for neural networks; yet, these verification tools themselves typically lack formal correctness guarantees. In safety-critical applications, properties can often be expressed as interval constraints on network outputs, motivating interval-based verification approaches. One such approach has been successfully applied to the ACAS Xu aircraft collision avoidance benchmark. However, the correctness of this approach relies on informal mathematical arguments and a manually written, heavily optimised C implementation that has not been formally verified. In this paper, we present a mechanised verification methodology for neural networks in Isabelle/HOL. We prove that interval-based verification is sound by establishing three correctness properties: interval extension, inclusion isotonicity, and Lipschitz continuity. From our formal specification, we generate a trustworthy implementation in Haskell and demonstrate the verified methodology on ACAS Xu, producing machine-checked correctness proofs for safety properties.
Verification Beats Voting, If the Verifier Is Stronger: Gold-Free Answer Selection Without Re-Solving
Agrawal, Ekansh, Sharma, Ritvij, Jayshree, Anand Ramaswamy, Jiang, Shanduojiao
Self-consistency returns the majority answer over several chains of thought, selecting by frequency alone, so it cannot see whether the reasoning behind a candidate is valid. For small open-weight models the best answer already present among four samples beats their majority vote by 6 points on GSM8K, 12 on MATH-500 and 18 on JEEBench. We introduce ESV (Explicit Strategy Verification), a gold-free procedure that closes part of that gap without re-solving: a zero-cost disagreement gate, one contrastive verification call binding each candidate's strategy to quoted givens and discharging its preconditions, and a deterministic rule accepting only candidates with no mismatched binding and no violated condition. Across 2,918 instances ESV improves on CoT maj@4 by 5.0, 5.9 and 3.5 points (148 repairs against 4 regressions, p <= 10^-7 each), and by 3.8, 6.7 and 2.8 points on the untouched originals alone, which no checker helped select. Universal Self-Consistency reaches significance on none. Two experiments then locate that gain, and the second is a negative result we report in full. The checker's identity decides the sign of the effect: under the identical prompt, candidates and rule, the solver checking its own samples instead loses 3.3, 2.3 and 2.2 points, and a likelihood-ratio criterion fixed on development data predicts both outcomes in advance. But the structured form is not what pays. Free-form adjudication by the same checker beats ESV by 0.6, 3.7 and 9.2 points, a shortfall we trace to the checker's verdict rather than to our rule; what the form adds is an interpretable failure label, on GSM8K only. Every problem is paired with a structural perturbation that breaks or preserves the strategy the original invites, manufacturing selection errors of known cause.
Selective Verification of Transferred Evidence-Interaction Explanations in Retrieval-Augmented Language Models
Nasir, Sidra, Khan, Rizwan Ahmed
Passage-deletion effects and interactions in retrieval-augmented generation (RAG) can differ across language-model readers, making direct transfer of evidence-use explanations unreliable. We formulate transfer as selective verification of intervention-defined claims under a limited target-response budget. For each question, four fixed passages define 16 contexts and a response surface from which we compute four deletion effects and six pairwise interactions. A coefficient-wise mixture prior borrows source-reader information while retaining a diffuse target-specific component. Sequential Monte Carlo incorporates target observations selected by a claim-directed Bayesian investigator or a recurrent proximal policy optimization (PPO) investigator. Across five model families and three multi-hop question-answering datasets, Bayesian verification attains mean noise-corrected contrast error of 0.025 at 32 target responses, versus 0.040 for target-only inference (paired difference -0.0150, Holm-adjusted p<0.001). In an independent Qwen3-235B predictor audit, Bayesian-verified explanations yield a noise-corrected Brier score of 0.078, compared with 0.100 without explanations. PPO attains error of 0.026, without a statistically supported advantage over Bayesian acquisition. Claim-level correction, negative-transfer controls, and independent reference measurements delimit the reliability of transferred explanations.
SLAI T-Rex-V2: Full-Stack Post-Training, RL Infrastructure, and Agentic Modeling for Operations Research on Ascend SuperPOD
SLAI AI Training Platform Team, null, Chen, Xuhui, Chen, Sihang, Fang, Tianxiang, Jin, Wenlong, Kong, Weiyan, Liu, Jiajun, Lu, Zhengxuan, Wang, Zhuohan, Xiang, Jinmin, Xie, Yucheng, Yang, Mingzhe, Zeng, Zirong, Zhang, Bingwei, Zhu, Ziwei, Chen, Xin, Fan, Yuntian, Gao, Yingmeng, Li, Dongfang, Li, Jing, Li, Liangyou, Li, Xiangyu, Liang, Yizhou, Luo, Xiaodong, Qiu, Linyuan, Sun, Ruoyu, Sun, Weijian, Wang, Yiting, Wu, Chenwei, Yue, Zhengjun, Hu, Baotian, Zhang, Min, Li, Haizhou, Luo, Zhiquan
Solving practical operations research (OR) problems requires translating ambiguous natural-language descriptions into exact mathematical formulations and executable solver code. We present SLAI T-Rex-V2, an OR modeling system built on DeepSeek-V4-Flash and Huawei Ascend SuperPOD. Guided by failure modes surfaced through repeated base-model sampling, we construct a solver-verified data synthesis pipeline and post-train SLAI T-Rex-V2 via cold-start SFT and multi-stage reinforcement learning. On our expert-curated SLAI-OR-Bench and SLAI-OR-Bench-Hard benchmarks, single-turn accuracy improves from 38.26% to 50.86% (+5.82 and +6.59 points over GPT-6.1-Sol and Claude Opus 5.5) and from 26.88% to 35.89%, slightly surpassing single-draw frontier baselines. Beyond single-turn generation, pairing the base model with a lightweight solver-in-the-loop agent harness lifts SLAI-OR-Bench-Hard accuracy to 40.86%, reaching 49.46% with reusable general OR skills and 55.48% with benchmark-tailored priors. To sustain efficient and stable MoE reinforcement learning on Ascend, we further prevent training-inference numerical drift from triggering RL collapse, cut rollout token generation by 82.5% through calibrated trajectory reuse, accelerate low-concurrency OR serving with native multi-token prediction, and scale agentic RL for NPU kernel optimization.
Control Barrier Function Synthesis for Differential-Algebraic Systems
Zhang, Hongchao, Kazma, Mohamad H., Wooding, Ben, Ma, Meiyi, Johnson, Taylor T., Taha, Ahmad F.
Abstract-- Control barrier certificates (CBCs) have been CBF inequality and preserve the algebraic constraint manifold, extensively studied for ordinary differential equation (ODE) a compatibility requirement absent in ODE formulations. This paper without accounting for compatibility, which may drive thepresents the first CBC synthesis framework for DAE systems, state off the manifold and produce certificates that are notaddressing safety for both index-1 and higher-index systems. We transform DAE-CBF synthesis into ODE-CBF synthesis withphysically meaningful. In [7], DAE-aware CBFs are introadditional compatibility constraints and develop an alternatingduced to resolve this challenge through projected dynamics synthesis framework. We propose an anchored sum-of-squareson the constraint manifold, providing necessary and sufficient (SOS) formulation that guarantees geometric correctness on the verification conditions for a given candidate barrier.
Uncertainty Gated Quantum Kernel Residuals for Face Verification
Bhatia, Krishna, Choudhary, Kavita, Sharma, Ram Prakash, Mishra, Pruthwik, Chandaliya, Praveen Kumar
Quantum-kernel SVMs are attractive near-term classifiers, but modern face embeddings already exhibit a strong cosine geometry and must be aggressively compressed to fit a small qubit budget. We study a more conservative role for a quantum kernel: an uncertainty-gated residual specialist that is invoked only for face pairs for which the strong cosine verifier is ambiguous. A fixed ArcFace-style backbone supplies 512-D normalized embeddings; pair features are compressed to 8 or 12 dimensions and evaluated by an analytic-statevector quantum fidelity kernel. We compare cosine similarity, full and qubit-budget-matched RBF SVMs, standalone QkSVM, a random residual, a classically gated residual, and the quantum-gated residual across LFW, CASIA-WebFace, CFP-FP, and VGGFace2 protocols. Standalone budgeted kernels remain weaker than the full embedding geometry, but selective residual routing substantially reduces this failure. On the hard CFP-FP protocol, cosine obtains 0.816 AUC and 0.206 TAR at FAR=$10^{-2}$, standalone QkSVM 0.677/0.054, and the gated quantum residual 0.824/0.226. The identically routed classical residual achieves the same AUC of 0.824 and TAR of 0.223, demonstrating that the observed contribution is attributable to the hybrid uncertainty-routing strategy rather than to quantum advantage. On VGGFace2, where cosine is near ceiling (0.992 AUC), gating preserves 0.990 AUC while standalone QkSVM falls to 0.961. Across the four datasets, the gated quantum residual improves AUC over the standalone QkSVM by approximately 0.003, 0.007, 0.147, and 0.029, respectively. These results establish a practical design principle for quantum-assisted biometrics: when a compact quantum verifier is globally weaker, it should be treated as a selectively routed specialist and evaluated against an identically gated classical control.
SeVerus: Context-Aware, Gamified Benchmarking for Rust Verification
Silva, Álvaro F., Afonso, Martim, Saavedra, Nuno, First, Emily, Mendes, Alexandra, Ferreira, João F.
Coding agents achieve high success rates on existing benchmarks for Verus, a verifier for Rust programs. These benchmarks typically provide the auxiliary lemmas needed to complete a proof. In practice, however, such lemmas must be discovered and proved. To capture this challenge, we present SEVERUS, a context-aware technique to generate Verus benchmarks that organizes verification tasks into quests, each divided into levelsin a gamified manner. Using the original proof dependencies in verified projects, SEVERUS constructs one quest per verification target and progressively removes proof context to create individual levels. These levels range from the easiest, requiring completing only a single missing lemma, to the hardest, requiring proving the target without any supporting lemmas. An independent checker rejects changes to executable code, weakened specifications, and unsound proof constructs. A noisy binary search estimates the highest level that an agent can solve reliably. Applied to six open-source Verus projects, SEVERUS generates 819 quests comprising 10,095 levels. Experiments with Codex using GPT-6 Sol and GPT-6 Luna, and with Claude Code using Sonnet 4.6, show that success decreases and cost increases as proof context is withdrawn. The strongest agent solves the final level of 52 of 60 sampled quests, yet can only reliably solve 35% of their levels, with failures concentrated in longer quests. Successful GPT-6 Sol proofs rarely reproduce the withheld lemmas, instead, using alternative proof decompositions. By systematically varying proof context, SEVERUS provides a foundation for constructing verification benchmarks that can continue to challenge increasingly capable coding agents.