<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">The Verification of Decision Tree Model for Coreference Resolution Using Marked Transition Systems, Petri Nets and Büchi Automata</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Sergiy</forename><surname>Pogorilyy</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Taras Shevchenko National University of Kyiv</orgName>
								<address>
									<addrLine>60 Volodymyrska Street</addrLine>
									<postCode>01033</postCode>
									<settlement>Kyiv</settlement>
									<country key="UA">Ukraine</country>
								</address>
							</affiliation>
						</author>
						<author role="corresp">
							<persName><forename type="first">Maksym</forename><surname>Slynko</surname></persName>
							<email>maxim.slinko@gmail.com</email>
							<affiliation key="aff0">
								<orgName type="institution">Taras Shevchenko National University of Kyiv</orgName>
								<address>
									<addrLine>60 Volodymyrska Street</addrLine>
									<postCode>01033</postCode>
									<settlement>Kyiv</settlement>
									<country key="UA">Ukraine</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Pavlo</forename><surname>Biletskyi</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Taras Shevchenko National University of Kyiv</orgName>
								<address>
									<addrLine>60 Volodymyrska Street</addrLine>
									<postCode>01033</postCode>
									<settlement>Kyiv</settlement>
									<country key="UA">Ukraine</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">The Verification of Decision Tree Model for Coreference Resolution Using Marked Transition Systems, Petri Nets and Büchi Automata</title>
					</analytic>
					<monogr>
						<idno type="ISSN">1613-0073</idno>
					</monogr>
					<idno type="MD5">D0C29B723D11C7801101C365086BAD7B</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2025-04-23T18:46+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>artificial intelligence, natural language processing, coreference resolution, decision trees, transition systems, Büchi automata, Petri nets, formal verification (P. Biletskyi) 0000-0002-6497-5056 (S. Pogorilyy)</term>
					<term>0000-0001-9667-8729 (M. Slynko)</term>
					<term>0000-0001-5425-3706 (P. Biletskyi)</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>This paper addresses the problem of coreference resolution, which involves identifying words or phrases in a text that refer to the same real or imaginary entity. The solution for this task is developed for Ukrainian-language texts using decision trees, which autonomously structure themselves based on training data. Decision trees, unlike other machine learning algorithms such as neural networks, allow for the analysis of their internal structure through graphical representation, significantly easing the formal verification of their properties. Vector representations of words (such as ELMo) and other linguistic features are used to create decision trees. These trees are employed for the binary classification of input pairs potentially referring to the same coreferent objects. Based on the binary classifier, coreferent objects are grouped into clusters, followed by an evaluation of clustering accuracy using specialized metrics. To guarantee the reliability of large, complex software systems, formal verification methods are applied. A formal model of the coreference resolution system is constructed using marked transition systems. This model describes the system with a set of discrete states and transitions between them under certain conditions. The properties of the system are formalized and verified using network models, automata models and linear-temporal logic, ensuring error-free execution on infinite state sequences. The work explores the use of Petri nets for analyzing the correctness of the system model. The synchronous product of transition systems is verified for liveliness, boundedness, deadlocks, and traps, ensuring that the model operates correctly without redundancy. Büchi automata are created to accept words confirming the properties, with examples and counterexamples found during the analysis. The proposed method serves as a foundation for creating automated analyzers for coreference resolution applications based on decision trees, demonstrating high efficiency and accuracy. The approach allows for the formal verification of system properties on potentially infinite state sequences, ensuring the reliability and correctness of the coreference resolution system throughout its runtime.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Coreference Resolution is a task in Natural Language Processing (NLP) that involves finding all the linguistic objects in a text (such as nouns, pronouns, and noun phrases) that refer to the same real or imaginary entity. The result of solving this task is establishing correspondences between text objects that indicate the same entity; such correspondence can be established for a pair of objects or their cluster.</p><p>Examples of coreferent objects <ref type="bibr" target="#b0">[1]</ref> are provided below; the referent (noun) is highlighted in bold, and pronouns are underlined.</p><p>• Simple anaphora (the noun precedes the pronoun in the text): "He crossed the mountain. It was high." • Simple cataphora (the noun is mentioned after the pronoun): "She walked onto the road leading to the right. Maria was in a good mood today."</p><p>• Compound referent: "Ivan, Mykhailo, and Ostap -all worked underground." Automated methods for solving the coreference resolution task include algorithms based on strict rules formulated by qualified linguists and artificial intelligence (AI) methods. AI methods include neural networks, language models, and decision trees. Decision trees, unlike other AI methods, have a structure that allows relatively easy analysis of their internal logic and corrections to their structure to change the classification logic.</p><p>In the process of creating large complex software systems, errors often arise. Therefore, ensuring the reliability of such systems is relevant. Testing is a common method to find errors in software products during the development. However, testing allows for finding errors in the program but cannot guarantee their absence. For a more detailed analysis of the application reliability, formal verification methods are used.</p><p>To conduct formal verification, it is necessary to build a formal model of the system. The system can be formally represented using various methods. We propose using the marked transition systems <ref type="bibr" target="#b1">[2]</ref> apparatus, which allows describing the system with a set of discrete states between which transitions occur under certain conditions, indicating the operations that system performs while transitioning from one state to another.</p><p>Once the formal model is built, the next step of the analysis is to define the properties of the system to be analyzed and to express them in a formal way -formalize them. After obtaining the system model and the properties for its verification, formal methods are used to prove the verification or falsification of the properties. For this, Petri nets and Büchi automata <ref type="bibr" target="#b2">[3]</ref> were used.</p><p>The paper considers the problem of coreference resolution in Ukrainian-language texts using decision trees. The application of transition systems is proposed to build a high-level specification model for coreference resolution. Formalization is carried out, and network/automata models and linear-temporal logic are used to verify a set of properties of the obtained specification. Büchi automata are created to accept words confirming the properties, and examples and counterexamples of the analyzed properties are found.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Using Decision Trees for Coreference Resolution</head><p>• A decision tree is a hierarchical structure consisting of nodes (the root-the initial node, internal nodes, and leaf nodes). Each non-leaf node of such a tree refers to two subtrees (or child nodes). Decision tree structure can be generated automatically based on a training dataset. • The dataset should contain elements and class labels for them. Each element consists of features that can take real or Boolean values (i.e., values that support comparison operations necessary for the tree's functioning). In the work <ref type="bibr" target="#b0">[1]</ref>, the dataset for coreference resolution consists of elements describing pairs of potentially coreferent objects and a label indicating whether these objects are coreferent. Each element contains features of the pair, such as: matching number, gender, part of speech of the first and second object, lemmatized versions of the objects, the number of words between the objects, the cosine similarity measure of the vectors of the considered objects, and others. All these features are obtained automatically using the UDpipe library <ref type="bibr" target="#b3">[4]</ref>, the ELMo model for creating word vector representations <ref type="bibr" target="#b4">[5]</ref>, and own algorithms. The dataset (2500 texts containing 2.4 million examples) was divided into training (1500) and test (1000) samples. • The decision tree for coreference resolution in the work <ref type="bibr" target="#b0">[1]</ref>, created using the scikit-learn library <ref type="bibr" target="#b5">[6]</ref>, is formed by selecting a specific feature at each step in the process of deepening. This feature is chosen in such a way as to best separate the set considered in the specific subtree into classes. The Gini impurity coefficient <ref type="bibr" target="#b6">[7]</ref> is used to select this feature, which allows evaluating the probability of incorrect classification of a randomly chosen object from the subgroup. As with other AI methods, decision trees are prone to overfitting, which is the excessive adaptation of the tree structure to the dataset used for its creation. In this case, the algorithm's accuracy on data not used for training decreases. To overcome this phenomenon, the parameter `min_impurity_decrease` is used in the work <ref type="bibr" target="#b0">[1]</ref>, which allows limiting the tree's depth if further splitting into subsets decreases the Gini coefficient by less than the threshold value. The size of the decision tree from figure 1 is limited by `min_impurity_decrease` set to 0.00005 for illustration purposes (in the final decision tree it was 0.000003).</p><p>The created decision tree allows classifying input objects by transitioning into subtrees starting from the root following the rule specified in the current node. Since each input object describes a pair of potentially coreferent objects, the decision tree performs a binary classification task.</p><p>Coreferent links can exist between more than two objects in the text, for example, including three, four, or more objects. Therefore, to obtain results, coreferent objects are grouped into clusters. In the work <ref type="bibr" target="#b0">[1]</ref>, initially, all potentially coreferent objects are considered clusters. Their merging occurs if at least one pair of potentially coreferent objects from the first and second clusters is recognized as coreferent.</p><p>The quality of clustering is evaluated by comparing the obtained clusters with the original ones using special metrics. Such an assessment is performed on the test sample. The results obtained in the work <ref type="bibr" target="#b0">[1]</ref> show high algorithm efficiency, close to the results of the BiLSTM neural networkbased model <ref type="bibr" target="#b7">[8]</ref>. The parts of the decision tree used for further algorithm analysis are shown at figures 2 and 3.  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Formal Verification of Algorithms Using Decision Trees</head><p>As shown in the review article <ref type="bibr" target="#b8">[9]</ref>, existing studies use formal verification for machine learning models using Satisfiability Modulo Theories (SMT) and Linear Programming (LP). In this paper we propose an approach to verification using automata models and linear-temporal logic, which allows exploring the temporal characteristics of the model on potentially infinite state sequences. Typically, a mathematical model of a discrete system represents a graph where vertices correspond to states (or state classes) the system can be in at different times, and edges represent transitions between states that may have labels indicating actions or events performed by the system.</p><p>The system's functioning is represented by sequences of transitions from one state to another. If an edge has a label, this label represents the system's action performed when transitioning from the state at the beginning of the edge to the state at its end. The work uses marked transition systems (marked TS or MTS) as a discrete model of general-type computations <ref type="bibr" target="#b1">[2]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Creation of MTS Models at a High Level of Abstraction</head><p>From the modeling perspective, an application using decision trees for coreference resolution can be represented as the interaction of such systems:</p><p>• TS 1 or "control" system: responsible for interaction with external resources;</p><p>• TS 2 or "core": system representing the traversal of the decision tree.</p><p>The control system is modeled by TS:</p><formula xml:id="formula_0">𝑀 = ({𝑣 ! , 𝑣 ! , 𝑣 ! }, {𝑎 ! , 𝑎 ! , 𝑎 ! }, 𝛼, 𝛽, 𝑣 ! ),<label>(1</label></formula><p>) where v 0 is the system in the availability state; v 1 is the state where the system processes input data; v 2 is the state where the system outputs the result. Transitions are interpreted as follows: a 1 is receiving a new set of input data; a 2 is forming the classification result; a 3 is transitioning to the availability state. For clarity, let's use a subtree of the decision tree obtained in <ref type="bibr" target="#b0">[1]</ref> as the "core". Note that during the model creation process, two surrogate states were added to the subtree: the initial s 0 and the final s 6 ; as well as the transition t 11 between them. This is necessary to represent the decision tree as a continuously functioning system, allowing the use of temporal logic for further analysis. The final model is defined as:  It is important to note that in the subtree, which was selected for modeling, each subset of states {s2, s3, s4} asserts coreference of the input data. Accordingly, each of the states {s0, s1, s5} asserts the absence of coreference, and the state s6 preserves the coreference class determined earlier. </p><formula xml:id="formula_1">𝑆 ! = {𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑠 ! },<label>(2)</label></formula><formula xml:id="formula_2">𝑇 ! = {𝑡 ! , 𝑡 ! , . . . , 𝑡 !! },<label>(3)</label></formula></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Using Petri Nets for Verifying Model Correctness</head><p>Once the synchronous product of the above TS with global transition constraints is defined, it becomes possible to proceed with its verification. The main models of such a process are automata and network models. The work considers using Petri nets (PN) for which there is a wide range of analysis methods. In <ref type="bibr" target="#b9">[10]</ref>, it is described that the semantics of the TS product and the PN semantics modeling it are consistent in the sense that the sequence of global transitions t1,...,tk represents the global history of the TS product if and only if it is an acceptable sequence of transitions in the PN. Accordingly, the elements of the set T become PN transitions, and the global states of TS (the set of states of each TS participating in the synchronous product before or after the global transition) become places in the obtained network. According to the set of synchronization constraints T, we build a Petri net modeling the joint operation of the core model and the control system: We will verify the liveliness of such a system. The "liveliness" property means that all transitions in the obtained model will participate in its operation process <ref type="bibr" target="#b1">[2]</ref>. If transitions in the PN never fire, it means that the system's design is incorrect or redundant. We will examine the PN for liveliness by solving the state equation of the form 𝐴 𝑥 = 0 where A is the incidence matrix of the PN.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Table 1</head><p>Incidence S 0 -1 0 0 0 0 0 0 -1 0 0 0 1</p><formula xml:id="formula_3">S 1 1 -1 0 0 0 0 0 0 -1 0 0 0 S 2 0 1 -1 0 0 0 0 0 0 -1 0 0 S 3 0 0 1 -1 0 -1 0 0 0 0 0 0 S 4 0 0 0 1 -1 0 0 0 0 0 0 0 S 5 0 0 0 0 0 1 -1 0 0 0 0 0 S 6 0 0 0 0 1 0 1 1 1 1 -1 0 S 7 0 0 0 0 0 0 0 0 0 0 1 -1</formula><p>Solutions to the state equations with the incidence matrix from Table <ref type="table">1</ref> are listed in Table <ref type="table" target="#tab_1">2</ref>. The TSS algorithm <ref type="bibr" target="#b10">[11]</ref> was used to solve the state equation. </p><formula xml:id="formula_4">1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 0 0 1 1 0 0 0 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 1 1</formula><p>The incidence matrix and the state equation solutions indicate that all transitions in the PN are covered by positive invariants. Additionally, only transitions corresponding to a single decision tree branch fire at any given time. Analysis of the boundedness PN property is performed by solving the system of equations of the form 𝐴 ! 𝑥 = 0 where 𝐴 ! is the transposed matrix of A. The set of solutions includes vector 𝑥 = {1,1,1,1,1,1,1,1}, that covers all places of the PN with positive values. Therefore, the PN under analysis is bounded, and there are no unreachable places.</p><p>Let's consider the Petri net for the presence of deadlocks and traps. Semantically, a deadlock state is a reachable marking of the net from which no transition is possible <ref type="bibr" target="#b11">[12]</ref>. A Petri net is structurally live if and only if each of its deadlocks has a trap. The logical dependency system for deadlock detection in Petri nets in Figure <ref type="figure" target="#fig_7">7</ref> is presented as follows:</p><formula xml:id="formula_5">𝑠 ! → 𝑠 ! ; 𝑠 ! → 𝑠 ! ; 𝑠 ! → 𝑠 ! ; 𝑠 ! → 𝑠 ! ; 𝑠 ! → 𝑠 ! ; 𝑠 ! → 𝑠 ! ∨ 𝑠 ! ∨ 𝑠 ! ∨ 𝑠 ! ∨ 𝑠 ! ; 𝑠 ! → 𝑠 ! .<label>(6)</label></formula><p>The system of linear homogeneous Diophantine inequalities (SLHDI), corresponding to this system of logical dependencies, can be represented in the form of the Table <ref type="table">3</ref>:</p><formula xml:id="formula_6">Table 3 SLHDI for deadlock detection -1 0 0 0 0 0 0 1 ≥ 0 1 -1 0 0 0 0 0 0 ≥ 0 0 1 -1 0 0 0 0 0 ≥ 0 0 0 1 -1 0 0 0 0 ≥ 0 0 0 0 1 -1 0 0 0 ≥ 0 0 0 0 0 1 -1 0 0 ≥ 0 1 1 1 0 1 1 -1 1 ≥ 0 0 0 0 0 0 0 -1 1 ≥<label>0</label></formula><p>The set of deadlocks in the Petri net under consideration contains the following elements, among which the first deadlock is a combination of basic others:</p><formula xml:id="formula_7">𝐷 ! = {𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑠 ! }, 𝐷 ! = {𝑠 ! , 𝑠 ! , 𝑠 ! }, 𝐷 ! = {𝑠 ! , 𝑠 ! , 𝑠 ! }, 𝐷 ! = {𝑠 ! , 𝑠 ! , 𝑠 ! },<label>(7)</label></formula><formula xml:id="formula_8">𝐷 ! = {𝑠 ! , 𝑠 ! , 𝑠 ! }, 𝐷 ! = {𝑠 ! , 𝑠 ! , 𝑠 ! }, 𝐷 ! = {𝑠 ! , 𝑠 ! , 𝑠 ! }.</formula><p>Let's proceed to investigate the traps of the Petri net depicted in Figure <ref type="figure" target="#fig_7">7</ref>. The logical dependency system for trap detection looks like:</p><formula xml:id="formula_9">𝑠 ! → 𝑠 ! ∧ 𝑠 ! ; 𝑠 ! → 𝑠 ! ∧ 𝑠 ! ; 𝑠 ! → 𝑠 ! ∧ 𝑠 ! ; 𝑠 ! → 𝑠 ! ; 𝑠 ! → 𝑠 ! ; 𝑠 ! → 𝑠 ! ; 𝑠 ! → 𝑠 ! . (8) Table 4 SLHDI for trap detection -1 1 0 0 0 0 1 0 ≥ 0 0 -1 1 0 0 0 1 0 ≥ 0 0 0 -1 1 0 0 1 0 ≥ 0 0 0 0 0 -1 0 1 0 ≥ 0 0 0 0 0 0 -1 0 0 ≥ 0 0 0 0 0 0 -1 1 ≥ 0 1 0 0 0 0 0 0 -1 ≥ 0</formula><p>The following set of traps is obtained after solving the SLHDI in Table <ref type="table">4</ref>:</p><formula xml:id="formula_10">𝑇𝑟 ! = {𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑠 ! }, 𝑇𝑟 ! = 𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑇𝑟 ! = {𝑠 ! , 𝑠 ! , 𝑠 ! , 𝑠 ! },<label>(9)</label></formula><formula xml:id="formula_11">𝑇𝑟 ! = {𝑠 ! , 𝑠 ! , 𝑠 ! }, ! = {𝑠 ! , 𝑠 ! , 𝑠 ! }.</formula><p>Since a given Petri net is free-choice, the following statement holds for such nets: a free-choice Petri net is live if and only if every deadlock in such a net includes the trap marked by the initial marking. As evident from the given Petri net, each of its basic deadlock <ref type="bibr" target="#b6">(7)</ref> includes at least one of the traps <ref type="bibr" target="#b8">(9)</ref>, thus the Petri net depicted on Fig 7 is live.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.">Verification of Model Properties Using Büchi Automata</head><p>We propose using the following algorithm to verify a linear-temporal formula P representing a property that determines the system's semantic correctness:</p><p>1. Create a Büchi automaton that accepts words confirming P.</p><p>2. Construct the product of the automaton and the TS modeling the original system.</p><p>3. Find the intersection of paths generated by the transition system and the paths accepted by the automaton. Further analysis of the reachable states of the intersection allows finding both examples and counterexamples of the formula P <ref type="bibr" target="#b2">[3]</ref>. Let's consider the use of the algorithm with an example: suppose there is a hypothesis that, during the analysis of coreference between two objects, if the length of the second object is small, then the objects are coreferent. Such a property can be represented by a following formula in linear temporal logic:</p><p>𝑃 ! = (𝑙𝑒𝑛2 ≤ 1.5) → 𝐺(𝐹(𝑐𝑜𝑟𝑒𝑓)), (10) In other words, if the condition holds true, the system will eventually transition to a state that establishes the coreference class and remain in that state. The Büchi automaton that accepts words corresponding to formula P1 has two states: initial state p0 and final state p1. Once it transitions to p1, the automaton remains in that state regardless of the input words.</p><p>Let's construct the intersection of the Büchi automaton (Figure <ref type="figure" target="#fig_8">8</ref>) and TS, which models the synchronous product of TS 1 and 2 (Figure <ref type="figure">6</ref>). A simplified visual representation of the obtained intersection is shown in Figure <ref type="figure">9</ref> (for clarity, unreachable states are hidden).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Figure 9. Intersection of the Büchi automaton and the TSю</head><p>The obtained intersection allows for further analysis of feasible paths, cycles and traces. In particular, we observe that there exists a path where a transition occurs from state p1 to state p0 (the final state of such transition is highlighted by two concentric circles on <ref type="bibr">Fig 9)</ref>, indicating a counterexample to property P. Indeed, having just the information about the length of one of the objects is insufficient to assert their coreference: traversal of the tree with the specified constraint can end in either state s4, which asserts coreference, or state s5, which asserts its absence.</p><p>If we consider another linear temporal logic formula, for example, 𝑃 ! = (𝑙𝑒𝑚𝑆 ∧ 1𝑝𝑟𝑝 ∧ 𝑙𝑒𝑛2 ≤ 1.5 ∧ 𝑙𝑒𝑛1 ≤ 1.5 ∧ 𝑛𝑂𝑏𝑗𝐵𝑡𝑤 ≤ 58.5) → 𝐺(𝐹(𝑐𝑜𝑟𝑒𝑓)), <ref type="bibr" target="#b6">(7)</ref> Then the analysis of the Büchi automaton product and the synchronous product of TS will demonstrate the absence of a path-cycle that is accessible from the initial state and includes a state from the set of unreachable states. Thus, formula P2 is true, indicating the property it represents holds true universally.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.">Conclusions</head><p>The study presented in this paper explores the use of decision trees for coreference resolution in Ukrainian-language texts. Decision trees are demonstrated to be an effective method for this task, providing clear and interpretable structures that facilitate the analysis and formal verification of their properties. The application of decision trees allows for binary classification of potentially coreferent object pairs, leading to the formation of coreferent clusters with high accuracy, as evidenced by the experimental results.</p><p>A significant contribution of this work is the integration of formal verification methods to ensure the reliability and correctness of the coreference resolution system. By constructing a formal model using marked transition systems, we enable the detailed examination of the system's behavior across potentially infinite state sequences. This approach guarantees the absence of errors during the entire runtime of the system, a feat not achievable with other formalization tools such as SMT, which only address verification at specific static moments.</p><p>The use of Petri nets further strengthens the analysis by providing a robust framework for examining the correctness of the model. The synchronous product of the transition systems is analyzed for liveliness, boundedness, and the presence of deadlocks and traps, ensuring the system operates correctly and efficiently without redundancy.</p><p>Additionally, the paper proposes using Büchi automata and linear-temporal logic to verify properties of the AI classifiers. This approach allows for the formal verification of semantic correctness by intersecting the paths generated by the transition system with those accepted by the automaton. The approach is illustrated with practical examples, demonstrating both the identification of counterexamples and the verification of property compliance.</p><p>Overall, the research lays a solid foundation for creating automated analyzers for coreference resolution applications based on decision trees. The methodologies developed in this work ensure high efficiency, accuracy, and reliability of the system, providing valuable insights for future advancements in the field of natural language processing and formal verification.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: Decision tree (limited size) [1]</figDesc><graphic coords="3,86.24,72.04,451.00,381.00" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 2 :</head><label>2</label><figDesc>Figure2: Decision tree subtree (with root node)<ref type="bibr" target="#b0">[1]</ref> </figDesc><graphic coords="4,147.89,72.04,313.20,189.60" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Figure 3 :</head><label>3</label><figDesc>Figure 3: Decision tree subtree (continuation of tree from figure 2) [1]</figDesc><graphic coords="4,155.04,316.88,284.40,186.00" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head>Figure 4 :</head><label>4</label><figDesc>Figure 4: TS representation of the "control" system.</figDesc><graphic coords="5,199.72,238.15,195.55,66.50" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_4"><head></head><label></label><figDesc>𝐾 = (𝑆 ! , 𝑇 ! , 𝛼, 𝛽, 𝑠 ! ), (4) The set of propositional formulas associated with states and the labeling function for each state are shown in the figure 5.</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_5"><head>Figure 5 :</head><label>5</label><figDesc>Figure 5: TS representation of the "core" system.</figDesc><graphic coords="6,163.06,72.04,283.14,289.85" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_6"><head>5 )Figure 6 :</head><label>56</label><figDesc>Figure 6: synchronized composition of TS 1 and 2.</figDesc><graphic coords="6,93.54,501.35,408.00,132.00" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_7"><head>Figure 7 :</head><label>7</label><figDesc>Figure 7: PN that represents synchronized composition of TS 1 and 2.</figDesc><graphic coords="7,72.04,147.40,449.40,159.60" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_8"><head>Figure 8 .</head><label>8</label><figDesc>Figure 8. Representation of a Büchi automaton corresponding to the linear temporal formula P1.</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_1"><head>Table 2</head><label>2</label><figDesc>State equation solutions</figDesc><table><row><cell>t 1</cell><cell>t 2</cell><cell>t 3</cell><cell>t 4</cell><cell>t 5</cell><cell>t 6</cell><cell>t 7</cell><cell>t 8</cell><cell>t 9</cell><cell>t 10</cell><cell>t 11</cell><cell>t 12</cell></row></table></figure>
		</body>
		<back>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Coreference resolution algorithm for Ukrainian-language texts using decision trees</title>
		<author>
			<persName><forename type="first">S</forename><surname>Pogorilyy</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Biletskyi</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 13th International Scientific and Practical Programming Conference UkrPROG</title>
				<meeting>the 13th International Scientific and Practical Programming Conference UkrPROG</meeting>
		<imprint>
			<date type="published" when="2022">2022</date>
			<biblScope unit="page" from="81" to="90" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<monogr>
		<author>
			<persName><forename type="first">Y</forename><surname>Boyko</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Kryvyi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Pogorilyy</surname></persName>
		</author>
		<title level="m">Methods and innovative approaches to designing, managing, and deploying high-performant IT infrastructures</title>
				<imprint>
			<date type="published" when="2016">2016</date>
			<biblScope unit="page">447</biblScope>
		</imprint>
		<respStmt>
			<orgName>Kyiv University</orgName>
		</respStmt>
	</monogr>
	<note type="report_type">PPC</note>
	<note>in Ukrainian</note>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Method of semantic application verification in GPGPU technology</title>
		<author>
			<persName><forename type="first">S</forename><surname>Kryvyi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Pogorilyy</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Slynko</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Kramov</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">System Research &amp; Information Technologies</title>
		<imprint>
			<biblScope unit="volume">3</biblScope>
			<biblScope unit="page" from="7" to="22" />
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<monogr>
		<ptr target="https://lindat.mff.cuni.cz/services/udpipe/" />
		<title level="m">UDpipe library</title>
				<imprint>
			<date type="published" when="2024-04-06">06.04.2024</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Deep contextualized word representations</title>
		<author>
			<persName><forename type="first">M</forename><surname>Peters</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Neumann</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Iyyer</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Gardner</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Clark</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Lee</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Zettlemoyer</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</title>
				<meeting>the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</meeting>
		<imprint>
			<date type="published" when="2018">2018</date>
			<biblScope unit="page" from="2227" to="2237" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<monogr>
		<title level="m" type="main">Scikit learn for decision trees</title>
		<idno>06.04.2024</idno>
		<ptr target="https://scikit-learn.org/stable/modules/tree.html" />
		<imprint/>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Evaluating the Impact of GINI Index and Information Gain on Classification using Decision Tree Classifier Algorithm</title>
		<author>
			<persName><forename type="first">S</forename><surname>Tangirala</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">International Journal of Advanced Computer Science and Applications</title>
		<imprint>
			<biblScope unit="page" from="612" to="619" />
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">The complex method of coreferent clusters detection based on a BiLSTM neural network</title>
		<author>
			<persName><forename type="first">S</forename><surname>Telenyk</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Pogorilyy</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Kramov</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Knowledge Based Systems</title>
		<imprint>
			<biblScope unit="page" from="205" to="210" />
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">Are Formal Methods Applicable To Machine Learning And Artificial Intelligence</title>
		<author>
			<persName><forename type="first">M</forename><surname>Krichen</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of 2nd International Conference of Smart Systems and Emerging Technologies (SMARTTECH)</title>
				<meeting>2nd International Conference of Smart Systems and Emerging Technologies (SMARTTECH)</meeting>
		<imprint>
			<date type="published" when="2022">2022</date>
			<biblScope unit="page" from="48" to="53" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<monogr>
		<title level="m" type="main">Finite Transition Systems: Semantics of Communicating Systems</title>
		<author>
			<persName><forename type="first">A</forename><surname>Arnold</surname></persName>
		</author>
		<imprint>
			<date type="published" when="1994">1994</date>
			<publisher>Prentice Hall</publisher>
			<biblScope unit="page">177</biblScope>
			<pubPlace>Paris</pubPlace>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<monogr>
		<author>
			<persName><forename type="first">S</forename><surname>Kryvyi</surname></persName>
		</author>
		<title level="m">Linear Diophantine limits and their application</title>
				<meeting><address><addrLine>Chernivtsi</addrLine></address></meeting>
		<imprint>
			<publisher>Bukrek&quot; Publishing House</publisher>
			<date type="published" when="2015">2015</date>
		</imprint>
	</monogr>
	<note>in Ukrainian</note>
</biblStruct>

<biblStruct xml:id="b11">
	<analytic>
		<title level="a" type="main">Design of Grid Structures on the Basis of Transition Systems with the Substantiation of the Correctness of Their Operation</title>
		<author>
			<persName><forename type="first">S</forename><surname>Kryvyi</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Cybernetics and Systems Analysis</title>
		<imprint>
			<biblScope unit="volume">53</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="105" to="114" />
			<date type="published" when="2017-01">2017. January 2017</date>
			<publisher>Springer Science+Business Media</publisher>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
