CoolFace
Modelpublic

scienceverse/bibr-front-role-v1

sourceHugging Faceapache-2.0updated 20d agoView on Hugging Face
0likes
Model Card

bibr-front-role-v1

A small gradient-boosted classifier that assigns a role to every text region of a scientific paper's page: title, byline, affiliation, abstract, keywords, doi_line, masthead, heading, ref_header, body, other.

Used by bibr as evidence alongside its lexical front-matter heuristics — never as a decision on its own. It reads page-relative geometry, relative font size and script-independent text shape, so it recognises a byline the English name-shape test cannot read.

Trust boundary

front_role.joblib is a pickle. bibr loads it through a gadget-restricted loader, but you should still only point ML_FRONT_ROLE_MODEL_ID at a checkpoint you trust.

Training data

Publisher JATS projected onto cached OCR regions, so the labels are verbatim ground truth rather than an LLM's opinion. 328,781 training rows.

Metrics

Held-out test split, 19,252 regions: accuracy 0.955, macro F1 0.893.

roleprecisionrecallF1support
title1.0000.9640.981110
doi_line0.9940.9810.987876
byline0.9220.8010.858267
affiliation0.8910.9460.918241
abstract0.9630.7060.815296
keywords0.9340.4860.640146
ref_header0.8330.7980.81594
heading0.9820.9890.9852121
masthead0.9270.8710.8981285
body0.9550.9730.9645321
other0.9510.9690.9608495

Per paper (106 test papers): the top-scoring title region is a true title region on 100%, and predicted byline regions cover the true byline on 96%.

Effect in bibr

Replayed over 192 gold-annotated papers, comparing front-matter resolution with and without the model on identical page contents:

titlebylineabstained
heuristics alone0.8490.2600.104
+ this model0.9010.6980.047

10 titles fixed and 0 broken; 84 bylines fixed and 0 broken.

License

Apache-2.0.