MexPub: Deep Transfer Learning for Metadata Extraction from German Publications
Paper · 2021 · Zeyd Boukhers, Nada Beili, Timo Hartmann et al.
Summary
A scientific paper can be available as a PDF and still be hard to find by title or author. Search and cataloguing services need those details as separate fields, and older collections do not always have complete records. Recovering the information means working out which parts of the page contain it. MexPub addresses this problem for German scientific publications, whose front pages can differ widely in where they place a date, how they display a title, and whether they include an abstract. It treats this form of information extraction as a problem of finding and labelling regions in an image.
The authors adapt Mask R-CNN, a system that locates objects and predicts which pixels belong to each one. The detector first learns from COCO images and then adapts to scientific page layouts through PubLayNet. The authors use a final round of fine-tuning to distinguish bibliographic fields such as authors, affiliations and email addresses. To obtain enough examples with pixel-level labels, they draw on layouts found in German papers from SSOAR and fill those layouts with sampled metadata. Changes in the inserted content can also change the page geometry. A long title may wrap, for example, and a missing date leaves its part of the layout empty.
MexPub reaches an average precision of approximately 90.363 on the validation split and 90.581 on the test split of the dataset developed in the study. Abstracts, DOIs and titles are among the strongest categories in this region-detection evaluation. Dates are the hardest. The authors also find a substantial difference between the results for large and small regions. Their examples show why some errors are easy to make from appearance alone. A first paragraph can look like an abstract, and prominent bold text can look like a second title.
A separate comparison with GROBID checks the text recovered from first pages with layouts MexPub had never seen during training. Here, MexPub achieves title and author F1 scores of 0.940 and 0.750, respectively. It also produces false positives, especially when it treats passages from the body of a paper as abstracts, and it misses all the affiliations present in that comparison. GROBID returns fewer false positives but misses many valid fields. The two evaluations establish how well MexPub locates regions within the layout distribution used to develop it and how unevenly that ability carries over to the extraction of bibliographic values from unfamiliar pages.
Deep dive: MexPub: Deep Transfer Learning for Metadata Extraction from German Publications
MexPub detects metadata regions on German research PDFs using page images and tests how well it extracts fields from unfamiliar layouts. · about 31 minutes to read
The problem and its context
Getting a usable record from a readable paper
A PDF preserves the appearance of an article. A bibliographic record gives search and other services separate values they can act on. Someone reading a front page can normally tell a title from an affiliated institution by looking at the words, their position and their relationship to nearby material. A service that receives a PDF with an incomplete catalogue record has to recover those distinctions before it can reliably index a field or use it to connect related documents. The paper treats metadata extraction as a way to do that work after publication.
The authors situate the problem in the growth of scientific collections. As of August 2020, the Web of Science count they cite was 171 million records of scientific publications. This is a measure of the scale of a bibliographic service, separate from the collections used to develop and evaluate MexPub. The examples of downstream use range from finding articles to recommending related documents and studying authorship or scientific networks. In all of them, the usefulness of the record depends on how accurately the fields were assigned in the first place.
Collecting the information at submission is the straightforward case. The author can supply a name, affiliation and title when the article enters the publishing system. The practical difficulty is the material for which those details are incomplete, missing or unavailable through a bibliographic database. The paper singles out gaps in disciplines such as the social sciences. For a repository with such material already in hand, the document itself becomes an important source. The extraction task is to recover information that the published page may display clearly to a reader.
Layout is central to the authors’ account of why that task can be difficult. They describe the conventions in much of the English scientific literature as comparatively regular and the German publications they target as more varied. A field can appear earlier or later in the reading sequence, move to a different part of the page, or occupy more space from one publication to the next. Some pages omit a field entirely. These differences affect both approaches that depend heavily on the order of lines and approaches that use page position as a shortcut.
The relevant unit of variation is frequently a field rather than the whole page. A title can be recognizable because it is visually prominent across several designs, while a date can move around within the same set of designs. An address or affiliation can take many forms in the space available to it. The features that make one category easy to pick out therefore give little assurance about another category. This is why the paper evaluates individual types of metadata as well as overall performance.
What earlier extraction systems did
The paper describes a common text-oriented workflow through the work of Tkaczyk. A system first prepares the document for analysis, then breaks its content into units such as lines or blocks and assigns them a reading order. Next it labels those units by role. A final stage can analyse a string more closely to pick out attributes such as a full name. The distinction between locating a block and interpreting what it contains already matters in this workflow. A metadata block can be identified as such while still requiring further analysis to produce the desired value.
An early mistake in that sequence can change what every following stage sees. If lines belonging together are separated, a later classifier has to make decisions about incomplete information. If different blocks are grouped together, fine-grained extraction starts from a mixed string. The paper discusses work by Boukhers and colleagues on references as one response to this problem. Their probabilistic approach finds reference strings directly in raw text, combining stages that might otherwise pass their errors downstream. This example concerns references, an adjacent task that illustrates the broader challenge of deciding where meaningful units begin and end.
Handwritten text and layout rules offer a different way to make those decisions. Rules can be precise when the publisher’s conventions are known and stable. A rule built around a particular header arrangement, however, depends on that arrangement recurring. The more journals and document styles a collection contains, the more a rule writer has to anticipate how the same field can appear. The paper presents learned classifiers as a common way of handling variation while retaining information about the context of each segment.
Hidden Markov models, in the account given by the authors, learn to associate a sequence of observations with a sequence of hidden states. Each state depends on the state immediately before it. This gives a way to use document order when assigning labels, but the paper notes the difficulty of handling features that are dependent on one another in the standard formulation. Support vector machines can use a broad set of features for classification. Their basic use on individual instances leaves the joint assignment of labels to a sequence to another part of the procedure.
The approach by Han and colleagues illustrates how an extraction system can add some of that context back. A support vector machine first labels lines in a paper’s header. The procedure then revisits the line labels using predictions for neighbouring lines. An earlier guess about the kind of material beside a line can help refine the classification of that line. This arrangement also shows why the boundaries created during preparation matter. The neighbourhood available for reconsideration depends on the lines and ordering the system was given.
Conditional random fields give a way to learn dependent labels jointly across a sequence. The paper describes them as undirected graphical models that can combine dependent features and make predictions over the sequence as a whole. GROBID, the system chosen for the later direct comparison, uses this approach. In the account of earlier evaluations, its performance helped establish conditional random fields as a strong option. The authors also note that figures for metadata extraction can vary widely by field, even when title extraction appears mature. Good performance on titles leaves the problem of reliable date or abstract extraction open.
Moving from lines of text to regions of a page
MexPub also draws on earlier uses of vision in document analysis. The paper mentions work by Siegel and colleagues on recovering figures using distant supervision. In that setting, a detector has to identify a visible page element and determine its extent. Stahl and colleagues use a modified U-Net to assign page pixels to paragraph or non-paragraph categories. Their work is an example of semantic segmentation, where the system labels each pixel by the kind of content it belongs to. Both cases provide precedents for viewing scientific PDFs as images on which a learning system can make spatial decisions.
Liu and colleagues provide a closer precedent for the metadata task. Their approach uses both the visual information in a scientific paper’s header and its text to classify header components into eight types. MexPub inherits part of its field inventory from this work. It also makes a distinct choice about when to use the words themselves. A page image is enough to make its initial predictions about location and field type. In the comparison with GROBID, text is then taken from the predicted areas to determine which bibliographic strings the visual predictions recover.
The premise is that a page’s design carries evidence about the roles of the things on it. Relative size, visual grouping and position are all available to a system that works from the page image. The premise leaves room for variation. Two titles can have different placements while sharing other visual properties, and a change in the length of an abstract can alter its shape without changing its role. The authors’ task is to teach a detector to make use of those recurring properties across the kinds of layouts represented in their data.
The method, step by step
What goes into the detector and what comes out
MexPub starts with the first page of a scientific PDF rendered as an image. The detector’s job is to find distinct regions and name the field each region represents. A prediction can specify that an area is a title, for example, and give both a rectangle enclosing it and a mask describing the pixels associated with it. The rectangle supplies a convenient way to locate the region. The mask gives the detector a more detailed spatial target during training.
This is instance segmentation. A category such as author or title supplies the label, and each separately predicted region is an instance. A detector can therefore propose multiple regions with the same label. That capacity is useful when the page presents several separate areas of the same kind. It also makes errors possible when unrelated areas look like a field, or when several areas receive a label that should apply to a single value on that page. The paper’s duplicate title example arises from this distinction between a field category and its predicted instances.
The target inventory includes bibliographic fields that describe the article, fields that identify people and organizations, and fields that give contact or reference information. The article fields are title, journal name, abstract and date. The remaining categories cover authors, affiliation, address, email and DOI, the latter being an identifier shown on some pages. Keeping address and affiliation as separate categories requires the prediction to distinguish where the institution is named from where address details are displayed. Assigning a label to a region also allows the extraction procedure to handle cases in which the metadata is spread over several lines.
From a PDF first page to labelled metadata regions
The steps in order.
From page pixels to candidate regions
The implementation uses Mask R-CNN from Detectron2, an object-detection library built on PyTorch. The method extends Faster R-CNN. The earlier architecture predicts a class and an adjustment to the coordinates of a proposed box. Mask R-CNN adds an output for the mask and uses RoI Align to obtain aligned features for a region of interest. A region of interest is an area being considered as a possible object, in this case a possible item of metadata.
The backbone, the part that converts the image into features for later processing, is a ResNeXt-101 32x8d architecture. A feature map keeps a spatial arrangement while representing the image through learned responses. Where the input image stores pixel values, a map can carry evidence of shapes or arrangements at the corresponding positions. MexPub uses maps at different scales so that the later parts of the detector can examine regions that occupy very different proportions of the page. The architecture follows Feature Pyramid Networks for Object Detection.
The paper describes an initial stem that reduces the spatial dimensions of the input. It applies a 7x7 convolution with stride 2, followed by max-pooling with stride 2. The kernel size specifies the spatial extent of the operation, and the stride specifies how far it advances between positions. Max-pooling retains the strongest response within each pooling neighbourhood. The stem produces a feature map at scale 1/4, meaning that its spatial dimensions are expressed relative to those of the input page image.
The subsequent stages use groups of bottleneck blocks. In every block, the convolutional layers use a 1x1 kernel first, a 3x3 kernel second, and a 1x1 kernel last. The paper reports 3, 4, 23 and 3 blocks in the successive stages. Those stages produce maps at scales 1/4, 1/8, 1/16 and 1/32, respectively. A further max-pooling operation with kernel size 1 and stride 2 yields a map at scale 1/64. These scales describe the network’s internal spatial representations and are distinct from the sizes at which the input pages are rendered.
The point of supplying several maps becomes clearer when considering an abstract and a date. An abstract can take up a substantial portion of the page, so evidence about an area’s overall shape and position can be valuable. A date might occupy a short line or part of one. Its distinguishing visual evidence takes up much less space. The feature pyramid makes a range of spatial resolutions available to the proposal stage. How reliably that stage and the later heads use the available evidence is an empirical question.
The region proposal network takes the maps at the different pyramid levels and suggests bounding boxes. These are candidates for the later stages to examine. A proposal at this stage is a location and extent worth considering, with the final metadata type determined downstream. It can cover an entire field, only part of one, or an area that ultimately should be treated as background. This separation lets the detector ask which areas are promising before making its more specific decisions about their roles.
How a candidate becomes a labelled prediction
The region heads operate on features associated with the proposed boxes. Boxes on a page can have very different sizes. A short email region and a large abstract region still have to be passed through a common prediction procedure, so the regions are represented by fixed-size features cropped and mapped from the page’s feature maps. RoI Align is the operation used in Mask R-CNN to keep the extracted features spatially aligned with the candidate region. That alignment matters particularly for predicting a mask, where the locations inside a box are part of the answer.
Fully connected layers in the region heads then give classification results and refine the box locations. The class prediction supplies the field type. The box adjustment can move or resize a proposal to fit the detected area more closely. In parallel, a fully convolutional branch produces the mask, a binary indication of which positions inside the box belong to the instance. The visual output can thus carry both an enclosing rectangle and a more detailed description of the region it encloses.
The box head also uses non-maximum suppression. This procedure reduces repeated detections by suppressing overlapping candidate boxes when they compete with a stronger prediction. The paper specifies a maximum of 100 boxes at this stage. Suppression addresses the situation where multiple proposals correspond to much the same location. Two bold headings in different places can both survive, even when only one is the article title. The architecture leaves that distinction to the evidence used for classifying the regions.
For the comparison that evaluates actual field values, the authors use the detected bounding-box coordinates to retrieve text from the PDF within the corresponding areas. A mask that indicates the visual extent of a region and a string recovered through its enclosing box are different outputs. Text recovery depends on where the box falls and which text lies inside it. A correct category is therefore only part of the path to a correct extracted value. The comparison with GROBID evaluates the result of that whole path.
Building pages with known metadata regions
The authors start with 100 German scientific papers randomly selected from the SSOAR repository. Most of the metadata in the selected documents appears on the first page. They convert those first pages to JPEG and resize the images to 596x794 pixels to make training faster. Resizing gives the detector a common input size in this procedure, and it defines the image space in which the manual boundaries are drawn.
The researchers use Labelme to draw polygons around regions corresponding to the target metadata. A polygon traces the boundary of an area and can be represented as a set of labelled pixels. The annotations are saved in COCO format. This establishes what the field types look like on the observed pages and gives the authors material from which to identify recurring layouts. The work requires more detail than recording the text values alone, since each field has to be associated with an area on the resized page.
The cost of making those annotations is what makes the synthetic pages important. The authors identify the 28 most common layouts during manual annotation and use them as the basis for generation. They sample bibliographic records from SSOAR and DBLP and use a list of scientific affiliations from Wikipedia. For each chosen layout they insert fields into the places assigned to them, creating an average of 1600 synthetic papers per layout. Because the generator controls where each field is placed, it can also produce the corresponding labels and boundaries.
A template defines an arrangement without fixing the precise shape of every resulting region. A longer title can wrap and increase the space occupied by the title. Several authors can take more room than a single author. A different address format can change the size or shape of the contact block, while omitting a date can remove an instance entirely. Those changes generate spatial as well as textual variation. The underlying layout still constrains how far the resulting pages depart from the arrangements identified in the manual work.
The authors convert the generated first pages to JPEG as well and automatically produce pixel-level annotations for the metadata regions. They describe the resulting collection as around 44K synthetic papers with German and English content. That mix concerns the text inserted into the pages. The starting layouts were chosen from German publications. The distinction matters because a change in the language of a string and a change in the way the page organizes its fields are separate aspects of the data.
Transferring from general object detection to bibliography
The detector starts with weights learned on COCO. Transfer learning uses the result of an earlier training task as the starting point for a related task. In this case the earlier system already knows how to propose, classify and outline regions in images. The authors take an intermediate step through scientific document layout analysis, so the final adaptation begins with a detector that has already encountered images of research papers.
The intermediate detector had been fine-tuned on 191,832 images from PubLayNet. These are article images from the PubMed Central Open Access collection. The annotations distinguish title and text regions, as well as lists, tables and figures. This task supplies examples of document objects, including one category that MexPub also needs. The other categories are useful for understanding what changes in the final adaptation. Recognizing a text block is a coarser task than distinguishing an affiliation, abstract or author block among the text on the page.
The authors adopt the training configuration of the PubLayNet detector and replace its final layer to produce the nine metadata classes. The reused parameters provide a starting point for processing scientific pages. Training on the new annotations supplies examples of the distinctions the earlier label inventory did not require. For title, some of the previous task is directly relevant. For the other text fields, the new supervision has to teach the detector what separates areas that could previously have shared a broad text label.
To choose a training configuration, the authors run empirical trials on a random subset of 10³ samples from their training data. The best setting they report freezes 2 layers and trains for 15k iterations. Freezing a layer holds its parameters fixed while parameters elsewhere can change. Iterations count the update steps described for training. The authors then use the selected setting to fine-tune on the full training split. They report the learning rate as follows.
η = 2.5 × 10⁻³
Here η is the learning rate, the setting that scales parameter updates. The equals sign gives its selected value, and × denotes multiplication by the power of ten written to its right. The authors ran the experiments on a Tesla P100 through Google Colaboratory Pro. The configuration search and full training are separate steps. The small random subset is used to choose how to adapt the detector, while the larger training split supplies the examples for the reported evaluation runs.
Experiments and results
Region detection on the development dataset
The authors ask two different questions in their experiments. The first is whether MexPub can locate and classify metadata regions on held-out images from the dataset developed for the study. The second is whether the detector can recover bibliographic values from real first pages with layouts outside its training set and how those results compare with GROBID. The unit of success changes between the experiments. One concerns regions on images, and the other concerns text values accepted as matches.
For the region evaluation, the authors randomly divide their data into 70% training, 15% validation and 15% test data. The training portion supplies labelled examples for updating the detector. The validation and test portions provide separate sets of images on which to assess predictions. The split is described at the level of data samples. The separate comparison on real SSOAR pages is where the authors explicitly require unfamiliar layouts.
The metric reported for the held-out images is average precision, abbreviated AP. Precision describes how frequently a detection is correct among the detections made. Recall describes how much of the reference material is retrieved. Detection scores allow predictions to be considered at different confidence levels, and AP gives a summary of precision across the resulting recall range. This is different from the fraction of pages on which every field is recovered. A page can contribute several correct detections and a false positive, and the metric can reflect all of them.
After 15,000 training iterations, MexPub has roughly 90.363 AP on the validation split and 90.581 AP on the test split. Their closeness shows that the aggregate result recurs across the two held-out portions of this dataset. The scores describe performance under that random split, where the examples come from a collection built around the same generation procedure. They do not measure text agreement with a manually transcribed bibliographic record.
MexPub average precision on the development dataset by split
MexPub achieves similar region-detection scores on the held-out splits.
The numbers
| System or setting | AP |
|---|---|
| MexPub validation split | 90.363 |
| MexPub test split (this paper) | 90.581 |
The example output provides a concrete view of what the aggregate number can hide. On one test image, the detector finds the regions for the fields present. It also marks an additional area as a title. The extra prediction has lower confidence than the correct ones shown on that page. A confidence threshold might remove the false detection in that particular example. The example alone cannot establish how many correct detections would also be lost if the same threshold were applied across pages.
The authors report especially strong region detection for abstracts, DOIs and titles. Dates are the most difficult category. Their analysis identifies a general contrast between large and small regions. On the validation split, MexPub has approximately 95.273 AP for large regions and 74.173 AP for small ones. The paper also reports weaker performance for regions below the square of 32 pixels on both held-out splits. These are comparisons of groups of objects in the evaluation, distinct from a test of what happens when the same object is resized.
MexPub average precision for small and large regions on the validation split
Larger regions receive higher average precision than smaller regions.
The numbers
| System or setting | AP |
|---|---|
| Small regions | 74.173 |
| Large regions (this paper) | 95.273 |
Comparing with GROBID on unfamiliar layouts
For the second experiment, the authors select 100 scientific documents from SSOAR and give the same documents to MexPub and GROBID. The layouts differ from those used to train MexPub, and the authors say the samples and their layouts were unseen during its training. They restrict the comparison to first pages, which matches the scope of MexPub’s training. The reference values come from manual parsing of the metadata present on those pages.
MexPub predicts boxes and labels, then collects the PDF text in those boxes. GROBID supplies extracted values through its own pipeline. The comparison treats both sets of outputs as candidates for agreement with the manually parsed fields. A box can be visually plausible and still retrieve incomplete text or include adjacent material. The end-to-end comparison takes such effects into account through the strings that are actually extracted.
The authors compare an extracted value with the reference using cosine similarity, a measure of how closely the representations of the two values point in the same direction. They count a value as a match using the following rule.
s ≥ 0.85
Here s is the cosine similarity for the extracted value and its corresponding reference value. The ≥ sign includes scores at the cutoff as well as scores above it. The value 0.85 is the cutoff used in the comparison. The authors describe the allowed dissimilarity as 0.15. Their example is a journal name accompanied by a volume. The reference annotation records the name without the volume, while either system may include the volume in its output. Soft matching lets the evaluation tolerate some differences of that kind.
The results are organized using confusion matrices with the predictions in columns and the reference values in rows. Precision reflects the share of returned values that qualify as correct under the matching procedure. Recall reflects the share of reference values successfully retrieved. F1 combines precision and recall so that a weakness in either affects the score. The comparison also distinguishes macro and micro averages. A macro average gives each included class equal influence, while a micro average pools decisions so that classes with more instances contribute more. The results table limits these averages to classes marked as comparable.
The table’s treatment of unavailable values is important when reading the class results. It marks some entries as undefined because the class has no examples in the reference data, as with DOI in this comparison. An entry can also be undefined when a system is not designed to return the field, with date given as an example. This differs from a field that is present on the pages and which an applicable extractor fails to recover. The distinction helps explain why the comparison’s overall averages use a restricted class set.
What each system recovers
On the unfamiliar SSOAR first pages, MexPub achieves an F1 score of 0.940 for titles and 0.750 for authors. These figures measure recovery of title and author values under the cosine matching rule. They are separate from the AP values on images from the development dataset. The strong title result in both evaluations is consistent with the authors’ view that titles have recognizable visual properties. The author score shows that a field can be recovered successfully on many pages while still generating enough errors to be clearly weaker than title extraction.
Abstracts give a different picture. Their precision on the unfamiliar layouts is low because MexPub returns many false positives. When the authors examine those predictions, they find that paragraphs in the upper half of the page are frequently labelled as abstracts even when they belong to the introduction or another part of the article. Finding a plausible opening block can be helpful when a page has a conventional abstract. On pages that open directly with body text, that same visual decision can put a passage into the wrong bibliographic field.
The authors also report relatively many false positives for journal and author values, and MexPub finds none of the six affiliation instances in the manually parsed comparison data. The affiliation result is specific to the occurrences present in those pages. It demonstrates that useful results for titles and authors can coexist with complete misses for another field on the same collection. An overall score would give a less immediate view of that distinction.
GROBID tends to have higher precision and produces fewer false positives for the classes present in the reference data. It also misses many eligible values, as shown by its low recall. The authors identify address and journal as categories in which it recovers none of the corresponding values. The difference between the systems is therefore visible both in fields they miss and in the balance between returning a questionable candidate and leaving a field empty. The direct comparison supports claims about that balance on the selected first pages and under the stated matching rule.
What the ablations show
The paper reports no formal ablation study that removes components one at a time. It does report a small training-configuration search, a breakdown by region size, class-level comparisons and an inspection of recurring mistakes. Each of these helps locate where performance varies. The reported analyses are more informative about the conditions under which problems appear than about which architectural choice caused a particular result.
Choosing how much to adapt
The trials with 10³ randomly selected training samples identify 2 frozen layers and 15k iterations as the best configuration tried. This is evidence for the authors’ choice of a training recipe for the full split. It also makes clear that they treated the degree of adaptation as something to evaluate. The paper gives the selected combination without supplying a score for every alternative, so its account leaves the separate effects of layer freezing and training duration unresolved.
The transfer sequence likewise has a clear motivation but no isolated comparison. COCO supplies a general object detector, and PubLayNet adapts it to scientific pages. The final training distinguishes fine-grained bibliographic roles. The authors suggest that prior training on the title class helps explain the strong title results. There is no reported run with PubLayNet removed or with its title supervision withheld. The measured title performance is consistent with the explanation, and the amount attributable to the intermediate training stage remains open.
Size, placement and the availability of examples
The comparison between large and small regions shows that size is associated with detection success. The validation AP for large regions is markedly higher than the value for small regions, and the paper reports a small-region disadvantage on both held-out splits. Dates occupy little space in the page images, so the size breakdown supplies a reason to take the authors’ explanation for date errors seriously. It does not isolate size from other properties. Dates also move around, and the large and small groups can contain different kinds of fields.
The authors give several reasons for the strong region results on titles and abstracts. These fields are present in almost all of the training samples, are often visually substantial and tend to appear in more consistent places. Each characteristic could help. Frequent labels give the training procedure more opportunities to see the field, consistency makes position more informative, and a large region can preserve more visible evidence in the resized image. The paper does not vary these conditions independently. Its analysis identifies plausible contributors whose effects are combined in the observed examples.
A related explanation concerns DOI detection. The authors point to a recurrent pattern in the way the identifier is printed, including a familiar introductory form and a series of digits and punctuation. A vision detector could learn a regular appearance associated with that string. The result remains a class-level observation. It does not reveal what parts of the displayed identifier the detector responds to or whether it would transfer to a substantially different way of presenting the identifier.
What the mistakes reveal about visual cues
The abstract errors are the clearest instance of a cue helping in one setting and hurting in another. An introductory position and a substantial paragraph-shaped area often fit an abstract in the training layouts. On unfamiliar pages, the upper part of the document may contain ordinary prose instead. The authors’ inspection shows that some such passages were assigned the abstract label. The evidence supports a specific account of the errors seen in these documents, while the relative importance of position, shape and typography remains unmeasured.
Title mistakes point to a related ambiguity. Several areas on a page may be bold and large, and MexPub can assign the title class to more than one of them. The reported test example shows that a false title can receive lower confidence than the true detections. Those scores give the authors a reason to suggest thresholding. The paper does not report a threshold sweep showing what would happen to precision and recall across fields. The illustration establishes a ranking for the displayed predictions, rather than a general rule for separating correct titles from incorrect ones.
Date recognition shows a different interaction of cues. A date is frequently small, and its location varies across the layouts the authors consider. If the detector relies partly on where a field tends to appear, the variable position deprives it of a cue that is more dependable for titles. The paper draws that inference from the observed errors and the design of the task. There is no experiment in which dates are moved while their type, size and surrounding content are held constant. The explanation is a hypothesis about what the detector learned.
Taken together, the analyses narrow the questions that remain. The size breakdown quantifies a difference between groups of regions. The class-level results show which fields contribute strong or weak performance. The page inspections show what some wrong detections actually contain. The configuration search supports the training recipe used in the paper. These forms of evidence answer different questions, and none attributes a measured portion of the reported performance to a single visual cue or architectural component.
Limitations
Limits identified by the authors
The authors identify generalization to substantially different document structures as the main limitation. The synthetic training data vary the contents and shapes of fields within layouts drawn from German publications. This provides examples of variation the system can learn from, but it gives the training collection a limited set of organizing patterns. The comparison on unfamiliar SSOAR pages shows that MexPub can recover some fields under a change in layout. The large variation in success by field explains why the authors still regard broader structural change as a problem.
They also identify small regions as a specific weakness and suggest that more training data could improve performance on them. More examples might expose the detector to a greater variety of sizes or appearances. The paper does not measure the effect of enlarging the collection. It also leaves open how much the weakness reflects examples in the training data and how much reflects what remains visible after resizing, the feature scales used by the detector, or properties such as the variable placement of dates.
Another limit is the generation of multiple predictions where only one should be returned. The authors’ example of visually prominent text illustrates how this happens even after conventional box suppression. Two positions can each appear to contain a title, with little overlap for the box procedure to resolve. Resolving that error requires evidence about which region plays the document-level role of title. The authors propose incorporating textual and contextual features in a joint architecture, with the visual part representing page structure and the textual part representing the content and its context. That is a planned direction, with no measured improvement reported here.
What the setup leaves open
The high AP values come from a random split. A held-out image can contain new metadata values, new wrapping and a new combination of fields while still sharing a layout family with a training image. The paper does not describe the random split as grouping entire template families into separate partitions. The result therefore gives a measure of region detection on new instances from the developed dataset. The separate SSOAR evaluation provides the paper’s direct test under a layout change, using a distinct metric and output.
That separate test is meaningful and bounded. The authors compare both systems on the same 100 first pages, which gives them common inputs and a common manually parsed reference. The papers still come from SSOAR, the repository that supplied the examples used to identify layouts during development. The comparison consequently establishes transfer to the selected unfamiliar layouts within that collection. It leaves questions about other repositories, document families and publishing conventions open.
The training setup also makes it difficult to separate layout generalization from the effects of text and typesetting. Synthetic examples vary wording and can change how a block wraps or how much space it occupies. The options for placing the field still come from the chosen layouts. The paper does not report separate scores for German-content and English-content samples or a comparison that holds layout constant while changing the language. The bilingual content broadens the examples the detector encounters. It does not establish a language-specific ranking or quantify the effect of the bilingual mixture.
The first-page restriction is another boundary. It follows from the observation that the selected papers usually show most of their metadata there. Some documents place relevant information elsewhere, and the evaluation does not ask either system to search later pages or combine material across pages. The reported text-value scores describe what can be recovered within the shared first-page input. The paper’s approach to recovering the text also uses the original PDF inside the predicted boxes. Its results leave open how the same pipeline would recover characters from pages without accessible PDF text.
There is an additional distinction between annotating a region and deciding what belongs in a catalogue field. The system can detect the visible area for a journal name and return text that includes a volume. A target record may separate those values. The comparison’s cosine threshold deliberately tolerates some such differences. Its F1 scores therefore reflect agreement under a practical soft matching convention. They do not give an exact-string success rate or show how well the outputs would conform to a different record schema. The reported results also leave the sensitivity to changes in the matching cutoff open.
Coverage varies across fields in the unfamiliar-layout evaluation. The absence of DOI from the reference data means that the strong DOI region results cannot be checked in that comparison. The six affiliation occurrences make the miss on those pages concrete, while leaving its rate across other documents uncertain. A class unsupported by an extractor presents a separate comparison problem, which the paper handles by restricting its aggregate figures to the designated comparable classes. Those aggregates describe the selected set of fields and cannot stand in for every field a bibliographic service might require.
The object-level metric has its own interpretive boundary. Average precision summarizes performance across detections and their confidence order. It does not tell a reader how frequently each field on a given page is correct at the same time. A service populating a complete record would care about whether the individual field errors tend to occur together and how often a page produces everything required. The paper’s illustrated predictions and class analyses help identify likely failure cases, but a complete-record measure is outside the reported evaluations.
The false-positive inspection also leaves deployment thresholds unresolved. The low confidence of the additional title in one example makes thresholding plausible. A higher cutoff could also remove correct predictions for small or visually variable fields. Since the paper does not present performance across candidate operating thresholds, the example gives evidence about how scores rank the regions on that page. It leaves unanswered how a fixed cutoff would change the balance between missed and incorrect values on unfamiliar layouts.
Finally, the aggregate scores come from a particular combination of pretraining, template generation, image resizing and training settings. The authors provide a concrete implementation and the configuration that performed best in their preliminary trials. They do not report separate controlled runs for each source of supervision or for a change in input resolution. Consequently, the work establishes the performance of the combined procedure in the stated experiments. Its explanations for the strengths of transfer and the difficulties with small fields remain hypotheses that the observed patterns help to formulate.
What came after
There is no documented follow-up study to describe here. The directions the authors identify at the end of MexPub follow directly from the errors they observed. They propose training on a wider variety of layouts to address structural generalization and using more examples to improve recognition of small fields. They also propose combining visual and textual processing within a joint architecture. In that design, the visual part would supply information about the organization of the page, while the text would help distinguish passages with similar appearances and different roles.
The proposed extension has a concrete motivation in the comparison with GROBID. Identifying a large opening block can locate the abstract on one page and return the opening of the introduction on another. Reading the text of the candidate region and considering its context could change the decision before the value is stored as metadata. The paper ends with that design possibility. Its demonstrated results concern the visual detector, the layouts used to train it and the bibliographic values it recovered in the reported comparison.
Cite
Cite as Zeyd Boukhers, Nada Beili, Timo Hartmann, Prantik Goswami and Muhammad Arslan Zafar. 2021. MexPub: Deep Transfer Learning for Metadata Extraction from German Publications. arXiv:2106.07359.
@misc{boukhers2021mexpub,
title = {{MexPub: Deep Transfer Learning for Metadata Extraction from German Publications}},
author = {Zeyd Boukhers, Nada Beili, Timo Hartmann, Prantik Goswami and Muhammad Arslan Zafar},
year = {2021},
doi = {10.48550/arxiv.2106.07359},
eprint = {2106.07359},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2106.07359}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/boukhers-2021-mexpub-deep-transfer-learning-metadata/
References
- Zeyd Boukhers, Shriharsh Ambhore, and Steffen Staab. An end-to-end approach for extracting and segmenting high-variance references from pdf documents. In ACM/IEEE-CS joint conference on Digital libraries, pages 186–195, 2019. OpenAlex ↗ · Scholar ↗
- Duy Duc An Bui, Guilherme Del Fiol, and Siddhartha Jonnalagadda. Pdf text classification to leverage information extraction from publication reports. Journal of biomedical informatics, 61:141–148, 2016. OpenAlex ↗ · Scholar ↗
- Pei-Shan Chi. Which role do non-source items play in the social sciences? a case study in political science in germany. Scientometrics, 101(2):1195–1213, 2014. OpenAlex ↗ · Scholar ↗
- Giovanni Colavizza and Matteo Romanello. Citation mining of humanities journals: The progress to date and the challenges ahead. Journal of European Periodical Studies, 4(1):36–53, 2019. OpenAlex ↗ · Scholar ↗
- Zhixin Guo and Hai Jin. A rule-based framework of metadata extraction from scientific papers. In International Symposium on Distributed Computing and Applications to Business, Engineering and Science, pages 400–404, 2011. OpenAlex ↗ · Scholar ↗
- Leipeng Hao, Liangcai Gao, Xiaohan Yi, and Zhi Tang. A table detection method for pdf documents based on convolutional neural networks. In IAPR Workshop on Document Analysis Systems, pages 287–292, 2016. OpenAlex ↗ · Scholar ↗
- Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross B. Girshick. Mask R-CNN. CoRR, abs/1703.06870, 2017. OpenAlex ↗ · Scholar ↗
- Azam Hosseini, Behnam Ghavimi, Dagmar Kern, and Philipp Mayr. Excite–a toolchain to extract, match and publish open literature references. In ACM/IEEE-CS joint conference on Digital libraries, pages 432–433, 2019. OpenAlex ↗ · Scholar ↗
- Hui Han, C.L. Giles, E. Manavoglu, Hongyuan Zha, Zhenyue Zhang, and E.A. Fox. Automatic document metadata extraction using support vector machines. In ACM/IEEE-CS joint conference on Digital libraries, volume 2003, pages 37–48. IEEE Computer Society, 2003. OpenAlex ↗ · Scholar ↗
- Alexander Ivanyukovich and Maurizio Marchese. Unsupervised metadata extraction in scientific digital libraries using a-priori domain-specific knowledge. In Semantic Web Workshop, Scuola Normale Superiore, volume 201, 2006. OpenAlex ↗ · Scholar ↗
- He Kaiming, Gkioxari Georgia, Dollár Piotr, and Girshick Ross. Mask r-cnn. page 2961–2969. IEEE international conference on computer vision. OpenAlex ↗ · Scholar ↗
- Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521:436–444, 2015. OpenAlex ↗ · Scholar ↗
- Tsung-Yi Lin, Piotr Dollár, Ross B. Girshick, Kaiming He, Bharath Hariharan, and Serge J. Belongie. Feature pyramid networks for object detection. CoRR, abs/1612.03144, 2016. our card
- Mario Lipinski, Kevin Yao, Corinna Breitinger, Joeran Beel, and Bela Gipp. Evaluation of header metadata extraction approaches and tools for scientific PDF documents. In ACM/IEEE-CS joint conference on Digital libraries, page 385. ACM Press, 2013. OpenAlex ↗ · Scholar ↗
- Runtao Liu, Liangcai Gao, Dong An, Zhuoren Jiang, and Zhi Tang. Automatic document metadata extraction based on deep networks. In National CCF Conference on Natural Language Processing and Chinese Computing, pages 305–317. Springer, 2017. OpenAlex ↗ · Scholar ↗
- Dhruv Mahajan, Ross Girshick, Vignesh Ramanathan, Kaiming He, Manohar Paluri, Yixuan Li, Ashwin Bharambe, and Laurens van der Maaten. Exploring the limits of weakly supervised pretraining. In European Conference on Computer Vision, volume 11206, pages 185–201. Springer International Publishing, 2018. OpenAlex ↗ · Scholar ↗
- Bolanle Ojokoh, Olumide Adewale, and Falaki Samuel oluwole. Automated document metadata extraction. Journal of Information Science, 35(5):563–570, 2009. OpenAlex ↗ · Scholar ↗
- Sinno Pan and Qiang Yang. A survey on transfer learning. IEEE Transactions on Knowledge and Data Engineering, 22(10):1345–1359, 2010. OpenAlex ↗ · Scholar ↗
- Fuchun Peng and Andrew McCallum. Accurate Information Extraction from Research Papers using Conditional Random Fields. In Human Language Technology Conference of the North American Chapter of the Association for Computational Linguistics, pages 329–336, 2004. OpenAlex ↗ · Scholar ↗
- Animesh Prasad, Manpreet Kaur, and Min-Yen Kan. Neural parscit: a deep learning-based reference string parser. International Journal on Digital Libraries, 19(4):323–337, 2018. OpenAlex ↗ · Scholar ↗
- Laurent Romary and Patrice Lopez. Grobid-information extraction from scientific publications. ERCIM News, 2015. OpenAlex ↗ · Scholar ↗
- Noah Siegel, Nicholas Lourie, Russell Power, and Waleed Ammar. Extracting Scientific Figures with Distantly Supervised Neural Networks. ACM/IEEE-CS joint conference on Digital libraries, pages 223–232, 2018. OpenAlex ↗ · Scholar ↗
- Jan Stadermann, Stephan Symons, and Ingo Thon. Extracting hierarchical data points and tables from scanned contracts. UIMA@ GSCL, 1038:50–57, 2013. OpenAlex ↗ · Scholar ↗
- Christopher Stahl, Steven Young, Drahomira Herrmannova, Robert Patton, and Jack Wells. DeepPDF: A Deep Learning Approach to Analyzing PDFs. 2018. OpenAlex ↗ · Scholar ↗
- Richard Szeliski. Computer vision: algorithms and applications. Springer Science & Business Media, 2010. OpenAlex ↗ · Scholar ↗
- Atsuhiro Takasu. Bibliographic attribute extraction from erroneous references based on a statistical model. In ACM/IEEE-CS joint conference on Digital libraries, pages 49–60. IEEE Computer Society, 2003. OpenAlex ↗ · Scholar ↗
- Dominika Tkaczyk. New Methods for Metadata Extraction from Scientific Literature. CoRR, abs/1710.10201, 2017. OpenAlex ↗ · Scholar ↗
- Dominika Tkaczyk, Pawel Szostek, Piotr Jan Dendek, Mateusz Fedoryszak, and Lukasz Bolikowski. Cermine–automatic extraction of metadata and references from scientific literature. In International Workshop on Document Analysis Systems, pages 217–221, 2014. OpenAlex ↗ · Scholar ↗
- Kyle Williams, Jian Wu, Sagnik Ray Choudhury, Madian Khabsa, and C Lee Giles. Scholarly big data information extraction and integration in the citeseer $\chi$ digital library. In International Conference on Data Engineering Workshops, pages 68–73, 2014. OpenAlex ↗ · Scholar ↗
- Yuxin Wu, Alexander Kirillov, Francisco Massa, Wan-Yen Lo, and Ross Girshick. Detectron2. https://github.com/facebookresearch/detectron2, 2019. OpenAlex ↗ · Scholar ↗
- Saining Xie, Ross B. Girshick, Piotr Dollár, Zhuowen Tu, and Kaiming He. Aggregated residual transformations for deep neural networks. CoRR, abs/1611.05431, 2016. OpenAlex ↗ · Scholar ↗
- Huichen et al. Yang. Pipelines for Procedural Information Extraction from Scientific Literature: Towards Recipes using Machine Learning and Data Science. In International Conference on Document Analysis and Recognition Workshops, pages 41–46, 2019. OpenAlex ↗ · Scholar ↗
- Xu Zhong, Jianbin Tang, and Antonio Jimeno Yepes. Publaynet: largest dataset ever for document layout analysis. In International Conference on Document Analysis and Recognition, pages 1015–1022, 2019. OpenAlex ↗ · Scholar ↗