NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Max Mathys

Lakera AI
2 previous affiliations
2Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Max Mathys focuses on the security and adversarial robustness of large language models (LLMs), with a specific emphasis on their role as the foundational "backbones" for AI agents. His work addresses the vulnerabilities inherent in deploying LLMs in autonomous or semi-autonomous systems, particularly how these models respond to complex, multi-turn adversarial prompts. Mathys’s research emphasizes the development of dynamic, crowdsourced benchmarks that move beyond static safety evaluations to capture the evolving nature of real-world threats.

Research Trajectory

Mathys’s research trajectory is defined by a transition from evaluating LLMs as isolated text-generation systems to assessing them as integrated components of agentic workflows. This shift reflects a broader recognition in the field that the security requirements for an AI agent—which may have access to tools, memory, and long-term planning capabilities—are significantly more stringent than those for a standard chatbot.

In 2025, Mathys began focusing on the limitations of traditional benchmarking. He identified that many existing safety evaluations rely on static templates that are susceptible to "statistical shortcuts." These shortcuts allow models to appear safe or performant by exploiting linguistic artifacts rather than demonstrating genuine reasoning or adherence to safety constraints. To counter this, Mathys contributed to the development of gamified adversarial environments. By incentivizing human "red-teamers" to find creative ways to bypass model guardrails, his work has helped generate large-scale, diverse datasets of real-world attacks that are more representative of the threats models face upon deployment.

A significant portion of his work in 2025 and 2026 has been dedicated to the "Backbone Breaker Benchmark" ($b^3$). This project represents a systematic effort to evaluate how different LLM architectures behave when subjected to massive volumes of crowdsourced adversarial pressure. Through this work, Mathys has explored the relationship between a model's scale, its reasoning capabilities, and its overall security profile. His findings suggest that while increasing the size of a model does not inherently guarantee better resistance to exploitation, the enhancement of internal reasoning processes—such as explicit Chain-of-Thought deliberation—can serve as a robust defense mechanism.

Current Directions

Mathys’s current research is organized around several key themes in adversarial machine learning and AI safety alignment. A central pillar of his work is Gamified Adversarial Crowdsourcing for Robust Benchmarking. This approach addresses the "stationarity assumption" in traditional machine learning, which presumes that deployment data will mirror training data. In security contexts, this assumption is often violated by adaptive adversaries. By using gamification to solicit adversarial prompts, Mathys helps create benchmarks that are more resilient to the unintended artifacts and predictive patterns found in simpler, template-based datasets.

Another major focus is the investigation of Internal Reasoning as a Defense Mechanism. Mathys explores the hypothesis that the emergence of Large Reasoning Models (LRMs) provides a new avenue for safety. When a model is forced to "think" through its response via internal deliberation, it may be better equipped to recognize and neutralize adversarial intent that would otherwise bypass a more direct, reactive response. This research examines whether the logical consistency required for complex reasoning inherently makes a model more difficult to manipulate.

Mathys also investigates the limitations of the current "refusal" paradigm in AI safety. His work in Adversarial Robustness and Knowledge Erasure in Aligned Language Models questions whether alignment techniques like Reinforcement Learning from Human Feedback (RLHF) actually remove harmful capabilities or merely teach the model to hide them behind a "thin veneer" of refusal. This is closely linked to his interest in The Erosion of Safety Guardrails in Multi-Turn Dialogue. Mathys has observed a "safety gap" where models that successfully refuse harmful requests in a single-turn interaction may eventually succumb to adversarial influence over the course of an extended, multi-turn dialogue.

Finally, Mathys contributes to the broader field of Adversary Modeling and Threat Taxonomies for Machine Learning. This involves developing rigorous frameworks for understanding the different types of attacks an AI agent might face, ranging from prompt injection to more sophisticated multi-step exploitations of the agent's tool-use capabilities.

Representative Work

In Breaking Agent Backbones: Evaluating the Security of Backbone LLMs in AI Agents, Mathys (as second author) played a key role in establishing the $b^3$ benchmark. This study is one of the most comprehensive evaluations of LLM security to date, analyzing over 194,000 crowdsourced adversarial attacks across 34 different models. The research provides a critical analysis of how backbone models—the core engines of AI agents—perform under pressure. A primary contribution of this work is the finding that a model's raw size (parameter count) is a poor predictor of its security. Instead, the study demonstrates that models with superior reasoning capabilities are significantly more robust against exploitation, suggesting that future safety efforts should prioritize the development of logical depth over simple scaling.

Mathys also participated in a large-scale collaborative effort to develop the D-SEC threat model, as described in Gandalf the Red: Adaptive Security for LLMs. In this work, Mathys (as a middle author) contributed to the creation of "Gandalf," a gamified platform designed to elicit real-world, adaptive prompt attacks from a global user base. The project resulted in a dataset of 279,000 attacks, which was used to evaluate the trade-offs between model security and usability. The findings highlight the complexity of implementing "secure" system prompts, as overly restrictive guardrails can silently degrade the quality of interactions for legitimate users. This work underscores the necessity of multi-layered, adaptive defenses that can respond to evolving threats without compromising the model's utility.

The ongoing development of the $b^3$ framework, as seen in subsequent iterations like Breaking Agent Backbones: Evaluating the Security of Backbone LLMs in AI Agents, continues to refine the methodologies for testing agentic security. These works collectively emphasize that as LLMs are granted more autonomy, the benchmarks used to evaluate them must become equally sophisticated, moving away from static tests toward dynamic, adversarial simulations that reflect the true complexity of the deployment environment.

Profile updated

See something wrong? Report a mistake