Publication: A Declarative Specification for Machine Learning Architectures
| dash.author.email | gkamer@outlook.com | |
| dash.depositing.author | Kamer, Gordon | |
| dash.license | LAA | |
| dc.contributor.advisor | Barak, Boaz | |
| dc.contributor.author | Kamer, Gordon | |
| dc.contributor.committeeMember | Wattenberg, Martin | |
| dc.date.accessioned | 2023-07-06T04:00:09Z | |
| dc.date.available | 2023-07-06T04:00:09Z | |
| dc.date.created | 2023 | |
| dc.date.issued | 2023-06-30 | |
| dc.date.submitted | 2023 | |
| dc.description.abstract | Going 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.mimetype | application/pdf | |
| dc.identifier.citation | Kamer, Gordon. 2023. A Declarative Specification for Machine Learning Architectures. Bachelor's thesis, Harvard College. | |
| dc.identifier.other | 30315258 | |
| dc.identifier.uri | https://nrs.harvard.edu/URN-3:HUL.INSTREPOS:37376408 | * |
| dc.language.iso | en | |
| dc.subject | Computer science | |
| dc.title | A Declarative Specification for Machine Learning Architectures | |
| dc.type | Thesis or Dissertation | |
| dc.type.material | text | |
| dspace.entity.type | Publication | |
| oaire.licenseCondition | LAA | |
| thesis.degree.date | 2023 | |
| thesis.degree.department | Computer Science | |
| thesis.degree.grantor | Harvard College | |
| thesis.degree.level | Bachelor's | |
| thesis.degree.level | Undergraduate | |
| thesis.degree.name | AB |
Open/View Files
Original bundle
1 - 1 of 1