News for hackers. Stuff that matters.
Re:Experiments in Handwriting with a Neural Network by ludwigschubert on Tuesday December 06, 2016 @10:03PM (#13120136)
This is incredible important research. There are fields in which adoption of ML techniques is dependent on it being explainable and inspectable to stakeholders, e.g. in certain health care, policy or finance applications.

There is work being done on explaining non-linear models, such as LIME [1], but much more is needed. At a recent d3 meetup the topic was discussed but we primarily noted its importance. Notes at [2].

[1] https://github.com/marcotcr/lime [2] https://docs.google.com/document/d/1o-DO65PEZShLuadyRd35PsTJ...

Re:Experiments in Handwriting with a Neural Network by shancarter on Tuesday December 06, 2016 @03:12PM (#13117867)
Me and the other authors of the post will be around if anyone has any questions.
Re:Experiments in Handwriting with a Neural Network by inlineint on Tuesday December 06, 2016 @05:37PM (#13118914)
How much computing power/time did it take to train the model? Had any hyperparameters optimization been done?

Sorry if I missed the reference that has this information, but I think that these numbers are important in any deep learning experiment because they allow the readers to evaluate applicability of described methods to their problems.

Re:Experiments in Handwriting with a Neural Network by shancarter on Tuesday December 06, 2016 @06:07PM (#13119073)
This post has more details about the model: http://blog.otoro.net/2015/12/12/handwriting-generation-demo...
Re:Experiments in Handwriting with a Neural Network by colah3 on Tuesday December 06, 2016 @06:14PM (#13119113)
Note that the contribution of this article is techniques for visualizing models, not the novel itself.
Re:Experiments in Handwriting with a Neural Network by te_platt on Tuesday December 06, 2016 @04:25PM (#13118469)
I'm doing some research into handwriting recognition. In particular transcribing older documents. Do you see a way of applying your work here in that direction?
Re:Experiments in Handwriting with a Neural Network by colah3 on Tuesday December 06, 2016 @05:01PM (#13118710)
The generative model of handwriting that we're working with here probably isn't very applicable to handwriting recognition.

In principle, you could train a model like this to jointly model the text and the produced handwriting and then search for the most likely text to correspond to handwriting, but it would be a lot less efficient and likely not work as well. Instead, the natural way to apply neural networks to use a convolutional neural network. You could either predict the presence of characters at different positions and stitch them together with another program, or do an end-to-end image to sequence approach, probably using attention.

If you want to visualize that kind of model, the techniques you want to use are pretty different than what we have in this article. But there are some pretty useful techniques! In particular, you could do attention visualization to understand where your model is looking as it predicts particular characters and optimization-based feature visualization to understand what different features in your model represent.

Re:Experiments in Handwriting with a Neural Network by AstralStorm on Wednesday December 07, 2016 @03:25AM (#13121248)
You can still have CNN hallucinate most likely set of next inputs.

And the kind of activity display you did later also works.

Re:Experiments in Handwriting with a Neural Network by jenniferx on Tuesday December 06, 2016 @06:05PM (#13119055)
pretty cool i guess
Re:Experiments in Handwriting with a Neural Network by ludwigschubert on Tuesday December 06, 2016 @10:09PM (#13120160)
In "Examining the Internals of the Model" it could be interesting to show an overview activation map that sums over the absolute activation of all the examples—to highlight which cells activate on all examples—and one that is colored by variance of activation across examples—to show which cells influence the character/differences in writing.
Re:Experiments in Handwriting with a Neural Network by nl on Tuesday December 06, 2016 @05:03PM (#13118721)
Nice! Is it trained on Latin character-based hand writing only, or can it also predict other charactersets?
Re:Experiments in Handwriting with a Neural Network by colah3 on Tuesday December 06, 2016 @06:09PM (#13119081)
Latin character only. It was trained on the IAM Handwriting database [1], which is all English handwriting.

[1] http://www.fki.inf.unibe.ch/databases/iam-handwriting-databa...

Re:Experiments in Handwriting with a Neural Network by Qwertystop on Tuesday December 06, 2016 @04:09PM (#13118362)
Quite interesting to see the inspection of the model.
Re:Experiments in Handwriting with a Neural Network by devoply on Tuesday December 06, 2016 @07:53PM (#13119646)
We're slowly coming to an era where everything can be easily forged.
Re:Experiments in Handwriting with a Neural Network by AstralStorm on Wednesday December 07, 2016 @03:26AM (#13121252)
Except digital signatures. Those are still hard and much easier to steal or phish than crack.