PulseAugur
EN
LIVE 10:26:40

In-context learning in LLMs viewed as implicit policy gradient

A new paper proposes that in-context learning (ICL) in large language models (LLMs) can be understood as an implicit policy gradient optimization method. The research demonstrates a structural correspondence between score-conditioned ICL and policy gradient algorithms like REINFORCE, particularly when specific weight matrix configurations are met. The study also draws an analogy to KL-constrained policy optimization by deriving an upper bound on distribution shifts. Experiments across various LLMs validate these theoretical findings, showing that models effectively use score information to adjust their output distributions towards higher-scoring examples. AI

IMPACT Provides a theoretical framework for understanding how LLMs learn from examples, potentially guiding future model development and fine-tuning techniques.

RANK_REASON Academic paper detailing theoretical findings about LLM behavior. [lever_c_demoted from research: ic=1 ai=1.0]

Read on arXiv cs.AI →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

In-context learning in LLMs viewed as implicit policy gradient

COVERAGE [1]

  1. arXiv cs.AI TIER_1 English(EN) · Masahiro Kaneko, Timothy Baldwin ·

    In-Context Learning as Implicit Policy Gradient

    arXiv:2607.23153v1 Announce Type: cross Abstract: Recent work has shown that large language models (LLMs) can iteratively improve their outputs by incorporating generated samples and their corresponding evaluation scores as in-context examples. Despite these empirical findings, t…