mlsanityData to 14 Oct 2026

Beyond In-Context Learning: Aligning Long-form Generation of Large Language Models via Task-Inherent Attribute Guidelines

arXiv 2506.01265 ↗First posted 2 Jun 2025cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

In-context learning (ICL) is an important yet not fully understood ability of pre-trained large language models (LLMs). It can greatly enhance task performance using a few examples, termed demonstrations, without fine-tuning. Although effective in question answering, ICL often underperforms in long-form generation tasks such as summarization. Under appropriately realistic assumptions, we empirically and theoretically show that ICL demonstrations alone are insufficient to teach LLMs the task language and format distributions for generation. We argue for explicit exposure to the task distributions and hypothesize that defining them by prompting enhances model performance. To this end, we present LongGuide, which efficiently generates two parallel streams of guidelines capturing task language and format properties: (i) Metric Guidelines (MGs) that instruct models to optimize self-evaluated metrics; and (ii) Output Constraint Guidelines (OCGs) that constrain generation at both token and sentence levels. LongGuide automatically selects the best combination of guidelines, improving both strong open- and closed-source LLMs by over 5% in both zero- and few-shot settings. We show that LongGuide is generalizable, learnable by weak models to enhance strong ones, and integrates synergistically with automatic prompt optimizers.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 37 of its 71 references that are in the map. First posted on arXiv 2 Jun 2025.

Builds on

37 of 71 references.

References · 37

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  4. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  6. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  7. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  8. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  9. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
  10. 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,282
  11. 2018Hierarchical Neural Story Generationcited by 1,193
  12. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
25 more
  1. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
  2. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
  3. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 868
  4. 2021BARTScore: Evaluating Generated Text as Text Generationcited by 722
  5. 2022A Survey on In-context Learningcited by 721
  6. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
  7. 2015Sequence Level Training with Recurrent Neural Networkscited by 576
  8. 2019ELI5: Long Form Question Answeringcited by 575
  9. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
  10. 2023Is ChatGPT a Good NLG Evaluator? A Preliminary Studycited by 422
  11. 2021XL-Sum: Large-Scale Multilingual Abstractive Summarization for 44 Languagescited by 347
  12. 2023Large Language Models Are Latent Variable Models: Explaining and Finding Good Demonstrations for In-Context Learningcited by 149
  13. 2022Pretrained Language Models for Text Generation: A Surveycited by 122
  14. 2023Exploring the Limits of ChatGPT for Query or Aspect-based Text Summarizationcited by 122
  15. 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 115
  16. 2017Controllable Abstractive Summarizationcited by 110
  17. 2019Controllable Sentence Simplificationcited by 78
  18. 2023In-Context Learning with Iterative Demonstration Selectioncited by 74
  19. 2023Evaluating Large Language Models on Controlled Generation Taskscited by 73
  20. 2020A Mathematical Exploration of Why Language Models Help Solve Downstream Taskscited by 72
  21. 2023Did You Read the Instructions? Rethinking the Effectiveness of Task Definitions in Instruction Learningcited by 41
  22. 2019Controlling the Output Length of Neural Machine Translationcited by 36
  23. 2023Prompt Optimization via Adversarial In-Context Learningcited by 33
  24. 2023SWiPE: A Dataset for Document-Level Simplification of Wikipedia Pagescited by 12
  25. 2024Can Large Language Model Summarizers Adapt to Diverse Scientific Communication Goals?cited by 6

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
  2. 2025Lost in the Passage: Passage-level In-context Learning Does Not Necessarily Need a "Passage"
  3. 2023Hint-enhanced In-Context Learning wakes Large Language Models up for knowledge-intensive tasks
  4. 2024Large Language Models Know What Makes Exemplary Contexts
  5. 2024In-Context Language Learning: Architectures and Algorithms
  6. 2022Self-Generated In-Context Learning: Leveraging Auto-regressive Language Models as a Demonstration Generator
  7. 2025Generalizing From Short to Long: Effective Data Synthesis for Long-Context Instruction Tuning
  8. 2025Leveraging In-Context Learning for Language Model Agents