mlsanityData to 7 Oct 2026

Task Facet Learning: A Structured Approach to Prompt Optimization

arXiv 2406.10504 ↗First posted 15 Jun 2024cs.AI cs.CL cs.LGcited by 17

Not on the map. Why?

Abstract (arXiv)

Given a task in the form of a basic description and its training examples, prompt optimization is the problem of synthesizing the given information into a text prompt for a large language model. Humans solve this problem by also considering the different facets that define a task (e.g., counter-examples, explanations, analogies) and including them in the prompt. However, it is unclear whether existing algorithmic approaches, based on iteratively editing a given prompt or automatically selecting a few in-context examples, can cover the multiple facets required to solve a complex task. In this work, we view prompt optimization as that of learning multiple facets of a task from a set of training examples. We exploit structure in the prompt optimization problem and break down a prompt into loosely coupled semantic sections. The proposed algorithm, UniPrompt, (1) clusters the input space and uses clustered batches so that each batch likely corresponds to a different facet of the task, and (2) utilizes a feedback mechanism to propose adding, editing or deleting a section, which in turn is aggregated over a batch to capture generalizable facets. Empirical evaluation on multiple datasets and a real-world task shows that prompts generated using shortname obtain higher accuracy than human-tuned prompts and those from state-of-the-art methods. In particular, our algorithm can generate long, complex prompts that existing methods are unable to generate. Code for UniPrompt is available at https://aka.ms/uniprompt.

Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 33 of its 56 references that are in the map. First posted on arXiv 15 Jun 2024.

Builds on

33 of 56 references.

References · 33

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  6. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  7. 2021Program Synthesis with Large Language Modelscited by 3,509
  8. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  9. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  10. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  11. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,324
  12. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
21 more
  1. 2023Large Language Models as Optimizerscited by 830
  2. 2017Crowdsourcing Multiple Choice Science Questionscited by 742
  3. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
  4. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
  5. 2023Can Generalist Foundation Models Outcompete Special-Purpose Tuning? Case Study in Medicinecited by 319
  6. 2022Active Example Selection for In-Context Learningcited by 195
  7. 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 158
  8. 2020ETHOS: an Online Hate Speech Detection Datasetcited by 66
  9. 2023Coverage-based Example Selection for In-Context Learningcited by 58
  10. 2022TEMPERA: Test-Time Prompting via Reinforcement Learningcited by 50
  11. 2023On Robustness of Prompt-based Semantic Parsing with Large Pre-trained Language Model: An Empirical Study on Codexcited by 41
  12. 2017Global optimization of Lipschitz functionscited by 39
  13. 2023Use Your INSTINCT: INSTruction optimization for LLMs usIng Neural bandits Coupled with Transformerscited by 29
  14. 2023PREFER: Prompt Ensemble Learning via Feedback-Reflect-Refinecited by 28
  15. 2022TextGrad: Advancing Robustness Evaluation in NLP by Gradient-Driven Optimizationcited by 21
  16. 2023Auto-Instruct: Automatic Instruction Generation and Ranking for Black-Box Language Modelscited by 21
  17. 2023Automatic Engineering of Long Promptscited by 14
  18. 2023Learning to Initialize: Can Meta Learning Improve Cross-task Generalization in Prompt Tuning?cited by 11
  19. 2023Evoke: Evoking Critical Thinking Abilities in LLMs via Reviewer-Author Prompt Editingcited by 11
  20. 2024NICE: To Optimize In-Context Examples or Not?cited by 9
  21. 2024Effective In-Context Example Selection through Data Compressioncited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 9; 2026: 5.

17 papers.

Sort:

By area:

  1. 2025A Systematic Survey of Automatic Prompt Optimization Techniquescited by 61
  2. 2024Efficient and Accurate Prompt Optimization: the Benefit of Memory in Exemplar-Guided Reflectioncited by 18
  3. 2024A LLM-Powered Automatic Grading Framework with Human-Level Guidelines Optimizationcited by 16
  4. 2025A Survey of Automatic Prompt Optimization with Instruction-focused Heuristic-based Search Algorithmcited by 6
  5. 2025Model Performance-Guided Evaluation Data Selection for Effective Prompt Optimizationcited by 5
  6. 2025Unlabeled Data Improves Fine-Grained Image Zero-shot Classification with Multimodal LLMscited by 5
  7. 2026Modular Prompt Optimization: Optimizing Structured Prompts with Section-Local Textual Gradientscited by 5
  8. 2026Adaptive Prompt Structure Factorization: A Framework for Self-Discovering and Optimizing Compositional Prompt Programscited by 5
  9. 2024STACKFEED: Structured Textual Actor-Critic Knowledge Base Editing with FeedBackcited by 4
  10. 2025FedPOB: Sample-Efficient Federated Prompt Optimization via Banditscited by 3
  11. 2025Reasoning with Preference Constraints: A Benchmark for Language Models in Many-to-One Matching Marketscited by 0
  12. 2025The Impact of Role Design in In-Context Learning for Large Language Modelscited by 0
5 more
  1. 2025ELPO: Ensemble Learning Based Prompt Optimization for Large Language Modelscited by 0
  2. 2025PromptTailor: Multi-turn Intent-Aligned Prompt Synthesis for Lightweight LLMscited by 0
  3. 2026Towards Spec Learning: Inference-Time Alignment from Preference Pairscited by 0
  4. 2026SEPO: Evidence-Grounded Prompt Optimization via Structural Editingcited by 0
  5. 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptationscited by 0