Technical GUIDE

Seldon Core and Inference Graphs

Seldon Core is an open-source platform for deploying machine learning models on Kubernetes, with a standout feature: inference graphs.

Overview

Seldon Core is an open-source platform for deploying machine learning models on Kubernetes, with a standout feature: inference graphs. Instead of serving one isolated model, it lets you chain models, routers, combiners, and transformers into a single directed graph that runs as one deployable service.

Seldon Core and Inference Graphs is a technical building block that affects model quality, infrastructure cost, latency, and reliability at scale.

Deep Dive

Many real production use cases involve more than a single model call. You might preprocess input, route a request to one of several models, run an ensemble, and then post-process the result. Seldon Core expresses this as an inference graph defined in a SeldonDeployment (or, in the v2 architecture, via the Seldon Core Operator and MLServer). The graph is built from reusable component types: a Model serves predictions, a Transformer modifies inputs or outputs, a Router decides which child to call (enabling A/B tests and multi-armed bandits), and a Combiner aggregates outputs from multiple models for ensembling. Seldon supports many frameworks through prepackaged servers and custom Python wrappers, and it exposes rich metrics, distributed tracing, and payload logging out of the box for observability and explainability.

Technical Insight

An inference graph is a directed acyclic graph where each node is a microservice with a standard predict interface, and Seldon's orchestrator (the service orchestrator/executor) routes a request through the graph and merges responses. Because Routers can implement multi-armed bandit logic, traffic can shift adaptively toward better-performing models based on live reward signals. Seldon Core v2 decouples the graph from individual model servers using MLServer and the Open Inference Protocol, enabling multi-model serving and overcommit on shared hardware.

Mastering Seldon Core and Inference Graphs

To build deep understanding, treat Seldon Core and Inference Graphs as an operating model, not a single feature. Define desired outcomes, clarify assumptions, and separate what the system can do reliably from what still requires expert judgment.

In practice, strong teams using Seldon Core and Inference Graphs optimize architecture, data, and infrastructure choices against reliability and cost. They document explicit success criteria, test against realistic data and workflows, and iterate based on observed failure patterns rather than one-time benchmark wins. This is where theoretical understanding turns into durable capability across product, policy, and operations.

Architecture decisions drive performance and operating cost for years. At the same time, Optimizing one benchmark can hide broader system weaknesses. The most resilient approach is to combine experimentation speed with governance discipline: run pilots, capture evidence, publish decision logs, and continuously update safeguards as model behavior, user expectations, and regulatory requirements evolve.

Strategic Impact

Architecture decisions drive performance and operating cost for years.

Architecture decisions drive performance and operating cost for years. In high-quality deployments, this is translated into measurable operating rules, ownership boundaries, and recurring review rituals so teams can scale confidence instead of scaling ambiguity.

Technical education helps teams choose the right stack, not just the newest one.

Technical education helps teams choose the right stack, not just the newest one. In high-quality deployments, this is translated into measurable operating rules, ownership boundaries, and recurring review rituals so teams can scale confidence instead of scaling ambiguity.

Better engineering choices reduce reliability incidents in production.

Better engineering choices reduce reliability incidents in production. In high-quality deployments, this is translated into measurable operating rules, ownership boundaries, and recurring review rituals so teams can scale confidence instead of scaling ambiguity.

The Future of Seldon Core and Inference Graphs

Seldon is moving toward modular, data-centric MLOps with Core v2's pipeline and dataflow design, plus tighter coupling with drift detection (Alibi Detect) and explainability (Alibi Explain). As LLMs and agentic systems become compound graphs of retrieval, models, and tools, the inference-graph abstraction maps naturally onto these workflows. Expect more emphasis on multi-model serving efficiency, streaming, and standardized observability so that complex, multi-step AI systems remain debuggable and governable in production.

Real-World Implementation

A lender chains a Transformer that one-hot encodes features into a model node, then a Transformer that formats the score, all as one SeldonDeployment.

A media company uses a Router node running a multi-armed bandit to dynamically send more traffic to whichever recommendation model is earning higher click reward.

A team ensembles three fraud models with a Combiner node that averages their scores before returning a single decision to the caller.

A regulated insurer attaches Seldon's payload logging and Alibi explainers to an inference graph so every prediction can be traced and explained for audits.

Implementation Patterns

Seldon Core and Inference Graphs in practice

A lender chains a Transformer that one-hot encodes features into a model node, then a Transformer that formats the score, all as one SeldonDeployment.

Teams usually get better outcomes when they define quality thresholds up front, keep a human escalation path for edge cases, and track both productivity gains and error costs over time.

Seldon Core and Inference Graphs in practice

A media company uses a Router node running a multi-armed bandit to dynamically send more traffic to whichever recommendation model is earning higher click reward.

Teams usually get better outcomes when they define quality thresholds up front, keep a human escalation path for edge cases, and track both productivity gains and error costs over time.

Seldon Core and Inference Graphs in practice

A team ensembles three fraud models with a Combiner node that averages their scores before returning a single decision to the caller.

Teams usually get better outcomes when they define quality thresholds up front, keep a human escalation path for edge cases, and track both productivity gains and error costs over time.

Seldon Core and Inference Graphs in practice

A regulated insurer attaches Seldon's payload logging and Alibi explainers to an inference graph so every prediction can be traced and explained for audits.

Teams usually get better outcomes when they define quality thresholds up front, keep a human escalation path for edge cases, and track both productivity gains and error costs over time.

Risks & Guardrails

!

Optimizing one benchmark can hide broader system weaknesses.

!

Infrastructure and maintenance costs are often underestimated.

!

Security and observability gaps can grow as systems become more complex.

Implementation Roadmap

1

Define latency, quality, and cost targets before implementation.

Treat this as an evidence gate: if the criteria are not met, pause rollout, close the gap, and only then expand usage.

2

Benchmark under realistic load and data conditions.

Treat this as an evidence gate: if the criteria are not met, pause rollout, close the gap, and only then expand usage.

3

Instrument monitoring for errors, drift, and user impact.

Treat this as an evidence gate: if the criteria are not met, pause rollout, close the gap, and only then expand usage.

4

Prepare rollback and incident response paths before scaling.

Treat this as an evidence gate: if the criteria are not met, pause rollout, close the gap, and only then expand usage.

Keep Exploring

Check your understanding

Test yourself: take the Seldon Core and Inference Graphs quiz

Start quiz