Saved in:
Bibliographic Details
Main Authors: Schoch, Stephanie, Ji, Yangfeng
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2502.06653
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909486133805056
author Schoch, Stephanie
Ji, Yangfeng
author_facet Schoch, Stephanie
Ji, Yangfeng
contents Large language models have demonstrated strong capabilities to learn in-context, where exemplar input-output pairings are appended to the prompt for demonstration. However, existing work has demonstrated the ability of models to learn lexical and label biases in-context, which negatively impacts both performance and robustness of models. The impact of other statistical data biases remains under-explored, which this work aims to address. We specifically investigate the impact of length biases on in-context learning. We demonstrate that models do learn length biases in the context window for their predictions, and further empirically analyze the factors that modulate the level of bias exhibited by the model. In addition, we show that learning length information in-context can be used to counter the length bias that has been encoded in models (e.g., via fine-tuning). This reveals the power of in-context learning in debiasing model prediction behaviors without the need for costly parameter updates.
format Preprint
id arxiv_https___arxiv_org_abs_2502_06653
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle In-Context Learning (and Unlearning) of Length Biases
Schoch, Stephanie
Ji, Yangfeng
Computation and Language
Large language models have demonstrated strong capabilities to learn in-context, where exemplar input-output pairings are appended to the prompt for demonstration. However, existing work has demonstrated the ability of models to learn lexical and label biases in-context, which negatively impacts both performance and robustness of models. The impact of other statistical data biases remains under-explored, which this work aims to address. We specifically investigate the impact of length biases on in-context learning. We demonstrate that models do learn length biases in the context window for their predictions, and further empirically analyze the factors that modulate the level of bias exhibited by the model. In addition, we show that learning length information in-context can be used to counter the length bias that has been encoded in models (e.g., via fine-tuning). This reveals the power of in-context learning in debiasing model prediction behaviors without the need for costly parameter updates.
title In-Context Learning (and Unlearning) of Length Biases
topic Computation and Language
url https://arxiv.org/abs/2502.06653