Libra-Leaderboard: Towards Responsible AI through a Balanced Leaderboard of Safety and Capability

Haonan Li, Xudong Han, Zenan Zhai, Honglin Mu, Hao Wang, Zhenxuan Zhang, Yilin Geng, Shom Lin, Renxi Wang, Artem Shelmanov, Xiangyu Qi, Yuxia Wang, Donghai Hong, Youliang Yuan, Meng Chen, Haoqin Tu, Fajri Koto, Tatsuki Kuribayashi, Cong Zeng, Rishabh Bhardwaj, Bingchen Zhao, Yawen Duan, Yi Liu, Emad A. Alghamdi, Yaodong Yang, Yinpeng Dong, Soujanya Poria, Pengfei Liu, Zhengzhong Liu, Xuguang Ren, Eduard H. Hovy, Iryna Gurevych, Preslav Nakov, Monojit Choudhury, Timothy BaldwinarXiv 2024 · DOI

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.

Comparison of scoring metrics: Simple Average, Root Mean Square, and the proposed Balance-Encouraging Metric.

The Libra Framework

The framework consists of two primary components:

  1. 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.
  2. 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.
Safety vs. Capability distribution of 26 evaluated LLMs, highlighting the trade-offs across different model families.

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

BibTeX
@misc{li2024libra,
  author = {Haonan Li and Xudong Han and Zenan Zhai and Honglin Mu and Hao Wang and Zhenxuan Zhang and Yilin Geng and Shom Lin and Renxi Wang and Artem Shelmanov and Xiangyu Qi and Yuxia Wang and Donghai Hong and Youliang Yuan and Meng Chen and Haoqin Tu and Fajri Koto and Tatsuki Kuribayashi and Cong Zeng and Rishabh Bhardwaj and Bingchen Zhao and Yawen Duan and Yi Liu and Emad A. Alghamdi and Yaodong Yang and Yinpeng Dong and Soujanya Poria and Pengfei Liu and Zhengzhong Liu and Xuguang Ren and Eduard H. Hovy and Iryna Gurevych and Preslav Nakov and Monojit Choudhury and Timothy Baldwin},
  title = {{Libra-Leaderboard: Towards Responsible AI through a Balanced Leaderboard of Safety and Capability}},
  year = {2024},
  eprint = {2412.18551},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.18551},
}
Figure