/* ---- Google Analytics Code Below */
Showing posts with label Recurrent Neural Networks. Show all posts
Showing posts with label Recurrent Neural Networks. Show all posts

Friday, December 27, 2019

Learn a task by Reading About it

Chess, analyzed from a description?  Research yes, but mastery takes experience.

Artificial Intelligence / Machine Learning inTechnology Review.
Instead of practicing, this AI mastered chess by reading about it
Machines that appreciate “brilliant” and “dumb” chess moves could learn to play the game—and do other things—more efficiently.
by Will Knight

Chess fans love nothing more than discussing a masterful sacrifice by Bobby Fischer or an ingenious line of attack from current world champion Magnus Carlsen. It turns out that this chatter could help AI programs learn to play the game in a new way. One day, the same technique could allow machines to use the emotional content of our language to master various practical tasks.

The chess algorithm, called SentiMATE, was developed by a team of researchers at University College London. It evaluates the quality of chess moves by analyzing the reaction of expert commentators.

The team analyzed the text of 2,700 chess game commentaries available online. They pruned out commentary that didn’t relate to high-quality moves, and examples that were too ambiguous. Then they used a special type of recurrent neural network and word embeddings (a mathematical technique that connects words on the basis their meanings), trained on another state-of-the-art model for analyzing language.

AI has recently made significant progress in parsing language. For example, an algorithm developed by researchers at OpenAI, a research company in San Francisco, proved capable of generating whole news stories from a prompt of a few words.

“The next step in the advancement of natural language processing is to convert this learnt information into tangible actions to help solve real-world tasks,” the researchers said in an email to MIT Technology Review. “We felt that learning strategy from text-based data could be a very important research avenue to explore.”   ..... '

Saturday, July 07, 2018

Times Series with RNN Neural Nets

Been re-examining neural networks for time series models and forecasting.  In the long ago work of modeling with neural nets we had determined it was not useful, but new architectures of recurrent Neural nets RNN make it worth another look.  Here is an examination with Tensorflow

Building Recurrent Neural Networks in Tensorflow

Posted by Ahmet Taspinar  in DSC

Recurrent Neural Nets (RNN) detect features in sequential data (e.g. time-series data). Examples of applications which can be made using RNN’s are anomaly detection in time-series data, classification of ECG and EEG data, stock market prediction, speech recogniton, sentiment analysis, etc.

This is done by unrolling the data into N different copies of itself (if the data consists of N time-steps) .
In this way, the input data at the previous time steps t_n - 1, t_n - 2, t_n - 3, ... , t_0 can be used when the data at timestep t_n is evaluated. If the data at the previous time steps is somehow correlated to the data at the current time step, these correlations are remembered and otherwise they are forgotten.

By unrolling the data, the weights of the Neural Network are shared across all of the time steps, and the RNN can generalize beyond the example seen at the current timestep, and beyond sequences seen in the training set. .... "

Wednesday, March 14, 2018

Neural Nets Remembering

Well yes, all neural nets 'remember'.  We examined that feature in their very early days.    But they don't often remember in the way we would like memory to work.    Very quickly we needed to rework their memory with new infrastructure, based on new context.  Often with new metadata.  So they remember in strict context.   Useful, but you have to be careful about the term.

Following piece is on the topic and interesting

The Neural Network That Remembers
With short-term memory, recurrent neural networks gain some amazing abilities  By Zachary C. Lipton and Charles Elkan .... 

Sunday, January 07, 2018

Extreme Event Forecasting at Uber

Spent quite some time in the enterprise considering extreme events.  Interesting to see Uber's way to address this. With some technical details.   In DSC, posted by Amelia Matteson:

Extreme Event Forecasting at Uber - with Recurrent Neural Networks    This article is by Nikolay Laptev, Slawek Smyl, and Santhosh Shanmugam.

At Uber, event forecasting enables us to future-proof our services based on anticipated user demand. The goal is to accurately predict where, when, and how many ride requests Uber will receive at any given time.

Extreme events—peak travel times such as holidays, concerts, inclement weather, and sporting events—only heighten the importance of forecasting for operations planning. Calculating demand time series forecasting during extreme events is a critical component of anomaly detection, optimal resource allocation, and budgeting.

Although extreme event forecasting is a crucial piece of Uber operations, data sparsity makes accurate prediction challenging. Consider New Year’s Eve (NYE), one of the busiest dates for Uber. We only have a handful of NYEs to work with, and each instance might have a different cohort of users. In addition to historical data, extreme event prediction also depends on numerous external factors, including weather, population growth, and marketing changes such as driver incentives.

A combination of classical time series models, such as those found in the standard R forecast package, and machine learning methods are often used to forecast special events. These approaches, however, are neither flexible nor scalable enough for Uber.

In this article, we introduce an Uber forecasting model that combines historical data and external factors to more precisely predict extreme events, highlighting its new architecture and how it compares to our previous model. .... " 

Wednesday, July 05, 2017

Overview of Recurrent Neural Networks

An overview of recurrent neural networks, and a tour of different types used for deep learning applications.   Note in particular, such problems that require sequencing, like forecasting.  Once again, nicely done by Jason Brownlee.  Subscribe to his work and look at his other writings and services,

A Tour of Recurrent Neural Network Algorithms for Deep Learning   by Jason Brownlee

Recurrent neural networks, or RNNs, are a type of artificial neural network that add additional weights to the network to create cycles in the network graph in an effort to maintain an internal state.

The promise of adding state to neural networks is that they will be able to explicitly learn and exploit context in sequence prediction problems, such as problems with an order or temporal component.

In this post, you are going take a tour of recurrent neural networks used for deep learning.   .... 

How top recurrent neural networks used for deep learning work, such as LSTMs, GRUs, and NTMs.
How top RNNs relate to the broader study of recurrence in artificial neural networks.
How research in RNNs has led to state-of-the-art performance on a range of challenging problems.

Note, we’re not going to cover every possible recurrent neural network. Instead, we will focus on recurrent neural networks used for deep learning (LSTMs, GRUs and NTMs) and the context needed to understand them.

Let’s get started.  .... "