Publication:

A Declarative Specification for Machine Learning Architectures

dash.author.emailgkamer@outlook.com
dash.depositing.authorKamer, Gordon
dash.licenseLAA
dc.contributor.advisorBarak, Boaz
dc.contributor.authorKamer, Gordon
dc.contributor.committeeMemberWattenberg, Martin
dc.date.accessioned2023-07-06T04:00:09Z
dc.date.available2023-07-06T04:00:09Z
dc.date.created2023
dc.date.issued2023-06-30
dc.date.submitted2023
dc.description.abstractGoing from the description of a model architecture in a figure to its implementation can be a fraught process. This work presents a markup language for specifying model architectures; an associated Python package used to convert models into a runnable format; utilities to import the model into PyTorch; a publicly available model repos- itory; and a tool to visualize the resulting models. This paper also provides a review of some popular machine learning architectures, examples of models created using the markup, and associated experiments. The system is named Agrippa * , determined through a bracket-poll tournament conducted by the author’s roommates. The language simplifies certain aspects of model development: parameters are named, explicit, and can be specified as being frozen or shared; models can be imported into different projects with few code changes; coherent parts of the architecture can be or- ganized into self-contained blocks; and parameter initialization techniques are explicit. The language syntax is simply XML. Models compiled using the Agrippa Python pack- age are converted into the ONNX format, a neural network interchange format sup- ported by a variety of machine learning frameworks. The web component of Agrippa can be found at http://agrippa.build , which con- tains the visualization tool, model repository, and documentation. † At this stage of development, the system has a number of limitations: models may not be compiled if they are larger than 2GB due to a formal limit imposed by the ONNX file format; not all operations available in ONNX are supported by the com- piler; the visualization tool does not yet support visual editing; and certain techniques, like dropout layers and batch normalization, require workarounds. There are a number of plausible ways each of these limitations may be addressed in the future.
dc.format.mimetypeapplication/pdf
dc.identifier.citationKamer, Gordon. 2023. A Declarative Specification for Machine Learning Architectures. Bachelor's thesis, Harvard College.
dc.identifier.other30315258
dc.identifier.urihttps://nrs.harvard.edu/URN-3:HUL.INSTREPOS:37376408*
dc.language.isoen
dc.subjectComputer science
dc.titleA Declarative Specification for Machine Learning Architectures
dc.typeThesis or Dissertation
dc.type.materialtext
dspace.entity.typePublication
oaire.licenseConditionLAA
thesis.degree.date2023
thesis.degree.departmentComputer Science
thesis.degree.grantorHarvard College
thesis.degree.levelBachelor's
thesis.degree.levelUndergraduate
thesis.degree.nameAB

Open/View Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Kamer Thesis Final.pdf
Size:
863.77 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
Harvard_IR_License_-_LAA_for_ETDs_(2020).pdf
Size:
72.19 KB
Format:
Adobe Portable Document Format
Description:
Loading...
Thumbnail Image
Name:
license.txt
Size:
0 B
Format:
Item-specific license agreed upon to submission
Description: