Lune

ACL Findings2024

Contrastive Instruction Tuning

Tianyi Yan, Fei Wang, James Y. Huang, Wenxuan Zhou, Fan Yin, Aram Galstyan, Wenpeng Yin, Muhao Chen

Abstract

Instruction tuning has been used as a promising approach to improve the performance of large language models (LLMs) on unseen tasks. However, current LLMs exhibit limited robustness to unseen instructions, generating inconsistent outputs when the same instruction is phrased with slightly varied forms or language styles. This behavior indicates LLMs' lack of robustness to textual variations and generalizability to unseen instructions, potentially leading to trustworthiness issues. Accordingly, we propose Contrastive Instruction Tuning (COIN), which maximizes the similarity between the hidden representations of semantically equivalent instruction-instance pairs while minimizing the similarity between semantically different ones. To facilitate this approach, we augment the existing FLAN collection by paraphrasing task instructions. Experiments on the PromptBench benchmark show that COIN consistently improves LLMs' robustness to unseen instructions with variations across character, word, sentence, and semantic levels by an average of +2.5% in accuracy. 1

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • The Flan Collection: Designing Data and Methods for Effective Instruction Tuning cites Finetuned Language Models are Zero-Shot Learners
  • The Flan Collection: Designing Data and Methods for Effective Instruction Tuning cites Training language models to follow instructions with human feedback
  • Towards Self-Robust LLMs: Intrinsic Prompt Noise Resistance via CoIPO cites Finetuned Language Models are Zero-Shot Learners
  • Towards Self-Robust LLMs: Intrinsic Prompt Noise Resistance via CoIPO cites Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
  • Towards Self-Robust LLMs: Intrinsic Prompt Noise Resistance via CoIPO cites Training language models to follow instructions with human feedback
  • MCIF: Multimodal Crosslingual Instruction-Following Benchmark from Scientific Talks cites Finetuned Language Models are Zero-Shot Learners
  • MCIF: Multimodal Crosslingual Instruction-Following Benchmark from Scientific Talks cites Training language models to follow instructions with human feedback
  • Finetuned Language Models are Zero-Shot Learners cites Training language models to follow instructions with human feedback
  • Training language models to follow instructions with human feedback cites Finetuned Language Models are Zero-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. MCIF: Multimodal Crosslingual Instruction-Following Benchmark from Scientific TalksSara Papi, Maike Züfle, Marco Gaido, Beatrice Savoldi et al.ICLR 2026 · 20 citations
  2. RaCoT: Plug-and-Play Contrastive Example Generation Mechanism for Enhanced LLM Reasoning ReliabilityKaitong Cai, Jusheng Zhang, Yijia Fan, Jing Yang et al.AAAI 2026 · 15 citations
  3. Towards Self-Robust LLMs: Intrinsic Prompt Noise Resistance via CoIPOXin Yang, Letian Li, Abudukelimu Wuerkaixi, Xuxin Cheng et al.ICLR 2026 · 6 citations
  4. The LLM Already Knows: Estimating LLM-Perceived Question Difficulty via Hidden RepresentationsYubo Zhu, Dongrui Liu, Zecheng Lin, Wei Tong et al.EMNLP 2025 · 1 citation
  5. Flip-Flop Consistency: Unsupervised Training for Robustness to Prompt Perturbations in LLMsParsa Hejabi, Elnaz Rahmati, Alireza Salkhordeh Ziabari, Morteza DehghaniACL 2026 · 1 citation

Builds on16

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  2. Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu et al.ICLR 2022 · 4,966 citations
  3. SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
  4. Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and EntailmentDi Jin, Zhijing Jin, Joey Tianyi Zhou, Peter SzolovitsAAAI 2020 · 1,333 citations
  5. The Flan Collection: Designing Data and Methods for Effective Instruction TuningShayne Longpre, Le Hou, Tu Vu, Albert Webson et al.ICML 2023 · 908 citations

Related papers

  1. Evaluating the Zero-shot Robustness of Instruction-tuned Language ModelsJiuding Sun, Chantal Shaib, Byron C. WallaceICLR 2024 · 75 citations
  2. Achieving Stronger Generation via Simple Contrastive TuningZhimeng Wang, Pinzheng Wang, Juntao Li, Yibin Chen et al.EMNLP Findings 2024 · 1 citation
  3. JsonTuning: Towards Generalizable, Robust, and Controllable Instruction TuningChang Gao, Wenxuan Zhang, Guizhen Chen, Wai LamACL Findings 2025 · 2 citations
  4. Enhancing NLU in Large Language Models Using Adversarial Noisy Instruction TuningShengyuan Bai, Qibin Li, Zhe Wang, Nai Zhou et al.AAAI 2025 · 6 citations
  5. Chain-of-Instructions: Compositional Instruction Tuning on Large Language ModelsShirley Anugrah Hayati, Taehee Jung, Tristan Bodding-Long, Sudipta Kar et al.AAAI 2025 · 14 citations
Dusk over the sea between two cliffs drawn in fine vertical lines