Mivar-based approach

From HandWiki
Revision as of 23:10, 6 February 2024 by StanislovAI (talk | contribs) (link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Mivar-based approach is a mathematical tool for designing artificial intelligence (AI) systems. Mivar (Multidimensional Informational Variable Adaptive Reality) was developed by combining production and Petri nets. The Mivar-based approach was developed for semantic analysis and adequate representation of humanitarian epistemological and axiological principles in the process of developing artificial intelligence. The Mivar-based approach incorporates computer science, informatics and discrete mathematics, databases,[1] expert systems,[2] graph theory, matrices and inference systems. The Mivar-based approach involves two technologies:[3]

  • Information accumulation is a method of creating global evolutionary data-and-rules bases with variable structure. It works on the basis of adaptive, discrete, mivar-oriented information space, unified data and rules representation, based on three main concepts: “object, property, relation”. Information accumulation is designed to store any information with possible evolutionary structure and without limitations concerning the amount of information and forms of its presentation.[4]
  • Data processing[5] is a method of creating a logical inference system or automated algorithm construction from modules, services or procedures on the basis of a trained mivar network of rules with linear computational complexity. Mivar data processing includes logical inference, computational procedures and services.

Mivar networks allow us to develop cause-effect dependencies (“If-then”) and create an automated, trained, logical reasoning system.

Representatives of Russian association for artificial intelligence (RAAI) – for example, V. I. Gorodecki, doctor of technical science, professor at SPIIRAS and V. N. Vagin, doctor of technical science, professor at MPEI declared that the term is incorrect and suggested that the author should use standard terminology.

History

While working in the Russian Ministry of Defense, O. O. Varlamov started developing the theory of “rapid logical inference” in 1985.[6][7] He was analyzing Petri nets and productions to construct algorithms. Generally, mivar-based theory represents an attempt to combine entity-relationship models and their problem instance – semantic networks and Petri networks.

The abbreviation MIVAR was introduced as a technical term by O. O. Varlamov, Doctor of Technical Science, professor at Bauman MSTU in 1993 to designate a “semantic unit” in the process of mathematical modeling.[6][8] The term has been established and used in all of his further works.

The first experimental systems operating according to mivar-based principles were developed in 2000. Applied mivar systems were introduced in 2015.

Mivar

Mivar is the smallest structural element of discrete information space.

Object-property-relation

Object-Property-Relation (VSO) is a graph, the nodes of which are concepts and arcs are connections between concepts.

Mivar space represents a set of axes, a set of elements, a set of points of space and a set of values of points.

[math]\displaystyle{ A = \{a_n\}, n = 1,\ldots,N, }[/math]

where:

  • [math]\displaystyle{ A }[/math] is a set of mivar space axis names;
  • [math]\displaystyle{ N }[/math] is a number of mivar space axes.

Then: [math]\displaystyle{ \forall a_n \exists F_n =\{ f_{{ni}_n}\}, n=1,\ldots,N, i_n = 1, \ldots, I_n, }[/math]

where:

  • [math]\displaystyle{ F_n }[/math] is a set of axis [math]\displaystyle{ a_n }[/math] elements;
  • [math]\displaystyle{ i_n }[/math] is a set [math]\displaystyle{ F_n }[/math] element identifier;
  • [math]\displaystyle{ I_n = |F_n|. }[/math]

[math]\displaystyle{ F_n }[/math] sets form multidimensional space: [math]\displaystyle{ M=F_1\times F_2\times \cdots \times F_n. }[/math] [math]\displaystyle{ m = (i_1, i_2,\ldots ,i_N), }[/math]

where:

  • [math]\displaystyle{ m \in M }[/math];
  • [math]\displaystyle{ m }[/math] is a point of multidimensional space;
  • [math]\displaystyle{ (i_1, i_2,\ldots, i_N) }[/math] are coordinates of point [math]\displaystyle{ m }[/math].

There is a set of values of multidimensional space points of [math]\displaystyle{ M }[/math]:

[math]\displaystyle{ C_M=\{c_{i_1,i_2,\ldots,i_N} \mid i_1 = 1,\ldots,I_1, i_2 = 1,\ldots,I_2, \ldots , i_n = 1,\ldots,I_N\}, }[/math]

where:

  • [math]\displaystyle{ c_{i_1,i_2,\ldots,i_N} }[/math] is a value of the point of multidimensional space [math]\displaystyle{ M }[/math] is a value of the point of multidimensional space [math]\displaystyle{ (i_1,i_2,\ldots,i_N) }[/math].

For every point of space [math]\displaystyle{ M }[/math] there is a single value from [math]\displaystyle{ C_M }[/math] set or there is no such value. Thus,[math]\displaystyle{ C_M }[/math] is a set of data model state changes represented in multidimensional space. To implement a transition between multidimensional space and set of points values the relation [math]\displaystyle{ \mu }[/math] has been introduced: [math]\displaystyle{ C_x=\mu(M_x), }[/math]

Mivar information space

where:

  • [math]\displaystyle{ M_x\subseteq M; }[/math]
  • [math]\displaystyle{ M_x = F_{1x}\times F_{2x} \times \cdots \times F_{Nx}. }[/math]

To describe a data model in mivar information space it is necessary to identify three axes:

  • The axis of relations «[math]\displaystyle{ O }[/math]»;
  • The axis of attributes (properties) «[math]\displaystyle{ S }[/math]»;
  • The axis of elements (objects) of subject domain «[math]\displaystyle{ V }[/math]».

These sets are independent. The mivar space can be represented by the following tuple:

[math]\displaystyle{ \langle V, S, O\rangle }[/math]

Thus, mivar is described by «[math]\displaystyle{ VSO }[/math]» formula, in which «[math]\displaystyle{ V }[/math]» denotes an object or a thing, «[math]\displaystyle{ S }[/math]» denotes properties, «[math]\displaystyle{ O }[/math]» variety of relations between other objects of a particular subject domain.[9] The category “Relations” can describe dependencies of any complexity level: formulae, logical transitions, text expressions, functions, services, computational procedures and even neural networks. A wide range of capabilities complicates description of modeling interconnections, but can take into consideration all the factors. Mivar computations use mathematical logic. In a simplified form they can be represented as implication in the form of an "if…, then …”[10] formula. The result of mivar modeling can be represented in the form of a bipartite graph binding two sets of objects: source objects and resultant objects.

Mivar network

Mivar network representation in the form of a bipartite directed graph

Mivar network is a method for representing objects of the subject domain and their processing rules in the form of a bipartite directed graph consisting of objects and rules.[11]

A Mivar network is a bipartite graph that can be described in the form of a two-dimensional matrix, in that records information about the subject domain of the current task.[12][13]

Generally, mivar networks provide formalization and representation of human knowledge in the form of a connected multidimensional space. That is, a mivar network is a method of representing a piece of mivar space information in the form of a bipartite, directed graph. The mivar space information is formed by objects and connections, which in total represent the data model of the subject domain. Connections include rules for objects processing. Thus, a mivar network of a subject domain is a part of the mivar space knowledge for that domain.

The graph can consist of objects-variables and rules-procedures. First, two lists are made that form two nonintersecting partitions: the list of objects and the list of rules. Objects are denoted by circles. Each rule in a mivar network is an extension of productions, hyper-rules with multi-activators or computational procedures. It is proved that from the perspective of further processing, these formalisms are identical and in fact are nodes of the bipartite graph, denoted by rectangles.[13]

Multi-dimensional binary matrices

Mivar networks can be implemented on single computing systems or service-oriented architectures. Certain constraints restrict their application, in particular, the dimension of matrix of linear matrix method for determining logical inference path on the adaptive rule networks. The matrix dimension constraint is due to the fact that implementation requires sending a general matrix to multiple processors. Since every matrix value is initially represented in symbol form, the amount of sent data is crucial when obtaining, for example, 10000 rules/variables. Classical mivar-based method requires storing three values in each matrix cell:

  • 0 – no value;
  • x – input variable for the rule;
  • y – output variable for the rule.

The analysis of possibility of firing a rule is separated from determining output variables according to stages after firing the rule. Consequently, it is possible to use different matrices for “search for fired rules” and “setting values for output variables”. This allowsthe use of multidimensional binary matrices. Binary matrix fragments occupy much less space and improve possibilities of applying mivar networks.

Logical and computational data processing

To implement logical-and-computational data processing the following should be done. First, a formalized subject domain description is developed. The main objects-variables and rules-procedures are specified on the basis of mivar-based approach and then corresponding lists of “objects” and “rules” are formed. This formalized representation is analogous to the bipartite logical network graph.

The main stages of mivar-based information processing are:

  • Forming a subject domain matrix;
  • Working with the matrix and designing the solution algorithm for the task;
  • Executing the computations and finding the solution.

The first stage is the stage of synthesis of conceptual subject domain model and its formalization in the form of production rules with a transition to mivar rules. “Input objects – rules/procedures – output objects”. Currently, this stage is the most complex and requires involvement of a human expert to develop a mivar model of the subject domain.

Automated solution algorithm construction or logical inference is implemented at the second stage. Input data for algorithm construction are: mivar matrix of subject domain description and a set input of object-variables and required object-variables.

The solution is implemented at the third stage.[14]

Data processing method

Firstly, the matrix is constructed. Matrix analysis determines whether a successful inference path exists. Then possible logical inference paths are defined and at the last stage the shortest path is selected according to the set optimality criteria.

Formation of mivar network matrix

Let [math]\displaystyle{ m }[/math] rules and [math]\displaystyle{ n }[/math] variables be included in the rules as input variables activating them or as output variables. Then, matrix [math]\displaystyle{ V(m\cdot n) }[/math], each row of which corresponds to one of the rules and contains the information about variables used in the rule, can represent all the interconnections between rules and variables.

  • In each row all the input variables are denoted by [math]\displaystyle{ x }[/math] in the corresponding positions of the matrix, all the output variables are denoted by [math]\displaystyle{ y }[/math].
  • All the variables that have already obtained certain value in the process of inference or setting input data – [math]\displaystyle{ z }[/math].
  • All the required (output) variables, that is, the variables that should be obtained on the basis of input data – [math]\displaystyle{ w }[/math].

One row and one column are added in the matrix [math]\displaystyle{ V }[/math] to store service information.

An example of matrix processing for solving the problem

So, the matrix [math]\displaystyle{ V }[/math] of dimension [math]\displaystyle{ (m+n)\times(n+1) }[/math], is obtained, which shows the whole structure of the source rule network. The structure of this logical network can change, that is, this is a network of rules with evolutionary dynamics.

Example

To search for a logical inference path the following actions are implemented:

  1. Known variables are denoted by [math]\displaystyle{ z }[/math] and required variables are denoted by w in the row [math]\displaystyle{ (m+1) }[/math]. For example, [math]\displaystyle{ z }[/math] denotes positions: 1,2,3 in the row [math]\displaystyle{ (m+1) }[/math]), the variable [math]\displaystyle{ w }[/math] denotes the position [math]\displaystyle{ (n-2) }[/math].
  2. The search of such rules that can be fired, that is, all the input variables of which are known, is implemented successively, for example, top-down. Absent such rules, no logical inference path exists and input data refinement (addition) is requested. Rules that can be fired, are labeled in the corresponding place of service row. For example, we can write 1 in the matrix cell, which is illustrated in the cell [math]\displaystyle{ (1, n+1) }[/math].
  3. Given several such rules, the choice of rules to fire first is implemented according to previously determined criteria. Several rules can be fired simultaneously if sufficient resources are available.
  4. Rule (procedure) firing simulation is implemented by assigning the values “known” to the variables inferred in this rule, that is, [math]\displaystyle{ z }[/math] in this example. A fired rule can be marked additionally, for example by number 2 for convenience of further work. For example, the corresponding changes are made in the cells [math]\displaystyle{ (m+1, n-1), (m+1, n) }[/math] and [math]\displaystyle{ (1, n+1) }[/math].
  5. After rule firing simulation, goal achievement analysis is carried out, that is, required value acquisition is analyzed by comparing special characters in the service row. Given at least one “unknown” ([math]\displaystyle{ w }[/math]) value in the service row [math]\displaystyle{ (m+1) }[/math], logical inference path search is carried out. Otherwise, the task is considered to be solved successfully and the rules fired in a corresponding order form the logical inference path searched.
  6. The availability of the rules that can be fired after defining new values at the previous stage is assessed. Absent firearable rules, no inference path exists and actions are taken analogous to step 2. Given fireable rules the inference path search continues. In this example such rules exist. In cell [math]\displaystyle{ (2, n+1) }[/math] the number 1 is obtained as an indication that this rule can be fired.
  7. At the next stage, analogous to stage 4, the rules are fired (rule firing simulation), analogous to stages 5 and 6 necessary actions are performed to obtain the result. Stages 2–7 are implemented until the result is achieved. A path may or may not be found.
  8. Deducibility of the variables 4 and 5 in the cells [math]\displaystyle{ (m+1, 4) }[/math] and [math]\displaystyle{ (m+1, 5) }[/math] is obtained, and indication that the rule has already been fired in the cell [math]\displaystyle{ (2, n+1) }[/math] is formed, that is, the number 2 is set. After that the analysis of the service row is carried out, which shows that not all the required variables are known. Thus, it is necessary to continue processing matrix [math]\displaystyle{ V }[/math] of dimension [math]\displaystyle{ (m+n)\times(n+1) }[/math]. The analysis of this matrix demonstrates the possibility of rule [math]\displaystyle{ m }[/math] firing.
  9. When rule m is fired, new values are obtained for required variables as well.
  10. Thus, no required rules are in the service row and new values are obtained in the cells of the matrix: 2 appears in the cell [math]\displaystyle{ (m, n+1)-2, }[/math] and we got the value [math]\displaystyle{ z }[/math] instead of [math]\displaystyle{ w }[/math] in the cell [math]\displaystyle{ (m+1, n-2) }[/math]. So, positive result is obtained, consequently, a logical inference path exists with given input values.[3]

References

  1. Melekhin, V.B. (September 2019). "Model of Representation and Acquisition of New Knowledge by an Autonomous Intelligent Robot Based on the Logic of Conditionally Dependent Predicates" (in en). Journal of Computer and Systems Sciences International 58 (5): 747–765. doi:10.1134/S1064230719050101. ISSN 1064-2307. 
  2. Shadrin, S.S.; Varlamov, O.O.; Ivanov, A.M. (2017). "Experimental Autonomous Road Vehicle with Logical Artificial Intelligence" (in en). Journal of Advanced Transportation 2017: 1–10. doi:10.1155/2017/2492765. ISSN 0197-6729. 
  3. 3.0 3.1 Varlamov, Oleg (5 Nov 2011). "MIVAR: Transition from Productions to Bipartite Graphs MIVAR Nets and Practical Realization of Automated Constructor of Algorithms Handling More than Three Million Production Rules". arXiv:1111.1321 [cs.AI].
  4. Chuvikov, D.A.; Kazakova, N.A.; Varlamov, O.O.; Goloviznin, A.V. (2015-01-14). "3D Modeling and 3D Objects Creation Technology Analysis for Various Intelligent Systems" (in en). International Journal of Advanced Studies 4 (4): 16. doi:10.12731/2227-930x-2014-4-3. ISSN 2227-930X. 
  5. Adamova, L.E.; Protopopova, D.A. (2017-05-25). "Intelligent Question-Answering System "mivar Virtual Consultant"" (in en). International Journal of Advanced Studies 6 (3): 9–19. doi:10.12731/2227-930x-2016-3-9-19. ISSN 2227-930X. 
  6. 6.0 6.1 Zavyalova, Victoria (2015-05-18). "Startup creates 'brain' for robots capable of making independent decisions" (in en-US). http://rbth.com/science_and_tech/2015/05/18/startup_creates_brain_for_robots_capable_of_making_independe_46129.html. 
  7. Panferov, A.A.; Zhdanovich, E.A.; Yufimychev, K.A.; Chuvikov, D.A. (2017-05-25). "Designing Algorithms for Service Robots on the Basis of Mivar Approach" (in en). International Journal of Advanced Studies 6 (3): 72–86. doi:10.12731/2227-930X-2016-3-72-86. ISSN 2227-930X. 
  8. Varlamov, O.O.; Adamova, L.E.; Eliseev, D.V.; Mayboroda, Yu.I.; Antonov, P.D.; Sergushin, G.S.; Chibirova, M.O. (2014-04-17). "Mivar Thechnologies in Mathematical Modeling of Natural Language, Images and Human Speech Understanding" (in en). International Journal of Advanced Studies 3 (3): 17–23. doi:10.12731/2227-930x-2013-3-3. ISSN 2227-930X. 
  9. Chuvikov, D.A.; Nazarov, K.V. (2017-05-25). "Designing Algorithms for Solving Physics Problems on the Basis of Mivar Approach" (in en). International Journal of Advanced Studies 6 (3): 31–50. doi:10.12731/2227-930x-2016-3-31-50. ISSN 2227-930X. 
  10. Eugene, Kovshov. MIVAR technology as a new generation in Artificial Intelligence (AI). http://www.oulu.fi/sites/default/files/seminars/MIVAR%20technology%20%28Abstract%29.pdf. 
  11. Varlamov, O.O.; Danilkin, A.I.; Shoshev, A.I. (2016-10-03). "Mivar technologies in knowledge representation and reasoning" (in en). Prip'2016: 30–32. http://elib.bsu.by/bitstream/123456789/158772/1/Varlamov_Danilkin_Shoshev.pdf. 
  12. Ivanchenko, N.O. (2014-01-01). "Mivar technologies modelling of enterprise's technical and technological potential". Актуальні проблеми економіки (1): 505–510. ISSN 1993-6788. http://nbuv.gov.ua/UJRN/ape_2014_1_61. 
  13. 13.0 13.1 Sandu, R. A. (2010-10-01). "A method of processing experimental data on the parameters of physical processes in information-measurement systems based on Mivar logical nets" (in en). Measurement Techniques 53 (6): 600–604. doi:10.1007/s11018-010-9548-0. ISSN 0543-1972. 
  14. A.Viattchenin, Dmitri; Shyrai, Stanislau (2015). "Intuitionistic Heuristic Prototype-based Algorithm of Possibilistic Clustering". Communications on Applied Electronics 1 (8): 30–40. doi:10.5120/cae-1629. 

External links