mlsanityData to 14 Oct 2026

Cross-Task Defense: Instruction-Tuning LLMs for Content Safety

arXiv 2405.15202 ↗First posted 24 May 2024cs.CL cs.CRcited by 8

Not on the map. Why?

Abstract (arXiv)

Recent studies reveal that Large Language Models (LLMs) face challenges in balancing safety with utility, particularly when processing long texts for NLP tasks like summarization and translation. Despite defenses against malicious short questions, the ability of LLMs to safely handle dangerous long content, such as manuals teaching illicit activities, remains unclear. Our work aims to develop robust defenses for LLMs in processing malicious documents alongside benign NLP task queries. We introduce a defense dataset comprised of safety-related examples and propose single-task and mixed-task losses for instruction tuning. Our empirical results demonstrate that LLMs can significantly enhance their capacity to safely manage dangerous content with appropriate instruction tuning. Additionally, strengthening the defenses of tasks most susceptible to misuse is effective in protecting LLMs against processing harmful information. We also observe that trade-offs between utility and safety exist in defense strategies, where Llama2, utilizing our proposed approach, displays a significantly better balance compared to Llama1.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 15 of its 18 references that are in the map. First posted on arXiv 24 May 2024.

Builds on

15 of 18 references.

References · 15

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  3. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  4. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  5. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
  6. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 860
  7. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  8. 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 573
  9. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 469
  10. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 451
  11. 2023Detecting Language Model Attacks with Perplexitycited by 431
  12. 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 387
3 more
  1. 2023Identifying and Mitigating the Security Risks of Generative AIcited by 91
  2. 2024Play Guessing Game with LLM: Indirect Jailbreak Attack with Implicit Cluescited by 68
  3. 2023Safety Alignment in NLP Tasks: Weakly Aligned Summarization as an In-Context Attackcited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 4; 2025: 2; 2026: 2.

8 papers.