Contextual Language Understanding Thoughts on Machine Learning in Natural Language Processing Benoit Favre
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
An Analysis of Sentence Segmentation Features For
An Analysis of Sentence Segmentation Features for Broadcast News, Broadcast Conversations, and Meetings 12 1 Sebastien Cuendet1 Elizabeth Shriberg Benoit Favre [email protected] [email protected] [email protected] 1 James Fung1 Dilek Hakkani-Tur [email protected] [email protected] 2 1 ICSI SRI International 1947 Center Street 333 Ravenswood Ave Berkeley, CA 94704, USA Menlo Park, CA 94025, USA t sp eaking stylesbroadcast news BN broadcast ABSTRACT dieren conversations BC and facetoface multiparty meetings Information retrieval techniques for sp eech are based on MRDA We fo cus on the task of automatic sentence seg those develop ed for text and thus exp ect structured data as mentation or nding b oundaries of sentence units in the An essential task is to add sentence b oundary infor input otherwise unannotated devoid of punctuation capitaliza mation to the otherwise unannotated stream of words out tion or formatting stream of words output by a sp eech systems We analyze put by automatic sp eech recognition recognizer sentence segmentation p erformance as a function of feature Sentence segmentation is of particular imp ortance for sp eech ual versus automatic for news typ es and transcription man understanding applications b ecause techniques aimed at se sp eech meetings and a new corpus of broadcast conversa mantic pro cessing of sp eech inputsuch as machine trans tions Results show that overall features for broadcast lation question answering information extractionare typ news transfer well to meetings and broadcast -
Logophoricity in Finnish
Open Linguistics 2018; 4: 630–656 Research Article Elsi Kaiser* Effects of perspective-taking on pronominal reference to humans and animals: Logophoricity in Finnish https://doi.org/10.1515/opli-2018-0031 Received December 19, 2017; accepted August 28, 2018 Abstract: This paper investigates the logophoric pronoun system of Finnish, with a focus on reference to animals, to further our understanding of the linguistic representation of non-human animals, how perspective-taking is signaled linguistically, and how this relates to features such as [+/-HUMAN]. In contexts where animals are grammatically [-HUMAN] but conceptualized as the perspectival center (whose thoughts, speech or mental state is being reported), can they be referred to with logophoric pronouns? Colloquial Finnish is claimed to have a logophoric pronoun which has the same form as the human-referring pronoun of standard Finnish, hän (she/he). This allows us to test whether a pronoun that may at first blush seem featurally specified to seek [+HUMAN] referents can be used for [-HUMAN] referents when they are logophoric. I used corpus data to compare the claim that hän is logophoric in both standard and colloquial Finnish vs. the claim that the two registers have different logophoric systems. I argue for a unified system where hän is logophoric in both registers, and moreover can be used for logophoric [-HUMAN] referents in both colloquial and standard Finnish. Thus, on its logophoric use, hän does not require its referent to be [+HUMAN]. Keywords: Finnish, logophoric pronouns, logophoricity, anti-logophoricity, animacy, non-human animals, perspective-taking, corpus 1 Introduction A key aspect of being human is our ability to think and reason about our own mental states as well as those of others, and to recognize that others’ perspectives, knowledge or mental states are distinct from our own, an ability known as Theory of Mind (term due to Premack & Woodruff 1978). -
A Bayesian Framework for Word Segmentation: Exploring the Effects of Context
Cognition 112 (2009) 21–54 Contents lists available at ScienceDirect Cognition journal homepage: www.elsevier.com/locate/COGNIT A Bayesian framework for word segmentation: Exploring the effects of context Sharon Goldwater a,*, Thomas L. Griffiths b, Mark Johnson c a School of Informatics, University of Edinburgh, Informatics Forum, 10 Crichton Street, Edinburgh, EH8 9AB, UK b Department of Psychology, University of California, Berkeley, CA, United States c Department of Cognitive and Linguistic Sciences, Brown University, United States article info abstract Article history: Since the experiments of Saffran et al. [Saffran, J., Aslin, R., & Newport, E. (1996). Statistical Received 30 May 2008 learning in 8-month-old infants. Science, 274, 1926–1928], there has been a great deal of Revised 11 March 2009 interest in the question of how statistical regularities in the speech stream might be used Accepted 13 March 2009 by infants to begin to identify individual words. In this work, we use computational mod- eling to explore the effects of different assumptions the learner might make regarding the nature of words – in particular, how these assumptions affect the kinds of words that are Keywords: segmented from a corpus of transcribed child-directed speech. We develop several models Computational modeling within a Bayesian ideal observer framework, and use them to examine the consequences of Bayesian Language acquisition assuming either that words are independent units, or units that help to predict other units. Word segmentation We show through empirical and theoretical results that the assumption of independence causes the learner to undersegment the corpus, with many two- and three-word sequences (e.g. -
The Induction of Phonotactics for Speech Segmentation
The Induction of Phonotactics for Speech Segmentation Converging evidence from computational and human learners Published by LOT phone: +31 30 253 6006 Trans 10 fax: +31 30 253 6406 3512 JK Utrecht e-mail: [email protected] The Netherlands http://www.lotschool.nl Cover illustration: Elbertus Majoor, Landschap-fantasie II (detail), 1958, gouache. ISBN: 978-94-6093-049-2 NUR 616 Copyright c 2011: Frans Adriaans. All rights reserved. The Induction of Phonotactics for Speech Segmentation Converging evidence from computational and human learners Het Induceren van Fonotactiek voor Spraaksegmentatie Convergerende evidentie uit computationele en menselijke leerders (met een samenvatting in het Nederlands) Proefschrift ter verkrijging van de graad van doctor aan de Universiteit Utrecht op gezag van de rector magnificus, prof.dr. J.C. Stoof, ingevolge het besluit van het college voor promoties in het openbaar te verdedigen op vrijdag 25 februari 2011 des middags te 2.30 uur door Frans Willem Adriaans geboren op 14 maart 1981 te Ooststellingwerf Promotor: Prof. dr. R.W.J. Kager To my parents, Ank & Piet CONTENTS acknowledgements xi 1 introduction 1 1.1 The speech segmentation problem ................. 1 1.2 Segmentation cues and their acquisition .............. 3 1.2.1 Theroleofsegmentationcuesinspokenwordrecognition 4 1.2.2 The acquisition of segmentation cues by infants ..... 7 1.3 The induction of phonotactics for speech segmentation ..... 11 1.3.1 Bottom-up versus top-down ................ 11 1.3.2 Computational modeling of phonotactic learning .... 12 1.3.3 Two hypotheses regarding the acquisition of phonotac- tics by infants ......................... 16 1.4 Learning mechanisms in early language acquisition ....... 17 1.4.1 Statistical learning ..................... -
Context Pragmatics Definition of Pragmatics
Pragmatics • to ask a question: Maybe Sandy’s reassuring you that Kim’ll get home okay, even though she’s walking home late at night. Sandy: She’s got more than lipstick and Kleenex in that purse of hers. • What is Pragmatics? You: Kim’s got a knife? • Context and Why It’s Important • Speech Acts – Direct Speech Acts – Indirect Speech Acts • How To Make Sense of Conversations – Cooperative Principle – Conversational Maxims Linguistics 201, Detmar Meurers Handout 3 (April 9, 2004) 1 3 Definition of Pragmatics Context Pragmatics is the study of how language is used and how language is integrated in context. What exactly are the factors which are relevant for an account of how people use language? What is linguistic context? Why must we consider context? We distinguish several types of contextual information: (1) Kim’s got a knife 1. Physical context – this encompasses what is physically present around the speakers/hearers at the time of communication. What objects are visible, where Sentence (1) can be used to accomplish different things in different contexts: the communication is taking place, what is going on around, etc. • to make an assertion: You’re sitting on a beach, thinking about how to open a coconut, when someone (2) a. Iwantthat book. observes “Kim’s got a knife”. (accompanied by pointing) b. Be here at 9:00 tonight. • to give a warning: (place/time reference) Kim’s trying to bully you and Sandy into giving her your lunch money, and Sandy just turns around and starts to walk away. She doesn’t see Kim bring out the butcher knife, and hears you yell behind her, “Kim’s got a knife!” 2 4 2. -
Automatic Speech Segmentation
Alaa Ehab Sakran et al, International Journal of Computer Science and Mobile Computing, Vol.6 Issue.4, April- 2017, pg. 308-315 Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology ISSN 2320–088X IMPACT FACTOR: 6.017 IJCSMC, Vol. 6, Issue. 4, April 2017, pg.308 – 315 A Review: Automatic Speech Segmentation Alaa Ehab Sakran 1, Sherif Mahdy Abdou 23, Salah Eldeen Hamid 4, Mohsen Rashwan 25 1 PhD. Program in Computer Science, Sudan University of Science and Technology, Khartoum, Sudan 2 Research & Development International (RDI®), Giza, Egypt 3 Department of IT, Faculty of Computers and Information, Cairo University, Giza, Egypt 4 Department of Engineering and Applied Sciences, Umm Al-Qura University, Mecca, Saudi Arabia 5 Department of Electronics and Communication Engineering, Cairo University, Giza, Egypt [email protected], [email protected], {sabdou, mrashwan} @rdi-eg.com I. INTRODUCTION Automated segmentation of speech signals has been under research for over 30 years. Many speech processing systems require segmentation of Speech waveform into principal acoustic units. Segmentation is a process of breaking down a speech signal into smaller units. Segmentation is the very primary step in any voiced activated systems like speech recognition systems and training of speech synthesis systems. Speech segmentation is performed utilizing Wavelet, Fuzzy methods, Artificial Neural Networks and Hidden Markov Model. [1] [2] In this research a review of basics of speech segmentation problem and state-of-the art solutions will be investigated. In next section main characteristics of speech signal will be discussed. -
An Evaluation of Machine Learning Approaches to Natural Language Processing for Legal Text Classification
Imperial College London Department of Computing An Evaluation of Machine Learning Approaches to Natural Language Processing for Legal Text Classification Supervisors: Author: Prof Alessandra Russo Clavance Lim Nuri Cingillioglu Submitted in partial fulfillment of the requirements for the MSc degree in Computing Science of Imperial College London September 2019 Contents Abstract 1 Acknowledgements 2 1 Introduction 3 1.1 Motivation .................................. 3 1.2 Aims and objectives ............................ 4 1.3 Outline .................................... 5 2 Background 6 2.1 Overview ................................... 6 2.1.1 Text classification .......................... 6 2.1.2 Training, validation and test sets ................. 6 2.1.3 Cross validation ........................... 7 2.1.4 Hyperparameter optimization ................... 8 2.1.5 Evaluation metrics ......................... 9 2.2 Text classification pipeline ......................... 14 2.3 Feature extraction ............................. 15 2.3.1 Count vectorizer .......................... 15 2.3.2 TF-IDF vectorizer ......................... 16 2.3.3 Word embeddings .......................... 17 2.4 Classifiers .................................. 18 2.4.1 Naive Bayes classifier ........................ 18 2.4.2 Decision tree ............................ 20 2.4.3 Random forest ........................... 21 2.4.4 Logistic regression ......................... 21 2.4.5 Support vector machines ...................... 22 2.4.6 k-Nearest Neighbours ....................... -
Fasttext.Zip: Compressing Text Classification Models
Under review as a conference paper at ICLR 2017 FASTTEXT.ZIP: COMPRESSING TEXT CLASSIFICATION MODELS Armand Joulin, Edouard Grave, Piotr Bojanowski, Matthijs Douze, Herve´ Jegou´ & Tomas Mikolov Facebook AI Research fajoulin,egrave,bojanowski,matthijs,rvj,[email protected] ABSTRACT We consider the problem of producing compact architectures for text classifica- tion, such that the full model fits in a limited amount of memory. After consid- ering different solutions inspired by the hashing literature, we propose a method built upon product quantization to store word embeddings. While the original technique leads to a loss in accuracy, we adapt this method to circumvent quan- tization artefacts. Combined with simple approaches specifically adapted to text classification, our approach derived from fastText requires, at test time, only a fraction of the memory compared to the original FastText, without noticeably sacrificing quality in terms of classification accuracy. Our experiments carried out on several benchmarks show that our approach typically requires two orders of magnitude less memory than fastText while being only slightly inferior with respect to accuracy. As a result, it outperforms the state of the art by a good margin in terms of the compromise between memory usage and accuracy. 1 INTRODUCTION Text classification is an important problem in Natural Language Processing (NLP). Real world use- cases include spam filtering or e-mail categorization. It is a core component in more complex sys- tems such as search and ranking. Recently, deep learning techniques based on neural networks have achieved state of the art results in various NLP applications. One of the main successes of deep learning is due to the effectiveness of recurrent networks for language modeling and their application to speech recognition and machine translation (Mikolov, 2012). -
Unsupervised Recurrent Neural Network Grammars
Unsupervised Recurrent Neural Network Grammars Yoon Kim Alexander Rush Lei Yu Adhiguna Kuncoro Chris Dyer G´abor Melis Code: https://github.com/harvardnlp/urnng 1/36 Language Modeling & Grammar Induction Goal of Language Modeling: assign high likelihood to held-out data Goal of Grammar Induction: learn linguistically meaningful tree structures without supervision Incompatible? For good language modeling performance, need little independence assumptions and make use of flexible models (e.g. deep networks) For grammar induction, need strong independence assumptions for tractable training and to imbue inductive bias (e.g. context-freeness grammars) 2/36 Language Modeling & Grammar Induction Goal of Language Modeling: assign high likelihood to held-out data Goal of Grammar Induction: learn linguistically meaningful tree structures without supervision Incompatible? For good language modeling performance, need little independence assumptions and make use of flexible models (e.g. deep networks) For grammar induction, need strong independence assumptions for tractable training and to imbue inductive bias (e.g. context-freeness grammars) 2/36 This Work: Unsupervised Recurrent Neural Network Grammars Use a flexible generative model without any explicit independence assumptions (RNNG) =) good LM performance Variational inference with a structured inference network (CRF parser) to regularize the posterior =) learn linguistically meaningful trees 3/36 Background: Recurrent Neural Network Grammars [Dyer et al. 2016] Structured joint generative model of sentence x and tree z pθ(x; z) Generate next word conditioned on partially-completed syntax tree Hierarchical generative process (cf. flat generative process of RNN) 4/36 Background: Recurrent Neural Network Language Models Standard RNNLMs: flat left-to-right generation xt ∼ pθ(x j x1; : : : ; xt−1) = softmax(Wht−1 + b) 5/36 Background: RNNG [Dyer et al. -
Arxiv:2106.08037V1 [Cs.CL] 15 Jun 2021 Alternative Ways the World Could Be
The Possible, the Plausible, and the Desirable: Event-Based Modality Detection for Language Processing Valentina Pyatkin∗ Shoval Sadde∗ Aynat Rubinstein Bar Ilan University Bar Ilan University Hebrew University of Jerusalem [email protected] [email protected] [email protected] Paul Portner Reut Tsarfaty Georgetown University Bar Ilan University [email protected] [email protected] Abstract (1) a. We presented a paper at ACL’19. Modality is the linguistic ability to describe b. We did not present a paper at ACL’20. events with added information such as how de- sirable, plausible, or feasible they are. Modal- The propositional content p =“present a paper at ity is important for many NLP downstream ACL’X” can be easily verified for sentences (1a)- tasks such as the detection of hedging, uncer- (1b) by looking up the proceedings of the confer- tainty, speculation, and more. Previous studies ence to (dis)prove the existence of the relevant pub- that address modality detection in NLP often p restrict modal expressions to a closed syntac- lication. The same proposition is still referred to tic class, and the modal sense labels are vastly in sentences (2a)–(2d), but now in each one, p is different across different studies, lacking an ac- described from a different perspective: cepted standard. Furthermore, these senses are often analyzed independently of the events that (2) a. We aim to present a paper at ACL’21. they modify. This work builds on the theoreti- b. We want to present a paper at ACL’21. cal foundations of the Georgetown Gradable Modal Expressions (GME) work by Rubin- c. -
Supervised and Unsupervised Word Sense Disambiguation on Word Embedding Vectors of Unambiguous Synonyms
Supervised and Unsupervised Word Sense Disambiguation on Word Embedding Vectors of Unambiguous Synonyms Aleksander Wawer Agnieszka Mykowiecka Institute of Computer Science Institute of Computer Science PAS PAS Jana Kazimierza 5 Jana Kazimierza 5 01-248 Warsaw, Poland 01-248 Warsaw, Poland [email protected] [email protected] Abstract Unsupervised WSD algorithms aim at resolv- ing word ambiguity without the use of annotated This paper compares two approaches to corpora. There are two popular categories of word sense disambiguation using word knowledge-based algorithms. The first one orig- embeddings trained on unambiguous syn- inates from the Lesk (1986) algorithm, and ex- onyms. The first one is an unsupervised ploit the number of common words in two sense method based on computing log proba- definitions (glosses) to select the proper meaning bility from sequences of word embedding in a context. Lesk algorithm relies on the set of vectors, taking into account ambiguous dictionary entries and the information about the word senses and guessing correct sense context in which the word occurs. In (Basile et from context. The second method is super- al., 2014) the concept of overlap is replaced by vised. We use a multilayer neural network similarity represented by a DSM model. The au- model to learn a context-sensitive transfor- thors compute the overlap between the gloss of mation that maps an input vector of am- the meaning and the context as a similarity mea- biguous word into an output vector repre- sure between their corresponding vector represen- senting its sense. We evaluate both meth- tations in a semantic space. -
What the Neurocognitive Study of Inner Language Reveals About Our Inner Space Hélène Loevenbruck
What the neurocognitive study of inner language reveals about our inner space Hélène Loevenbruck To cite this version: Hélène Loevenbruck. What the neurocognitive study of inner language reveals about our inner space. Epistémocritique, épistémocritique : littérature et savoirs, 2018, Langage intérieur - Espaces intérieurs / Inner Speech - Inner Space, 18. hal-02039667 HAL Id: hal-02039667 https://hal.archives-ouvertes.fr/hal-02039667 Submitted on 20 Sep 2019 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Preliminary version produced by the author. In Lœvenbruck H. (2008). Épistémocritique, n° 18 : Langage intérieur - Espaces intérieurs / Inner Speech - Inner Space, Stéphanie Smadja, Pierre-Louis Patoine (eds.) [http://epistemocritique.org/what-the-neurocognitive- study-of-inner-language-reveals-about-our-inner-space/] - hal-02039667 What the neurocognitive study of inner language reveals about our inner space Hélène Lœvenbruck Université Grenoble Alpes, CNRS, Laboratoire de Psychologie et NeuroCognition (LPNC), UMR 5105, 38000, Grenoble France Abstract Our inner space is furnished, and sometimes even stuffed, with verbal material. The nature of inner language has long been under the careful scrutiny of scholars, philosophers and writers, through the practice of introspection. The use of recent experimental methods in the field of cognitive neuroscience provides a new window of insight into the format, properties, qualities and mechanisms of inner language.