Leading Model-Level Hazard Classifier: Meta's Llama Guard 3

As part of Meta's open-source Purple Llama project, Llama Guard 3 provides a series of fine-tuned models (based on Llama 3.1 and 3.2) designed to classify and block risky prompts or responses directly at the generation layer, preventing harmful outputs before they reach end-users.

The top 3

  1. Llama Guard 3's Top Advancements Over Predecessors: Llama Guard 3 significantly improves upon earlier versions with enhanced multilingual support across 8 languages, expanded context length, and the introduction of multimodal capabilities via Llama Guard 3 Vision for image+text evaluation. It also includes quantized variants for efficient mobile deployment.
  2. Llama Guard 3's Dual-Layer Hazard Classification: Llama Guard 3 functions as a dual-layer safety system, employing an Input Guard and an Output Guard to independently classify both user prompts and AI responses. It assesses content against a customizable MLCommons taxonomy of 13-14 hazard categories, including violent crimes, hate speech, and sexual content, providing detailed safety judgments.
  3. Llama Guard 3's Benchmark Performance Against Adversarial Prompts: Llama Guard 3 demonstrates strong performance, with 86-100% violation rate reductions in categories like Defamation and Hate. Its Vision variant achieved F1 scores up to 0.938 for response classification, outperforming GPT-4o baselines, and the 1B model hit a 76% detection rate against OWASP Top 10 vulnerabilities.

Sources

Open the full topic