Reinforcement Learning (RL) model for self-improving chatbots, specifically targeting FAQ-type chatbots.

Elena Ricciardelli, Debmalya Biswas

Abstract. We present a Reinforcement Learning (RL) model for self-improving chatbots, specifically targeting FAQ-type chatbots. The model is not aimed at building a dialog system from scratch, but to leverage data from user conversations to improve chatbot performance. At the core of our approach is a score model, which is trained to score chatbot utterance-response tuples based on user feedback. The scores predicted by this model are used as rewards for the RL agent. Policy learning takes place offline, thanks to an user simulator which is fed with utterances from the FAQ-database. Policy learning is implemented…

Challenges in deploying Edge AI/ML applications

Image for post
Image for post
Fig: Edge AI deployment pipeline (Image by Author)


AI/ML use-cases are pervasive. The enterprise use-cases can be broadly categorized based on the three core technical capabilities enabling them: Predictive Analytics, Computer Vision (CV) and Natural Language Processing (NLP). The Enterprise AI story has so far been focused on the Cloud. The general perception is that it takes a large amount of data and powerful machines, e.g., Graphical Processing Units (GPUs), to run AI applications.

Edge AI aims to bring all the goodness of AI to the device. The idea is to bring the processing as close as possible to the devices generating the data.

In its simplest form…

Real-world Enterprise use-cases of Reinforcement Learning: Recommendation systems, NLP/Chatbots, Energy optimization


With the current saturation setting into Deep Learning (DL) methods, there is quite a bit of expectation that Reinforcement (RL) will be the next big thing in AI.

Given that RL based approaches can basically be applied to any optimization problem, its enterprise adoption is picking up fast.

Image for post
Image for post
Figure 1. Reinforcement Learning: based on the pic by Andrea Piacquadio from Pexels

RL refers to a branch of Artificial Intelligence (AI), which is able to achieve complex goals by maximizing a reward function in real-time. The reward function works similar to incentivizing a child with candy and spankings, such that the algorithm is penalized when it takes a wrong decision and rewarded when it…

Statistical metrics to quantify mobile app privacy risk based on Location, Contacts & Content

Debmalya Biswas, Imad Aad, Gian Paolo Perrucci

Abstract. The ever increasing popularity of apps stems from their ability to provide highly customized services to the user. The flip side is that in order to provide such services, apps need access to very sensitive private information about the user. This leads to malicious apps that collect personal user information in the background and exploit it in various ways. Studies have shown that current app vetting processes which are mainly restricted to install time verification mechanisms are incapable of detecting and preventing such attacks. We argue that the missing fundamental aspect here…

Is synthetic data more privacy compliant?

Image for post
Image for post
Federated Learning: based on the pic by Andrea Piacquadio from Pexels

Federated learning [1], also known as Collaborative Learning, or Privacy preserving Machine Learning, enables multiple entities who do not trust each other (fully), to collaborate in training a Machine Learning (ML) model on their combined dataset; without actually sharing data — addressing critical issues such as privacy, access rights and access to heterogeneous confidential data.

This is in contrast to traditional (centralized) ML techniques where local datasets (belonging to different entities) need to be first brought to a common location before model training. …

Manage licensing risks of Open Source Data Science projects

This is an extended article accompanying the presentation on “Open Source Enterprise AI/ML Governance” at Linux Foundation’s Open Compliance Summit, Dec 2020 (link) (pptx)

Image for post
Image for post
Open Source Software Licensing: based on the pic by Andrea Piacquadio from Pexels

Open Source Software Enterprise Adoption Trends

The best AI/ML software today from model development (scikit-learn, TensorFlow, PyTorch) to deployment (Kubeflow, Spark) is Open Source. According to Gartner, “more than 90% of companies rely on Open Source Software”. The below snapshot should give you an idea of the pervasiveness of Open Source Software (OSS) in the Enterprise.

Explainability, Bias, Reproducibility & Accountability

Abstract. With the growing adoption of Open Source based AI/ML systems in enterprises, there is a need to ensure that AI/ML applications are responsibly trained and deployed. This effort is complicated by different governmental organizations and regulatory bodies releasing their own guidelines and policies with little to no agreement on the definition of terms, e.g. there are 20+ definitions of ‘fairness’. In this article, we will provide an overview explaining the key components of this ecosystem: Data, Models, Software, Ethics and Vendor Management. We will outline the relevant regulations such that Compliance/Legal teams are better prepared to establish a comprehensive…

Making Sense of Big Data

Develop personalized apps using a combination of Reinforcement Learning and NLP/Chatbots

Abstract. We present a Reinforcement Learning (RL) based approach to implement Recommender Systems. The results are based on a real-life Wellness app that is able to provide personalized health / activity related content to users in an interactive fashion. Unfortunately, current recommender systems are unable to adapt to continuously evolving features, e.g. user sentiment, and scenarios where the RL reward needs to computed based on multiple and unreliable feedback channels (e.g., sensors, wearables). …

HVAC optimization in factories for a sustainable future

Abstract. Heating, Ventilation and Air Conditioning (HVAC) units are responsible for maintaining the temperature and humidity settings in a building. Studies have shown that HVAC accounts for almost 50% energy consumption in a building and 10% of global electricity usage. HVAC optimization thus has the potential to contribute significantly towards our sustainability goals, reducing energy consumption and CO2 emissions. In this work, we explore ways to optimize the HVAC controls in factories. Unfortunately, this is a complex problem as it requires computing an optimal state considering multiple variable factors, e.g. the occupancy, manufacturing schedule, temperature requirements of operating machines, air…


Do (will) we still need Data Scientists?

AutoML tools have been gaining traction for the last couple of years, both due to technological advancements and their potential to be leveraged by ‘Citizen Data Scientists’. Citizen Data Science, is an interesting (often controversial) aspect of Data Science (DS) that aims to automate the design of Machine Learning (ML)/Deep Learning (DL) models, making it more accessible to people without the specialized skills of a Data Scientist.

In this article, we will try to understand AutoML, its promise, what is possible today?, where AutoML fails (today)?, …

Debmalya Biswas

AI, Privacy and Open Source | Ex-Nokia, SAP, Oracle | 50+ Patents |

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store