Saved in:
Bibliographic Details
Main Authors: Chen, Haoyang, Tanaka-Ishii, Kumiko
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2509.17455
Tags: Add Tag
No Tags, Be the first to tag this record!
Table of Contents:
  • We explore the applicability of text-to-code to solve real-world problems that are typically solved in natural language, such as legal judgment and medical QA. Unlike previous works, our approach leverages the explicit reasoning provided by program generation. We present ICRAG, a framework that transforms natural language into executable programs through iterative refinement using external knowledge from domain resources and GitHub. Across 13 benchmarks, ICRAG achieves up to 161.1\% relative improvement. We provide a detailed analysis of the generated code and the impact of external knowledge, and we discuss the limitations of applying text-to-code approaches to real-world natural language tasks.