深度学习实验在数据集的谨慎处理以及与硬件加速器交互的 API 的高效且正确使用方面具有关键要求。一方面,数据处理过程中的软件错误可能污染实验并导致不正确的结果。另一方面,与硬件交互的 API 编码不佳可能导致次优使用和不可信的结论。在这项工作中,我们研究了线性逻辑在深度学习实验分析中的应用。我们展示了线性逻辑的原语和算子可用于表达:(i)实验控制流的抽象表示,(ii)一组可用的实验资源,例如对底层数据结构和硬件的 API 调用,以及(iii)关于实验期间资源正确消耗的推理规则。我们提出的模型不仅轻量级,而且易于理解,同时具有符号组件和可视化组件。最后,其产物本身就是线性逻辑中的证明,可以由现成的推理器直接验证。
英文摘要:
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.
Logic-Q: Improving Deep Reinforcement Learning-based Quantitative Trading via Program Sketch-based Tuning
Nanyang Technological University(南洋理工大学);Hong Kong Polytechnic University(香港理工大学);Chinese University of Hong Kong(香港中文大学);Singapore Management University(新加坡管理大学);Peng Cheng Lab(鹏城实验室)