Skip to main content
QUICK REVIEW

[Paper Review] Picking the Right Specialist: Attentive Neural Process-based Selection of Task-Specialized Models as Tools for Agentic Healthcare Systems

Pramit Saha, Joshua Strong|arXiv (Cornell University)|Feb 16, 2026
Machine Learning in HealthcareComputer Science0 citations
TL;DR

The paper introduces ToolSelect, an Attentive Neural Process–based selector that adaptively chooses among multiple task-specialized chest X-ray models to answer clinical queries, and provides ToolSelectBench for evaluation under domain shifts and label gaps.

ABSTRACT

Task-specialized models form the backbone of agentic healthcare systems, enabling the agents to answer clinical queries across tasks such as disease diagnosis, localization, and report generation. Yet, for a given task, a single "best" model rarely exists. In practice, each task is better served by multiple competing specialist models where different models excel on different data samples. As a result, for any given query, agents must reliably select the right specialist model from a heterogeneous pool of tool candidates. To this end, we introduce ToolSelect, which adaptively learns model selection for tools by minimizing a population risk over sampled specialist tool candidates using a consistent surrogate of the task-conditional selection loss. Concretely, we propose an Attentive Neural Process-based selector conditioned on the query and per-model behavioral summaries to choose among the specialist models. Motivated by the absence of any established testbed, we, for the first time, introduce an agentic Chest X-ray environment equipped with a diverse suite of task-specialized models (17 disease detection, 19 report generation, 6 visual grounding, and 13 VQA) and develop ToolSelectBench, a benchmark of 1448 queries. Our results demonstrate that ToolSelect consistently outperforms 10 SOTA methods across four different task families.

Motivation & Objective

  • Motivate the need to maintain multiple specialist models per task due to domain shifts and label-space gaps in clinical data.
  • Propose a learning-based tool selector that routes queries to the most appropriate specialist without modifying tool parameters.
  • Develop an agentic Chest X-ray environment and ToolSelectBench benchmark to study tool selection under realistic clinical variability.
  • Formalize the problem as population-risk minimization over candidate tool panels with partial support and derive a differentiable surrogate loss.
  • Demonstrate that ToolSelect consistently outperforms state-of-the-art routing baselines across multiple Chest X-ray task families.

Proposed method

  • Define a population of task-specific tool candidates with partial support per task and a ground-truth cost for tool predictions.
  • Introduce a selector r_theta that assigns scores to tools conditioned on the multimodal query and available panel; compute masked softmax probabilities pi_theta.
  • Use a comp-sum surrogate loss L_Psi to optimize the selector in a differentiable manner while masking tools that do not support the current input-task pair.
  • Adopt an Attentive Neural Process (ANP) to encode per-tool behavioral reference sets and produce a query-conditioned descriptor psi_E^t(p) for each tool.
  • Score candidates with a shared MLP g_theta that fuses the query representation, the tool’s descriptor, and its aligned predictions.
  • Train with panel sampling, task-marginalized objective, and regularizers including panel entropy and a per-tool coverage head.
Figure 1 : Why model selection for tools matters in agentic systems? Top (a): A naive setup with a single fixed specialist model per tool fails under domain and label-space mismatch. Bottom (b): Our approach equips tools with multiple specialist candidates and uses ToolSelect to adaptively select ap
Figure 1 : Why model selection for tools matters in agentic systems? Top (a): A naive setup with a single fixed specialist model per tool fails under domain and label-space mismatch. Bottom (b): Our approach equips tools with multiple specialist candidates and uses ToolSelect to adaptively select ap

Experimental results

Research questions

  • RQ1Can a query-conditioned model selector reliably pick the most suitable specialist model for each clinical input across multiple chest X-ray tasks?
  • RQ2How close can adaptive tool selection approach the Oracle upper bound given a heterogeneous pool of tool candidates with partial task support?
  • RQ3Do ANP-based tool descriptors enable effective routing despite diverse output spaces and data shifts across domains?
  • RQ4What is the performance impact of tool selection on disease diagnosis, report generation, visual grounding, and VQA in agentic healthcare systems?

Key findings

  • ToolSelect consistently outperforms 10 SOTA baselines across four chest X-ray task families.
  • Across open benchmarks, ToolSelect closes a large portion of the gap between random routing and Oracle per-task performance.
  • Specialist models exhibit complementary strengths and no single model is uniformly best under domain shifts, highlighting the value of adaptive routing.
  • ANP-based query conditioning on per-tool reference sets enables effective, differentiable routing without updating tool parameters.
  • In disease diagnosis, ToolSelect achieves substantial gains in F1 and accuracy over baselines and single-model choices, with results indicating meaningful clinical potential under dataset shift.
  • In report generation, ToolSelect provides improved routing leading to higher clinical fidelity compared to baselines, though absolute gains vary by model and metric.
Figure 2 : Performance comparison of ToolSelect against 18 task-specialized chest X-ray disease-detection models. Individual specialists exhibit low performance and substantial performance variability. The Oracle upper bound indicates that selecting the appropriate specialist per case can yield larg
Figure 2 : Performance comparison of ToolSelect against 18 task-specialized chest X-ray disease-detection models. Individual specialists exhibit low performance and substantial performance variability. The Oracle upper bound indicates that selecting the appropriate specialist per case can yield larg

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.