CELI: Controller-Embedded Language Model Interactions
Not on the map. Why?
Abstract (arXiv)
We introduce Controller-Embedded Language Model Interactions (CELI), a framework that integrates control logic directly within language model (LM) prompts, facilitating complex, multi-stage task execution. CELI addresses limitations of existing prompt engineering and workflow optimization techniques by embedding control logic directly within the operational context of language models, enabling dynamic adaptation to evolving task requirements. Our framework transfers control from the traditional programming execution environment to the LMs, allowing them to autonomously manage computational workflows while maintaining seamless interaction with external systems and functions. CELI supports arbitrary function calls with variable arguments, bridging the gap between LMs' adaptive reasoning capabilities and conventional software paradigms' structured control mechanisms. To evaluate CELI's versatility and effectiveness, we conducted case studies in two distinct domains: code generation (HumanEval benchmark) and multi-stage content generation (Wikipedia-style articles). The results demonstrate notable performance improvements across a range of domains. CELI achieved a 4.9 percentage point improvement over the best reported score of the baseline GPT-4 model on the HumanEval code generation benchmark. In multi-stage content generation, 94.4% of CELI-produced Wikipedia-style articles met or exceeded first draft quality when optimally configured, with 44.4% achieving high quality. These outcomes underscore CELI's potential for optimizing AI-driven workflows across diverse computational domains.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 7 of its 40 references that are in the map. First posted on arXiv 18 Oct 2024.
Builds on
7 of 40 references.
References · 7
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLPcited by 316
- 2018The Natural Language Decathlon: Multitask Learning as Question Answeringcited by 235
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 177
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026VeriInteresting: An Empirical Study of Model Prompt Interactions in Verilog Code Generation
- 2025PromptBridge: Cross-Model Prompt Transfer for Large Language Models
- 2024APPL: A Prompt Programming Language for Harmonious Integration of Programs and Large Language Model Prompts
- 2024StateFlow: Enhancing LLM Task-Solving through State-Driven Workflows
- 2025Accelerating Language Model Workflows with Prompt Choreography
- 2024Language hooks: a modular framework for augmenting LLM reasoning that decouples tool usage from the model and its prompt
- 2025Evaluating Large Language Models for Functional and Maintainable Code in Industrial Settings: A Case Study at ASML
- 2023SGLang: Efficient Execution of Structured Language Model Programs