Andrea Panizza
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    Deep Learning Summit London 2019 - Day 2 === ###### tags: `RE.WORK` `Lectures` `Deep Learning` # Day 2 :::info - **Date:** Sep 20, 2019 - [Link to Schedule](https://www.re-work.co/events/deep-learning-summit-london-2019/schedule) ::: --- ## Machine Learning Systems Design - UNIVERSITY OF SHEFFIELD > [name=Neil Lawrence, DeepMind Professor of Machine Learning University of Cambridge & University of Sheffield] Interesting presentation on the nuances of deploying ML systems in uncontrolled environments. Neil Lawrence is a famous Machine Learning expert, with a long experience in Gaussian Processes ![Neil](https://i.imgur.com/yMO3Zda.jpg) Automation historically required **humans** to adapt: - remove people from production lines - build completely new streets (tarmac) and remove pedestrians, carriages & horses from them, to make way to cars AI promises to be the first automation wave which instead **adapts to us** ![automation](https://i.imgur.com/wNS8xMk.jpg) ![artificial-vs-natural](https://i.imgur.com/r5kKwTU.jpg) ![fitness](https://i.imgur.com/Jb4SwWi.jpg) ![decomposability](https://i.imgur.com/Loagnz6.jpg) Unlike natural systems, which had to incorporate redundancies in order to be robust to a constantly changing environment, AI systems are fragile ![AI-fragility](https://i.imgur.com/KCl10cz.jpg) ![data-crisis](https://i.imgur.com/9Lfw79i.jpg) ![data-separated-from-code](https://i.imgur.com/6qVIQId.jpg) ![peppercorns](https://i.imgur.com/L9WZlpU.jpg) How to block Siri with a peppercorn (not possible anymore with the current production version) {%youtube R3-2z4GFd9I %} In order to be able to continuosly test these systems for fragilities, bugs, peppercorns, etc., we can augment them with *emulators*, which are much faster to test at scale and in realtime. At the same time, we need an environment where, once a weakness is captured by testing these emulators, a new improved model can be quickly redeployed ![emulators](https://i.imgur.com/TMjZfFF.jpg) We are not ready. ![nl-conclusions](https://i.imgur.com/5vTpLA4.jpg) Q&A: Neil is not convinced an end-to-end approach to autonomous driving is safe, even though he finds it interesting. Also, he suggests having a look at his video on [data oriented programming](http://inverseprobability.com/talks/notes/modern-data-oriented-programming.html), which as far as I understand is basically probabilistic programming. --- ## Industrial Time Series Anomaly Detection - AIRBUS > [name=Sergei Bobrovskyi, Data Scientist] one of the most interesting talks of the whole event. ![airbus](https://i.imgur.com/kLPFI8q.jpg) Topic: anomaly detection in $d-$dimensional time series in a real world enviroment (flying airplane) using Deep Learning. $d \approx 500$ ![time-series](https://i.imgur.com/ar6u50o.jpg) ![open-dynamical-systems](https://i.imgur.com/DMH5aTq.jpg) Rule-based approaches only find severe anomalies, but not signs that something could grow to be severe (no early warning). Defining whether a certain pattern is anomalous or not, requires **expert judgement** and **looking at different 1D time series at the same time**. For example, in the bottom plot, oscillations in the <font color="#f00">red</font> time series are not anomalous when the <font color="#1AC814">green</font> and <font color="#1450C8">blue</font> time series are switching at the same time (bottom-left), but they are when <font color="#1AC814">green</font> and <font color="#1450C8">blue</font> are more or less steady (first red interval, bottom right), or when they do switch, but the oscillation of <font color="#f00">red</font> starts small and then increases, rather than vice versa (second red interval, bottom right). ![anomaly-detection](https://i.imgur.com/hdTpyXD.jpg) the validation of their model includes a domain expert step (not fully automated) ![industrial-solution](https://i.imgur.com/2GJqLxZ.jpg) The Deep Learning approaches to Anomaly Detection for multivariate time series are mostly divided in _predictive_ ones (basically, forecasting with RNNs) and _reconstructive_ ones (basically, encoder-decoder architectures with LSTM modules, such as seq2seq or similar stuff) ![an-dect-deep-learn](https://i.imgur.com/ossmyqm.jpg) Airbus basically uses a large LSTM. Their approach is detailed in the NASA paper cited, but they changed the threshold choice ![airbus-approach](https://i.imgur.com/zwiRdxY.jpg) Very interestingly, Airbus built an AI Gym and held an open competition to find anomalies in their dataset ![ai-gym](https://i.imgur.com/TVGxCuE.jpg) quite a large number of time series. Most of the anomalies identified by engineers went undetected by the competitors. Competitors didn't have access to the validation test (real anomaly detection), nor they got any info about the physical system from which the data were generated (an aircraft subsystem, different from the engine: the lecturer didn't say which one) ![ts-challenge](https://i.imgur.com/KjhZs8Q.jpg) Results: academic teams didn't manage to get an F2-score above 0.02(!). Even the best industrial competitor, which won, got an F2-score of 0.51 ![challenge-results](https://i.imgur.com/47Yc7we.jpg) ![next-steps](https://i.imgur.com/ZQewIvt.jpg) Heavy Q&A: - Q: how to set the anomaly threshold? A: NASA approach doesn't work well for large number of parameters, so Airbus fits a probability distribution (not a Gaussian one, some heavy-tailed one) to the distribution of absolute residuals. - Q: how long did you take you to label the data? A: 12 hrs, 2 expert engineers - Q: you mentioned you start from a subsystem, and then you extend the model. What do you change? A: we mostly reduce the number of parameters using dimensionality reduction, in order to keep the model manageable/trainable - Q: what's the secret behind DataPred's much better results? A: they have a way to perform model ensembling in real time, according to the historical accuracy of each model - Q: predictive methods for AD often have the issue that if a large anomaly is suddenly registered on a sensor (e.g., sensor failure), then the anomaly is "propagated" to the prediction of all other sensors. How do you fix that? A: we found this issue and noted that predicting many steps ahead in time, rather than a single step ahead in time, helps. - Q: how do you treat categorical variables? A: we don't really have categoricals, we have either numeric continuous or numeric binary. LSTM can handle both without any special intervention. When we will build a bigger model which handles multiple different subsystems at the same time, we'll probably have to deal with categoricals. --- ## Deep Learning for Space Exploration - NASA JPL > [name=Shreyansh Daftry, Research Scientist] The JPL is using Deep Learning to help design the next mission to Mars. Autonomous agents are very important because of the large delay in comms from Earth to Mars and back. ![AI-space-expl](https://i.imgur.com/eWMmVus.jpg) Of course, main interest is in AI for robots ![capabilities](https://i.imgur.com/5PvoMAV.jpg) CNNs are used to perform semantic segmentation in the rover video stream, and guide navigation. ![mobility-nav](https://i.imgur.com/ahcENgF.jpg) Main issue: annotating the type of terrain requires experts in Martian geology - few data available. JPL is investigating in sample-efficient architectures, but for now it used standard ones ([DeepLabv3](https://arxiv.org/abs/1706.05587)) which are definitely not sample-efficient ![annotations](https://i.imgur.com/hPrdLku.jpg) The model was deployed during Curiosity mission, and it reduced the navigation time (better tracks chosen) ![curiosity](https://i.imgur.com/AVIODjb.jpg) Mars 2020 - the new NASA mission to Mars![mars2020](https://i.imgur.com/C3cOiOJ.jpg) ![app-landing](https://i.imgur.com/pFn8nCB.jpg) ![](https://i.imgur.com/UJfypQq.jpg) ![](https://i.imgur.com/Z549CrR.jpg) AI challenges for space exploration are similar to usual challenges, with the added difficulty of deploying on very resource constrained systems (on Mars, every single Watt of power is hard-earned)![](https://i.imgur.com/adbVFdZ.jpg) --- ## [COTA: Improving the Customer Support Experience Using Deep Learning](https://arxiv.org/pdf/1807.01337.pdf) - UBER > [name=Aditya Guglani, Data Scientist] An interesting presentation about building a DL model which helps customer support by 1) helping the operator by selecting the ticket class (**content type identification**), 2) rerouting tickets to the right teams, 3) propose three possible replies to the ticket (**reply template selection**) . The presentation is a very detailed description of an industrial use case. ![agenda](https://i.imgur.com/emsFGla.jpg) ![cust-supp](https://i.imgur.com/kuI0j2y.jpg) ![ticket-cycle](https://i.imgur.com/i81QUEE.jpg) ![challenge-1](https://i.imgur.com/T597fC7.jpg) ![challenge-2](https://i.imgur.com/DM5kdUS.jpg) COTA v1 (Customer Obsession Ticket Assistance) is based on feature engineering, rather than on Deep Learning. ![cota-v1-1](https://i.imgur.com/eaEbz6G.jpg) Two approaches are compared. Pure classification (attribute a class to each ticket) and pointwise ranking (rank classes in terms of distance from ticket) ![cota-v1-2](https://i.imgur.com/5mJwm4K.jpg) ![cota-v1-3](https://i.imgur.com/kW8ZYYh.jpg) With +4000 classes and +200 dimensions of the LSA vector, straight classification struggles. Cosine similarity works better because it reduces a lot the dimensionality of the binary classifier input ![cota-v1-4](https://i.imgur.com/yzDUQme.jpg) ![cota-v1-rollout](https://i.imgur.com/D9fbZVr.jpg) AB testing was used to quantify the impact of COTA v1 ![cota-v1-abtest](https://i.imgur.com/JH8T38d.jpg) ![cota-v1-online-perf](https://i.imgur.com/ZvRw25Q.jpg) COTA v1 business impact was 20+M$. The reduction in handling time for each ticket was small (6%) but the sheer volume of tickets is so large that a large total benefit was realized. Note the misleading plot, where the zero of the y-axis is not included ![cota-v1-BI](https://i.imgur.com/qhzGOgt.jpg) To increase COTA business impact, Uber leveraged Deep Learning. An Encoder-Combiner-Decoder architecture was selected ![cota-v2](https://i.imgur.com/NSSm0Gy.jpg) Two different text encoders were tested: char/wordCNN and char/wordRNN ![word-CNN](https://i.imgur.com/zlxoedd.jpg) ![word-RNN](https://i.imgur.com/8qN6dye.jpg) All encoders performed more or less the same in terms of accuracy, thus the word-CNN was selected, being 9 times faster but just 1% less accurate than the most accurate encoder. ![comparision](https://i.imgur.com/2AxywWJ.jpg) ![feature-importance](https://i.imgur.com/ok8YZHK.jpg) COTA performance drops with time... ![online-perf](https://i.imgur.com/S3uOlW7.jpg) ...thus a regular retraining schedule is needed. This is another reason why simple models (faster to retrain) are to be preferred ![retrain](https://i.imgur.com/sjq5vAv.jpg) ![](https://i.imgur.com/Q1PknQN.jpg) ![](https://i.imgur.com/pAal7HG.jpg) ![](https://i.imgur.com/4MxSvIx.jpg) ![conclusions](https://i.imgur.com/Y8V0bh0.jpg) As a side note, the [Ludwig toolbox](https://uber.github.io/ludwig/) was developed out this project. --- ## Conclusions The event was really interesting, and its concurrency with the AI Assitant Summit allowed people to move from one session to the other session. Many interesting methods and papers were discussed. At the end of each day, attendees gathered to share their experiences and learnings from the day, thus it was also a good networking event. It would have been nice if the organization also set up an external get-together event, such as a dinner, but overall it was definitely a great experience.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully