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 条
  • [1] Modeling Action Game Domains Using Latent Semantic Analysis
    Kermanidis, Katia Lida
    Anagnostou, Kostas
    SEMAPRO 2010: THE FOURTH INTERNATIONAL CONFERENCE ON ADVANCES IN SEMANTIC PROCESSING, 2010, : 75 - 78
  • [2] Latent Semantic Analysis Models on Wikipedia and TASA
    Stefanescu, Dan
    Banjade, Rajendra
    Rus, Vasile
    LREC 2014 - NINTH INTERNATIONAL CONFERENCE ON LANGUAGE RESOURCES AND EVALUATION, 2014, : 1417 - 1422
  • [3] Text summarization using Latent Semantic Analysis
    Ozsoy, Makbule Gulcin
    Alpaslan, Ferda Nur
    Cicekli, Ilyas
    JOURNAL OF INFORMATION SCIENCE, 2011, 37 (04) : 405 - 417
  • [4] LATENT SEMANTIC INDEXING USING MULTIRESOLUTION ANALYSIS
    Jaber, Tareq
    Amira, Abbes
    Milligan, Peter
    PECCS 2011: PROCEEDINGS OF THE 1ST INTERNATIONAL CONFERENCE ON PERVASIVE AND EMBEDDED COMPUTING AND COMMUNICATION SYSTEMS, 2011, : 327 - 332
  • [5] Tweets Clustering using Latent Semantic Analysis
    Rasidi, Norsuhaili Mahamed
    Abu Bakar, Sakhinah
    Razak, Fatimah Abdul
    4TH INTERNATIONAL CONFERENCE ON MATHEMATICAL SCIENCES (ICMS4): MATHEMATICAL SCIENCES: CHAMPIONING THE WAY IN A PROBLEM BASED AND DATA DRIVEN SOCIETY, 2017, 1830
  • [6] Semantic coherence in psychometric schizotypy: An investigation using Latent Semantic Analysis
    Marggraf, Matthew P.
    Cohen, Alex S.
    Davis, Beshaun J.
    DeCrescenzo, Paula
    Bair, Natasha
    Minor, Kyle S.
    PSYCHIATRY RESEARCH, 2018, 259 : 63 - 67
  • [7] How latent is latent semantic analysis?
    Wiemer-Hastings, P
    IJCAI-99: PROCEEDINGS OF THE SIXTEENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOLS 1 & 2, 1999, : 932 - 937
  • [8] Latent semantic analysis
    Evangelopoulos, Nicholas E.
    WILEY INTERDISCIPLINARY REVIEWS-COGNITIVE SCIENCE, 2013, 4 (06) : 683 - 692
  • [9] Latent semantic analysis
    Dumais, ST
    ANNUAL REVIEW OF INFORMATION SCIENCE AND TECHNOLOGY, 2004, 38 : 189 - 230
  • [10] Computing semantic relatedness using latent semantic analysis and fuzzy formal concept analysis
    Jain S.
    Seeja K.R.
    Jindal R.
    Jain, Shivani (shivanijain13@gmail.com), 1600, Inderscience Publishers (13): : 92 - 100