Tandem Inference: an Out-Of-Core Streaming Algorithm for Very Large-Scale Relational Inference

Total Page:16

File Type:pdf, Size:1020Kb

Tandem Inference: an Out-Of-Core Streaming Algorithm for Very Large-Scale Relational Inference The Thirty-Fourth AAAI Conference on Artificial Intelligence (AAAI-20) Tandem Inference: An Out-of-Core Streaming Algorithm for Very Large-Scale Relational Inference Sriram Srinivasan∗ Eriq Augustine∗ Lise Getoor UC Santa Cruz UC Santa Cruz UC Santa Cruz [email protected] [email protected] [email protected] Abstract knowledge graphs (Pujara et al. 2013), diagnosis of physi- cal systems (Chen, Chen, and Qian 2014), and information Statistical relational learning (SRL) frameworks allow users retrieval (Srinivasan et al. 2019b). to create large, complex graphical models using a compact, rule-based representation. However, these models can quickly While SRL methods have seen a great deal of success, become prohibitively large and not fit into machine memory. they face a major challenge when scaling to large datasets. In this work we address this issue by introducing a novel tech- The benefit of easily generating large graphical models from nique called tandem inference (TI). The primary idea of TI is a few template rules can turn into a curse as the graphical to combine grounding and inference such that both processes models can quickly grow to intractable sizes that do not fit happen in tandem. TI uses an out-of-core streaming approach in memory. Consider a simple transitive rule: Link(A, B) ∧ to overcome memory limitations. Even when memory is not Link(B,C) → Link(A, C), commonly used in conjunc- an issue, we show that our proposed approach is able to do tion with link prediction tasks. When this rule is instantiated inference faster while using less memory than existing ap- (grounded) with a simple dataset of 1000 entries, a graphical proaches. To show the effectiveness of TI, we use a popular SRL framework called Probabilistic Soft Logic (PSL). We model with a billion potentials is generated. implement TI for PSL by proposing a gradient-based infer- To address this issue, several approaches have been pro- ence engine and a streaming approach to grounding. We show posed. Lifted inference (de Salvo Braz, Amir, and Roth that we are able to run an SRL model with over 1B cliques in 2005; Singla and Domingos 2008; den Broeck et al. 2011; under nine hours and using only 10 GB of RAM; previous ap- Kersting 2012; Sarkhel et al. 2014; Kimmig, Mihalkova, and proaches required more than 800 GB for this model and are Getoor 2015; Srinivasan et al. 2019a) is a commonly em- infeasible on common hardware. To the best of our knowl- ployed and effective approach that exploits symmetry in the edge, this is the largest SRL model ever run. data to generate a more compact model on which to perform inference. While effective in many settings, a key draw- 1 Introduction back of these approaches is that evidence or noisy data can break symmetries, making lifting less effective. To address Statistical relational learning (SRL) (Richardson and this issue, approximate lifting approaches have also been Domingos 2006; Getoor and Taskar 2007; Raedt and Ker- proposed (Sen, Deshpande, and Getoor 2009; den Broeck, sting 2011) is an effective method of combining weighted Choi, and Darwiche 2012; Venugopal and Gogate 2014; first-order logic with probabilistic inference to make high- Das et al. 2019) which exploit approximate symmetries, al- quality, structured predictions. A characterizing trait of SRL lowing for greater and more robust compression. However, is the ability to generate large graphical models from a if the ground model lacks significant symmetry, approximate small set of logical templates (rules). Several different SRL lifting may improve tractability only at the cost of correct- frameworks have been proposed, each exploring different ness. types of graphical models, inference algorithms, or hyperpa- rameter learning methods (Richardson and Domingos 2006; Several approaches orthogonal to lifted inference have Bach et al. 2017; Venugopal, Sarkhel, and Gogate 2016). also been proposed that attempt to perform efficient ground- SRL methods have achieved state-of-the-art results in a var- ing by utilizing hybrid database approaches (Niu et al. ied set of domains such as image classification (Aditya, 2011), exploiting the structure of rules (Augustine and Yang, and Baral 2018), activity recognition (London et al. Getoor 2018), perform efficient approximate counting for 2013), natural language processing (Ebrahimi, Dou, and faster inference (Venugopal, Sarkhel, and Gogate 2015; Lowd 2016), recommender systems (Kouki et al. 2015), Sarkhel et al. 2016; Das et al. 2016), or distributing models across multiple machines (Magliacane et al. 2015). However ∗These authors contributed equally to this work. these methods, while quite useful, only provide partial solu- Copyright c 2020, Association for the Advancement of Artificial tions to grounding and efficient inference at scale. The hy- Intelligence (www.aaai.org). All rights reserved. brid database approach increases runtime substantially, ex- 10259 ploiting rule structure requires large amounts of memory to the template rules, called ground rules, which form a HL- store the ground model, approximating counting methods MRF. Each ground rule corresponds to a clique potential in are applicable to discrete graphical models only, and dis- the HL-MRF. A HL-MRF can be formally defined as: tributing across several machines does not reduce the overall Definition 1 (Hinge-loss Markov random field). Let memory required to run a large program. y = {y1,y2, ..., yn} be n RVs, x = {x1,x2, ..., xm} In this paper, we propose an alternate approach to scal- be m observed variables or evidence, and φ = ing which performs inference in tandem with grounding. {φ1,φ2, ..., φK } be K potential functions such that d d This enables us to scale SRL systems to large, previously φi(x, y)=max(i(x, y), 0) i or i(x, y) i . Where i is intractable, models. Our approach, which we refer to as tan- a linear function and di ∈{1, 2} provides a choice of two dem inference (TI), uses a novel streaming grounding archi- different loss functions, di =1(i.e., linear) and di =2(i.e, tecture and an out-of-core inference algorithm that utilizes quadratic). For weights w ∈{w1,w2, ..., wK } a hinge-loss a disk cache in order to consume a fixed amount of mem- energy function can be defined as: ory. This allows TI to scale unbounded by a machine’s main K memory. Furthermore, even with increased I/O overhead, E y|x w φ x, y y ∈ , x ∈ , our approach runs the entire process of grounding and in- ( )= i i( ) ; s.t., [0 1] ; [0 1] (1) ference in a fraction of the runtime required by traditional i=1 approaches. Since TI is orthogonal to lifting and some of the and the HL-MRF is defined as: other strategies, it can be combined with them for further 1 improvements. P (y|x, w)= exp(−E(y|x)) (2) Z(y) The TI concept is general and can potentially be applied to several different SRL frameworks. In this paper, we show Z y exp −E y|x where ( )= y ( ( )). how it can be implemented in probabilistic soft logic (PSL) (Bach et al. 2017). PSL is a SRL framework that generates The template rules in PSL define the interaction between a special kind of undirected graphical model called a hinge- different observed and unobserved RVs. Each predicate of a x, y ∈ , loss Markov random field (HL-MRF). A key distinguishing rule in PSL generates continuous RVs [0 1]. There- factor of a HL-MRF is that it makes a continuous relaxation fore, a rule can be interpreted as continuous relaxations of a∨b on random variables (RVs) which transforms the inference Boolean logical connectives. For example, corresponds ,a b a ∧ b problem into a convex optimization problem. This allows to the hinge potential min(1 + ), and corresponds ,a b − PSL to use optimizers such as alternating direction method to max(0 + 1) (see (Bach et al. 2017) for full details). of multipliers (ADMM) (Boyd et al. 2011) to perform effi- The combination of all ground rules define the hinge-loss cient inference. energy function. Once the energy function is generated the Our key contributions are as follows: 1) we propose a task of inference is to find the maximum aposteriori estimate (MAP) of the RVs y given evidence x. This is performed by general framework, TI, which uses streaming grounding and out-of-core streaming inference to perform memory effi- maximizing the density function or minimizing the energy cient, large-scale inference in SRL frameworks; 2) we derive function in (1). MAP inference is expressed as: a stochastic gradient descent-based inference method (SGD) argmax P (y|x) = argmin E(y|x) (3) and show that the SGD-based method can outperform the tra- y y ditionally used ADMM-based method; 3) we develop an effi- The above expression is a convex optimization problem and cient streaming grounding architecture and SGD-based out- is efficiently solved by a convex optimizer such as ADMM. of-core inference system that runs faster than previous state- We illustrate how HL-MRFs are instantiated using PSL of-the-art systems; 4) through experiments on two large with the following example: models, FRIENDSHIP-500M and FRIENDSHIP-1B, which Example 1. Consider a social network with users U ∈ require over 400GB and 800GB of memory respectively, {U ,...,U } F ∈ , u×u we show that, using just 10GB of memory, we can perform 1 u and friendship links [0 1] , where Friend(U1,U2) denotes the degree of friendship between inference on FRIENDSHIP-500M in under four hours and U1 and U2, near 0 if they are not friends and near 1 if FRIENDSHIP-1B in under nine hours; and 5) we perform an F ⊂ F empirical evaluation on eight realworld datasets to validate they are.
Recommended publications
  • UC Santa Cruz UC Santa Cruz Electronic Theses and Dissertations
    UC Santa Cruz UC Santa Cruz Electronic Theses and Dissertations Title Learning Structured and Causal Probabilistic Models for Computational Science Permalink https://escholarship.org/uc/item/0xf1t2zr Author Sridhar, Dhanya Publication Date 2018 License https://creativecommons.org/licenses/by-nc/4.0/ 4.0 Peer reviewed|Thesis/dissertation eScholarship.org Powered by the California Digital Library University of California UNIVERSITY OF CALIFORNIA SANTA CRUZ LEARNING STRUCTURED AND CAUSAL PROBABILISTIC MODELS FOR COMPUTATIONAL SCIENCE A dissertation submitted in partial satisfaction of the requirements for the degree of DOCTOR OF PHILOSOPHY in COMPUTER SCIENCE by Dhanya Sridhar September 2018 The Dissertation of Dhanya Sridhar is approved: Lise Getoor, Chair Marilyn Walker Kristian Kersting Lori Kletzer Vice Provost and Dean of Graduate Studies Copyright © by Dhanya Sridhar 2018 Table of Contents List of Figures vi List of Tables viii Abstract xii Dedication xiv Acknowledgments xv 1 Introduction 1 1.1 Challenges in Computational Science . .3 1.2 Structured Probabilistic Approaches . .6 1.3 Contributions . 10 2 Preliminaries 13 2.1 Probabilistic Graphical Models . 13 2.1.1 Markov Random Fields . 14 2.1.2 Bayesian Networks . 15 2.1.3 Inference and Learning . 17 2.2 Statistical Relational Learning . 19 2.3 Hinge-loss Markov Random Fields and Probabilistic Soft Logic . 21 3 Modeling Online Debates 24 3.1 Debate Stance Classification . 25 3.2 Online Debate Forums . 29 3.3 Related Work . 31 3.4 Modeling Debate Stance . 34 3.5 PSL Models . 38 3.6 Cost-Penalized Learning . 39 3.7 Experimental Results . 41 iii 3.7.1 Evaluating Modeling Choices .
    [Show full text]
  • Automated Knowledge Base Extension Using Open Information
    AUTOMATED KNOWLEDGE BASE EXTENSION USING OPEN INFORMATION by arnab kumar dutta durgapur, india Inauguraldissertation zur Erlangung des akademischen Grades eines Doktors der Naturwissenschaften Fakultät für Wirtschaftsinformatik und Wirtschaftsmathematik der Universität Mannheim Mannheim, Deutschland, 2015 dekan: Prof. Dr. Heinz Jürgen Müller, Universität Mannheim, Deutschland referent: Prof. Dr. Heiner Stuckenschmidt, Universität Mannheim, Deutschland korreferent: Ao. Prof. Dr. Fabian Suchanek, Télécom ParisTech University, France Tag der mündlichen Prüfung: 4 Februar 2016 Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven’t found it yet, keep looking. Don’t settle. As with all matters of the heart, you’ll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking until you find it. Don’t settle. - Steve Jobs (1955 - 2011) ABSTRACT Open Information Extractions (OIE) (like Nell,Reverb) frameworks provide us with domain independent facts in natural language forms containing knowledge from varied sources. Extraction mechanisms for structured knowledge bases (KB) (like DBpedia,Yago) often fail to retrieve such facts due to its resource specific extraction schemes. Hence, the structured KBs can extend themselves by augment- ing their coverage with the facts discovered by OIE systems. This possibility mo- tivates us to integrate these two genres of extractions into one interactive frame- work. In this work, we present a complete, ontology independent, generalized architecture for achieving this integration.
    [Show full text]
  • Unifying Logical and Statistical AI with Markov Logic
    review articles DOI:10.1145/3241978 Markov logic can be used as a general framework for joining logical and statistical AI. BY PEDRO DOMINGOS AND DANIEL LOWD Unifying Logical and Statistical AI with Markov Logic To handle the complexity and uncer- FOR MANY YEARS, the two dominant paradigms in tainty present in most real-world prob- artificial intelligence (AI) have been logical AI and lems, we need AI that is both logical and statistical AI. Logical AI uses first-order logic and statistical, integrating first-order logic related representa tions to capture complex and graphical models. One or the other relationships and knowledge about the world. key insights However, logic-based approaches are often too brittle ˽ Intelligent systems must be able to handle the complexity and uncertainty of the real to handle the uncertainty and noise pres ent in many world. Markov logic enables this by unifying first-order logic and probabilistic graphical applications. Statistical AI uses probabilistic models into a single representation. Many representations such as probabilistic graphical deep architectures are instances of Markov logic. models to capture uncertainty. However, graphical ˽ A extensive suite of learning and models only represent distributions over inference algorithms for Markov logic has been developed, along with open source propositional universes and must be customized to implementations like Alchemy. ˽ Markov logic has been applied to natural handle relational domains. As a result, expressing language understanding, information complex concepts and relationships in graphical models extraction and integration, robotics, social network analysis, computational is often difficult and labor-intensive. biology, and many other areas. 74 COMMUNICATIONS OF THE ACM | JULY 2019 | VOL.
    [Show full text]
  • Human in the Loop Enrichment of Product Graphs with Probabilistic Soft Logic
    Human in the Loop Enrichment of Product Graphs with Probabilistic Soft Logic Marouene Sfar Gandoura Zografoula Vagena Nikolaos Vasiloglou [email protected] [email protected] [email protected] RelationalAI RelationalAI RelationalAI ABSTRACT on the internet in the form of product manuals, product reviews, Product graphs have emerged as a powerful tool for online retailers blogs, social media sites, etc. to enhance product semantic search, catalog navigation, and rec- To tackle data completeness issues and to also take advantage ommendations. Their versatility stems from the fact that they can of the abundance of relevant information on the web, many retail- uniformly store and represent different relationships between prod- ers [4, 13] are currently looking into creating product graphs, i.e. ucts, their attributes, concepts or abstractions etc, in an actionable knowledge graphs that capture all the relevant information about form. Such information may come from many, heterogeneous, dis- each of their products and related entities. parate, and mostly unstructured data sources, rendering the product graph creation task a major undertaking. Our work complements existing efforts on product graph creation, by enabling field experts to directly control the graph completion process. We focus on the subtask of enriching product graphs with product attributes and we employ statistical relational learning coupled with a novel human in the loop enhanced inference workflow based on Probabilistic Soft Logic (PSL), to reliably predict product-attribute relationships. Our preliminary experiments demonstrate the viability, practicality and effectiveness of our approach and its competitiveness comparing with alternative methods. As a by-product, our method generates probabilistic fact validity labels from an originally unlabeled data- base that can subsequently be leveraged by other graph completion methods.
    [Show full text]
  • Hinge-Loss Markov Random Fields and Probabilistic Soft Logic
    Journal of Machine Learning Research 18 (2017) 1-67 Submitted 12/15; Revised 12/16; Published 10/17 Hinge-Loss Markov Random Fields and Probabilistic Soft Logic Stephen H. Bach [email protected] Computer Science Department Stanford University Stanford, CA 94305, USA Matthias Broecheler [email protected] DataStax Bert Huang [email protected] Computer Science Department Virginia Tech Blacksburg, VA 24061, USA Lise Getoor [email protected] Computer Science Department University of California, Santa Cruz Santa Cruz, CA 95064, USA Editor: Luc De Raedt Abstract A fundamental challenge in developing high-impact machine learning technologies is bal- ancing the need to model rich, structured domains with the ability to scale to big data. Many important problem areas are both richly structured and large scale, from social and biological networks, to knowledge graphs and the Web, to images, video, and natural lan- guage. In this paper, we introduce two new formalisms for modeling structured data, and show that they can both capture rich structure and scale to big data. The first, hinge- loss Markov random fields (HL-MRFs), is a new kind of probabilistic graphical model that generalizes different approaches to convex inference. We unite three approaches from the randomized algorithms, probabilistic graphical models, and fuzzy logic communities, showing that all three lead to the same inference objective. We then define HL-MRFs by generalizing this unified objective. The second new formalism, probabilistic soft logic (PSL), is a probabilistic programming language that makes HL-MRFs easy to define using a syntax based on first-order logic. We introduce an algorithm for inferring most-probable variable assignments (MAP inference) that is much more scalable than general-purpose convex optimization methods, because it uses message passing to take advantage of sparse dependency structures.
    [Show full text]
  • Probabilistic Soft Logic Dr
    Probabilistic Soft Logic Dr. Fayyaz ul Amir Afsar Minhas PIEAS Biomedical Informatics Research Lab Department of Computer and Information Sciences Pakistan Institute of Engineering & Applied Sciences PO Nilore, Islamabad, Pakistan http://faculty.pieas.edu.pk/fayyaz/ Adapted and copied from: Probabilistic Soft Logic: A New Framework for Statistical Relational Learning https://pdfs.semanticscholar.org/presentation/2cf1/22badd9491bbd9c1272e20c69cf9bca0af15.pdf Probabilistic Soft Logic: A Scalable Probabilistic Programming Language for Modeling Richly Structured Domains Golnoosh Farnadi, Lise Getoor LINQS Group, UCSC Hinge-Loss Markov Random Fields and Probabilistic Soft Logic (JMLR 2017) Probabilistic soft lofic: A short Introduction CIS 622: Machine Learning in Bioinformatics PIEAS Biomedical Informatics Research Lab IID • Typical Machine learning assumes that examples are IID CIS 622: Machine Learning in Bioinformatics PIEAS Biomedical Informatics Research Lab 2 IID in real-world • A lot of real-world data are not IID • Data points often have relationships amongst them or model relationships between entities – Structured Data – Network Data – Heterogeneous networks • Examples – Social networks (FB) – Document Nets (Wikipedia) – Biological networks – NLP Data – Video Data • Most machine learning is “model independent” – Modeling of causal (cause-effect) relationships • Judea Pearl “Theoretical Impediments to Machine Learning with Seven Sparks from the Causal Revolution” • Judea Pearl “The Book of Why” – How can we model these relationships?
    [Show full text]
  • Collective Spammer Detection in Evolving Multi-Relational Social Networks
    See discussions, stats, and author profiles for this publication at: https://www.researchgate.net/publication/278968259 Collective Spammer Detection in Evolving Multi-Relational Social Networks Conference Paper · August 2015 DOI: 10.1145/2783258.2788606 CITATIONS READS 17 282 4 authors, including: Shobeir Fakhraei Lise Getoor University of Southern California University of Maryland, College Park 16 PUBLICATIONS 169 CITATIONS 238 PUBLICATIONS 9,126 CITATIONS SEE PROFILE SEE PROFILE Some of the authors of this publication are also working on these related projects: Medical Decision Making for individual patients View project All content following this page was uploaded by Shobeir Fakhraei on 26 June 2015. The user has requested enhancement of the downloaded file. Collective Spammer Detection in Evolving Multi-Relational Social Networks Shobeir Fakhraei James Foulds Madhusudana Shashanka ∗ y University of Maryland University of California Santa Cruz, CA, USA if(we) Inc. College Park, MD, USA San Francisco, CA, USA [email protected] [email protected] [email protected] Lise Getoor University of California Santa Cruz, CA, USA [email protected] ABSTRACT Keywords Detecting unsolicited content and the spammers who create Social Networks, Spam, Social Spam, Collective Classifica- it is a long-standing challenge that affects all of us on a daily tion, Graph Mining, Multi-relational Networks, Heteroge- basis. The recent growth of richly-structured social net- neous Networks, Sequence Mining, Tree-Augmented Naive works has provided new challenges and opportunities in the Bayes, k-grams, Hinge-loss Markov Random Fields (HL- spam detection landscape. Motivated by the Tagged.com1 MRFs), Probabilistic Soft Logic (PSL), Graphlab. social network, we develop methods to identify spammers in evolving multi-relational social networks.
    [Show full text]
  • Decoupled Smoothing in Probabilistic Soft Logic
    Decoupled Smoothing in Probabilistic Soft Logic Yatong Chen∗ Bryan Tor∗ [email protected] [email protected] University of California, Santa Cruz University of California, Santa Cruz Santa Cruz, USA Santa Cruz, USA Eriq Augustine Lise Getoor [email protected] [email protected] University of California, Santa Cruz University of California, Santa Cruz Santa Cruz, USA Santa Cruz, USA ABSTRACT phenomenon, known as monophily, where nodes share similarity Node classification in networks is a common graph mining task. In with their neighbors’ neighbors, has also been shown to be useful this paper, we examine how separating identity (a node’s attribute) in identifying unknown labels [1]. and preference (the kind of identities to which a node prefers to link) In this paper, we examine how the notions of identity and pref- is useful for node classification in social networks. Building upon re- erence are useful for node classification in social networks. Identity cent work by Chin et al. (2019), where the separation of identity and refers to a specific attribute of an individual, such as their gender, preference is accomplished through a technique called “decoupled political affiliation, religious belief, and so on; preference refers to smoothing”, we show how models that characterize both identity the tendency of an individual to share a connection with others and preference are able to capture the underlying structure in a having a particular identity. The idea of decoupling identity and network, leading to improved performance in node classification preference was first introduced by Chin et al. (2019). In their work, tasks. Specifically, we use probabilistic soft logic (PSL) [2], a flexible they make specific assumptions on the correlations between an and declarative statistical reasoning framework, to model identity individual’s identity and preference: they assume that the identity and preference.
    [Show full text]
  • Arxiv:1912.08198V1 [Cs.LG] 17 Dec 2019 Ao Hthsbeen a Has Construction
    srlearn: A Python Library for Gradient-Boosted Statistical Relational Models Alexander L. Hayes ProHealth Lab Indiana University Bloomington [email protected] Abstract ready to predict (e.g. classify) new data instances. Al- though the estimation and prediction functions are logically We present srlearn, a Python library for boosted sta- distinguished in two separate protocols, it is generally a sin- tistical relational models. We adapt the scikit-learn in- gle class that implements both a learning algorithm and the terface to this setting and provide examples for how this can be used to express learning and inference problems. model for applying the parameters to new data. The aforementioned standard approach thus comprises configuring model hyperparameters, fitting training data, Introduction and predicting test data. However, scikit-learn has since Traditional machine learning systems have generally developed into a full-fledged ecosystem that also services been built as command line applications or as graph- related functions in the modeling workflow: model selec- ical user interfaces (Hall et al. 2009). Both have advan- tion, hyperparameter tuning, and model validation. Fur- tages, but offer fewer solutions when data acquisi- thermore, multiple offshoots of scikit-learn have emerged tion, preprocessing, and model development must oc- to tackle more specialized challenges, including imbal- cur together. Systems such as scikit-learn, TensorFlow, anced datasets (Lematre, Nogueira, and Aridas 2017), gen- Pyro, and PyTorch solve this problem by embed- eralized linear models (Blondel and Pedregosa 2016), and ding data cleaning and model development as steps metric learning (de Vazelhes et al. 2019). within general-purpose languages (Pedregosa et al.
    [Show full text]
  • Declarative Probabilistic Programming with Datalog
    1 Declarative Probabilistic Programming with Datalog Vince Bar´ any´ , LogicBlox, inc. Balder ten Cate, LogicBlox, inc. Benny Kimelfeld, LogicBlox, inc. and Technion – Israel Institute of Technology Dan Olteanu, LogicBlox, inc. and University of Oxford Zografoula Vagena, LogicBlox, inc. Probabilistic programming languages are used for developing statistical models. They typically consist of two components: a specification of a stochastic process (the prior), and a specification of observations that restrict the probability space to a conditional subspace (the posterior). Use cases of such formalisms include the development of algorithms in machine learning and artificial intelligence. In this article we establish a probabilistic-programming extension of Datalog that, on the one hand, allows for defining a rich family of statistical models, and on the other hand retains the fundamental properties of declarativity. Our proposed extension provides mechanisms to include common numerical probability functions; in particular, conclusions of rules may contain values drawn from such functions. The semantics of a program is a probability distribution over the possible outcomes of the input database with respect to the program. Observations are naturally incorporated by means of integrity constraints over the extensional and intensional relations. The resulting semantics is robust under different chases and invariant to rewritings that preserve logical equivalence. CCS Concepts: Theory of computation ! Constraint and logic programming; Database query languages (principles);r Mathematics of computing ! Probabilistic representations; General Terms: Languages,Theoryr Additional Key Words and Phrases: Chase, Datalog, declarative, probability measure space, probabilistic programming 1. INTRODUCTION Languages for specifying general statistical models are commonly used in the develop- ment of machine learning and artificial intelligence algorithms for tasks that involve inference under uncertainty.
    [Show full text]
  • Collective Spammer Detection in Evolving Multi-Relational Social Networks
    Collective Spammer Detection in Evolving Multi-Relational Social Networks Shobeir Fakhraei James Foulds Madhusudana Shashanka ∗ y University of Maryland University of California Santa Cruz, CA, USA if(we) Inc. College Park, MD, USA San Francisco, CA, USA [email protected] [email protected] [email protected] Lise Getoor University of California Santa Cruz, CA, USA [email protected] ABSTRACT Keywords Detecting unsolicited content and the spammers who create Social Networks, Spam, Social Spam, Collective Classifica- it is a long-standing challenge that affects all of us on a daily tion, Graph Mining, Multi-relational Networks, Heteroge- basis. The recent growth of richly-structured social net- neous Networks, Sequence Mining, Tree-Augmented Naive works has provided new challenges and opportunities in the Bayes, k-grams, Hinge-loss Markov Random Fields (HL- spam detection landscape. Motivated by the Tagged.com1 MRFs), Probabilistic Soft Logic (PSL), Graphlab. social network, we develop methods to identify spammers in evolving multi-relational social networks. We model a so- cial network as a time-stamped multi-relational graph where 1. INTRODUCTION vertices represent users, and edges represent different ac- Unsolicited or inappropriate messages sent to a large num- tivities between them. To identify spammer accounts, our ber of recipients, known as \spam", can be used for various approach makes use of structural features, sequence mod- malicious purposes, including phishing and virus attacks, elling, and collective reasoning. We leverage relational se- marketing of objectionable materials and services, and com- quence information using k-gram features and probabilistic promising the reputation of a system. From printed ad- modelling with a mixture of Markov models.
    [Show full text]
  • NIKHIL KINI ([email protected]) ​ ​ ​ (951) 823-3852 Nikhilnkini.Wordpress.Com Github.Com/Nkini Linkedin.Com/In/Nikhil-Kini-753B7751
    NIKHIL KINI ([email protected]) ​ ​ ​ (951) 823-3852 nikhilnkini.wordpress.com github.com/nkini linkedin.com/in/nikhil-kini-753b7751 Main interests: ● Machine learning, Natural Language Processing, and Distributed Systems. I specialize in Entity Resolution, Probabilistic Graphical Models, and Statistical Relational Learning. Technical skills: ● Python, Java, JavaScript, the Numpy stack, scikit-learn, Maven, NLTK (Expert) ● C, C++, Matlab, PHP, Ruby, Apache Spark, Android SDK, Theano (Prior Experience) Education: ● Master’s degree in Computer Science at UC Santa Cruz, 2017. GPA: 3.47. ● Bachelor of Engineering in Information Technology, Mumbai University, 2009. Work Experience ● Over six years in research and development, of which three years in Machine Learning. Adobe Systems Inc. Data Scientist Intern (June 2016 - March 2017) - 10 months ​ ● Visitor Stitching on Cross-Device Web Logs using Probabilistic Soft Logic ● Resolved cookies belonging to the same user, handling millions of sparsely labeled cookies ● Implemented baseline Support Vector Machine (SVM) models (in scikit-learn) ● Implemented relational classification models using Probabilistic Soft Logic ● Publication: Probabilistic Visitor Stitching on Cross-Device Web Logs, WWW 2017 University of California at Santa Cruz Graduate Student Researcher (September 2016 - March 2017) ​ ● Research on transitivity in Hinge-loss Markov Random Fields ● Improving scalability for Entity Resolution in Probability Soft Logic Teaching Assistant for CMPS 128 Distributed Systems (Spring 2016) ​ ​ ​ ● Explores fundamental as well as emerging, practical as well as theoretical topics ● Co-designed and implemented final project for the class – a distributed Key Value Store Teaching assistant for CMPS 183 Web Applications (Winter 2016) ​ ​ ● Course teaches Web2py (Python), Software development using Scrum. ● Responsibilities include mentoring 10 teams of 5 students each.
    [Show full text]