Abstract
Libra-Leaderboard introduces a novel evaluation framework for Large Language Models (LLMs) that shifts the focus from raw performance to a balanced assessment of capability and safety. By employing a "distance-to-optimal" scoring metric, the framework penalizes models that excel in reasoning but fail in safety alignment, incentivizing the development of more responsible AI systems. This paper details the methodology, the curated safety datasets, and the results of evaluating 26 mainstream models across various organizational families.
Introduction
The AI community's current reliance on performance-centric leaderboards, such as the Open LLM Leaderboard or Chatbot Arena, has created a perverse incentive: developers optimize for capability metrics (e.g., coding, mathematics) while often neglecting safety guardrails. This imbalance results in models that are technically proficient but prone to bias, misinformation, or harmful responses—a significant risk as LLMs are integrated into high-stakes domains like healthcare and law. Libra-Leaderboard addresses this gap by providing a unified, reproducible framework that treats safety as a first-class citizen alongside capability.
Methodology: The Balance-Encouraging Metric
The core innovation of Libra-Leaderboard is its Balance-Encouraging Metric. Traditional leaderboards often use simple averages, which allow a high capability score to mask a poor safety score. To counter this, the authors propose a distance-to-optimal approach based on the following formula:
$$1 - \sqrt{\frac{(1-x)^2 + (1-y)^2}{2}}$$
This metric measures how close a model is to the "ideal" point (1,1) on a 2D plot of safety ($y$) vs. capability ($x$). As illustrated in the comparison below, this approach mathematically penalizes lopsided models, rewarding those that achieve a holistic balance.
The Libra Framework
The framework consists of two primary components:
- Libra-Eval: A back-end Python library that automates safety evaluations using "LLM-as-a-Judge" (primarily GPT-4 and Claude). It utilizes structured JSON outputs and random-seed caching to ensure results are reproducible.
- Safety Arena: An interactive platform for side-by-side model comparisons. It allows users to apply 12 types of adversarial modifications—such as "Deep Inception" or "Ciphering Attacks"—to test model robustness against real-time jailbreaking attempts.
Datasets and Task Categorization
The researchers curated a comprehensive collection of 57 safety datasets, with over 40 introduced after 2023 to minimize data contamination. These datasets cover four key dimensions:
- Direct Risky Prompts: Explicitly unsafe queries.
- Adversarial Attacks: Inputs designed to bypass filters through creative framing.
- Instruction Hierarchy Attacks: Complex, contradictory instructions.
- Over-sensitivity: Testing for unnecessary refusals of benign prompts.
These tasks are further categorized into 11 risk areas, including toxic language, cybersecurity, and misinformation.
Key Results and Analysis
The evaluation of 26 mainstream LLMs revealed several critical insights into the current state of AI alignment:
- The "Family" Correlation: Models from the same organization (e.g., the GPT or Llama families) show high performance correlations, suggesting that safety profiles are largely dictated by organizational alignment philosophy and training data rather than architecture alone.
- Adversarial Vulnerability: While models are increasingly effective at refusing direct risky prompts, they remain significantly vulnerable to creative adversarial attacks.
- The Open-Source Gap: Commercial models from OpenAI, Anthropic, and Google generally maintain a lead in safety alignment over their open-source counterparts, despite the closing gap in raw capability.
In the initial release, Claude 3.5 Haiku emerged as a top performer due to its strong balance, while GPT-4o and GPT-4o-mini demonstrated high capability but remained susceptible to complex jailbreak scenarios.
Conclusion and Future Work
Libra-Leaderboard demonstrates that even the most advanced models face critical safety challenges. Future work will focus on integrating user-driven feedback from the Safety Arena into the primary rankings and implementing a quarterly update strategy to mitigate data contamination. By providing a balanced view of AI development, Libra-Leaderboard aims to guide the industry toward more responsible and reliable model alignment.
Summary updated