UniPipe: Unified Inference Serving and Fine-Tuning for Deadline-Constrained DNN Surrogate Workflows
Not on the map. Why?
Abstract (arXiv)
DNN surrogates are increasingly used to accelerate scientific workflows that must process high-rate sensor streams in near real time, exemplified by Ptychographic imaging at next-generation X-ray light sources. Such surrogates deliver 100-1000x higher throughput than iterative solvers, enabling faster steering of experiments. To preserve surrogate accuracy during an experiment, as the input distribution evolves, state-of-the-art deployments freeze the pretrained surrogate or run a separate CUDA context that fine-tunes concurrently with serving. However, multi-context concurrency causes significant contention on the GPU, inflating both the mean and the variance of inference latency, triggering deadline misses in workflows where sensor data has to be processed within a hard per-unit deadline. To address this challenge, we propose UniPipe, a single-context system that unifies inference serving and fine-tuning of a DNN surrogate on a single edge GPU. UniPipe is driven by three key insights: both serving and fine-tuning require a forward pass and can be fused into one; the per-sample latency of modern GPUs is non-linear in batch size; and the workload is repetitive across intervals, enabling offline scheduling. Specifically, UniPipe fuses training and inference data in a single forward pass with a selective backward pass on the training subset, and uses a polynomial-time scheduler that exploits the latency curve to compute the batch composition. We evaluate UniPipe on a real-world Ptychographic reconstruction workflow with sensor rates up to 5000 patterns/sec.; UniPipe lowers reconstruction MSE by up to 30% and inference MSE by up to 50% over a pretrained baseline, and reduces the deadline-miss rate by 13%-22% over a multi-context baseline. UniPipe's unified deployment reduces the latency spread from 106% to 57% of the mean, and increases total throughput compared to multi-context baseline.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 17 of its 35 references that are in the map. Submitted 10 Nov 2026.
Builds on
17 of 35 references.
References · 17
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,397
- 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,384
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,502
- 2018Continual Lifelong Learning with Neural Networks: A Reviewcited by 1,366
- 2018Adaptive Federated Learning in Resource Constrained Edge Computing Systemscited by 414
- 2022Message Passing Neural PDE Solverscited by 409
- 2021Does Knowledge Distillation Really Work?cited by 202
- 2025A Comprehensive Survey on Knowledge Distillationcited by 55
- 2022Deep learning at the edge enables real-time streaming ptychographic imagingcited by 19
- 2023Physics Constrained Unsupervised Deep Learning for Rapid, High Resolution Scanning Coherent Diffraction Reconstructioncited by 14
- 2024PtychoFormer: A Transformer-based Model for Ptychographic Phase Retrievalcited by 6
- 2025Ptychographic Image Reconstruction from Limited Data via Score-Based Diffusion Models with Physics-Guidancecited by 5
5 more
- 2024Predicting ptychography probe positions using single-shot phase retrieval neural networkcited by 4
- 2024Towards Deterministic End-to-end Latency for Medical AI Systems in NVIDIA Holoscancited by 3
- 2023AI-assisted Automated Workflow for Real-time X-ray Ptychography Data Analysis via Federated Resourcescited by 2
- 2024Efficient Data-Parallel Continual Learning with Asynchronous Distributed Rehearsal Bufferscited by 1
- 2026A comprehensive evaluation of spatial co-execution on GPUs using MPS and MIG technologiescited by 1
Built on by
Not cited yet.