Devices and methods for distributing data to a plurality of client devices

The data distribution server addresses the challenge of implementing neural network models on resource-constrained devices by efficiently distributing and pre-processing data samples across multiple client devices, optimizing resource usage and reducing computational complexity, enabling effective neural network training on devices with limited capabilities.

WO2024199638A1PCT designated stage expired Publication Date: 2024-10-03HUAWEI TECH CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2023/058000
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Implementing large neural network models on devices with limited hardware capabilities, such as smartphones and IoT devices, is challenging due to computational resource demands, and even in cloud computing, reducing computational complexity during training and operation is advantageous.

Method used

A data distribution server that efficiently distributes batches of data samples to multiple client devices by using a shared buffer memory with reference counters to manage access and pre-process data based on client configuration parameters, allowing for centralized data preparation and decoupling from usage, thereby optimizing resource usage and reducing computational complexity.

Benefits of technology

This approach enables efficient distribution and pre-processing of data samples across multiple client devices, reducing redundant computations and resource overcommitment, while ensuring short access times and adaptable batch sizes, thus facilitating the implementation of neural network models on resource-constrained devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2023058000_03102024_PF_FP_ABST
    Figure EP2023058000_03102024_PF_FP_ABST
Patent Text Reader

Abstract

A data distribution server (110) for distributing a plurality of batches of data samples to a plurality of client devices (120) is disclosed. The data distribution server (110) is configured to obtain at least a first batch and a second batch of the plurality of batches of data samples and store the at least first batch and second batch of data samples in a buffer memory (115a) accessible by the plurality of client devices (120) for providing the at least first batch and second batch of data samples to the plurality of client devices (120). The data distribution server (110) is further configured, once at least the first batch of data samples has been provided to all the client devices, to replace at least the first batch of data samples in the buffer memory (115a) with at least one further batch of data samples.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] DEVICES AND METHODS FOR DISTRIBUTING DATA TO A PLURALITY OF CLIENT DEVICES

[0002] TECHNICAL FIELD

[0003] The present disclosure relates to information processing technology. More specifically, the present disclosure relates to devices and methods for distributing data, in particular training data for training neural network models to a plurality of client devices.

[0004] BACKGROUND

[0005] Artificial neural network models, which are being implemented in more and more electronic devices for a variety of different purposes, are usually demanding with respect to computational resources. Therefore, it is a challenge to implement large neural network models on electronic devices with limited hardware capabilities in terms of processing power, memory and energy resources, such as smartphones, intelligent cameras or other types of loT devices. Even for cloud computing, where the processing capabilities, the memory and the power resources of cloud servers are usually not an issue, reducing the computational complexity involved with training and / or operating neural network models often lead to substantial advantages.

[0006] Usually, the performance of a neural network model in an application phase depends on the amount and the type of training data samples used to train the neural network model in a training or learning phase. A neural network model may be trained or learned by repeatedly applying a training loop of the neural network model to numerous training data samples. Usually, the training data samples reside in a non-volatile memory of the computing system the neural network model is implemented on. As providing, storing and handling numerous training data samples on the non-volatile memory is expensive in terms of the computational resources of the computing system the neural network model is implemented on, there have been some approaches suggested for providing training data samples for training neural network models from a remote data storage to one or more client devices implementing the neural network models via a communication network. SUMMARY

[0007] It is an objective to provide improved devices and methods for distributing data, in particular training data for training neural networks to a plurality of client devices.

[0008] The foregoing and other objectives are achieved by the subject matter of the independent claims. Further implementation forms are apparent from the dependent claims, the description and the figures.

[0009] According to a first aspect a data distribution server for distributing a plurality of batches of data samples to a plurality of client devices is provided. The data distribution server is configured to obtain at least a first batch and a second batch of the plurality of batches of data samples and store the at least first batch and second batch of data samples in a buffer memory accessible by the plurality of client devices for providing the at least first batch and second batch of data samples to the plurality of client devices. The data distribution server is further configured, once at least the first batch of data samples has been provided to all the client devices, replace at least the first batch of data samples in the buffer memory with at least one further batch of data samples.

[0010] In a further possible implementation form, the buffer memory is a shared buffer memory accessible by the plurality of client devices for providing the at least first batch and second batch of data samples to the plurality of client devices and the data distribution server is configured to implement for each of the at least first batch and second batch of data samples a reference counter, wherein each reference counter is indicative of the number of client devices of the plurality of client devices currently accessing the respective batch of data samples in the shared buffer memory.

[0011] In a further possible implementation form, the data distribution server is further configured to determine based on the reference counter for each batch a usage pattern for each of the client devices and to halt, time-out and / or cancel the access of each of the client devices to one or more of the batches of data elements stored in the shared buffer memory based on the usage pattern of each client device.

[0012] In a further possible implementation form, the data distribution server is configured to adjust the size of the shared buffer memory. In a further possible implementation form, the data distribution server is configured to pre- process the plurality of data samples of a batch for each of the client devices based on one or more configuration parameters of the respective client device.

[0013] In a further possible implementation form, the data distribution server is configured to store the first batch and the second batch of data samples in the shared buffer memory by storing for one or more of the pluralities of client devices a respective version of the first batch and the second batch of data samples pre-processed by the data distribution server based on the one or more configuration parameters of the respective client device.

[0014] In a further possible implementation form, the data distribution server is configured to obtain the plurality of batches of data samples, including the first batch and the second batch of data samples, from a local or remote data storage.

[0015] In a further possible implementation form, the plurality of batches of data elements comprises a last batch of data elements, and the data distribution server is configured to, once the data samples of the last batch of data samples have been provided to all the client devices, replace the last batch of data samples in the shared buffer memory with the first batch of data samples again.

[0016] In a further possible implementation form, the data samples of the plurality of batches of data samples comprise a plurality of training data samples for training a plurality of neural networks implemented on the plurality of client devices.

[0017] According to a second aspect a data distribution system is provided, wherein the data distribution system comprises a data distribution server according to the first aspect for distributing a plurality of batches of data samples to a plurality of client devices and a data storage for providing the plurality of batches of data samples.

[0018] According to a third aspect a method for distributing a plurality of batches of data samples to a plurality of client devices is provided. The data distribution method comprises the steps of: obtaining at least a first batch and a second batch of data samples of the plurality of batches of data samples; storing at least the first batch and the second batch of data samples in a buffer memory accessible by the plurality of client devices for providing at least the first batch and the second batch of data samples to the plurality of client devices; and once at least the first batch of data samples has been provided to all the client devices, replacing at least the first batch of data samples in the buffer memory with at least one further batch of data samples.

[0019] The data distribution method according to the third aspect of the present disclosure can be performed by the data distribution server according to the first aspect of the present disclosure. Thus, further features of the method according to the third aspect of the present disclosure result directly from the functionality of the server according to the first aspect of the present disclosure as well as its different implementation forms described above and below.

[0020] According to a fourth aspect a computer program product is provided, comprising a computer- readable storage medium for storing program code which causes a computer or a processor to perform the method according to the third aspect when the program code is executed by the computer or the processor.

[0021] Details of one or more embodiments are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will be apparent from the description, drawings, and claims.

[0022] BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In the following, embodiments of the present disclosure are described in more detail with reference to the attached figures and drawings, in which:

[0024] Fig. 1 shows a schematic diagram illustrating a data processing system including a data distribution server according to an embodiment, a data provider and a plurality of client devices;

[0025] Fig. 2 shows a signalling diagram illustrating the interaction between the data distribution server according to an embodiment, a data provider and a client device; and

[0026] Fig. 3 shows a flow diagram illustrating processing steps of a data distribution method according to an embodiment.

[0027] In the following, identical reference signs refer to identical or at least functionally equivalent features. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0028] In the following description, reference is made to the accompanying figures, which form part of the disclosure, and which show, by way of illustration, specific aspects of embodiments of the present disclosure or specific aspects in which embodiments of the present disclosure may be used. It is understood that embodiments of the present disclosure may be used in other aspects and comprise structural or logical changes not depicted in the figures. The following detailed description, therefore, is not to be taken in a limiting sense, and the scope of the present disclosure is defined by the appended claims.

[0029] For instance, it is to be understood that a disclosure in connection with a described method may also hold true for a corresponding device or system configured to perform the method and vice versa. For example, if one or a plurality of specific method steps are described, a corresponding device may include one or a plurality of units, e.g. functional units, to perform the described one or plurality of method steps (e.g. one unit performing the one or plurality of steps, or a plurality of units each performing one or more of the plurality of steps), even if such one or more units are not explicitly described or illustrated in the figures. On the other hand, for example, if a specific apparatus is described based on one or a plurality of units, e.g. functional units, a corresponding method may include one step to perform the functionality of the one or plurality of units (e.g. one step performing the functionality of the one or plurality of units, or a plurality of steps each performing the functionality of one or more of the plurality of units), even if such one or plurality of steps are not explicitly described or illustrated in the figures. Further, it is understood that the features of the various exemplary embodiments and / or aspects described herein may be combined with each other, unless specifically noted otherwise.

[0030] Figure 1 shows a schematic diagram illustrating a system 100 comprising a data distribution server 110 (also referred to a as pre-fetch server 110) according to an embodiment, a data storage 130 and a plurality of client devices 120. The data distribution server 110 may be implemented, for instance, as a cloud server 110 configured to communicate with the plurality of client devices 120 via a communication network, such as the Internet. As will be described in more detail below, the data distribution server 110 (also referred to as prefetch server 110) is configured to distribute a plurality of data samples stored in the data storage 130 to the plurality of client devices 120. As illustrated in figure 1 , the data distribution server 110 may comprise processing circuitry 111 , a communication interface 113 and / or a memory 115. The processing circuitry 111 may be implemented in hardware and / or software and may comprise digital circuitry, or both analog and digital circuitry. Digital circuitry may comprise components such as application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), or general-purpose processors. The communication interface 113 may be configured to communicate with the client devices 120 and / or the data provider 130 via wired and / or wireless connections via a wired and / or wireless communication network, such as the Internet. The memory 115 of the distribution server 110 may be configured to store executable program code which, when executed by the processing circuitry 111 , causes the distribution server 110 to perform the functions and methods described herein. As illustrated in figure 1 and will be described in more detail below, in an embodiment the memory 115 may comprise a pre-fetch memory 115a for storing a specific number of batches of plurality of data samples for the plurality of client devices 120.

[0031] As already mentioned above, the data distribution server 110 is configured to distribute a plurality of batches of data samples stored in the data storage 130 to the plurality of client devices 120. In an embodiment, the data samples of the plurality of batches of data samples stored in the data storage 130 may comprise a plurality of training data samples, such as images, for training a plurality of neural networks implemented on the plurality of client devices 120.

[0032] As will be described in more detail in the following, for distributing the plurality of batches of data samples stored in the data storage 130 to the plurality of client devices 120 the data distribution server 110 is configured to obtain at least a first batch and a second batch of data samples of the plurality of batches of data samples from the data storage 130 and store the at least first batch and second batch of data samples in the buffer memory 115a accessible by the plurality of client devices 120 for providing at least the first batch and the second batch of data samples to the plurality of client devices 120. The data distribution server 110 is further configured, once at least the first batch of data samples has been provided to all the client devices, to replace at least the first batch of data samples in the buffer memory with at least one further batch of data samples so that the at least one further data batch of data samples may be accessed by the plurality of client devices 120.

[0033] In an embodiment, the buffer memory 115a may be a shared buffer memory 115a accessible by the plurality of client devices 120 for providing the at least first batch and second batch of data samples to the plurality of client devices 120, wherein the data distribution server 110 is configured to implement for each of the at least first batch and second batch of data samples a reference counter, wherein each reference counter is indicative of the number of client devices of the plurality of client devices 120 currently accessing the respective batch of data samples in the shared buffer memory 115a.

[0034] The data distribution server 110 may be further configured to determine based on the reference counter for each batch a usage pattern for each of the client devices 120 and to halt, time-out and / or cancel the access of each of the client devices 120 to one or more of the batches of data elements stored in the shared buffer memory 115a based on the usage pattern of each client device 120. In an embodiment, the data distribution server 110 is configured to adjust the size of the shared buffer memory 115a, for instance, based on the number of client devices 120.

[0035] The data distribution server 110 may be further configured to pre-process the plurality of data samples of a batch for each of the client devices 120 based on one or more configuration parameters of the respective client device 120. In an embodiment, the pre-processing may include data operations such as resizing, flipping, tensorizing and formatting the data into a desired data structure, e.g. list, dictionary. In an embodiment, the data distribution server 110 is configured to store the at least first batch and the second batch of data samples in the shared buffer memory 115a by storing for one or more of the pluralities of client devices 120 a version of the at least first batch and the second batch of data samples pre-processed based on the one or more configuration parameters of the respective client device 120.

[0036] In an embodiment, the plurality of data elements comprises a last batch of data elements, and the data distribution server is configured to, once the data samples of the last batch of data samples have been provided to all the client devices, replace the last batch of data samples in the shared buffer memory with the first batch of data samples again. In other words, once data samples from the last batch of data samples have been copied by all of the client devices 120 from the shared buffer memory 115a, the data distribution server 110 may refill the shared buffer memory with data elements from the first batch again and so forth.

[0037] Figure 2 shows the interaction between an exemplary client device 120, the data distribution server 110 according to an embodiment and the local or remote data storage 130. In stage 1 of figure 2 the exemplary client device 120 connects to the data distribution server 110. For instance, the exemplary client device 120 may send a connection request to the data distribution server 110 for accessing the service provided by the data distribution server 110.

[0038] In response to the client’s connection request the data distribution server 110 assigns a unique client device identifier, i.e. client ID allowing the data distribution server 110 to identify the exemplary client device 120 and returns the client ID to the client device 120 in stage 2 of figure 2.

[0039] In stage 3 of figure 2 the exemplary client device 120 sends one or more configuration parameters to the distribution server 110 for accessing the service provided by the data distribution server 110. In an embodiment, the one or more configuration parameters may comprise one or more device and / or communication parameters associated with the exemplary client device 120, such as a maximum download data bandwidth of the exemplary client device 120, a requested data format, and the like.

[0040] In stage 4 of figure 2 the data distribution server 110 sends a version number to the exemplary client device 120, wherein the version number is indicative of the version of the data samples pre-processed by the data distribution server 110 based on the one or more configuration parameters provided by the exemplary client device 120.

[0041] In stage 5 of figure 2 the exemplary client device 120 starts obtaining one or more batches of data samples from the pre-fetch memory 115a based on the version number provided in the previous stage by the data distribution server 110. As already described above, in an embodiment, the data distribution server 110 is configured to implement the pre-fetch memory 115a as a plurality of memory segments shared with the exemplary client device 120 as well as the other client devices 120 currently enrolled to the service provided by the data distribution server 110. In this embodiment, the exemplary client device 120 may access based on its version number the shared pre-fetch memory 115a at the address identified by the version number and start copying the batches of data samples stored at that address to a local memory storage.

[0042] In response to the access of the exemplary client 120 to the first batch of data samples in stage 5 of figure 2, the data distribution server 110 in stage 6 of figure 2 may start to prefetch, i.e. obtain the next batch of data samples from the data storage 130. In stage 7 of figure 2 the data storage 130 may allocate some memory for the next batch of data samples.

[0043] In stage 8 of figure 2 the data distribution server 110 starts receiving the next batch of data samples from the data storage 130 and starts filling the pre-fetch buffer memory 115a with data samples from the next batch of data samples (stage 9 of figure 2).

[0044] Once the exemplary client device 120 and all the other client devices 120 have successfully downloaded all data samples of the first batch of data samples from the pre-fetch buffer memory 115a implemented by the data distribution server 110, the exemplary client device 120 releases the first batch of data samples in stage 10 of figure 2.

[0045] In response to the release of the first batch of data samples by the exemplary client device 120, the data distribution server 110 in stage 11 of figure 2 may verify that the reference counter of the first batch of data samples stored in the prefetch buffer memory 115a is zero, i.e. that the respective reference counter indicates that neither the exemplary client device 120 illustrated in figure 2 nor any further client device 120 illustrated in figure 1 still needs to download, e.g. copy parts of the first batch of data samples from the prefetch buffy memory 115a. In case the reference counter is zero, the data distribution server 110 may inform the data storage 130 to recycle the allocated memory.

[0046] In stage 12 of figure 2 the data distribution server 110 may inform the exemplary client device 120 that the next batch of data samples is available.

[0047] In stage 13 of figure 2 the data distribution server 110 may start prefetching further batches of data samples from the data storage 130.

[0048] Figure 3 shows a flow diagram illustrating processing steps of a data distribution method 300 according to an embodiment for distributing a plurality of batches of data samples to the plurality of client devices 120. The data distribution method 300 comprises a step 301 of obtaining at least a first batch and a second batch of data samples of the plurality of batches of data samples and a step 303 of storing at least the first batch and the second batch of data samples in the shared memory 115a accessible by the plurality of client devices 120 for providing the first batch and the second batch of data samples to the plurality of client devices 120. Moreover, the method 300 comprises, once at least first batch of data samples has been provided to all the client devices 120, a step 305 of replacing at least the first batch of data samples in the buffer memory with at least one further batch of data samples.

[0049] Embodiments of the data distribution server 110 provide a single computation and multiple consumptions of the same batch of data samples across multiple training loops. This is achieved, firstly, by decoupling the data preparation or pre-processing processes from the actual usage of the data, i.e. from the data consuming processes. The data preparation or preprocessing processes are implemented in a centralized manner by the data distribution server 110 so that they are available to the other entities of the communication system 100, while the data consuming processes are implemented by the plurality of client devices 120. In an embodiment, each client device 120 may establish a connection with the data distribution server 110 for receiving their pre-processed batches of data samples by means of the connection with the data distribution server 110 and for using these batches of data samples, for instance, for running respective training loops for training one or more neural networks implemented on the respective client device 120.

[0050] A client device 120 may connect and leave the service provided by the data distribution server 110 at any time. The batch 150 a specific client device 120 receives may be the same one (albeit maybe of a different batch format) as all the other client devices 120 are receiving and processing at the same time. In other words, in an embodiment, the data distribution server 110 may be configured to weekly synchronize the distribution of the batches of data samples by adapting to the download speed (which may be defined by the client device’s download bandwidth) of the client device 120 having the smallest download speed. As already described above, by means of the shared buffer memory 115a the data distribution server 110 is configured to maintain a prefetch window of a predefined number of batches of data samples (for instance 2, 3, 5 or 10 batches of data samples) such that deviations between the download speeds of the client devices 120 can be compensated. Moreover, maintaining the prefetch window of a predefined number of batches allows the data distribution server 110 to hide the pre-processing computation latency of the current batch.

[0051] In an embodiment, each current batch of data samples may be pre-processed by the data distribution server 110 only once, yet into several different versions depending on the request of the respective client device 120 and, in particular, one or more configuration parameters provided by the respective client device 120. In an embodiment, the data distribution server 110 is configured to implement with the plurality of client devices 120 the pre-fetch buffer memory 115a as a plurality of globally shared memory segments of the memory 115 (which may be identified by a global name). For transferring the plurality of data samples of a given batch to the respective client device 120 the data distribution server 110 may provide the address of the pre-fetch buffer memory 115a to the plurality of client devices 120 so that a respective client device 120, knowing its version number / ID, may read one or more pre- processed data samples from the associated location, i.e. the associated shared memory segment within the pre-fetch buffer memory 115a. In an embodiment, the data distribution server 110 is configured to implement the plurality of shared memory segments with a dynamically variable size and to enlarge the size of a respective shared memory segment, for instance, for accommodating a new version of the batch of data samples or for reducing the size of a respective shared memory segment, for instance, when a client device 120 terminates the service provided by the data distribution server 110 or reconfigures itself so that a different version of the batch of data samples (i.e. a version of the batch of data samples pre-processed based on one or more different configuration parameters) is requested by the respective client device 120.

[0052] As already described above, the data distribution server 110 may obtain the original, i.e. raw data from the data storage 130, which in an embodiment may be a non-volatile storage of the data distribution server 110 itself. In a further embodiment, the data storage 130 may be a remote database 130 or another cloud server 130 like the data distribution server 110.

[0053] In an embodiment, the data distribution server 110 is configured to adjust the size of the prefetch window defined by the size of the buffer memory 115a based on the demand, based on the number of client devices 120. For instance, in an embodiment, the data distribution server 110 may be configured to increase the size of the prefetch window for a small number of client devices 120 and / or to decrease the size of the prefetch window for a large number of client devices 120.

[0054] As already mentioned above, embodiments disclosed herein are based on the idea of providing the data to the client devices 120 by a global system wide service implemented by the data distribution server 110. Firstly, this service implemented by the data distribution server 110 is accessible to virtually any number of client devices 120, while preserving the ability of the client devices 120 to run the data retrieval from the data distribution server 110 as a process. Secondly, the data distribution server 110 synchronizes the distribution of batches of data samples across all the client devices 120 that have requested the same dataset, thereby computing, i.e. pre-processing the batches only once, thus avoiding any redundant preprocessing and resource overcommitment in case of the same batch stream is consumed, and providing short batch access times. Moreover, the data distribution server 110 is configured to allow each client device 120 to individually configure the format of its version of the batch of data samples (by means of one or more configuration parameters).

[0055] The person skilled in the art will understand that the "blocks" ("units") of the various figures (method and apparatus) represent or describe functionalities of embodiments of the present disclosure (rather than necessarily individual "units" in hardware or software) and thus describe equally functions or features of apparatus embodiments as well as method embodiments (unit = step).

[0056] In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. The described embodiment of an apparatus is merely exemplary. For example, the unit division is merely logical function division and may be another division in an actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented by using some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or other forms.

[0057] The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.

[0058] In addition, functional units in the embodiments disclosed herein may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit.

Claims

CLAIMS1 . A data distribution server (110) for distributing a plurality of batches of data samples to a plurality of client devices (120), wherein the data distribution server (110) is configured to: obtain at least a first batch and a second batch of the plurality of batches of data samples; store the at least first batch and second batch of data samples in a buffer memory (115a) accessible by the plurality of client devices (120) for providing the at least first batch and second batch of data samples to the plurality of client devices (120); and once at least the first batch of data samples has been provided to all the client devices, replace at least the first batch of data samples in the buffer memory (115a) with at least one further batch of data samples.

2. The data distribution server (110) of claim 1 , wherein the buffer memory (115a) is a shared buffer memory (115a) accessible by the plurality of client devices (120) for providing the at least first batch and second batch of data samples to the plurality of client devices (120) and wherein the data distribution server is configured to implement for each data sample of the first batch of data samples a reference counter, wherein each reference counter is indicative of the number of client devices of the plurality of client devices (120) currently accessing the respective batch of data samples in the shared buffer memory (115a).

3. The data distribution server (110) of claim 2, wherein the data distribution server (110) is further configured to determine based on the reference counter for each batch a usage pattern for each of the client devices (120) and to halt, time-out and / or cancel the access of each of the client devices (120) to one or more of the batches of data elements stored in the shared buffer memory (115a) based on the usage pattern of each client device (120).

4. The data distribution server (110) of claim 2 or 3, wherein the data distribution server (110) is configured to adjust the size of the shared buffer memory (115a).

5. The data distribution server (110) of any one of the preceding claims, wherein the data distribution server (110) is configured to pre-process the plurality of data samples of a batch for each of the client devices (120) based on one or more configuration parameters of the respective client device (120).

6. The data distribution server (110) of claim 5, wherein the data distribution server (110) is configured to store the first batch and the second batch of data samples in the shared buffer memory (115a) by storing for one or more of the pluralities of client devices (120) a version of the first batch and the second batch of data samples pre-processed based on the one or more configuration parameters of the respective client device (120).

7. The data distribution server (110) of any one of the preceding claims, wherein the data distribution server (110) is configured to obtain the plurality of batches of data samples, including the first batch and the second batch of data samples, from a local or remote data storage (130).

8. The data distribution server (110) of any one of the preceding claims, wherein the plurality of data elements comprises a last batch of data elements, and wherein the data distribution server is configured to, once the data samples of the last batch of data samples have been provided to all the client devices, replace the last batch of data samples in the shared buffer memory with the first batch of data samples.

9. The data distribution server (110) of any one of the preceding claims, wherein the data samples of the plurality of batches of data samples comprise a plurality of training data samples for training a plurality of neural networks implemented on the plurality of client devices.

10. A data distribution system, comprising: a data distribution server (110) according to any one of the preceding claims for distributing a plurality of batches of data samples to a plurality of client devices (120); and a data storage (130) for providing the plurality of batches of data samples.

11. A data distribution method (300) for distributing a plurality of data samples to a plurality of client devices (120), wherein the data distribution method (300) comprises: obtaining (301) at least a first batch and a second batch of data samples of the plurality of batches of data samples;storing (303) at least the first batch and the second batch of data samples in a buffer memory (115a) accessible by the plurality of client devices (120) for providing at least the first batch and the second batch of data samples to the plurality of client devices (120); and once at least the first batch of data samples has been provided to all the client devices (120), replacing (305) at least the first batch of data samples in the buffer memory (115a) with at least one further batch of data samples.

12. A computer program product comprising a computer-readable storage medium for storing program code which causes a computer or a processor to perform the method (300) of claim 11 , when the program code is executed by the computer or the processor.

Citation Information

Patent Citations

  • Data sample balanced distribution method and device and storage medium

    CN111860568A

  • Coordinated heterogeneous processing of training data for deep neural networks

    US20190311257A1

  • Dynamic composition of data pipeline in accelerator-as-a-service computing environment

    US20200174840A1