Object Detection for Understanding Assembly Instruction Using Context-aware Data Augmentation and Cascade Mask R-CNN

Joosoon Lee, Seongju Lee, Seunghyeok Back, Sungho Shin, Kyoobin LeearXiv 2021

Abstract

Robotic furniture assembly requires the ability to interpret complex, visual-only instruction manuals. This paper presents a deep learning framework utilizing Cascade Mask R-CNN combined with a novel Context-aware Data Augmentation (CADA) strategy. By mimicking the structural logic of manual layouts, CADA generates realistic synthetic training data, significantly improving the detection and segmentation of critical elements like speech bubbles, tools, and parts. Our approach achieves a Mean Intersection over Union (mIoU) of 0.836 for speech bubble segmentation and high average precision across various component categories.

Introduction

For robots to autonomously assemble furniture, they must bridge the gap between abstract visual instructions and physical actions. IKEA manuals represent a significant challenge due to their high-dimensional, unstructured nature and reliance on visual symbols rather than text. Training robust AI models for this task is hindered by the "data bottleneck"—the high cost of manually annotating thousands of technical diagrams. Standard data augmentation techniques often fail because they ignore the spatial "grammar" of these documents.

Examples of the diverse and unstructured visual layouts found in IKEA assembly manuals.

Methodology

The proposed framework addresses these challenges through two primary components:

Cascade Mask R-CNN

We employ a Cascade Mask R-CNN architecture for multi-stage object detection and segmentation. Unlike standard Mask R-CNN, the "Cascade" variant uses a sequence of detectors trained with progressively higher Intersection over Union (IoU) thresholds. This makes the model significantly more robust at precisely localizing objects of varying sizes and shapes, which is crucial for identifying small components like screws and dowels.

Context-aware Data Augmentation (CADA)

CADA is the core innovation of this work. Instead of randomly pasting objects onto a background, the authors analyzed the "grammar" of IKEA instructions. CADA follows a rule-based system to synthesize training images that respect the logical structure of manuals. It distinguishes between "edge components" (e.g., step numbers) and "center components" (e.g., furniture parts) and defines "effective areas" for assembly stages. This ensures that synthesized objects appear in contextually appropriate locations, preventing the model from learning unrealistic spatial relationships.

Experimental Results

The model was evaluated on a custom dataset derived from 193 types of IKEA furniture, totaling 2,673 images. The researchers annotated five key elements: Speech bubbles (polygons), Parts (bounding boxes), Tools (BBox), Symbols (BBox), and Text (BBox).

Quantitative Performance

The CADA method significantly outperformed baseline augmentation techniques. It achieved a Mean Intersection over Union (mIoU) of 0.836 for speech bubbles, compared to 0.712 for the original dataset. Detection precision (AP) was high across all categories:

  • Symbols: 0.853 AP
  • Text/Numbers: 0.789 AP
  • Tools: 0.733 AP
  • Parts: 0.681 AP

Qualitative Analysis

The model successfully handled complex scenarios, including overlapping parts and speech bubbles with intricate "tails." Interestingly, the study found that "Instance Switching"—a popular augmentation technique in general computer vision—actually performed worse than the original data (mIoU dropped to 0.380). This suggests that in structured technical documents, the relationship between an object and its surroundings is so specific that random swapping confuses the model.

Detection and segmentation results using Cascade Mask R-CNN.

Conclusion and Future Work

This research demonstrates that context-aware synthesis is vital for training models to understand structured visual instructions. While the current system excels at object detection and segmentation, the authors note that the next step is to move toward descriptive representation. Future work will focus on relationship mapping—understanding how a detected tool relates to a specific part—to generate executable robotic task plans and integrate 2D instruction detections with 3D CAD models.

Summary updated

BibTeX
@misc{lee2021object,
  author = {Joosoon Lee and Seongju Lee and Seunghyeok Back and Sungho Shin and Kyoobin Lee},
  title = {{Object Detection for Understanding Assembly Instruction Using Context-aware Data Augmentation and Cascade Mask R-CNN}},
  year = {2021},
  eprint = {2101.02509},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.02509},
}
Figure