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 条
  • [31] Handbook of latent semantic analysis
    Ritchie, L. David
    JOURNAL OF LANGUAGE AND SOCIAL PSYCHOLOGY, 2008, 27 (03) : 300 - 306
  • [32] Meta latent semantic analysis
    Simina, M
    Barbu, C
    2004 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN & CYBERNETICS, VOLS 1-7, 2004, : 3720 - 3724
  • [33] Computer assessment of interview data using latent semantic analysis
    Dam, Gregory
    Kaufmann, Stefan
    BEHAVIOR RESEARCH METHODS, 2008, 40 (01) : 8 - 20
  • [34] Using Latent Semantic Analysis to Identify Research Trends in OpenStreetMap
    Sehra, Sukhjit Singh
    Singh, Jaiteg
    Rai, Hardeep Singh
    ISPRS INTERNATIONAL JOURNAL OF GEO-INFORMATION, 2017, 6 (07)
  • [35] Using probabilistic latent semantic analysis for personalized web search
    Lin, CX
    Xue, GR
    Zeng, HJ
    Yu, Y
    WEB TECHNOLOGIES RESEARCH AND DEVELOPMENT - APWEB 2005, 2005, 3399 : 707 - 717
  • [36] Isolating and relating concerns in requirements using latent semantic analysis
    Kit, Lo Kwun
    Man, Chan Kwun
    Baniassad, Elisa
    ACM SIGPLAN NOTICES, 2006, 41 (10) : 383 - 396
  • [37] A study of "Root causes of conflict" using latent semantic analysis
    Bobeica, M
    Jéral, JP
    Garcia, T
    Best, C
    INTELLIGENCE AND SECURITY INFORMATICS, PROCEEDINGS, 2005, 3495 : 595 - 596
  • [38] Multidimensional Latent Semantic Analysis Using Term Spatial Information
    Zhang, Haijun
    Ho, John K. L.
    Wu, Q. M. Jonathan
    Ye, Yunming
    IEEE TRANSACTIONS ON CYBERNETICS, 2013, 43 (06) : 1625 - 1640
  • [39] Automated essay scoring using incremental latent semantic analysis
    Zhang, Mingqing
    Hao, Shudong
    Xu, Yanyan
    Ke, Dengfeng
    Peng, Hengli
    Journal of Software, 2014, 9 (02) : 429 - 436
  • [40] Automated Essay Scoring Using Generalized Latent Semantic Analysis
    Islam, Md. Monjurul
    Hoque, A. S. M. Latiful
    JOURNAL OF COMPUTERS, 2012, 7 (03) : 616 - 626