paper-with-me

홈 › Papers

Oracular Programming: A Modular Foundation for Building LLM-Enabled Software

2025-02-07 · Jonathan Laurent, André Platzer

Large Language Models have proved surprisingly effective at solving a wide range of tasks from just a handful of examples. However, their lack of reliability and modularity limits their capacity to tackle large problems that require many steps of reasoning. In response, researchers have proposed advanced pipelines that leverage domain-specific knowledge to chain smaller prompts, provide intermediate feedback and improve performance through search. However, the current complexity of writing, tuning, maintaining and improving such pipelines has limited their sophistication. We propose oracular programming, a foundational paradigm for building LLM-enabled applications that lets domain experts express high-level problem-solving strategies as programs with unresolved choice points. These choice points are resolved at runtime by LLMs, which generalize from user-provided examples of correct and incorrect decisions. An oracular program is composed of three orthogonal components: a strategy that consists in a nondeterministic program with choice points that can be reified into a search tree, a policy that specifies how to navigate this tree with the help of LLM oracles, and a set of demonstrations that describe successful and unsuccessful search tree navigation scenarios across diverse problem instances. Each component is expressed in a dedicated programming language and can be independently improved or substituted. We address the key programming language design challenges of modularly composing oracular programs and enforcing consistency between their components as they evolve.

📄 PDF Abstract BibTeX arXiv:2502.05310

Code (1)

jonathan-laurent/delphyne 공식 구현

Tasks

Navigate

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Modular Deep Probabilistic Programming

2019-05-01 · ICLR 2019 5 · Zhenwen Dai, Eric Meissner, Neil D. Lawrence

Modularity is a key feature of deep learning libraries but has not been fully exploited for probabilistic programming. We propose to improve modularity of probabilistic programming language by offering not only plain pro…

Probabilistic ProgrammingVariational Inference

Parametric Modular Answer Set Programs Made Declarative

2026-05-21 · Jorge Fandinno, Yuliya Lierler, Torsten Schaub arxiv

In this paper, we explore the concept of modularity in first-order answer set programming (ASP). We introduce a new formalism called parametric modular logic programs, which allows defining subprograms with parameters an…

IGO-QNN: Quantum Neural Network Architecture for Inductive Grover Oracularization

2021-05-25 · Areeq I. Hasan

We propose a novel paradigm of integration of Grover's algorithm in a machine learning framework: the inductive Grover oracular quantum neural network (IGO-QNN). The model defines a variational quantum circuit with hidde…

Deep Reinforcement LearningReinforcement Learning (RL)

Modular Safety Guardrails Are Necessary for Foundation-Model-Enabled Robots in the Real World

2026-02-03 · Joonkyung Kim, Wenxi Chen, Davood Soleymanzadeh, Yi Ding 외 arxiv

The integration of foundation models (FMs) into robotics has accelerated real-world deployment, while introducing new safety challenges arising from open-ended semantic reasoning and embodied physical action. These chall…

Revisiting the Impact of Pursuing Modularity for Code Generation

2024-07-16 · Deokyeong Kang, Ki Jung Seo, Taeuk Kim

Modular programming, which aims to construct the final program by integrating smaller, independent building blocks, has been regarded as a desirable practice in software development. However, with the rise of recent code…

Code Generation