This model is a fine-tuned version of LineFormer specialized for detecting and segmenting line charts in battery charge/discharge curve figures from scientific papers.
Model Description
LineFormer is an instance segmentation model designed to detect individual lines in scientific plots. This fine-tuned version has been optimized for battery electrochemistry figures, particularly charge/discharge curves with multiple C-rates.
Base Model: LineFormer (pre-trained on scientific figure datasets)
Fine-tuning Dataset: 62 battery charge/discharge curve images from scientific papers
Validation Dataset: 19 battery curve images
Framework: MMDetection (Mask R-CNN based)
Performance
Evaluated using the original LineFormer evaluation methodology (ICDAR 2023 Task 6a/6b), which matches predicted lines to ground truth lines using linear interpolation and the Hungarian algorithm.
Task 6a / 6b Scores (Original Paper Metrics)
Model
Task 6a
Task 6b
GT Lines
Detected
Over-detection
Pre-trained
0.9471
0.6835
146
237
+62.3%
Fine-tuned Best (iter_1300)
0.9180
0.7394
146
179
+22.6%
Fine-tuned Final (iter_5000)
0.9097
0.7836
146
160
+9.6%
Task 6a: Measures how well each GT line is matched (no penalty for extra detections)
Task 6b: Penalizes over-detection — the more practical metric
GT definition mismatch: Some images count charge/discharge pairs as single lines vs. separate lines
Intended Use
This model is designed for:
Automated extraction of battery performance data from scientific literature
Digitization of charge/discharge curves for meta-analysis
Pre-processing battery electrochemistry figures for data mining
Not recommended for:
General line chart detection (use original LineFormer)
Real-time applications requiring <100ms inference
Figures with extreme aspect ratios or unconventional layouts
Citation
If you use this model, please cite the original LineFormer paper:
bibtex
1@inproceedings{Xia_2022_WACV,
2 title={LineFormer: Rethinking Line Chart Data Extraction as Instance Segmentation},
3 author={Xia, Weixin and Lo, Kelvin and Chao, Qing and Li, Tong and Zhao, Jian},
4 booktitle={Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
5 year={2022}
6}
License
Apache 2.0 (same as base LineFormer model)
Model Card Authors
Fine-tuning and evaluation by t29mato
Model Card Contact
For questions about this fine-tuned model, please open an issue in the repository.