{"id":{"repo_id":"gatech","oai_identifier":"oai:repository.gatech.edu:1853/75269"},"canonical_url":"https://search.ndltd.org/etd/gatech/oai:repository.gatech.edu:1853/75269","repository":{"repo_id":"gatech","name":"Georgia Tech","base_url":"https://repository.gatech.edu/server/oai/request"},"display":{"title":"Leveraging machine learning for enhancing code performance and programming productivity","abstract":"As hardware performance continues to improve with the increase of hardware complexity and diversification, software struggles to keep up and fully realize these performance gains. Only a handful of expert programmers can harness the full potential of modern hardware using hardware-exposed low-level programming primitives. Meanwhile, the widespread adoption of high-level dynamically-typed programming languages like Python and JavaScript provides high productivity but suffers from low performance due to the lack of static type information necessary for compiler optimizations. Therefore, it becomes increasingly difficult to enable the development of high-performance programs capable of utilizing the potential performance provided by evolving hardware while maintaining high programming productivity for mass developers. This thesis proposes the use of machine learning to enhance both programming productivity and code performance. First, we present a neural network based system that can compute code-semantics similarity in C/C++ code, with the goal of identifying semantically equivalent high-performance code for a given low-performance input code; this approach incorporates a context-aware semantics structure and an extensible neural code similarity scoring algorithm. Then, we show how a graph-based deep learning type inference method can be used to infer types in JavaScript to help productivity; our approach employs multiple graph neural network models and a novel type flow graph representation to infer types in dynamically-typed languages without manual annotations. Finally, we demonstrate a new approach to concrete type inference for Python programs, enabling ahead-of-time code optimization for dynamically-typed languages by combining machine learning and SMT solving without requiring programmers to provide any type annotation.","abstract_html":"As hardware performance continues to improve with the increase of hardware complexity and diversification, software struggles to keep up and fully realize these performance gains. Only a handful of expert programmers can harness the full potential of modern hardware using hardware-exposed low-level programming primitives. Meanwhile, the widespread adoption of high-level dynamically-typed programming languages like Python and JavaScript provides high productivity but suffers from low performance due to the lack of static type information necessary for compiler optimizations. Therefore, it becomes increasingly difficult to enable the development of high-performance programs capable of utilizing the potential performance provided by evolving hardware while maintaining high programming productivity for mass developers. This thesis proposes the use of machine learning to enhance both programming productivity and code performance. First, we present a neural network based system that can compute code-semantics similarity in C/C++ code, with the goal of identifying semantically equivalent high-performance code for a given low-performance input code; this approach incorporates a context-aware semantics structure and an extensible neural code similarity scoring algorithm. Then, we show how a graph-based deep learning type inference method can be used to infer types in JavaScript to help productivity; our approach employs multiple graph neural network models and a novel type flow graph representation to infer types in dynamically-typed languages without manual annotations. Finally, we demonstrate a new approach to concrete type inference for Python programs, enabling ahead-of-time code optimization for dynamically-typed languages by combining machine learning and SMT solving without requiring programmers to provide any type annotation.","abstract_has_math":false,"creators":["Ye, Fangke"],"institution":"Georgia Institute of Technology","degree_name":null,"degree_level":"Doctoral","degree_discipline":null,"degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Sarkar, Vivek"],"committee_chairs":[],"committee_members":["Zhao, Jisheng","Pande, Santosh","Zhang, Qirun","Hashemi, Milad"],"year":2024,"date_issued":"2024-04-25","date_published":"2024-04-25","updated_at":"2026-11-19T05:16:15Z","subjects":["Machine learning","Program analysis","Code similarity","Type inference","Code optimization"],"languages":["en_US"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1853/75269","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1853/75269","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://repository.gatech.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.gatech.edu%3A1853%2F75269","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Sarkar, Vivek"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Zhao, Jisheng","Pande, Santosh","Zhang, Qirun","Hashemi, Milad"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science"]},{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["College of Computing","School of Computer Science"]},{"key":"dc:creator","label":"Author","values":["Ye, Fangke"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2024-05-23T19:40:29Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2024-05-23T19:40:29Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2024-05"]},{"key":"dc:date.issued","label":"Date","values":["2024-04-25"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["May 2024"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2024-05-23T19:40:29Z"]},{"key":"dc:publisher","label":"Institution","values":["Georgia Institute of Technology"]},{"key":"dc:relation.advisorentity","label":"Dc Relation Advisorentity","values":["8579ad6d-7415-4b85-acb4-f0f64097a57d"]},{"key":"dc:relation.ispartofseries","label":"Dc Relation Ispartofseries","values":["Doctor of Philosophy with a Major in Computer Science"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["c8892b3c-8db6-4b7b-a33a-1b67f7db2021","6b42174a-e0e1-40e3-a581-47bed0470a1e"]},{"key":"dc:relation.seriesentity","label":"Dc Relation Seriesentity","values":["41e6384f-fa8d-4c63-917f-a26900b10f64"]},{"key":"dc:type","label":"Dc Type","values":["Text","Dissertation"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Doctoral"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Machine learning","Program analysis","Code similarity","Type inference","Code optimization"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en_US"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1853/75269"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["As hardware performance continues to improve with the increase of hardware complexity and diversification, software struggles to keep up and fully realize these performance gains. Only a handful of expert programmers can harness the full potential of modern hardware using hardware-exposed low-level programming primitives. Meanwhile, the widespread adoption of high-level dynamically-typed programming languages like Python and JavaScript provides high productivity but suffers from low performance due to the lack of static type information necessary for compiler optimizations. Therefore, it becomes increasingly difficult to enable the development of high-performance programs capable of utilizing the potential performance provided by evolving hardware while maintaining high programming productivity for mass developers. This thesis proposes the use of machine learning to enhance both programming productivity and code performance. First, we present a neural network based system that can compute code-semantics similarity in C/C++ code, with the goal of identifying semantically equivalent high-performance code for a given low-performance input code; this approach incorporates a context-aware semantics structure and an extensible neural code similarity scoring algorithm. Then, we show how a graph-based deep learning type inference method can be used to infer types in JavaScript to help productivity; our approach employs multiple graph neural network models and a novel type flow graph representation to infer types in dynamically-typed languages without manual annotations. Finally, we demonstrate a new approach to concrete type inference for Python programs, enabling ahead-of-time code optimization for dynamically-typed languages by combining machine learning and SMT solving without requiring programmers to provide any type annotation."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Ph.D."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Leveraging machine learning for enhancing code performance and programming productivity"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"dc:contributor.advisor":["Sarkar, Vivek"],"dc:contributor.committeemember":["Zhao, Jisheng","Pande, Santosh","Zhang, Qirun","Hashemi, Milad"],"dc:contributor.department":["Computer Science"],"dc:contributor.other":["College of Computing","School of Computer Science"],"dc:creator":["Ye, Fangke"],"dc:date.accessioned":["2024-05-23T19:40:29Z"],"dc:date.available":["2024-05-23T19:40:29Z"],"dc:date.created":["2024-05"],"dc:date.issued":["2024-04-25"],"dc:date.submitted":["May 2024"],"dc:date.updated":["2024-05-23T19:40:29Z"],"dc:description.abstract":["As hardware performance continues to improve with the increase of hardware complexity and diversification, software struggles to keep up and fully realize these performance gains. Only a handful of expert programmers can harness the full potential of modern hardware using hardware-exposed low-level programming primitives. Meanwhile, the widespread adoption of high-level dynamically-typed programming languages like Python and JavaScript provides high productivity but suffers from low performance due to the lack of static type information necessary for compiler optimizations. Therefore, it becomes increasingly difficult to enable the development of high-performance programs capable of utilizing the potential performance provided by evolving hardware while maintaining high programming productivity for mass developers. This thesis proposes the use of machine learning to enhance both programming productivity and code performance. First, we present a neural network based system that can compute code-semantics similarity in C/C++ code, with the goal of identifying semantically equivalent high-performance code for a given low-performance input code; this approach incorporates a context-aware semantics structure and an extensible neural code similarity scoring algorithm. Then, we show how a graph-based deep learning type inference method can be used to infer types in JavaScript to help productivity; our approach employs multiple graph neural network models and a novel type flow graph representation to infer types in dynamically-typed languages without manual annotations. Finally, we demonstrate a new approach to concrete type inference for Python programs, enabling ahead-of-time code optimization for dynamically-typed languages by combining machine learning and SMT solving without requiring programmers to provide any type annotation."],"dc:description.degree":["Ph.D."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/1853/75269"],"dc:language.iso":["en_US"],"dc:publisher":["Georgia Institute of Technology"],"dc:relation.advisorentity":["8579ad6d-7415-4b85-acb4-f0f64097a57d"],"dc:relation.ispartofseries":["Doctor of Philosophy with a Major in Computer Science"],"dc:relation.orgunit":["c8892b3c-8db6-4b7b-a33a-1b67f7db2021","6b42174a-e0e1-40e3-a581-47bed0470a1e"],"dc:relation.seriesentity":["41e6384f-fa8d-4c63-917f-a26900b10f64"],"dc:subject":["Machine learning","Program analysis","Code similarity","Type inference","Code optimization"],"dc:title":["Leveraging machine learning for enhancing code performance and programming productivity"],"dc:type":["Text","Dissertation"],"dspace:entity.type":["Publication"],"thesis:degree_level":["Doctoral"]},"updated_at":"2026-11-19T05:16:15Z"}