Skip to main content
QUICK REVIEW

[Paper Review] Applications of Deep Neural Networks with Keras

Jeff Heaton|arXiv (Cornell University)|Sep 11, 2020
Computational Physics and Python ApplicationsComputer Science8 citations
TL;DR

This book provides a comprehensive, hands-on introduction to deep neural networks using Keras and TensorFlow, focusing on practical applications in regression, classification, computer vision, NLP, and reinforcement learning. It emphasizes transfer learning, data augmentation, and modern architectures like Transformers, with code examples and real-world deployment considerations for researchers and practitioners.

ABSTRACT

Deep learning is a group of exciting new technologies for neural networks. Through a combination of advanced training techniques and neural network architectural components, it is now possible to create neural networks that can handle tabular data, images, text, and audio as both input and output. Deep learning allows a neural network to learn hierarchies of information in a way that is like the function of the human brain. This course will introduce the student to classic neural network structures, Convolution Neural Networks (CNN), Long Short-Term Memory (LSTM), Gated Recurrent Neural Networks (GRU), General Adversarial Networks (GAN), and reinforcement learning. Application of these architectures to computer vision, time series, security, natural language processing (NLP), and data generation will be covered. High-Performance Computing (HPC) aspects will demonstrate how deep learning can be leveraged both on graphical processing units (GPUs), as well as grids. Focus is primarily upon the application of deep learning to problems, with some introduction to mathematical foundations. Readers will use the Python programming language to implement deep learning using Google TensorFlow and Keras. It is not necessary to know Python prior to this book; however, familiarity with at least one programming language is assumed.

Motivation & Objective

  • To provide a practical, code-first introduction to deep learning using Keras and TensorFlow for researchers and practitioners.
  • To demonstrate real-world applications of deep neural networks across regression, classification, computer vision, and NLP.
  • To guide readers through data preprocessing, model training, and deployment best practices, including transfer learning and data augmentation.
  • To compare Keras/TensorFlow with PyTorch and justify the framework choice for educational and applied deep learning.
  • To prepare readers for advanced topics like Transformers, reinforcement learning, and production deployment using modern tools.

Proposed method

  • Uses Keras and TensorFlow as the primary deep learning framework for building and training neural networks.
  • Employs data preprocessing techniques such as one-hot encoding, target encoding, and normalization for categorical and continuous features.
  • Applies transfer learning and data augmentation (e.g., image flipping) to improve model performance with limited data.
  • Utilizes pre-trained models from Hugging Face and NGC to accelerate training and fine-tuning of NLP and vision models.
  • Implements sequence models using Transformers (e.g., BERT, GPT) for tasks like translation and text classification.
  • Introduces reinforcement learning via TF-Agents, though notes limitations in performance and maintenance.

Experimental results

Research questions

  • RQ1How can Keras and TensorFlow be effectively used to build and train deep neural networks for diverse machine learning tasks?
  • RQ2What are the most effective data preprocessing and feature engineering techniques for tabular, image, and text data in deep learning?
  • RQ3How does transfer learning improve model performance and reduce training cost in deep learning applications?
  • RQ4What are the practical challenges and trade-offs in deploying deep learning models in real-world systems?
  • RQ5How do modern architectures like Transformers and GANs enhance performance in NLP and computer vision tasks?

Key findings

  • Transfer learning significantly reduces training time and computational cost, especially when using pre-trained models from Hugging Face or NGC.
  • Data augmentation techniques such as image flipping can quadruple effective training data size and improve model generalization.
  • Transformers enable state-of-the-art performance in NLP tasks like translation and text classification by modeling long-range dependencies.
  • Keras/TensorFlow provides a stable, accessible framework for deep learning education and prototyping, though PyTorch remains a strong alternative for research.
  • Reinforcement learning with TF-Agents is functional but suffers from slow updates and frequent internal bugs, limiting its practicality for production.
  • End-to-end deployment of deep learning models requires moving beyond Python notebooks to languages like Swift, Kotlin, or JavaScript for mobile and web applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.