Large language models (LLMs) have recently demonstrated a remarkable ability to generate code from natural language (NL) prompts. However, in the real world, NL is often too ambiguous to capture the true intent behind programming problems, requiring additional input-output (I/O) specifications. Unfortunately, LLMs can have difficulty aligning their outputs with both the NL prompt and the I/O specification. In this paper, we give a way to mitigate this issue in the context of data science programming, where tasks require explicit I/O specifications for clarity. Specifically, we propose GIFT4Code, a novel approach for the instruction fine-tuning of LLMs with respect to I/O specifications. Our method leverages synthetic data produced by the LLM itself and utilizes execution-derived feedback as a key learning signal. This feedback, in the form of program I/O specifications, is provided to the LLM to facilitate instruction fine-tuning. We evaluated our approach on two challenging data science benchmarks, Arcade and DS-1000. The results demonstrate a significant improvement in the LLM's ability to generate code that is not only executable but also accurately aligned with user specifications, substantially improving the quality of code generation for complex data science tasks.
Ground-Compose-Reinforce: Grounding Language in Agentic Behaviours using Limited Data
Department of Computer Science, University of Toronto(计算机科学系,多伦多大学);Vector Institute for Artificial Intelligence(人工智能矢量研究所);Schwartz Reisman Institute for Technology and Society(技术与社会施瓦茨-雷曼研究所)
FirstPass: Grounding AI Scientific Judgment in Multi-Round Editorial Outcomes
The University of Texas at Austin(德克萨斯大学奥斯汀分校);RediMinds Inc.(RediMinds公司);Disaster Science Operations Center, Western Kentucky University(西肯塔基大学灾害科学运营中心)
WildRoadBench: A Wild Aerial Road-Damage Grounding Benchmark for Vision-Language Models and Autonomous Agents
University of Electronic Science and Technology of China(电子科技大学);National University of Singapore(新加坡国立大学);De Artificial Intelligence Lab(德人工智能实验室);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));University of Science and Technology of China(中国科学技术大学)