Skip to content
Enrique Tomás Martínez Beltrán
HomeResearchPublicationsTopicsTeachingBlog
Contact
EN/ES
HomeResearchPublicationsTopicsTeachingBlogContact
EN/ES

Enrique Tomás Martínez Beltrán

Postdoctoral research in AI, cybersecurity and federated learning, spanning threat analysis, closed-loop cyberdefense and trustworthy decentralized learning.

  • Privacy Policy
  • Terms of Service
  • Accessibility Statement
  • Google Scholaropens in a new tab
  • ORCIDopens in a new tab
  • LinkedInopens in a new tab
  • GitHubopens in a new tab
All profiles
  • ResearchGateopens in a new tab
  • Scopusopens in a new tab
  • DBLPopens in a new tab
  • Web of Scienceopens in a new tab

Enrique Tomás Martínez Beltrán. All rights reserved.

Back to top

This site loads optional analytics from Google and external analytics providers only if you accept. You can decline and continue using the site normally.

  1. Home
  2. Research Notes on Federated Learning, Cybersecurity and Cyberdefense
  3. Autonomous Cyberdefense Needs More Than an LLM
Autonomous CyberdefenseLLMsCybersecurityAttack MitigationTrustworthy AI

Autonomous Cyberdefense Needs More Than an LLM

A control-loop view of detection, planning, execution and human oversight

Enrique Tomás Martínez Beltrán

Postdoctoral Researcher in Computer Science

August 13, 20268 min read
  • LinkedInopens in a new tab
  • Xopens in a new tab
Autonomous Cyberdefense Needs More Than an LLM

Autonomous cyberdefense is often described as a model that detects an attack and responds immediately. That description hides the hard part: deciding which actions are allowed when observations are partial, the adversary is adaptive and the cost of a mistake is asymmetric.

A more useful framing is a bounded control loop. The loop can automate repetitive transitions, but every transition needs evidence, a policy and a way to stop or recover.

1. From prediction to control

Let ztz_tzt​ represent the security state estimated at time ttt, oto_tot​ the observations and ata_tat​ a candidate action. A simplified loop is:

zt+1=f(zt,ot,at),at∼π(⋅∣zt,P,R),z_{t+1} = f(z_t, o_t, a_t), \qquad a_t \sim \pi(\cdot \mid z_t, P, R),zt+1​=f(zt​,ot​,at​),at​∼π(⋅∣zt​,P,R),

where PPP is the active policy and RRR contains recovery constraints. The model may help estimate ztz_tzt​ or rank actions, but it should not silently redefine PPP.

2. Four layers of autonomy

It is useful to separate:

  1. Detection: identify a deviation and attach evidence.
  2. Interpretation: relate the deviation to assets, tactics and plausible causes.
  3. Planning: compare actions that are permitted by policy.
  4. Execution: apply a reversible or approved change and observe its effect.

An LLM is a natural assistant for interpretation and plan drafting. It is a much weaker authority for detection and execution, especially when the input contains untrusted text.

3. The human checkpoint is part of the design

Human oversight should not be a button added at the end of a demo. The system should show the evidence, the proposed action, the expected effect, the reversibility and the conditions that would cancel it. Low-risk actions can be automated under policy. High-impact actions should require explicit approval.

The boundary can be represented as a risk function:

ρ(a)=Pr⁡(harm∣a,E)⋅C(a),\rho(a) = \Pr(\text{harm}\mid a,E) \cdot C(a),ρ(a)=Pr(harm∣a,E)⋅C(a),

where EEE is the current evidence and C(a)C(a)C(a) is the consequence of an incorrect action. A threshold should be a governance decision, not a hidden model preference.

4. Recovery and learning

Autonomy without recovery is only fast failure. Every automated action needs a rollback, a timeout or a quarantine path. The result of the action should be logged as feedback, but it should not be treated as an unquestionable label. A failed mitigation can reflect a wrong hypothesis, a stale topology or an unavailable control.

5. How to evaluate autonomous behavior

Report more than detection accuracy:

  • time from signal to interpretable evidence,
  • unsafe-action rate,
  • proportion of actions requiring escalation,
  • recovery success and rollback time,
  • analyst corrections,
  • performance under delayed, missing or manipulated context.

The strongest claim is not that a system acts alone. It is that the system knows when evidence is insufficient, limits its authority and leaves a trace that another person can inspect.

This note is an original synthesis of bounded-autonomy principles for cyberdefense.

Related Research

LLM-Supported Attack Mitigation Without Unsafe Autopilot

August 13, 2026

LLM-Supported Attack Mitigation Without Unsafe Autopilot

A design pattern for using language models to explain incidents and compare mitigation options while approved policies retain control of execution.

Large Language Models for Cybersecurity: A Careful Starting Point

August 13, 2026

Large Language Models for Cybersecurity: A Careful Starting Point

A practical map of LLM roles in cyberdefense, from threat-intelligence support to alert triage and explanation, with explicit limits and controls.