Compositional program synthesis engine in an artificial intelligence system
Патент · WO A1
Полный текст
Methods, systems, and computer storage media for providing compositional program synthesis using a compositional program synthesis engine in an artificial intelligence (AI) system are described. Compositional program synthesis in this context is guided by a Large Language Model (LLL) and refers to the iterative process of using the LLM to generate, refine, and compose program segments, addressing errors by systematically breaking down tasks, salvaging correct parts, and synthesizing subprograms that are integrated using composition operators until a program satisfies the given specification. The compositional program synthesis engine iteratively generates, refines, and integrates program components by leveraging program decomposition, synthesis of subprograms, and composition operators to construct a program that meets the specified requirements. Compositional program synthesis engine supports several decomposition strategies associated with refining suffixes, refining prefixes, and IfThenElse distinct cases; and for synthesizing the new candidate programs the engine supports program composition operators including sequential composition and conditional composition.