Abstract
It is well documented that artificial intelligence (AI) systems have various types of vulnerabilities and associated risks. As such systems are deployed in safety-critical domains, it has become necessary not only to identify and enumerate the vulnerabilities but also to quantify the resulting risks. In this position paper, we discuss approaches for the challenge of quantifying AI risks. The approach is based on a general framework for testing and evaluating language model systems that we have previously developed (called TEL'M). In particular, we extend TEL'M to deal with the problem of quantifying the effort required by an adversary to discover and exploit a language model vulnerability.
Introduction
As Large Language Models (LLMs) are integrated into critical infrastructure and enterprise workflows, the conversation around AI safety has shifted from identifying potential harms to quantifying actual risk. While existing frameworks like the NIST AI Risk Management Framework (AI RMF 1.0) provide a foundation for understanding impact, they often lack the technical granularity required to calculate the probability of an exploit.
QUARL (Quantifying Adversarial Risks in Language Models) addresses this gap by pivoting the risk assessment process toward the attacker’s perspective. By quantifying the specific resources—compute, data, and human capital—required to breach a system, QUARL provides a structured "bill of materials" for adversarial effort, making risk management actionable and economically grounded.
The Gap in Current Risk Frameworks
Traditional risk management defines risk as the product of the probability of an event and the magnitude of its impact. However, in the context of AI, calculating "probability" is notoriously difficult. Asset owners typically focus on the cost of a breach (legal liability, brand damage) but remain "silent" on the technical feasibility of the attack itself.
QUARL argues that a vulnerability is only a high-level risk if the cost of exploitation is within the reach of a likely adversary. An attack that is theoretically possible but requires $10 million in compute and a team of specialized researchers represents a different risk profile than an automated script that can be run by a hobbyist.
The QUARL Methodology
QUARL is an extension of the TEL’M (Test and Evaluation of Language Models) framework. While TEL’M was originally designed to evaluate benign properties like accuracy and fairness, QUARL adapts its methodology for adversarial analysis through five core stages:
- Task Identification: Defining the specific function the LLM is performing within a system.
- Attack Specification: Selecting the threat of interest, such as Membership Inference (determining if specific data was in the training set) or prompt injection/jailbreaking.
- Metric Definition: Establishing quantitative measures for the effort required to create and execute the attack.
- Experimental Design: Setting up a principled environment to test these metrics.
- Execution and Documentation: Running the attacks to measure actual resource consumption.
This approach draws inspiration from the classical "Cyber Kill Chain," breaking down the adversary's journey from initial reconnaissance to the final objective and quantifying the friction at each step.
Dimensions of Attacker Cost
To standardize how we talk about adversarial effort, QUARL identifies five key dimensions of cost:
- Data Access: Does the attacker need access to the original training set or a representative proxy?
- Model Access: How many queries or interactions are necessary to successfully "break" or reverse-engineer the model?
- Compute Power: Does the attack require significant hardware resources, such as training "shadow models" to mimic the target?
- Human Capital: What level of domain expertise or programming skill is required to execute the exploit?
- Exploitability: Is the resulting output actually useful for a real-world malicious goal, or is it a theoretical curiosity?
Risk as a Stochastic Variable
A central insight of the QUARL framework is that attacker effort is not a fixed number but a random variable. An attacker might discover a jailbreak prompt in minutes through luck, or it might take weeks of systematic testing. Therefore, risk must be modeled as a probability distribution.
Furthermore, the framework acknowledges the "Zero-Day" problem. Quantitative metrics derived from published research serve as an "upper bound" on cost. Sophisticated adversaries, such as nation-states, likely possess more efficient, unpublished techniques that lower the cost of entry compared to what is publicly known.
Conclusion and Future Directions
By categorizing attackers into classes—ranging from individual actors to criminal cartels and nation-states—organizations can use QUARL to determine which vulnerabilities are economically viable for their specific threat model.
Future work for the QUARL framework involves moving toward Adversarial Risk Analysis (ARA), a game-theoretic approach where defenders balance security investments against an adversary’s budget. Additionally, the authors suggest the use of "information markets" (prediction markets) to elicit cost estimates from security experts, bypassing the need for expensive, full-scale experimental replications of every known attack. While currently focused on language, the principles of QUARL are designed to be extensible to multimodal AI systems in the future.
Summary updated