Saved in:
Bibliographic Details
Main Author: Papoulias, Nick
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2501.00169
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913631758712832
author Papoulias, Nick
author_facet Papoulias, Nick
contents Deep Learning experiments have critical requirements regarding the careful handling of their datasets as well as the efficient and correct usage of APIs that interact with hardware accelerators. On the one hand, software mistakes during data handling can contaminate experiments and lead to incorrect results. On the other hand, poorly coded APIs that interact with the hardware can lead to sub-optimal usage and untrustworthy conclusions. In this work we investigate the use of Linear Logic for the analysis of Deep Learning experiments. We show that primitives and operators of Linear Logic can be used to express: (i) an abstract representation of the control flow of an experiment, (ii) a set of available experimental resources, such as API calls to the underlying data-structures and hardware as well as (iii) reasoning rules about the correct consumption of resources during experiments. Our proposed model is not only lightweight but also easy to comprehend having both a symbolic and a visual component. Finally, its artifacts are themselves proofs in Linear Logic that can be readily verified by off-the-shelf reasoners.
format Preprint
id arxiv_https___arxiv_org_abs_2501_00169
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DeepLL: Considering Linear Logic for the Analysis of Deep Learning Experiments
Papoulias, Nick
Programming Languages
Artificial Intelligence
Computation and Language
Software Engineering
Deep Learning experiments have critical requirements regarding the careful handling of their datasets as well as the efficient and correct usage of APIs that interact with hardware accelerators. On the one hand, software mistakes during data handling can contaminate experiments and lead to incorrect results. On the other hand, poorly coded APIs that interact with the hardware can lead to sub-optimal usage and untrustworthy conclusions. In this work we investigate the use of Linear Logic for the analysis of Deep Learning experiments. We show that primitives and operators of Linear Logic can be used to express: (i) an abstract representation of the control flow of an experiment, (ii) a set of available experimental resources, such as API calls to the underlying data-structures and hardware as well as (iii) reasoning rules about the correct consumption of resources during experiments. Our proposed model is not only lightweight but also easy to comprehend having both a symbolic and a visual component. Finally, its artifacts are themselves proofs in Linear Logic that can be readily verified by off-the-shelf reasoners.
title DeepLL: Considering Linear Logic for the Analysis of Deep Learning Experiments
topic Programming Languages
Artificial Intelligence
Computation and Language
Software Engineering
url https://arxiv.org/abs/2501.00169