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

迈向可靠科学可视化管道构建的结构感知检索增强型大语言模型

Toward Reliable Scientific Visualization Pipeline Construction with Structure-Aware Retrieval-Augmented LLMs

Hangzhou Institute for Advanced Study, University of Chinese Academy of Sciences(中国科学院大学杭州高等研究院);University of Chinese Academy of Sciences(中国科学院大学);Computer Network Information Center, Chinese Academy of Sciences(中国科学院计算机网络信息中心)

Guanghui Zhao, Zhe Wang, Yu Dong, Guan Li, GuiHua Shan

AI总结:

本文提出结构感知检索增强型大语言模型,用于生成可执行的科学可视化管道,通过提供 vtk.js 代码示例提高模块选择和执行顺序的准确性,降低人工修正成本。

摘要:

科学可视化管道编码领域特定的程序知识,具有严格的执行依赖性,使其构建对缺失阶段、错误操作符使用或不当顺序敏感。因此,从自然语言描述生成可执行的科学可视化管道仍对大语言模型具有挑战性,尤其是在基于网页的环境中,可视化作者依赖显式代码级管道组装。在本文中,我们研究基于 LLM 的科学可视化管道生成的可靠性,重点是 vtk.js 作为代表性的网页可视化库。我们提出一种结构感知的检索增强型生成工作流程,提供与管道对齐的 vtk.js 代码示例作为上下文指导,支持正确模块选择、参数配置和执行顺序。我们评估了所提出的工作流程在多个多阶段科学可视化任务和 LLM 上的表现,从管道可执行性和人工修正努力的角度衡量可靠性。为此,我们引入修正成本作为衡量获得有效管道所需手动干预量的指标。我们的结果表明,结构化的、领域特定的上下文显著提高了管道的可执行性并降低了修正成本。我们还提供了一个交互式分析界面,以支持人机协同的检查和生成可视化管道的系统评估。

英文摘要:

Scientific visualization pipelines encode domain-specific procedural knowledge with strict execution dependencies, making their construction sensitive to missing stages, incorrect operator usage, or improper ordering. Thus, generating executable scientific visualization pipelines from natural-language descriptions remains challenging for large language models, particularly in web-based environments where visualization authoring relies on explicit code-level pipeline assembly. In this work, we investigate the reliability of LLM-based scientific visualization pipeline generation, focusing on vtk.js as a representative web-based visualization library. We propose a structure-aware retrieval-augmented generation workflow that provides pipeline-aligned vtk.js code examples as contextual guidance, supporting correct module selection, parameter configuration, and execution order. We evaluate the proposed workflow across multiple multi-stage scientific visualization tasks and LLMs, measuring reliability in terms of pipeline executability and human correction effort. To this end, we introduce correction cost as metric for the amount of manual intervention required to obtain a valid pipeline. Our results show that structured, domain-specific context substantially improves pipeline executability and reduces correction cost. We additionally provide an interactive analysis interface to support human-in-the-loop inspection and systematic evaluation of generated visualization pipelines.

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

↑