Luca Beurer-Kellner

Snyk Limited
3 previous affiliations
18Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Luca Beurer-Kellner focuses on the intersection of programming languages, large language model inference, and the security of autonomous AI agents. His trajectory spans from early work on software evolution and network configuration to developing foundational query languages and constrained decoding algorithms for generative models. Most recently, he investigates architectural defenses and evaluation frameworks to secure LLM agents against prompt injection attacks.

Research Trajectory

His early research addressed the structural evolution of software systems, specifically focusing on the technical debt caused by evolving web APIs. In Round-trip migration of object-oriented data model instances and the subsequent A Transformational Approach to Managing Data Model Evolution of Web Services, he proposed dedicated translation layers that move data objects across different versions of an API, avoiding the architectural decay associated with traditional backward-compatibility hacks.

Concurrently, he explored machine learning robustness and algorithmic reasoning. In Learning to Configure Computer Networks with Neural Algorithmic Reasoning, he introduced a method to scale automatic network configuration by relaxing computationally hard search problems into approximate objectives amenable to learning-based techniques. This work allowed for protocol-agnostic, cross-protocol reasoning, contributing to the broader area of Scaling Graph Neural Networks for Massive Relational Data. He also investigated reliability in applied machine learning models; with collaborators, he identified the gap between synthetic training data and real-world anomalies in On Distribution Shift in Learning-based Bug Detectors, proposing a two-phase training strategy combined with a multi-task hierarchy to improve precision in the wild.

The trajectory then shifted toward the intersection of programming languages and large language models (LLMs). A foundational contribution in this phase was Prompting Is Programming: A Query Language for Large Language Models, which introduced LMQL. This query language allowed users to combine natural language prompts with scripting and constraints, treating LLM interaction as a formal programming task to improve efficiency, controllability, and expressiveness. Building on the need for structured LLM outputs, he advanced methods in the research direction of Enforcing Structural Constraints on Language Model Outputs. In Guiding LLMs The Right Way: Fast, Non-Invasive Constrained Generation, he developed DOMINO, a minimally invasive decoding algorithm that aligns grammar rules with sub-word vocabularies. By leveraging offline pre-computation and speculative decoding, DOMINO enforces strict output formats without degrading reasoning accuracy or generation speed.

He further expanded on inference paradigms with Prompt Sketching for Large Language Models, enabling models to fill in multi-variable templates jointly rather than sequentially, allowing them to anticipate future constraints and achieve better reasoning performance. Additionally, he contributed to the area of Contrastive Decoding for Controlled Text Generation through his participation in Controlled Text Generation via Language Model Arithmetic, which proposed a rigorous mathematical approach to steering model style and content beyond standard prompt engineering.

As LLMs evolved into interactive agents, his focus turned toward the security and evaluation of these autonomous systems. To address vulnerabilities when agents interact with external tools, he co-developed AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents. This extensible framework measures adversarial robustness against indirect prompt injections across realistic tasks, capturing the evolving nature of attacks and defenses. He continued to refine evaluation methodologies in Faithful Simulation of User–Agent–Environment Interactions for Scalable LLM Agent Evaluation, presenting a fully automated framework for generating scalable, multi-step interaction data by sampling from tool-relationship graphs.

His most recent work emphasizes structural defenses against agent hijacking, contributing heavily to the research direction of Architectural Separation of Instructions and Data in Language Models as well as the broader area of Adversarial Robustness and Knowledge Erasure in Aligned Language Models. In Design Patterns for Securing LLM Agents against Prompt Injections, he argued that general-purpose agents are inherently difficult to secure, proposing architectural design patterns—such as dual LLM setups and plan-then-execute models—to provide structural security guarantees. Complementing this architectural approach, he introduced CommandSans: Securing AI Agents with Surgical Precision Prompt Sanitization. This defense treats AI instructions as potentially malicious executable code, surgically removing instruction-like tokens from tool outputs to neutralize attacks while preserving the agent's utility.

Current Directions

The most recent papers in the evidence address the security, evaluation, and architectural design of autonomous LLM agents. A primary focus is mitigating indirect prompt injection attacks, where malicious instructions embedded in external data hijack an agent's execution. Recent work investigates structural defenses rather than heuristic filters, advocating for application-specific agent architectures and surgical prompt sanitization techniques that treat natural language instructions akin to executable code. Additionally, ongoing efforts involve building scalable, dynamic simulation environments to faithfully evaluate agent performance and adversarial robustness in complex, multi-step interactions.

Profile updated

See something wrong? Report a mistake