{"id":{"repo_id":"rice","oai_identifier":"oai:repository.rice.edu:1911/105503"},"canonical_url":"https://search.ndltd.org/etd/rice/oai:repository.rice.edu:1911/105503","repository":{"repo_id":"rice","name":"Rice University","base_url":"https://repository.rice.edu/server/oai/request"},"display":{"title":"Optimizing Convolutions in State-of-the-art Convolutional Neural Networks on Intel Xeon Phi","abstract":"Convolution layers are the core of Convolutional Neural Networks (CNNs), a class of Deep Neural Networks which provide state-of-the-art results in pattern recognition tasks in various domains, such as image recognition, speech recognition, and natural language processing. However, CNNs are very time consuming to train due to the computationally intensive nature of convolution operation. As a result, we have a prolific number of optimized implementations of convolution using matrix-matrix multiplication formulation, FFT formulation, Winograd algorithm, and direct convolution. Interestingly, most of these implementations target GPU architecture, which is mainly due to - 1) higher theoretical peak FLOPs of GPU and 2) popularity of CUDA deep learning library. However, not much investigation has been done on the performance of convolution on high-end CPUs such as Intel second generation Xeon Phi, codenamed Knights Landing (KNL) with theoretical peak performance of 6 TFLOPS. So, here we shed some light on what we can achieve regarding performance for convolution on these high-end CPUs. In this work, we optimize directed convolution for Intel Xeon Phi systems with AVX-512 support. Our strategy involves dynamic compilation approach along with standard compiler optimizations and software prefetching. We show that our JIT-based approach for direct convolution achieves close to peak performance on KNL for many cases. We also analyze the performance of convolution layers of several state-of-the-art CNNs, pointing out what helps in performance gain and what breaks our approach.","abstract_html":"Convolution layers are the core of Convolutional Neural Networks (CNNs), a class of Deep Neural Networks which provide state-of-the-art results in pattern recognition tasks in various domains, such as image recognition, speech recognition, and natural language processing. However, CNNs are very time consuming to train due to the computationally intensive nature of convolution operation. As a result, we have a prolific number of optimized implementations of convolution using matrix-matrix multiplication formulation, FFT formulation, Winograd algorithm, and direct convolution. Interestingly, most of these implementations target GPU architecture, which is mainly due to - 1) higher theoretical peak FLOPs of GPU and 2) popularity of CUDA deep learning library. However, not much investigation has been done on the performance of convolution on high-end CPUs such as Intel second generation Xeon Phi, codenamed Knights Landing (KNL) with theoretical peak performance of 6 TFLOPS. So, here we shed some light on what we can achieve regarding performance for convolution on these high-end CPUs. In this work, we optimize directed convolution for Intel Xeon Phi systems with AVX-512 support. Our strategy involves dynamic compilation approach along with standard compiler optimizations and software prefetching. We show that our JIT-based approach for direct convolution achieves close to peak performance on KNL for many cases. We also analyze the performance of convolution layers of several state-of-the-art CNNs, pointing out what helps in performance gain and what breaks our approach.","abstract_has_math":false,"creators":["Mandal, Ankush"],"institution":"Rice University","degree_name":"Master of Science","degree_level":"Masters","degree_discipline":"Engineering","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Sarkar, Vivek"],"committee_chairs":[],"committee_members":[],"year":2017,"date_issued":"2017-08-11","date_published":"2017-08-11","updated_at":"2026-11-19T09:21:20Z","subjects":["Convolution","JIT","Xeon Phi"],"languages":["eng"],"rights":["Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Mandal, Ankush. \"Optimizing Convolutions in State-of-the-art Convolutional Neural Networks on Intel Xeon Phi.\" (2017) Master’s Thesis, Rice University. https://hdl.handle.net/1911/105503"],"render_values":[{"text":"Mandal, Ankush. \"Optimizing Convolutions in State-of-the-art Convolutional Neural Networks on Intel Xeon Phi.\" (2017) Master’s Thesis, Rice University. https://hdl.handle.net/1911/105503","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1911/105503","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1911/105503","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Arice%3Aoai%3Arepository.rice.edu%3A1911%2F105503","prefix":"oai_dc"},"source_record":{"url":"https://repository.rice.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.rice.edu%3A1911%2F105503","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Sarkar, Vivek"]},{"key":"dc:creator","label":"Author","values":["Mandal, Ankush"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2019-05-16T20:20:54Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2019-05-16T20:20:54Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2017-08"]},{"key":"dc:date.issued","label":"Date","values":["2017-08-11"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["August 2017"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2019-05-16T20:20:54Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","Text"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:degree_program","label":"Thesis Degree Program","values":["Parallel Computing"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Rice University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Convolution","JIT","Xeon Phi"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Mandal, Ankush. \"Optimizing Convolutions in State-of-the-art Convolutional Neural Networks on Intel Xeon Phi.\" (2017) Master’s Thesis, Rice University. https://hdl.handle.net/1911/105503"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1911/105503"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Convolution layers are the core of Convolutional Neural Networks (CNNs), a class of Deep Neural Networks which provide state-of-the-art results in pattern recognition tasks in various domains, such as image recognition, speech recognition, and natural language processing. However, CNNs are very time consuming to train due to the computationally intensive nature of convolution operation. As a result, we have a prolific number of optimized implementations of convolution using matrix-matrix multiplication formulation, FFT formulation, Winograd algorithm, and direct convolution. Interestingly, most of these implementations target GPU architecture, which is mainly due to - 1) higher theoretical peak FLOPs of GPU and 2) popularity of CUDA deep learning library. However, not much investigation has been done on the performance of convolution on high-end CPUs such as Intel second generation Xeon Phi, codenamed Knights Landing (KNL) with theoretical peak performance of 6 TFLOPS. So, here we shed some light on what we can achieve regarding performance for convolution on these high-end CPUs. In this work, we optimize directed convolution for Intel Xeon Phi systems with AVX-512 support. Our strategy involves dynamic compilation approach along with standard compiler optimizations and software prefetching. We show that our JIT-based approach for direct convolution achieves close to peak performance on KNL for many cases. We also analyze the performance of convolution layers of several state-of-the-art CNNs, pointing out what helps in performance gain and what breaks our approach."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Optimizing Convolutions in State-of-the-art Convolutional Neural Networks on Intel Xeon Phi"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Sarkar, Vivek"],"dc:creator":["Mandal, Ankush"],"dc:date.accessioned":["2019-05-16T20:20:54Z"],"dc:date.available":["2019-05-16T20:20:54Z"],"dc:date.created":["2017-08"],"dc:date.issued":["2017-08-11"],"dc:date.submitted":["August 2017"],"dc:date.updated":["2019-05-16T20:20:54Z"],"dc:description.abstract":["Convolution layers are the core of Convolutional Neural Networks (CNNs), a class of Deep Neural Networks which provide state-of-the-art results in pattern recognition tasks in various domains, such as image recognition, speech recognition, and natural language processing. However, CNNs are very time consuming to train due to the computationally intensive nature of convolution operation. As a result, we have a prolific number of optimized implementations of convolution using matrix-matrix multiplication formulation, FFT formulation, Winograd algorithm, and direct convolution. Interestingly, most of these implementations target GPU architecture, which is mainly due to - 1) higher theoretical peak FLOPs of GPU and 2) popularity of CUDA deep learning library. However, not much investigation has been done on the performance of convolution on high-end CPUs such as Intel second generation Xeon Phi, codenamed Knights Landing (KNL) with theoretical peak performance of 6 TFLOPS. So, here we shed some light on what we can achieve regarding performance for convolution on these high-end CPUs. In this work, we optimize directed convolution for Intel Xeon Phi systems with AVX-512 support. Our strategy involves dynamic compilation approach along with standard compiler optimizations and software prefetching. We show that our JIT-based approach for direct convolution achieves close to peak performance on KNL for many cases. We also analyze the performance of convolution layers of several state-of-the-art CNNs, pointing out what helps in performance gain and what breaks our approach."],"dc:format.mimetype":["application/pdf"],"dc:identifier.citation":["Mandal, Ankush. \"Optimizing Convolutions in State-of-the-art Convolutional Neural Networks on Intel Xeon Phi.\" (2017) Master’s Thesis, Rice University. https://hdl.handle.net/1911/105503"],"dc:identifier.uri":["https://hdl.handle.net/1911/105503"],"dc:language.iso":["eng"],"dc:rights":["Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder."],"dc:subject":["Convolution","JIT","Xeon Phi"],"dc:title":["Optimizing Convolutions in State-of-the-art Convolutional Neural Networks on Intel Xeon Phi"],"dc:type":["Thesis","Text"],"others:access_status":["open.access"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Engineering"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science"],"thesis:degree_program":["Parallel Computing"],"thesis:institution_name":["Rice University"]},"updated_at":"2026-11-19T09:21:20Z"}