A parallel framework for data input pipelines and online data augmentation in deep learning
Antonio De Toro-Castro, Marcos Lupión, Vicente González-Ruíz, Juan F. Sanjuan, Pilar M. Ortigosa
University of Almería · University of Ulster
Abstract
Abstract Efficient data ingestion and online data augmentation remain challenges in deep learning workflows, particularly when dealing with datasets containing non-standard formats or massive multidimensional arrays that natively optimised functions cannot fully manage. This work presents a parallel framework that integrates and global shared memory through a ring buffer architecture, enabling high-throughput data loading and flexible on-the-fly augmentation. The framework decouples data production from consumption, allowing multiple CPU workers to load and preprocess batches in parallel while completely bypassing the Python GIL and memory bottlenecks. Crucially, the framework supports both CPU-side and GPU-side augmentation strategies, adapting to whether complex conditional transformations or framework-native operations are required. The proposed approach was validated on two representative tasks: (i) sign language recognition from human pose CSV sequences, and (ii) hyperspectral image classification using massive arrays. Relative to standard sequential baselines, the proposed framework achieved up to $$27\times $$ 27 × acceleration in isolated data ingestion and up to $$28\times $$ 28 × in end-to-end training. Importantly, even against natively optimised parallel TensorFlow and PyTorch pipelines, it still delivered up to $$8\times $$ 8 × faster data loading and up to $$7\times $$ 7 × faster full training in memory-intensive scenarios. Overall, the proposed framework provides a scalable, multi-GPU compatible solution for deep learning pipelines, showing robust performance across both I/O-bound and memory-constrained scenarios in TensorFlow and PyTorch while alleviating memory fragmentation and allocation constraints.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- PUCC: a reproducible cloud-based framework for optimizing deep learning input pipelines and multi-GPU utilizationJournal of Cloud Computing · 2026
- RayOrch: Programming and Executing Lineage-Controlled Multi-Grain Dataflows for Foundation-Model Data PreparationarXiv · 2026
- ETH: Data-Balanced Heterogeneous Pipeline Parallelism for Training Large ModelsarXiv · 2026
- Accelerated Dataflow: scaling inference in streaming data analytics with efficiencyarXiv · 2026
- DataHelix: A CPU-GPU Co-Scheduling Data Plane for Multimodal Model TrainingarXiv · 2026
- Mneme: A Parallel Preprocessing Framework for Large Tabular DatasetsInternational Journal of Parallel Programming · 2026