← THE FIELD RECORD
CAPSULE NETWORKS, IN PUBLIC

Berlin Bioinformatics Hackathon

8 February 2018 · Berlin, Germany · LAB

A lecture on Geoffrey Hinton's newly released capsule networks, then a hands-on build classifying skin lesions with transfer learning in Keras.

Participants with laptops following the capsule networks lecture

In this lecture we discussed the newly released capsule network by Geoffrey Hinton and his co-authors. Capsule networks were the new and shiny neural network architecture challenging CNNs, then the king of the hill in computer vision.

It was an overwhelming experience to have been invited by our newfound friends Mike Richardson, a leading hardware design engineer, and Julien Fredonie, later head of innovation at Honda. Both worked hard to make it a reality, and hundreds of people showed up. The lab had published the first viral TensorFlow implementation of capsule networks only weeks earlier. This was that work, taken to a room full of people.

The trip ran out of Assen on 7 February and came back from Deventer on 10 February. On the morning of Thursday the 8th an uberX carried Tarry from Knobelsdorffstraße in Charlottenburg across the city to Winsstraße in Prenzlauer Berg, picked up at 08:44 and set down at 09:11. The teaching slot sat inside the Berlin Bioinformatics Lectures series, under the deck title "Emerging Topics in Translational Bioinformatics".

The hands-on half was skin cancer classification across three classes: melanoma, nevus and seborrheic keratosis. It was pinned to a published result rather than a toy problem. Andre Esteva and colleagues had shown dermatologist-level classification of skin cancer with deep neural networks in Nature the year before, and the folder carries his deck alongside the reading around it. Data came from the ISIC Archive, with a downloader configured for 13,786 images. Participants built a small convolutional network from scratch first, three conv-and-pool blocks into a 512-unit dense layer and a three-way softmax, so the shape of the problem was clear before any shortcuts. Then transfer learning on InceptionV3 with ImageNet weights, the convolutional base frozen and a new head trained on top. Then fine-tuning, unfreezing from layer 339 with SGD at a learning rate of 0.00001. The homework was to ship it, rebuilding the classifier as an Android app with TensorFlow Lite or an iOS app with Core ML.

A scratch file in the same folder records the links used to build TensorFlow 1.5 and 1.6 from source with Bazel on Ubuntu, which is what installing a framework often meant in early 2018. A terminal log shows the training box: one GeForce GTX 1080 with 7.93 GiB of memory.

Two records of this trip survive and they describe different halves of it: a packed lecture on capsule networks, and hackathon material that is entirely skin lesion classification.

FROM THE FIELD · 05 FRAMES
Lecturer addressing the workshop room in Berlin
Lecturer addressing the workshop room in Berlin
The full workshop floor, participants working on laptops
The full workshop floor, participants working on laptops
The historic atrium of the host university building
The historic atrium of the host university building
Statue in the university atrium
Statue in the university atrium
MATERIALS
Lecture deck, capsule theory, 44 slides

The deck used for this lecture, confirmed as the Berlin capsule lecture of 2018.

WITH
Berlin Bioinformatics LecturesMax-Delbrück-Centrum für Molekulare Medizin
← EARLIERBioinformatics comes to deep learning landLATER →Five plateaus, then a wishlist