🤖 AI Summary
Generative AI often requires multiple rounds of prompt engineering to yield accurate responses due to inherent ambiguity in natural language. To address this, we propose a “progressive partitioning–search” framework that systematically resolves semantic uncertainty through structured clarification dialogues and example-driven iterative refinement. First, ambiguous prompts are decomposed into interpretable subcomponents; then, candidate interpretations are generated and ranked; finally, user feedback guides dynamic convergence toward a unique, optimal solution. Our approach is the first to tightly integrate structured interaction, input–output exemplars, and an interpretable, self-terminating criterion—enabling fully automated reasoning from ambiguous prompts to deterministic outputs. Evaluated on programming, data analysis, and creative writing tasks, it achieves significantly higher accuracy than single-shot prompting baselines, with competitive average resolution time and a 37% improvement in user satisfaction.
📝 Abstract
Generative AI systems have revolutionized human interaction by enabling natural language-based coding and problem solving. However, the inherent ambiguity of natural language often leads to imprecise instructions, forcing users to iteratively test, correct, and resubmit their prompts. We propose an iterative approach that systematically narrows down these ambiguities through a structured series of clarification questions and alternative solution proposals, illustrated with input/output examples as well. Once every uncertainty is resolved, a final, precise solution is generated. Evaluated on a diverse dataset spanning coding, data analysis, and creative writing, our method demonstrates superior accuracy, competitive resolution times, and higher user satisfaction compared to conventional one-shot solutions, which typically require multiple manual iterations to achieve a correct output.