<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>MeDNN: A distributed mobile system with enhanced partition and deployment for large-scale DNNs</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>11/01/2017</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10063490</idno>
					<idno type="doi">10.1109/ICCAD.2017.8203852</idno>
					<title level='j'>IEEE/ACM International Conference on Computer Aided Design</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Jiachen Mao</author><author>Zhongda Yang</author><author>Wei Wen</author><author>Chunpeng Wu</author><author>Linghao Song</author><author>Kent W. Nixon</author><author>Xiang Chen</author><author>Hai Li</author><author>Yiran Chen</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Deep Neural Networks (DNNs) are pervasively used in a significant number of applications and platforms. To enhance the execution efficiency of large-scale DNNs, previous attempts focus mainly on client-server paradigms, relying on powerful external infrastructure, or model compression, with complicated pre-processing phases. Though effective, these methods overlook the optimization of DNNs on distributed mobile devices. In this work, we design and implement MeDNN, a local distributed mobile computing system with enhanced partitioning and deployment tailored for large-scale DNNs. In MeDNN, we first propose Greedy Two Dimensional Partition (GTDP), which can adaptively partition DNN models onto several mobile devices w.r.t. individual resource constraints. We also propose Structured Model Compact Deployment (SMCD), a mobile-friendly compression scheme which utilizes a structured sparsity pruning technique to further accelerate DNN execution. Experimental results show that, GTDP can accelerate the original DNN execution time by 1.86 – 2.44⇥ with 2 – 4 worker nodes. By utilizing SMCD, 26.5% of additional computing time and 14.2% of extra communication time are saved, on average, with negligible effect on the model accuracy.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>With explosive growth in computational capability and network bandwidth, mobile devices have become a hotspot for innovation in interactive multimedia applications. Examples of this include intensive speech recognition and object classification tasks. Deep Neural Networks (DNNs) are the underlying technology enabling these applications, and have been widely studied and utilized due to their high accuracy, scalability, and reconfigurable flexibility <ref type="bibr">[1]</ref> <ref type="bibr">[2]</ref>.</p><p>However, the size and complexity of DNNs incurs significant performance overhead. This is exacerbated on mobile devices due to limitations in terms of memory consumption and computing capability. For example, AlexNet, a typical DNN model for image recognition, requires about 2 seconds for a single model forwarding procedure on Google Nexus 5, which is unacceptable in practical use. Many research works have been proposed to resolve the conflict between the massive workload for large scale DNN execution and the limited resources available to mobile computing. One straightforward approach is to expand computing capability through a client-server paradigm. For example: In <ref type="bibr">[3]</ref>, Hauswald et al. proposed a data offloading scheme in a pipelined machine learning structure; In <ref type="bibr">[4]</ref>, Li et al. established an efficient distributed parameter server framework for DNNs. Another approach is model compression: In <ref type="bibr">[5]</ref>, <ref type="bibr">Han et al.</ref> deeply compressed DNN models using a three-stage pipeline: pruning, trained quantization, and Huffman coding; In <ref type="bibr">[6]</ref>, Chen et al. introduced a low-cost hash function to group weights into hash buckets for parameter sharing purpose.</p><p>While these approaches are quite effective, they are not without their associated drawbacks. The client-server paradigm requires costly external infrastructure support, as well as a continuous network connectivity to the mobile device for transmitting raw data and classification results. Meanwhile, model compression requires complex model pre-processing and incurs potential accuracy drop.</p><p>To tackle the aforementioned problems, we propose MeDNNa local distributed mobile computing system with enhanced DNN partition scheme (GTDP) and deployment scheme (SMCD).</p><p>Concretely, our major contributions include:</p><p>&#8226; We model our system and present the corresponding analysis on the relationship between tested mobile computing resources and DNN execution performance in a mobile network scenario; &#8226; We propose a DNN model partition scheme for MeDNN, namely GTDP, to dispatch the workload to heterogeneous mobile devices for maximal execution parallelism; &#8226; We propose a pruning scheme -SMCD with particular grouplasso regularization, which allows for more efficient and compact DNN partition and deployment on mobile platforms; </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. PRELIMINARY</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. DNN Performance on Mobile Devices</head><p>From the perspective of the DNN structure, the considerable computing time is mainly introduced by convolutional layers. In each convolutional layer, a set of filters are convolved across the feature map of the previous layer to generate the input of the next layer. In this paper, the terms inputs and weights are interchangeable with the terms feature map and filter in a single layer of DNN, respectively. From the perspective of the actual mobile computing process, considerable time is consumed by intensive memory operation and CPU computation due to the limited computing resource. Because the convolutional layers are the major computing overhead of DNNs on mobile devices, we mainly focus on the partition and deployment of convolutional layers in this paper. In the later system modeling section, we will conduct a series of preliminary tests and analysis to identify the system optimization targets and mobile computation constraints for the convolution step in DNNs.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Distributed Mobile Network</head><p>MapReduce is considered an excellent distributed architecture for simplifying parallel data processing for DNN execution <ref type="bibr">[7]</ref>. Its effectiveness has been proven in many machine learning applications on mobile platforms <ref type="bibr">[8][9]</ref>. The two key procedures in the MapReduce architecture are Map and Reduce. The Map procedure partitions a task to pieces that can be executed in parallel, while the Reduce procedure merges the intermediate data from the Map procedure. The implementation of MapReduce with the mobile devices can be achieved with a master-slave structure. In the network, one mobile device acts as the Group Owner (GO), in charge of testing data storage and partitioning. Additional devices act as Worker Nodes (WNs), and share the computing load with the GO.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Execution Time (&#181;s)</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>LeNet</head><p>AlexNet VGG-16  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Model Compression for DNNs</head><p>Many studies have been performed regarding model compression, e.g., sparsity regularization <ref type="bibr">[10]</ref>, connection pruning <ref type="bibr">[11]</ref>. However, they have certain drawbacks to maintain structured DNN model connections effectively. When a non-structured DNN model is deployed on mobile devices, unpredictable memory access patterns are introduced to the limited memory capacity, leading to a negative impact on practical acceleration. As model structure is critical for compression performance, <ref type="bibr">[12]</ref> was proposed to structurally decompose each weight tensor into a product of smaller factors. But it requires costly reiterations of decomposition and fine-tuning procedures to find the optimal weight approximation.</p><p>Therefore, group lasso is a more structurally regularized compression approach based on covariate grouping and selective sparsing <ref type="bibr">[13][14]</ref>. In this work, we innovatively improved the group lasso regularization for distributed mobile system with mobile computing and transmission characteristics taken into consideration.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. SYSTEM MODELING</head><p>In this section, we establish the system model of MeDNN and a series of experiments are conducted to analyze the performance of DNN execution on our distributed mobile system.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Definition of Terminologies and Variables</head><p>We define the terminologies and variables as follows:</p><p>&#8226; Total Worker Nodes (N ): Total number of the available mobile devices within the computing cluster;  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Distributed Mobile System Model</head><p>Based on the previous mentioned variables, the model of the total execution time on distributed mobile system can be formulated as following, which is also the core optimization target of MeDNN:</p><p>summarizes the total transmission time by adding the delay to the transmission amount divided by the throughput. The total computing time is expressed as the summation between</p><p>, representing the time consumption for FLOP and memory usage. We can clearly tell from this formulation that the overall DNN execution time is bottlenecked by the maximum time among all the N WNs including the computing time and communication time. Furthermore, transmission amount (W trans), computing workload (Wcomp), and memory usage (Wmem) are the three core variables we want to optimize on.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Analysis of DNNs on Mobile Devices</head><p>To evaluate the performance of DNN models on mobile devices, a series of experiments are conducted using Google Nexus 5, which has a hexa-core 1.8GHz CPU, and 2GB of RAM. Three DNN models of incremental scale are analyzed: Lenet <ref type="bibr">[15]</ref>, AlexNet <ref type="bibr">[16]</ref>, and VGG <ref type="bibr">[17]</ref>. Fig. <ref type="figure">1</ref> depicts the analysis results including: computing time of a single test, dynamic RAM memory size occupied by the DNN execution, and parameter size for model storage. The experimental results illustrate the major performance optimization target. Although fully-connected layers account for higher parameter size, both the time consumption and dynamic memory usage of convolutional layers in DNN outweigh that of fully-connected layers by at least 10.3&#8677;, with the effect of other layers (e.g., ReLu layers, pooling layers, normalization layers, etc.) remaining negligible. The reason lies in that, on resource-constrained mobile platforms, the ondemand memory requests and memory migration account for a large portion of the computing overhead. From our analysis, we verify that the convolutional layers are the bottleneck of the DNN execution.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. MEDNN SYSTEM DESIGN OVERVIEW</head><p>Based on the mobile device computing resource constraint analysis, we designed the MeDNN system. Fig. <ref type="figure">2</ref> presents an overview of MeDNN including three core components:</p><p>(1) Middleware: The distributed mobile network deployed on each mobile devices which sets up the computing cluster and schedules the data processing flow during parallel execution in MeDNN;</p><p>(2) Model Allocator: The GTDP scheme that partitions the original model using into multiple WNs with consideration of mobile device computing resource constrain.</p><p>(3) Model Processor: The SMCD scheme that prunes the original DNN model to fine-tuned model for more efficient deployment and execution on both single and distributed mobile system;  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Dataflow in MeDNN</head><p>Fig. <ref type="figure">3</ref> demonstrates the whole dataflow of MeDNN execution with two WNs. Thanks to the strong data affinity in the shared feature map between WNs, a comparatively small part of the feature map is needed for transmission due to the small kernel size of convolutional layers, which is expressed as the cubes in dashed contours in Fig. <ref type="figure">3</ref>. MeDNN utilizes the concept of MapReduce as the distributed architecture with several redesigned details for the low-level processing flow optimized to our DNN execution scenario. As shown in Fig. <ref type="figure">3</ref>, GO first partitions the input image and maps them to each WN. Then, after the computation of the convolution operation, each WN reduces the shared part of the output feature map back to GO by key/value pairs. Finally, the GO gathers the output from the WNs and maps them back to the WNs so that each WN can combine the received data with their local output feature map as the input feature map for next convolutional layer. Targeting at higher execution efficiency, the intermediate data are not stored on local disk.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. GTDP -MODEL PARTITION SCHEME</head><p>In this section, we focus on the partition scheme in MeDNN, targeting at workload balance and lower transmission amount.</p><p>Conventional partition schemes for input feature maps usually maintain a structural symmetry, e.g., in <ref type="bibr">[18]</ref>, Coates et al. arranged a GPU cluster into 2D-grids and partitioned the inputs along the twodimensional space, as shown in Fig. <ref type="figure">4</ref>(a). However, partitioning the inputs for a set of heterogeneous mobile devices incurs two extra challenges: 1) In heterogeneous mobile system, each mobile device has various hardware profiles. 2) The number of WNs in a distributed mobile system is dynamically changing.</p><p>We note that the computing time of convolutional layers is primarily dependent on the size of the input feature map, which is experimentally verified in Section VII-C. Therefore, as shown in Fig. <ref type="figure">4(b)</ref>, we redefine the workload as the area of the input feature map divided by the relative computing capability of each WN. Under the precondition of the available WNs with their corresponding workload ratio, our partitioning scheme aims to minimize the communication amount by identifying the shortest combination of lines which split the feature map between each two WNs.  if N &lt;= 1 then</p><p>Split the feature map by the shorter edge and assign them to P [Idx <ref type="bibr">[1]</ref>] and P [Idx <ref type="bibr">[2]</ref>] with the ratio of </p><p>for each enumerate of C i N combinatorics: Enum do</p><p>x OE Enum y OE Idx -Enum return result Output: The optimal partition result:</p><p>The partitioning scheme -Greedy Two Dimensional Partition (GTDP) for the input feature maps of DNN is illustrated in Algorithm 1. With a certain area splitting ratio derived from computing capability of the WNs, our proposed partition scheme exhausts all the potential layouts and greedily finds the optimal partition strategy where the total length of the dividing lines is minimized. It is worth noting that the partition scheme only need to be executed once for a certain computing cluster, which will not affect run-time performance.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VI. SMCD -MODEL PRUNING SCHEME</head><p>In this section, we focus on the pruning scheme in MeDNN, targeting enhanced performance in node-wise computing capability and transmission efficiency.</p><p>In order to boost the efficiency of DNN execution on mobile devices, we explore and exploit the property of sparse DNNs for efficient deployment on mobile devices. Specifically, to take advantage of the predictable redundancy existing in large-scale DNNs, Structured Model Compact Deployment (SMCD) is proposed. SMCD structurely zero-out the model weights during the model training procedure by learning the inner structure of DNN models, which jointly reduces DNNs computing workload and communication amount.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. SMCD with Group Lasso</head><p>The weights of convolutional layers can be represented as a collection of 4-D tensors:   </p><p>where function V (&#8226;) generates the loss induced by the training data corresponding to their labels and the term &#955;R(T ) represents the original regularization method (e.g., L2-norm) utilized to avoid the overfitting problem. Rg(&#8226;) is the additional structured sparsity regularization targeted at generating SMCD using group lasso. More specificly, &#955;gRg(</p><p>&#65533; &#65533; &#65533; &#65533; &#65533; &#65533;, meaning the sum of the G group lasso regularization terms in layer l with their corresponding weight decay &#955;g. Mind that T g</p><p>[l] represents a collection of partial tensors in group g of layer l. Here we denote ||&#8226;|| as the group lasso operator, which is defined as:</p><p>) is the number of tensors in T g [l] and</p><p>. Compared to previous works, the extra pruning phases are relatively simple. After training the DNN models with group lasso regularization for structured sparsity, we discard the group lasso penalty by fine-tuning the sparsified model with the connections of zeros being locked so as to reach a higher accuracy.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. GEMM Operation on Mobile CPUs</head><p>In order to determine the tensors to be studied and group-wise sparsified, we should first characterize the computing overhead of convolutional layers in DNN. Modern deep learning libraries leverage GEneral Matrix to Matrix Multiplication (GEMM) to realize convolution operations due to its consistent memory access pattern and instruction level optimization. As shown in Fig. <ref type="figure">5</ref>, GEMM consists of two steps: the patch to column step shown in Fig. <ref type="figure">5</ref>(a) and the matrix multiplication step shown in Fig. <ref type="figure">5(b)</ref>. Patch to column steps reshape the 3D patches of the input feature map into 1D columns while matrix multiplication steps multiply the reshaped matrix with the filter matrix. From our preliminary experimental results, we find that when performed on mobile CPUs, patch-to-column steps consume 71.6% of the computing time while matrix multiplication steps consume the remaining 28.4%. So, we can conclude that the high execution time of DNNs is due to both the memory intensity of patch-to-column steps and computing intensity of matrix-to-matrix multiplication steps.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Reduce Computing Time with SMCD</head><p>To generate SMCD with reduced computing time, several groups of tensors are selected. From the perspective of the row-wise reduction  of the filter matrix in Fig. <ref type="figure">6</ref>(a), we introduce filter-wise and channelwise group lasso, which is defined as:</p><p>where T f l ,:,:,:</p><p>filter-wisely sparsifies the rows of the filter matrix of the current l th layer. Conversely, T :,c l ,:,:</p><p>channel-wisely sparsifies the rows of the filter matrix of the (l -1) th layer.</p><p>From the perspective of column-wise reduction of the filter matrix, we introduce an arbitrary shape-wise group lasso illustrated in Fig. <ref type="figure">6(b)</ref>, which is formulated as:</p><p>where the columns of the filter matrix are derived by</p><p>By adding the group lasso terms in Eq. 3 and Eq. 4 to target error function Eq. 2, SMCD can be trained to be less computing-intensive using filter-wise &amp; channel-wise group lasso and less memoryintensive with the help of the proposed arbitrary shape-wise group lasso. Suppose the sparsity ratios of a convolutional layer in DNN model are S row and S column for the rows and columns of the original filter matrix, respectively, about S column of the memory usage and S row + S column -Srow &#8677; S column of the floating-point operations (FLOP) would be saved for practical speedup in GEMM.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Reduce Communication Time with SMCD</head><p>Another critical target of SMCD is reducing the communication time in MeDNN by decreasing the transmission amount, or W trans in Eq. 1. Inspired by the 4-D structure view of the weights of the convolutional layers, we can easily find that if the shared parts of tensors are zeroed out for all the filters in spatial height and spatial width, those tensors do not need to be transmitted, resulting in considerable decrease in transmission data size. Fig. <ref type="figure">6(b</ref>) clarifies the rationale of our proposed non-arbitrary group lasso regularization, which can be formulated as:</p><p>For all the filters in each channel, our non-arbitrary group lasso regularization terms include the shape-wise group lasso along spatial height in Eq. 5 and the shape-wise group lasso along spatial width in Eq. 6. It is worth noting that our proposed non-arbitrary shape group lassos in Eq. 5 and Eq. 6 are independent of each other, the selection    of which term to be used depends largely on how we partition the input feature maps (e.g. by columns or by rows). Furthermore, the reduction in transmission size of SMCD is a stand-alone method, which can be combined with other data compression algorithms to further minimize the transmission amount.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VII. EXPERIMENT AND EVALUATION A. System Implementation</head><p>An implementation of a distributed mobile network using the MeDNN framework is established with five Google Nexus 5 smartphones. The implementation of the MeDNN schemes is based on MXNet, which is a deep learning framework developed by the Distributed Machine Learning Community (DMLC) team using C++ <ref type="bibr">[19]</ref>. We customize the MXNet framework through the JAVA Native Interface (JNI) to ensure the capability for the hardware configuration of the target device, Android 4.4.2 operating system, as well as the GEMM computing kernel. To achieve an efficient distributed network parallelism, we adopt Open MPI as the network framework, which relies on SSH for low-level support. Because there is no existing Open MPI and SSH libraries for Android system, we implemented an Android/ARM custumized version and integrated it into the MeDNN framework <ref type="bibr">[20]</ref>. The wireless communication is based on Wi-Fi protocol in a interference-free environment. According to our experimental results, the average baseline for network throughput and delay are 43.8Mbps and 5ms, respectively. The system implementation is depicted in Fig. <ref type="figure">7</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Experiment Setup</head><p>To deploy the test bench on mobile devices without loss of generality, we adopt CaffeNet, an optimized implementation of AlexNet with state-of-the-art performance for image classification tasks <ref type="bibr">[16]</ref>. In the experiments, the performance of the proposed MeDNN is evaluated with five distinct convolutional layers at different scales <ref type="bibr">[21]</ref>. When calculated locally on a single devices, the total execution time of the five layers is 1772ms, which is used as the baseline for later experiment. By leveraging SMCD, three variants of CaffeNet models (Model 1, Model 2, Model 3) are trained, achieving different sparsities and error rate as shown in Fig. <ref type="figure">8</ref>. The increase of model sparsities and error rates is realized by setting incremental weight decays during the training step using SMCD. As the model becomes sparser in Fig. <ref type="figure">8</ref>, the error rates increase from 42.57% to 43.5%. Even when the average layer sparsity reaches 67.1%, the top-1 error rate is still controlled within 0.87%. As can be referred in <ref type="bibr">[14]</ref>, we define the baseline error rate of the original CaffeNet model as 42.63%.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Evaluation of GTDP Scheme</head><p>We first evaluate the performance enhancement through GTDP. Fig. <ref type="figure">9</ref> compares the execution performance between the distributed system (from 2 to 4 WNs) and the single local device, in regard of 5 convolutional layers in CaffeNet. The bars in Fig. <ref type="figure">9</ref> shows that the computing time is inversely proportional to the number of WNs. Compared to 1772ms of the computing time on a single device, the GTDP partitioned model effectively reduced the time to 819ms, 580ms, and 453ms with 2 to 4 WNs respectively. Furthermore, the close-to-linear time reduction with the increasing number of WNs also indicates that the computing time is proportional to the area of the input feature map, implying the correctness of GTDP.</p><p>The dashed lines in Fig. <ref type="figure">9</ref> display the communication time of the distributed systems, which is introduced by the data communication overhead. The communication time increases with the size of the overlapping input feature map, which is introduced with the increment of WNs. Because of our dedicated partition scheme, the transmission amount is well controlled within 134ms, occupying &#8672;14% communication overhead for 2 WNs. And when the number of WNs increases to 4, the communication overhead is stilled maintained under 35% of the total execution time.</p><p>Overall, with GTDP scheme, the total execution time reaches 1.86 -2.44&#8677; speedup on original CaffeNet with the number of WNs increasing from 2 to 4. It is also worth mentioning that the computing time of the three fully-connected layers of CaffeNet on the local single device is about 183ms according to our experiments. Compared to the execution time of the convolutional layers, it can be safely omitted.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Evaluation of SMCD Scheme</head><p>We evaluate the 3 SMCD models with their practical performance on mobile devices, from the perspectives of memory usage (W mem), computing workload (W comp), and transmission amount (Wtrans). Fig. <ref type="figure">10</ref> shows how the memory usage is reduced by SMCD scheme. Optimized for the memory intensive GEMM patch-to-column step, the 3 SMCD models can effectively reduce the memory usage as high as 65.9% in average. Specifically, the SMCD acting on the memory can effectively reduce the computing time by 27%, 35%, and 39% for the 3 models respectively. As patch-to-column steps usually consume 71.6% of the overall computing time in GEMM, this time reduction accounts for, on average, 24% overall computing time. Fig. <ref type="figure">11</ref> depicts how the computing workload (FLOP) is reduced by SMCD during the matrix-to-matrix multiplication step. As the multiplication step is the major bottleneck for the CPU computing, the SMCD models significantly reduced the FLOP by 33% -57%. SMCD reduces the computing time of matrix-to-matrix multiplication steps by 25.7% on average, occupying 12% of total computing time.</p><p>Moreover, the SMCD models also successfully reduce the network transmission amount contributed by the non-arbitrary shape-wise group lasso. Given a distributed mobile network with 4 WNs as shown in Fig. <ref type="figure">12</ref>, the transmission time can be reduced by 23ms, 40ms, and 49ms respectively. Comparing to the 170ms of baseline, the transmission time is reduced by 22%.</p><p>One exception occurs in the results of the first convolutional layer in all the 3 SMCD models. We find the model sparsity remains unchanged for conv1 by utilizing our structured learning with group lasso, which infers no redundancy for the first convolutional layer.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E. Overall Evaluation of MeDNN System</head><p>Table I completely summarizes the overall execution time when deploying the original DNN model and 3 SMCD pruned models locally and on 2, 3, and 4 WNs. For each model, the computing time is shown in the left column while the communication time is shown in the middle. Thanks to the contribution of both GTDP and SMCD in MeDNN, compared to local execution of original model, the total execution achieves a 3.15&#8677;, 3.45&#8677;, and 3.76&#8677; speed boost with 4 WNs for model1, model2, and model3, respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VIII. CONCLUSION</head><p>In this work, we propose MeDNN -a local distributed mobile computing system to enhance the DNN performance on mobile devices. The proposed MeDNN framework utilize GTDP to promote the computation parallelism in distributed mobile network. GTDP effectively partitions the DNN model in regard of varying computing resource of mobile devices. Experiments show that, the partition scheme can accelerate the execution time by 1.86 -2.44&#8677; with 2 -4 WNs. Also, the other MeDNN scheme -SMCD could effectively enhance the deployment efficiency of DNNs by 26.5% and 14.2% of the computing and communication time, respectively. Overall, the proposed MeDNN demonstrates close-to-linear performance (3.76&#8677; speedup for 4 WNs) enhancement for the DNN execution on mobile devices, expanding the application opportunities of machine intelligence in more practical mobile scenarios.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IX. ACKNOWLEDGMENT</head><p>This work was supported in part by NSF grants CNS-1717657 and SPX-1725456.</p></div></body>
		</text>
</TEI>
