INTENT: Interactive Tensor Transformation Synthesis
Zhanhui Zhou, Man To Tang, Qiping Pan, Shangyin Tan, Xinyu Wang, Tianyi Zhang
Abstract
There is a growing interest in adopting Deep Learning (DL) given its superior performance in many domains. However, modern DL frameworks such as TensorFlow often come with a steep learning curve. In this work, we propose INTENT, an interactive system that infers user intent and generates corresponding TensorFlow code on behalf of users. INTENT helps users understand and validate the semantics of generated code by rendering individual tensor transformation steps with intermediate results and element-wise data provenance. Users can further guide INTENT by marking certain TensorFlow operators as desired or undesired, or directly manipulating the generated code. A within-subjects user study with 18 participants shows that users can finish programming tasks in Ten-sorFlow more successfully with only half the time, compared with a variant of INTENT that has no interaction or visualization support.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Dango: A Mixed-Initiative Data Wrangling System using Large Language Model cites Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists
- Dango: A Mixed-Initiative Data Wrangling System using Large Language Model cites SQLucid: Grounding Natural Language Database Queries with Interactive Explanations
- Dango: A Mixed-Initiative Data Wrangling System using Large Language Model cites Interactive Program Synthesis by Augmented Examples
- Jigsaw: Large Language Models meet Program Synthesis cites Multi-modal synthesis of regular expressions
- SQLucid: Grounding Natural Language Database Queries with Interactive Explanations cites Does the Whole Exceed its Parts? The Effect of AI Explanations on Complementary Team Performance
- SQLucid: Grounding Natural Language Database Queries with Interactive Explanations cites Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists
- SQLucid: Grounding Natural Language Database Queries with Interactive Explanations cites Interactive Program Synthesis by Augmented Examples
- Programming By Scaffolded Demonstration with Perpend cites Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists
- Programming By Scaffolded Demonstration with Perpend cites Interactive Program Synthesis by Augmented Examples
- Fast and Reliable Program Synthesis via User Interaction cites Multi-modal synthesis of regular expressions
- Fast and Reliable Program Synthesis via User Interaction cites Interactive Program Synthesis by Augmented Examples
- Interactive Program Synthesis by Augmented Examples cites Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists
- Interactive Program Synthesis by Augmented Examples cites Multi-modal synthesis of regular expressions
Cited by top-tier papers6
- NeuRI: Diversifying DNN Generation via Inductive Rule InferenceJiawei Liu, Jinjun Peng, Yuyao Wang, Lingming ZhangFSE 2023 · 24 citations
- Dango: A Mixed-Initiative Data Wrangling System using Large Language ModelWei-Hao Chen, Weixi Tong, Amanda Case, Tianyi ZhangCHI 2025 · 19 citations
- SQLucid: Grounding Natural Language Database Queries with Interactive ExplanationsYuan Tian, Jonathan K. Kummerfeld, Toby Jia-Jun Li, Tianyi ZhangUIST 2024 · 13 citations
- Fast and Reliable Program Synthesis via User InteractionYanju Chen, Chenglong Wang, Xinyu Wang, Osbert Bastani et al.ASE 2023 · 5 citations
- Programming By Scaffolded Demonstration with PerpendAngela Bi, Eric Rawn, Justin Lubin, Sarah E. ChasinsCHI 2026 · 2 citations
Builds on10
- Does the Whole Exceed its Parts? The Effect of AI Explanations on Complementary Team PerformanceGagan Bansal, Tongshuang Wu, Joyce Zhou, Raymond Fok et al.CHI 2021 · 713 citations
- Jigsaw: Large Language Models meet Program SynthesisNaman Jain, Skanda Vaidyanath, Arun Iyer, Nagarajan Natarajan et al.ICSE 2022 · 134 citations
- Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data ScientistsIan Drosos, Titus Barik, Philip J. Guo, Robert DeLine et al.CHI 2020 · 110 citations
- Multi-modal synthesis of regular expressionsQiaochu Chen, Xinyu Wang, Xi Ye, Greg Durrett et al.PLDI 2020 · 81 citations
- Interactive Program Synthesis by Augmented ExamplesTianyi Zhang, London Lowmanstone, Xinyu Wang, Elena L. GlassmanUIST 2020 · 57 citations
Related papers
- NeuroSync: Intent-Aware Code-Based Problem Solving via Direct LLM Understanding ModificationWenshuo Zhang, Leixian Shen, Shuchang Xu, Jindu Wang et al.UIST 2025 · 9 citations
- TransforLearn: Interactive Visual Tutorial for the Transformer ModelLin Gao, Zekai Shao, Ziqin Luo, Haibo Hu et al.IEEE VIS 2023 · 13 citations
- InstructPipe: Generating Visual Blocks Pipelines with Human Instructions and LLMsZhongyi Zhou, Jing Jin, Vrushank Phadnis, Xiuxiu Yuan et al.CHI 2025 · 10 citations
- Ansor: Generating High-Performance Tensor Programs for Deep LearningLianmin Zheng, Chengfan Jia, Minmin Sun, Zhao Wu et al.OSDI 2020 · 551 citations
- Human-in-the-loop Extraction of Interpretable Concepts in Deep Learning ModelsZhenge Zhao, Panpan Xu, Carlos Scheidegger, Liu RenIEEE VIS 2021 · 59 citations
