← All templates

Computing and Informatics (cai)

The Computing and Informatics class and cai.bst with the journal's sample paper, which doubles as its author instructions: front matter, MSC codes, figures, tables, BibTeX references and the authors' short CVs with photos.

Create an account to use this
Category
Journal
Document class
cai (cai.cls) — ships with TeX Live
Workflow
Journal manuscript — submissions and revision rounds
Author
Computing and Informatics (Institute of Informatics, Slovak Academy of Sciences)
Source
Computing and Informatics (Institute of Informatics, Slovak Academy of Sciences)
Licence
No licence is stated in the files. Computing and Informatics (Institute of Informatics, Slovak Academy of Sciences) distributes them for authors preparing a submission.

These are the publisher’s own files. This project starts from Computing and Informatics (Institute of Informatics, Slovak Academy of Sciences)’s package for this publication — their manuscript, their cai.cls, their bibliography style — so what compiles here is what they would have given you.

Computing and Informatics (Institute of Informatics, Slovak Academy of Sciences) serves this exact file to Computing and Informatics. Check Computing and Informatics (Institute of Informatics, Slovak Academy of Sciences)’s author pages for the current instructions.

Where this differs from the publisher’s download.

  • Changed: The prebuilt sample.pdf is left out. The author photos in photos/ are the journal's own sample files. cai.cls (first-line comment): \title upper-cases the title with \MakeUppercase instead of the \uppercase primitive, which changed the bytes of accented letters (such as ı, š, ž) into other letters or into commands the font lacks ('Command \dj unavailable in encoding OT1') (2026-11-23, production fixes)..

What you get

  • cai.bst · 24 KB
  • cai.cls · 20 KB
  • figs/fig_benchmark.pdf · 11 KB
  • figs/fig_lstm.pdf · 15 KB
  • figs/fig_transformer.pdf · 14 KB
  • my10.clo · 5 KB
  • photos/blaho.jpg · 20 KB
  • photos/sedivy.jpg · 20 KB
  • photos/zima.jpg · 20 KB
  • sample.bib · 8 KB
  • sample.tex — the file that is compiled · 23 KB

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Journals using this template

Link to this template. Send it to a student or co-author: it starts a new paper in this template, through sign-up if they need an account.

https://manulyx.com/start/cai

Source

cai.bst · 24 KB

Loading…

cai.cls · 20 KB

Loading…

figs/fig_benchmark.pdf — binary, 11 KB

figs/fig_lstm.pdf — binary, 15 KB

figs/fig_transformer.pdf — binary, 14 KB

my10.clo · 5 KB

Loading…

photos/blaho.jpg — binary, 20 KB

photos/sedivy.jpg — binary, 20 KB

photos/zima.jpg — binary, 20 KB

sample.bib · 8 KB

Loading…

sample.tex — the file that is compiled · 23 KB
%% Sample article for the journal Computing and Informatics
%% Document class : cai.cls  |  Bibliography style: cai.bst
%%
%% Compilation sequence:
%%   pdflatex -> bibtex -> pdflatex -> pdflatex
%%
%% Mandatory fields are marked  [REQUIRED]
%% Optional fields are marked   [OPTIONAL]

%% =================================================================
%%  EDITORIAL BLOCK -- DO NOT MODIFY
%%  This block is maintained by the editorial office.
%% =================================================================
\documentclass{cai}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{url}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{subfigure}
\usepackage{multirow}
\usepackage{makecell}
\usepackage[super]{nth}
\usepackage{framed}


\volume{45}
\yyear{2026}
\ynumber{2}
\page{10001}

\graphicspath{{figs/}{photos/}}
\renewcommand{\thesubfigure}{\,\alph{subfigure})}
%% =================================================================
%%  END OF EDITORIAL BLOCK
%% =================================================================

%% --- Theorem-like environments ---
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\newtheorem{remark}{Remark}

%% =================================================================
%%  ARTICLE METADATA
%% =================================================================

%% [REQUIRED] Article title.
%%   The short title in [] appears in the running head (max ~60 chars).
%%   If the title is short enough, the optional [] argument may be omitted.
\title[Sample Manuscript for Computing and Informatics: A Minimal Author Guide]
  {Your paper}

%% [REQUIRED] Authors grouped by shared affiliation, in order of contribution.
%%
%%   One block per distinct affiliation:
%%     \author[Short name(s)]
%%       {Full name, Full name}
%%     \affiliation{Institution\\
%%       Address}
%%     \email{[email protected]}          % [OPTIONAL]
%%
%%   The corresponding author is marked with \thanks{Corresponding author}.

\author[T. Zima, P. Blaho]
  {Tomas \surname{Zima}, Patrik \surname{Blaho}}
\affiliation{Department of Computer Science\\
Technicka University in North City\\
Vedecka 7, 010\,01 North City, Fictia}
\email{[email protected]}
\thanks{Corresponding author}

\author[L. Sedivy]
  {Lucia \surname{Sedivy}}
\affiliation{Institute of Digital Sciences\\
Academy of Sciences of Fictia\\
12 Binary Lane, 020\,02 Fictia City, Fictia}
\email{[email protected]}

%% [OPTIONAL] Manuscript receipt and revision dates.
%%   Second argument is the revision date; leave empty {} if no revision yet.
%%   To suppress this line entirely, use \noreceived instead.
\received{15 September 2025}{10 November 2025}
% \noreceived

%% [OPTIONAL] Handling editor.
%%   To suppress this line entirely, use \nocommunicated instead.
\communicated{Marcus Johannsen}
% \nocommunicated


%% =================================================================
%%  BEGINNING OF DOCUMENT
%% =================================================================
\begin{document}
\label{firstpage}   % Do not remove! Used for page-range computation.

%% =================================================================
%% INSTRUCTIONS BEGIN HERE - REMOVE THEM IN YOUR MANUSCRIPT
%% =================================================================

This document is a sample manuscript intended solely as a formatting template for authors submitting to Computing and Informatics. It is not a scientific contribution. The full text of this document was generated by artificial intelligence (Claude, Anthropic) for illustrative purposes only. Any resemblance to existing published works is unintentional and coincidental; no infringement of copyright or intellectual property rights is intended.

Should any party nonetheless believe that any portion of this sample text infringes upon their rights, we kindly ask them to contact the editorial office at \href{mailto:[email protected]}{[email protected]}. Upon notification, the relevant text will be promptly replaced.


\subsection*{Layout of the Paper}

Each paper must have a heading, full name and address of the author(s), abstract of about 100 words, keywords, Mathematics Subject Classification 2010, the body of the paper, references, and short CVs (about 100 words) and photos of all authors. The length of the paper should be at least 15 pages of main text (without References and CVs), maximum length of the whole paper is 30 pages. All pages must be numbered. Indicate your e-mail address and the preferred address for correspondence. Use e-mail address that can be traced to your professional and publishing history. Always keep the Editorial Office informed about address changes.

\subsection*{Keywords}
Immediately following the abstract, give five to ten keywords (key phrases).

\subsection*{Mathematics Subject Classification 2010}
Please indicate several relevant MSC 2010 symbols, to be found at \url{http://www.ams.org/mathscinet/msc/msc2010.html}.

\subsection*{Abbreviated title}
An abbreviated title of not more than 50 characters to be used as the running head should be given with each manuscript.

\subsection*{Illustrations}
An electronic version in EPS (Encapsulated PostScript) or PDF format is preferred. The illustrations should be sharp, noise free and of good contrast. Graphs and schemes should be in vector format. If you need to provide bitmaps, please make sure their resolution is at least 300 DPI.

\subsection*{References}
References must be stored in a separate .bib file and referenced from the source LaTeX file. Please use the bibliography style cai (available as cai.bst in the LaTeX template package). References should be complete. Each reference should be provided with a DOI (Digital Object Identifier) if available. \textbf{Always check your DOIs for validity by trying to access their URL.} DOIs which are not valid must be removed and replaced by another web reference if available (arXiv link or any other link to a web page of that bibliography item). Make sure you do not leave in your bibliography any inaccessible web links - these will have to be removed during copyediting, which will slow down the publication of your work.

\hspace{1cm}

References to papers published in languages other than English should be translated into English with the original language given in brackets after the heading, e.g. (in German).

\hspace{1cm}

\textbf{Following these guidelines for the initial submission of your work will allow for speedier processing and publication, should it pass the peer review and be selected for publishing.
}
\begin{framed}
	\textbf{For up-to-date guidelines, always refer to \url{https://www.cai.sk/ojs/index.php/cai/about/submissions}}
\end{framed}

\begin{framed}
	Do not forget to remove these instructions from your manuscript before submitting it to the journal. They are marked by the comment lines \texttt{INSTRUCTIONS BEGIN HERE - REMOVE THEM IN YOUR MANUSCRIPT} and \texttt{INSTRUCTIONS END HERE - REMOVE THEM IN YOUR MANUSCRIPT}.
\end{framed}
%% =================================================================
%% INSTRUCTIONS END HERE - REMOVE THEM IN YOUR MANUSCRIPT
%% =================================================================

\maketitle

%% =================================================================
%%  ABSTRACT  [REQUIRED]
%% =================================================================
\begin{abstract}
This paper presents a comprehensive survey of deep learning architectures applied to natural language processing~(NLP) tasks. We systematically review the evolution from early recurrent neural networks to contemporary transformer-based models, with particular emphasis on attention mechanisms and pre-training strategies. Our analysis covers 150 selected publications from 2015 to 2025 and evaluates architectures with respect to computational efficiency, representational capacity, and benchmark performance on standard NLP datasets. We identify key trends, open challenges, and promising research directions. The survey is intended for researchers and practitioners seeking a structured overview of the field.
\end{abstract}

%% =================================================================
%%  KEYWORDS  [REQUIRED]  (4--8 keywords, comma-separated)
%% =================================================================
\begin{keywords}
deep learning, natural language processing, transformer, attention mechanism, pre-trained language models, neural machine translation
\end{keywords}

\begin{mathclass}
	68T05
\end{mathclass}


%% =================================================================
%%  MAIN TEXT
%% =================================================================

\section{Introduction}

Natural language processing~(NLP) has undergone a profound transformation over the past decade, driven primarily by advances in deep learning. Early approaches relied on hand-crafted features and shallow machine learning models~\cite{Manning1999}. The introduction of word embeddings~\cite{Mikolov2013} marked the beginning of a new paradigm in which dense vector representations capture semantic relationships directly from large text corpora.

The subsequent development of recurrent architectures, most notably long short-term memory networks~(LSTMs)~\cite{Hochreiter1997}, enabled models to capture long-range dependencies in sequential data. A decisive shift occurred with the proposal of the self-attention mechanism and the Transformer architecture~\cite{Vaswani2017}, which forms the backbone of virtually all state-of-the-art NLP systems today.

The goal of this survey is threefold:
\begin{enumerate}
  \item to provide a structured taxonomy of deep learning architectures for NLP,
  \item to summarise empirical results on widely used benchmarks, and
  \item to identify open research problems and promising future directions.
\end{enumerate}

The remainder of this paper is organised as follows. Section~\ref{sec:background} introduces necessary background concepts. Section~\ref{sec:architectures} reviews the major architectural families. Section~\ref{sec:evaluation} presents a comparative benchmark evaluation. Section~\ref{sec:discussion} discusses open challenges, and Section~\ref{sec:conclusion} concludes the paper.


\section{Background}
\label{sec:background}

\subsection{Distributed Word Representations}

The foundation of modern NLP is the distributional hypothesis, which states that words occurring in similar contexts carry similar meanings~\cite{Harris1954}.

\begin{definition}[Word embedding]
\label{def:embedding}
A \textit{word embedding} is a mapping $\phi : \mathcal{V} \rightarrow \mathbb{R}^d$, where $\mathcal{V}$ is the vocabulary and $d \ll |\mathcal{V}|$ is the embedding dimension, typically $d \in \{100, 300, 768\}$.
\end{definition}

As noted in Definition~\ref{def:embedding}, the key property of word embeddings is the low dimensionality of the target space relative to the vocabulary size. Two influential embedding models, Word2Vec~\cite{Mikolov2013} and GloVe~\cite{Pennington2014}, both optimise objectives derived from co-occurrence statistics but differ in whether they process local context windows or global co-occurrence matrices, respectively.

\begin{example}
\label{ex:analogy}
A well-known property of word embeddings is their ability to capture semantic analogies. The vector arithmetic
$$\phi(\text{king}) - \phi(\text{man}) + \phi(\text{woman}) \approx \phi(\text{queen})$$
holds approximately in the Word2Vec embedding space~\cite{Mikolov2013}, suggesting that the difference vector geometrically encodes the concept of gender.
\end{example}

Example~\ref{ex:analogy} illustrates that semantic relationships are encoded geometrically in the embedding space, a property that downstream NLP models exploit implicitly.

\subsection{Attention Mechanism}

The attention mechanism, first applied to neural machine translation by~\cite{Bahdanau2015}, allows a model to selectively focus on relevant parts of the input sequence when producing each output token. Given a query $\mathbf{q}$, keys $\mathbf{K}$, and values $\mathbf{V}$, scaled dot-product attention is defined as
\begin{equation}
  \mathrm{Attention}(\mathbf{q}, \mathbf{K}, \mathbf{V}) = \mathrm{softmax}\!\left(\frac{\mathbf{q}\mathbf{K}^{\top}}{\sqrt{d_k}}\right)\mathbf{V},
  \label{eq:attention}
\end{equation}
where $d_k$ is the key dimension. The scaling factor $1/\sqrt{d_k}$ in Equation~\eqref{eq:attention} prevents vanishing gradients for large values of $d_k$~\cite{Vaswani2017}.

Multi-head attention extends Equation~\eqref{eq:attention} by projecting queries, keys, and values $H$ times with different learned projections and concatenating the results:
\begin{align}
  \mathrm{MultiHead}(\mathbf{Q}, \mathbf{K}, \mathbf{V}) &= \mathrm{Concat}(\mathrm{head}_1, \ldots, \mathrm{head}_H)\,\mathbf{W}^O,
    \label{eq:multihead} \\\smallskip
  \mathrm{head}_i &= \mathrm{Attention}(\mathbf{Q}\mathbf{W}_i^Q,\, \mathbf{K}\mathbf{W}_i^K,\, \mathbf{V}\mathbf{W}_i^V).
    \label{eq:head}
\end{align}

Equations~\eqref{eq:multihead} and~\eqref{eq:head} show that each head attends to information from different representation subspaces simultaneously.


\section{Architectures}
\label{sec:architectures}

\subsection{Recurrent Neural Networks}

Vanilla recurrent neural networks suffer from the vanishing gradient problem when trained on long sequences~\cite{Bengio1994}. This limitation was addressed by the LSTM cell~\cite{Hochreiter1997}, which introduces three gating mechanisms to control information flow across time steps:

\begin{description}
  \item[Forget gate] decides what information to discard from the cell state.
  \item[Input gate] decides which new information to store in the cell state.
  \item[Output gate] decides what part of the cell state to expose as the hidden state.
\end{description}

\begin{lemma}
\label{lem:lstm}
An LSTM with $n$ hidden units can represent any function computable by a finite-state automaton with at most $n$ states~\cite{Hochreiter1997}.
\end{lemma}

\begin{proof}
Each gate vector in the LSTM can be made to approximate a binary step function by saturating the sigmoid activations. Assigning one hidden unit per automaton state and configuring the gate weights accordingly yields the required simulation.
\end{proof}

\subsection{Convolutional Approaches}

Convolutional neural networks were adapted for text classification by~\cite{Kim2014} and demonstrated competitive performance with much lower computational cost compared to recurrent models. The key components are:

\begin{itemize}
  \item a shared embedding layer that maps tokens to dense vectors,
  \item parallel convolution filters of varying widths to capture $n$-gram features,
  \item a max-over-time pooling operation that extracts the most prominent feature per filter	.
\end{itemize}

\subsection{Transformer Architecture}

The Transformer~\cite{Vaswani2017} dispenses with recurrence entirely and processes all positions of the input in parallel using multi-head self-attention as defined in Equations~\ref{eq:multihead}--\eqref{eq:head}. This design enables efficient training on modern hardware accelerators and scales favourably with both data and model size~\cite{Brown2020}.

Figure~\ref{fig:architectures} provides a schematic comparison of the two principal architectural families; the individual subfigures are discussed in the caption.

% Figures must be provided as vector graphics (PDF or EPS) to ensure sharpness at any print resolution. Raster images must be supplied at a minimum of 300 DPI at the intended print size; 600 DPI is recommended for line art rendered as raster.
\begin{figure}
  \subfigure[LSTM cell]{
    \includegraphics[scale=1.0]{fig_lstm}
    \label{fig:lstm}
  }
  \hfill
  \subfigure[Transformer encoder block]{
    \includegraphics[scale=1.0]{fig_transformer}
    \label{fig:transformer}
  }
  \caption{Schematic diagrams of the two principal deep learning architectures for NLP. Figure~\ref{fig:lstm} shows the LSTM gating structure with forget, input, and output gates; Figure~\ref{fig:transformer} shows the Transformer encoder block comprising multi-head self-attention (Equations~\eqref{eq:multihead}--\eqref{eq:head}) and a position-wise feed-forward network. Both figures are vector graphics (PDF).}
  \label{fig:architectures}
\end{figure}

Table~\ref{tab:comparison} summarises key properties of the architectures discussed in this section.

\begin{table}
  \begin{tabular}{lcccc}
    \hline
    \textbf{Architecture} & \textbf{Parallel} & \textbf{Long-range} & \textbf{Params (M)} & \textbf{Reference} \\
    \hline
    LSTM        & No  & Partial & 1--100   & \cite{Hochreiter1997} \\
    CNN         & Yes & Limited & 1--10    & \cite{Kim2014}        \\
    Transformer & Yes & Full    & 65--540  & \cite{Vaswani2017}    \\
    GPT-3       & Yes & Full    & 175\,000 & \cite{Brown2020}      \\
    \hline
  \end{tabular}
  \caption{Comparison of representative deep learning architectures for NLP}
  \label{tab:comparison}
\end{table}


\section{Benchmark Evaluation}
\label{sec:evaluation}

\subsection{Datasets and Protocol}

We evaluate all models on three standard benchmarks: the Stanford Sentiment Treebank~(SST-2) for sentiment analysis, the Stanford Natural Language Inference corpus~(SNLI) for textual entailment, and the CoNLL-2003 dataset for named entity recognition. All experiments follow the standard train/development/test splits and are repeated five times with different random seeds; we report mean accuracy and standard deviation.

\subsection{Results}

Table~\ref{tab:results} shows the accuracy achieved by each architecture on the three benchmarks. The results confirm the trend visible in Figure~\ref{fig:benchmark}: larger, attention-based models consistently outperform recurrent and convolutional baselines.

\begin{table}
  \begin{tabular}{lrrr}
    \hline
    \textbf{Architecture} & \textbf{SST-2 (\%)} & \textbf{SNLI (\%)} & \textbf{CoNLL-2003 F1} \\
    \hline
    LSTM~\cite{Hochreiter1997}     & 87.2 & 81.4 & 85.3 \\
    CNN~\cite{Kim2014}             & 88.1 & 79.6 & 83.7 \\
    Transformer~\cite{Vaswani2017} & 93.5 & 89.2 & 91.8 \\
    GPT-3~\cite{Brown2020}         & 95.3 & 92.7 & 93.4 \\
    \hline
  \end{tabular}
  \caption{Accuracy and F1 scores on the three benchmark datasets}
  \label{tab:results}
\end{table}

\begin{figure}
  \includegraphics[scale=1.0]{fig_benchmark}
  \caption{Accuracy on SST-2 as a function of model size (log scale). Each point represents one architecture from Table~\ref{tab:comparison}. Vector graphic (PDF).}
  \label{fig:benchmark}
\end{figure}

\begin{theorem}
\label{thm:universal}
(Universal approximation for transformers~\cite{Vaswani2017}.) A Transformer with sufficient depth and width is a universal approximator over the space of sequence-to-sequence functions with bounded input length.
\end{theorem}

The practical implication of Theorem~\ref{thm:universal} is that the Transformer family does not suffer from fundamental representational limitations; performance gaps between architectures are therefore primarily a function of optimisation dynamics and available training data.


\section{Discussion and Open Challenges}
\label{sec:discussion}

Despite impressive progress, several challenges remain open. First, the computational cost of large transformer models limits deployment in resource-constrained environments~\cite{Strubell2019}. Second, current models lack robust reasoning capabilities~\cite{Marcus2020}. Third, multilingual and low-resource NLP remain active research areas~\cite{Conneau2020}.

\begin{remark}
\label{rem:efficiency}
Efficient attention approximations such as sparse attention, linear attention, and mixture-of-experts routing reduce the quadratic complexity of Equation~\eqref{eq:attention} to sub-quadratic or linear complexity, enabling processing of sequences with tens of thousands of tokens.
\end{remark}

As noted in Remark~\ref{rem:efficiency}, algorithmic improvements are a promising avenue for making transformer-based models more accessible. Lemma~\ref{lem:lstm} further suggests that recurrent models, despite their computational advantages on short sequences, are strictly less expressive than transformers for long-range dependency tasks.


\section{Conclusion}
\label{sec:conclusion}

This survey has reviewed the major deep learning architectures for natural language processing, tracing their evolution from recurrent networks to large-scale transformer-based language models. The key findings are:

\begin{itemize}
  \item Transformer architectures achieve state-of-the-art results across virtually all NLP benchmarks, as confirmed by Table~\ref{tab:results}.
  \item Model scale continues to drive performance gains, but at significant computational and environmental cost~\cite{Strubell2019}.
  \item Robustness, interpretability, and low-resource generalisation remain critical open problems.
\end{itemize}

Future work will focus on efficient attention approximations and the integration of structured knowledge into pre-trained models.


\subsection*{Acknowledgement}

This work was supported by the Slovak Research and Development Agency under grant No.~APVV-22-0123 and by the VEGA Scientific Grant Agency of the Slovak Academy of Sciences under grant No.~2/0456/23.


%% [REQUIRED] Do not change the bibliography style.
%% Replace 'sample' with the name of your .bib file.
\bibliographystyle{cai}
\bibliography{sample}


%% =================================================================
%%  AUTHOR BIOGRAPHIES  [REQUIRED]
%%  Order must match the order on the title page.
%%  Syntax: \bio{photo}First name,Last name\\ biography text
%%  Photographs: grayscale JPEG, aspect ratio 804:976 (w:h), min. 300 DPI.
%%  If no photo is available, leave the first argument empty: {}
%% =================================================================

\bio{zima}Tomas,Zima\\ received his M.Sc.\ and Ph.D.\ degrees in computer science from Technicka University in North City in 2001 and 2006, respectively. He is currently Professor at the Department of Computer Science, Technicka University in North City. His research interests include machine learning, natural language processing, and knowledge representation. He has published over 80 papers in international journals and conferences, including Computing and Informatics, IEEE Transactions on Neural Networks, and ACL proceedings.

\bio{blaho}Patrik,Blaho\\ received his Ph.D.\ degree in applied informatics from Technicka University in North City in 2013. He is Associate Professor at the same institution. His research focuses on deep neural network optimisation, transfer learning, and low-resource NLP. He is a member of the editorial board of the Journal of Artificial Intelligence Research.

\bio{sedivy}Lucia,Sedivy\\ received her Ph.D.\ degree from the University of Fictia City in 2011. She is Senior Research Scientist at the Institute of Digital Sciences, Academy of Sciences of Fictia. Her current research focuses on multilingual NLP, low-resource learning, and neural machine translation. She has co-authored more than 50 peer-reviewed publications and serves as a reviewer for Computing and Informatics and Computational Linguistics.


\label{lastpage}    % Do not remove! Used for page-range computation.
\end{document}

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗