Ranking of Search Requests in the Digital Information Retrieval System Based on Dynamic Neural Networks

The article is devoted to the problem of optimization of search request ranking algorithms in the digital information retrieval system. The algorithm of functioning of the neural network ranking unit based on Hopﬁeld neural network is built. The ability to generate a ranked list of pages found as a result of the request in the digital information retrieval system can be provided by solving two problems of integer optimization: the problem of assignment of combinatorial sets of criteria for assessing the relevance of web page search and the problem of sorting of numbers—relevance values. The architecture of the neural network model based on the dynamic Hopﬁeld neural network with binary output function designed for combinatorial optimization of the ﬁnal list of documents found in the digital information retrieval system was synthesized. Promising variants of neural network models with binary output function of neurons for synthesis of the optimal evaluation plan with a combinatorial set of criteria by solving the problem of assignment were built. It has been proven that the built models diﬀer in the rules for determining the coeﬃcients of synaptic connections and external shifts; each of the created rules can be used independently or in diﬀerent combinations with one another. In the course of analytical research, it was found that the optimization formulation of the problem of sorting of relevance values of search pages is identical to the problem of assignment of combinatorial groups of evaluation criteria provided that the elements of the performance matrix of the latter are deﬁned as linear combinations of relevance values.


Introduction
In the process of development of the Internet and the growth of data from local area networks, the probability of the existence of the required information increases, and the possibility of finding it decreases. Proper search for the necessary information becomes a common problem. New methods and tools are needed that solve the problems of relevant search in extremely large amounts of information. e goal of digital information retrieval systems (DIRS) developers is to provide the user with a search engine results page (SERP) that is as relevant as possible to the content of the personal request (to ensure relevance and accuracy of the search), while generating as much SERP as possible containing the requested information (to ensure completeness of the search). e development of search engines is impossible without their intellectualization, which includes the use of semanticsyntactic analysis of texts, natural language tools, intelligent algorithms for determining the significance and information resources for the user, obtaining additional information about documents by analyzing hypertext structure and user preferences, and many other tools. In the DIRS, a request is generated as a keyword or a combination of keywords related to logical operations. To search for the same textual information, different keywords are used, the choice of which is subjective [1]. But even if the keywords are defined and the request consists of only one word, the search result may differ when using different search engines. is is due to different procedures for indexing the text of documents in different search engines, as well as due to the fact that the search result can be represented as a very large list of found documents.
e number of documents found in the list when searching by a keyword can be reduced by continuing the search, but already among these found documents (a number of search engines provide this option), using another keyword as a request. Increasing the number of keywords and continuing the search procedure in the found documents allows to reduce the number of found documents to a reasonable value, at which viewing the text of documents on the topic of interest is already real. at is why the right choice of a sufficient number of keywords, and even better word combinations, is a challenge, especially when working with unfamiliar material. Neural networks are becoming a software and system necessity that can effectively solve these problems. All of this determines the high level of relevance and necessity of this research.

Related Work
Among all variety of types of problems of mathematical programming, there are problems in which the set of acceptable alternatives is known or infinite, and it is based on certain rules of combinatorics. Such problems constitute a class of combinatorial optimization problems. Since the problems of combinatorial programming are reduced to the choice of a finite set of alternatives, in principle, each such problem may be solved by a complete search. It is natural to state the question of the complexity of the algorithms that implement this method. In this case, when the authors say about a dynamic binary Hopfield neural network, they can get a higher effect. As is known, in static neural networks, the absence of feedback guarantees their unconditional stability. ey cannot enter in some mode when an output continuously switches between states and is not suitable for use. But this very desirable property is not achieved for free; networks without feedback have more limited capabilities compared to those with feedback. Since networks with feedback have pathways for transmission of signals from outputs to inputs, the response of such networks is dynamic; that is, after using a new input, the output is calculated and, transmitted via feedback, modifies the input [2]. en, the output is calculated again; the process is repeated again and again. For a stable network, successive iterations lead to smaller output changes until the output becomes constant. e problem of stability is solved by the Hopfield neural network, which is a subset of networks with feedback, which outputs eventually reach a steady state.
is is the main advantage.
A number of fundamental works on the theory of intelligent search processes in DIRS [2][3][4] state that without effective ranking search results lose importance because they may include references to tens and hundreds of thousands of documents. In such conditions, ranking is a general problem imperative, and the main problems of development of scientific bases of architectural principles of DIRS are insufficient theoretical elaboration of approaches used in practice, relatively low level of use of developed mathematical mechanisms, and lag of theoretical developments from rapidly changing search needs of computer users.
A number of scientists and experts [5][6][7][8] point out that the ranking of requests in search engines is a rather complex process. Developers are constantly trying to improve ranking algorithms, usually pursuing two major goals-to improve search quality and reduce the possibility of artificial influences on the ranking of results. One or another DIRS can take into account many factors, which one way or another affect the state of a particular document in the issuance of a particular request. At the present stage of technical development, most DIRSs are based on various complex modifications of the same ranking method [9,10]. e method is reduced to calculation of the relevance of SERP to the search phrase based on two factors-internal and external ones [11]: document relevance � (internal factor (search phrase) + external factor (search phrase) confidence coefficient). An internal factor in the ranking method is roughly the density of the search phrase in the body of the page multiplied by the coefficient of thematic relevance of the page to the search phrase. An external factor in the ranking method is the number of links to the page with the text of the link corresponding to the search phrase multiplied by the coefficient of thematic relevance of links to the search phrase and the confidence coefficient of the link to the website. Specific changes to this formula apply to all documents in the search engine database. en, the issuance is sorted in descending order of relevance. Documents, whose relevance is less than a certain threshold, do not appear in the issuance [12].
According to [13,14], the above global difficulties of search in DIRS cause low adequacy of the information found on request of the user, i.e., return of a large volume of uninformative pages by the system. e problem may be exacerbated by the low speed of receiving answers from the Internet, the need for the user to view all found documents and evaluate their information content in a nonautomated mode. An alternative to secondary search procedures can be the development of fast algorithms for selecting and sorting returned SERPs according to the functions of significance of information resources and relevance of requests. e problem of optimal representation of a limited set of SERPs from some set found in order to maximize the total relevance of the request is presented by the problem of combinatorial optimization in this scientific work. e formation of the final list of found documents is provided by a recurrent procedure of application of the developed combinatorial algorithms.

The Method of Ranking of DIRS Requests
Based on Neural Network Solving of Combinatorial Problems 3.1. e General Sequence of the Method. e importance of research and development of working algorithms is determined by the need to maintain and develop high performance of DIRS with a large amount of indexed information and compliance with the vector criterion of significance. In practice, this often leads to the impossibility of applying those algorithms that have proven themselves well in experimental studies in DIRS. In our case, highperformance requirements for DIRS are provided by a neural network computing basis, which allows to parallelize tasks; that is, the algorithm allows to perform resourceintensive precision ranking operations for requests that have a chance to be in high enough places in the issuance by the results of a rougher assessment of their relevance. e SERP ranking method developed by the author is based on two facts: (1) e increase in the number of search objects contradicts the need to implement in a limited time interval complex assessments of the relevance of content of the information found to the requirements of the search request. erefore, existing information technologies do not provide effective implementation of search engines without parallelization of their methods and algorithms or exponential increase in the productivity of computing resources. (2) e complexity of the mathematical support of the algorithms for presenting the found documents and the complexity of the tasks solved using DIRS themselves do not exclude the set of criteria of relevance. In accordance with this set, the selection criteria for the found documents are already presented as Pareto-optimal. is feature is poorly reflected in the algorithmic support of the final stage of search and presentation of SERPs in DIRS [15,16].
e general sequence of the method of ranking before delivery of search result to the user that was developed by the authors can be presented by four stages: (1) e set "A1" of content correspondences (significance criteria) between the information request and SERP (search result) is dynamically determined, and also the initial set "P" of the found pages which is exposed to ranking is designated. (2) e table of correspondence of the set "P" of the found pages with the set of significance criteria is built. e table defines the initial data for solving the ranking problem within the combinatorial assignment problem. (3) A neural network model for solving the ranking problem based on a dynamic binary Hopfield neural network is formed. (4) Having initialized the neural network with random input vectors, one obtains the required sequence of SERP indices in accordance with a given set of relevance criteria in DIRS.
e algorithm of search for information relevant to the information needs of the user is the main advantage of DIRS. By relevance, the authors mean the correspondence between the required and the retrieved information. Construction of the optimal sequence of application of certain tools at each step of the search determines its effectiveness. e proposed method allows to solve the problem of choice and can give a clear idea of the types, purposes, and properties of DIRS. Within the two main classes of information retrieval systems: (1) search engines and (2) search directories, the authors identify the search categories: (a) by keywords; (b) with Boolean logic of word combinations; (c) by word combinations; (d) taking into account the distance between words; (e) case sensitive; (f ) semantic (conceptual); (g) according to a pattern (similarity); and (h) by document margins. e method of search engine operation proposed by the authors provides automatic indexing of a large number of documents, but it has no advanced tools of artificial intelligence for expert evaluation of information. is explains the low relevance of the results of search engines (relevance means the degree of correspondence of the search results to the user query). Search directories provide more relevant results at the expense of manual preprocessing of queries by editors.

Representation of the Method of Ranking by the Neural Network Solution of Combinatorial Sorting of SERPs.
e first stage consists in determining the set of content correspondences "A1" and the formation of the initial set of ranked search pages-a trivial method that mainly depends on the characteristics of a certain DIRS. e formed set of content correspondences is denoted as a set of significance criteria "V" (importance of search request) of DIRS at generation of SERPs, V � {v u }, u � 1, ..., U; U is the total number of DIRS request significance criteria. Suppose that as a result of a request a set of search pages D is found {d j }, j � 1, ..., N, where N is the total number of pages found by DIRS per search request. Each document d j , j � 1, ..., N, according to each criterion v u, u � 1, ..., U, has a certain relevance r ui , u � 1, ..., U, j � 1, ..., N. From a given set of search pages M, it is necessary to form a set of pages S, in which the total S is relevant: U u�1 S j�1 r uj by all criteria of significance will be maximum [17]. To ensure the completeness of the selection from the set of alternatives, we will consider the total relevance of r ij of any SERP d j in relation to a group of various combinations of criteria v u (Figure 1).
We assume that the ith group of DIRS request criteria consists of k criteria with U, where U is the total number of DIRS request significance criteria. e number of variants of alternate selection of k criteria with U is U!/(U − k)!. In the formed subsets of k criteria, each group has its own position. However, from the permutations of the criteria in the space covered by the subset, the number of the corresponding document does not change. e number of subsets with different potencies is U. erefore, the maximum number of groups of criteria for the significance of the request (or works in terms of the assignment problem) will be

Complexity 3
where U is the total number of criteria for the significance of the request in DIRS. In this regard, there arises a need to develop an efficient and fast neural network algorithm to solve the problem of assignment of one SERP from set S to each group of request criteria that the problem of ranked representation of found DIRS documents is reduced to.
At the second stage of the ranking method implementation, it is necessary to distribute SERPs by groups of criteria in such a way that each page is preferably evaluated by one group of criteria, each group of criteria is preferably used for evaluation of one page, and the total relevance of the SERP by all combinatorial groups of DIRS significance criteria is maximum [18].
We designate through R � ‖r ji ‖ − N × M the performance matrix (Table 1), whose elements r ji form the relevance of the document with the number j relative to the group of criteria with the number i, M is the total number of SERPs found by DIRS, and N is the total number of combinatorial groups of criteria of request significance.
We designate through X � ‖x ji ‖ − N × M the matrix of the unknown, whose element x ji takes the value "1," if an SERP with the number j will be evaluated as having maximum relevance by the group of criteria with the number i, and the value "0" otherwise. We present the constraints of the mathematical model as a system of equations: In the given system, the first equation means that each SERP is evaluated by one group of criteria. According to the second equation, each group of criteria is used to evaluate one search page. e conditions of the third equation are natural constraints on the introduced variables. Given this, we determine the destination matrix X, which forms the criterion of optimality: Problems (2)-(3) are called assignment problems with an additive criterion of optimality. When considering the assignment problem in its standard form, it is assumed that the number of different combinatorial groups of criteria is equal to the number of SERPs: M � N. It is not difficult to demonstrate that by introducing fictitious groups of criteria or fictitious SERPs found, the open mathematical model (2) Based on the fact that the matrix of condition constraints (4) is absolutely unimodular (an integer matrix is called absolute or completely unimodular, if any of its minors is equal to ("1," "-1," or "0"), then any pivot of the mathematical model (4) is an integer, hence the equivalence of the mathematical models (2) and (4) [20]. In addition, since conditions (4) and conditions of invariance of variables automatically imply that variables cannot be more than "0," the initial mathematical model (2) is equivalent (in terms of finding the optimal solution to the assignment problem) to the mathematical model with constraints (4), conditions M � N and constraints x ≥ 0, j � 1,2,...,M. Suppose, for example, that the number of SERP documents found exceeds the number of criteria (groups of criteria) N. We introduce additional fictitious criteria (groups of criteria) with indices: j � N+1, ..., N. Suppose that the coefficients of the assignment table are equal to zero. In this case, we obtain the problem formulated in the standard form. If in the optimal plan of this problem x ji � 1, then the search page j is evaluated by a fictitious criterion (group of criteria), that is, remains without work [21]. e method using a neural network model allows to rank SERPs both in the case of many V (significance criteria) and in the extreme case of V � 1.
We reformulate the ranking problem as follows. Suppose there is a set of numbers-the values of the relevance of SERPs found as a result of a DIRS request: It is necessary to arrange the numbers in ascending order, that is, to find this permutation of indices j � π(i), then ∀j ∈ 1 . . . (n − 1) r j ≤ r j + 1. We build the solution of this problem on the basis of using a neural-like model synthesized above to solve combinatorial optimization problems. For the purpose, we reduce the formulated problem of sorting of numbers to some optimization problem. To do this, we prove this statement. Suppose that there is an arbitrary set of numbers {r i }, i ∈ N � 1, ..., n and a monotonically increasing series of positive numbers {a j }, j ∈ N � 1, ..., n, such that ∀j ∈ 1 . . . (n − 1) a j ≤ a j + 1. On the set of various substitutions {π(i)} � U, j � π(i) and set the linear functional as follows: We designate permutation j * � π * (i), which sorts in ascending order a given arbitrary set of numbers {r i }, that is, satisfies the condition: To prove this statement, we take an arbitrary substitution π(i), which generates the next permutation of the initial set of numbers (r 1 , r 2 , . . . , r k , . . . , r j , . . . , r i , . . . r n ) (Figure 2(a)). For certainty, we assume that k < l і r k ≥ r i ; that is, this pair of numbers in this permutation is not sorted in the sense of the problem formulated above. We take the second substitution π * (i) obtained from the first transposition of the kth and ith elements.
is substitution will correspond to the permutation of the initial set of numbers: (r 1 , r 2 , . . . , r l , . . . , r j , . . . , r k , . . . r n ), which differs from the first one in that the number r i is in the kth place and the number r k is accordingly in the lth place ( Figure 2(b)) [22]. In such a permutation, this pair of numbers will be sorted in the format of the problem.
We determine the values of the functional (5) on the substitutions π(i), і π * (i): and find their difference: On the strength of the accepted assumption k < l and r k ≥ r i , so, firstly, r l -r k ≤0; secondly, a k -a l <0, as the series of numbers {a j } is monotonically increasing by definition. From which, it follows that is, the value of the input linear functional (5) in the permutation, in which some pair of numbers is sorted, is greater than or equal to the value of this functional in the permutation, which differs only in that the selected pair of numbers is not sorted. At the third and fourth stages of the method implementation, a neural network model for solving the ranking problem based on a dynamic binary Hopfield neural network is formed and used.

Synthesis of Architecture and Parameters of the Hopfield
Neural Network. We consider the neural network interpretation of the problem of ranking by many criteria as a problem of assignment provided that the problem of assignment is reduced to the standard form (the number of groups of criteria is equal to the number of ranked documents) [23,24]. We define the architecture of the neural Complexity 5 network by solving problem (2) under constraints (3). We include in consideration a network of binary neurons, which is a matrix with dimension of n × n, where n � N − M is the number of SERP or groups of criteria. A ranking model can be based on a neural network ( Figure 3) containing arbitrary feedbacks by which the transmitted firing returns to the neuron and it performs its function again [25].
In dynamic neural networks, instability is manifested in wandering changes in the states of neurons, which does not lead to steady states. In the general case, the answer to the question of the stability of the dynamics of an arbitrary system with feedbacks is extremely difficult and is still open [26] (Figure 3).
It is assumed that the discrete Hopfield neural network used have the following characteristics: (1) one layer of elements (input elements representing the input sample are not taken into account); (2) each element is connected to all other elements, but not to itself; (3) only one element is refreshed in one stage; (4) elements are refreshed randomly, but on average each element must be refreshed to the same extent (with the same frequency); and (5) element output is limited to "0" or "1"; that is, the output function is binary [27]. e Hopfield network is recurrent in the sense that, for each input sample, the network output is reused as input until a steady state is reached. After "start," the appropriately organized (programmed) neural network changes its state, gradually moving to steady state. is mode identifies the result-a SERP evaluation plan with many groups of criteria, which may not match the exact solution. Random search procedures are usually used to clarify the result [28].
It is convenient to assume that the Hopfield network has no input elements, as the input vector simply determines the initial values of the activity of the elements. e elements are refreshed when all elements transmit their activity values according to the available weighted value of connections, after which the sum of terms is calculated (i.e., a scalar term is taken). e activity value of the element is based on the use of some activation rule. Each integer variable x ij is matched to the output signal of the ijth neuron u ij , which is in the ith row and in the jth column of the network matrix.
e matrix of the network in the state of rest, where neurons with single-output signals are presented in the form of shaded squares, is given in Figure 4. A set of firing neurons is interpreted as a plan of assignments. According to (10), we interpret constraint (2) and objective function (3); as a result, we obtain (11)- (14).
where u ji is Hopfield neural network output value ( Figure 3) and R ji is performance matrix value (Table 1) whose elements r ji represent the relevance of the search page with the number j in relation to the criterion (group of criteria) with the number і.
We build the energy function F 0 (u), whose minimization ensures the fulfillment of constraints (11)-(13) and the solution of problem (14). We build it in the following form: where the last term provides the optimization of the cost function and up to constant F > 0 is unambiguously determined as follows: and the first term ensures the fulfillment of constraints and can be built in several ways. According to the first of them, 6 Complexity this component of the energy function being built has the following form: where A, C, and S are positive constants. e first term takes the minimum and zero value only if each row of the matrix {u ij } contains no more than one element, the second term takes the minimum zero value if each column of the matrix contains no more than one element, and finally the third term takes the minimum zero value if the whole matrix {u ij } contains exactly n elements. e built function F ψ 0 (u) reaches its minimum in all states that correspond to the set of constraints (11)-(13) and represent a plan of assignments. According to the second method to build this component of the energy function being built, we have where the first term takes the minimum zero value only if any row of the matrix {u ij } contains only one firing neuron, and the second term takes the minimum zero     Complexity value if any column of the matrix contains exactly one firing neuron. In general, the above function takes the minimum zero value only in states that meet constraints (11)- (12) and represent a plan of assignments. Combining the function (16) with the function (17) or the function (18), we build the energy function in its finished form: or We define network parameters having compared one of the obtained functions with the energy function put down in the general form: where T jiμv is the coefficient of connection between the input of the ijth neuron and the output of the μvth neuron and I ji is shift of the ijth neuron.
In this formula, for the energy function of the network, the time parameter is intentionally omitted due to the fact that in determining the synapses and external shifts, it does not play a significant role for both discrete-time networks and continuous-time networks. Moreover, this formula should be used when determining the parameters of synthesized networks, both with discrete and continuous states. e reason for this is the fact that the energy functions of networks with discrete and continuous states differ only in the presence of the integral term in the latter, which does not explicitly depend on the values of synapses and external shifts [29,30].
In order to determine the parameters of the network in accordance with the built energy function (19), we give the formula for this function in the form and equate the coefficients for the linear and quadratic terms of the last formula and energy (21). e last term can be excluded from consideration, as it does not depend on the state of the network. Matching of linear terms allows to determine the value of external shifts, and matching of quadratic terms allows to determine the synaptic connections between neurons. Analysis of the first term of the built energy function indicates that any neuron in the network must have synaptic connections with the coefficient-A with all neurons of the row of the same name (condition μ � i) except the considered neuron itself (condition v≠j). e second term dictates the presence of connections with the coefficient-C between the neurons of the column of the same name (condition v � j) in addition to its own feedback (condition μ≠i). e third term indicates that all neurons in the network are connected to each other by synapses with the coefficients-S. With the help of the Kronecker symbol-δ ji , we form the resulting formula for synaptic connections of the network in the form Analysis of the fourth and fifth terms of the built energy function shows that all neurons in the network must be fed external offsets in the form As a rule, in practical problems, it is assumed that F � 1 and A � C; then all nonzero connections have the same weight, which is equal to A. Moreover, when analyzing formulas (23) and (24), one can see that the presence of global connections with the coefficient C of each neuron with each one in the end state of the network corresponds to the plan of assignments ensures the application of a combined signal, which is equal to Cn and compensated by the constant offset Cn to any neuron from all other neurons. erefore, to simplify the structure of network synapses, global connections with weight C and part of offset Cn can be ignored in the first approximation [31]. In this case, a simplified network structure for the synthesis of the optimal SERP assessment plan, by solving the assignment problem, can be represented as shown in Figure 5. e required model of a neural network with binary output function of neurons contains a matrix of nxn neurons, each of which is fed an external offset equal to the corresponding performance I ji � − r ji , and the output signal of any neuron u ji , with the coefficient A, is fed to the inputs of all neurons of the same rows and columns. In order not to complicate the graphical model ( Figure 5.), the connections and shifts of only one neuron N ji are shown in it. An example of a plan of assignments is represented by a set of excited (put in bold) neurons. Another variant of network parameters for the optimal SERP assessment plan can be obtained using the built energy function in the form of (20). Similar to the above procedure, we give this expression in a new form (21): 8 Complexity and compare the coefficients for linear and quadratic terms, discarding the last term. As a result, we obtain T jiμv � − Aδ iμ − δ iv , In addition to the above functions, one can use various combinations of functions (17) and (18) to build the energy function F 0 (u). As a result, one will obtain different variants of neural network parameters. When building a neural network with continuous states, it is necessary to provide conditions for finding rest points in the corners of the ndimensional cube of its state space. Another way to ensure strict binarity of the output signals of neurons in steady states is to add to the energy function being built an additional component that reaches a minimum value in the states of the network in which the output signals of neurons take the value "0" or "1." An example of such a function is as follows: where G > 0 is constant. Adding this term to the earlier built energy function, for example, in the form of (19), we obtain from where we define the following parameters of the search neural network: Combining formulas (27) and (21), we can build the energy function as follows: where the required network parameters are determined as follows: T jiμv � − Aδ iμ − Bδ iv + Gδ iμ δ iv , e ranking of documents in the case of a single criterion of significance, i.e., in the extreme case of V � 1, is implemented under the following assumption: there are many values of relevance of the SERP list found as a result of the DIRS request: {r i }, i ∈ N � 1, ..., n. As a result of ranking, the numbers are arranged in ascending order of indices j � π(i) so that ∀j ∈ 1 . . . (n − 1), r j ≤ r j+1 . e pair of numbers {r k , r l } was chosen arbitrarily. Similar proofs can be provided for any other pair of numbers. Specifically, condition (9) will be valid for different pairs of adjacent elements. Due to the fact that any permutation can be represented by the superposition of transposition of adjacent elements, the maximum value of the linear function (5) will be achieved at the permutation in Complexity which all pairs of adjacent elements are sorted, which corresponds to the above solution of SERP sorting problem [32,33]. us, the initial problem of finding a sorting permutation is reduced to the optimization of the linear function with a set of various permutations, whose solution is defined in the form of (6). To solve this problem using a neural network, we present its neural network interpretation. We assume an arbitrary substitution j � π(i) in the form of a matrix of neurons [V ij ] with nxn dimension as follows: At the content level, the excited state of the neuron V ij � 1 corresponds to the fact that the ith element of the initial set of values of relevance r occupies the jth position in the substitution π(i).
ere must be exactly one excited neuron in any row and in each column of such a matrix, so the limitations of the form are valid: e neural network interpretation of the optimizing function (5) will be presented as follows: Comparing the last formula with the results of the neural network interpretation of the assignment problem in the forms (11)- (14), we conclude that the optimization formulation of the SERP sorting problem is identical to the formulation of the assignment problem provided that the elements of the performance matrix are defined as follows: c ij � a j r i i, j ∈ 1, . . . , n. (34) erefore, the further building of the neural network for solving the problem (6) will completely coincide with the building of the network for solving the SERP assignment problem. e parameters of networks for solving both the first and second problems will be determined by the same formula [34,35]. Specifically, using the parameters of the network to solve the assignment problem taking into account the condition (35), we obtain the network parameters to solve the sorting problem in the following form: Using another formula to determine the parameters of the network for solving the assignment problem, one can obtain a family of neural networks to solve the problem of sorting data in DIRS.

Use of the Model through Relaxation of the Hopfield Network Energy Function.
At the fourth stage of the method implementation, the Hopfield neural network is initiated by an input random vector that "relaxes" to its energy minimum, and the output results of each of the neurons are interpreted as an index according to which DIRS requests should be ranked. e input vector specifies the initial states of all elements-neurons. e element to be updated is selected randomly. e selected element receives weighted signals from all other neurons and changes its state. Another element is selected and the process is repeated. e neural network reaches the point when none of its elements, being already selected for updating, does not change its state. In the general case, the end rest point U * , to which the network will pass in the process of energy minimization, will be determined by its initial state U°and the relief of the energy function E (U, T, I) set in the space of states M [36,37]. We turn to the simplified version of the network to solve the problem of assignment presented in Figure 3.
In this case, the relief of the energy function will be determined by the module of synaptic connections T � A and the performance matrix {r ji }. With a rather wide range of values of the elements of this matrix and an arbitrary value of the module of connections T, the network not only does not guarantee the transition to the end state, which corresponds to the global maximum of the optimizing function but may have end steady states that do not correspond to any plan of assignments. is situation can be addressed by introducing additional matching of the values of the module of connections and external shifts of the network, which are the input data of the problem, by scaling the latter [38]. e selection of the scaling factor of the input data of the problem is based on the results of the study of the influence of the module of connections T on the relief of the energy function E for some specific variant of the performance matrix.
We consider a practical version of the problem with the size of 2×2 with the performance matrix as follows: . Each initial state U of the network is matched by a four-bit binary code, which is a rolled matrix {u ji }, and the change in the energy function and its components depending on the state of the network is examined. A graph of change in the own component of the energy function is presented in Figure 6: determined by the value of the module of connections and obtained at T �1.
Regardless of the value of the module of connections, this component takes the minimum (zero) value in the states corresponding to the plans ("1001" and "0110") or characterized by the presence of no more than one excited neuron. e full line shows the graph of the change of the forced component of the energy function E s � − n j�1 n i�1 I ji u ji , which is determined by external shifts in accordance with the performance matrix and does not depend on the value of the module of connections. Graphs of changes in the full energy function E � E 0 + E s at different values of the module of connections T are shown by solid lines. As can be seen from the analysis of the presented results, at rather small values of the module of connections the relief of the energy function is complex and multiextreme. Despite the fact that in this case the four-dimension space of the network states is reflected on the integer axis, even such a simplified representation allows to conclude that with increasing value of T the relief of the energy function becomes more regular, the number of local minima decreases, and global extremum is identified, which corresponds to the optimal plan of assignments "0110" [39]. More constructive conclusions can be drawn from the results of the study of the quality of solving the problem of assignment at different values of the module of connections. For the purpose, we consider the problem of assignment with the matrix:  Figure 7.
At large values of T, close to the maximum element of the performance matrix r max , out of sixteen solutions in a series six results give the optimal plan of assignments. With that, ten other solutions of the series correspond to local maxima, whose cost function value is not less than 28. is condition is maintained with a further increase in the module of connections.
e module of connections is reduced to a value close to the average for all elements of the performance matrix, which leads to an increase in the number of strictly optimal solutions, a decrease in the number of locally optimal solutions, and the emergence of stable conditions not meeting the plans of assignments, whose number is growing.
Based on the above results, the following practical recommendations can be made. When solving the problem of assignment, using a neural network, the value of the module of synaptic connections should be within the range from the average to the maximum element of the performance matrix [40]. In practice, when changing the values of the module of synaptic connections is a difficult technical problem, this recommendation should be implemented through scaling the input performance values before their input into the network, in the form of neuron shifts at the given value of T. e scaling factor k m is selected from the range of k m ∈ [r mid /T; r max /T], and the shift signals are defined in the form of I ji � r ji /k m , j, i � 1, . . . n. e final selection is made in each specific case depending on the required quality of the solution and the available time [41]. If it is necessary to promptly obtain a solution of the problem that is not necessarily fundamental, but close enough to it by a single call to the network, the scaling factor is selected, which is close to k m � r max /T. If it is necessary to obtain strictly optimum solution and there is a possibility to call to the network several times, the factor is selected, which is close to k m � r mid /T, a series of solutions for various initial states of the network is found, and among the found plans of assignments of groups of criteria for SERPs, the best plan is assigned.

Neural Network Request Ranking Algorithm for DIRS
We define the basic neural network request ranking algorithm for DIRS. A general block diagram of the developed neural network ranking algorithm with a vector relevance criterion is given in Figure 8. In the first three stages, the input data of the algorithm are formed [42,43]. At the first stage, the number of Z starts of neural network relaxation is set to its energy minimum. At the second stage, based on statistical, dynamic internal, and dynamic external factors, the vector of relevance criteria of the found SERPs is formed: v i, і � l,...,N. Since the   Complexity criteria v i are one order more than SERP d j , the criteria are combinatorially grouped by all possible combinations without repetition and each group is taken as a destination unit. At the third stage, the unordered part of the set of found SERPs to be ranked. d is selected: d j , j � 1, ..., M. At the fourth stage, the table X � ‖x ji ‖ of correspondence of D set of the found SERP to the V set of significance criteria is built. e input data for solving the ranking problem within the combinatorial assignment problem are defined in the table. At the fifth stage, the structure of the neural network model is defined-the type of activation function f(s), the number of N × N neurons-which depends on the dimensionality of the vectors of the input data and the mode of operation (asynchronous mode). At the sixth stage, using formulas (23), (24), and (31), the coefficients of connectivity T jiμv and shift I ji of the model of binary Hopfield neural network are calculated: u � f(u,I,T), where u-neuron outputs, I-shift values, and T-coefficients of synaptic connections. At the seventh stage, the initialization of the neural network is implemented by a random input vector u 0 ; as a result of subsequent iterations of which, the neural network is set to equilibrium u t+1 k � f(u t k , I k , T k ).
At the eighth stage, an unambiguous interpretation of the output signals of neurons binary Hopfield neural network is carried out. Interpretation of neural network outputs allows to obtain the desired sequence of SERP indices according to a given set of DIRS relevance criteria, and the total relevance value of R r on the rth start of the neural network. Stages 7-9 are performed after achievement of the set quantity of 2 starts of relaxation of a neural network to its energy minimum (check of the condition r ≥ Z at stage 9). At the final stage 10, the SERP presentation sequence is selected, whose total relevance value, R r Σ � max(R r Σ ) r � 1, . . . , Z, is maximum.

Practical Implementation of the Neural Network Search Request Ranking Algorithm in DIRS
e developed and implemented algorithms and methods for synthesizing the parameters of the neural network ranking unit allow determining the parameters of the network up to constant coefficients and can be used alone or in various combinations with each other. In this regard, the experimental results of comparing the quality of solving problems of assignment on neural-like networks, the parameters of which were determined at different values of constants in equations, are of practical interest. e authors consider the example of equations that define the parameters of the neural network model in the ranking unit for solving the problem of assignment with dimension of 20 to 200 links found on Internet. To evaluate the quality of the solution, the authors use the parameter: where ϕ cp (c) is the average value of the cost function for the whole set of valid solutions x for a specific set of search request parameters. In this equation, c denotes a set of input data of the problem, which, depending on the type of problem, will be a performance matrix [s ij ]. e values of ϕ cp (c) and ϕ(c, x min ) are determined by a complete search. To evaluate the statistically average value of quality Φ w (c), different variants of the input data randomly selected from the range [0,1] are considered, for each of which 10 solutions of different initial conditions of evolution of the network V 0 are obtained. Table 1 presents the results of the evaluation of the statistically average value of quality Φ w (c) for solving the problem of assignment for different dimensions and the above rules for determining network parameters (Table 2). e above results testify to quite acceptable quality of problem solving by means of the synthesized models of the neural network ranking unit.
To determine the efficiency of neural network ranking compared to traditional ranking methods, experiments were conducted with various search requests and samples of web links from 20 to 200. Table 3 summarizes the data on the time of problem solving.   Table 4 shows examples of search requests of the prototype of DIRS search engine.
Investigation of the sequential dynamics of the neural network block during the ranking of web links. Although within this variant of the organization of the Internet ranking block, in turn, a number of subvariants can be identified, the latter will differ slightly from each other in their efficiency, so without loss of generality, the authors settled on one of them. It is implemented in two main steps. At the first step, the calculation of binary functions from the current variables of the model state is carried out. It is implemented in the form of a sequential process of variable sampling: the sum of Hopfield neural network inputs from the transfer buffer to the calculation unit of the binary output function, the implementation of the output function, and the transfer of the final output of one neuron to the buffer. e second step is to sequentially determine for each neuron the right part of the numerical scheme for obtaining the final difference. Adding the execution time of two consecutive steps, the authors obtain the desired estimate of the implementation time of one ranking step for a sequential version of the organization of the block. Table 5 presents the results of measuring the ranking time of different requests depending on the size of the sample being ranked.
In the structure of the implementation of this variant of the ranking block, there is an element of parallel summation of N+1 number of neurons. is summation is carried out using the tree of two-input software adders. e most significant contribution to the duration τ, which depends on dimension of the model, is the time of calculating the sum n i�1 u ji I ji , where uji and I ij are neuron output and the size of its bias. e contribution of sum calculation to the total time can be reduced by using adders with a large number of inputs. e family of intermediate variants of parallelization is naturally generated by the assumption of the presence of not one, as was the case in an absolutely sequential version, but several traditional serial processors, each of which simulates a group of neurons in an absolutely sequential scheme. e more processors, the less time τ. e limit case when the number of    neurons is equal to the number of processors τ will be determined by the time of absolutely sequential implementation of the model of one neuron. Approximately for this family of parallelization variants, one can consider τ ∼ N 2 /π. An additional number of families of different variants give hypotheses about the parallelization of the implementation of certain operations in the model of one neuron. Table 6 presents the results of measuring the ranking time of different requests depending on the size of the sample being ranked.
A comparison of Tables 5 and 6 shows a significant gain in ranking time with an increase in the number of ranked web links and the degree of parallelization of the neural network ISS (intellectual subsystem) block. Knowing the methods of parallelization of the neural network and substituting the corresponding values of the parallelization parameters, we can evaluate the efficiency of this specific example of the ranking block based on the ISS server. In conclusion, it should be noted that the methods considered in the study do not exhaust all possible variants for parallelization, and hence all possible variants for hardware implementation of the Hopfield neural network in the web search ranking block. For example, a broad family of parallelization variants allows using pipelined methods of arithmetic operations in the ranking block, which may be one of the areas of further studies on creation of a class of digital neuro accelerators for web search. e results of experimental tests of neural network ranking procedures showed high efficiency of the latter in the adapted multicore architecture of hardware and software.

Conclusion
An analysis of the existing capabilities of modern information retrieval systems and problems of intelligent search for textual information related to the need to solve discrete optimization problems was carried out. e analysis showed that as of today the neural network is not fully used in information retrieval systems to solve problems of optimal representation of the found SERPs. e analysis of neural network models of optimization of information retrieval procedures applicable in algorithms of information retrieval systems was carried out. So, the choice of method to solve the optimization problem in the operation of DIRS is determined by the original set of alternatives. With a small number of ranked SERPs, the use of accurate methods becomes effective; otherwise, heuristic methods are used for solving a specific optimization problem where neural networks have advantages. e solution of optimization problems with the help of neural networks is based on the properties of the latter to minimize the energy function of the stability of states corresponding to some local minima of the network energy.
A method of ranking documents in DIRS based on a neural network solution of combinatorial problems of assignment and sorting was developed. e solution of these problems with the help of neural network is due to the need to solve an integer problem of optimizing the large dimension of the found SERPs. e architecture of the neural network model of ranking of SERPs based on the dynamic binary Hopfield neural network was created. Several variants of neural network models with binary output function of neurons were created for the synthesis of the optimal evaluation plan based on a combinatorial set of criteria by solving the problem of assignment. e models differ in the rules for determining the coefficients of synaptic connections and external shifts, and practical recommendations for their selection are provided. e algorithm of operation of the neural network ranking unit at various values of significance criterion was developed. During analytical studies, it was established that the optimization formulation of the problem of sorting of the values of relevance of documents is identical to the formulation of the problem of assignment of combinatorial groups of evaluation criteria, provided that the elements of the performance matrix of the latter are defined as linear combinations of relevance values.

Data Availability
No data were used to support this study.

Consent
Consent is not applicable.

Conflicts of Interest
e authors declare that they have no conflicts of interest regarding the publication of this paper.

Authors' Contributions
Conceptualization was prepared by V. B. and S. D.; methodology and investigation were conducted by S. D.; software and resources were obtained by S. B.; validation was