paper-with-me

홈 › Papers

DeepDSL: A Compilation-based Domain-Specific Language for Deep Learning

2017-01-09 · Tian Zhao, Xiaobing Huang, Yu Cao

In recent years, Deep Learning (DL) has found great success in domains such as multimedia understanding. However, the complex nature of multimedia data makes it difficult to develop DL-based software. The state-of-the art tools, such as Caffe, TensorFlow, Torch7, and CNTK, while are successful in their applicable domains, are programming libraries with fixed user interface, internal representation, and execution environment. This makes it difficult to implement portable and customized DL applications. In this paper, we present DeepDSL, a domain specific language (DSL) embedded in Scala, that compiles deep networks written in DeepDSL to Java source code. Deep DSL provides (1) intuitive constructs to support compact encoding of deep networks; (2) symbolic gradient derivation of the networks; (3) static analysis for memory consumption and error detection; and (4) DSL-level optimization to improve memory and runtime efficiency. DeepDSL programs are compiled into compact, efficient, customizable, and portable Java source code, which operates the CUDA and CUDNN interfaces running on Nvidia GPU via a Java Native Interface (JNI) library. We evaluated DeepDSL with a number of popular DL networks. Our experiments show that the compiled programs have very competitive runtime performance and memory efficiency compared to the existing libraries.

📄 PDF Abstract BibTeX arXiv:1701.02284

Code (1)

deepdsl/deepdsl 공식 구현 tf

Tasks

Deep LearningGPU

Similar Papers 제목 키워드 기반

Beyond the C: Retargetable Decompilation using Neural Machine Translation

2022-12-17 · Iman Hosseini, Brendan Dolan-Gavitt

The problem of reversing the compilation process, decompilation, is an important tool in reverse engineering of computer software. Recently, researchers have proposed using techniques from neural machine translation to a…

C++ codeMachine TranslationTranslation

Scope is all you need: Transforming LLMs for HPC Code

2023-08-18 · Tal Kadosh, Niranjan Hasabnis, Vy A. Vo, Nadav Schneider 외

With easier access to powerful compute resources, there is a growing trend in the field of AI for software development to develop larger and larger language models (LLMs) to address a variety of programming tasks. Even L…

AllCode Completion

LLM4CodeRE: Generative AI for Code Decompilation Analysis and Reverse Engineering

2026-04-07 · Hamed Jelodar, Samita Bai, Tochukwu Emmanuel Nwankwo, Parisa Hamedi 외 arxiv

Code decompilation analysis is a fundamental yet challenging task in malware reverse engineering, particularly due to the pervasive use of sophisticated obfuscation techniques. Although recent large language models (LLMs…

qgym: A Gym for Training and Benchmarking RL-Based Quantum Compilation

2023-08-01 · Stan van der Linde, Willem de Kok, Tariq Bontekoe, Sebastian Feld

Compiling a quantum circuit for specific quantum hardware is a challenging task. Moreover, current quantum computers have severe hardware limitations. To make the most use of the limited resources, the compilation proces…

BenchmarkingOpenAI GymReinforcement Learning (RL)

A Knowledge Compilation Map

2011-06-09 · A. Darwiche, P. Marquis

We propose a perspective on knowledge compilation which calls for analyzing different compilation approaches according to two key dimensions: the succinctness of the target compilation language, and the class of queries …