The Democratization of Artificial Intelligence and Deep Learning

Abstract

Deep learning is driving rapid innovations in artificial intelligence and influencing massive disruptions across all industries.  This is the beginning of my effort to see if Deep Learning will help in Education.

This lesson provides an understanding of the promise of deep learning in general, the challenges with leveraging this technology in education, and more importantly, how deep learning can be made more accessible to learners everywhere.

The term “Democratization” is important.  It means that with the help of AI and Deep Learning everyone can get all the information.  I need to explore this term more.  I find it use here intriguing and I think it might fit really well. 

 

What is Deep Learning?

Deep learning performs what is considered “end-to-end learning”.   Deep Learning is a specialized and advanced form of machine learning,

A deep learning algorithm is given massive volumes of data, typically unstructured and disparate, and a task to perform such as classification.  In terms of education, the task is to filter and focus all the available information, to just the information I need right now to learn this particular thing.

The resulting model is then capable of solving complex tasks such as recognizing objects within an image and translating speech in real-time.

Deep Learning

Deep learning models can be trained to perform complicated tasks such as image or speech recognition and determine meaning from these inputs. A key advantage is that these models scale well with data and their performance will improve as the size of your data increases.

Hidden Layers

Deep learning not only performs best with larger volumes of data, but also requires powerful hardware such as graphical processing units (GPUs) in order to perform.

The deep learning market is expected to be worth $1.75 billion by the year 2021.

Investment in this area is driven by the fact that 61% of enterprises with an innovation strategy are applying AI to their data to find previously missed opportunities such as process improvements or new revenue streams.

 

 

Innovative Deep Learning Uses

Deep learning has enabled innovation and transformation across a broad range of industries.

From anomaly detection to video analysis, businesses have been able to leverage artificial intelligence to gain a competitive advantage and even change the way their markets approach the customer experience. 

 

IMAGE CLASSIFICATION

This is the process of an AI application identifying and detecting an object or a feature in a digital image or video.

Image classification has taken off in the retail vertical which is using deep learning models to quickly scan and analyze in-store imagery to intuitively determine inventory movement.  This has lead to streamlined operations, reduced costs, and new sales opportunities.

VOICE RECOGNITION

This is the ability of a deep learning model to receive and interpret dictation or to understand and carry out spoken commands.

Models are able to convert captured voice commands to text and then use natural language processing to understand what is being said and in what context.

This has delivered massive benefits to industries like automotive which uses voice commands to enable drivers to make phone calls and adjust internal controls – all without taking their hands off the steering wheel, thereby improving safety.

 

ANOMALY DETECTION

This deep learning technique strives to recognize abnormal patterns that don’t match the behaviors expected for a particular system, out of millions of different transactions.

These applications can lead to the discovery of an attack on financial networks, fraud detection in insurance filings or credit card purchases, even isolating sensor data in industrial facilities signifying a safety issue.

RECOMMENDATION ENGINES

These models analyze user actions in order to provide recommendations based on user behavior.

Recommendation engines are critical components of e-commerce sites such as Overstock.com which uses a recommendation engine to provide accurate suggestions of products to users for future purchases based on their shopping history.

This massively reduces the friction for the user and provides efficient revenue streams for the company.

SENTIMENT ANALYSIS

This leverages deep learning-heavy techniques such as natural language processing, text analysis, and computational linguistics to gain clear insight into customer opinion, understanding of consumer sentiment, and measuring the impact of marketing strategies.

A real-world application of this particular type of AI is deployed by Riot Games to better understand and combat abusive language that can occur during in-game experiences in order to improve the user experience.

VIDEO ANALYSIS

Deep learning models have made it possible to process and evaluate vast streams of video footage for a range of tasks including threat detection, which can be used in airport security, banks, and sporting events.

Media companies like Viacom leverage video analysis to ensure that lag is eliminated and the user experience is maximized.

 

A Deep Learning Workflow

A generalized workflow for building and training a deep learning model consists of steps that vary in complexity. This spans the ingestion of data, through network architecture choice, to production.6

Deep Learning Workflow

CREATE YOUR TRAINING DATA SET – This can include a wide variety of data types from a wide variety of sources needed to train a model, which may include additional effort to obtain labels or target variable values.

ANALYZE THE DATA – It is critical to clean and organize the data in order to eliminate errors and discrepancies.

DESIGN YOUR ARCHITECTURE – The key is to understand the type of problem you are trying to solve and then choosing the right architecture for the job.

TUNE YOUR HYPERPARAMETERS – Getting the best results in deep learning requires experimenting with different values for training hyperparameters.

TRAIN THE MODEL – In this step, you provide the data to the learning algorithm which performs optimization routines to produce the best model it can.

EVALUATE PERFORMANCE – This validates the ability of the model to confidently perform forecasting and estimation — the actual “thinking” of the model — against an unseen (“test”) dataset.

 

What is Powering Deep Learning?

If you were to start doing deep learning, which framework would you use? That question can be answered by understanding the problem you are trying to solve. Most frameworks support different programming languages, offer varying levels of architectural complexity, different degrees of performance, and a variety of deep learning algorithms suitable for specific use cases. Here’s an overview of some of the common deep learning frameworks available.

 

TENSORFLOW – is a powerful, open-source software library for numerical computation using data flow graphs.

CAFFE – is an open-source deep learning framework designed with expression, speed, and modularity in mind. It is often used for operationalizing models for prediction in production.

MXNET – is a deep learning framework designed for both efficiency and flexibility. It allows you to mix symbolic and imperative programming to maximize efficiency and productivity.

KERAS – is an open source neural network library written in Python designed to enable fast experimentation with deep neural networks, and focuses on being minimal, modular and extensible.

PYTORCH – is a Python based computing package that provides a wide range of algorithms for deep machine learning.

It needs to be noted that even with all of the available frameworks and greater understanding of how to pursue AI through machine learning and deep learning, there are still substantial limitations to current abilities of artificial intelligence.

Trying to compare the capabilities of a deep learning application against the capabilities of an actual human is going to be disappointing to say the least – it’s currently not an apples to apples comparison.

A reason for this is that while a person may easily recognize the nuance associated with knowing for example how to clearly distinguish the differences between images of a toddler and an infant, a deep learning program will find this incredibly difficult to do with consistent accuracy.

The performance of any artificial intelligence will only be as good as the data that it is being fed, and if the data itself is either incorrect or incomplete, the performance will be simply wrong. Processing a lot of data is easy, but feature learning is very difficult.

But, as deep learning algorithms evolve to recognize nuances and overcome their current limitations, the future of AI is bright.

What’s most critical is for big data analytics platforms to handle the growing complexities of these algorithms as well as the scale of the data that will be required for better model training.

 

The Challenges of Achieving Deep Learning

Leveraging the promise of deep learning today is as challenging as big data was yesterday.

Deep learning frameworks have unique capabilities and steep learning curves.

Scaling out over distributed hardware requires specialization and significant manual work; and even with the combination of time and resources, achieving success requires tedious fiddling and experimenting with parameters.

Additionally, each of these frameworks provides different strengths for different deep learning approaches and their own unique challenges.

For example, Caffe is a strong option for image classification but can be resource-intensive and the framework itself is difficult to deploy.

Things can get very hard, and very complicated, very quickly for Data Science and Engineering teams.

Also, the effectiveness of deep learning, or artificial intelligence of any type, rests on the quality of the infrastructure that powers it.

The infrastructure should be viewed as a multiplier of the effectiveness of your AI.

Neural networks come in various architectures, the performance of which is a function of the architecture, which can be challenging for traditional engineering teams to manage, let alone a data science team.

Also, the processing requirements of an AI infrastructure can be massive, requiring specialized – and expensive – processors such as GPU’s (graphical processing units) in order to perform the mathematical computations that power deep learning models.

From a resource standpoint, training an accurate deep learning model can be extremely taxing. Parameters need to be tweaked to create a great model, and this step can be manually intensive. This puts a lot of pressure on a data science team as the number of decisions required to develop successful deep learning models can be incredibly time-consuming.  Significant time and money can be wasted if poor decisions are made.

Also, since deep learning models are complex, it requires a significant amount of data to accurately train a model.

 

Make Deep Learning Easier and Accessible

While much of what has been described may make deep learning sound impossible to achieve, there is a technology that offers to overcome these challenges.

In 2010, the Spark project was launched as a way to democratize the power of big data.

This was accomplished by offering high-level APIs and a unified engine to do machine learning, ETL, streaming and interactive SQL.

The outcome of this project is that today, Apache Spark makes big data accessible to everyone from software engineers to SQL analysts.

Continuing with that vision of democratization, Databricks, the company started by the same team that created Apache Spark, is helping make deep learning and AI accessible to everyone.

Databricks offers a unified analytics platform that allows organizations to build reliable, fast, and scalable deep learning pipelines on Apache Spark that enable data science teams to build, train, and deploy deep learning applications with ease.

  • Unified Infrastructure: Databricks offers a fully managed, serverless, cloud infrastructure that simplifies operations, delivers elasticity, and enables greater cost control. Data engineers will benefit from unified workflows that simplify data preparation and ETL11 and an API that makes it easy to work with major frameworks such as TensorFlow, Keras, PyTorch, MXNet, Caffe, CNTK.
  • Unified Workflows: A single platform for end-to-end workflow automation from data preparation to exploration, modeling, and large-scale prediction. Databricks also offers high-level APIs to leverage TensorFlow models more easily.
  • Performance Optimized: Databricks offers unparalleled processing performance at scale for deep learning powered by Databricks Runtime. Having the ability to crunch massive volumes of data and build highly performant data pipelines allows for more accurate deep learning models.
  • Interactive Data Science: For data science teams, a collaborative workspace helps teams work better together to interactively explore data and train deep learning models against real-time data sets with the flexibility of multi-programming language support. These are all critical elements for any organization that is serious about AI.

Through the use of the Databricks unified analytics platform, data teams can benefit from a fully managed, scalable, and secure cloud infrastructure that reduces operational complexity and total cost of ownership.

 

Conclusion

Artificial intelligence through deep learning will drive innovations in IT for the foreseeable future.

The rise of big data has helped to bring this to reality and the benefits are just beginning to be realized.

AI is already being explored across many industries, and as technology improves, it will have a major impact on how it can be used to solve real-world problems.