Martin Vechev

Martin Vechev

ETH Zurich · INSAIT - Institute for Computer Science, Artificial Intelligence and Technology · NetFabric.ai · LogicStar AI
6 previous affiliations
316Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Martin Vechev focuses on the intersection of artificial intelligence, programming languages, and system security. His early work established foundational methods for probabilistic program inference and the automated security analysis of smart contracts. More recently, his research addresses the privacy, robustness, and dynamic evaluation of large language models, alongside advanced techniques for model watermarking and adversarial anonymization.

Research Trajectory

Martin Vechev’s early research addressed fundamental challenges in programming languages and concurrency. In 2006, he introduced Correctness-preserving derivation of concurrent garbage collection algorithms, establishing rigorous methods for memory management in concurrent systems. As the field of artificial intelligence began to intersect more deeply with software engineering, he collaborated on Predicting Program Properties from "Big Code" (2015). This work framed the inference of program properties as a structured machine learning prediction problem, leveraging probabilistic graphical models to analyze massive codebases. Around this time, he also co-founded the startup DeepCode. Continuing his focus on probabilistic reasoning, his group presented PSI: Exact Symbolic Inference for Probabilistic Programs in 2016, exploring the practical effectiveness of exact inference techniques over traditional approximate methods.

By 2018, his focus expanded into the formal security and verification of emerging decentralized and neural systems. He and his colleagues developed Securify: Practical Security Analysis of Smart Contracts, an automated tool that utilized compliance and violation patterns to efficiently prove contract safety on the Ethereum blockchain. During this period, he also co-founded ChainSecurity. Simultaneously, his research group pioneered techniques for neural network certification. AI2: Safety and Robustness Certification of Neural Networks with Abstract Interpretation (2018) applied classic abstract interpretation to deep learning, enabling the automated proof of safety properties for realistic convolutional networks. This was followed by An abstract domain for certifying neural networks (2019), which introduced DeepPoly, a novel abstract domain combining floating-point polyhedra with intervals to achieve scalable and precise certification. In parallel with these advancements in AI safety, he co-founded LatticeFlow.

In recent years, Vechev’s trajectory has heavily emphasized the privacy, security, and evaluation of Large Language Models (LLMs). In 2024, his research demonstrated that LLM privacy risks extend far beyond the memorization of training data. Beyond Memorization: Violating Privacy via Inference with Large Language Models showed how models can deduce sensitive personal attributes from unstructured text at runtime, a key contribution to the research direction of Privacy Leakage through Implicit Contextual Inference. Conversely, he explored how these same capabilities could be harnessed for protection in Language Models are Advanced Anonymizers (2025), advancing the broader area of Feedback-Guided Adversarial Anonymization by using adversarial LLMs to guide text anonymization while preserving semantic utility.

A major theme in his 2026 publications is the mechanics and vulnerabilities of LLM watermarking. To address the challenge of proving ownership of open-weight models, his group introduced LLM Fingerprinting via Semantically Conditioned Watermarks. Recognizing that watermarks are often erased when users merge models, they developed Merge-Adversarial Training in Making Open-Source Text LLM Watermarks Durable Against Merging, aligning with work in the area of Statistical Text Watermarking via Vocabulary Partitioning. However, his research also highlighted the unintended consequences of these techniques; Marking the Wrong Symptoms: Evaluating LLM Watermarks in Medical Texts revealed that watermarking can silently corrupt clinical reasoning and fabricate medical entities, even when surface-level accuracy appears stable.

Alongside watermarking, his recent work investigates adversarial vulnerabilities and the limitations of static evaluation. Watch your steps: Dormant Adversarial Behaviors that Activate upon LLM Finetuning (2026) challenged the assumption that finetuning is secure by demonstrating how adversaries can plant dormant malicious behaviors that activate only after user intervention. To better evaluate model biases, his team created Adaptive Generation of Bias-Eliciting Questions for LLMs, utilizing genetic algorithms to evolve open-ended questions that reveal persistent stereotypes.

Finally, Vechev has advocated for a paradigm shift in how AI capabilities are measured. AutoBaxBuilder: Bootstrapping Code Security Benchmarking automated the generation of complex, uncontaminated code security benchmarks, contributing to the research direction of Securing the Execution of Agent Generated Code. Similarly, Beyond Benchmarks: MathArena as an Evaluation Platform for Mathematics with LLMs transformed mathematical evaluation into a dynamic platform that continuously integrates fresh problems, a foundational step in the area of Shifting from Static Benchmarks to Dynamic Evaluation.

Current Directions

The most recent papers in the evidence indicate a strong focus on the dynamic evaluation and security of frontier AI models. A primary current direction involves moving beyond static, easily memorized benchmarks toward automated, continuously updating evaluation platforms. This includes generating uncontaminated datasets for testing both mathematical reasoning and the security of AI-generated code.

Additionally, recent work investigates the complex trade-offs inherent in LLM watermarking and model provenance. This research explores how to make digital signatures durable against sophisticated post-release modifications, such as model merging, while simultaneously auditing the negative side effects these watermarks impose on specialized domains like clinical reasoning. Finally, ongoing investigations address hidden vulnerabilities in the LLM lifecycle, particularly how seemingly benign models can harbor dormant adversarial behaviors that activate during user finetuning, and how adaptive, evolutionary algorithms can be used to systematically elicit and measure implicit biases.

Profile updated

See something wrong? Report a mistake