RoChBert: Robust BERT fine-tuning for ChineseRoChBert: Towards Robust BERT Fine-tuning for Chinese
AI summary
RoChBert is a robust fine-tuning framework for Chinese BERT that incorporates Chinese character glyph and phonetic features into pretrained representations during fine-tuning, improving the model's robustness to adversarial text. The defense reduces the success rates of unrestricted and restricted attacks by 59.43% and 39.33% respectively, while benign-text accuracy remains at 93.30%. The method can be used directly for fine-tuning without pretraining from scratch and can be extended to various language models and downstream tasks.