{"id":{"repo_id":"chicago","oai_identifier":"oai:knowledge.uchicago.edu:4w4xp-dty52"},"canonical_url":"https://search.ndltd.org/etd/chicago/oai:knowledge.uchicago.edu:4w4xp-dty52","repository":{"repo_id":"chicago","name":"University of Chicago","base_url":"https://knowledge.uchicago.edu/oai2d"},"display":{"title":"Correctness, Performance, and Energy-Efficiency: Improving Software Systems That Use Machine Learning Components","abstract":"An increasing number of software applications adopt machine learning (ML) components to solve real-world problems. The offering of ML cloud APIs further ease developers' burden of incorporating ML solutions, typically deep neural networks (DNNs). However, to achieve a correct, fast, and energy-efficient ML application, developers still need to carefully design its three crucial components: ML algorithm, system environment, and software context. To improve correctness, performance, and energy-efficiency of ML applications, this dissertation works on these components and makes the following contributions: First, to enhance the flexibility of neural networks, this dissertation proposes a novel neural network architecture and a customized optimizer that support anytime prediction. This design allows one neural network to generate a series of increasingly accurate outputs over time without sacrificing accuracy for flexibility. Second, this dissertation designs a run-time scheduler ALERT, which further manages system resources. ALERT holistically configures neural networks and system resources together to meet application-specific accuracy, performance, and energy-consumption constraints. It uses a probabilistic model to detect environmental volatility and makes use of the full potential of the DNN candidate set to optimize performance and satisfy constraints. Third, to understand the challenges of developing ML software, this dissertation conducts the first comprehensive study about how real-world applications are using machine learning cloud APIs. We generalize 8 anti-patterns that degrade functional, performance, or economical quality of the software. Fourth, guided by this study, we propose Keeper, a new testing framework for software systems that use machine learning APIs. Keeper automatically generates many test cases to thoroughly test every branch in the specified function and its callees. It analyzes the test runs and reports many failures, as well as potential patches, to developers.","abstract_html":"An increasing number of software applications adopt machine learning (ML) components to solve real-world problems. The offering of ML cloud APIs further ease developers&#x27; burden of incorporating ML solutions, typically deep neural networks (DNNs). However, to achieve a correct, fast, and energy-efficient ML application, developers still need to carefully design its three crucial components: ML algorithm, system environment, and software context. To improve correctness, performance, and energy-efficiency of ML applications, this dissertation works on these components and makes the following contributions: First, to enhance the flexibility of neural networks, this dissertation proposes a novel neural network architecture and a customized optimizer that support anytime prediction. This design allows one neural network to generate a series of increasingly accurate outputs over time without sacrificing accuracy for flexibility. Second, this dissertation designs a run-time scheduler ALERT, which further manages system resources. ALERT holistically configures neural networks and system resources together to meet application-specific accuracy, performance, and energy-consumption constraints. It uses a probabilistic model to detect environmental volatility and makes use of the full potential of the DNN candidate set to optimize performance and satisfy constraints. Third, to understand the challenges of developing ML software, this dissertation conducts the first comprehensive study about how real-world applications are using machine learning cloud APIs. We generalize 8 anti-patterns that degrade functional, performance, or economical quality of the software. Fourth, guided by this study, we propose Keeper, a new testing framework for software systems that use machine learning APIs. Keeper automatically generates many test cases to thoroughly test every branch in the specified function and its callees. It analyzes the test runs and reports many failures, as well as potential patches, to developers.","abstract_has_math":false,"creators":["Wan, Chengcheng"],"institution":"University of Chicago","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Lu, Shan"],"committee_chairs":[],"committee_members":[],"year":2022,"date_issued":"2022-06","date_published":"2022-06","updated_at":"2026-11-27T17:36:32Z","subjects":["Computer science","machine learning","performance optimization","software testing"],"languages":["eng"],"rights":["Creative Commons Attribution Non Commercial 4.0 International","Distribution License","© 2022 Chengcheng Wan"],"rights_urls":["https://creativecommons.org/licenses/by-nc/4.0/","http://rightsstatements.org/vocab/InC/1.0/"],"identifier_entries":[{"key":"datacite:relatedidentifier.type","label":"Datacite Relatedidentifier Type","values":["DOI","URL"],"render_values":[{"text":"DOI","href":null,"code":true},{"text":"URL","href":null,"code":true}]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["oai:knowledge.uchicago.edu:4w4xp-dty52","oai:uchicago.tind.io:3999"],"render_values":[{"text":"oai:knowledge.uchicago.edu:4w4xp-dty52","href":null,"code":true},{"text":"oai:uchicago.tind.io:3999","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.6082/uchicago.3999","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.6082/uchicago.3999","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","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%3Achicago%3Aoai%3Aknowledge.uchicago.edu%3A4w4xp-dty52","prefix":"oai_dc"},"source_record":{"url":"https://knowledge.uchicago.edu/oai2d?verb=GetRecord&metadataPrefix=datacite&identifier=oai%3Aknowledge.uchicago.edu%3A4w4xp-dty52","prefix":"datacite"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["Hoffmann, Henry","Maire, Michael"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Lu, Shan"]},{"key":"dc:creator","label":"Author","values":["Wan, Chengcheng"]},{"key":"person:familyname","label":"Person Familyname","values":["Wan","Lu","Hoffmann","Maire"]},{"key":"person:givenname","label":"Person Givenname","values":["Chengcheng","Shan","Henry","Michael"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.issued","label":"Date","values":["2022-06"]},{"key":"dc:date.published","label":"Dc Date Published","values":["2022"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-05-22"]},{"key":"dc:publisher","label":"Institution","values":["University of Chicago"]},{"key":"dc:relation.ispartof","label":"Dc Relation Ispartof","values":["https://knowledge.uchicago.edu/communities/physical-sciences-division/","https://knowledge.uchicago.edu/communities/uchicago-dissertations/"]},{"key":"dc:relation.isversionof","label":"Dc Relation Isversionof","values":["10.6082/s9xtx-17c46"]},{"key":"dc:type.datacite","label":"Dc Type Datacite","values":["Dissertation"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer science","machine learning","performance optimization","software testing"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Creative Commons Attribution Non Commercial 4.0 International","Distribution License","© 2022 Chengcheng Wan"]},{"key":"dc:rights.license","label":"Dc Rights License","values":["cc-by-nc-4.0"]},{"key":"dc:rights.uri","label":"Rights URI","values":["https://creativecommons.org/licenses/by-nc/4.0/","http://rightsstatements.org/vocab/InC/1.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["10.6082/uchicago.3999"]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["oai:knowledge.uchicago.edu:4w4xp-dty52","oai:uchicago.tind.io:3999"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"datacite:nametype","label":"Datacite Nametype","values":["Personal"]},{"key":"datacite:relatedidentifier.type","label":"Datacite Relatedidentifier Type","values":["DOI","URL"]},{"key":"dc:description.abstract","label":"Abstract","values":["An increasing number of software applications adopt machine learning (ML) components to solve real-world problems. The offering of ML cloud APIs further ease developers' burden of incorporating ML solutions, typically deep neural networks (DNNs). However, to achieve a correct, fast, and energy-efficient ML application, developers still need to carefully design its three crucial components: ML algorithm, system environment, and software context. To improve correctness, performance, and energy-efficiency of ML applications, this dissertation works on these components and makes the following contributions: First, to enhance the flexibility of neural networks, this dissertation proposes a novel neural network architecture and a customized optimizer that support anytime prediction. This design allows one neural network to generate a series of increasingly accurate outputs over time without sacrificing accuracy for flexibility. Second, this dissertation designs a run-time scheduler ALERT, which further manages system resources. ALERT holistically configures neural networks and system resources together to meet application-specific accuracy, performance, and energy-consumption constraints. It uses a probabilistic model to detect environmental volatility and makes use of the full potential of the DNN candidate set to optimize performance and satisfy constraints. Third, to understand the challenges of developing ML software, this dissertation conducts the first comprehensive study about how real-world applications are using machine learning cloud APIs. We generalize 8 anti-patterns that degrade functional, performance, or economical quality of the software. Fourth, guided by this study, we propose Keeper, a new testing framework for software systems that use machine learning APIs. Keeper automatically generates many test cases to thoroughly test every branch in the specified function and its callees. It analyzes the test runs and reports many failures, as well as potential patches, to developers."]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["123 pages"]},{"key":"dc:title","label":"Title","values":["Correctness, Performance, and Energy-Efficiency: Improving Software Systems That Use Machine Learning Components"]},{"key":"mods:affiliation","label":"Mods Affiliation","values":["University of Chicago"]}]}],"canonical_facts":{"datacite:nametype":["Personal"],"datacite:relatedidentifier.type":["DOI","URL"],"dc:contributor.other":["Hoffmann, Henry","Maire, Michael"],"dc:contributor.supervisor":["Lu, Shan"],"dc:creator":["Wan, Chengcheng"],"dc:date.issued":["2022-06"],"dc:date.published":["2022"],"dc:date.updated":["2026-05-22"],"dc:description.abstract":["An increasing number of software applications adopt machine learning (ML) components to solve real-world problems. The offering of ML cloud APIs further ease developers' burden of incorporating ML solutions, typically deep neural networks (DNNs). However, to achieve a correct, fast, and energy-efficient ML application, developers still need to carefully design its three crucial components: ML algorithm, system environment, and software context. To improve correctness, performance, and energy-efficiency of ML applications, this dissertation works on these components and makes the following contributions: First, to enhance the flexibility of neural networks, this dissertation proposes a novel neural network architecture and a customized optimizer that support anytime prediction. This design allows one neural network to generate a series of increasingly accurate outputs over time without sacrificing accuracy for flexibility. Second, this dissertation designs a run-time scheduler ALERT, which further manages system resources. ALERT holistically configures neural networks and system resources together to meet application-specific accuracy, performance, and energy-consumption constraints. It uses a probabilistic model to detect environmental volatility and makes use of the full potential of the DNN candidate set to optimize performance and satisfy constraints. Third, to understand the challenges of developing ML software, this dissertation conducts the first comprehensive study about how real-world applications are using machine learning cloud APIs. We generalize 8 anti-patterns that degrade functional, performance, or economical quality of the software. Fourth, guided by this study, we propose Keeper, a new testing framework for software systems that use machine learning APIs. Keeper automatically generates many test cases to thoroughly test every branch in the specified function and its callees. It analyzes the test runs and reports many failures, as well as potential patches, to developers."],"dc:format.extent":["123 pages"],"dc:identifier.doi":["10.6082/uchicago.3999"],"dc:identifier.other":["oai:knowledge.uchicago.edu:4w4xp-dty52","oai:uchicago.tind.io:3999"],"dc:language":["eng"],"dc:publisher":["University of Chicago"],"dc:relation.ispartof":["https://knowledge.uchicago.edu/communities/physical-sciences-division/","https://knowledge.uchicago.edu/communities/uchicago-dissertations/"],"dc:relation.isversionof":["10.6082/s9xtx-17c46"],"dc:rights":["Creative Commons Attribution Non Commercial 4.0 International","Distribution License","© 2022 Chengcheng Wan"],"dc:rights.license":["cc-by-nc-4.0"],"dc:rights.uri":["https://creativecommons.org/licenses/by-nc/4.0/","http://rightsstatements.org/vocab/InC/1.0/"],"dc:subject":["Computer science","machine learning","performance optimization","software testing"],"dc:title":["Correctness, Performance, and Energy-Efficiency: Improving Software Systems That Use Machine Learning Components"],"dc:type.datacite":["Dissertation"],"mods:affiliation":["University of Chicago"],"person:familyname":["Wan","Lu","Hoffmann","Maire"],"person:givenname":["Chengcheng","Shan","Henry","Michael"]},"updated_at":"2026-11-27T17:36:32Z"}