Skip to content
NagaHana

The model

An adversary foundation model, built to see the attack coming.

NagaHana learns the evolving state of your network from passive telemetry, imagines where an intrusion is heading before the kill chain completes, and advises how to cut it off. It models conflict, cooperation, strategy and intent — the semantics of malice, and of the benign. This is how it is built.

01The architecture

Four roles. One shared latent space.

NagaHana perceives, imagines, advises and governs through four roles that share one latent space and one memory. A Decoder runs alongside them as a window into that memory, and a Generator works only in training. Every hand-off is on the record.

Shared memory

Select a role to see what it does

  • One shared latent space
  • Physics-bounded
  • Variational encoder
  • Energy-based core
  • Space · time · cause
  • Decoder in parallel
  • Generator in training only

02Perceive · CVG-AE

Your network, read as one multi-plane hypergraph.

The Complex Variational Graph AutoEncoder sees a network the way it really is: typed entities — hosts, accounts, services, controllers — joined on many relation planes at once, with hyperedges for the events that bind several of them together.

TrafficIdentityNamingIndustrial control

Illustrative planes. Which relation planes a deployment uses is configured for each site.

  • A branch for every plane

    Each relation plane runs through its own parallel branch of hypergraph layers, each with its own depth of hidden layers — so every plane is read at its own level of abstraction.

  • Coupled at every layer

    The branches exchange information at every layer through learned cross-plane coupling, so what happens in identity can inform what is read in traffic.

  • A variational latent state

    A variational head condenses it all into one latent state — continuous for rates, entropies and timings, categorical for structure and stage — shared by every role in the model.

03The physics boundary

Physics draws the line. Learning happens inside it.

One shared physics term keeps every output of NagaHana inside what a network can physically do — its reconstructions, imagined futures, generated variants and the predicted effects of counter-measures. It bounds what the model can imagine. It is not a detector of “impossible” attackers: attackers obey physics too.

The boundary — built in

Specified, not guessed.

  • Topology — what can connect to what
  • Protocol rules and legal state changes
  • Physical limits — bandwidth, latency, packet size
  • Industrial processes and their limits

Behaviour — learned inside it

Inferred from how networks actually live.

  • What normal looks like, hour by hour
  • How benign and hostile activity differ
  • How intruders move and adapt
  • How the whole network drifts over time

Think of a model that knows gravity: it can never imagine a stone falling upward, yet gravity alone never teaches it how the stone was thrown. The boundary keeps the imagination real; everything else is learned. Hard limits are built into every output, and softer physical checks count only where the data was actually observed.

04Organise · TSTCT

The Environment: your network’s state, and how it got here.

The Topological Spatio-Temporal Causal Transformer reads each latent state and writes the Environment — a spatio-temporal-causal memory of the state model and every update to it. It uses three kinds of attention head.

  • 01

    Spatial

    Every entity at its latest state, with attention shaped by the hypergraph’s own topology.

  • 02

    Temporal

    Each entity’s own past, from bursts in seconds to rhythms across months — and never a glimpse of the future.

  • 03

    Causal

    Learned, sparse cause and effect: which step made the next one possible, not what merely happened nearby.

CVG-AE and TSTCT are perceptors, not analysers. They show faithfully what the senses gave in, so that everything downstream reasons over what was actually observed.

05Show · the Decoder

A window into what the model holds.

Running in parallel, the Decoder turns latent states back into a readable graph of your network. It proves the perceptors are working and gives a direct view into the Environment — and, because every role shares one latent space, into Imagination too.

Latent stateReadable graph
  • Observed
  • Believed
  • Forecast
  • Proof the perceptors work

    If the Decoder can rebuild what was observed, the encoder and TSTCT are holding your network faithfully — a check you can see, not a claim you must accept.

  • Observed, believed, forecast

    Every element it draws is tagged by where it came from. A belief is never drawn as a fact, and a forecast is never drawn as either.

  • Open the brain

    In a read-only sandbox, follow a single forecast through every stage — what was perceived, what was believed, what was imagined. Built for analysts, auditors and the mathematicians who want to check the work.

06Analyse · TAAFT

Where everything converges: Imagination.

The Topological Anti-Adversary Foundation Transformer is the crux of NagaHana, with self-supervised pretraining in training stage 4. It reads the Environment and writes Imagination — the model’s analysis of what is happening, what is believed and what may come — through an energy-based core and six further lenses.

An energy-based core

At its heart is an energy-based transformer: an energy landscape over the whole network, from its global topology down to single entities. Familiar behaviour settles into low energy; the unfamiliar stands out as high — a reason to look, not proof of an attack. Answers are refined by descending the landscape, so harder questions receive more thought.

UnfamiliarFamiliarRefined by descent
  • 01

    Belief and trust

    Partially observable reasoning: what cannot be seen is never assumed absent, suspicion is computed for every entity, and trust is earned per source and per field.

  • 02

    Game theory

    Attackers and defenders as teams in a partially observable game, with mechanism design — so it reasons about strategy, not only signals.

  • 03

    Information and noise

    Information theory and signal-to-noise analysis, to tell a deliberate pattern from the background hum of a busy network.

  • 04

    Topology

    Graph and mathematical topology for structure and reach, with a light touch of social-network analysis for who brokers and who bridges.

  • 05

    Time

    Time-series analysis of rhythm and drift, from bursts in seconds to patterns across months.

  • 06

    Cause

    Causal inference, so it follows which step enables the next — cause, not coincidence.

Together they let NagaHana model conflict, coordination and cooperation, adversarial strategies and intentions — the semantics of malice and of the benign. That is what makes it an adversary foundation model.

07Belief under partial observability

Most of your network is dark. NagaHana reasons about it anyway.

Encrypted traffic, unmonitored segments, silent sensors — every real network has blind spots. TAAFT models what it cannot see, fills the gaps with honest belief, and shows you exactly where its view ends.

Sensor coverage ends
  • Observed
  • Believed by NagaHana
  • Unobserved
  • Forecast path
  • Absence of evidence is not evidence of absence — gaps are modelled, never assumed safe.
  • Suspicion never falls to zero, so an intruder already inside is never waved through.
  • Trust is earned per source and per field, and every blind spot is marked — so you know where to look.

08Forecast · the Forecaster

It plays the adversary forward — and tells you how far to trust it.

Policy and value heads, guided by model-predictive control, plan as the adversary would and imagine K future states across N samples, scoring every imagined step. Near steps are sharp; far ones branch and blur — so each forecast carries its own safe horizon. Drag it forward.

NowNow
Now+15 min+1 h+6 h+24 h

Most likely path

64%

Plausible futures

3

Drag to look further ahead

Illustrative values. How far NagaHana looks ahead (K) and how many futures it samples (N) are set at run time for each site.

  • 01

    Infiltration probability, step by step

    The likelihood of infiltration over each of the next K steps, with its uncertainty — never a single bare score.

  • 02

    The stage of every step

    Each imagined step mapped to MITRE ATT&CK — Reconnaissance, Initial Access, Lateral Movement, Command and Control, Exfiltration — across the Enterprise and ICS matrices.

  • 03

    The paths, and when

    The most likely attack paths with their probabilities, and a time-to-event curve for when each may land.

  • 04

    What drives it

    The flags, ports and flow patterns behind each prediction, the compute it spent, and where it could not see.

09Advise · the Advisor

Counter-moves, rehearsed before they reach you.

The Advisor is a second policy-and-value agent working on both memories — the Environment and Imagination. It searches for sequences of MITRE D3FEND counter-measures, plays each one against the Forecaster’s adversary, and ranks what holds up.

The forecastRe-imagined with a counter-measure
  • D3FEND, as sequences

    Counter-measures come as ordered steps, each with its D3FEND tactic — such as Harden, Detect or Isolate — at graph level (who can reach what) or sensor level (what to watch).

  • Re-imagined first

    Every candidate is played forward against the adversary the Forecaster imagines, so its effect is forecast before it is offered.

  • Ranked by what it buys

    By the drop in infiltration probability, the disruption to your operations, its physical feasibility and the information it would reveal.

  • Advice, never action

    It keeps no memory of its own and never touches the network. It spars with the Forecaster — adversarial in function, much like a GAN — but people decide.

10Govern · the Verifier

The regulator inside the model.

The Verifier keeps NagaHana honest. It holds what people teach it as supplied truth, keeps every forecast calibrated and watches each memory region for drift. It observes everything — and changes nothing on its own.

Always observing

Online, it watches every role, keeps calibration current and compares outcomes with forecasts, region by region.

Changes only on command

The model’s weights move only when a person supervises the update. It never feeds back by itself — automatic feedback is exactly the path a poisoner would use.

  • 01

    Human feedback is supplied truth

    Step labels on imagined steps, outcome labels and “responded-to” tags are kept as trusted, supplied truth. A forecast your team acted on is marked responded-to — not wrong.

  • 02

    Calibrated decisions

    Forecasts are calibrated against what actually happened — reinforcement learning for calibrated decisions, with conformal thresholds — so a stated probability stays honest.

  • 03

    Drift made visible

    It measures drift from outcome–forecast pairs in its own Monitor region, so attempts to poison memory surface for human review.

11Memory

Three regions, each with one keeper.

Memory in NagaHana is not a by-product of processing; it is a structured record the model reasons over. It is split into three regions so that facts, beliefs and oversight never contaminate one another.

Three regions, each with one keeper.
EnvironmentImaginationMonitor
SimulatorReads and writesNo accessNo access
ForecasterReadsReads and writesNo access
AdvisorReadsReadsNo access
VerifierReadsReadsReads and writes
DecoderReadsReadsNo access
GeneratorNo accessNo accessNo access
  • Reads and writes
  • Reads
  • No access
  • 01

    Environment

    Observed facts and their transition history. Written only by the Simulator.

  • 02

    Imagination

    Belief, suspicion and forecasts. Written only by the Forecaster.

  • 03

    Monitor

    Deviations, variances and drift. Written only by the Verifier.

Retention follows a fixed schedule for every forecast cycle and never depends on traffic volume, so flooding the network cannot push old evidence out. The Advisor keeps no memory of its own; the Generator works only in training.

12Augment · the Generator

More ways to see the same event — only in training.

The Generator exists only in training. From real events it makes label-preserving variants — the same intrusion seen through different sensors, signatures, traces and impacts — so NagaHana learns what stays true when the view changes.

  • 01

    Observability sliding

    One event, seen from full visibility down to fragments, so the model is at ease with partial views.

  • 02

    Physics-bounded

    Every variant stays inside the physics boundary. The model never learns from a network that could not exist.

  • 03

    Many generative methods

    Energy-based self-supervision, joint energy models, generative infilling of missing parts, and autoregressive and diffusion methods.

  • 04

    Real where it counts

    Variants are mixed into real training batches. Zero-shot validation uses real data only.

13How it learns

Six stages, from raw data to your site.

A model that memorises the networks it was trained on fails on yours. NagaHana is trained in six stages so that what it learns — principles, not floor plans — carries over.

  1. 01

    Deep data analysis

    Open datasets studied in depth, and documented, before anything is trained.

  2. 02

    Preparation

    Cleaning, splitting, curating attacks, normalising — and augmenting with the Generator.

  3. 03

    Perception pretraining

    CVG-AE, the Decoder and TSTCT learn, self-supervised, the intuition of network topology and its dynamics.

  4. 04

    Adversary pretraining

    With those frozen, TAAFT learns, self-supervised, the intuition of adversaries: conflict, cooperation, coordination, strategy and intent.

  5. 05

    Full training

    The whole architecture together, including the Forecaster and Advisor agents; the Verifier learns from human feedback.

  6. 06

    Zero-shot validation

    Tested on real novel and known attacks, reported separately, then calibrated to each site under human supervision.

Training and validation use real and generated data. Zero-shot validation uses real data only, with novel and known attacks reported separately.