Discourse & Dialogue
Emotion and Sentiment Analysis: A Practitioner's Guide to NLP
Sentiment analysis is perhaps one of the most popular applications of NLP, with a vast number of tutorials, courses, and applications that focus on analyzing sentiments of diverse datasets ranging from corporate surveys to movie reviews. The key aspect of sentiment analysis is to analyze a body of text for understanding the opinion expressed by it. Typically, we quantify this sentiment with a positive or negative value, called polarity. The overall sentiment is often inferred as positive, neutral or negative from the sign of the polarity score. Usually, sentiment analysis works best on text that has a subjective context than on text with only an objective context.
XL-NBT: A Cross-lingual Neural Belief Tracking Framework
Chen, Wenhu, Chen, Jianshu, Su, Yu, Wang, Xin, Yu, Dong, Yan, Xifeng, Wang, William Yang
Task-oriented dialog systems are becoming pervasive, and many companies heavily rely on them to complement human agents for customer service in call centers. With globalization, the need for providing cross-lingual customer support becomes more urgent than ever. However, cross-lingual support poses great challenges---it requires a large amount of additional annotated data from native speakers. In order to bypass the expensive human annotation and achieve the first step towards the ultimate goal of building a universal dialog system, we set out to build a cross-lingual state tracking framework. Specifically, we assume that there exists a source language with dialog belief tracking annotations while the target languages have no annotated dialog data of any form. Then, we pre-train a state tracker for the source language as a teacher, which is able to exploit easy-to-access parallel data. We then distill and transfer its own knowledge to the student state tracker in target languages. We specifically discuss two types of common parallel resources: bilingual corpus and bilingual dictionary, and design different transfer learning strategies accordingly. Experimentally, we successfully use English state tracker as the teacher to transfer its knowledge to both Italian and German trackers and achieve promising results.
Learning End-to-End Goal-Oriented Dialog with Multiple Answers
Rajendran, Janarthanan, Ganhotra, Jatin, Singh, Satinder, Polymenakos, Lazaros
In a dialog, there can be multiple valid next utterances at any point. The present end-to-end neural methods for dialog do not take this into account. They learn with the assumption that at any time there is only one correct next utterance. In this work, we focus on this problem in the goal-oriented dialog setting where there are different paths to reach a goal. We propose a new method, that uses a combination of supervised learning and reinforcement learning approaches to address this issue. We also propose a new and more effective testbed, permuted-bAbI dialog tasks, by introducing multiple valid next utterances to the original-bAbI dialog tasks, which allows evaluation of goal-oriented dialog systems in a more realistic setting. We show that there is a significant drop in performance of existing end-to-end neural methods from 81.5% per-dialog accuracy on original-bAbI dialog tasks to 30.3% on permuted-bAbI dialog tasks. We also show that our proposed method improves the performance and achieves 47.3% per-dialog accuracy on permuted-bAbI dialog tasks.
Latent Dirichlet Allocation for Internet Price War
Li, Chenchen, Yan, Xiang, Deng, Xiaotie, Qi, Yuan, Chu, Wei, Song, Le, Qiao, Junlong, He, Jianshan, Xiong, Junwu
Internet market makers are always facing intense competitive environment, where personalized price reductions or discounted coupons are provided for attracting more customers. Participants in such a price war scenario have to invest a lot to catch up with other competitors. However, such a huge cost of money may not always lead to an improvement of market share. This is mainly due to a lack of information about others' strategies or customers' willingness when participants develop their strategies. In order to obtain this hidden information through observable data, we study the relationship between companies and customers in the Internet price war. Theoretically, we provide a formalization of the problem as a stochastic game with imperfect and incomplete information. Then we develop a variant of Latent Dirichlet Allocation (LDA) to infer latent variables under the current market environment, which represents the preferences of customers and strategies of competitors. To our best knowledge, it is the first time that LDA is applied to game scenario. We conduct simulated experiments where our LDA model exhibits a significant improvement on finding strategies in the Internet price war by including all available market information of the market maker's competitors. And the model is applied to an open dataset for real business. Through comparisons on the likelihood of prediction for users' behavior and distribution distance between inferred opponent's strategy and the real one, our model is shown to be able to provide a better understanding for the market environment. Our work marks a successful learning method to infer latent information in the environment of price war by the LDA modeling, and sets an example for related competitive applications to follow.
Learning to Dialogue via Complex Hindsight Experience Replay
Lu, Keting, Zhang, Shiqi, Chen, Xiaoping
Reinforcement learning methods have been used for learning dialogue policies from the experience of conversations. However, learning an effective dialogue policy frequently requires prohibitively many conversations. This is partly because of the sparse rewards in dialogues, and the relatively small number of successful dialogues in early learning phase. Hindsight experience replay (HER) enables an agent to learn from failure, but the vanilla HER is inapplicable to dialogue domains due to dialogue goals being implicit (c.f., explicit goals in manipulation tasks). In this work, we develop two complex HER methods providing different trade-offs between complexity and performance. Experiments were conducted using a realistic user simulator. Results suggest that our HER methods perform better than standard and prioritized experience replay methods (as applied to deep Q-networks) in learning rate, and that our two complex HER methods can be combined to produce the best performance.
Learning Supervised Topic Models for Classification and Regression from Crowds
Rodrigues, Filipe, Lourenço, Mariana, Ribeiro, Bernardete, Pereira, Francisco
Hence, it is seldom the case where a single oracle labels an entire collection. Furthermore, the Web, through its social nature, also exploits the wisdom of crowds to annotate large collections of documents and images. By categorizing texts, tagging images or rating products and places, Web users are generating large volumes of labeled content. However, when learning supervised models from crowds, the quality of labels can vary significantly due to task subjectivity and differences in annotator reliability (or bias) [9], [10]. If we consider a sentiment analysis task, it becomes clear that the subjectiveness of the exercise is prone to generate considerably distinct labels from different annotators. Similarly, online product reviews are known to vary considerably depending on the personal biases and volatility of the reviewer's opinions. It is therefore essential to account for these issues when learning from this increasingly common type of data. Hence, the interest of researchers on building models that take the reliabilities of different annotators into consideration and mitigate the effect of their biases has spiked during the last few years (e.g.
It Isn't Emotional AI. It's Psychopathic AI. – Jonathan Cook – Medium
This week, I'm writing a series of articles about sentiment analysis, which is often referred to as Emotional AI. Engineers of this new brand of technology claim to be able to detect and analyze emotion using electronic sensors and machine learning. To date, media coverage of this emerging field of has been rather credulous, accepting Silicon Valley's assertions about Emotional AI at face value. In this series, I'm attempting to balance that fawning coverage with critical questions, building toward suggestions for ways in which sentiment analysis can be more meaningfully employed by businesses that sincerely wish to enhance their emotional connection with the human beings they serve. This is the fourth article in the series, which also includes the following: Can AI Understand Your Emotions?
jLDADMM: A Java package for the LDA and DMM topic models
In this technical report, we present jLDADMM---an easy-to-use Java toolkit for conventional topic models. jLDADMM is released to provide alternatives for topic modeling on normal or short texts. It provides implementations of the Latent Dirichlet Allocation topic model and the one-topic-per-document Dirichlet Multinomial Mixture model (i.e. mixture of unigrams), using collapsed Gibbs sampling. In addition, jLDADMM supplies a document clustering evaluation to compare topic models. jLDADMM is open-source and available to download at: https://github.com/datquocnguyen/jLDADMM
Let's analyze how world reacts to road traffic by sentiment analysis …
Colombo Big Data Meetup August 2nd 2018 Let's analyze the world's reaction to road traffic 2. In a nutshell Social Developer Skills & Interests Recognitions 7 years experience Full stack developer Angular, Big Data enthusiast Automation fanboy Microsoft MVP Developer Technologies Top contributor in the world on Stackoverflow for #Angular, #Cosmosdb Web application architecture Business intelligence Big Data Visualization Azure platform 120 repositories on Stackblitz 4800 answers on Stackoverflow Github contributions D3 directives and more Open-source contributions Sajeetharan Sinnathurai Senior Tech Lead at 99X Technology A few things about me! 3. What is sentiment analysis? "computationally identify and categorize the opinions expressed in a piece of text; determine whether positive/neutral/negative toward a topic/product…" [Oxford Dict.] 4. Why it is so important? What is Logic Apps? • Visual designer without writing single line of code • Dozens of pre-built templates to get started • Out of box support for popular SaaS and on-premises apps • Use with custom API apps of your own • Biztalk APIs for expert integration scenarios 9. Cognitive services Vision Speech Knowledge Language Search "Give your apps a human side" 10. •Sentiment analysis •Key phrase extraction •Topic detection •Language detection 13. Are we? Give away What were the two main Azure resources presented in this session? What is the name of the NOSQL database that could replace MSSQL in the proposed solution?
Neural Sentence Embedding using Only In-domain Sentences for Out-of-domain Sentence Detection in Dialog Systems
Ryu, Seonghan, Kim, Seokhwan, Choi, Junhwi, Yu, Hwanjo, Lee, Gary Geunbae
To ensure satisfactory user experience, dialog systems must be able to determine whether an input sentence is in-domain (ID) or out-of-domain (OOD). We assume that only ID sentences are available as training data because collecting enough OOD sentences in an unbiased way is a laborious and time-consuming job. This paper proposes a novel neural sentence embedding method that represents sentences in a low-dimensional continuous vector space that emphasizes aspects that distinguish ID cases from OOD cases. We first used a large set of unlabeled text to pre-train word representations that are used to initialize neural sentence embedding. Then we used domain-category analysis as an auxiliary task to train neural sentence embedding for OOD sentence detection. After the sentence representations were learned, we used them to train an autoencoder aimed at OOD sentence detection. We evaluated our method by experimentally comparing it to the state-of-the-art methods in an eight-domain dialog system; our proposed method achieved the highest accuracy in all tests.