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

In-context learning (ICL) is an important yet not fully understood ability of 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's 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.LongGuide is generalizable, learnable by weak models to enhance strong ones, and integrates synergistically with automatic prompt optimizers 1 .

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.176
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Kenji Kawaguchi, Shafiq Joty, Nancy F. Chen, Daniel Yen et al.
Topic Modeling
article

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

Kenji Kawaguchi, Shafiq Joty, Nancy F. Chen, Daniel Yen, Anh Tuan Luu, Min‐Yen Kan, Do Xuan Long, Do Xuan Trong
article en

Abstract

In-context learning (ICL) is an important yet not fully understood ability of 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's 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.LongGuide is generalizable, learnable by weak models to enhance strong ones, and integrates synergistically with automatic prompt optimizers 1 .

National Research Foundation, National Research Foundation Singapore
Openalex Percentile: Top 90%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Beyond In-Context Learning: Aligning Long-form Generation of Large Language Models via Task-Inherent Attribute Guidelines — Kenji Kawaguchi, Shafiq Joty, et al. · (2025) | TGRS Research Map | TGRS