Back to search

University of Alberta

NeuroSketcher: Synthesizing Non-Differentiable Programs with Non-Differentiable Loss Functions

Abstract

dc:description.abstract

Programmatic hypotheses offer valuable properties, such as generalizability and interpretability. However, such hypotheses can be elusive, as one finds them by searching over large spaces of programs. Recent work showed that neural networks can be used to guide the search in the programmatic space by filling in the “holes” of the program sketches considered in the search. Despite its promising results, this approach requires that the synthesized programs and the loss function be differentiable, which can severely limit its use in practice. In this dissertation, we overcome this weakness with a two-step search. The first search uses an abstraction of the original language where non differentiable operations of the language are replaced with neural networks, thus resulting in a language of differentiable programs. The second search, which is not neural-guided, completes the promising sketches generated in the first search by searching in the original language space while optimizing for any loss function, including non-differentiable ones. We use our approach to synthesize programmatic heuristic functions for two permutation sorting problems: the Pancake and the Topspin puzzles. Our method discovered heuristic functions for the Pancake and Topspin puzzles that outperform some of the best known heuristics for these domains. Due to their programmatic representation, we can prove that search algorithms using our heuristic functions are guaranteed to find bounded-suboptimal solutions.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
Master's
Grantor
University of Alberta
Year dc:date.issued
2023

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Emireddy, Thirupathi Reddy
Advisor dc:contributor.advisor
  • Levi Lelis (Computing Science)

Subjects

dc:subject × 2

Rights

dc:rights
Statement dc:rights
  • This thesis is made available by the University of Alberta Libraries with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
Language dc:language.iso
en

Identifiers

dc:identifier.*
DOI dc:identifier.doi
https://doi.org/10.7939/r3-pa85-5e23

Chain of custody

source
Harvested from
University of Alberta
Base URL
era.library.ualberta.ca/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Emireddy, Thirupathi Reddy. NeuroSketcher: Synthesizing Non-Differentiable Programs with Non-Differentiable Loss Functions. Master's thesis, University of Alberta, 2023. https://doi.org/10.7939/r3-pa85-5e23