ChatVis: Large Language Model Agent for Generating Scientific Visualizations
Tom Peterka, Tanwi Mallick, Orcun Yildiz, David Lenz, Cory Quammen, and Berk Geveci

TL;DR
ChatVis is an LLM-based assistant that improves scientific visualization code generation by using prompt simplification, retrieval-augmented prompts, and iterative error correction, significantly outperforming unassisted LLMs.
Contribution
Introduces ChatVis, a novel LLM assistant that enhances scientific visualization tasks without retraining, using retrieval-augmented prompts and iterative feedback.
Findings
Metrics significantly improved with ChatVis
Effective in generating Python code for ParaView
Outperforms top unassisted LLMs
Abstract
Large language models (LLMs) are rapidly increasing in capability, but they still struggle with highly specialized programming tasks such as scientific visualization. We present an LLM assistant, ChatVis, that aids the LLM to generate Python code for ParaView scientific visualization tasks, without the need for retraining or fine-tuning the LLM. ChatVis employs chain-of-thought prompt simplification, retrieval-augmented prompt generation using a vector database of documentation and code examples, and error checking with iterative prompt feedback to correct errors until a visualization is produced. An integral part of our approach is a benchmark suite of canonical visualization tasks, ParaView regression tests, and scientific use cases that includes comprehensive evaluation metrics. We evaluate our visualization assistant by comparing results with a variety of top-performing unassisted…
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.
