Join our Newsletter — 33% off our NHI Course

PMML (Predictive Model Markup Language)

PMML is an XML-based standard for describing predictive models so they can be moved between analytics systems without rewriting the model logic. It defines the model structure, inputs, outputs, and scoring rules, allowing software to execute machine learning predictions consistently across different platforms and operational environments.

PMML as a model interchange standard

PMML, or Predictive Model Markup Language, is best understood as a portability layer for predictive analytics. It lets a model trained in one system be represented in a standard XML form so another system can interpret the model structure, inputs, outputs, and scoring logic without rebuilding the model from scratch.

That portability is valuable when organisations want to move models between development, validation, and production platforms, or when different teams use different analytics tools. The trade-off is that the file becomes a software artifact in its own right, so its integrity, provenance, and compatibility matter just as much as the model mathematics it carries.

What PMML contains and how it works

PMML describes the components needed to execute a model consistently: feature definitions, transformations, target variables, and scoring rules. In practice, it functions as a machine-readable contract between the system that created the model and the system that will score against it.

Because PMML is XML-based, it is structured, inspectable, and easier to exchange than proprietary model binaries. That does not make it automatically trustworthy. A PMML file can still be malformed, tampered with, or incompatible with the target runtime, which is why organisations treat it as a governed artifact rather than a simple export file.

PMML is most useful when the consuming platform supports the same operators and model types expected by the authoring environment. Where support differs, the model may import successfully but behave differently at scoring time, which creates an accuracy and validation problem rather than a syntax problem.

Security and governance implications of PMML

PMML can move sensitive model logic across environments, so it may expose intellectual property, embedded business rules, or pipeline assumptions if it is copied too broadly. It can also carry data preparation steps that reveal how source data is normalised, filtered, or transformed, which may be sensitive in regulated or competitive settings.

Because the artifact is executable in a scoring context, organisations should review who can publish, move, and load PMML files, and they should treat changes to those files as controlled changes to production behaviour. The same concern applies to upstream model provenance: if the file is altered outside approved workflows, the receiving system may faithfully execute the wrong logic.

PMML also sits in the boundary between data science and operations, so governance failures often show up as version drift, undocumented transformations, or unapproved model promotion. SLSA is useful here as a broader reminder that artifacts need provenance and integrity controls when they move through a delivery chain.

Validation, portability, and operational limits

The practical value of PMML is highest when teams validate that exported models score the same way in the destination environment as they did in the source environment. That means testing not only the model output, but also preprocessing, categorical handling, null treatment, thresholds, and any embedded transformations that affect the final score.

Portability is never absolute. PMML reduces lock-in, but it does not eliminate semantic differences between engines, implementation gaps, or version mismatches in supported model features. For that reason, PMML should be thought of as an interoperability standard with constraints, not as a guarantee of identical runtime behaviour everywhere.

In operational environments, the same file can be legitimate in one scoring service and risky in another if the latter lacks the right controls around artifact approval, deployment review, and rollback. That is why PMML belongs in the same governance conversation as model deployment, not only model training.

How PMML is used in practice

Teams usually use PMML when they need a repeatable way to move predictive models from one toolchain to another without rewriting logic by hand. It is especially helpful where multiple platforms must share a common scoring representation, or where an organisation wants to preserve model behaviour across environments that are not identical.

For practitioners, the key question is whether PMML is serving as a genuine interoperability layer or as an informal shortcut around model lifecycle controls. A standard format helps with portability, but it should still be paired with review, testing, versioning, and approval so that the exported model remains explainable and trustworthy after transfer.

Governance implication: PMML should be managed as a controlled production artifact, not as a disposable export, because its contents can directly shape automated decisions.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

SLSA, NIST SP 800-53 Rev 5 and CIS Controls v8 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

Framework Control / Reference Relevance
SLSA Supply-chain Levels for Software Artifacts PMML is a portable model artifact whose integrity and provenance matter across systems
Recommendation — Apply artifact provenance controls before promoting PMML between environments.
NIST SP 800-53 Rev 5 SI-7 — Software, Firmware, and Information Integrity PMML files can alter scoring behaviour if tampered with or replaced
Recommendation — Validate PMML artifact integrity before loading it into production scoring workflows.
ISO/IEC 27001:2022 A.8.9 — Configuration management PMML models are configuration-like executable artifacts that need controlled change handling
Recommendation — Place PMML under formal change control and approve model updates before deployment.
CIS Controls v8 CIS-16 — Application Software Security PMML moves model logic into operational software pathways that need secure handling
Recommendation — Protect PMML deployment paths with review, testing, and controlled release procedures.