Arxiv:1908.09738V1 [Eess.AS]

Total Page:16

File Type:pdf, Size:1020Kb

Arxiv:1908.09738V1 [Eess.AS] Connecting and Comparing Language Model Interpolation Techniques Ernest Pusateri, Christophe Van Gysel, Rami Botros,∗ Sameer Badaskar, Mirko Hannemann, Youssef Oualil, Ilya Oparin Apple Inc., USA {epusateri,cvangysel,badaskar,mirko hannemann,youalil,ioparin}@apple.com Abstract In this work we uncover a theoretical connection between count merging and Bayesian interpolation. We then compare the per- In this work, we uncover a theoretical connection between formance of linear interpolation, count merging and Bayesian two language model interpolation techniques, count merging interpolation on three large data sets. and Bayesian interpolation. We compare these techniques as well as linear interpolation in three scenarios with abundant training data per component model. Consistent with prior 2. Interpolation Techniques work, we show that both count merging and Bayesian inter- We start by formulating LM combination as history-dependent polation outperform linear interpolation. We include the first linear interpolation. Assume the target use case covers multiple (to our knowledge) published comparison of count merging and domains. Then the probability for a word, w, given a word Bayesian interpolation, showing that the two techniques per- history, h can be expressed as the following, where i represents form similarly. Finally, we argue that other considerations will a domain: make Bayesian interpolation the preferred approach in most cir- cumstances. p(w|h)= p(w, i|h), (1) i Index Terms: speech recognition, language modeling, lan- X guage model interpolation, count merging, Bayesian interpo- = p(i|h)p(w|i, h). (2) lation i X In theory, we could learn a parameter corresponding to p(i|h) 1. Introduction for every i and h. But this is rarely feasible in practice. Instead, Virtual assistants such as Apple’s Siri continue to gain in pop- we will derive an estimate of p(i|h) that requires a small num- ularity. Their appeal comes in part from their versatility. The ber of learned parameters. To do that, we first apply Bayes’ rule most advanced virtual assistants can respond to requests in a to p(i|h): p(i)p(h|i) broad range of domains, from simple commands like “set my p(i|h)= . (3) alarm” to complex questions about rare named entities. This j p(j)p(h|j) requirement to handle requests from a wide variety of domains Let λi be a learned parameterP corresponding to p(i) and poses a particular challenge when building the language model pInterp(h|i) be an estimate of p(h|i): (LM) for the speech recognition component of such a system. Interp Neural network LMs have been shown in recent years to Interp λip (h|i) p (i|h)= Interp . (4) outperform n-gram models on a variety of tasks (e.g. [1]), and j λj p (h|j) so one might consider their application here. However, n-gram models maintain advantages in decoding efficiency and in their Now, assume we build a componentP LM for each domain. Let ability to be quickly trained with very large amounts of data. pi(w|h) be the probability given to word w in the context of h These advantages often make an n-gram model the preferred by the ith component LM. Plugging this and our estimate for choice for the first recognition pass of modern real-world sys- p(i|h) into Equation 2: tems. Further, even when a neural network LM is used, it is λ pInterp h i often interpolated with an n-gram model. For these reasons, Interp i ( | ) p (w|h)= Interp pi(w|h). (5) λj p (h|j) this work will assume the use of n-gram models. i j To build an n-gram model that covers a broad range of do- X arXiv:1908.09738v1 [eess.AS] 26 Aug 2019 We now have a formulationP that assumes the existence of esti- mains, a common approach is to build separate domain-specific mates for per-component history probabilities, pInterp h i , and LMs and then apply an interpolation technique to combine them ( | ) has a small number of learned parameters, λ . Next, we show in a way that’s optimized for the target use case. Linear interpo- i that linear interpolation, count merging and Bayesian interpola- lation is one of the simplest and most commonly used of these tion differ only in how they compute pInterp h i . techniques [2]. Count merging [3, 4] and Bayesian interpola- ( | ) tion [5] are more sophisticated techniques that use word his- 2.1. Linear Interpolation tory statistics to achieve better performance, especially in cases where component domains vary widely in content or quantity of Linear interpolation makes the strong assumption that p(h|i) is training data. Despite their high-level similarity, work on count independent of i.1 Thus, Equation 5 reduces to: merging and Bayesian interpolation has proceeded in separate LI threads in the research literature. Accordingly, to our knowl- p (w|h)= λipi(w|h). (6) edge, there is no published comparison of these two techniques. i X 1This is more commonly but equivalently stated as assuming p(i|h) ∗No longer at Apple Inc. is independent of h. 2.2. Count Merging Note that [3] applied count merging using “expected counts” for word histories. Expected counts were computed by mul- Count merging uses the maximum likelihood estimate for Interp tiplying the total number of words in the training corpora by p (h|i). It is computed as follows, where Ni is the total an estimate of p(h, i) where p(h, i) was estimated “in a man- number of words in corpus i and ci(h) is the count of history h ner which may reserve probability mass for unobserved events.” in corpus i. Below we show one way of computing expected counts that is ci(h) pCM(h|i)= . (7) consistent with that description, where the first term is the total N i number of words in the training corpora and the second is an Plugging this into Equation 5: estimate of p(h, i). λ ci(h) p w h CM i N i( | ) p (w|h)= i . (8) expected Ni cj (h) ci (h)= Nj pi(h) . (14) i λj Nj j Nj j ! j ! X X This is not the conventional formulationP of count merging, as Substituting Equation 14 into EquationP 8 results in Equation 13. presented in [3] and [4]: Thus, count merging with this definition of expected counts is equivalent to Bayesian interpolation. ′ βici(h)pi(w|h) pCM (w|h)= . (9) βj cj (h) i j X 3. Static Interpolation P However, the two formulations are equivalent in an important Whatever interpolation technique we use, we’d like to end up way. Define βi as follows, where K is a constant whose value ′ with a single n-gram LM. However, the backoff structure of does not affect pCM (w|h): n-gram LMs presents a complication. Exact computation of the interpolated model probabilities for contexts unseen in any K βi = λi . (10) component LM requires that we maintain separate component Ni LMs and perform interpolation online. So, we apply a com- We see that for any set of λi in Equation 8, there is a set of βi in monly used approximation to create a statically interpolated ′ Equation 9 that will make pCM(w|h) equal to pCM (w|h), and model. First we fix the set of n-grams in the statically inter- vice versa. polated model to be the union of all the n-grams seen in the Note that the formulation in Equation 8 has a few advan- component models. Then, we interpolate separately at each n- tages over the one in Equation 9. First, it makes clear that it gram level. Finally, we recompute the backoff weights so that is the history counts relative to the size of their respective cor- word probabilities for all histories add up to 1. pora that matter rather than the absolute counts. Second, the λi are more constrained than the βi, which may make optimization 4. Related Work easier. Finally, unlike the β in Equation 9, we can interpret the i We are largely concerned with connecting two threads of re- λ in Equation 8 as component priors. In addition to making i search, one on count merging and one on Bayesian interpola- interpretation of learned λ easier, this allows for the λ to be i i tion. Count merging appears to be first formally described in [6] set using prior knowledge (e.g. an educated guess about domain (and elaborated on in [3]), while widely known (in some form) usage frequencies), something that would be difficult to do with before that. [6] and [3] show that count merging using two data the β parameters. i sources is a special case of maximum a posterior (MAP) adap- Note also that given a learned set of β , we can easily com- i tation. [4] starts from the formal definition of count merging pute the implied values for λ . Solving Equation 10 for λ and i i in [3] and describes a more general framework where history taking into account that λi sum to 1: count is one of a handful of features used to compute history- βiNi dependent weights. λi = . (11) Bayesian interpolation is first described in [7] for two data j βj Nj sources and then extended in [5]. The presentation in [5] differs 2.3. Bayesian InterpolationP from ours in a couple of ways. First, their formulation con- tains an extra layer of interpolation parameters. Second, they While count merging uses a maximum-likelihood estimate for assume estimates for the parameters analogous to λi are avail- p(h|i) (Equation 7), Bayesian interpolation uses something able as inputs to the interpolation process, while we learn those more robust.
Recommended publications
  • Digital Workaholics:A Click Away
    GSJ: Volume 9, Issue 5, May 2021 ISSN 2320-9186 1479 GSJ: Volume 9, Issue 5, May 2021, Online: ISSN 2320-9186 www.globalscientificjournal.com DIGITAL WORKAHOLICS:A CLICK AWAY Tripti Srivastava Muskan Chauhan Rohit Pandey Galgotias University Galgotias University Galgotias University [email protected] muskanchauhansmile@g [email protected] m mail.com om ABSTRACT:-In today’s world, Artificial Intelligence (AI) has become an 1. INTRODUCTION integral part of human life. There are many applications of AI such as Chatbot, AI defines as those device that understands network security, complex problem there surroundings and took actions which solving, assistants, and many such. increase there chance to accomplish its Artificial Intelligence is designed to have outcomes. Artifical Intelligence used as “a cognitive intelligence which learns from system’s ability to precisely interpret its experience to take future decisions. A external data, to learn previous such data, virtual assistant is also an example of and to use these learnings to accomplish cognitive intelligence. Virtual assistant distinct outcomes and tasks through supple implies the AI operated program which adaptation.” Artificial Intelligence is the can assist you to reply to your query or developing branch of computer science. virtually do something for you. Currently, Having much more power and ability to the virtual assistant is used for personal develop the various application. AI implies and professional use. Most of the virtual the use of a different algorithm to solve assistant is device-dependent and is bind to various problems. The major application a single user or device. It recognizes only being Optical character recognition, one user.
    [Show full text]
  • Deep Almond: a Deep Learning-Based Virtual Assistant [Language-To-Code Synthesis of Trigger-Action Programs Using Seq2seq Neural Networks]
    Deep Almond: A Deep Learning-based Virtual Assistant [Language-to-code synthesis of Trigger-Action programs using Seq2Seq Neural Networks] Giovanni Campagna Rakesh Ramesh Computer Science Department Stanford University Stanford, CA 94305 {gcampagn, rakeshr1}@stanford.edu Abstract Virtual assistants are the cutting edge of end user interaction, thanks to endless set of capabilities across multiple services. The natural language techniques thus need to be evolved to match the level of power and sophistication that users ex- pect from virtual assistants. In this report we investigate an existing deep learning model for semantic parsing, and we apply it to the problem of converting nat- ural language to trigger-action programs for the Almond virtual assistant. We implement a one layer seq2seq model with attention layer, and experiment with grammar constraints and different RNN cells. We take advantage of its existing dataset and we experiment with different ways to extend the training set. Our parser shows mixed results on the different Almond test sets, performing better than the state of the art on synthetic benchmarks by about 10% but poorer on real- istic user data by about 15%. Furthermore, our parser is shown to be extensible to generalization, as well as or better than the current system employed by Almond. 1 Introduction Today, we can ask virtual assistants like Amazon Alexa, Apple’s Siri, Google Now to perform simple tasks like, “What’s the weather”, “Remind me to take pills in the morning”, etc. in natural language. The next evolution of natural language interaction with virtual assistants is in the form of task automation such as “turn on the air conditioner whenever the temperature rises above 30 degrees Celsius”, or “if there is motion on the security camera after 10pm, call Bob”.
    [Show full text]
  • Inside Chatbots – Answer Bot Vs. Personal Assistant Vs. Virtual Support Agent
    WHITE PAPER Inside Chatbots – Answer Bot vs. Personal Assistant vs. Virtual Support Agent Artificial intelligence (AI) has made huge strides in recent years and chatbots have become all the rage as they transform customer service. Terminology, such as answer bots, intelligent personal assistants, virtual assistants for business, and virtual support agents are used interchangeably, but are they the same thing? The concepts are similar, but each serves a different purpose, has specific capabilities, varying extensibility, and provides a range of business value. 2018 © Copyright ServiceAide, Inc. 1-650-206-8988 | www.serviceaide.com | [email protected] INSIDE CHATBOTS – ANSWER BOT VS. PERSONAL ASSISTANT VS. VIRTUAL SUPPORT AGENT WHITE PAPER Before we dive into each solution, a short technical primer is in order. A chatbot is an AI-based solution that uses natural language understanding to “understand” a user’s statement or request and map that to a specific intent. The ‘intent’ is equivalent to the intention or ‘the want’ of the user, such as ordering a pizza or booking a flight. Once the chatbot understands the intent of the user, it can carry out the corresponding task(s). To create a chatbot, someone (the developer or vendor) must determine the services that the ‘bot’ will provide and then collect the information to support requests for the services. The designer must train the chatbot on numerous speech patterns (called utterances) which cover various ways a user or customer might express intent. In this development stage, the developer defines the information required for a particular service (e.g. for a pizza order the chatbot will require the size of the pizza, crust type, and toppings).
    [Show full text]
  • Welsh Language Technology Action Plan Progress Report 2020 Welsh Language Technology Action Plan: Progress Report 2020
    Welsh language technology action plan Progress report 2020 Welsh language technology action plan: Progress report 2020 Audience All those interested in ensuring that the Welsh language thrives digitally. Overview This report reviews progress with work packages of the Welsh Government’s Welsh language technology action plan between its October 2018 publication and the end of 2020. The Welsh language technology action plan derives from the Welsh Government’s strategy Cymraeg 2050: A million Welsh speakers (2017). Its aim is to plan technological developments to ensure that the Welsh language can be used in a wide variety of contexts, be that by using voice, keyboard or other means of human-computer interaction. Action required For information. Further information Enquiries about this document should be directed to: Welsh Language Division Welsh Government Cathays Park Cardiff CF10 3NQ e-mail: [email protected] @cymraeg Facebook/Cymraeg Additional copies This document can be accessed from gov.wales Related documents Prosperity for All: the national strategy (2017); Education in Wales: Our national mission, Action plan 2017–21 (2017); Cymraeg 2050: A million Welsh speakers (2017); Cymraeg 2050: A million Welsh speakers, Work programme 2017–21 (2017); Welsh language technology action plan (2018); Welsh-language Technology and Digital Media Action Plan (2013); Technology, Websites and Software: Welsh Language Considerations (Welsh Language Commissioner, 2016) Mae’r ddogfen yma hefyd ar gael yn Gymraeg. This document is also available in Welsh.
    [Show full text]
  • A Generator of Natural Language Semantic Parsers for Virtual
    Genie: A Generator of Natural Language Semantic Parsers for Virtual Assistant Commands Giovanni Campagna∗ Silei Xu∗ Mehrad Moradshahi Computer Science Department Computer Science Department Computer Science Department Stanford University Stanford University Stanford University Stanford, CA, USA Stanford, CA, USA Stanford, CA, USA [email protected] [email protected] [email protected] Richard Socher Monica S. Lam Salesforce, Inc. Computer Science Department Palo Alto, CA, USA Stanford University [email protected] Stanford, CA, USA [email protected] Abstract CCS Concepts • Human-centered computing → Per- To understand diverse natural language commands, virtual sonal digital assistants; • Computing methodologies assistants today are trained with numerous labor-intensive, → Natural language processing; • Software and its engi- manually annotated sentences. This paper presents a method- neering → Context specific languages. ology and the Genie toolkit that can handle new compound Keywords virtual assistants, semantic parsing, training commands with significantly less manual effort. data generation, data augmentation, data engineering We advocate formalizing the capability of virtual assistants with a Virtual Assistant Programming Language (VAPL) and ACM Reference Format: using a neural semantic parser to translate natural language Giovanni Campagna, Silei Xu, Mehrad Moradshahi, Richard Socher, into VAPL code. Genie needs only a small realistic set of input and Monica S. Lam. 2019. Genie: A Generator of Natural Lan- sentences for validating the neural model. Developers write guage Semantic Parsers for Virtual Assistant Commands. In Pro- templates to synthesize data; Genie uses crowdsourced para- ceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI ’19), June 22–26, 2019, phrases and data augmentation, along with the synthesized Phoenix, AZ, USA.
    [Show full text]
  • Virtual Assistant Services Portfolio
    PORTFOLIO OF Virtual Assistant Services www.riojacinto.com WELCOME Hey there! My name is Rio Jacinto and I am a Virtual Assistant passionately helping busy business owners, women entrepreneurs and bloggers succeed by helping them with their website, social media accounts and others so they have more time to attract more ideal clients! I understand, You're here because you need an extra pair of hands to manage other business tasks that you're no longer have time to do. I get it, your main responsibility is to focus on building your business. I can help you with that. As a business owner you want to save some time to do more important roles in your business and I am here to help you and make that happen. Please check out my services and previous works in the next few pages. I can't wait to work with you! HOW CAN I HELP YOU MY SERVICES Creating Graphics using Canva Creating ebooks Personal errands (purchasing gifts for loved ones / family members online) Creating landing pages and sales pages FB Ads, Chatbots Hotel and Flight Booking Preparing Slideshows for Webinars or Presentations Recruitment and Outsourcing Management (source for other team members like writers) Social Media Management (Facebook, LinkedIn, Youtube, Pinterest, Instagram.) Creation of Basic Squarespace/Shopify Website Manage your Blog (Basic Squarespace/Shopify website Management) Filter and reply to comments on your blog Other virtual services, as available. PORTFOLIO FLYERS/MARKETING PORTFOLIO WEBSITE PORTFOLIO PINTEREST PORTFOLIO SOCIAL MEDIA GRAPHICS Facebook PORTFOLIO SOCIAL MEDIA GRAPHICS Instagram PORTFOLIO PRESENTATION WHITE PAPER RATES CHOOSE HERE FOR THE BEST PACKAGE THAT SUITS YOU Social Media Management Package starts from $150/mo *graphics creation/curation/scheduling/client support Pinterest Management Package starts from $50/wk *client provides stock photo or additional $2/ea.
    [Show full text]
  • Voice Assistants and Smart Speakers in Everyday Life and in Education
    Informatics in Education, 2020, Vol. 19, No. 3, 473–490 473 © 2020 Vilnius University, ETH Zürich DOI: 10.15388/infedu.2020.21 Voice Assistants and Smart Speakers in Everyday Life and in Education George TERZOPOULOS, Maya SATRATZEMI Department of Applied Informatics, University of Macedonia, Thessaloniki, Greece Email: [email protected], [email protected] Received: November 2019 Abstract. In recent years, Artificial Intelligence (AI) has shown significant progress and its -po tential is growing. An application area of AI is Natural Language Processing (NLP). Voice as- sistants incorporate AI by using cloud computing and can communicate with the users in natural language. Voice assistants are easy to use and thus there are millions of devices that incorporates them in households nowadays. Most common devices with voice assistants are smart speakers and they have just started to be used in schools and universities. The purpose of this paper is to study how voice assistants and smart speakers are used in everyday life and whether there is potential in order for them to be used for educational purposes. Keywords: artificial intelligence, smart speakers, voice assistants, education. 1. Introduction Emerging technologies like virtual reality, augmented reality and voice interaction are reshaping the way people engage with the world and transforming digital experiences. Voice control is the next evolution of human-machine interaction, thanks to advances in cloud computing, Artificial Intelligence (AI) and the Internet of Things (IoT). In the last years, the heavy use of smartphones led to the appearance of voice assistants such as Apple’s Siri, Google’s Assistant, Microsoft’s Cortana and Amazon’s Alexa.
    [Show full text]
  • Virtual Assistant Interview Questions and Answers Guide
    Virtual Assistant Interview Questions And Answers Guide. Global Guideline. https://www.globalguideline.com/ Virtual Assistant Interview Questions And Answers Global Guideline . COM Virtual Assistant Job Interview Preparation Guide. Question # 1 Tell me what are your special skills working as a virtual assistant? Answer:- Over the years, I have gained expertise in handling bookkeeping duties, online research, database management and data entry, calendar management and call handling duties. Additionally, I am well-versed in responding to support tickets and providing online troubleshooting advice. Read More Answers. Question # 2 Tell me what are your working hours? Answer:- Knowing the best times and days you can contact your VA is essential to your business. As such, you should get the VA's working hours and compare them to your requirements. And if you're going to hire someone located on the other side of the world, be mindful of the time difference. Read More Answers. Question # 3 Tell me do you have references I can contact? Answer:- While there are virtual assistants who have reviews and testimonials you can read on their blogs or website, it is still important to contact the applicant's previous clients who can vouch for his professionalism so you can validate his claims. If there is any sign of hesitation on the applicant's end when you ask this question, you might want to think twice before hiring that person. Read More Answers. Question # 4 Please explain what timezone are you in and what hours are you available? Answer:- Because virtual assistants may be based anywhere in the world, it's important to make sure you're able to communicate.
    [Show full text]
  • Chatbots & Virtual Assistants
    CHATBOTS & VIRTUAL ASSISTANTS CONVERSE’S VISION & VALUE PROPOSITION 2019 / 20 VISION PAPER 1 INTRODUCTION The market for chatbots and virtual assistants is growing at an exponential rate. A Gartner study in 2018, saw more than 160% increase in client interest around implementing chatbots and associated technologies in 2018 INTEREST from previous years. This increase has been driven by customer service, knowledge management and user support. Gartner forecasted that 70% of white collar workers will interact with conversational platforms on a daily basis by 2022. 160% This rapid adoption and maturing chatbot technology has risen the increase in client interest expectations for both customers and administrators. These expectations in 2018 are not those of speed, efficiency and accuracy alone but the ability to address diverse customers, provide business insights to partners and - Gartner function seamlessly and efficiently in cross-functional matrix organisations. And of course, do more than just having dialogues. “Today, chatbots are expected to relate INTERACTION to all users. Performing transactional functions not just informational 70% functions” of white collar workers will interact Chatbots are traditionally used in service intensive industries to provide with conversational customer service consistency at speed and at scale. Chatbots today platforms are evolving to perform services in addition to responding to questions. Services like room bookings in hospitality sectors, form submissions - Gartner and document verifications in financial sectors, delivering more value to customers and playing a vital role in an organisation’s growth in providing more services while managing manpower and associated costs. CONVERSE’S VISION The vision of Converse is to enable connected organisations by being the single platform virtual assistant embedded in whole of organisations.
    [Show full text]
  • Towards an Intelligent Virtual Assistant for Low Resource Spoken-Only
    PRELIMINARY VERSION: DO NOT CITE The AAAI Digital Library will contain the published version some time after the conference Using Radio Archives for Low-Resource Speech Recognition: Towards an Intelligent Virtual Assistant for Illiterate Users Moussa Doumbouya,1 Lisa Einstein,1,2 Chris Piech2 1 GNCode 2 Stanford University [email protected], [email protected], [email protected] Abstract recognition technology requires large annotated datasets. Unfortunately, languages spoken by illiterate people who For many of the 700 million illiterate people around the would most benefit from voice recognition technology tend world, speech recognition technology could provide a bridge to valuable information and services. Yet, those most in to fall in the “low resource” category, which in contrast need of this technology are often the most underserved by with “high resource” languages, have few available datasets. it. In many countries, illiterate people tend to speak only Transfer learning, transferring representations learned on low-resource languages, for which the datasets necessary for high resource unrelated languages, has not been explored speech technology development are scarce. In this paper, we for many low resource languages (Kunze et al. 2017). Even investigate the effectiveness of unsupervised speech represen- if transfer learning can help, labeled data is still needed to tation learning on noisy radio broadcasting archives, which develop useful models. are abundant even in low-resource languages. We make three There could be many reasons for this data deficit, includ- core contributions. First, we release two datasets to the re- ing that languages spoken by smaller populations are of- search community. The first, West African Radio Corpus, ten left behind for commercial prioritization reasons.
    [Show full text]
  • Artificial Intelligence for Virtual Assistant
    Flyer Information Management and Governance Artificial Intelligence for Virtual Assistant IDOL for Virtual Assistant, is an AI (Artificial Intelligence) powered solution, that allows organizations to offer their customers and employees access to information and processes using an automated human-like operator which can engage in natural language dialogues. streamline the retrieval process, which allows such databases of information to allow natural To address an increasingly diverse information to be obtained in a more conve- language questions to receive direct factual nient and user-friendly fashion. Moreover, it answers. This is achieved by processing and range of information requests, should offer an interface to allow configura- understanding the question and mapping it to IDOL uses our unique Natural tion of that process to ensure existing human an appropriate structured query that will in turn Language Question Answering knowledge is allowed to create and train the respond with the desired answer. An example (NLQA) technology to allow natural system to answer questions optimally. In gen- of this would be databases of financial prices conversations between end users eral, there are three independent steps to ac- over time, allowing a query such as, “What was complish this. the EPS of HPQ in Q3 2016?” to receive the and a virtual assistant, to perform precise answer. This database of structure in- queries against: curated (FAQ) Answer Bank formation is generally known as the fact bank. responses (Answer Bank), data Many administrators of support or user-help tables and data services (Fact systems have an existing set of frequently In addition, the system should have the abil- Bank), and unstructured documents asked questions that human support agents ity to understand and extract information (for (Passage Extraction); and to are trained on, or the help pages are populated example names, numbers) from unstructured data such as free-form documents.
    [Show full text]
  • Neural Logic Framework for Digital Assistants
    MEng Individual Project Imperial College London Department of Computing Neural Logic Framework for Digital Assistants Supervisor: Prof. Alessandra Russo Author: Nuri Cingillioglu Second Marker: Dr. Krysia Broda June 16, 2017 Abstract Digital assistants are becoming ubiquitous with consumers across mobile platforms help- ing with everyday tasks. The natural language interface of most assistants are built on machine learning based intent parsing techniques. This design cannot handle higher level abstract reasoning such as defaults while logic programs can incorporate them. In this project we present Kevin, a digital personal assistant with a logical framework built on top of neural networks to provide a flexible execution environment while har- nessing the capabilities of machine learning at a lower level. Kevin demonstrates natural language based logical constructs such as unification and resolution with integrated neural network information retrieval. Acknowledgements I would like to thank: • my parents for their wholehearted support, endless love and perpetual encourage- ment. • my supervisor Prof. Alessandra Russo for giving me this opportunity by accepting the project proposal and allowing me to explore the topic as well as her PhD student Mark Law for his feedback. • my personal tutor Dr. Alistair Donaldson for his support and advice for the years. • my friends for their companionship and solace throughout my degree. Contents 1 Introduction 11 1.1 Motivation.................................... 11 1.2 Objectives.................................... 12 1.3 Challenges.................................... 12 1.4 Contributions.................................. 13 2 Related Work 14 2.1 Natural Language Interactions......................... 14 2.1.1 Turing Test............................... 14 2.1.2 Conversational Agents......................... 15 2.2 Domain-specific Assistants........................... 17 2.2.1 PANDA: Virtual assistant for in-car child entertainment.....
    [Show full text]