Activity Recognition in Assembly Tasks by Bayesian Filtering in Multi-Hypergraphs

Timon Felske, Stefan Lüdtke, Sebastian Bader, Thomas KirstearXiv 2022

Abstract

We study sensor-based human activity recognition in manual work processes like assembly tasks. In such processes, the system states often have a rich structure, involving object properties and relations. Thus, estimating the hidden system state from sensor observations by recursive Bayesian filtering can be very challenging, due to the combinatorial explosion in the number of system states. To alleviate this problem, we propose an efficient Bayesian filtering model for such processes. In our approach, system states are represented by multi-hypergraphs, and the system dynamics is modeled by graph rewriting rules. We show a preliminary concept that allows to represent distributions over multi-hypergraphs more compactly than by full enumeration, and present an inference algorithm that works directly on this compact representation. We demonstrate the applicability of the algorithm on a real dataset.

Introduction

Tracking progress in manual assembly tasks, such as IKEA furniture construction, presents a significant challenge for activity recognition systems. The state of the system is defined not just by human movement, but by the evolving relationships between numerous, often identical, parts. Traditional Bayesian filtering approaches suffer from a combinatorial explosion; for instance, tracking 40 identical screws across 10 potential holes leads to thousands of possible partially completed states. This paper introduces a method to represent these complex states and their transitions efficiently using multi-hypergraphs and "lifted" representations that exploit inherent symmetries to maintain tractability under uncertainty.

Methodology: Multi-Hypergraphs and Lifting

The proposed framework relies on three innovative concepts to manage state complexity:

  1. Multi-Hypergraphs (MHG): Assembly states are represented as graphs where nodes are objects or locations, and hyperedges represent relations (e.g., "Screw A connects Board B to Board C"). To handle indistinguishable parts, the system uses multi-graphs where nodes and edges have multiplicities (counts) rather than unique IDs.
  2. Graph Rewriting Rules: System dynamics are modeled via a "grammar" for assembly. Rules define preconditions (e.g., holding a tool and a part) and effects (e.g., the part moves to a board, creating a "connected" edge).
  3. Lifted Multi-Hypergraphs (LMHG): This is the core innovation. Instead of enumerating every specific graph configuration, an LMHG represents a probability distribution over graphs by grouping symmetrical states. If the specific identity of a screw does not affect the assembly progress, the system treats all such possibilities as a single "lifted" state.
Visualizing the transition from a grounded distribution of specific states (left) to a compact Multi-Hypergraph (middle) and finally a Lifted Multi-Hypergraph (right).

Experimental Evaluation

The researchers evaluated the approach using a custom Bookshelf Assembly Dataset. The setup involved 56 total entities, including 7 boards, 40 screws, and 9 tools.

A participant wearing a 17-IMU motion capture suit while performing the bookshelf assembly task.

Data was collected from 23 experiments (11 successful assemblies and 12 with deliberate errors), totaling 241 minutes. Participants wore a suit with 17 Inertial Measurement Units (IMUs), and objects were similarly instrumented. Ground truth was established through video-based offline annotations of actions and object states.

Key Results and Insights

The preliminary results demonstrate a massive gain in computational efficiency without sacrificing tracking accuracy:

  • State Compression: In a standard "grounded" model, the system would need to track approximately 5,000 discrete states to represent the distribution. Using the LMHG approach, the same distribution was represented by at most 2 lifted states.
  • Accuracy: The filtering model successfully explained all 11 correct annotation sequences in the dataset, proving that the compact representation accurately tracks the assembly process.
  • Knowledge-Driven Dynamics: Unlike deep learning models that require vast labeled datasets, this system uses graph rewriting rules derived from assembly manuals, making it highly data-efficient for industrial applications.

Future Work

While the state representation is highly efficient, several challenges remain. Future work will focus on bridging the "Sensor Gap" by building robust observation models to map raw, noisy IMU data directly to graph states. Additionally, the authors plan to incorporate action durations using hidden semi-Markov models and explore "graph canonization" to further optimize the computational cost of graph comparisons as task complexity increases.

Summary updated

BibTeX
@misc{felske2022activity,
  author = {Timon Felske and Stefan Lüdtke and Sebastian Bader and Thomas Kirste},
  title = {{Activity Recognition in Assembly Tasks by Bayesian Filtering in Multi-Hypergraphs}},
  year = {2022},
  eprint = {2202.00332},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.00332},
}
Figure