arXiv(opens in a new tab)cs.SCNov 2012Cited by 5 papers on PaperVantage

Manuscript Offprint

arXiv:1211.5590

Theano: new features and speed improvements

Frédéric Bastien, Pascal Lamblin, Razvan Pascanu, James Bergstra, Ian Goodfellow, Arnaud Bergeron, Nicolas Bouchard, David Warde-Farley, Yoshua Bengio

Abstract

Theano is a linear algebra compiler that optimizes a user’s symbolically-specified mathematical computations to produce efficient low-level implementations. In this paper, we present new features and efficiency improvements to Theano, and benchmarks demonstrating Theano’s performance relative to Torch7, a recently introduced machine learning library, and to RNNLM, a C++ library targeted at recurrent neural networks.

1 Introduction

Theano was introduced to the machine learning community by Bergstra et al. (2010) as a CPU and GPU mathematical compiler, demonstrating how it can be used to symbolically define mathematical functions, automatically derive gradient expressions, and compile these expressions into executable functions that outperform implementations using other existing tools. Bergstra et al. (2011) then demonstrated how Theano could be used to implement Deep Learning models.

In Section 2, we will briefly expose the main goals and features of Theano. Section 3 will present some of the new features available and measures taken to speed up Theano’s implementations. Section 4 compares Theano’s performance with that of Torch7 (Collobert et al., 2011) on neural network benchmarks, and RNNLM (Mikolov et al., 2011) on recurrent neural network benchmarks.

References (6)

  • Theano: a CPU and GPU math expression compiler
  • Theano: Deep learning on gpus with python
  • Torch7: A matlab-like environment for machine learning
  • SciPy: Open source scientific tools for Python
  • and Sutskever, I
  • Empirical evaluation and combination of advanced language modeling techniques