Pubblicazioni

Continuous Reasons for Random Forests via Budgeted Ordered Binary Decision Diagrams Compilation

Pubblicato in 17th International Conference on Scalable Uncertainty Management (SUM 2026), Athens, Greece, LNAI vol. 17188, pp. 346-360, 2026

Abstract

Random forests are accurate but opaque, and explaining their decisions with formal guarantees is computationally demanding. We study continuous reasons for random-forest classifiers, that is, robust boxes of input imprecision within which every point receives the same hard-majority label, and we compute coordinate-wise maximal such boxes that certify how far the inputs may jointly vary before the verdict changes. The central idea is to amortize the cost of formal reasoning across an entire dataset: we compile the classification relation of a trained forest into Ordered Binary Decision Diagrams (OBDDs) once, encoding each feature axis into cells cut by the forest thresholds and tallying hard-majority votes through a symbolic accumulator, then read a per-sample reason off the shared diagram by a counterexample-driven squeeze and a coordinate-wise maximize. To keep compilation within memory, a node budget triggers a tableau-style case split on a single cell bit, so the monolithic diagram is replaced by a tree of disjoint cubes, each carrying a small final OBDD. We compare this compile-once, read-many approach with existing sample-wise optimization methods in a preliminary experimental study.

Compiling the Plurality Winner of a Random Forest into OBDDs via Margin Absorption

Pubblicato in Italian Conference on Theoretical Computer Science (ICTCS 2026), Udine, Italy, CEUR-WS.org vol. 4269, pp. 288-300, 2026

Abstract

A random forest classifies a tabular input by aggregating the votes of its decision trees, and a natural prerequisite for formal, region-based explanations is a compact symbolic representation of the regions of input space on which each label is the prediction of the forest. We present a relational encoding that compiles, one tree at a time, the regions on which a label is the plurality (argmax) winner of the forest into Ordered Binary Decision Diagrams (OBDDs). The encoding keeps, for a fixed pivot label, one signed margin counter per rival, and folds the trees through a transition relation over two copies of the counter state. Its distinguishing device is margin absorption: two latch flags, certain-win and certain-lose, fire the moment the contest against the relevant rivals is decided regardless of the trees still to be folded, after which the decided states collapse to a single absorbing state, reducing the intermediate diagram; a complementary drop discipline frees a counter that can no longer be the binding one. A prioritized one-vs-rest peeling then assembles the per-label win and tie regions and yields a sound and complete test for verifying a box-shaped reason. We prove the two latches fire at exactly the right moment, as soon as no outcome of the trees still to be folded can change the contest and not a step before, since a lead equal to the number of remaining trees can still be driven to a tie; we establish a collapse invariant, showing that once a state is decided it no longer depends on its counters; and we show the assembled win regions coincide with the prediction the forest itself makes. On tuned forests we confirm the construction (the regions are bit-identical with the collapse on and off) and find the reduction grows with the diagram, to several-fold on the densest forests. The encoding is purely relational, in the symbolic model-checking style, and keeps no auxiliary state beyond the counters and flags, the lone auxiliary of the drop phase being projected away within each tree step, and is the compilation core of a compile-once, read-many explainer.

PACO: A Petri Net-Based Tool for Designing, Simulating, and Analyzing Multi-Objective Stochastic Processes

Pubblicato in Application and Theory of Petri Nets and Concurrency (PETRI NETS 2026), Hamburg, Germany, LNCS vol. 16567, pp. 335-346, 2026

Abstract

We present PACO, a tool for strategy synthesis and explanation for stochastic processes based on the BPMN 2.0 standard, extended with probabilistic splits and positive impact vectors associated with tasks. The formal semantics is provided by Synchronous Probabilistic Impactful Networks (SPIN), an enriched Petri Net model. At its core, PACO implements an on-the-fly strategy synthesis algorithm for the input SPIN. To improve transparency, PACO includes an explainer module that decomposes synthesized strategies into minimal decision trees attached to individual process choices. PACO is provided as a web-based app that supports design, synthesis, explanation, and interactive simulation of stochastic processes. To further enhance usability at design time, PACO integrates an LLM-assisted design component that helps users create and interpret processes from natural-language descriptions. Finally, tested over a synthetic dataset of processes of increasing complexity, PACO demonstrates that explainable, automated strategy synthesis is practical for realistic BPMN process models despite the inherent computational complexity of the problem.

DRIFTS: Distributed Robustness for Time Series is Feasible, Distributed, and Fun

Pubblicato in IEEE Conference on Artificial Intelligence (IEEE CAI 2026), Granada, Spain, pp. 114-121, 2026

Abstract

As complex machine learning models are increasingly integrated into critical systems, ensuring their robustness, transparency, and trustworthiness becomes essential. Explainability methods that offer formal and verifiable guarantees about model behavior are crucial not only for interpretability but also for robust decision assurance. In this work, we address the problem of generating formally grounded and robustness-aware explanations for classifiers operating in the time series domain. Our main objective is to introduce the concept of a continuous anti reason. We formalize this concept as an Interval Constraint Function (ICF) which, given a classifier and a sample, assigns an interval for each feature value of the sample. An ICF that constitutes a continuous anti reason for a given sample ensures that all data points whose feature values lie within the corresponding intervals are classified differently from the sample class. Each continuous anti reason is associated with a cost, quantifying the extent of perturbation required to induce a class change. The higher the cost of a continuous anti reason, less robust the classifier is on that sample. Therefore such a property is paramount for precisely characterizing the robustness boundaries of the classifier on a sample-wise basis. Given that computing a continuous anti reason is coNP-complete, we develop the framework called Distributed Robustness Interval for Time Series (DRIFTS), a distributed algorithm that leverages an in-memory key-value store to coordinate multiple workers. The effectiveness and scalability of our approach are validated empirically on Random Forest models using univariate time series datasets from the UCR Archive.

Time Series Step Tree: A Novel Interpretable Method for Prompt Classification of Time Series

Pubblicato in 8th International Conference on the Dynamics of Information Systems (DIS 2025), London, United Kingdom, LNCS vol. 15940, pp. 201-216, 2026

Abstract

The growing volume of time series (TS) data across diverse fields presents both opportunities and challenges for efficient and practical classification that can give us interpretable and in-time insight into the data. This paper introduces Time Series Step Tree (TSST), a novel and inherently interpretable method for prompt TS classification. Addressing the growing need for both timeliness and transparency in time-sensitive applications, TSST employs a progressive, step-wise evaluation of TS data with dynamically adjusted observation windows. At the core of TSST is a decision tree constructed using a novel “witness time series” (WITESS-TS) selection process at each node to maximize information gain, ensuring both classification efficacy and interpretability. Experimental results on univariate TS datasets demonstrate TSST’s ability to achieve high accuracy while enabling prompt classification decisions. The inherent interpretability of the method is further highlighted through decision tree visualization and analysis. Future work will focus on extending TSST to multivariate TS and further empirical validation across diverse datasets.