Detecting figures and part labels in patents: competition-based development of graphics recognition algorithms

‪Siyu Zhu, Christoph Riedl, Richard Zanibbi, Marti A. Hearst, Siyu Zhu, Michael Menietti, Jason Crusan, Ivan Metelsky, Karim R. LakhaniInt. J. Document Anal. Recognit 2016 · DOI

Introduction

The U.S. Patent and Trademark Office (USPTO) maintains an archive of over eight million patents. While the textual components of these documents are largely digitized and searchable, the accompanying drawings remain "flat" images. These diagrams are critical for understanding inventions, as they use numbered labels (e.g., "10", "14b") to identify specific components described in the text. Currently, human readers must manually cross-reference diagrams and descriptions, a tedious process that limits the potential for interactive documentation or automated analysis.

The Challenge of Patent Graphics Recognition

Patent drawings present a uniquely difficult domain for computer vision and standard Optical Recognition (OCR) engines. The visual complexity arises from several factors: varied fonts, handwritten or cursive labels, rotated text, and backgrounds filled with dense line art or cross-hatching that confuse traditional algorithms.

Examples of patent label challenges, including typeset, cursive, cross-hatched, and slanted text.

Competition Methodology

To address these issues, the USPTO sponsored a month-long TopCoder competition, attracting 232 teams to develop algorithms for document digitization. Participants were tasked with creating two primary functions: getFigures() to identify drawing regions and getPartLabels() to locate and recognize the alphanumeric strings within those regions.

The top-performing systems utilized a multi-step pipeline:

  1. Text/Graphics Separation: Identifying "connected components" and filtering them by size and aspect ratio to distinguish text from drawing lines.
  2. Clustering: Grouping individual characters into "words" based on proximity and alignment.
  3. OCR: Using template matching or Multi-Layer Perceptrons (MLPs).
  4. Language Model Validation: This was the "secret sauce" for the winners. Since every part label in a drawing must appear in the patent's text description, the winning system used the provided HTML text to validate and correct OCR guesses. If a detected label like "14b" appeared in the text, its confidence score was significantly boosted.
  5. Orientation Detection: Automatically determining page orientation by "voting" based on the detected text's alignment.

Dataset and Evaluation

The competition utilized a curated dataset of 306 manually labeled patent drawing pages, now available via the UCI Machine Learning Repository. This included 178 patents for training and 93 for final evaluation. Each image was accompanied by its associated HTML patent text (Claims and Description sections).

A complex patent drawing showing the density of part labels that algorithms must detect and recognize.

Key Results

The winning algorithms demonstrated that high-throughput processing is achievable even under strict time (1 minute per image) and memory constraints. The first-place system achieved:

  • Figure Region Detection: 88.57% F-measure.
  • Figure Titles: 78.81% accuracy in correctly identifying titles (e.g., "FIG. 3").
  • Part Label Detection & OCR: 70.98% F-measure.
  • Processing Speed: Most top systems processed pages in roughly 1–2 seconds, meeting the USPTO's need for high-throughput processing.

Conclusion and Future Directions

While the competition proved that crowdsourcing can yield state-of-the-art results quickly, several "hard" problems persist. Handwritten labels and those overlapping complex hatching remain difficult to resolve. Future research will likely focus on higher-resolution scans (beyond the 72 dpi used here) and the identification of "lead lines"—the arrows connecting labels to their respective parts—to fully automate the link between text and graphics.

Summary updated

BibTeX
@article{zhu2016detecting,
  author = {‪Siyu Zhu and Christoph Riedl and Richard Zanibbi and Marti A. Hearst and Siyu Zhu and Michael Menietti and Jason Crusan and Ivan Metelsky and Karim R. Lakhani},
  title = {{Detecting figures and part labels in patents: competition-based development of graphics recognition algorithms}},
  journal = {Int. J. Document Anal. Recognit},
  year = {2016},
  doi = {10.1007/s10032-016-0260-8},
}

Loading related content...

Figure