paper-with-me

Papers

Interactive Code Generation via Test-Driven User-Intent Formalization

2022-08-11 · Shuvendu K. Lahiri, Sarah Fakhoury, Aaditya Naik, Georgios Sakkas, Saikat Chakraborty, Madanlal Musuvathi, Piali Choudhury, Curtis von Veh, Jeevana Priya Inala, Chenglong Wang, Jianfeng Gao

Large language models (LLMs) have shown great potential in automating significant aspects of coding by producing natural code from informal natural language (NL) intent. However, when interacting with LLMs, users have no guarantees that the code suggestions produced correctly satisfy the intent they provided. In fact, it is hard to define a notion of correctness since natural language can be ambiguous and lacks a formal semantics. In this paper, we propose the workflow of {\it interactive test-driven code generation}, which leverages lightweight user feedback to (a) formalize the user intent using generated tests that can be useful for debugging, and (b) produce an improved set of code suggestions by pruning and ranking candidate code suggestions. We describe a language-agnostic abstract algorithm and a concrete implementation TiCoder. We perform an automated evaluation of TiCoder on the \emph{MBPP} and \emph{HumanEval} code generation benchmarks. Our results are promising with using the OpenAI Codex LLM: our best algorithm improves the \passk{1} code generation accuracy (in absolute percentages) between $22.49\%$ to $37.71\%$ for MBPP and between $24.79\%$ to $53.98\%$ for HumanEval using between 1 to 5 simulated user queries.

📄 PDF Abstract BibTeX arXiv:2208.05950

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationHumanEvalmbpp

Methods 이 논문이 사용한 방법론

Test 설명 없음

Similar Papers 제목 키워드 기반

Interactive Text Generation

2023-03-02 · Felix Faltings, Michel Galley, Baolin Peng, Kianté Brantley 외

Users interact with text, image, code, or other editors on a daily basis. However, machine learning models are rarely trained in the settings that reflect the interactivity between users and their editor. This is underst…

Image GenerationImitation LearningText Generation

3D4D: An Interactive, Editable, 4D World Model via 3D Video Generation

2025-11-11 · Yunhong He, Zhengqing Yuan, Zhengzhong Tu, Yanfang Ye 외 arxiv

We introduce 3D4D, an interactive 4D visualization framework that integrates WebGL with Supersplat rendering. It transforms static images and text into coherent 4D scenes through four core modules and employs a foveated …

Video Generation

Hands-free Evolution of 3D-printable Objects via Eye Tracking

2013-04-17 · Nick Cheney, Jeff Clune, Jason Yosinski, Hod Lipson

Interactive evolution has shown the potential to create amazing and complex forms in both 2-D and 3-D settings. However, the algorithm is slow and users quickly become fatigued. We propose that the use of eye tracking fo…

WonderWorld: Interactive 3D Scene Generation from a Single Image

2024-06-13 · CVPR 2025 1 · Hong-Xing Yu, Haoyi Duan, Charles Herrmann, William T. Freeman 외

We present WonderWorld, a novel framework for interactive 3D scene generation that enables users to interactively specify scene contents and layout and see the created scenes in low latency. The major challenge lies in a…

Depth EstimationGPUNavigateScene Generation

InteractWeb-Bench: Can Multimodal Agent Escape Blind Execution in Interactive Website Generation?

2026-04-30 · Qiyao Wang, Haoran Hu, Longze Chen, Hongbo Wang 외 arxiv

With the advancement of multimodal large language models (MLLMs) and coding agents, the website development has shifted from manual programming to agent-based project-level code synthesis. Existing benchmarks rely on ide…

Intent Recognition