[Paper Review] Prompt Perturbation Consistency Learning for Robust Language Models
This paper proposes Prompt Perturbation Consistency Learning (PPCL), a regularization method that improves the robustness of fine-tuned large language models (LLMs) on intent classification and slot filling tasks by minimizing prediction divergence between clean prompts and their perturbed variants. PPCL recovers 59% of performance drop on intent classification and 69% on slot filling under perturbations, outperforming data augmentation while using only 10% of the augmented data.
Large language models (LLMs) have demonstrated impressive performance on a number of natural language processing tasks, such as question answering and text summarization. However, their performance on sequence labeling tasks such as intent classification and slot filling (IC-SF), which is a central component in personal assistant systems, lags significantly behind discriminative models. Furthermore, there is a lack of substantive research on the robustness of LLMs to various perturbations in the input prompts. The contributions of this paper are three-fold. First, we show that fine-tuning sufficiently large LLMs can produce IC-SF performance comparable to discriminative models. Next, we systematically analyze the performance deterioration of those fine-tuned models due to three distinct yet relevant types of input perturbations - oronyms, synonyms, and paraphrasing. Finally, we propose an efficient mitigation approach, Prompt Perturbation Consistency Learning (PPCL), which works by regularizing the divergence between losses from clean and perturbed samples. Our experiments demonstrate that PPCL can recover on average 59% and 69% of the performance drop for IC and SF tasks, respectively. Furthermore, PPCL beats the data augmentation approach while using ten times fewer augmented data samples.
Motivation & Objective
- To close the performance gap between LLMs and state-of-the-art discriminative models on intent classification and slot filling tasks.
- To investigate the robustness of fine-tuned LLMs under realistic input perturbations such as oronyms, synonyms, and paraphrasing.
- To develop an efficient mitigation strategy that improves robustness without requiring large-scale data augmentation.
Proposed method
- Introduces a sentinel-based structured prompt format to enable effective instruction tuning of LLMs for structured output generation.
- Generates perturbed variants of input prompts by replacing a small subset of tokens (oronyms, synonyms) or paraphrasing while preserving semantic similarity.
- Implements a consistency regularization loss that minimizes the Jensen-Shannon divergence between model predictions on clean and perturbed inputs.
- Combines standard cross-entropy loss with perturbation consistency loss and Jensen-Shannon divergence loss in a unified training objective.
- Uses a single perturbed sample per clean sample to reduce data overhead while maintaining high performance.
- Employs a three-term loss function: standard cross-entropy loss, perturbation loss, and JS divergence loss, with hyperparameters tuned per dataset.
Experimental results
Research questions
- RQ1Can fine-tuned LLMs achieve performance comparable to state-of-the-art discriminative models on intent classification and slot filling tasks?
- RQ2How do common input perturbations—such as oronyms, synonyms, and paraphrasing—affect the robustness of fine-tuned LLMs on IC-SF tasks?
- RQ3Can prompt perturbation consistency learning (PPCL) effectively mitigate performance degradation caused by such perturbations with minimal data augmentation?
Key findings
- Fine-tuning large LLMs with structured prompts achieves performance on par with state-of-the-art discriminative models on ATIS, SNIPS, and MASSIVE datasets.
- All three perturbation types—oronyms, synonyms, and paraphrasing—cause significant performance degradation, with average drops of 13.07% in intent classification accuracy and 22.20% in slot filling F1-score.
- PPCL recovers 59% of the performance drop on average for intent classification and 69% for slot filling across all perturbation types.
- PPCL outperforms data augmentation with ten times fewer augmented samples, achieving superior robustness with only 10% of the data volume.
- Ablation studies confirm that all three components of the PPCL loss (cross-entropy, perturbation loss, and JS divergence) are essential for optimal performance.
- Case studies show that PPCL successfully corrects model failures caused by oronym substitution and paraphrasing, restoring correct intent and slot predictions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.