indolem-eval
IndoLEM and IndoBERT: A Benchmark Dataset and Pre-trained Language Model for Indonesian NLP — Koto et al. (2020) (arXiv:2011.00677, 2020)
What this evaluates
Evaluates Indonesian NLP capabilities across morpho-syntax, semantics, and discourse. It probes token-level labeling (POS, NER), syntactic structure (dependency parsing), text classification (sentiment), generation (summarization), and discourse coherence (next tweet prediction, tweet ordering).
Datasets
- INDOLEM — total ?; splits: train (-1), test (-1)
Metrics
Accuracy (primary) — range: [0, 1]
- Proportion of correctly predicted labels or classes out of the total number of instances.
F1 — range: [0, 1]
- Harmonic mean of precision and recall. For NER, computed at the entity level; for classification tasks, typically macro or micro averaged.
UAS/LAS — range: [0, 1]
- Unlabeled/Labelled Attachment Score: percentage of words whose head word and dependency label are predicted correctly.
ROUGE-1/2/L — range: [0, 1]
- Recall-oriented overlap metrics measuring the similarity between reference and generated summaries using unigrams, bigrams, and longest common subsequence.
Spearman's ρ — range: [-1, 1]
- Rank correlation coefficient measuring the monotonic relationship between predicted and true tweet orderings.
Input / output format
Input: Indonesian text inputs including sentences for POS/NER/parsing, tweets for discourse tasks, and source documents for summarization.
Output: Task-specific outputs: token-level labels, entity spans, dependency head/label pairs, sentiment class labels, generated summary text, or ranked/predicted next tweet indices.
Scoring recipe
def compute_metrics(predictions, gold):
# Accuracy
acc = sum(p == g for p, g in zip(predictions, gold)) / len(gold)
# F1 (entity-level for NER)
tp = sum(1 for p, g in zip(predictions, gold) if p == g and g != 'O')
prec = tp / max(1, sum(1 for p in predictions if p != 'O'))
rec = tp / max(1, sum(1 for g in gold if g != 'O'))
f1 = 2 * prec * rec / max(1e-9, prec + rec)
return {'accuracy': acc, 'f1': f1}
Common pitfalls
- Comparing results across studies without verifying test partition consistency (e.g., UD-Indo-PUD versions differ between papers, making direct comparison invalid).
- Human baseline performance was only evaluated on a random 100-instance subset, not the full test set, which may not represent overall human capability on the benchmark.
- POS tagging evaluation uses 5-fold cross-validation, while NER and other tasks report single test-set scores, requiring careful aggregation when comparing model performance.
Evidence (verbatim from paper)
Table 3: Results on POS and NER tasks using accuracy averaged over five folds for POS tagging task, and entity-level F1 over the test set for the NER tasks.
Citation
@misc{koto2020indolem,
title={IndoLEM and IndoBERT: A Benchmark Dataset and Pre-trained Language Model for Indonesian NLP},
author={Koto et al. (2020)},
year={2020},
note={arXiv:2011.00677}
}
1---2name: indolem-eval3description: Evaluates Indonesian NLP capabilities across morpho-syntax, semantics, and discourse. It probes token-level labeling (POS, NER), syntactic structure (dependency parsing), text classification (sentiment), generation (summarization), and discourse coherence (next tweet prediction, tweet ordering). Use when the user wants to benchmark on INDOLEM, or asks about evaluating this task. Reports Accuracy.4---56# indolem-eval78> IndoLEM and IndoBERT: A Benchmark Dataset and Pre-trained Language Model for Indonesian NLP — Koto et al. (2020) (arXiv:2011.00677, 2020)910## What this evaluates1112Evaluates Indonesian NLP capabilities across morpho-syntax, semantics, and discourse. It probes token-level labeling (POS, NER), syntactic structure (dependency parsing), text classification (sentiment), generation (summarization), and discourse coherence (next tweet prediction, tweet ordering).1314## Datasets1516- **INDOLEM** — total ?; splits: train (-1), test (-1)1718## Metrics1920- `Accuracy` **(primary)** — range: [0, 1]21 - Proportion of correctly predicted labels or classes out of the total number of instances.22- `F1` — range: [0, 1]23 - Harmonic mean of precision and recall. For NER, computed at the entity level; for classification tasks, typically macro or micro averaged.24- `UAS/LAS` — range: [0, 1]25 - Unlabeled/Labelled Attachment Score: percentage of words whose head word and dependency label are predicted correctly.26- `ROUGE-1/2/L` — range: [0, 1]27 - Recall-oriented overlap metrics measuring the similarity between reference and generated summaries using unigrams, bigrams, and longest common subsequence.28- `Spearman's ρ` — range: [-1, 1]29 - Rank correlation coefficient measuring the monotonic relationship between predicted and true tweet orderings.3031## Input / output format3233**Input**: Indonesian text inputs including sentences for POS/NER/parsing, tweets for discourse tasks, and source documents for summarization.3435**Output**: Task-specific outputs: token-level labels, entity spans, dependency head/label pairs, sentiment class labels, generated summary text, or ranked/predicted next tweet indices.3637## Scoring recipe3839```python40def compute_metrics(predictions, gold):41 # Accuracy42 acc = sum(p == g for p, g in zip(predictions, gold)) / len(gold)43 # F1 (entity-level for NER)44 tp = sum(1 for p, g in zip(predictions, gold) if p == g and g != 'O')45 prec = tp / max(1, sum(1 for p in predictions if p != 'O'))46 rec = tp / max(1, sum(1 for g in gold if g != 'O'))47 f1 = 2 * prec * rec / max(1e-9, prec + rec)48 return {'accuracy': acc, 'f1': f1}49```5051## Common pitfalls5253- Comparing results across studies without verifying test partition consistency (e.g., UD-Indo-PUD versions differ between papers, making direct comparison invalid).54- Human baseline performance was only evaluated on a random 100-instance subset, not the full test set, which may not represent overall human capability on the benchmark.55- POS tagging evaluation uses 5-fold cross-validation, while NER and other tasks report single test-set scores, requiring careful aggregation when comparing model performance.5657## Evidence (verbatim from paper)5859> Table 3: Results on POS and NER tasks using accuracy averaged over five folds for POS tagging task, and entity-level F1 over the test set for the NER tasks.6061## Citation6263```bibtex64@misc{koto2020indolem,65 title={IndoLEM and IndoBERT: A Benchmark Dataset and Pre-trained Language Model for Indonesian NLP},66 author={Koto et al. (2020)},67 year={2020},68 note={arXiv:2011.00677}69}70```7172- arXiv: 2011.00677