cs.CVNov 23, 2026
SaveLineEX: Data Extraction from Scientific Line Charts
Organizations: IIT Gandhinagar, Gujarat, India
Abstract
In this paper, we introduce LINEEX that extracts data from scientific line charts. We adapt existing vision transformers and pose detection methods and showcase significant performance gains over existing SOTA baselines. We also propose a new loss function and present its effectiveness against existing loss functions. In addition, we synthetically created the largest line chart dataset comprising 430K images. The code is available at https://github.com/Shiva-sankaran/LineEX.
Figures & tables
| System Name | Axes | Lines | Legends | Chart Title | Data Scaling | Legend-line Mapping | Code-base Availability | ||||
| Title | Ticks | Keypoints | Thickness | Dashing | Marker | Text | |||||
| FigureSeer [ 19 ] | ✓ | ✗ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ | ✓ | ✓ |
| ChartOCR [ 14 ] | ✓ | ✗ | ✓ | ✓ | ✓ | ✗ | ✗ | ✓ | ✓ | ✗ | ✓ |
| Linear Programming [ 13 ] | ✓ | ✓ | ✓ | ✗ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ |
| LineEX (ours) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Table 1: Comparison of existing chart data extraction methodologies for different line chart components.
Figure 1: The different components of a line chart.
| Name | Type | Instances | Systems | Public | |
| Full | Line | ||||
| FigureSeer [ 19 ] | Real | 60k | 60k | [ 19 ] [ 14 ] [ 13 ] | only 1k |
| Adobe Synthetic [ 5 ] | Synthetic | 198k | 4.2k | - | ✓ |
| ICPR-2020 [ 6 ] | Real | 23k | 10k | - | ✓ |
| ExcelChart400k [ 14 ] | Real | 400k | 122k | [ 14 ] [ 13 ] | ✓ |
| SYN [ 13 ] | Synthetic | 64k | 64k | [ 13 ] | ✗ |
Table 2: Comparison of different chart data extraction datasets.
Figure 2: Representative line charts from our dataset with different plotting styles. The two charts have different legend placement coordinates.
Figure 3: Keypoint detection architecture.
Figure 4: Comparison between predicted keypoints. Ground truth keypoint is denoted by Green color. Predicted keypoints are denoted by Red and Blue colors.
Figure 5: Computing angular similarity error: Anchor point, ground truth keypoint and predicted keypoint are denoted by Yellow, Green and Red color, respectively. Green arrow is a vector that joins the anchor point and the ground truth keypoint. The Blue arrow is a vector joining the ground truth keypoint and the predicted keypoint. The angle between these vectors is denoted by .
Figure 6: Keypoint grouping and legend mapping module.
| ExcelChart400K | Adobe Synthetic | Ours | Smooth | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Recall | Prec | F1 | Recall | Prec | F1 | Recall | Prec | F1 | Recall | Prec | F1 | ||
| ChartOCR | 0.85 | 0.98 | 0.90 | 0.76 | 0.72 | 0.71 | 0.71 | 0.90 | 0.78 | 0.36 | 0.74 | 0.46 | |
| 0.82 | 0.69 | 0.70 | 0.91 | 0.54 | 0.64 | 0.83 | 0.75 | 0.76 | 0.70 | 0.49 | 0.56 | ||
| 0.84 | 0.80 | 0.78 | 0.94 | 0.67 | 0.74 | 0.86 | 0.84 | 0.83 | 0.72 | 0.52 | 0.59 | ||
| ChartOCR | 0.85 | 0.98 | 0.90 | 0.78 | 0.80 | 0.76 | 0.74 | 0.97 | 0.83 | 0.38 | 0.78 | 0.49 | |
| 0.83 | 0.87 | 0.83 | 0.93 | 0.76 | 0.81 | 0.85 | 0.92 | 0.87 | 0.75 | 0.58 | 0.64 | ||
Table 3: Keypoint extraction performance comparison between our proposed method and ChartOCR.
| Dataset | Model | Legend Box | Y-axis Title | Chart Title | X-axis Title | Plot Area | Inner Plot Area | Ticks | Legend Marker | Legend Label | Legend Element |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Our dataset | ChartOCR | 89.07 | 99.52 | 96.03 | 85.81 | 99.69 | 97.85 | - | - | - | - |
| LineEX | 99.97 | 83.84 | 100.0 | 100.0 | 100.0 | 99.97 | 85.55 | 82.39 | 82.71 | 83.74 | |
| Adobe Synthetic | ChartOCR | - | 100.0 | 81.00 | 59.50 | - | 100.0 | - | - | - | - |
| LineEX | - | 100.0 | 99.6 | 100.0 | - | 100.0 | 57.52 | 74.04 | 88.94 | - | |
| FigureSeer | ChartOCR | - | 97.66 | - | 80.96 | - | 99.13 | - | - | - | - |
| LineEX | - | 70.79 | - | 96.28 | - | 96.38 | - | 54.26 | 63.96 | - |
Table 4: Comparison of mAP scores between our proposed model and ChartOCR. As not all models detect all chart components and not each dataset contain all of these chart components, we denote those cells by ‘-’.
Figure 7: Column 1: LineEX output, Column 2: ChartOCR output.
| Adobe Synthetic | Our Dataset | |
|---|---|---|
| ChartOCR | 0.54 | 0.93 |
| 0.54 | 0.93 |
Table 5: F1 scores for keypoint grouping task.
More in this topic
Chart Data Extraction
Chart data extraction converts plotted visual information into structured numerical tables or time series for reuse and analysis.
See all 17 papers