Skip to search boxSkip to navigationSkip to main content

TensorSocket: Shared Data Loading for Deep Learning Training

Research Output:
Journal Article or Conference Article in Journal
Journal article
Research
Peer-review

Open access

Abstract

Training deep learning models is a repetitive and resource-intensive process. Data scientists often train several models before landing on a set of parameters (e.g., hyper-parameter tuning) and model architecture (e.g., neural architecture search), among other things that yield the highest accuracy. The computational efficiency of these training tasks depends highly on how well the training data is supplied to the training process. The repetitive nature of these tasks results in the same data processing pipelines running over and over, exacerbating the need for and costs of computational resources.

In this paper, we present TensorSocket to reduce the computational needs of deep learning training by enabling simultaneous training processes to share the same data loader. TensorSocket mitigates CPU-side bottlenecks in cases where the collocated training workloads have high throughput on GPU, but are held back by lower data-loading throughput on CPU. TensorSocket achieves this by reducing redundant computations and data duplication across collocated training processes and leveraging modern GPU-GPU interconnects. While doing so, TensorSocket is able to train and balance differently-sized models and serve multiple batch sizes simultaneously and is hardware- and pipeline-agnostic in nature.

Our evaluation shows that TensorSocket enables scenarios that are infeasible without data sharing, increases training throughput by up to 100%, and when utilizing cloud instances, achieves cost savings of 50% by reducing the hardware resource needs on the CPU side. Furthermore, TensorSocket outperforms the state-of-the-art solutions for shared data loading such as CoorDL and Joader; it is easier to deploy and maintain and either achieves higher or matches their throughput while requiring fewer CPU resources.

Publication Information

Output type

Research Output:
Journal Article or Conference Article in Journal
Journal article
Research
Peer-review

Original language

English

Article number

267

Pages from-to (Number of pages)

Pages 1-26 (27 pages)

Journal (Volume, Issue Number)

Proceedings of the ACM on Management of Data (Volume 3, Issue 4)

Publication milestones

  • Published - 22/09/2025

Publication status

Published - 22/09/2025

Publication IDs

  • ORCID: /0000-0001-6838-4854/work/192566427

Publication metrics

PlumX, opens in new tab

Captures
8
Citation count
4

Funding Details

This work is funded by the Independent Research Fund Denmark’s (Danmarks Frie Forskningsfond;DFF) Sapere Aude and Inge Lehmann programs under grant agreement number 0171-00061B and0171-00062B, respectively.
FunderFunding numbers
DFF
-

Related Event

Title

The ACM Symposium on Principles of Database Systems

Event type

Conference

Degree of recognition

International event

Date

31/05/2026 - 05/06/2026

Location

BengaluruIndia