Human-in-the-loop IR lets users audit LLM-generated protocol models
The proposed IR and interface enable users to reliably detect semantic errors and produce correct Tamarin-verifiable models from natural-language descriptions
Security & privacy arXiv 29 Sep 2026 Method Prototype evidence
Published as “Confidence-Guided Protocol IR for LLM-Aided Security Protocol Modeling”
Why it matters
The approach can cut human editing effort dramatically for strong LLMs while still delivering verifiable models, but practitioners must retain a review step to ensure correct security assumptions.
Summary
The paper shows that using a confidence-guided Protocol IR dramatically improves the trustworthiness of LLM-generated security protocol models: GPT-5.5 verifies 14 out of 18 protocols (the highest success rate) while requiring only 0.7 human edits per protocol. However, the IR extraction still struggles with exact field matching (average EMR under 55%) and provenance checks (WFR as low as 44.8%). The framework adds a semantic checkpoint that lets users focus review on high-risk fields, but the generated models remain drafts that need human validation of security assumptions.
What they found 4
- GPT-5.5 achieves the highest verification success, with 14 out of 18 cases verified.
“GPT5.5 achieves the highest verification success so far, with 14 out of 18 cases verified, suggesting that stronger models can improve the generation performance.”
- GPT-5.5 requires only 0.7 human edits per protocol on average, far fewer than other models.
“GPT-5.5 averages only 0.7 edits and reaches highest proof verification success.”
- Exact-match extraction remains low; average EMR is mostly under 55.0% even for strong models.
“We observe that exact match for each IR field remains challenging because the average EMR is mostly under 55.0%, even for strong models.”
- Provenance-check (WFR) for GPT-5.5 is low at 44.8%, indicating missing source annotations.
“Its lower average WFR (44.8%) captures a different issue.”
Caveats 5
- Exact-match rates (EMR) stay below 55% for all models, showing limited syntactic fidelity.
- The lower WFR (44.8%) for GPT-5.5 indicates many role-local value uses lack explicit provenance.
- Precision for verification checks is low (F1 = 0.478), meaning many generated checks are incorrect or missing.
- Overall, the GPT-5.5-generated models match the manual references more closely on the protocol body than on security assumptions. Therefore, generated models are useful as semantic drafts, but not as direct replacements for manually developed models. Human review is still needed to check assumptions about the attacker, session state, role ownership, and when inputs are accepted.
- These totals should therefore not be used to directly compare efficiency across models.
What’s new here 4
- Introduces a structured intermediate representation (Protocol IR) that records modeling decisions with confidence annotations.
- Provides a human-auditable interface that prioritizes review of low-confidence, security-critical IR fields.
- Integrates the IR layer into an end-to-end pipeline that translates natural-language descriptions into SAPIC+ models for Tamarin verification.
- Evaluates the approach across multiple LLMs and shows reduced human edit effort for the strongest model.