Goto

Collaborating Authors

 claude opus 5


Answers of vision-language models persist after lesions are erased from medical images: a matched counterfactual evaluation

arXiv.org Artificial Intelligence

Medical vision-language models (VLMs) are tested on unaltered images, where a correct answer cannot show use of the image. We erased each lesion by inpainting, made a matched control edit elsewhere and asked one yes/no question per view (507 cases, five public sources). The evidence sensitivity gap (ESG), the share of erased minus control-edited images answered "absent" or referred, is zero for constant answers and pure edit detectors. Nine commercial VLMs, correct on 82.9% to 88.8% of lesion images, reported the finding on 41.1% to 61.6% of 219 erased images (ESG 0.269 to 0.470), 9.0% to 30.9% of 288 lesion-free images and no blank image. MedScope-4B, trained on such views, reported 9.6% (ESG 0.758, 95% CI 0.701 to 0.815) while correct on 84.9%. On a fresh external set it reported 8.3% against 31.5% to 42.3% for three reference models, with fewer lesion images correct (47.6% against 74.1% for gemini-4-argon). On 103 unedited same-patient colonoscopy pairs it showed no advantage (natural ESG 0.243, as for its base model). A post hoc variant also trained on unedited images (MedScope-4B-N) had natural ESG 0.612 at a hospital not used in training, above two reference models but not shown to exceed the third, and reported 22.0% of erased lesions on the fresh external set. On 20 of 36 erasures that specialists accepted, the nine VLMs still reported the finding on 43.3% (95% CI 31.7 to 56.1) and MedScope-4B on 1. Counterfactual training reduced persistence on edited images; unedited pairs beyond colonoscopy are needed.


Freehand: The Bitter Lesson Comes to Agent Harnesses

arXiv.org Artificial Intelligence

The Bitter Lesson holds that knowledge we build into AI systems helps at first and is eventually outgrown by general methods. We show that this lesson has now come to agent harnesses. Mainstream harnesses decide a great deal on the model's behalf -- prompts prescribe how to approach a task, tool suites and timeouts fix how to act, and threshold compaction decides what to remember -- and every such decision is fixed before the model has seen the task. For weaker models these presets are a crutch; for frontier models they become a cage. We introduce Freehand, a general-purpose harness built on one rule: give the model a shell, its own memory, and a meter -- and let it decide everything else. Across five domains and three frontier model families, Freehand is better, cheaper, and faster at the same time. It outscores the first-party harness of every model (Codex, Claude Code, and Gemini CLI) in all 11 settings, by 5.1 points on average at 49% lower cost, and runs fastest on average: in a controlled side-by-side rerun, each of the other harnesses takes 17-62% longer. It also outperforms OpenCode, Pi, DeepSeek Harness, and a bash-only harness that still fixes its workflow and timeouts, while with lower-tier models the first-party harnesses win again. As models grow stronger, the best harness is the one that decides the least. Code: https://github.com/microsoft/FreeHand


SwayBench: A Two-Way Benchmark for Sycophancy Across Multi-Turn Conversations

arXiv.org Artificial Intelligence

Assistants often drop a correct answer when a user pushes back, but a model that never changes its mind ignores users who are right. We present SwayBench, a benchmark for answer sycophancy under multi-turn pressure, with 1,000 items across seven answer types, from multiple choice to contested opinion. A simulated user with a controlled persona pushes a correct system toward a specific wrong answer and a wrong system toward the truth for up to five turns. A judge, checked against five human annotators, labels the stance of each reply and scores concession. We report how often a system caves, accepts a correction, hedges, and concedes in words while keeping its answer. Across nine frontier models in a shared agent harness, caving on factual items ranges from 2.3% to 18.8%. A firm arguer more than doubles caving relative to a polite doubter and changes the ranking. Opinion items flip far more often than factual ones. In 27% of conversations where a system kept its answer, it still gave ground in words. Systems that cave less tend to accept fewer corrections. We also rerun ELEPHANT, a benchmark for social sycophancy, on the same nine systems.


AUTOEMBED: Can Coding Agents Train Text Embedding Models?

arXiv.org Artificial Intelligence

Can coding agents autonomously train useful text embedding models? We introduce \textsc{AutoEmbed}, a configurable framework and benchmark for developing and evaluating embedding models under fixed budgets. Each run provides a base model, one H100, and ten hours. We split every evaluation task in half: the agent develops on one half and is scored on the other. Across 58 runs by four agents, six settings test building from a raw encoder, improving a strong embedder, and adapting an embedder to legal, financial, medical, and code retrieval. The base model's headroom dominates performance. All four agents raise the raw encoder's score from 38.0 to 58.2--62.8, and the best comes within 1.5 points of a same-size published embedder, although retrieval remains fourteen points behind it. None meaningfully improves the strong embedder; domain gains range from 0.2 to 8.5 points. The method an agent chooses is associated with its outcome: full fine-tuning gains 8.9 points on average against 2.2 for low-rank adaptation, though the comparison is observational. Every submission declares its training data, and the audit finds no run trained on a hidden query with its relevant document. Reviewing traces and checkpoints reveals what the audit cannot: six submissions use prompts keyed to evaluation task names, and one submitted encoder is byte-identical to its base, with prompts supplying two thirds of its gain. Whether such conditioning is adaptation or reward hacking depends on what a benchmark sets out to measure, a line contamination auditing cannot draw. We release the code and artifacts at https://github.com/embeddings-benchmark/autoembed


Mighty Models, Terrible Teammates

arXiv.org Artificial Intelligence

Today's leading AI models excel at solo problem-solving, yet collaborative work still breaks down over poor communication and under-informing, a friction human users increasingly feel and downstream models suffer from directly. Pairing seven frontier models across four collaborative engineering tasks with private constraints (702 live episodes, 4,042 pairwise teammate preferences and 2,560 mid-task dropout handoffs), we isolate under-informing (giving a partner less information than the exchange requires), even on runs that finish at a perfect 1.00 score. Standard task scores, isolated post-task ratings and retention checks stay near 100%, whereas anonymised peer preference drops sharply and mid-task takeovers collapse when an upstream model omits its private rules (inside GPT-6.2 Astra's own runs, from 100.0% to 45.6%, p = 0.0005). Controlled transcript crossovers confirm that peer models respond to omitted task-critical rules (+24.6 percentage points, p = 0.0023) rather than warm-versus-blunt tone (0/96 order-consistent flips, p = 1.000) or length-matched public recaps (p = 1.000). Both under-informing and verbosity are contagious across speakers, creating a clean Pareto frontier where concise, proactive teammates enable low-cost worker models to match frontier takeover reliability while curbing partner compute overhead.


SynPath-MAS: Multi-Agent Generation of Patient-Specific Clinical Pathways After Emergency Department Admission

arXiv.org Artificial Intelligence

Care after emergency department (ED) assessment can involve multiple clinical services, interdependent activities and alternative management routes. Generating structured pathways could support the exploration of complex care scenarios and provide synthetic examples of possible care processes. We present the SynPath multi-agent system (SynPath-MAS), which generates patient-specific clinical pathways from information available after ED assessment. A registry based on the National Health Service (NHS) Treatment Function Code (TFC) framework links clinical needs to relevant services. Clinical Agents generate specialist activities that undergo multidisciplinary review, revision and integration. The pathways specify service responsibilities, clinical dependencies, sequential and parallel activities, and alternative or contingency routes supported by the case. Clinician and large language model (LLM) evaluations indicated favourable overall pathway quality on clinician-reviewed synthetic ED cases. These findings support the feasibility of structured pathway generation within the evaluated setting. The framework could support clinical scenario exploration, while its outputs could provide synthetic pathway data for demonstrating and comparing care options. With further validation and adaptation for patients, these outputs may also support clearer communication about anticipated care.


RoboSimReady: Can Coding Agents Construct Simulation from Real Observation for Robot Interaction?

arXiv.org Artificial Intelligence

Simulation is a proving ground for robot learning and evaluation, yet building high-fidelity simulated worlds still demands costly manual effort. Despite rapid gains in coding agents, it remains unclear whether they can turn real observations into physically valid environments where robots can reliably act. To address this gap, we introduce RoboSimReady, a benchmark for Simulation-Ready Real2Sim, spanning three tracks in two simulation engines: Scene Real2Sim, Object Real2Sim and Demonstration Real2Sim. Given a room video, object references or a robot demonstration, an agent builds native simulator assets, which we evaluate for loading, stability under contact and robot interaction. We develop a reusable test protocol that turns simulation readiness into explicit, executable requirements and identifies defects that prevent robot use. It combines deterministic physical checks with robot tests of articulation, grasping and demonstration replay, while measuring reconstruction fidelity separately. Known-good assets and deliberately broken counterparts test whether the evaluator accepts functioning simulations and detects specific defects. Across six coding agents evaluated on all items, the highest composite score is 43 out of 100. Our analysis shows that agents fail at different readiness checks, from loading and physics failures to inconsistent object manifests, and that robots can rarely operate the rooms agents build. By making readiness requirements explicit and identifying where assets fail, RoboSimReady provides a testbed for developing coding agents that construct simulations robots can use.


NL2Repo-Pro: Benchmarking Multilingual Production-Scale Library Development Feature by Feature

arXiv.org Artificial Intelligence

Coding agents have progressed from writing single functions to resolving issues in real repositories and, most recently, to building entire repositories from natural-language requirements. As these repositories grow to the size of a production library, benchmarks face two challenges: specifying requirements that depend on one another, and measuring how much of a delivery works, which a whole-task verdict misses and a test pass rate can overstate. We present NL2Repo-Pro, a benchmark of 150 tasks built from real libraries with a median of 74 thousand lines of code, spanning five programming languages and 14 project types. Each task specifies a library through an overview document, which arranges its features in dependency layers, and a specification for each feature. From these documents, the agent builds the library from scratch, without network access and without seeing the original repository's tests. These tests then grade the delivery feature by feature: a feature is accepted when every test that directly calls its code passes, and the main score, the Feature Acceptance Rate (FAR), is the share of features accepted. Of the four frontier systems we evaluate, Claude Opus 5.5 is the strongest. It passes 87.2% of the tests but has a FAR of 61.7%, and only 7 of its 150 libraries have every feature accepted. The other three systems reach a FAR of 22.5% to 47.1%. The ranking does not rest on recall: it holds on the 44 repositories created in 2026, where no system writes even 1% of the hidden test names. FAR also separates systems with nearly equal test pass rates: on the 32 tasks where Claude Opus 5.5 and GPT-6.1 Sol both pass at least 95% of the tests, their test pass rates differ by 1.7 points and their FAR by 16.2. Even the strongest system builds most of a production library but rarely a complete one, and getting every feature fully right remains an open challenge for coding agents.


MarrBench: Can Multimodal Agents Solve Classic Vision Tasks?

arXiv.org Artificial Intelligence

Multimodal agents increasingly do visual work, yet their vision is evaluated by answering questions about images or by computing results with operators and pretrained models, which credits a stated answer or the tools rather than the agent's own perception. We introduce MarrBench, which poses classic vision tasks to generalist agents under one rule: the image reaches only the model's vision encoder, and the result map must be drawn by a program the agent writes, re-executed without images and scored against hidden ground truth. The suite comprises 54 tasks in eight families: detecting edges and restoring strokes; grouping pixels into parts and instances; separating surfaces, reflectance, and illumination; inferring occluded structure; estimating motion and cross-frame correspondence; restoring warped or degraded images; parsing layouts and graphics; and extracting structures from scientific imagery. Each task is scored by two to five checkpoints with fixed task-specific weights that prioritize the defining pixel geometry of dense outputs. Across ten high-effort multimodal models, Gemini 4 Argon leads with 65.2/100, followed by Claude Opus 5.5 and GPT-6.1 Sol at 60.2. Every model earns 14.0--36.4 points more coarse- than pixel-level credit within the same tasks, so recognition remains substantially easier than pixel delineation.


Prompt Injection in Aviation NOTAM Assessment: Relayed Authority, Expert Adjudication and Coded Field Defences

arXiv.org Artificial Intelligence

Language models are being proposed for assessing aviation NOTAMs, which carry coded fields (the Q line) and a free text field (Item E). Text planted in Item E can steer a model while every coded field stays valid. We measure this indirect prompt injection in two phases with matched controls. Phase 1 uses synthetic scenarios. In two open weight models, injection raises compromised output under every adjudicator: by 26 points when only an understated verdict counts, and by 72 points when relaying planted content to the crew also counts. Two expert pilots, labelling blind, both find the effect and disagree on whether relay beside a sound verdict is a failure. Three of four commercial models show no effect and reject or flag these payloads in 87 to 97 per cent of outputs. Phase 2 tests seven models on real FAA NOTAMs in full ICAO format with 24 payloads written in NOTAM register, without jailbreak markers. Every undefended model relays planted content, in 6 to 40 per cent of attacked outputs against none of 60 clean notices, and understated verdicts rise in all seven. A system prompt rule that Item E cannot override the Q line, fixed before half the payloads were written, removed both effects on those payloads in all five commercial models, which flagged at least 37 of 40 attacks. On clean notices three of them raise a flag on 0 to 3 per cent and two on 18 and 57 per cent. A severity floor decoded from the Q code cut understated verdicts in two open weight models to 0 and 2 of 40. A text screen that reported no conflict on payloads it had missed reduced the attacks the models flagged. Each Phase 2 cell is one run of 40 scenarios.