Inferensys

Glossary

Split Learning

Split learning is a distributed deep learning paradigm where a neural network is partitioned between a client and a server, with the client processing initial layers on raw data and only sending intermediate activations (smashed data) to the server, preserving data privacy.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
DISTRIBUTED DEEP LEARNING

What is Split Learning?

A distributed deep learning paradigm where a neural network is partitioned between a client and a server, with the client processing initial layers on raw data and only sending intermediate activations (smashed data) to the server.

Split Learning is a privacy-preserving distributed machine learning technique where a deep neural network is divided into two segments: a client-side network that processes raw data locally and a server-side network that completes the computation. The client never shares its raw training data; instead, it transmits only the smashed data—the intermediate activations from the cut layer—and their corresponding gradients during backpropagation.

Unlike federated learning, where each client trains a full model, split learning reduces client-side computational burden by offloading the majority of layers to a powerful server. This architecture is particularly effective for resource-constrained devices and scenarios requiring data locality, as the server remains completely oblivious to the original input while still contributing to the training of a joint model.

Distributed Deep Learning

Key Features of Split Learning

Split learning partitions a neural network between a client and server, enabling collaborative training on sensitive data without exposing raw inputs. Only intermediate activations—smashed data—are exchanged.

01

Network Partitioning

The neural network is divided into two segments: the client-side network processes raw data through initial layers, while the server-side network completes the forward and backward passes. The cut layer, where activations are transmitted, is strategically chosen to balance privacy and communication overhead. Deeper cuts provide stronger privacy guarantees but increase client compute burden.

02

Smashed Data Exchange

Only intermediate activations (smashed data) and their gradients cross the network boundary. This differs fundamentally from federated learning, which transmits model updates. Key properties:

  • Raw data never leaves the client
  • Activations are typically lower-dimensional than raw inputs
  • Gradients of smashed data are sent back to the client for local backpropagation
  • The server never sees client-side model weights
03

Label Privacy Configurations

Split learning supports two primary configurations for label handling:

  • U-shaped configurations: Labels remain on the client, with the server returning intermediate gradients for the client to compute the final loss. This protects label privacy but requires more client computation.
  • V-shaped configurations: Labels are sent to the server for loss computation, reducing client overhead but exposing labels to the server. Selection depends on the sensitivity of the label data relative to the input data.
04

Sequential Client Training

Unlike federated learning's parallel client updates, vanilla split learning operates sequentially. Each client completes a full forward-backward pass before the next client begins. This eliminates the need for secure aggregation but introduces latency proportional to the number of clients. Parallel split learning variants address this by allowing concurrent client training with synchronized server updates.

05

Communication Efficiency

Split learning reduces communication costs compared to federated learning in specific scenarios:

  • Massive models: When the full model is too large for client devices, split learning transmits only activations, not model weights
  • Deep architectures: The size of smashed data at the cut layer can be significantly smaller than the full model parameter count
  • Asymmetric compute: Clients with limited bandwidth benefit from transmitting compressed activations rather than full gradient updates
06

Privacy Guarantees

Split learning provides architectural privacy by design, not through cryptographic guarantees alone. The server only observes smashed data, which is a non-linear transformation of raw inputs. However, gradient leakage attacks can reconstruct input features from smashed data gradients. Defenses include:

  • Adding differential privacy noise to activations
  • Deeper cut layer placement
  • Combining with secure multi-party computation for the server-side network
DISTRIBUTED PRIVACY-PRESERVING ML PARADIGMS

Split Learning vs. Federated Learning vs. MPC-Based Inference

A technical comparison of three architectural approaches for training or running inference on decentralized private data without exposing raw inputs to a central server.

FeatureSplit LearningFederated LearningMPC-Based Inference

Core Mechanism

Neural network partitioned between client and server; client sends intermediate activations (smashed data) instead of raw data

Clients train local models on private data and share only model updates (gradients or weights) with a central aggregation server

Multiple parties jointly compute a function over private inputs using cryptographic protocols (secret sharing, garbled circuits) without revealing inputs to each other

Primary Use Case

Training and inference on vertically partitioned data or resource-constrained clients that cannot run full models

Training a shared global model across decentralized data silos (e.g., mobile keyboards, hospital networks)

Inference on private inputs using a private model, where neither party can access the other's data or model weights

Data Locality

Raw data never leaves the client; only intermediate activations are transmitted

Raw data never leaves the client; only model updates are transmitted

Data is secret-shared among computing parties; no single party sees the complete input

Model Privacy

Server holds the remaining layers; client never sees the full model architecture or server-side weights

Global model is shared with all clients; model architecture and weights are visible to participants

Model weights can be kept private from the data owner; neither party learns the other's model parameters

Communication Pattern

Sequential: client computes forward pass on initial layers, sends activations to server, server completes forward/backward pass, sends gradients back to client

Parallel: clients train independently and periodically send updates to a central server for aggregation (e.g., FedAvg rounds)

Interactive: multiple rounds of cryptographic message exchange between computing parties for each layer or operation

Computational Overhead

Moderate: client only computes initial layers; server handles bulk of computation

Low to moderate: clients run full model training locally; no cryptographic overhead

High: orders of magnitude slower than plaintext computation due to cryptographic operations on secret-shared values

Cryptographic Guarantees

Label Requirement

Labels must reside on the server side for supervised training; client cannot see labels

Labels reside with the client data; each client has access to its own labeled data

Labels can be secret-shared or held by one party; protocol design determines label visibility

SPLIT LEARNING CLARIFIED

Frequently Asked Questions

Concise answers to the most common technical questions about the split learning paradigm, covering its mechanics, security properties, and practical trade-offs.

Split learning is a distributed deep learning paradigm where a neural network is partitioned between a client and a server. The client processes raw data through the initial layers of the model, producing intermediate activations known as smashed data. Only these activations—not the raw data—are transmitted to the server, which completes the forward pass through the remaining layers. During backpropagation, gradients flow in reverse: the server computes gradients for its layers and sends the gradient of the smashed data back to the client, which then updates its own layers. This process is repeated for each batch. Unlike federated learning, where each client trains a full local model, split learning relieves clients of the computational burden of the complete network while keeping raw data local. The technique was formalized by Gupta and Raskar in 2018 and is particularly relevant for resource-constrained devices like smartphones or IoT sensors that cannot store or process large models.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.