SCOPE:Planning for Hybrid Querying over Clinical Trial Data

Suparno Roy Chowdhury, Manan Roy Choudhury, Tejas Anvekar, Muhammad Ali Khan, Kaneez Zahra Rubab Khakwani, Mohamad Bassam Sonbol, Irbaz Bin Riaz, Vivek Gupta

TL;DR

The paper introduces SCOPE (Structured Clinical hybrid Planning for Evidence retrieval in clinical trials), a multi-LLM framework designed to tackle complex reasoning over clinical trial tables. By explicitly separating row selection, structured planning, and execution into distinct steps, SCOPE significantly outperforms direct prompting and heavy agentic baselines while maintaining a highly efficient cost-accuracy profile.

What Problem Does This Paper Address?

When systematic reviewers or clinical analysts query clinical trial data, they rarely look for simple cell lookups. Instead, they ask questions that require hybrid reasoning—inferring latent attributes that aren't explicitly stored in the table schema. For example, a user might ask to classify an Immune Checkpoint Inhibitor (ICI) by its target class based only on its generic name, or extract additional agents from a messy text column containing treatment regimens.

Current Large Language Model (LLM) approaches struggle with this task. Direct prompting (including Chain-of-Thought) forces the model to simultaneously handle row retrieval, column grounding, and semantic transformation in a single generation step, leading to cascading reasoning errors. Conversely, text-to-SQL methods fail because the target attributes are latent rather than stored as explicit schema values. Heavy agentic frameworks can help but introduce massive token overhead and brittle multi-step execution traces.

Methods

SCOPE addresses these challenges by decomposing table reasoning into three distinct, structured stages using two LLM roles: an Executor and a Planner.

  1. Row Selection (Executor): The executor filters the full table to identify only the candidate rows relevant to the natural language question.
  2. Structured Planning (Planner): The planner analyzes the question and the filtered rows to generate an explicit, structured reasoning plan (in JSON format). This plan explicitly defines the inferred source column containing the evidence, the rules for transforming that evidence, and the output constraints (e.g., data types).
  3. Final Table Generation (Executor): The executor takes the structured plan and applies it row-by-row to the selected data, outputting clean, row-aligned predictions.
Figure 2: SCOPE for clinical tabular reasoning. Given a question and a copied visible table, SCOPE first prepares an inference-time table view by retaining the visible evidence columns and withholding the target column used for evaluation if there are any. The executor identifies the rows relevant to the question, the planner produces a structured reasoning plan over the selected table, and the executor follows this plan to generate the final row-aligned predictions. In this example, the method reasons over the Name of ICI column to recover the held-out Class of ICI field, and the resulting predictions are compared against the omitted ground-truth targets.

Crucially, SCOPE relies on LLM-grounded execution rather than translating the plan into Python code. The authors found that code-generation approaches (like a Planner-Coder baseline) are too brittle when dealing with the highly un-standardized, semi-structured text fields common in clinical data.

Datasets

The authors introduced a new benchmark consisting of 1,500 hybrid reasoning questions mapped over oncology clinical-trial tables (derived from the IOTOX living evidence table).

  • Construction: The dataset started with 500 seed questions authored by a certified oncology researcher. It was then programmatically expanded to 1,500 questions using atomic edits to the underlying SQLite queries (e.g., modifying projections, relaxing thresholds), which were subsequently translated back into fluent natural language.
  • Diversity: The dataset spans 105 unique trials, 19 cancer types, and 31 distinct hidden target fields. The answers are highly diverse, covering strings, lists, booleans, and null-only values.

Key Insights and Ideas

  • Decoupling Prevents Cascading Errors: Entangling row selection and data transformation causes LLMs to make implicit, faulty assumptions. Externalizing these choices into a structured JSON plan stabilizes row alignment and keeps the model grounded.
  • Cross-Model Synergy: The planner and executor don't have to use the same model. The authors demonstrated that replacing a weaker model's planner with a stronger reasoning model (e.g., using Llama-3.3-70B as the planner for a GPT-OSS-20B executor) significantly boosts overall performance.
  • Text is Better Than Code for Clinical Tables: A "Planner-Coder" baseline that compiled plans into deterministic Python code performed substantially worse than SCOPE. LLMs are better at flexibly interpreting and normalizing messy clinical text fields row-by-row than rigid, auto-generated regular expressions or string-matching code.

Key Results

SCOPE was evaluated against several baseline families, including standard prompting (Zero-Shot, Few-Shot, CoT), tabular models (TableGPT2), and agentic frameworks (BlendSQL, EHRAgent), across three open-weight backbones: Qwen3-30B, gpt-oss-20b, and Llama-3.3-70B.

  • Accuracy Gains: SCOPE achieved the highest or tied-highest Table F1 and Grounded Row Jaccard (RJ) scores across all backbones. The most dramatic improvement was seen on Qwen3, where Table F1 jumped from 56.32% (best prompting baseline) to 63.19%.
  • Better Grounding: On Llama-3.3, while the Table F1 matched the best baseline (70.87%), the Grounded Row Jaccard improved from 57.83% to 60.66%, proving that SCOPE is significantly better at aligning its answers to the correct rows.
  • Cost-Effectiveness: As shown in the paper's cost analysis, SCOPE sits on the strongest accuracy-cost frontier, delivering state-of-the-art reasoning accuracy with only a fraction of the token overhead required by heavier agentic systems like BlendSQL.

Limitations and Future Work

  • Proprietary Models: The main experiments were restricted to open-weight models; the impact of frontier proprietary models (like GPT-4o or Claude 3.5 Sonnet) remains untested.
  • Lack of Specialization: The framework uses off-the-shelf models. The authors note that specialized fine-tuning—training a dedicated planner model and a separate, lightweight executor model—could yield even higher efficiency and accuracy.
  • Domain Scope: The benchmark is currently limited to a single oncology clinical-trial table. Future work is required to validate SCOPE across broader clinical domains, longitudinal patient records, and unstructured clinical narratives.

Summary updated

Abstract

We study clinical trial table reasoning, where answers are not directly stored in visible cells but must be reasoned from semantic understanding through normalization, classification, extraction, or lightweight domain reasoning. Motivated by the observation that current LLM approaches often suffer from "bad reasoning" under implicit planning assumptions, we focus on settings in which the model must recover implicit attributes such as therapy type, added agents, endpoint roles, or follow-up status from partially observed clinical-trial tables. We propose SCOPE (Structured Clinical hybrid Planning for Evidence retrieval in clinical trials), a multi-LLM planner-based framework that decomposes the task into row selection, structured planning, and execution. The planner makes the source field, reasoning rules, and output constraints explicit before answer generation, reducing ambiguity relative to direct prompting. We evaluate SCOPE on 1,500 hybrid reasoning questions over oncology clinical-trial tables against zero-shot, few-shot, chain-of-thought, TableGPT2, Blend-SQL, and EHRAgent. Results show that explicit multi-LLM planning improves accuracy for reasoning-based questions while offering a stronger accuracy-efficiency tradeoff than heavier agentic baselines. Our findings position clinical trial reasoning as a distinct table understanding problem and highlight hybrid planner-based decomposition as an effective solution
BibTeX
@inproceedings{chowdhury2026scope,
  author = {Suparno Roy Chowdhury and Manan Roy Choudhury and Tejas Anvekar and Muhammad Ali Khan and Kaneez Zahra Rubab Khakwani and Mohamad Bassam Sonbol and Irbaz Bin Riaz and Vivek Gupta},
  title = {{SCOPE:Planning for Hybrid Querying over Clinical Trial Data}},
  booktitle = {BioNLP @ ACL},
  year = {2026},
  doi = {10.18653/v1/2026.bionlp-1.76},
}
Figure