DyNet: The Dynamic Neural Network Toolkit

By Graham Neubig, Chris Dyer, Yoav Goldberg, Austin Matthews, Bridger Waleed Ammar, Antonios Anastasopoulos, Miguel Ballesteros, David Chiang, Daniel Clothiaux, Trevor Cohn and 15 more. 2017

391 citations recorded by the source corpus.

We describe DyNet, a toolkit for implementing neural network models based on dynamic declaration of network structure. In the static declaration strategy that is used in toolkits like Theano, CNTK, and TensorFlow, the user first defines a computation graph (a symbolic representation of the computation), and then examples are fed into an engine that executes this computation and computes its derivatives. In DyNet's dynamic declaration strategy, computation graph construction is mostly transparent, being implicitly constructed by executing procedural code that computes the network outputs, and the user is free to use different network structures for each input. Dynamic declaration thus facilitates the implementation of more complicated network architectures, and DyNet is specifically designed to allow users to implement their models in a way that is idiomatic in their preferred programming language (C++ or Python). One challenge with dynamic declaration is that because the symbolic computation graph is defined anew for every training example, its construction must have low overhead. To achieve this, DyNet has an optimized C++ backend and lightweight graph representation. Experiments show that DyNet's speeds are faster than or comparable with static declaration toolkits, and significantly faster than Chainer, another dynamic declaration toolkit. DyNet is released open-source under the Apache 2.0 license and available at this http URL.

Subfields: Artificial Intelligence, ML Systems & Hardware, Signal Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Graham Neubig
  2. Mohit Bansal
  3. Luke S. Zettlemoyer
  4. Noah A. Smith
  5. Percy Liang
  6. Yejin Choi
  7. Jianfeng Gao
  8. Yonatan Belinkov

In ML Systems & Hardware

  1. Luke S. Zettlemoyer
  2. Ali Ayub
  3. Alan R. Wagner
  4. Yoshua Bengio
  5. Sebastian U. Stich
  6. De-chuan Zhan
  7. Da-Wei Zhou
  8. Martin Jaggi

In Signal Processing

  1. Graham Neubig
  2. Yejin Choi
  3. Daniel Klein
  4. Dragomir R. Radev
  5. Sebastian Raschka
  6. Eduard H. Hovy
  7. Yonatan Belinkov
  8. Jinyu Li

Citations in the corpus