Trace Repair for Temporal Behavior Trees

📅 2025-09-10
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Repairing execution traces of robots and cyber-physical systems under Temporal Behavior Tree (TBT) specifications remains challenging due to the prohibitive computational cost and poor scalability of existing Mixed-Integer Linear Programming (MILP)-based approaches. Method: This paper proposes two efficient trace repair strategies—incremental repair and landmark-guided repair—leveraging the robust semantics of TBTs. Both methods approximate MILP-based repair using linear programming and piecewise iterative optimization, thereby avoiding combinatorial explosion. Contribution/Results: The proposed methods significantly improve scalability and efficiency: on trace instances with over 100,000 time steps, repair completes within ≤10 minutes, whereas MILP fails due to memory overflow. Furthermore, the framework enables fault attribution analysis and high-quality training sample generation, establishing a novel paradigm for trustworthy operation and maintenance of TBT-driven systems.

Technology Category

Application Category

📝 Abstract
We present methods for repairing traces against specifications given as temporal behavior trees (TBT). TBT are a specification formalism for action sequences in robotics and cyber-physical systems, where specifications of sub-behaviors, given in signal temporal logic, are composed using operators for sequential and parallel composition, fallbacks, and repetition. Trace repairs are useful to explain failures and as training examples that avoid the observed problems. In principle, repairs can be obtained via mixed-integer linear programming (MILP), but this is far too expensive for practical applications. We present two practical repair strategies: (1) incremental repair, which reduces the MILP by splitting the trace into segments, and (2) landmark-based repair, which solves the repair problem iteratively using TBT's robust semantics as a heuristic that approximates MILP with more efficient linear programming. In our experiments, we were able to repair traces with more than 25,000 entries in under ten minutes, while MILP runs out of memory.
Problem

Research questions and friction points this paper is trying to address.

Repairing traces against temporal behavior tree specifications
Reducing computational cost of mixed-integer linear programming
Providing practical repair strategies for large-scale systems
Innovation

Methods, ideas, or system contributions that make the work stand out.

Incremental repair splits trace segments
Landmark-based repair uses TBT robust semantics
Efficient linear programming replaces MILP
🔎 Similar Papers
No similar papers found.