Explanation Structure Model (ESM)

Understand how Umnai organises model outputs into structured explanations.
View as Markdown

An Explanation Structure Model, or ESM, organises the information needed to produce explanations from an Umnai model.

An ESM starts from the predictions and raw explanation data produced by an Explainable Neural Net (XNN), then structures that information so it can be inspected, transformed, filtered, ranked, summarised, or used in further reasoning.

ESMs make the explanation process explicit. They describe how answers, justifications, symbolic links, dataset concepts, rules, bins, decompositions, and activation paths fit together to produce an explanation that can be presented to a user or consumed by another system.

Why ESMs matter

An XNN produces a prediction and the raw explanation data behind it. An ESM provides the structure that turns that raw material into a practical explanation.

Given a set of answers, such as predictions, and a set of justifications, such as the workings and decisions that produced those answers, an ESM specifies what should happen next.

For example, an explanation may need to be:

StepPurpose
SummarisedReduce detailed explanation data into a clearer form.
AggregatedCombine related explanation signals.
FilteredSelect the most relevant information.
RankedPrioritise the most important explanation components.
Reasoned overApply additional logic to reach a final explanation or decision.

This makes the chain of reasoning explicit. Another way to think about an ESM is as a plan of action for producing an explanation.

ESMs as hypergraph models

ESMs are hypergraph models that store information about the symbolic links inside an XNN, the symbolic concepts associated with the underlying dataset, and other symbolic knowledge used by the explanation system.

They package XNN outputs into an accessible structure that can include:

InformationDescription
RulesSymbolic rules associated with model behaviour.
BinsFeature segments used to define rule and partition boundaries.
Decomposition valuesFeature-level components of interaction attributions.
Activation pathsThe activated structures that contributed to a prediction.
Dataset conceptsSymbolic concepts and metadata associated with the underlying dataset.

When an ESM embeds an XNN, it creates the neuro-symbolic transforms and graph connections needed to enrich the raw explanation data from the XNN. This is what enables Hybrid Intelligence explanations to be produced from the model output.

ESM architecture

ESM architecture.

Components

An ESM contains several layers of information and processing.

ComponentRole
Explainable machine learning pipelinePerforms pre-processing and post-processing to transform input data into formats suitable for neuro-symbolic processing, and back again where needed.
Embedded neuro-symbolic machine learning modelThe XNN that produces predictions and raw explanation data.
Neuro-symbolic hypergraphStores symbolic links within the XNN, including symbols, rules, and bins.
Dataset metadataStores dataset information needed for explanations, including properties, statistics, histograms, anomalies, and mappings.

Together, these components allow the ESM to connect model behaviour, dataset meaning, and explanation structure.

From model output to explanation

ESMs start with information from their embedded XNNs.

An XNN provides specific information about the problem it is solving: predictions, module attributions, feature attributions, activated partitions, rules, bins, and decompositions. The ESM uses that information and applies additional layers of knowledge to make the explanation broader, more structured, and more useful.

These layers can include:

LayerExample
Cause-and-effect informationAdd causal or domain relationships to the explanation.
FilteringSelect the most relevant explanation components.
RankingPrioritise the most important information.
SummarisationPresent information in a form that is useful to the people consuming it.
Further reasoningSupport a final decision, such as a go/no-go decision.

This allows an ESM to move from detailed model behaviour to a higher-level explanation, and from broad explanation structures back down to specific situations when needed.

Multiple models and chaining

ESMs can combine multiple XNNs.

They provide a framework for XNN chaining, multiple-model systems, mixture-of-experts approaches, and multi-agentic systems. This allows explanation structures to span more than one model when the system needs to coordinate several sources of predictive or symbolic information.