scienceverse/bibr-front-role-v1
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.
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:
10 titles fixed and 0 broken; 84 bylines fixed and 0 broken.
License
Apache-2.0.
