TIAgent:从自然语言到面向计算病理学的 grounded 智能体工作流
TIAgent: From Natural Language to Grounded Agentic Workflows for Computational Pathology
AI总结:
针对计算病理学工作流构建依赖编程、LLM 生成工作流存在可靠性问题的痛点,提出 TIAgent 框架,可自动生成可验证的 CPath 工作流,经基准测试 Kimi-K2.7-Code 表现最优。
摘要:
计算病理学(CPath)的分析越来越依赖多步骤计算工作流,这些工作流需要大量编程专业知识,限制了病理学家和其他缺乏丰富编码经验的领域专家的可及性。尽管大语言模型(LLM)为构建此类分析提供了有前景的自然语言界面,但幻觉操作和不正确的工作流规范限制了其在科学环境中的可靠性。我们引入组织图像分析智能体(Tissue Image Analysis Agent,TIAgent),这是一种自动化 CPath 工作流生成框架,给定指定复杂分析任务的自然语言提示以及输入数据集,它会自动构建采用现有 CPath 操作的可验证计算图。生成的图可被检查和执行,支持自然语言构建用于包括自动生物标志物发现和组织分析在内的应用的复杂 CPath 工作流。我们展示了端到端的工作流生成与执行,并在涵盖 18 种 CPath 操作类型的 90 个单元任务中系统地对 14 种骨干 LLM 进行基准测试。每种 LLM 生成完整且正确单元工作流的能力通过单元工作流成功率(Unit Workflow Success,UWS)量化。骨干模型的性能差异显著,其中 Kimi-K2.7-Code 实现了最高的 UWS,为 0.967(95% 置信区间:0.907-0.989)。对节点和参数正确性的分析进一步表明,选择适当的计算操作并对其进行正确配置是基于 LLM 的工作流生成的不同挑战。TIAgent 为使复杂 CPath 工作流构建更易访问奠定了基础,同时支持对 LLM 驱动的科学工作流生成进行系统评估。
英文摘要:
Computational pathology (CPath) analyses increasingly depend on multi-step computational workflows that require substantial programming expertise, limiting their accessibility to pathologists and other domain experts without extensive coding experience. Although large language models (LLMs) provide a promising natural-language interface for constructing such analyses, hallucinated operations and incorrect workflow specifications limit their reliability in scientific settings. We introduce Tissue Image Analysis Agent (TIAgent), an automated CPath workflow generation framework that, given a natural-language prompt specifying a complex analytical task together with an input dataset, automatically constructs a verifiable computational graph employing existing CPath operations. The resulting graph can be inspected and executed, enabling natural-language construction of complex CPath workflows for applications including automated biomarker discovery and tissue analysis. We demonstrate end-to-end workflow generation and execution and systematically benchmark 14 backbone LLMs across 90 unit tasks spanning 18 CPath operation types. The ability of each LLM to generate a complete and correct unit workflow is quantified using Unit Workflow Success (UWS). Performance varied substantially across backbone models, with Kimi-K2.7-Code achieving the highest UWS of 0.967 (95% CI: 0.907-0.989). Analysis of node and parameter correctness further revealed that selecting the appropriate computational operation and correctly configuring it represent distinct challenges for LLM-based workflow generation. TIAgent provides a foundation for making complex CPath workflow construction more accessible while enabling systematic evaluation of LLM-driven scientific workflow generation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。