NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Self-Robust LLMs: Intrinsic Prompt Noise Resistance via CoIPO

Xin Yang, Letian Li, Abudukelimu Wuerkaixi, Xuxin Cheng, Cao Liu, Ke Zeng, Xunliang Cai, Wenyuan Jiang · DOI

TL;DR

Researchers have developed CoIPO (Contrastive Learning-based Inverse Direct Preference Optimization), a method that makes Large Language Models (LLMs) intrinsically resistant to "noisy" prompts—like those containing typos or irrelevant information. By training models to recognize that a messy prompt and a clean one should lead to the same answer, CoIPO eliminates the need for slow, expensive external preprocessing tools while significantly boosting accuracy.

What Problem Does This Paper Address?

LLMs are notoriously "brittle." A tiny change in a prompt—a spelling mistake, a synonym swap, or a random sentence like "Interesting fact: cats sleep a lot"—can cause a model's performance to plummet.

Currently, the industry handles this by using external preprocessing: a separate grammar checker or a "refiner" LLM cleans up the user's input before the main model sees it. The authors argue this is a flawed approach for three reasons:

  1. Overhead: It adds latency and cost to every query.
  2. Cascading Errors: If the "cleaner" tool makes a mistake, the main model has no way to recover.
  3. Lack of Intrinsic Robustness: It treats the symptom, not the disease. The model itself remains fragile.

This paper asks: Can we bake robustness directly into the model so it understands the user's intent even when the prompt is messy?

Methods

The authors introduce CoIPO, which combines two powerful training concepts:

  1. Inverse Direct Preference Optimization (invDPO): Standard DPO usually compares two different outputs for the same input to learn preferences. CoIPO flips this: it compares two different inputs (a clean prompt and its noisy counterpart) for the same ground-truth output.
  2. Contrastive Learning: During training, the model is shown a "noisy" prompt ($P'_1$), its "clean" version ($P_1$), and an unrelated "distractor" prompt ($P_2$). The loss function forces the model to minimize the difference (KL divergence) between the outputs of the noisy and clean versions, while maximizing the difference from the unrelated prompt.

Essentially, the model learns that $P'_1$ and $P_1$ are semantically equivalent "keys" to the same "lock" (the answer), while $P_2$ is a different key entirely. This is backed by a Mutual Information framework, where the goal is to maximize the "Discriminative Information" the model extracts from the correct prompt relative to noise.

Datasets

The study utilizes and introduces several key data resources:

  • Paired FLAN: The authors augmented the standard FLAN dataset by generating noisy versions of prompts using character-level (typos), word-level (synonyms), and sentence-level (irrelevant additions) perturbations.
  • NoisyPromptBench: A new, more challenging evaluation benchmark derived from the existing PromptBench. It simulates real-world randomness by applying multiple types and intensities of noise (DeepWordBug, TextFolder, CheckList, and StressTest).
  • Standard Benchmarks: To ensure the model didn't lose its "intelligence" while becoming robust, they tested on GSM8K (math), TruthfulQA, and MBPP (coding).

Key Insights and Ideas

  • The "Decoding Radius": The authors introduce the concept of a "decoding radius"—the amount of noise a model can tolerate before its accuracy drops below a certain threshold. CoIPO significantly expands this radius compared to standard models.
  • Intrinsic vs. Extrinsic: The paper proves that making a model "self-robust" is more efficient than using a pipeline of external tools. CoIPO requires zero additional inference time, whereas preprocessing agents can take seconds or even minutes to "fix" a prompt.
  • Information Theory Justification: By framing the problem as a Mutual Information challenge, the authors provide a mathematical proof that minimizing their specific loss function is equivalent to maximizing the model's ability to distinguish correct intent from noise.

Key Results

  • Accuracy Gains: On the NoisyPromptBench, CoIPO improved average accuracy by 3.64% over the previous state-of-the-art (CoIN).
  • Llama & Qwen Success: The method was effective across different model families. For Llama2-7B, CoIPO outperformed the base model by an average of 17.26% across various noise scenarios.
  • Scaling Up: The benefits of CoIPO persisted as models grew from 7B to 72B parameters, showing that even the largest models benefit from explicit robustness training.
  • No "Robustness Tax": Unlike some safety-tuning methods that degrade general performance, CoIPO-trained models maintained (and sometimes slightly improved) their scores on standard math and coding benchmarks.

Limitations and Future Work

  • The "TextFolder" Challenge: The authors noted that models still struggle with "TextFolder" perturbations, where key terms are replaced with synonyms. This suggests that while models are getting better at ignoring "noise," they still find it difficult when the core vocabulary of a task is altered.
  • Training Data Dependency: The model's robustness is currently tied to the types of noise it saw during the "Paired FLAN" training. Future work could explore more diverse or adversarial noise generation to further generalize the model's resistance.
  • Broader Task Types: While tested on many NLP tasks, the authors suggest further exploration into how this intrinsic robustness affects long-form creative writing or complex multi-step agentic workflows.

Summary updated

BibTeX
@inproceedings{yang2026towards,
  author = {Xin Yang and Letian Li and Abudukelimu Wuerkaixi and Xuxin Cheng and Cao Liu and Ke Zeng and Xunliang Cai and Wenyuan Jiang},
  title = {{Towards Self-Robust LLMs: Intrinsic Prompt Noise Resistance via CoIPO}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=TUd3c7Vr1z},
}
Figure