Attacks Using Machine Learning
Attacks Using Machine Learning
b
Department of Electrical and Computer Engineering, University of
Cincinnati, Cincinnati, OH, USA
Abstract
With the emergence of remote code execution (RCE) vulnerabilities in ubiq-
uitous libraries and advanced social engineering techniques, threat actors
have started conducting widespread fileless cryptojacking attacks. These
attacks have become effective with stealthy techniques based on PowerShell-
based exploitation in Windows OS environments. Even if attacks are detected
and malicious scripts removed, processes may remain operational on victim
endpoints, creating a significant challenge for detection mechanisms. In this
paper, we conducted an experimental study with a collected dataset on de-
tecting PowerShell-based fileless cryptojacking scripts. The results showed
that Abstract Syntax Tree (AST)-based fine-tuned CodeBERT achieved a
high recall rate, proving the importance of the use of AST integration and
fine-tuned pre-trained models for programming language.
Keywords: Fileless Malware, Cryptojacking, PowerShell, Machine
Learning, Cybersecurity
∗
Corresponding author
Email addresses: varlioms@[Link] (John M. Emmert),
elsayeny@[Link] (John M. Emmert), ozermm@[Link] (John M.
Emmert), elsayezs@[Link] (John M. Emmert), emmertj@[Link]
(John M. Emmert)
1. Introduction
Cryptojacking, an unauthorized cryptocurrency mining on infected de-
vices, is a popular cyber attack based on financial motivations [1, 2]. De-
tection systems face challenges because of fileless attack techniques. Fileless
attacks have become popular with the prevalence of ransomware and cryp-
tojacking since 2017 [3, 4, 5].
In a fileless attack, there is no file to inspect, but commands and network
activity are detectable. Fileless cryptojacking resides in memory (RAM)
without touching the disk on a computer. In Windows systems, PowerShell
plays a significant role in these advanced volatile attacks with its exploitable
features [6, 5].
PowerShell-based fileless cryptojacking attacks can be initiated with phish-
ing emails, zero-day vulnerability exploitations, or hidden scripts on mali-
cious websites [7]. Malicious scripts are often stored and downloaded from
text storage web services, such as Pastebin [8], as observed in fileless ran-
somware attacks [9] [10].
PowerShell can access critical Windows system functions with remote
content retrieval, in-memory command executions, and access to local reg-
istry keys and scheduled tasks [4]. Malware authors exploit it by interacting
with the operating system and almost all Microsoft software, from the Office
suite to the SQL Server database engine. [11, 12].
Its adaptability helps threat actors reduce the need to customize payloads
or download overtly malicious tools to infected systems. They can filelessly
load and execute commands using its invocation feature without touching
the disk or creating new system processes [13].
With this fileless nature, even if attacks are detected, and the original
malicious scripts are identified and removed, the processes may remain op-
erational at the victim endpoints [5].
In some cases, fileless malware may exhibit indirect file activity while
establishing a mining service or persistence mechanism. However, the initial
phases of the attacks are still fileless [14].
As seen in Fig. 1 and Fig. 2, threat actors deliver malicious Excel doc-
uments that contain malicious office macros to deploy a DLL downloader
via the register server (regsvr32). The macros trigger malicious encoded
PowerShell scripts to conduct process injection and add new registry entry.
Finally, the CobaltStrike payload, an exploitable penetration testing script,
is injected into a legitimate process to establish C2. The encoded payload is
2
Figure 1: Sample encoded PowerShell-based fileless cryptojacking script.
3
deploying process injection. These are key features of fileless attacks that
provide sophisticated evasion techniques and persistence mechanisms [21].
In particular, a reflective PE loader is commonly used for process injection.
This technique allows the malware to load and execute its payload directly
into memory, bypassing traditional file-based detection mechanisms [18].
Since fileless threats can provide attackers with command and control
abilities using backdoors [9], a fileless cryptojacking attack can be converted
into a data exfiltration activity.
In the literature, there are various kinds of research on specifically in-
browser and in-host cryptojackings with the detection of their attack pat-
terns, especially in network behavior [22, 23, 24, 25, 1, 2, 26, 27, 28]. Also,
there is various research to identify malicious PowerShell scripts, in general,
using machine learning techniques [29, 30, 31, 32, 4, 33, 34, 35, 36, 37, 38].
However, there is a gap in that no research specifically addressed PowerShell-
based fileless cryptojacking.
Hence, there is a crucial need for research in this domain. To our best
knowledge, no research has been conducted on detecting PowerShell-based
fileless cryptojacking using machine learning. This gap can be filled out with
a unique dedicated dataset derived from those attacks.
We attempted to fill this research gap by collecting a unique dataset and
applying machine learning models with an experimental study on detect-
ing PowerShell-based fileless cryptojacking scripts. The results showed that
Abstract Syntax Tree (AST)-based fine-tuned CodeBERT achieved a high
recall rate, proving the importance of using AST integration and fine-tuned
pre-trained models for programming language.
2. Method
The research body on fileless malware detection have used machine learn-
ing models to identify malicious PowerShell scripts [29, 30, 31, 32, 4, 33, 34,
35, 36, 37, 38]. Researchers commonly used deep learning techniques with
natural language processing approaches [35, 39]. However, these solutions try
to detect general malicious scripts. There is a need in the literature that ma-
chine learning models can also be used to improve detections on specifically
PowerShell-based fileless cryptojacking attacks.
In this paper, we use a new mixed method for code representations of Pow-
erShell scripts with their Abstract Syntax Trees (ASTs) using the selected
machine learning models, Long Short-Term Memory (LSTM), Bidirectional
4
LSTM (BiLSTM), and CodeBERT. The goal is to prepare this mixed ap-
proach for model training to detect cryptojacking scripts with other general
PowerShell scripts. The assumption is that the mixed method provides ef-
fective detection mechanisms for detecting cryptojacking scripts as well as
other general malicious PowerShell scripts.
Furthermore, the assumption is that developing light and fast-based de-
tection models instead of relying on manually designed features and specific
feature extraction can help the detections rather than complex approaches
such as feature extractions and de-obfuscation processes.
First, we conduct a background literature review on the existing and latest
solutions to prepare an experimental base for machine learning models. This
phase examines Abstract Syntax Tree (AST) representations of PowerShell
scripts that can be useful to prepare data inputs for training in the selected
machine learning models. We also reviewed existing models for this domain
to prepare and select the appropriate approach for machine learning models.
Second, we collected a dataset that contains 500 collected malicious Pow-
erShell based fileless cryptojacking scripts. Those scripts include Purple Fox,
Lemon Duck, and Tor2Mine malware families. We merged our dataset with a
secondary dataset [36] that contains 1,770 malicious scripts and 4,819 benign
scripts but does not specifically target cryptojacking. Because cryptojacking
also embeds general malicious PowerShell scripts to carry out attacks. We
used those datasets to train and evaluate machine learning models.
In addition, we followed the cleaning and pre-processing steps as proper
inputs for machine learning algorithms. The selected machine learning mod-
els were trained and evaluated.
The results were analyzed to determine the effectiveness of each model
in detecting fileless cryptojacking scripts. We evaluate both AST-based and
non-AST-based approaches to see the effectiveness of this mixed approach.
Instead of heavily modifying models, focusing on feature extraction, or under-
going the complex process of obfuscation-deobfuscation examinations with an
AST-based approach provides flexibility. This flexible approach is powered
by an AST-pipeline-based examination with minimally modified versions of
common machine learning models.
Since it is hard to find malicious samples and easy to find benign samples,
the number of benign samples is higher. However, the ratio is not heavily
skewed. This helps ensure that the machine learning models receive a fair
representation of both categories, reducing bias.
The comparison of file sizes shows an overlapping distribution, and mali-
5
cious scripts have a slightly lower median file size compared to benign ones.
Some malicious scripts are significantly larger due to obfuscation or all-in-one
script features. Both benign and malicious scripts have similar lengths with a
concentration below 500 lines. Malicious scripts have a slightly wider spread
due to longer scripts. Malicious script’s entropy is higher due to more obfus-
cation, encoding, "for loops," and "while loops" in the longer scripts. This
also shows a pattern that benign scripts commonly contain more readable
and structured content than malicious scripts.
3. Background Literature
In the following, we conduct a review of the background literature on the
existing and latest solutions to prepare an experimental base for machine
learning models. This phase examines Abstract Syntax Tree (AST) repre-
sentations of PowerShell scripts that can be useful to prepare data inputs for
training in the selected machine learning models. We also reviewed existing
models for this domain to prepare and select the appropriate approach for
machine learning models.
6
Figure 3: Sample AST of a Ping command: “ping -c 4 -t 64 [Link]".
• Expression
7
– CommandExpressionAst: Represents the expression.
– CommandInvocationAst: Invokes the parameters.
– ExpressionAst: Represents the expression invoked.
– TypeNameAst: [Link]
– MethodInvocationAst: Method invocation.
– MethodNameAst: DownloadString
– StringLiteralAst: ’<URL>:13405/[Link]’
– CmdletAst: MsiMake
• Statement
__________________________________________
PowerShell Cmdlet
Argument: -nop
Argument: -exec bypass
Argument: -c
| IEX (New-Object [Link]).
DownloadString(’PAYLOAD’)
| Invoke-Expression (IEX)
| | MethodCall
| | | New-Object ([Link])
| | | | TypeName: [Link]
| | | Method: DownloadString
| | | | Argument
| | | | | StringLiteral: PAYLOAD
| | Cmdlet or Function Call: MsiMake
8
| | | Argument
| | | | StringLiteral: PAYLOAD
__________________________________________
9
Figure 4: The LSTM architecture diagram [68].
from the current state to output. This selective output of relevant informa-
tion helps LSTM networks maintain important long-term dependencies for
making predictions in both current and future time steps [51, 52]. Forget
gates determine which information from the previous state is discarded by
assigning a value between 0 and 1, with 1 indicating that the information
will be retained and zero indicating that it will be discarded [51, 52]. The
output h can be calculated by:
where at time t the input, forget, and output gates are i(t) , f (t) , and o(t) ,
respectively. The g (t) , is the input-update value. The memory cell state at
time t is c(t) , and the output of the LSTM unit at time t is h(t) .
With the ability to handle long-term dependencies effectively, LSTMs are
used for developing prediction and classification algorithms that can be used
for better classifying malicious and benign PowerShell script detections.
In the LSTM model, the number of memory units (neurons) in the LSTM
10
layer is defined as a hyperparameter. In order to achieve this goal, LSTM
units work like tiny detectives by looking for different patterns in the script.
Each neuron (detective) can pay attention to different parts of the script,
and they work together as a team to solve the problem. For example, one
can focus on sequences like IEX followed by a suspicious URL. Another one
can look at frequent downloads associated with DownloadString function.
The other one can notice script has Base64 encoding patterns. To prevent
overfitting and to make the model generalized well, the dropout phase acts
as a supervisor to randomly drop some neurons during training. This process
makes the model to focus on a broader range of patterns.
3.5. Transformers
The transformer model is used to understand and generate human lan-
guage [73, 74] that is useful in applications like chatbots, translation, and
text generation.
The key advantage of Transformers is self-attention [73]. That feature
helps the model to focus on different words in a sentence at the same time.
The model can understand the context rather than their sequential order.
Semantic learning level is higher than other previous models. Older models
read text one word at a time. However, Transformers process entire sentences
at once. This makes the learning faster and more efficient [75, 74, 73, 76].
Transformer-based models include BERT, CodeBERT, GPT, and T5.
Transformers is a neural network architecture for sequence modeling tasks
to get better predictions than RNNs and LSTMs [74]. It was proposed by
Vaswani et al. in 2017 [73] as a trainable attention mechanism for capturing
complex relationships between elements of an input sequence.
11
It is primarily composed of an encoder-decoder structure, providing a
framework for handling sequences without recurrent computations. They
use positional encodings to incorporate the order of tokens into the model
since they process all tokens in parallel rather than sequentially [74, 73].
Transformers have the Softmax function that plays an important role in
normalizing the attention scores [77, 73].
The attention mechanism focuses on different parts of the input sequence
for predictions. It calculates a weighted sum of the input tokens, where the
weights are determined by the relevance of each part of the input to the
current token [77].
3.6. CodeBERT
Our research focuses on the classification problem of malicious PowerShell
scripts. In this sentimental analysis task, sequence-to-representation models
are useful [78]. CodeBERT can be used [79] as an encoder-only base trans-
former model to analyze scripts sentimentally on specific malicious script
detection.
CodeBERT was developed based on RoBERTa [80] and BERT [81] mod-
els. It uses Transformer-based neural architecture and relies on a bimodal
pre-trained model. It was also designed for both natural language (NL) and
programming language (PL). It can acquire the semantic relationships be-
tween NL and PL. This can provide general-purpose representations that
make the tasks easier, as well as natural language code search and code
documentation generation. [79].
CodeBERT is a proven model with the effectiveness of semantic learn-
ing of code. It is a pre-trained model on both Natural Language (NL) and
Programming Language (PL) that is designed for code-related tasks. Code-
BERT captures semantic meaning better than LSTMs. It is also good at
avoiding overfitting faster due to its pre-training. It is more suitable for
script classification tasks with fine-tunable on specific tasks. Additional fine-
tuning is necessary for training the model because it makes the model better
for specific tasks, such as the classification of benign and malicious scripts.
The results demonstrate that CodeBERT achieves state-of-the-art per-
formance in learning PL and NL tasks [79]. The model is created using the
multi-layer Transformer architecture [73, 79]. CodeBERT is considered ap-
propriate for fundamental classification tasks that rely on syntax analysis
and code execution reports.
12
4. Related Works
Table 1 shows a comparison of the experimental results on malicious
script detections. As seen in the table, malicious script datasets are limited.
Malicious script datasets range from as few as 100 samples [37] to over 6,600
samples [30]. Model training with larger datasets is preferable for accurate
performance evaluation. However, smaller datasets can limit generalization
and suffer from overfitting.
Since high recall is crucial to detect as many malicious scripts as possible,
the focus on recall rate is preferable rather than accuracy. Because, missing
a threat is riskier than false alarms in cyber security.
Feature extraction usage is common. It is used to improve detections;
however, as seen in the papers from [35] and [38], the models still achieve
high recall scores.
The highest recall rate (99.0%) is shown by [32] using XGBoost with fea-
ture extraction. However, they used a relatively small dataset (480 samples),
and they also reported this in the limitations.
13
Table 1: Comparison of the ML results on malicious PowerShell script detections.
Research Malicious Feature Method Recall %
Data Extr
[35] 4,079 No AST-based 85.0
random
forest
[4] 6,290 Yes NLP-based 89.0
CNN
[32] 480 Yes XGBoost 99.0
[36] 2,000 Yes AST-based 97.6
random
forest
[30] 6,609 Yes SdAs- 98.0
based
XGBoost
[37] 100 Yes Random 87.5
forest clas-
sifier
[38] 1,128 No CodeGEN 85.2
+
CodeGPT
14
To improve the effectiveness of the tokenization process, we exluded sys-
tem administration keywords. This filtering helps to avoid the addition of
very common system administrator words into the vocabulary.
15
Table 3: CodeBERT K-5 Cross-Validation
Set Total Samples Benign [0] Malicious [1] Token
Training 80% 3,200 1,600 1,600 400
Validation 20% 800 870 300 400
The embedding layer dimension is 128, and the tokens are represented
with 128 vector dimensions. For example, if a contains the word “Download-
String”, it is first converted into a numeric token such as “295” as if it is the
245th word (token) in the vocabulary. After that, it is transformed into a 128-
dimensional vector with learned weights such as [0.12,-0.56,0.89,...,0.34](128
values); note that the vocabulary size is 6,000 tokens. The number of train-
able word embeddings is 768,000 (6,000 × 128). The sequence length is 400 to
ensure all input sequences have the same length, avoiding exceeding padding.
In the hidden LSTM layer, the number of units is 64 with a balanced
learning capacity and expected computational efficiency. Since the problem
is classification of malicious an benign scripts, the return sequences setting
is defined as false. This gives outputs only the last hidden state focusing on
sequence-level understanding.
The dropout layer is set up with 50% dropout rate to reduce overfitting
by randomly disabling 50% of neurons during training. This step helps for
generalizated model creation. The activation is ReLU in this layer that it
provides LSTM’s output into a higher-dimensional space before final classi-
fication. Also, we used a second drpout layer to prevent overfitting before
final output.
This approach is also applied to the BiLSTM model, that it uses two-
direction learning compared with LSTM learning. That makes BiLSTM a
heavier model training process than LSTM. The adoption of bidirectional
LSTM models offers distinct advantages over conventional LSTM models
[83, 84, 54]. The BiLSTM architecture processes the sequence in two direc-
tions, allowing the model to capture both past and future dependencies [70].
This improves performance on tasks where context matters in both aspects.
This feature is useful in tasks such as sequence classification, named entity
recognition, and machine translation [71].
16
5.5. Model Definition - CodeBERT
As explained in the background section, CodeBERT is a sequence-to-
representation transformer model designed for a variety of text-based tasks,
including the classification of labeled texts for model training [79].
CodeBERT model is proposed as a fine-tuned pre-trained model. Each
parameter in the CodeBERT model is carefully chosen to build a better
model for high recall rate.
First, the model uses RoBERTa-based tokenization based on Hugging
Face model build. It breaks words into sub-word units for better represen-
tation. Also, it uses "Out-of-Vocabulary (OOV)" words by splitting rare or
unknown words into smaller components.
The learning rate is "0.00002" because to prevent sudden drastic changes
during training. As a real world example, small steps are safer while learning
walking. Therefore, this low learning rate helps the model to avoid dramatic
forgetting.
The batch size is 8 to process a small number of scripts at once. In
each iteration, the checking process on the small number of scripts provides
memory efficiency with limited resources.
The weight decay value is 0.01 to avoid too much memorizing everyting
and to much attention on a pattern that can cause overfitting. This process
adds a penalty for large weights ensuring generalized model creation.
The model uses AdamW (Adaptive Moment Estimation with Weight De-
cay) optimizer to clean up learning to focus on the important patterns in
classification. This process also helps us prevent overfitting.
As a loss function, the model uses "Cross-Entropy Loss" that is a typical
function for classification problems. This helps the model to learn proba-
bilistic outputs. As a real world example, this function acts as a supervisor
and uses a scoreboard to check the validations.
We use K-Fold Cross-Validation (K=5) for model training accuracy val-
idation to monitor overfitting. The model is tested across multiple splits of
data. This process reduces dependency on a single train-test split. It can
detect overfitting and assess generalization.
The model has 12 transformer layers and 12 attention heads for better
self-attention mechanisms. Each layer processes hierarchical representations,
checking complex patterns in the malicious and benign scripts. The model
can focus on different parts simultaneously with the attention heads.
In this model, the hidden dimensionality size is 768. Each token is rep-
resented as a 768-dimensional vector in transformer layers.
17
Figure 5: BiLSTM model training and validation loss and accuracy results.
6. Experimental Results
18
precision, recall, and F1 score. However, we focused on recall scores. Recall
assesses the model’s ability to capture all relevant items within the dataset
to measure how successful the model is against false negatives that can be
critical errors in cybersecurity.
The models were evaluated using fundamental metrics: accuracy, pre-
cision, recall, and F1 score. However, we focused on the recall score tto
measure how well the model performs against false negatives. Detecting ma-
licious scripts as benign scripts is a critical error in cybersecurity domain
that it might allow threat actors access the networks.
The BiLSTM model was trained for over 100 epochs to monitor the over-
fitting. The overfitting signals are observed at the end of the 15th epoch, and
early stopping was applied at the 16th epoch. The model was saved in the
best result with the feature of early stopping. The training and validation
loss and accuracy scores is shown in Fig. 5.
Unlike BiLSTM, in the training of the conventional LSTM model, early
stopping reached the 71th epoch of the training process for the expected range
of validation loss and validation accuracy. LSTM’s best result was also saved
with the feature of early stopping.
The LSTM, BiLSM, and CodeBERT models were trained with AST-
based tokenization and Non-AST tokenization to check the effectiveness of
the AST-based approach as well.
Table 4 shows the performance metrics of three different models with the
AST-based approach options.
7. Key Findings
The results indicates that AST-based fine-tuned CodeBERT achieved a
high recall rate of 96.6% proving the usage of AST can improve the recall
score of CodeBERT model.
Also, the results showed that AST-based fine-tuned CodeBERT can be
used for an effective model with the proposed fine-tuning method without
feature extraction. This can help us reduce computational overhead.
The proposed model provides a better solution compared the other solu-
tions in the literature even though there are other higher recall rates. Because
AST-based fine-tuned CodeBERT achieved a high recall rate of 96.6% with-
out feature extraction and using a balanced dataset with the pre-trained
model.
19
Although our model does not achieve top results compared to other mod-
els, it improves performance in terms of efficiency. Also, while setting up fine-
tuned model, we used optimized hyperparameters especially for the model
layer dimensions to avoid higher computational need.
Furthermore, our approach does not include obfuscation and de-obfuscation
processes that can cause more processing steps by bringing more computa-
tional overhead. The current models received the tokens as is in terms of
complexity and entropy. This approach also improved efficiency while hav-
ing a high recall rate.
8. Conclusion
This study conducted an experimental study on detecting PowerShell-
based fileless cryptojacking scripts. The experimental results showed that
AST-based fine-tuned CodeBERT achieved a high recall rate of 96.6%. This
result proved the importance of using AST integration. The model achieves
this high recall score without feature extraction. This approach helped us to
reduce computational overhead while maintaining effectiveness.
Although some other models in the literature provided higher recall rates,
our approach brought a more efficient solution. This was achieved with a
balanced dataset and an AST-based fine-tuned pre-trained model. The pre-
trained CodeBERT model was optimized with appropriate hyperparameters,
minimizing computational needs. Additionally, our method avoided obfusca-
tion and de-obfuscation processes. This approach reduced complexity while
maintaining a high recall rate.
As a limitation of this study, dataset creation is extremely challenging
due to the difficulty of accessing malicious scripts. This can be solved by
joint collaboration between academic researchers and security engineers in
cybersecurity services.
9. Acknowledgements
We would like to thank Talha Aydin, a machine learning researcher in
the Department of Computer Science and Information Systems at De Anza
College, California, for providing valuable feedback.
20
10. Submission Declaration
• The work described has not been published previously except in the
form of a preprint, an abstract, a published lecture, academic thesis or
registered report.
• If accepted, the article will not be published elsewhere in the same form,
in English or in any other language, including electronically, without
the written consent of the copyright-holder.
11. Authorship
All authors have made substantial contributions including conception and
design of the study, drafting the article and perform fully revision of the
content.
13. Funding
This research did not receive any specific grant from funding agencies in
the public, commercial, or not-for-profit sectors.
21
15. Data Statement
Due to the sensitive nature of the collected data that contains malicious
PowerShell scripts, the data would be shared only based on request and
providing signing a responsibility usage form by the requester that includes
the purpose of use and plan. After reviewing and proceed thought the office
of research the access may or may not be provided depending on the office
of research decision.
References
[1] A. Z. Chahoki, H. R. Shahriari, M. Roveri, Cryptojackingtrap: An
evasion resilient nature-inspired algorithm to detect cryptojacking mal-
ware, IEEE Transactions on Information Forensics and Security (2024)
1–1doi:10.1109/TIFS.2024.3353072.
22
[7] P. A. Macaraeg, Arvin Roi; Roderno, [Link].b (2019).
URL [Link]
threat-encyclopedia/malware/[Link].b
[13] R. Canary, 2023 red canary threat detection report (Jun 2023).
URL [Link]
threat-detection-report/
23
[17] T. H. N. Newsroom, Hackers use ms excel macro to launch multi-stage
malware attack in ukraine (Jun 2024).
URL [Link]
[Link]
[19] P. Newton, Analysing fileless malware: Cobalt strike beacon (Jul 2020).
URL [Link]
24
1809.02152.
URL [Link]
[34] H.-H. Hung, J.-L. Chen, Y.-W. Ma, Machine learning approaches to
malicious powershell scripts detection and feature combination analysis,
Journal of Internet Technology 25 (1) (2024) 167–173.
[35] G. Rusak, A. Al-Dujaili, U.-M. O’Reilly, Ast-based deep learning for de-
tecting malicious powershell, in: Proceedings of the 2018 ACM SIGSAC
Conference on Computer and Communications Security, 2018, pp. 2276–
2278.
25
[36] Y. Fang, X. Zhou, C. Huang, Effective method for detecting malicious
powershell scripts based on hybrid features, Neurocomputing 448 (2021)
30–39.
[44] A. Sharshar, J. Yaneza, S. & Magdy, Purplefox adds new backdoor that
uses websockets (2021).
26
[45] M. Learn, Ast types.
URL [Link]
[Link]
[47] H. Nurmi, et al., Script and macro based malware classification by clus-
tering abstract syntax trees, Master’s thesis (2019).
27
[55] B. Alshemali, J. Kalita, Improving the reliability of deep neural networks
in nlp: A review, Knowledge-Based Systems 191 (2020) 105210.
[57] J. Guo, H. He, T. He, L. Lausen, M. Li, H. Lin, X. Shi, C. Wang, J. Xie,
S. Zha, et al., Gluoncv and gluonnlp: Deep learning in computer vision
and natural language processing, Journal of Machine Learning Research
21 (23) (2020) 1–7.
[58] H.-j. Park, M. Song, K.-S. Shin, Deep learning models and datasets
for aspect term sentiment classification: Implementing holistic recurrent
attention on target-dependent memories, Knowledge-Based Systems 187
(2020) 104825.
[61] T. Fischer, C. Krauss, Deep learning with long short-term memory net-
works for financial market predictions, European journal of operational
research 270 (2) (2018) 654–669.
28
[65] H. Jelodar, Y. Wang, R. Orji, S. Huang, Deep sentiment classification
and topic discovery on novel coronavirus or covid-19 online discussions:
Nlp using lstm recurrent neural network approach, IEEE - Biomedical
and Health Informatics 24 (10) (2020).
[66] F. A. Gers, J. Schmidhuber, F. Cummins, Learning to forget: Continual
prediction with lstm, Neural computation 12 (10) (2000) 2451–2471.
[67] S. Hochreiter, J. Schmidhuber, Lstm can solve hard long time lag prob-
lems, Advances in neural information processing systems 9 (1996).
[68] N. Elsayed, Z. ElSayed, A. S. Maida, Litelstm architecture based
on weights sharing for recurrent neural networks, arXiv preprint
arXiv:2301.04794 (2023).
[69] A. Graves, J. Schmidhuber, Framewise phoneme classification with bidi-
rectional lstm and other neural network architectures, Neural networks
18 (5-6) (2005) 602–610.
[70] A. Graves, A.-r. Mohamed, G. Hinton, Speech recognition with deep
recurrent neural networks, in: 2013 IEEE international conference on
acoustics, speech and signal processing, Ieee, 2013, pp. 6645–6649.
[71] N. Elsayed, Z. S. Zaghloul, S. W. Azumah, C. Li, Intrusion detection
system in smart home network using bidirectional lstm and convolu-
tional neural networks hybrid model, in: 2021 IEEE International Mid-
west Symposium on Circuits and Systems (MWSCAS), 2021, pp. 55–58.
doi:10.1109/MWSCAS47672.2021.9531683.
[72] M. Boden, A guide to recurrent neural networks and backpropagation,
the Dallas project 2 (2) (2002) 1–10.
[73] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez,
Ł. Kaiser, I. Polosukhin, Attention is all you need, Advances in neural
information processing systems 30 (2017).
[74] C. Wang, M. Li, A. J. Smola, Language models with transformers, arXiv
preprint arXiv:1904.09408 (2019).
[75] N. K. Manaswi, N. K. Manaswi, Rnn and lstm, Deep learning with appli-
cations using python: chatbots and face, object, and speech recognition
with TensorFlow and Keras (2018) 115–126.
29
[76] D. Soydaner, Attention mechanism in neural networks: where it comes
and where it goes, Neural Computing and Applications 34 (16) (2022)
13371–13385.
[78] C. Dos Santos, M. Gatti, Deep convolutional neural networks for senti-
ment analysis of short texts, in: Proceedings of COLING 2014, the 25th
international conference on computational linguistics: technical papers,
2014, pp. 69–78.
30