{"id":{"repo_id":"washington","oai_identifier":"oai:digital.lib.washington.edu:1773/57752"},"canonical_url":"https://search.ndltd.org/etd/washington/oai:digital.lib.washington.edu:1773/57752","repository":{"repo_id":"washington","name":"University of Washington","base_url":"https://digital.lib.washington.edu/server/oai/request"},"display":{"title":"Joint Optimization of Deep Neural Networks with Dynamic Programming and Spatial Compression","abstract":"Implementing high-performance deep neural network inference requires deciding how to fuse operations, how to tile loops, where to place data and when to move it, how to pack data in buffers, and which instructions and microkernels to select, among other decisions. These choices interact; for instance, increasing a tile size might amortize the cost of packing data, or fusing operators might adjust a trade-off between recomputation and storage. Because these choices interact, finding an optimal implementation requires selecting from the Cartesian product of possible decisions, a space that is typically too large to enumerate exhaustively. Compilers and auto-schedulers manage this combinatorial explosion by exploring only a small fraction of the search space, using some combination of fixed transformation sequences, heuristic search, and computation graph partitioning where sub-graphs are optimized separately. In contrast, this dissertation develops a novel method of exhaustively searching spaces of implementations. The approach has two parts. First, it formulates the optimization problem as one with optimal substructure by developing a compositional intermediate representation and corresponding cost model. Optimization proceeds by recursively rewriting program specifications into partial programs whose leaves may be smaller specifications. Optimal implementations of those sub-specifications compose into an optimal implementation of the parent specification. Second, the approach improve the space efficiency of memoizing optimal implementations with a spatial database that maps specifications to integer coordinates and compresses adjacent, identical optima. We evaluate this approach by developing the Morello compiler. Using Morello, we synthesize and benchmark implementations of matrix multiplication and softmax for two x86 CPUs. The generated code is competitive with, and sometimes faster than, mature baselines. We also evaluate Morello's spatial memoization database, showing that it reduces storage requirements by several orders of magnitude relative to storing each specification's optimum independently.","abstract_html":"Implementing high-performance deep neural network inference requires deciding how to fuse operations, how to tile loops, where to place data and when to move it, how to pack data in buffers, and which instructions and microkernels to select, among other decisions. These choices interact; for instance, increasing a tile size might amortize the cost of packing data, or fusing operators might adjust a trade-off between recomputation and storage. Because these choices interact, finding an optimal implementation requires selecting from the Cartesian product of possible decisions, a space that is typically too large to enumerate exhaustively. Compilers and auto-schedulers manage this combinatorial explosion by exploring only a small fraction of the search space, using some combination of fixed transformation sequences, heuristic search, and computation graph partitioning where sub-graphs are optimized separately. In contrast, this dissertation develops a novel method of exhaustively searching spaces of implementations. The approach has two parts. First, it formulates the optimization problem as one with optimal substructure by developing a compositional intermediate representation and corresponding cost model. Optimization proceeds by recursively rewriting program specifications into partial programs whose leaves may be smaller specifications. Optimal implementations of those sub-specifications compose into an optimal implementation of the parent specification. Second, the approach improve the space efficiency of memoizing optimal implementations with a spatial database that maps specifications to integer coordinates and compresses adjacent, identical optima. We evaluate this approach by developing the Morello compiler. Using Morello, we synthesize and benchmark implementations of matrix multiplication and softmax for two x86 CPUs. The generated code is competitive with, and sometimes faster than, mature baselines. We also evaluate Morello&#x27;s spatial memoization database, showing that it reduces storage requirements by several orders of magnitude relative to storing each specification&#x27;s optimum independently.","abstract_has_math":false,"creators":["Kaufman, Samuel James"],"institution":null,"degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Just, René"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-09-16","date_published":"2026-09-16","updated_at":"2026-11-18T20:08:40Z","subjects":["auto-scheduling","code generation","compilation","deep neural networks","machine learning","program synthesis","Computer science","Computer science and engineering"],"languages":["en_US"],"rights":["CC BY-SA"],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1773/57752","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1773/57752","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://digital.lib.washington.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adigital.lib.washington.edu%3A1773%2F57752","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Just, René"]},{"key":"dc:creator","label":"Author","values":["Kaufman, Samuel James"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-09-16T18:24:56Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-09-16"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2026"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["auto-scheduling","code generation","compilation","deep neural networks","machine learning","program synthesis","Computer science"]},{"key":"dc:subject.other","label":"Dc Subject Other","values":["Computer science and engineering"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en_US"]},{"key":"dc:rights","label":"Dc Rights","values":["CC BY-SA"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["Kaufman_washington_0250E_30265.pdf"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1773/57752"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Thesis (Ph.D.)--University of Washington, 2026"]},{"key":"dc:description.abstract","label":"Abstract","values":["Implementing high-performance deep neural network inference requires deciding how to fuse operations, how to tile loops, where to place data and when to move it, how to pack data in buffers, and which instructions and microkernels to select, among other decisions. These choices interact; for instance, increasing a tile size might amortize the cost of packing data, or fusing operators might adjust a trade-off between recomputation and storage. Because these choices interact, finding an optimal implementation requires selecting from the Cartesian product of possible decisions, a space that is typically too large to enumerate exhaustively. Compilers and auto-schedulers manage this combinatorial explosion by exploring only a small fraction of the search space, using some combination of fixed transformation sequences, heuristic search, and computation graph partitioning where sub-graphs are optimized separately. In contrast, this dissertation develops a novel method of exhaustively searching spaces of implementations. The approach has two parts. First, it formulates the optimization problem as one with optimal substructure by developing a compositional intermediate representation and corresponding cost model. Optimization proceeds by recursively rewriting program specifications into partial programs whose leaves may be smaller specifications. Optimal implementations of those sub-specifications compose into an optimal implementation of the parent specification. Second, the approach improve the space efficiency of memoizing optimal implementations with a spatial database that maps specifications to integer coordinates and compresses adjacent, identical optima. We evaluate this approach by developing the Morello compiler. Using Morello, we synthesize and benchmark implementations of matrix multiplication and softmax for two x86 CPUs. The generated code is competitive with, and sometimes faster than, mature baselines. We also evaluate Morello's spatial memoization database, showing that it reduces storage requirements by several orders of magnitude relative to storing each specification's optimum independently."]},{"key":"dc:embargo.terms","label":"Dc Embargo Terms","values":["Open Access"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Joint Optimization of Deep Neural Networks with Dynamic Programming and Spatial Compression"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Just, René"],"dc:creator":["Kaufman, Samuel James"],"dc:date.accessioned":["2026-09-16T18:24:56Z"],"dc:date.issued":["2026-09-16"],"dc:date.submitted":["2026"],"dc:description":["Thesis (Ph.D.)--University of Washington, 2026"],"dc:description.abstract":["Implementing high-performance deep neural network inference requires deciding how to fuse operations, how to tile loops, where to place data and when to move it, how to pack data in buffers, and which instructions and microkernels to select, among other decisions. These choices interact; for instance, increasing a tile size might amortize the cost of packing data, or fusing operators might adjust a trade-off between recomputation and storage. Because these choices interact, finding an optimal implementation requires selecting from the Cartesian product of possible decisions, a space that is typically too large to enumerate exhaustively. Compilers and auto-schedulers manage this combinatorial explosion by exploring only a small fraction of the search space, using some combination of fixed transformation sequences, heuristic search, and computation graph partitioning where sub-graphs are optimized separately. In contrast, this dissertation develops a novel method of exhaustively searching spaces of implementations. The approach has two parts. First, it formulates the optimization problem as one with optimal substructure by developing a compositional intermediate representation and corresponding cost model. Optimization proceeds by recursively rewriting program specifications into partial programs whose leaves may be smaller specifications. Optimal implementations of those sub-specifications compose into an optimal implementation of the parent specification. Second, the approach improve the space efficiency of memoizing optimal implementations with a spatial database that maps specifications to integer coordinates and compresses adjacent, identical optima. We evaluate this approach by developing the Morello compiler. Using Morello, we synthesize and benchmark implementations of matrix multiplication and softmax for two x86 CPUs. The generated code is competitive with, and sometimes faster than, mature baselines. We also evaluate Morello's spatial memoization database, showing that it reduces storage requirements by several orders of magnitude relative to storing each specification's optimum independently."],"dc:embargo.terms":["Open Access"],"dc:format.mimetype":["application/pdf"],"dc:identifier.other":["Kaufman_washington_0250E_30265.pdf"],"dc:identifier.uri":["https://hdl.handle.net/1773/57752"],"dc:language.iso":["en_US"],"dc:rights":["CC BY-SA"],"dc:subject":["auto-scheduling","code generation","compilation","deep neural networks","machine learning","program synthesis","Computer science"],"dc:subject.other":["Computer science and engineering"],"dc:title":["Joint Optimization of Deep Neural Networks with Dynamic Programming and Spatial Compression"],"dc:type":["Thesis"],"others:access_status":["open.access"]},"updated_at":"2026-11-18T20:08:40Z"}