[Paper Review] Data Extraction from Charts via Single Deep Neural Network
The paper presents a single deep neural network framework that performs chart type identification, object detection, text recognition, and object matching to extract data from bar and pie charts, outperforming baselines on simulated data and showing varied performance on public datasets.
Automatic data extraction from charts is challenging for two reasons: there exist many relations among objects in a chart, which is not a common consideration in general computer vision problems; and different types of charts may not be processed by the same model. To address these problems, we propose a framework of a single deep neural network, which consists of object detection, text recognition and object matching modules. The framework handles both bar and pie charts, and it may also be extended to other types of charts by slight revisions and by augmenting the training data. Our model performs successfully on 79.4% of test simulated bar charts and 88.0% of test simulated pie charts, while for charts outside of the training domain it degrades for 57.5% and 62.3%, respectively.
Motivation & Objective
- Motivate automatic data extraction from charts for knowledge management and downstream analytics.
- Develop a unified deep learning framework capable of handling both bar and pie charts.
- Reduce brittleness by avoiding hand-crafted rules and relying on end-to-end learning for chart components and their relations.
Proposed method
- A single model cascades chart-type classification, then uses Faster-RCNN as the backbone for detecting chart elements.
- Augment Faster-RCNN with a text recognition branch (CRNN) and an object-matching branch inspired by Relation Networks to pair chart components (e.g., bar with legend, bar with y-axis value).
- For pie charts, add an angle/pie-boundary prediction with an RNN to infer slice angles and rotate feature maps to match slices with legends.
- Introduce orientation-aware text recognition by predicting text angle and applying a rotated feature map before CRNN processing.
- Train on simulated bar/pie charts plus public datasets; use a multi-task loss with components for detection, text, object matching, and (for pie) angle prediction.
Experimental results
Research questions
- RQ1Can a single neural model jointly detect chart components, recognize associated text, and reason about cross-component relationships to reconstruct chart data?
- RQ2How well does the unified model generalize from simulated training data to public chart datasets and manually annotated images?
- RQ3What adaptations are needed to handle non-rectangular pie slices and orientation of axis text within a unified framework?
- RQ4What is the impact of including an angle/pie boundary prediction and RN-style matching on data extraction accuracy?
- RQ5How does chart-type identification influence end-to-end extraction performance?
Key findings
- The framework achieves 79.4% accuracy on simulated bar charts and 88.0% on simulated pie charts.
- On FigureQA data and Google Images, performance drops to 57.5% for bars and 62.3% for pies, respectively.
- Bar chart mean average precision for simulated data is 92.6% across 10 object categories, higher than FigureQA (84.5%) and Annotated (59.7%).
- Pie chart average precision is 98.6% for simulated data and 80.4% on Annotated data for object-level metrics; overall ALL accuracy is 88.0% on Simul and 68.6% on Excel sets.
- The pie model benefits from a boundary angle prediction branch and an orientation-aware, rotated feature-map matching strategy for slices.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.