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 papersAutomated data extraction from line charts remains fundamentally bottlenecked by extreme stylistic diversity and a severe scarcity of comprehensively annotated, real-world datasets. Current end-to-end pipelines depend heavily on costly manual annotations, crippling their ability to generalize across arbitrary aesthetics and grid layouts. Furthermore, existing models suffer from two critical failure modes during reconstruction. First, extracting thin, intersecting curves frequently causes structural fragmentation and the erasure of fine visual details, as standard architectures struggle against complex backgrounds. Second, semantic association is notoriously error-prone; current pipelines rely on rigid spatial heuristics that easily break down against the unpredictable legend placements of in-the-wild charts. Finally, measuring true progress is hindered by evaluation protocols that assess isolated sub-tasks rather than holistic, end-to-end data reconstruction. To address these foundational issues, we introduce ChartZero, a parsing framework that leverages synthetic priors to enable robust zero-shot chart data extraction. By training exclusively on a purely synthetic dataset of simple mathematical functions, our model completely bypasses the real-world annotation bottleneck. We overcome curve fragmentation via a novel Global Orthogonal Instance (GOI) loss, and replace brittle spatial rules with an open-vocabulary, Vision-Language Model (VLM)-guided legend matching strategy. Accompanied by a new metric and benchmark specifically designed for full end-to-end reconstruction, our evaluations demonstrate that ChartZero significantly advances generalized plot digitization without requiring real-world supervision. Code and dataset will be released upon acceptance.
PlotPick: AI-powered batch extraction of numerical data from scientific figures
Systematic reviews and meta-analyses often need numerical data reported only in figures, and extracting them with interactive digitisers usually requires a person to select and calibrate each figure. We present PlotPick, an open-source tool that uses vision-language models (VLMs) to extract tabular data from batches of scientific figures, and we benchmark the kind of model it calls: nine VLMs from four providers on ChartX and six of them on PlotQA, against DePlot, a dedicated chart-to-table model, with every system scored on the same items by numeric F1 (F1 over unlabelled numbers at 5% relative tolerance). On six ChartX chart types (n=300) all nine VLMs outperform DePlot in aggregate, at 79.1-96.0% against 74.3%. The lead comes mainly from box plots, where DePlot scores 24.8% against 64.2-97.3%; pooled over the other five types, seven VLMs keep a lead of 4.7 to 11.6 points and the two weakest do not. On a subset of the PlotQA test split (n=529; 427 horizontal bar charts), scored by a lenient best-series variant of the metric, DePlot reaches 87.0%; the two strongest VLMs are level with it or slightly above it, and four fall 3.8 to 30.3 points below. DePlot was trained on PlotQA's training split. Both benchmarks use synthetic charts, and the metric ignores which series a value belongs to. The application itself was not evaluated: its figure detection, structured output, prompt and default model were not tested, and the one benchmarked model it offers, Claude Haiku 4.5, is one of the four below DePlot on PlotQA. Accuracy on biomedical figures has not been established, and every extracted value must be checked against its source figure. This version corrects version 1, which scored most PlotQA replies against category labels instead of plotted values; its claim that every VLM outperformed DePlot on both benchmarks is withdrawn. PlotPick is available at https://plotpick.streamlit.app/.
Self-Ensembling Vision-Language Models for Chart Data Extraction
Charts effectively convey quantitative information, but the underlying data are often locked in image form, hindering reuse and analysis. Manually digitizing charts is time-consuming and error-prone, motivating automatic chart-to-table extraction. Recent approaches use specialized vision-language models (VLMs), yet performance still lags on charts with many datapoints or substantial stylistic variation. We propose a VLM self-ensembling method that repeatedly samples multiple tabular outputs from the same VLM for a fixed chart image and aggregates them at the level of individual table cells. We align candidate tables and take per-cell medians over numerical values to produce a more accurate consensus table. Our method also includes convergence detection to stop sampling once the aggregated table stabilizes, and uncertainty estimation based on dispersion across samples to help users assess extraction reliability. Because existing chart extraction benchmarks contain relatively simple plots with limited room for improvement, we introduce WB-ChartExtract, a new benchmark built from World Bank data with more complex and stylistically diverse charts; on average, its charts contain 7 times more datapoints than those in the ChartQA benchmark. Across both ChartQA and WB-ChartExtract, our approach improves extraction accuracy over single-pass VLM outputs, yielding up to 23% relative improvement on WB-ChartExtract after ensembling. More broadly, our method helps unlock tabular data previously siloed in chart images, enabling downstream analysis and reuse.