14–17 Oct 2019

Anomaly detection in smart buildings using federated learning

Tuhin Sharma (Binaize), Bargava Subramanian (Binaize)
16:0016:40 Thursday, 17 October 2019
Location: Blenheim Room - Palace Suite
Average rating: ****.
(4.50, 2 ratings)

Who is this presentation for?

  • Data scientists, machine learning engineers, and product managers




A modern smart building has a number of internet-enabled devices. IoT sensors to measure temperature, internet-enabled lighting, IP camera, IP phone, etc., and data is generated at scale across all the devices. There are two critical aspects of the network of devices to function well: data quality (the generated data has to be correct within an accepted error range) and security (with a number of internet-connected devices, securing the network from cyberthreats is very important). But there are two broad challenges to achieve this: the data collected is very sensitive to business operations and hence the solution has to be privacy preserving, and the amount of data generated is huge and is not feasible to upload all of them to the cloud.

Tuhin Sharma and Bargava Subramanian explain how they used federated learning to build anomaly-detection models that monitor data quality and cybersecurity while preserving data privacy. Federated learning enables edge devices to collaboratively learn a machine learning model but keep all of the data on the device itself. Instead of moving data to the cloud, the models are trained on the device and only the updates of the model are shared across the network. Using federated learning gives you the following advantages: more accurate and low latency models where the data is not moved and only the model updates are shared, resulting in models having low latency (since the models are on the device) and being more accurate; privacy preserving because the data remains on the device; and energy efficient, because the workload on the device is drastically reduced—leading to lower power consumption and longer device life.

Tuhin and Bargava built deep learning models using TensorFlow and deployed using uTensor, a lightweight ML inference framework built on mbed and TensorFlow. They outline their architecture and show you how federated learning can help improve the models. Federated learning provides a framework to port models across organizations for the same domain of the device, something not possible in traditional cloud-based anomaly detection models, which makes it easy to deploy with very limited data.

Join in to hear some of Tuhin and Bargava’s success stories.

Prerequisite knowledge

  • A basic understanding of machine learning

What you'll learn

  • Learn what federated learning is and how to build and deploy such models on the edge
Photo of Tuhin Sharma

Tuhin Sharma


Tuhin Sharma is a cofounder and CTO of Binaize, an AI-based firm. Previously, he was a data scientist at IBM Watson and Red Hat, where he mainly worked on social media analytics, demand forecasting, retail analytics, and customer analytics, and he worked at multiple startups, where he built personalized recommendation systems to maximize customer engagement with the help of ML and DL techniques across multiple domains like fintech, ed tech, media, and ecommerce. He’s filed five patents and published four research papers in the field of natural language processing and machine learning. He holds a postgraduate degree in computer science and engineering, specializing in data mining, from the Indian Institute of Technology Roorkee. He loves to play table tennis and guitar in his leisure time. His favorite quote is, “Life is beautiful.”

Photo of Bargava Subramanian

Bargava Subramanian


Bargava Subramanian is a cofounder and deep learning engineer at Binaize in Bangalore, India. He has 15 years’ experience delivering business analytics and machine learning solutions to B2B companies. He mentors organizations in their data science journey. He holds a master’s degree from the University of Maryland, College Park. He’s an ardent NBA fan.

  • Intel AI
  • O'Reilly
  • Amazon Web Services
  • IBM Watson
  • Dell Technologies
  • Hewlett Packard Enterprise
  • AXA

Contact us


For conference registration information and customer service


For more information on community discounts and trade opportunities with O’Reilly conferences


For information on exhibiting or sponsoring a conference


For media/analyst press inquires