Pith. sign in

REVIEW 1 cited by

Fine-tune Language Models to Approximate Unbiased In-context Learning

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2310.03331 v1 pith:3GUEYWU2 submitted 2023-10-05 cs.LG

classification cs.LG
keywords in-contextlearningalgorithmmodelsperformancelanguagereweightedinput
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

In-context learning (ICL) is an astonishing emergent ability of large language models (LLMs). By presenting a prompt that includes multiple input-output pairs as examples and introducing a new query input, models can generate the corresponding output. However, the performance of models heavily relies on the quality of the input prompt when implementing in-context learning. Biased or imbalanced input prompts can significantly degrade the performance of language models. To address this issue, we introduce a reweighted algorithm called RICL (Reweighted In-context Learning). This algorithm fine-tunes language models using an unbiased validation set to determine the optimal weight for each input-output example to approximate unbiased in-context learning. Furthermore, we also introduce a low-cost reweighted algorithm, a linear optimal weight approximation algorithm called LARICL (Linear Approximation of Reweighted In-context Learning). This algorithm requires minimal training cost while providing effective results. We prove the convergence of our algorithm and validate its performance through experiments conducted on a numerical dataset. The experimental findings reveal a substantial improvement in comparison to benchmarks including the performance of casual prompt-based in-context learning and the performance of a classic fine-tuning method.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Exploring Imbalanced Annotations for Effective In-Context Learning

    cs.CL 2025-02 conditional novelty 6.0 of 10

    Class-imbalanced annotation sets degrade in-context learning, and reweighting demonstration scores by class weights plus a validation-fitted conditional bias term (RCB) recovers most of the loss.

Pith tools