bib-ref-parser-eval
Machine Learning vs. Rules and Out-of-the-Box vs. Retrained: An Evaluation of Open-Source Bibliographic Reference and Citation Parsers — Tkaczyk et al. (2018) (arXiv:1802.01168, 2018)
What this evaluates
Evaluates open-source bibliographic reference and citation parsers on their ability to extract structured metadata fields (author, source, year, volume, issue, page, organization) from raw citation text. Compares machine learning-based versus rule-based approaches, and assesses the impact of domain-specific retraining.
Datasets
- Unspecified bibliographic dataset — total ?; splits: test (-1)
Metrics
F1 (primary) — range: [0, 1]
- Harmonic mean of precision and recall: F1 = 2 * (precision * recall) / (precision + recall). Calculated per metadata field (author, source, year, volume, issue, page, organization) and averaged for overall scores.
Input / output format
Input: Raw bibliographic reference or citation text strings.
Output: Structured metadata fields: author, source, year, volume, issue, page, and organization.
Scoring recipe
def compute_f1(preds, golds):
tp = sum(1 for p, g in zip(preds, golds) if p == g)
fp = sum(1 for p, g in zip(preds, golds) if p != g and p is not None)
fn = sum(1 for p, g in zip(preds, golds) if p is None and g is not None)
prec = tp / (tp + fp) if (tp + fp) > 0 else 0
rec = tp / (tp + fn) if (tp + fn) > 0 else 0
return 2 * prec * rec / (prec + rec) if (prec + rec) > 0 else 0
Common pitfalls
- Organization field is consistently unextracted by all evaluated systems, so it is often excluded from overall scoring.
- Rule-based parsers show high precision but extremely low recall, skewing average performance if only precision is considered.
- F1 is computed per metadata field type before averaging, not just on the entire citation string.
Evidence (verbatim from paper)
Each cell in the table gives precision, recall and F1 values, respectively. For each combination (metadata type, metric) the best result is bolded. We do not give the results for organization, as none of the systems is able to extract this field. Measured with F1, the best performing out-of-the-box tools are: GROBID (F1 0.89), followed by CERMINE (F1 0.83) and ParsCit (F1 0.75).
Citation
@misc{tkaczyk2018machine,
title={Machine Learning vs. Rules and Out-of-the-Box vs. Retrained: An Evaluation of Open-Source Bibliographic Reference and Citation Parsers},
author={Tkaczyk et al. (2018)},
year={2018},
note={arXiv:1802.01168}
}
1---2name: bib-ref-parser-eval3description: Evaluates open-source bibliographic reference and citation parsers on their ability to extract structured metadata fields (author, source, year, volume, issue, page, organization) from raw citation text. Compares machine learning-based versus rule-based approaches, and assesses the impact of domain-specific retraining. Use when the user wants to benchmark on Unspecified bibliographic dataset, or asks about evaluating this task. Reports F1.4---56# bib-ref-parser-eval78> Machine Learning vs. Rules and Out-of-the-Box vs. Retrained: An Evaluation of Open-Source Bibliographic Reference and Citation Parsers — Tkaczyk et al. (2018) (arXiv:1802.01168, 2018)910## What this evaluates1112Evaluates open-source bibliographic reference and citation parsers on their ability to extract structured metadata fields (author, source, year, volume, issue, page, organization) from raw citation text. Compares machine learning-based versus rule-based approaches, and assesses the impact of domain-specific retraining.1314## Datasets1516- **Unspecified bibliographic dataset** — total ?; splits: test (-1)1718## Metrics1920- `F1` **(primary)** — range: [0, 1]21 - Harmonic mean of precision and recall: F1 = 2 * (precision * recall) / (precision + recall). Calculated per metadata field (author, source, year, volume, issue, page, organization) and averaged for overall scores.2223## Input / output format2425**Input**: Raw bibliographic reference or citation text strings.2627**Output**: Structured metadata fields: author, source, year, volume, issue, page, and organization.2829## Scoring recipe3031```python32def compute_f1(preds, golds):33 tp = sum(1 for p, g in zip(preds, golds) if p == g)34 fp = sum(1 for p, g in zip(preds, golds) if p != g and p is not None)35 fn = sum(1 for p, g in zip(preds, golds) if p is None and g is not None)36 prec = tp / (tp + fp) if (tp + fp) > 0 else 037 rec = tp / (tp + fn) if (tp + fn) > 0 else 038 return 2 * prec * rec / (prec + rec) if (prec + rec) > 0 else 039```4041## Common pitfalls4243- Organization field is consistently unextracted by all evaluated systems, so it is often excluded from overall scoring.44- Rule-based parsers show high precision but extremely low recall, skewing average performance if only precision is considered.45- F1 is computed per metadata field type before averaging, not just on the entire citation string.4647## Evidence (verbatim from paper)4849> Each cell in the table gives precision, recall and F1 values, respectively. For each combination (metadata type, metric) the best result is bolded. We do not give the results for organization, as none of the systems is able to extract this field. Measured with F1, the best performing out-of-the-box tools are: GROBID (F1 0.89), followed by CERMINE (F1 0.83) and ParsCit (F1 0.75).5051## Citation5253```bibtex54@misc{tkaczyk2018machine,55 title={Machine Learning vs. Rules and Out-of-the-Box vs. Retrained: An Evaluation of Open-Source Bibliographic Reference and Citation Parsers},56 author={Tkaczyk et al. (2018)},57 year={2018},58 note={arXiv:1802.01168}59}60```6162- arXiv: 1802.01168