Pith. sign in

REVIEW 2 cited by

Mitigating Copy Bias in In-Context Learning through Neuron Pruning

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 2410.01288 v2 pith:YPNK2L5V submitted 2024-10-02 cs.CL cs.LG

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

Large language models (LLMs) have demonstrated impressive few-shot in-context learning (ICL) abilities. Still, we show that they are sometimes prone to a `copying bias', where they copy answers from provided examples instead of learning the underlying patterns. In this work, we propose a novel and simple method to mitigate such copying bias. First, we create a synthetic task and use the Integrated Gradients method to identify neurons that prioritize copying over generalization. We demonstrate that pruning these neurons consistently improves performance across a diverse set of ICL tasks. We also show that our method is applicable across various LLM architectures, including Transformers and State-Space Models, without requiring modifications. In our analysis, we adopt a task-recognition perspective on ICL and examine task vectors (Hendel et al., 2023) induced by the model. We find that pruning enhances the quality of these vectors, suggesting that the pruned neurons previously hindered effective task recognition.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

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

  1. In-Context Learning (and Unlearning) of Length Biases

    cs.CL 2025-02 conditional novelty 6.0 of 10

    LLMs learn length biases from the examples in their prompt, and rebalancing those examples can offset a length bias created by finetuning.

  2. Detecting and Pruning Prominent but Detrimental Neurons in Large Language Models

    cs.CL 2025-07 conditional novelty 5.0 of 10

    Pruning the most attribution-prominent MLP neurons in a single layer, chosen via a 10-sample validation sweep, consistently improves multiple-choice accuracy across four instruction-tuned LLMs.

Pith tools