Search Results

Documents authored by Lamperti, Gianfranco


Document
Minimalist Diagnosis of Discrete-Event Systems

Authors: Gianfranco Lamperti and Marina Zanella

Published in: OASIcs, Volume 125, 35th International Conference on Principles of Diagnosis and Resilient Systems (DX 2024)


Abstract
Model-based diagnosis of discrete-event systems (DESs) is afflicted by two major difficulties, the former being the huge size of the search space, which has a heavy impact on the processing time, the latter being a possibly large number of diagnoses explaining the perceived sequence of observations, which may cause a cognitive overload in human diagnosticians or even delays in post-processing. These difficulties add up and they are exacerbated in critical scenarios where an action must be taken in real-time. To make DES diagnosis viable in these contexts, a Minimalist Diagnosis Engine is presented, which is based on a parsimony principle: instead of computing the set of all diagnoses inherent to the given sequence of observations, only minimal diagnoses are elicited as candidates. Since in this paper, as in most contributions on model-based diagnosis of DESs in the literature, a diagnosis is defined as a set of faults, minimal diagnoses are subset minimal. The proposal is justified since minimal diagnoses are suitable for DESs, and since the new diagnosis engine is able to prune the search space, thus reducing the computation effort with respect to a sound and complete method. Moreover, in order to further decrease the execution time, whenever the method is dealing with a new observation, it performs online a (partial) knowledge-compilation so as the portions of the DES space that have already been processed and transformed into chunks of compiled knowledge can speed up the next abductive reasoning steps, relevant to the upcoming observations.

Cite as

Gianfranco Lamperti and Marina Zanella. Minimalist Diagnosis of Discrete-Event Systems. In 35th International Conference on Principles of Diagnosis and Resilient Systems (DX 2024). Open Access Series in Informatics (OASIcs), Volume 125, pp. 12:1-12:20, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2024)


Copy BibTex To Clipboard

@InProceedings{lamperti_et_al:OASIcs.DX.2024.12,
  author =	{Lamperti, Gianfranco and Zanella, Marina},
  title =	{{Minimalist Diagnosis of Discrete-Event Systems}},
  booktitle =	{35th International Conference on Principles of Diagnosis and Resilient Systems (DX 2024)},
  pages =	{12:1--12:20},
  series =	{Open Access Series in Informatics (OASIcs)},
  ISBN =	{978-3-95977-356-0},
  ISSN =	{2190-6807},
  year =	{2024},
  volume =	{125},
  editor =	{Pill, Ingo and Natan, Avraham and Wotawa, Franz},
  publisher =	{Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{https://drops.dagstuhl.de/entities/document/10.4230/OASIcs.DX.2024.12},
  URN =		{urn:nbn:de:0030-drops-221046},
  doi =		{10.4230/OASIcs.DX.2024.12},
  annote =	{Keywords: model-based reasoning, diagnosis during monitoring, discrete-event systems, active systems, subset-minimal diagnosis, dynamical knowledge-compilation, minimalism, laziness}
}
Document
Extended Abstract
Summary of "Sequence-Oriented Diagnosis of Discrete-Event Systems" (Extended Abstract)

Authors: Gianfranco Lamperti, Stefano Trerotola, Marina Zanella, and Xiangfu Zhao

Published in: OASIcs, Volume 125, 35th International Conference on Principles of Diagnosis and Resilient Systems (DX 2024)


Abstract
What follows is an extended abstract of a paper recently published in the Journal of Artificial Intelligence Research [G. Lamperti et al., 2023]. Broadly speaking, the approaches to model-based diagnosis of discrete-event systems (DESs) can be accommodated within a spectrum ranging from no to total knowledge-compilation. That paper presents three approaches, one for either end of the spectrum, and one falling in between, in order to compute diagnoses that are sequences of faults. In the literature, model-based diagnosis has always been conceived as set-oriented, meaning that a candidate is a set of faults, or faulty components, that explains a collection of observations. This perspective applies to both static and dynamical systems. Diagnosis of DESs is no exception: a candidate is traditionally a set of faults occurring in a trajectory of the DES that conforms with a given sequence of observations, namely a temporal observation. To improve diagnostic explanation and support decision making, a sequence-oriented perspective to diagnosis of DESs is presented, where a candidate is a sequence of faults occurring in a trajectory of the DES that produces the temporal observation. That candidate, called a fault sequence, differs from a classical candidate mainly in three ways: (i) it includes the multiset of faults occurred in the trajectory, where all the occurrences of the same fault are encompassed, (ii) it provides a total temporal order of faults, and (iii) its length may be unbounded, as the same fault may occur an unlimited number of times in the trajectory. Therefore, in a sequence-oriented perspective, the diagnosis output is the (possibly infinite) set of all distinct fault sequences, each relevant to a (possibly infinite) set of trajectories of the DES that produce a given temporal observation. Having a possibly unbounded set of candidates contrasts with set-oriented diagnosis, where the set of candidates is bounded by the powerset of the domain of faults. Still, a possibly unbounded set of fault sequences is shown to be a regular language, which can be defined as a regular expression over the domain of faults: this regular expression represents the output of sequence-oriented diagnosis. The additional information on the chronological order of faults and their multiple occurrences embedded in a fault sequence may be important for ranking purposes, as well as for supporting diagnosticians and/or troubleshooting algorithms to make decisions in critical scenarios and, possibly, to take some sequential diagnosis steps. Since the output of sequence-oriented diagnosis includes additional pieces of information with respect to the output of set-oriented diagnosis, two questions raise quite naturally: how can the sequence-oriented task be performed, and which is its performance? The paper addresses the former question for a class of DESs usually considered by the authors (active systems) in three ways, and shows some experimental evidence to answer the latter. Specifically, three sound and complete techniques to perform the task of monitoring-based diagnosis are described and compared, where a new candidate set is generated at the occurrence of each observation, namely: (1) blind diagnosis, with no compiled knowledge, (2) greedy diagnosis, with total knowledge compilation, and (3) lazy diagnosis, with partial knowledge compilation. By knowledge we mean a data structure, slightly similar to a classical DES diagnoser, which is called an explainer, that can be generated (compiled) either entirely offline (greedy diagnosis) or incrementally online (lazy diagnosis). Among them, only the blind diagnosis engine relies solely on the model of the DES, without producing any data structure offline nor performing any offline processing. It constructs and iteratively updates the portion of a DES behavioral space that conforms with the temporal observation perceived so far. To compute the resulting regular expression, a state-elimination algorithm has been exploited from the literature, which takes as input a non-deterministic automaton and generates the regular expression of the accepted language. In greedy diagnosis, the explainer generated offline has a size that is smaller than the size of the classical diagnoser that enables the online computation of set-oriented candidates. However, its smaller size comes with a disadvantage: the explainer is a non-deterministic finite automaton, whereas the diagnoser is deterministic. Hence, in greedy diagnosis, whenever a new observable event is perceived, the time required by the online search within the explainer may be longer than the search time in the diagnoser. Moreover, building a complete explainer is out of the question for real size DESs, owing to the exponential explosion of the states involved. The building blocks of the explainer are called fault spaces. Each fault space is generated by a variant of the state-elimination algorithm in the literature, whose pseudocode is specified in the paper. In the construction of a complete explainer, the generation of the regular expressions is very expensive since there is a trade-off between the richness of the information embedded in the diagnosis output and the time required for its computation. The paper includes some hints about the asymptotic time complexity of the algorithms. A possible mitigation of the complexity comes from lazy diagnosis, which performs only partial knowledge compilation, thus obtaining a partial explainer. The three diagnosis engines have been implemented, with the software code being open source (see [G. Lamperti et al., 2023] for the link). The experimental activity recorded in the paper indicates that only lazy diagnosis may be viable in non-trivial application domains, both for the construction of the partial explainer and for the online computation of the candidates. A partial explainer can be progressively extended, the upgrade being relevant either just to a single observable event (the latest one perceived during monitoring, in case it is not encompassed yet by the current partial explainer) or to the observation pattern corresponding to a behavioral scenario. Typically, behavioral scenarios can be defined to represent frequent and/or critical evolutions of the DES that we want to detect quickly during monitoring via compiled knowledge. A sample application inspired by a small real-world example in the literature is described in the paper. The aim is to show that in the considered domain of Labour Market, as well as in other similar domains, sequence-oriented diagnosis is actually more convenient than set-oriented diagnosis.

Cite as

Gianfranco Lamperti, Stefano Trerotola, Marina Zanella, and Xiangfu Zhao. Summary of "Sequence-Oriented Diagnosis of Discrete-Event Systems" (Extended Abstract). In 35th International Conference on Principles of Diagnosis and Resilient Systems (DX 2024). Open Access Series in Informatics (OASIcs), Volume 125, pp. 34:1-34:2, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2024)


Copy BibTex To Clipboard

@InProceedings{lamperti_et_al:OASIcs.DX.2024.34,
  author =	{Lamperti, Gianfranco and Trerotola, Stefano and Zanella, Marina and Zhao, Xiangfu},
  title =	{{Summary of "Sequence-Oriented Diagnosis of Discrete-Event Systems"}},
  booktitle =	{35th International Conference on Principles of Diagnosis and Resilient Systems (DX 2024)},
  pages =	{34:1--34:2},
  series =	{Open Access Series in Informatics (OASIcs)},
  ISBN =	{978-3-95977-356-0},
  ISSN =	{2190-6807},
  year =	{2024},
  volume =	{125},
  editor =	{Pill, Ingo and Natan, Avraham and Wotawa, Franz},
  publisher =	{Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{https://drops.dagstuhl.de/entities/document/10.4230/OASIcs.DX.2024.34},
  URN =		{urn:nbn:de:0030-drops-221267},
  doi =		{10.4230/OASIcs.DX.2024.34},
  annote =	{Keywords: model-based reasoning, monitoring-based diagnosis, discrete-event systems, sequence-oriented diagnosis, active systems, knowledge-compilation, laziness}
}
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail