NeurIPS 2026QuestionsPapersAreasAboutMarkdown

MASTA: A Feedback-Scheduled Multi-Agent System for End-to-End Tamarin Protocol Modeling and Analysis

Yongkang Xiao, Qiyi Deng, Jing Chen, Min Shi, JU MA, Ruiying Du

NeurIPS page · OpenReview · Open on the map

Category: LLM Agents, Evals & Benchmarks › Agentic Failure Attribution · Type: new method · Keywords: multi-agent systems, security protocol modeling, Tamarin verification, LLM-assisted formal methods, benchmark for protocol correctness

Areas: AI Agents › Agent Systems and Interactions › Agentic Systems; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Multi-Agent Coordination

Summary

MASTA is a feedback-scheduled multi-agent system that decomposes Tamarin protocol modeling into Architect, Auditor, and Arbiter roles to improve model correctness and completeness.

Explained to a 5-year-old

A group of friendly helpers wants to turn a story about a secret code into a precise set of rules. One helper writes the basic rules, another checks the rules for safety, and a third decides when to switch between them. They keep fixing mistakes together, and they test the rules on many different secret code stories. This teamwork makes the rules more reliable and easier to understand. It helps people create secure codes without needing to be experts.

Explained to a 5-year-old, longer

Imagine you have a puzzle where you need to describe how a secret code works in a way a computer can understand. Doing this by hand is tricky because you might miss something or make mistakes. The paper creates a team of three special helpers to do this job together. One helper writes down the basic steps of the code, like how to lock and unlock doors. Another helper makes sure the steps are safe and follow the rules. The third helper decides which helper should work next and helps fix any problems they find. They keep checking each other's work and improve it step by step. To see how well they work, the researchers made a set of test puzzles with many variations. They ran the helpers on these puzzles and saw that they performed better than other similar systems. They also tested what happens if they remove one of the helpers, and the results got much worse. This shows that each helper is important and the teamwork makes the final model more accurate. The approach makes it easier for people to create secure protocol models without needing deep expertise in formal methods.

For a technical reader

The paper proposes a multi-agent architecture to automate the creation of Tamarin security protocol models from natural-language descriptions. It separates responsibilities among an Architect that writes rule sets, an Auditor that defines temporal-logic properties, and an Arbiter that coordinates interactions and propagates fixes. The Arbiter uses a Tamarin-anchored scheduler and a problem taxonomy to iteratively improve the model, and a benchmark of 10 protocols with 139 mutation variants evaluates correctness and completeness. Results show significant gains over existing code-generation systems and demonstrate the critical role of each agent.

Problem

Translating natural-language security protocol descriptions into formal models for Tamarin verification is error-prone, as syntactic, reachability, and property-level errors can accumulate and be difficult to locate when a single agent both writes and evaluates the model.

Method

The approach splits the modeling task among three agents: an Architect that writes multiset-rewriting rules, an Auditor that formulates temporal-logic lemmas, and an Arbiter that schedules interactions and routes fixes based on verifier feedback. The Arbiter uses a Tamarin-anchored scheduler and a problem taxonomy to guide iterative improvements, while a benchmark of protocols and mutation variants evaluates correctness and completeness.

Results

The approach achieves up to +0.27 improvement on individual metrics over OpenCode, reaching the highest overall average and surpassing Codex (GPT-5.5) and Claude Code (Opus 4.7) despite using a weaker LLM. Removing the Arbiter collapses property and verification scores to near zero.

Contributions

The paper introduces a role-decomposed multi-agent system with an Arbiter scheduler and a comprehensive benchmark for evaluating protocol models, along with an analysis of each component’s impact.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction