arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.01757cs.SE
收藏

面向Galaxy的基于LLM的任务感知科学工作流检索

Towards LLM-Powered Task-Aware Retrieval of Scientific Workflows for Galaxy

University of Saskatchewan(萨斯喀彻温大学)

Shamse Tasnim Cynthia, Banani Roy

AI总结:

针对Galaxy基于关键词检索科学工作流效果不佳的问题,提出结合稠密向量搜索与LLM重排序的两阶段任务感知检索框架,构建基准并验证其显著提升检索准确率与相关性。

摘要:

诸如Galaxy等科学工作流管理系统(SWfMSs)已成为生物信息学中不可或缺的基础设施,支持复杂多步分析的设计、执行与共享。尽管跨领域托管了数百个可重用工作流,但Galaxy当前基于关键词的检索系统对语义查询解释的支持有限,且在缺乏精确词项匹配时常常无法呈现相关工作流。为弥补这一空白,我们提出了一种任务感知的两阶段检索框架,将稠密向量搜索与基于大语言模型(LLM)的重排序相结合。我们的系统首先使用最先进的嵌入模型检索候选工作流,然后基于语义任务对齐,使用指令微调的生成式LLM(GPT-4o、Mistral-7B)对其进行重排序。为支持稳健评估,我们构建了一个Galaxy工作流基准数据集,通过BERTopic对其进行语义主题标注,并利用LLM合成了真实的面向任务的查询。我们使用标准信息检索(IR)指标对词法、稠密和重排序模型进行了全面比较,呈现了Galaxy生态系统中检索性能的首次系统性评估。结果表明,我们的方法显著提升了top-k准确率和相关性,特别是对于长查询或欠定查询。我们进一步将系统作为原型工具集成到Galaxy中,为LLM增强的工作流搜索提供了概念验证。这项工作提升了科学工作流的可用性和可访问性,特别是对于新手用户和跨学科研究人员。

英文摘要:

Scientific Workflow Management Systems (SWfMSs) such as Galaxy have become essential infrastructure in bioinformatics, supporting the design, execution, and sharing of complex multi-step analyses. Despite hosting hundreds of reusable workflows across domains, Galaxy's current keyword-based retrieval system offers limited support for semantic query interpretation and often fails to surface relevant workflows when exact term matches are absent. To address this gap, we propose a task-aware, two-stage retrieval framework that integrates dense vector search with large language model (LLM)-based reranking. Our system first retrieves candidate workflows using state-of-the-art embedding models and then reranks them using instruction-tuned generative LLMs (GPT-4o, Mistral-7B) based on semantic task alignment. To support robust evaluation, we construct a benchmark dataset of Galaxy workflows annotated with semantic topics via BERTopic and synthesize realistic task-oriented queries using LLMs. We conduct a comprehensive comparison of lexical, dense, and reranking models using standard IR metrics, presenting the first systematic evaluation of retrieval performance in the Galaxy ecosystem. Results show that our approach significantly improves top-k accuracy and relevance, particularly for long or under-specified queries. We further integrate our system as a prototype tool within Galaxy, providing a proof-of-concept for LLM-enhanced workflow search. This work advances the usability and accessibility of scientific workflows, especially for novice users and interdisciplinary researchers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑