Published Oct 21, 2019

AI in the browser

Explore the transformation of web interactions with gesture-based controls and privacy-focused AI applications as Victor Dibia delves into the power of tools like TensorFlow.js. Discover the innovative potential of federated learning in enhancing data privacy, and the challenges and benefits of integrating machine learning in JavaScript, as discussed with Cloudera's Fast Forward Labs research engineer.
Episode Highlights
Practical AI logo

Popular Clips

Episode Highlights

  • Federated Learning

    Federated learning is a transformative approach that allows model training across multiple devices without compromising data privacy. explains that this method involves training client models on end-user devices and sending model updates back to a central server, ensuring data remains on the user's device. This approach enhances model performance while maintaining privacy, as only model updates, not raw data, are shared 1.

    The value here is that data still stays on the client devices, but just these model updates that don't compromise privacy, data privacy gets sent back to the server.

    ---

    This technique is particularly relevant in the context of TensorFlow.js, which can facilitate federated learning on a global scale, allowing developers to construct local models using local data 1.

       

    JavaScript Applications

    Implementing federated learning using JavaScript, especially with TensorFlow.js, offers unique advantages. highlights that TensorFlow.js supports federated learning by enabling local model training on user devices and sending updates to a central server 1. This method not only preserves privacy but also leverages the computational power of individual devices.

    With Tensorflow Js, you could definitely construct local models on end user devices using local data.

    ---

    For those new to JavaScript, Dibia recommends starting with tutorials on the TensorFlow.js website, which provide a comprehensive guide to its APIs, including the layers API that resembles Keras, making it easier for those familiar with Python to transition 2.

Related Episodes