REVIEW 6 major objections 5 minor 68 references
Prompt programming should separate what a task is from how the model runs it, and the same Imprompt program can be compiled in two ways that measurably change accuracy and cost.
Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →
T0 review · deepseek-v4-flash
2026-08-02 07:01 UTC pith:UVXSRUC3
load-bearing objection A genuinely formal prompt-language framework with useful static-analysis and IR artifacts, but the empirical claims run ahead of the evidence and the central 'compiler defines semantics' thesis is model-relative in ways the paper concedes. the 6 major comments →
Imprompt: A Language Framework for Prompt Programming
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The central claim is that a prompt program's semantics is defined by its compilation, not by the language alone. The paper develops this by defining Imprompt with a minimal set of constructs—reason, cast-as-type, typed get-from-template, conditionals, loops, and say—and then giving the language two compilers. The baseline compiler flattens a program into a single prompt with XML-like structure and uses a static analysis of the program's types to generate one global string constraint; a soundness theorem states that any string the model produces from the compiled prompt satisfies that constraint. The stepwise compiler lowers the program to a stack-based intermediate representation whose opera
What carries the argument
The load-bearing object is the pair (Imprompt program, compiler). Imprompt is a small imperative-style language with a type system in which every type is a string constraint: Dyn is no constraint, Bool is exactly true/false, and a user-defined type wraps a natural-language description with a decidable formal constraint. The two compilers then define what a program means: the baseline compiler produces a single prompt plus a global constraint derived by a static analysis that walks the program and joins constraints at control-flow merges, and the stepwise compiler produces a stack-based instruction sequence (post, gen, cgen, branch, loop, print, etc.) whose operational semantics fixes the ord
Load-bearing premise
The load-bearing premise is that a real language model responds to a compiled prompt the way the formal model assumes—one stable decoding step per prompt under the given constraint—rather than according to unpredictable model-specific formatting preferences; the paper itself concedes this premise is only partially met, since prompt formats that help one model family can hurt another.
What would settle it
Run a fixed Imprompt program with one if/else branch through the baseline and stepwise compilers on the same model, with the same temperature, decoding seed, and inputs, and measure accuracy and token cost per mode over several hundred cases. If the two modes are statistically indistinguishable on both metrics, the paper's central empirical claim—that compilation strategy changes LM behavior—fails. A sharper variant: repeat after tuning the prompt representation per model; if tuning erases the gap, then the compiler's measured effect is a proxy for model-specific format preference, which would
If this is right
- The same source prompt program can be compiled in multiple ways without editing the task logic, so users no longer hand-code which prompting technique to apply at each call.
- Compiler choice becomes a tunable compile-time parameter, analogous to an optimization level, and future systems can search over strategies automatically.
- Type annotations become enforceable output guarantees: the baseline compiler's static analysis derives a constraint that every produced string satisfies, so output formats can be checked before runtime rather than hoped for.
- Externalizing state in the stepwise compiler relieves the model from remembering variable bindings across steps; this is why the paper finds stepwise usually more accurate and cheaper on structured tasks.
- No single strategy dominates—baseline can win on some tasks and models—so the compilation space should be studied as a design space rather than reduced to a single best practice.
Where Pith is reading between the lines
- Editorial inference: if compilation strategies really define semantics, then compiler choice should be adapted to input data as well as to model family—a short input may decode better stepwise while a long input may need a single-pass baseline.
- Editorial inference: the paper's admission that prompt formats must be model-aware suggests the decoupling thesis holds most cleanly once models converge on prompt conventions; until then, a compiler may need to select a prompt representation per model family.
- Editorial inference: a testable extension is to treat compiler selection as a hyperparameter and run a search over strategies for a fixed program across models; if accuracy variance from compiler choice is comparable to variance from prompt wording, compilation choice deserves the same optimization attention as prompt engineering.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces Imprompt, a small declarative prompt-programming language intended to decouple task descriptions from low-level execution choices such as prompting formats, decoding constraints, and hyperparameters. It formalizes a core language with a type system, defines two compilation strategies — a baseline one-shot strategy with a global type-directed constraint, and a stepwise strategy compiling to an intermediate representation with an operational semantics — and implements these in a Python DSL, Imprompt-Py. The evaluation compares baseline, baseline-without-constraints, stepwise, and natural-language prompting on two case studies: SARA statutory reasoning and PromptPex data-labeling/transformation tasks, across three instruction-tuned models. The paper's central claim is that prompt programs should contain only task descriptions and that compilation strategies define the language's semantics; a secondary empirical claim is that stepwise compilation generally improves accuracy and cost over baseline and natural prompting.
Significance. If the claims are properly qualified, this is a useful contribution to prompt-programming foundations: it is one of the few works to give prompt compilation an explicit syntax, type-directed constraint generation, and an operational IR, rather than treating prompting as an ad hoc artifact. The formal core is mostly coherent and the two compilation strategies are genuinely instructive. The paper also honestly identifies limitations in its concluding section. However, several formal gaps and empirical overstatements need to be addressed before the central claims are supported: the main soundness theorem is close to tautological, the loop rule is under-specified, the formal core does not cover the functions used in the evaluation, and the empirical evidence for 'stepwise generally wins' is not sustained by the paper's own tables.
major comments (6)
- [§4.2, Theorem 4.3] Theorem 4.3 is, as stated, a definitional property of constrained decoding rather than a soundness theorem about the compiler or the type system. In Definition 4.1, an execution of BComp(P, σ) is by definition decode(D[JP Kσ], C[P]); any correct constrained decoder returns a string satisfying C[P]. The proof-sketch appeal to induction on P is therefore vacuous. This matters because the paper presents Theorem 4.3 as the formal output-format guarantee of the type-directed analysis. Please rephrase it as a compliance property of the constrained-decoding procedure, or provide a substantive theorem relating C[P] to a pre-existing semantics of Imprompt programs.
- [§4.2, Figure 16, rule C-While] Rule C-While uses typeof(x_i) to widen the constraint environment, but the constraint-generation judgment Δ⊢c⇝φ⊣Δ' does not carry a typing context Γ. The environment Δ maps variables to string constraints, and a constraint does not determine a type: for instance, the singleton constraint {'true'} could arise from a Bool-typed variable or from a Dyn-typed expression via E-Str. Thus the widening maps ⌊Δ⌋ and ⌈Δ⌉ are not well-defined as written. This directly affects Theorem 4.2's well-definedness for programs containing while loops, including the text-to-p example in Figure 30. Please either thread Γ through the constraint-generation rules or define and prove a type-recovery operation on Δ.
- [§3.2 / §5.1 / §6.3] The formal core language and IR contain no function definitions or calls, yet the implementation and evaluation rely on first-class @dsl functions, cross-section function calls (e.g., Figure 27b), and 'standard handling for function arguments and function calls' mentioned in §6.2. Formal claims about compilation semantics therefore do not apply to the actual benchmark programs being evaluated. If functions are an extension of the core, they should be formally specified; otherwise the evaluation should be presented as covering an unformalized superset of Imprompt, and the formal contributions should be scoped accordingly.
- [§6.5, RQ1; Table 2; Figure 32] The claim that 'stepwise generally achieves higher accuracy and lower cost' is not supported by the reported data. Rankings flip by task and model: in Table 2, Stepwise reaches 94.4% on text-to-p with Phi3.5-Mini but only 27.8% with Gemma2-9B; on elements with Llama3.2-1B, Baseline achieves 55.6% while Stepwise achieves 0.0%; and in aggregate on Gemma2-9B, Natural mode (74.6%) beats Stepwise (70.1%). With three runs and no variance or significance testing, 'generally' carries no statistical meaning. Please report per-model, per-task confidence intervals or other uncertainty measures, and state the conclusion more narrowly (e.g., 'stepwise tends to help on constrained-output tasks for some models').
- [§3.4 / §5.2 / §6.5 RQ4] The formal semantics in Section 5.2 are parameterized by a model and decoding policy via D[π] and decode(D[π], φ). The paper's own RQ4 acknowledges that compilation 'should ideally be model-aware' and that prompt formats differ across model families. Consequently, the statement that 'every compiler defines a semantics for Imprompt' holds only relative to a fixed model/decoder pair; the same compiler induces different semantics for different models, as Table 2 illustrates. This does not invalidate the decoupling principle, but the semantics should be explicitly presented as model-indexed, and the conclusion in Section 9 should not claim a single language-level semantics without this qualification.
- [§6.5, RQ2] The Baseline-versus-Baseline-WC comparison does not isolate the value of Imprompt's type-directed static constraint analysis. Removing all output constraints is expected to hurt on grammar-bound tasks such as speech-tag and text-to-p; the comparison mostly demonstrates that constrained decoding helps. To support the claim that the type system's analysis itself adds value, compare against a hand-written output grammar, or against a variant that applies constraints only at final say statements while leaving the static analysis disabled, or perform an ablation that keeps prompt structure fixed and varies only the precision of C[P].
minor comments (5)
- [§3.3, Lemma 3.1] The lemma title contains a typo: 'Uniqeness' should be 'Uniqueness'.
- [§2] The line 'Detok(:)𝑅→Σ∗' appears malformed; the intended type is Detok : R → Σ∗.
- [§6.2] The evaluation reports means over three runs without standard deviations or per-trial results. Please include dispersion measures, especially for the Table 2 numbers where accuracy differences are large and cell sizes are small (n = 6, 12, 13, 18).
- [§6.1] The paper states that code 'will be made available' in the project repository, which is not sufficient for reproducibility review. Please include a usable anonymized repository link or supplement the submission with the implementation.
- [§6.5, RQ3] The claim that 'there exists at least one Imprompt compilation strategy that outperforms natural-language prompting' is weak and per-model/per-task; it should be stated with the specific strategy and model for which it holds, or removed in favor of a stronger quantified statement.
Circularity Check
Empirical comparisons are external and non-forced; the only circularity is a formal soundness theorem that restates constrained decoding by definition.
specific steps
-
self definitional
[Section 4, Definition 4.1 and Theorem 4.3]
"We define an execution of the compiled program as a constrained decoding process of D[JP Kσ] under the constraint C[P]. ... Theorem 4.3 (Constraint Soundness). If an execution of the compiled program BComp(P,σ) produces a string s, then s |= C[P]."
By Definition 4.1, BComp(P,σ) = (D[JP Kσ], C[P]) and execution is defined as constrained decoding under C[P]. Section 2 defines constrained decoding as a process that returns a response ω with Detok(ω) |= φ. Hence any output of an execution of BComp(P,σ) satisfies C[P] by definition; the soundness conclusion does not depend on the program rewriting, Lemma 3.1, or the induction. It restates the construction, so it cannot serve as independent evidence that the type-directed constraint analysis is sound.
full rationale
The central empirical claims are not circular: RQ1 compares two genuinely different compilation strategies on external benchmarks (SARA, PromptPex), and the paper explicitly acknowledges that the ranking is not uniform and that compilation should ideally be model-aware. RQ2 is a controlled comparison between constrained and unconstrained versions of the same compiled prompt, which is an empirical treatment/control experiment rather than a prediction forced by construction. There are no load-bearing self-citations; all citations used to justify design choices are external. The only notable definitional step is Theorem 4.3, whose conclusion is already guaranteed by the definition of execution as constrained decoding under C[P]. This is a minor self-definitional restatement, not a driver of the paper's substantive empirical or language-design conclusions. Overall, the paper is largely self-contained against external benchmarks, so the appropriate verdict is low-severity circularity.
Axiom & Free-Parameter Ledger
free parameters (3)
- temperature =
0.7
- top-p =
0.9
- per-call timeout =
120 s
axioms (5)
- standard math String constraints used in compilation are decidable and closed under union, concatenation, and Kleene star.
- domain assumption An LM is modeled as a distribution D[s] over completions, and decode(D[π], φ) returns a string satisfying φ.
- ad hoc to paper Every compiler defines an acceptable semantics for an Imprompt program (backward simulation).
- domain assumption The baseline prompt rendering using XML-like tags is a suitable universal surface for LMs.
- domain assumption Type casts and Bool-valued reason responses yield exactly the strings in Mod(C[τ]) when they succeed.
invented entities (2)
-
Imprompt language (reason/get/say, if/while, Dyn/Bool/Ty types)
no independent evidence
-
Imprompt-IR (post, gen, cgen, push, lookup, pop, dup, print, cat, template, and/or/not, br, while)
no independent evidence
read the original abstract
With the unprecedented success of Language Models (LMs), the science of Prompt Engineering has evolved the powerful idea of Prompt Programming, where prompts are treated as a programmable control surface for describing complex tasks and leveraging LM capabilities. However, existing prompt programming frameworks suffer from various complexities and inelegances, which make them hard to utilize in practice for effectively describing tasks. We propose Imprompt, a new language framework for the study and practice of prompt programming. We undertake a foundational investigation of prompt programming, and contend that prompt programs must contain only the task descriptions and must be decoupled from lower-level 'execution' details. We further develop this position by illustrating structured prompting as a combination of prompt programming and prompt program 'compilation'. We exemplify this view by formally defining two compilers for Imprompt programs. We then explore the idea of typing for prompt programs and draw a correspondence between type checking and constrained decoding. Finally, we implement our compilers and type checkers and evaluate them on a variety of case studies. We believe our work contributes programming-language foundations toward the emerging area of prompt programming.
Figures
Reference graph
Works this paper leans on
-
[1]
DotTXT AI. 2025. Outlines. Website. https://dottxt-ai.github.io/outlines/latest/ DSL for controlling large language models, accessed on 05-01-2025
2025
-
[2]
Guidance AI. 2025. Guidance: A guidance language for controlling large language models. GitHub repository. https://github.com/guidance-ai/guidance Accessed on 02-05-2025
2025
-
[3]
Anthropic. 2024. Prompt Engineering Best Practices for Claude: Using XML Tags. https://platform.claude.com/docs/en/ build-with-claude/prompt-engineering/claude-prompting-best-practices#structure-prompts-with-xml-tags Online; accessed 17 March 2026
2024
-
[4]
Debangshu Banerjee, Tarun Suresh, Shubham Ugare, Sasa Misailovic, and Gagandeep Singh. 2025. CRANE: Reasoning with constrained LLM generation. arXiv:2502.09061 [cs.PL] https://arxiv.org/abs/2502.09061
Pith/arXiv arXiv 2025
-
[5]
Luca Beurer-Kellner, Marc Fischer, and Martin Vechev. 2023. Prompting Is Programming: A Query Language for Large Language Models.Proc. ACM Program. Lang.7, PLDI, Article 186 (June 2023), 24 pages. doi:10.1145/3591300
doi:10.1145/3591300 2023
-
[6]
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020. Language models are few-shot learners. InProceedings of the 34th International Conference on Neural Information Processing Systems. 1877–1901
2020
-
[7]
Alexandra Butoi, Robin Chan, Ryan Cotterell, William Merrill, Franz Nowak, Clemente Pasti, Lena Strobl, and Anej Svete. 2024. Computational Expressivity of Neural Language Models. InProceedings of the 62nd Annual Meeting of the Imprompt: A Language Framework for Prompt Programming 25 Association for Computational Linguistics (Volume 5: Tutorial Abstracts)...
2024
-
[8]
Harrison Chase. 2022. LangChain. GitHub repository. https://github.com/langchain-ai/langchain
2022
-
[9]
Daniel Deutsch, Shyam Upadhyay, and Dan Roth. 2019. A General-Purpose Algorithm for Constrained Sequential Inference. InProceedings of the 23rd Conference on Computational Natural Language Learning (CoNLL), Mohit Bansal and Aline Villavicencio (Eds.). Association for Computational Linguistics, Hong Kong, China, 482–492. doi:10.18653/v1/K19- 1045
-
[10]
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. InProceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), Jill Burstein, Christy ...
-
[11]
Honghua Dong, Qidong Su, Yubo Gao, Zhaoyu Li, Yangjun Ruan, Gennady Pekhimenko, Chris J Maddison, and Xujie Si. 2024. APPL: A Prompt Programming Language for Harmonious Integration of Programs and Large Language Model Prompts.arXiv preprint arXiv:2406.13161(2024)
Pith/arXiv arXiv 2024
-
[12]
Ruan, Yaxing Cai, Ruihang Lai, Ziyi Xu, Yilong Zhao, and Tianqi Chen
Yixin Dong, Charlie F. Ruan, Yaxing Cai, Ruihang Lai, Ziyi Xu, Yilong Zhao, and Tianqi Chen. 2025. XGrammar: Flexible and Efficient Structured Generation Engine for Large Language Models. arXiv:2411.15100 [cs.CL] https: //arxiv.org/abs/2411.15100
Pith/arXiv arXiv 2025
-
[13]
DSPy. 2026. Building AI Applications by Customizing DSPy Modules. https://dspy.ai/tutorials/custom_module/. DSPy homepage
2026
-
[14]
Tianyu Gao, Adam Fisch, and Danqi Chen. 2021. Making Pre-trained Language Models Better Few-shot Learners. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), Chengqing Zong, Fei Xia, Wenjie Li, and Roberto Navigli (Ed...
-
[15]
Google. 2025. FunctionGemma: Formatting and Best Practices. https://ai.google.dev/gemma/docs/functiongemma/ formatting-and-best-practices. Last updated Dec 18, 2025. Accessed 2026-03-18
2025
-
[16]
Chris Hokamp and Qun Liu. 2017. Lexically Constrained Decoding for Sequence Generation Using Grid Beam Search. InProceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Regina Barzilay and Min-Yen Kan (Eds.). Association for Computational Linguistics, Vancouver, Canada, 1535–1546. doi:10.18653/v1/P17-1141
-
[17]
Nils Holzenberger, Andrew Blair-Stanek, and Benjamin Van Durme. 2020. A Dataset for Statutory Reasoning in Tax Law Entailment and Question Answering. InProceedings of the Natural Legal Language Processing Workshop 2020 co- located with the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining (KDD 2020), Virtual Workshop, August 24...
2020
-
[18]
Madhav Kanda, Shubham Ugare, and Sasa Misailovic. 2026. RefineStat: Efficient Exploration for Probabilistic Program Synthesis. arXiv:2509.01082 [cs.LG] https://arxiv.org/abs/2509.01082
Pith/arXiv arXiv 2026
-
[19]
Joshi, Hanna Moazam, Heather Miller, Matei Zaharia, and Christopher Potts
Omar Khattab, Arnav Singhvi, Paridhi Maheshwari, Zhiyuan Zhang, Keshav Santhanam, Sri Vardhamanan, Saiful Haq, Ashutosh Sharma, Thomas T. Joshi, Hanna Moazam, Heather Miller, Matei Zaharia, and Christopher Potts. 2024. DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines.The Twelfth International Conference on Learning Representations
2024
-
[20]
Terry Koo, Frederick Liu, and Luheng He. 2024. Automata-based constraints for language model decoding. InFirst Conference on Language Modeling. https://openreview.net/forum?id=BDBdblmyzY
2024
-
[21]
Michael Kuchnik, Virginia Smith, and George Amvrosiadis. 2023. Validating Large Language Models with ReLM. arXiv:2211.15458 [cs.LG] https://arxiv.org/abs/2211.15458
Pith/arXiv arXiv 2023
-
[22]
LangChain. 2025. LangGraph. Documentation. https://langchain-ai.github.io/langgraph/
2025
-
[23]
Lew, Tan Zhi-Xuan, Gabriel Grand, and Vikash K
Alexander K. Lew, Tan Zhi-Xuan, Gabriel Grand, and Vikash K. Mansinghka. 2023. Sequential Monte Carlo Steering of Large Language Models using Probabilistic Programs. arXiv:2306.03081 [cs.AI] https://arxiv.org/abs/2306.03081
Pith/arXiv arXiv 2023
-
[24]
Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. 2020. Retrieval-augmented generation for knowledge-intensive NLP tasks. InProceedings of the 34th International Conference on Neural Information Processing Systems(Van...
2020
-
[25]
Percy Liang, Rishi Bommasani, Tony Lee, Dimitris Tsipras, Dilara Soylu, Michihiro Yasunaga, Yian Zhang, Deepak Narayanan, Yuhuai Wu, Ananya Kumar, et al. 2023. Holistic evaluation of language models.Transactions on Machine Learning Research(2023). https://openreview.net/forum?id=iO4LZIBl7R
2023
-
[26]
Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. 2023. Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing.ACM Comput. Surv.55, 9, 26 Chentian Wu, Shengyuan Yang, and Adithya Murali Article 195 (Jan. 2023), 35 pages. doi:10.1145/3560815
doi:10.1145/3560815 2023
-
[27]
Lew, Tim Vieira, and Timothy J
João Loula, Benjamin LeBrun, Li Du, Ben Lipkin, Clemente Pasti, Gabriel Grand, Tianyu Liu, Yahya Emara, Marjorie Freedman, Jason Eisner, Ryan Cotterell, Vikash Mansinghka, Alexander K. Lew, Tim Vieira, and Timothy J. O’Donnell
-
[28]
Ximing Lu, Peter West, Rowan Zellers, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. 2021. NeuroLogic Decoding: (Un)supervised Neural Text Generation with Predicate Logic Constraints. InProceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Kristina Toutanova, An...
2021
-
[29]
2025.From Prompts to Templates: A Systematic Prompt Template Analysis for Real-world LLMapps
Yuetian Mao, Junjie He, and Chunyang Chen. 2025.From Prompts to Templates: A Systematic Prompt Template Analysis for Real-world LLMapps. Association for Computing Machinery, New York, NY, USA, 75–86. https://doi.org/10.1145/ 3696630.3728533
arXiv 2025
-
[30]
Stephen Mell, Konstantinos Kallas, Steve Zdancewic, and Osbert Bastani. 2025. Opportunistically Parallel Lambda Calculus.Proc. ACM Program. Lang.9, OOPSLA2, Article 365 (Oct. 2025), 27 pages. doi:10.1145/3763143
doi:10.1145/3763143 2025
-
[31]
Hayes, Xin Qiu, Babak Hodjat, and Risto Miikkulainen
Elliot Meyerson, Giuseppe Paolo, Roberto Dailey, Hormoz Shahrzad, Olivier Francon, Conor F. Hayes, Xin Qiu, Babak Hodjat, and Risto Miikkulainen. 2025. Solving a Million-Step LLM Task with Zero Errors. arXiv:2511.09030 [cs.AI] https://arxiv.org/abs/2511.09030
arXiv 2025
-
[32]
Elliot Meyerson and Xin Qiu. 2025. Position: Scaling LLM Agents Requires Asymptotic Analysis with LLM Primitives. (2025). arXiv:2502.04358 [cs.CL] https://arxiv.org/abs/2502.04358
Pith/arXiv arXiv 2025
-
[33]
Microsoft. 2025. GenAIScript: Generative AI Scripting. Website. https://microsoft.github.io/genaiscript/ Accessed on 01-09-2025
2025
-
[34]
Microsoft. 2025. Prompt-flow: industry. GitHub repository. https://github.com/microsoft/promptflow Accessed on 01-05-2025
2025
-
[35]
Microsoft. 2025. PromptPex: Test Generation for Prompts. https://github.com/microsoft/promptpex. GitHub repository, accessed 2026-03-18
2025
-
[36]
Kanghee Park, Timothy Zhou, and Loris D’Antoni. 2025. Flexible and Efficient Grammar-Constrained Decoding. In Forty-second International Conference on Machine Learning. https://openreview.net/forum?id=L6CYAzpO1k
2025
-
[37]
Ethan Perez, Douwe Kiela, and Kyunghyun Cho. 2021. True few-shot learning with language models. InAdvances in Neural Information Processing Systems, Vol. 34. 11054–11070
2021
-
[38]
Gabriel Poesia, Alex Polozov, Vu Le, Ashish Tiwari, Gustavo Soares, Christopher Meek, and Sumit Gulwani. 2022. Synchromesh: Reliable Code Generation from Pre-trained Language Models. InInternational Conference on Learning Representations. https://openreview.net/forum?id=KmtVD97J43e
2022
-
[39]
Matt Post and David Vilar. 2018. Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translation. InProceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), Marilyn Walker, Heng Ji, and Amanda Stent (Eds.). Associa...
-
[40]
Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language Models are Unsupervised Multitask Learners. https://api.semanticscholar.org/CorpusID:160025533
2019
-
[41]
Kiran Ramnath, Kang Zhou, Sheng Guan, Soumya Smruti Mishra, Xuan Qi, Zhengyuan Shen, Shuai Wang, Sangmin Woo, Sullam Jeoung, Yawei Wang, Haozhu Wang, Han Ding, Yuzhe Lu, Zhichao Xu, Yun Zhou, Balasubramaniam Srinivasan, Qiaojing Yan, Yueyan Chen, Haibo Ding, Panpan Xu, and Lin Lee Cheong. 2025. A Systematic Survey of Automatic Prompt Optimization Techniqu...
2025
-
[42]
Pranab Sahoo, Ayush Kumar Singh, Sriparna Saha, Vinija Jain, Samrat Mondal, and Aman Chadha. 2025. A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applications. arXiv:2402.07927 [cs.AI] https://arxiv.org/abs/2402.07927
Pith/arXiv arXiv 2025
-
[43]
Tobias Schnabel and Jennifer Neville. 2024. Symbolic Prompt Program Search: A Structure-Aware Approach to Efficient Compile-Time Prompt Optimization. InFindings of the Association for Computational Linguistics: EMNLP 2024. 670–686. https://aclanthology.org/2024.findings-emnlp.37
2024
-
[44]
Sander Schulhoff, Michael Ilie, Nishant Balepur, Konstantine Kahadze, Amanda Liu, Chenglei Si, Yinheng Li, Aayush Gupta, HyoJung Han, Sevien Schulhoff, Pranav Sandeep Dulepet, Saurav Vidyadhara, Dayeon Ki, Sweta Agrawal, Chau Pham, Gerson Kroiz, Feileen Li, Hudson Tao, Ashay Srivastava, Hevander Da Costa, Saloni Gupta, Megan L. Rogers, Inna Goncearenco, G...
Pith/arXiv arXiv 2024
-
[45]
SgfdDttt. 2024. Statutory Reasoning Assessment (SARA). https://github.com/SgfdDttt/sara. GitHub repository, accessed 2026-03-18
2024
-
[46]
Reshabh K Sharma, Jonathan De Halleux, Shraddha Barke, and Benjamin Zorn. 2025. PromptPex: Automatic Test Generation for Language Model Prompts. arXiv:2503.05070 [cs.SE] https://arxiv.org/abs/2503.05070
arXiv 2025
-
[47]
2024.Lark Parser
Erez Shinan. 2024.Lark Parser. https://github.com/lark-parser/lark
2024
-
[48]
Tarun Suresh, Debangshu Banerjee, Shubham Ugare, Sasa Misailovic, and Gagandeep Singh. 2025. DINGO: Constrained Inference for Diffusion LLMs. arXiv:2505.23061 [cs.LG] https://arxiv.org/abs/2505.23061
Pith/arXiv arXiv 2025
-
[49]
Zhi Rui Tam, Cheng-Kuang Wu, Yi-Lin Tsai, Chieh-Yen Lin, Hung-yi Lee, and Yun-Nung Chen. 2024. Let Me Speak Freely? A Study On The Impact Of Format Restrictions On Large Language Model Performance.. InProceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track, Franck Dernoncourt, Daniel Preoţiuc-Pietro, and Anas...
-
[50]
Shubham Ugare, Rohan Gumaste, Tarun Suresh, Gagandeep Singh, and Sasa Misailovic. 2025. IterGen: Iterative Semantic-aware Structured LLM Generation with Backtracking. InThe Thirteenth International Conference on Learning Representations. https://openreview.net/forum?id=ac93gRzxxV
2025
-
[51]
Shubham Ugare, Tarun Suresh, Hangoo Kang, Sasa Misailovic, and Gagandeep Singh. 2025. SynCode: LLM Generation with Grammar Augmentation.Transactions on Machine Learning Research(2025). https://openreview.net/forum?id= HiUZtgAPoH
2025
-
[52]
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need.Advances in neural information processing systems30 (2017)
2017
-
[53]
Mandana Vaziri, Louis Mandel, Claudio Spiess, and Martin Hirzel. 2024. PDL: A Declarative Prompt Programming Language. arXiv:2410.19135 [cs.AI] https://arxiv.org/abs/2410.19135
Pith/arXiv arXiv 2024
-
[54]
Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. 2023. Self-Consistency Improves Chain of Thought Reasoning in Language Models. arXiv:2203.11171 [cs.CL] https://arxiv.org/abs/2203.11171
Pith/arXiv arXiv 2023
-
[55]
Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. 2023. Self-Consistency Improves Chain of Thought Reasoning in Language Models. InThe Eleventh International Conference on Learning Representations. https://openreview.net/forum?id=1PL1NIMMrw
2023
-
[56]
Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V Le, and Denny Zhou. 2022. Chain-of-thought prompting elicits reasoning in large language models. InAdvances in Neural Information Processing Systems, Vol. 35. 24824–24837
2022
-
[57]
Yixuan Weng, Minjun Zhu, Fei Xia, Bin Li, Shizhu He, Shengping Liu, Bin Sun, Kang Liu, and Jun Zhao. 2023. Large Language Models are Better Reasoners with Self-Verification. arXiv:2212.09561 [cs.AI] https://arxiv.org/abs/2212.09561
Pith/arXiv arXiv 2023
-
[58]
Brandon T Willard and Rémi Louf. 2023. Efficient Guided Generation for LLMs.arXiv preprint arXiv:2307.09702(2023)
Pith/arXiv arXiv 2023
-
[59]
Glynn Winskel. 1993. The formal semantics of programming languages.International Journal of Foundations of Computer Science(1993). https://api.semanticscholar.org/CorpusID:117797097
1993
-
[60]
Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander Rush. 2020. Transformers: State-of-the-...
2020
-
[61]
Griffiths, Yuan Cao, and Karthik Narasimhan
Shunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran, Thomas L. Griffiths, Yuan Cao, and Karthik Narasimhan. 2023. Tree of thoughts: deliberate problem solving with large language models. InProceedings of the 37th International Conference on Neural Information Processing Systems(New Orleans, LA, USA)(NIPS ’23). Curran Associates Inc., Red Hook, NY, USA, Artic...
2023
-
[62]
Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. 2023. ReAct: Synergizing Reasoning and Acting in Language Models. arXiv:2210.03629 [cs.CL] https://arxiv.org/abs/2210.03629
Pith/arXiv arXiv 2023
-
[63]
Zhuosheng Zhang, Aston Zhang, Mu Li, and Alex Smola. 2023. Automatic Chain of Thought Prompting in Large Language Models. InThe Eleventh International Conference on Learning Representations. https://openreview.net/forum? id=5NTt8GFjUHkr
2023
-
[64]
Zihao Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. 2021. Calibrate before use: Improving few-shot performance of language models. InInternational Conference on Machine Learning. PMLR, 12697–12706
2021
-
[65]
Gonzalez, Clark Barrett, and Ying Sheng
Lianmin Zheng, Liangsheng Yin, Zhiqiang Xie, Chuyue Sun, Jeff Huang, Cody Hao Yu, Shiyi Cao, Christos Kozyrakis, Ion Stoica, Joseph E. Gonzalez, Clark Barrett, and Ying Sheng. 2024. SGLang: Efficient Execution of Structured Language Model Programs.arXiv preprint arXiv:2312.07104(2024). https://arxiv.org/abs/2312.07104 28 Chentian Wu, Shengyuan Yang, and A...
Pith/arXiv arXiv 2024
-
[66]
Kaijie Zhu, Jindong Wang, Jiaheng Zhou, Zichen Wang, Hao Chen, Yidong Wang, Linyi Yang, Wei Ye, Neil Zhenqiang Gong, Yue Zhang, et al . 2023. PromptBench: Towards Evaluating the Robustness of Large Language Models on Adversarial Prompts.arXiv preprint arXiv:2306.04528(2023)
Pith/arXiv arXiv 2023
-
[67]
Jingming Zhuo, Songyang Zhang, Xinyu Fang, Haodong Duan, Dahua Lin, and Kai Chen. 2024. ProSA: Assessing and Understanding the Prompt Sensitivity of LLMs. InFindings of the Association for Computational Linguistics: EMNLP 2024, Yaser Al-Onaizan, Mohit Bansal, and Yun-Nung Chen (Eds.). Association for Computational Linguistics, Miami, Florida, USA, 1950–19...
-
[2025]
InThe Thirteenth International Conference on Learning Representations
Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlo. InThe Thirteenth International Conference on Learning Representations. https://openreview.net/forum?id=xoXn62FzD0
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.