SlideShare a Scribd company logo
1 of 15
Download to read offline
Smart Chat 
Rishi Dua 
Harvineet Singh 
Real-time chat-based personalized recommendation system 
Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 1 / 15
Smart Chat 
Motivation 
Combining Chat and Information 
Limited features of traditional chat systems 
No recommendations based on 
User interests and needs 
Schedule and planning 
No application of NLP techniques for unstructured text (chat) 
E-commerce websites: Amazon, Ebay etc. 
Based on viewed and purchased products 
More products suggested based on previous choice 
Personalisation with Privacy 
Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 2 / 15
Smart Chat 
Problem Statement 
Developing a chat application providing real time suggestions 
Movies: Show timings, recent movies 
Food: Restaurant reviews 
Products: Reviews, shopping links 
Travel to city: Train/
ight booking, Hotels, weather etc. 
Plans/Meetings: Calendar and personal schedule 
And so on..choice 
Recommendations improved with user interaction 
Learns preferences and interests 
Recommendations personalised with user feedback 
Tracking user clicks to improve classi
cation accuracy 
Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 3 / 15
Smart Chat 
Existing Work 
Applications developed 
GaChat: Returns information from Wikipedia relevant to users chat 
SemChat: Extracting Personal Information from Chat Conversations 
Current research 
Topic detection and extraction in chat 
Information extraction from chat corpus study 
Recommendations improved with user interaction 
Trained on
xed given corpus 
None of the research techniques give real-time recommendations 
Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 4 / 15
Smart Chat 
Approach 
Live Recommendation System 
User sentences categorised into prede
ned categories: food, cars, 
movies, travel etc. 
Using NLP,
gure out the topic of conversation 
Find relevant websites 
Using open source search APIs to
nd recommendations from given 
websites 
Users feedback used to improve future recommendations 
Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 5 / 15
Smart Chat 
User Interface 
Figure: Screenshot of the User Interface 
Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 6 / 15
Smart Chat 
Deciding when to give suggestion 
Figure: Recommendation is shown when 3 consecutive sentences are from same 
topic 
Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 7 / 15
Smart Chat 
Feedback from user to improve prediction 
Figure: Screenshot of the User Interface 
Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 8 / 15
Smart Chat 
Tracking user preference 
Figure: Ranking of recommendation gets updated when user clicks on a 
recommendation 
Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 9 / 15
Smart Chat 
Privacy 
Chat data saved anonymously in corpus 
Training on chat session instead of users chat history 
Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 10 / 15

More Related Content

Viewers also liked

Zingme practice for building scalable website with PHP
Zingme practice for building scalable website with PHPZingme practice for building scalable website with PHP
Zingme practice for building scalable website with PHP
Chau Thanh
 
A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
Kumar Gaurav
 

Viewers also liked (19)

ActivEngage Dealer Chat Real-Time Communication
ActivEngage Dealer Chat Real-Time CommunicationActivEngage Dealer Chat Real-Time Communication
ActivEngage Dealer Chat Real-Time Communication
 
Managing ejabberd Platforms with Docker - ejabberd Workshop #1
Managing ejabberd Platforms with Docker - ejabberd Workshop #1Managing ejabberd Platforms with Docker - ejabberd Workshop #1
Managing ejabberd Platforms with Docker - ejabberd Workshop #1
 
Zigbee based two way wireless chatting system
Zigbee based two way wireless chatting systemZigbee based two way wireless chatting system
Zigbee based two way wireless chatting system
 
IoT時代を支えるプロトコルMQTT技術詳解
IoT時代を支えるプロトコルMQTT技術詳解IoT時代を支えるプロトコルMQTT技術詳解
IoT時代を支えるプロトコルMQTT技術詳解
 
【 ITベンチャーを支えるテクノロジー 】チャットワークを支える技術|Chatwork株式会社
【 ITベンチャーを支えるテクノロジー 】チャットワークを支える技術|Chatwork株式会社【 ITベンチャーを支えるテクノロジー 】チャットワークを支える技術|Chatwork株式会社
【 ITベンチャーを支えるテクノロジー 】チャットワークを支える技術|Chatwork株式会社
 
Zing Me Real Time Web Chat Architect
Zing Me Real Time Web Chat ArchitectZing Me Real Time Web Chat Architect
Zing Me Real Time Web Chat Architect
 
Real-time Chat Backend on AWS IoT 20160422
Real-time Chat Backend on AWS IoT 20160422Real-time Chat Backend on AWS IoT 20160422
Real-time Chat Backend on AWS IoT 20160422
 
Real-time Streaming and Querying with Amazon Kinesis and Amazon Elastic MapRe...
Real-time Streaming and Querying with Amazon Kinesis and Amazon Elastic MapRe...Real-time Streaming and Querying with Amazon Kinesis and Amazon Elastic MapRe...
Real-time Streaming and Querying with Amazon Kinesis and Amazon Elastic MapRe...
 
Zingme practice for building scalable website with PHP
Zingme practice for building scalable website with PHPZingme practice for building scalable website with PHP
Zingme practice for building scalable website with PHP
 
20150726 IoTってなに?ニフティクラウドmqttでやったこと
20150726 IoTってなに?ニフティクラウドmqttでやったこと20150726 IoTってなに?ニフティクラウドmqttでやったこと
20150726 IoTってなに?ニフティクラウドmqttでやったこと
 
Awsでつくるapache kafkaといろんな悩み
Awsでつくるapache kafkaといろんな悩みAwsでつくるapache kafkaといろんな悩み
Awsでつくるapache kafkaといろんな悩み
 
リアルタイムサーバー 〜Erlang/OTPで作るPubSubサーバー〜
リアルタイムサーバー 〜Erlang/OTPで作るPubSubサーバー〜 リアルタイムサーバー 〜Erlang/OTPで作るPubSubサーバー〜
リアルタイムサーバー 〜Erlang/OTPで作るPubSubサーバー〜
 
Low Latency Mobile Messaging using MQTT
Low Latency Mobile Messaging using MQTTLow Latency Mobile Messaging using MQTT
Low Latency Mobile Messaging using MQTT
 
Mqttで始めるIoT
Mqttで始めるIoTMqttで始めるIoT
Mqttで始めるIoT
 
Develop a Messaging App on AWS in One Day
Develop a Messaging App on AWS in One DayDevelop a Messaging App on AWS in One Day
Develop a Messaging App on AWS in One Day
 
AWS Real-Time Event Processing
AWS Real-Time Event ProcessingAWS Real-Time Event Processing
AWS Real-Time Event Processing
 
Lan chat system
Lan chat systemLan chat system
Lan chat system
 
Google Cloud Storage backup and archive
Google Cloud Storage backup and archiveGoogle Cloud Storage backup and archive
Google Cloud Storage backup and archive
 
A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
 

Similar to Smart Chat

Final Presentation
Final PresentationFinal Presentation
Final Presentation
Bryan Then
 
Sentiment Analysis of Twitter tweets using supervised classification technique
Sentiment Analysis of Twitter tweets using supervised classification technique Sentiment Analysis of Twitter tweets using supervised classification technique
Sentiment Analysis of Twitter tweets using supervised classification technique
IJERA Editor
 
A Sentiment-Based Approach to Twitter User Recommendation
A Sentiment-Based Approach to Twitter User RecommendationA Sentiment-Based Approach to Twitter User Recommendation
A Sentiment-Based Approach to Twitter User Recommendation
Davide Feltoni Gurini
 

Similar to Smart Chat (20)

Final Presentation
Final PresentationFinal Presentation
Final Presentation
 
Detection and Analysis of Twitter Trending Topics via Link-Anomaly Detection
Detection and Analysis of Twitter Trending Topics via Link-Anomaly DetectionDetection and Analysis of Twitter Trending Topics via Link-Anomaly Detection
Detection and Analysis of Twitter Trending Topics via Link-Anomaly Detection
 
IRJET- Twitter Sentimental Analysis for Predicting Election Result using ...
IRJET-  	  Twitter Sentimental Analysis for Predicting Election Result using ...IRJET-  	  Twitter Sentimental Analysis for Predicting Election Result using ...
IRJET- Twitter Sentimental Analysis for Predicting Election Result using ...
 
lms final ppt.pptx
lms final ppt.pptxlms final ppt.pptx
lms final ppt.pptx
 
Integrated marketing 2014
Integrated marketing 2014Integrated marketing 2014
Integrated marketing 2014
 
Interviews
InterviewsInterviews
Interviews
 
Recommender system and big data (design a smartphone recommender system based...
Recommender system and big data (design a smartphone recommender system based...Recommender system and big data (design a smartphone recommender system based...
Recommender system and big data (design a smartphone recommender system based...
 
An Executives Guide to the Economics of SharePoint Development and the Cloud
An Executives Guide to the Economics of SharePoint Development and the CloudAn Executives Guide to the Economics of SharePoint Development and the Cloud
An Executives Guide to the Economics of SharePoint Development and the Cloud
 
Recommendation System Using Social Networking
Recommendation System Using Social Networking Recommendation System Using Social Networking
Recommendation System Using Social Networking
 
Sentiment Analysis of Twitter tweets using supervised classification technique
Sentiment Analysis of Twitter tweets using supervised classification technique Sentiment Analysis of Twitter tweets using supervised classification technique
Sentiment Analysis of Twitter tweets using supervised classification technique
 
IRJET - Election Result Prediction using Sentiment Analysis
IRJET - Election Result Prediction using Sentiment AnalysisIRJET - Election Result Prediction using Sentiment Analysis
IRJET - Election Result Prediction using Sentiment Analysis
 
Movies recommendation system in R Studio, Machine learning
Movies recommendation system in  R Studio, Machine learning Movies recommendation system in  R Studio, Machine learning
Movies recommendation system in R Studio, Machine learning
 
Online social network analysis with machine learning techniques
Online social network analysis with machine learning techniquesOnline social network analysis with machine learning techniques
Online social network analysis with machine learning techniques
 
2.pdf
2.pdf2.pdf
2.pdf
 
Citihub Open Source and Cloud approach to Social Media Listening
Citihub Open Source and Cloud approach to Social Media ListeningCitihub Open Source and Cloud approach to Social Media Listening
Citihub Open Source and Cloud approach to Social Media Listening
 
A Sentiment-Based Approach to Twitter User Recommendation
A Sentiment-Based Approach to Twitter User RecommendationA Sentiment-Based Approach to Twitter User Recommendation
A Sentiment-Based Approach to Twitter User Recommendation
 
The Value of Key Performance Indicators: Unlock Your Data
The Value of Key Performance Indicators: Unlock Your DataThe Value of Key Performance Indicators: Unlock Your Data
The Value of Key Performance Indicators: Unlock Your Data
 
A Frame-work for Efficient Education and Exam Preparations
A Frame-work for Efficient Education and Exam PreparationsA Frame-work for Efficient Education and Exam Preparations
A Frame-work for Efficient Education and Exam Preparations
 
Sentiment Analysis on Twitter data using Machine Learning
Sentiment Analysis on Twitter data using Machine LearningSentiment Analysis on Twitter data using Machine Learning
Sentiment Analysis on Twitter data using Machine Learning
 
Recommending content from social information streams
Recommending content from social information streamsRecommending content from social information streams
Recommending content from social information streams
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Smart Chat

  • 1. Smart Chat Rishi Dua Harvineet Singh Real-time chat-based personalized recommendation system Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 1 / 15
  • 2. Smart Chat Motivation Combining Chat and Information Limited features of traditional chat systems No recommendations based on User interests and needs Schedule and planning No application of NLP techniques for unstructured text (chat) E-commerce websites: Amazon, Ebay etc. Based on viewed and purchased products More products suggested based on previous choice Personalisation with Privacy Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 2 / 15
  • 3. Smart Chat Problem Statement Developing a chat application providing real time suggestions Movies: Show timings, recent movies Food: Restaurant reviews Products: Reviews, shopping links Travel to city: Train/ ight booking, Hotels, weather etc. Plans/Meetings: Calendar and personal schedule And so on..choice Recommendations improved with user interaction Learns preferences and interests Recommendations personalised with user feedback Tracking user clicks to improve classi
  • 4. cation accuracy Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 3 / 15
  • 5. Smart Chat Existing Work Applications developed GaChat: Returns information from Wikipedia relevant to users chat SemChat: Extracting Personal Information from Chat Conversations Current research Topic detection and extraction in chat Information extraction from chat corpus study Recommendations improved with user interaction Trained on
  • 6. xed given corpus None of the research techniques give real-time recommendations Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 4 / 15
  • 7. Smart Chat Approach Live Recommendation System User sentences categorised into prede
  • 8. ned categories: food, cars, movies, travel etc. Using NLP,
  • 9. gure out the topic of conversation Find relevant websites Using open source search APIs to
  • 10. nd recommendations from given websites Users feedback used to improve future recommendations Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 5 / 15
  • 11. Smart Chat User Interface Figure: Screenshot of the User Interface Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 6 / 15
  • 12. Smart Chat Deciding when to give suggestion Figure: Recommendation is shown when 3 consecutive sentences are from same topic Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 7 / 15
  • 13. Smart Chat Feedback from user to improve prediction Figure: Screenshot of the User Interface Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 8 / 15
  • 14. Smart Chat Tracking user preference Figure: Ranking of recommendation gets updated when user clicks on a recommendation Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 9 / 15
  • 15. Smart Chat Privacy Chat data saved anonymously in corpus Training on chat session instead of users chat history Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 10 / 15
  • 17. cation 1 Pre-processing: Stop words removal, Stemming using WorldNet lemmatizer 2 Feature extraction: TF-IDF of word count vectors 3 Feature selection: Select k-best features using Chi-square feature selection 4 Classi
  • 18. cation: Multinomial NB, Bernoulli, LinearSVC, Perceptron using scikit-learn library 5 Cross-validation: f-1 score to select best classi
  • 19. er Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 11 / 15
  • 20. Smart Chat Algorithm - Recommendations 1 Figure out the topic of conversation from learnt model 2 Mark chat as discussion if 3 consecutive sentences are from same topic 3 If chat is a discussion 1 Search for recommendations from given websites using open source search APIs 2 Track users clicks 3 On clicking a recommendation: Mark text as correctly classi
  • 21. ed and add to corpus Increase score of the recommended website for future recommendations 4 On clicking a feedback link 5 Mark text as incorrectly classi
  • 22. ed and add to marked corpus Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 12 / 15
  • 23. Smart Chat Results Selecting Algorithm Figure: Comparison of learning algorithms on our dataset Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 13 / 15
  • 24. Smart Chat Results Feature Selection Figure: K best features (Log scale) using Chi-Square measure Top: Linear SVM, middle: Multinomial, bottom: Bernoulli Multinomial outperforms Bernoulli for large vocabulary Good accuracy obtained on using 5000 words as features Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 14 / 15
  • 25. Smart Chat Future Scope Personalization of the feature extraction technique Clustering of users based on their preferences Maintaining an activity calendar to remind user of his schedule while planning tentative work on chat. Yet to implement the calendar feature in the application Changing from a Ajax based chat to an XMPP chat server Integrating with Facebook chat API Rishi Dua (IIT Delhi) Twitter Recommendation 28 May 2014 15 / 15