Latent semantic analysis of game models using LSTM

被引:5
|
作者
Ghica, Dan R. [1 ]
Alyahya, Khulood [2 ,3 ]
机构
[1] Univ Birmingham, Birmingham, W Midlands, England
[2] Univ Exeter, Exeter, Devon, England
[3] King Saud Univ, Riyadh, Saudi Arabia
基金
英国工程与自然科学研究理事会;
关键词
Programming language semantics; Game semantics; Recurrent neural networks; Machine learning; 3RD-ORDER IDEALIZED ALGOL; NOVELTY DETECTION; FULL ABSTRACTION; LANGUAGE;
D O I
10.1016/j.jlamp.2019.04.003
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We are proposing a method for identifying whether the observed behaviour of a function at an interface is consistent with the typical behaviour of a particular programming language. This is a challenging problem with significant potential applications such as in security (intrusion detection) or compiler optimisation (profiling). To represent behaviour we use game semantics, a powerful method of semantic analysis for programming languages. It gives mathematically accurate models ('fully abstract') for a wide variety of programming languages. Game-semantic models are combinatorial characterisations of all possible interactions between a term and its syntactic context. Because such interactions can be concretely represented as sets of sequences, it is possible to ask whether they can be learned from examples. Concretely, we are using LSTM, a technique which proved effective in learning natural languages for automatic translation and text synthesis, to learn game-semantic models of sequential and concurrent versions of Idealised Algol (IA), which are algorithmically complex yet can be concisely described. We will measure how accurate the learned models are as a function of the degree of the term and the number of free variables involved. Finally, we will show how to use the learned model to perform latent semantic analysis between concurrent and sequential Idealised Algol. (C) 2019 Elsevier Inc. All rights reserved.
引用
收藏
页码:39 / 54
页数:16
相关论文
共 50 条
  • [21] Identifying reading strategies using latent semantic analysis: Comparing semantic benchmarks
    Keith Millis
    Hyun-Jeong Joyce Kim
    Stacey Todaro
    Joseph P. Magliano
    Katja Wiemer-Hastings
    Danielle S. McNamara
    Behavior Research Methods, Instruments, & Computers, 2004, 36 : 213 - 221
  • [22] Using Metafeatures to Increase the Effectiveness of Latent Semantic Models in Web Search
    Borisov, Alexey
    Serdyukov, Pavel
    de Rijke, Maarten
    PROCEEDINGS OF THE 25TH INTERNATIONAL CONFERENCE ON WORLD WIDE WEB (WWW'16), 2016, : 1081 - 1091
  • [23] Identifying reading strategies using latent semantic analysis: Comparing semantic benchmarks
    Millis, K
    Kim, HJJ
    Todaro, S
    Magliano, JR
    Wiemer-Hastings, K
    McNamara, DS
    BEHAVIOR RESEARCH METHODS INSTRUMENTS & COMPUTERS, 2004, 36 (02): : 213 - 221
  • [24] Combination of latent semantic analysis based language models for meeting recognition
    Puscher, Michael
    Huang, Yan
    Cetin, Ozgur
    PROCEEDINGS OF THE SECOND IASTED INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE, 2006, : 465 - +
  • [25] INDEXING BY LATENT SEMANTIC ANALYSIS
    DEERWESTER, S
    DUMAIS, ST
    FURNAS, GW
    LANDAUER, TK
    HARSHMAN, R
    JOURNAL OF THE AMERICAN SOCIETY FOR INFORMATION SCIENCE, 1990, 41 (06): : 391 - 407
  • [26] Generalizing Latent Semantic Analysis
    Olney, Andrew M.
    2009 IEEE THIRD INTERNATIONAL CONFERENCE ON SEMANTIC COMPUTING (ICSC 2009), 2009, : 40 - 46
  • [27] Quantum Latent Semantic Analysis
    Gonzalez, Fabio A.
    Caicedo, Juan C.
    ADVANCES IN INFORMATION RETRIEVAL THEORY, 2011, 6931 : 52 - 63
  • [28] Probabilistic latent semantic analysis
    Hofmann, T
    UNCERTAINTY IN ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 1999, : 289 - 296
  • [29] Topic Modeling Twitter Data Using Latent Dirichlet Allocation and Latent Semantic Analysis
    Qomariyah, Siti
    Iriawan, Nur
    Fithriasari, Kartika
    2ND INTERNATIONAL CONFERENCE ON SCIENCE, MATHEMATICS, ENVIRONMENT, AND EDUCATION, 2019, 2019, 2194
  • [30] An introduction to latent semantic analysis
    Landauer, TK
    Foltz, PW
    Laham, D
    DISCOURSE PROCESSES, 1998, 25 (2-3) : 259 - 284