Pigeonholing: Bad prompts hurt models to collapse and make mistakes

Hyunji Nam, Keertana Chidambaram, Dorottya Demszky, Natasha Jaques
6/23/2026
cs.CLcs.AI
rlhf-rlvr-dpo

No confident code implementation found for this paper.

Abstract

While in-context learning is generally shown to be effective in Large Language Models (LLMs), bad contexts can cause performance degradation and mode collapse, a phenomenon we call "pigeonholing." **Unintentionally bad** contexts can happen without malicious jailbreaking intents: For example, a user asks the model to justify an incorrect math theorem or fails to correct the model's buggy code. Specifically, we investigate ``pigeonholing" in two scenarios: (1) when the user suggests a solution, and (2) when the conversation context includes the assistant's previous (incorrect) responses.

Show full abstract

Our experiments across 10 verifiable and open-ended tasks with 10 different models show that pigeonholing manifests in several ways: (1) repeating the incorrect answers from context (leading to 38-40% performance drop), (2) converging on a narrow set of answers in coding and text generation without exploring alternatives, and (3) flipping stance on controversial topics to align with the user or the assistant's previous claims. We find that pigeonholing worsens almost monotonically with the number of conversation turns (performance drops by additional 14+% as repeated mistakes increase from 1 to 5), and pigeonholing-induced mode collapse can happen even when the provided example is correct. As a step toward mitigation, we propose RLVR with synthetic errors which improves models by 43-60% under bad contexts compared to vanilla RLVR baselines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{nam2026pigeonholing,
  title  = {Pigeonholing: Bad prompts hurt models to collapse and make mistakes},
  author = {Hyunji Nam and Keertana Chidambaram and Dorottya Demszky and Natasha Jaques},
  year   = {2026},
  eprint = {2606.24267},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.24267v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.24267.svg)](https://codeofpaper.com/paper/2606.24267)

Discussion