Toward Reliable Scientific Visualization Pipeline Construction with Structure-Aware Retrieval-Augmented LLMs
Guanghui Zhao, Zhe Wang, Yu Dong, Guan Li, GuiHua Shan

TL;DR
This paper presents a structure-aware retrieval-augmented approach to improve the reliability of LLM-generated scientific visualization pipelines, focusing on web-based vtk.js, by providing contextual guidance and reducing manual corrections.
Contribution
It introduces a retrieval-augmented workflow that supplies domain-specific code examples to enhance pipeline correctness and reduce manual correction efforts in scientific visualization.
Findings
Structured context improves pipeline executability.
Reduced manual correction cost with domain-specific guidance.
Enhanced human-in-the-loop inspection for pipeline validation.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
