paperbot · PL 论文追踪

全部论文 待读 收藏

P2 NL2Viz: natural language to visualization via constrained syntax-guided synthesis

NL2Viz:通过约束引导的语法指导合成实现自然语言到可视化
FSE Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2022匹配度 3/10 · 该论文属于程序合成/NL2Code 方向,与 PL 有邻近性(约束语法引导合成、软硬约束等),但不涉及用户关注的核心交集:对 ML 系统/Agentic 程序做静态分析、用 LLM 改进静态分析/验证、浮点或贝叶斯程序分析;其领域为数据可视化代码生成,且未体现 LLM/Agent 或分析工具在工业场景的落地。引用 9 inbox
Zhengkai Wu, Vu Le, Ashish Tiwari, Sumit Gulwani, Arjun Radhakrishna, Ivan Radiček, Gustavo Soares, Xinyu Wang, Zhenwen Li, Tao Xie
crossref: 2026-09-12

AI 速览

一句话:提出 NL2Viz,结合数据/程序上下文与软硬约束,用约束语法引导合成将自然语言转为可视化,并支持结果精化复用。

自然语言到代码(NL2CODE)让非专业用户可用自然语言生成数据可视化等程序,但面临用户词语的上下文语义、缺少代码生成所需细节以及生成结果不完美需进一步精化三大挑战。本文面向自然语言到可视化(NL2Viz)提出新方法及工具 NL2Viz,其特点包括:同时利用用户自然语言输入以及该查询所依赖的数据和程序上下文;使用硬约束和软约束区分从用户输入与数据/程序上下文中抽取约束的置信度;支持对生成结果的精化与复用。摘要未报告具体实验评估。

问题
自然语言转可视化代码时,用户表述带有上下文语义且常缺少完整生成细节,导致 NL2CODE 结果不准确并需要进一步人工修改。
方法
结合自然语言输入与数据/程序上下文,以硬约束和软约束建模不同置信度,并通过约束语法引导合成生成可视化,同时支持结果精化与复用。
评估
摘要未给出具体评估方法或实验结果,仅说明工具支持结果精化与复用。
原文摘要(Abstract)

Recent development in NL2CODE (Natural Language to Code) research allows end-users, especially novice programmers to create a concrete implementation of their ideas such as data visualization by providing natural language (NL) instructions. An NL2CODE system often fails to achieve its goal due to three major challenges: the user's words have contextual semantics, the user may not include all details needed for code generation, and the system results are imperfect and require further refinement. To address the aforementioned three challenges for NL to Visualization, we propose a new approach and its supporting tool named NL2VIZ with three salient features: (1) leveraging not only the user's NL input but also the data and program context that the NL query is upon, (2) using hard/soft constraints to reflect different confidence levels in the constraints retrieved from the user input and data/program context, and (3) providing support for result refinement and reuse.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot7010,
  title = {NL2Viz: natural language to visualization via constrained syntax-guided synthesis},
  author = {Zhengkai Wu and Vu Le and Ashish Tiwari and Sumit Gulwani and Arjun Radhakrishna and Ivan Radiček and Gustavo Soares and Xinyu Wang and Zhenwen Li and Tao Xie},
  booktitle = {FSE},
  year = {2022},
  doi = {10.1145/3540250.3549140}
}