Elamur Research

Evaluation of Transfer Learning and Domain Adaptation for Analyzing German-Speaking Job Advertisements

Paper · 2022 · Ann-Sophie Gnehm, Eva Bühlmann and Simon Clematide

Summary

A job advertisement can tell a researcher what kind of worker an employer wants, what the person will do, and which skills the employer expects. Collecting that information from decades of advertisements poses a problem. The wording, format, and vocabulary of a newspaper notice can differ considerably from those of a recent online listing. The authors study whether information extraction from German-language job ads in Switzerland improves when the system has already spent time learning from the language of job ads.

The study starts with BERT-de and GBERT, two systems already pretrained on general German text. The authors continue pretraining both on a mixture of historical advertisements and more recent online listings, producing jobBERT-de and jobGBERT. They also add often used fragments and words from job ads to the vocabulary of jobBERT-de. They then use fine-tuning, or further training with labeled examples of a particular task, to compare the original and adapted versions. The tests cover the occupation being advertised, the main activity of the job, whether experience is required, which parts of an ad discuss topics such as skills, and which expressions name information and communications technology (ICT).

Both adapted versions improve on their own starting points in the main comparisons. On the document classification test sets, jobGBERT leads with balanced accuracies of 0.757 for profession, 0.734 for main job task, and 0.845 for experience. Balanced accuracy gives each class equal weight when calculating how frequently examples of that class are recovered. For ICT recognition, jobGBERT leads with a test F1 score of 0.890 using the full labeled training split. The smaller-data BERT-de starting point also gains enough from continued pretraining for jobBERT-de to beat general-purpose GBERT in some comparisons, including ICT recognition with the full training split.

The text-zoning experiments ask what happens when the test advertisements come from a later period. On that newer test set, BERT-de reaches 0.826 balanced accuracy with the original labeled training data. Combining in-domain pretraining with a small update of newer labeled ads brings its adapted counterpart, jobBERT-de, to 0.941. Both adapted systems gain more in ordinary accuracy from this update than their respective starting points. The authors caution that the newer test labels were produced by correcting predictions from jobBERT-de, which could favor that system. They make their adapted checkpoints and datasets available for further study.

Deep dive: Evaluation of Transfer Learning and Domain Adaptation for Analyzing German-Speaking Job Advertisements

The study tests whether pretraining on Swiss job ads improves German job classification, text zoning, and recognition of technology terms. · about 34 minutes to read

The problem and its context

What an advertisement can tell a researcher

The paper is part of a social science project investigating changes in labor demand in Switzerland. An individual advertisement describes a vacancy. A collection of advertisements can support research on how the jobs employers advertise and the qualifications they request have changed over time. That use depends on recovering comparable information from texts written in different periods. Reading every notice by hand would leave little room to scale the analysis, while an automated system has to make decisions about what each part of a notice means.

The paper separates questions that a reader could easily conflate. An advertisement can name a profession without giving that profession's usual activity as the main responsibility. The paper illustrates this with a vacancy seeking a pharmaceutical assistant for a sales role. A medical or pharmaceutical occupation and a customer-facing main task are compatible answers for the same document. Whether the employer asks for experience is a further question, answered from the wording of the advertisement. Each question yields a separate label for the whole ad.

Skills call for finer distinctions. A listing may introduce the company, advertise the position, describe what the successful applicant will do, and say what the applicant should bring. The same sentence can contain material that serves several of these purposes. An analysis that treats the sentence as indivisible may gather material about the employer alongside actual job requirements. The authors therefore introduce text zoning as a way to identify what different stretches of the advertisement are doing. They put the boundary decisions at the level of individual tokens, the units into which the text is divided for labeling.

Recognizing ICT expressions asks a different question about smaller stretches of text. A zone can contain several mentions of software or equipment, or none. Conversely, an advertisement outside the technology sector can still ask the applicant to use a particular program. Useful extraction therefore requires both finding where such a mention begins and ends and identifying it as a term of interest. The zoning and term-recognition tasks provide different outputs for the same research program. Zoning identifies the role a passage plays in an advertisement. Term recognition identifies specific expressions within the material considered relevant.

Why time makes the language harder to analyze

The paper contrasts a newspaper ad from 1990 with an online ad from 2020. Changes in publication medium affect features such as length, while changes in jobs and communication styles affect how employers describe vacancies. An extraction system learned from the earlier notices has to handle familiar categories expressed in unfamiliar ways. The authors use data shift for the change in the material the system encounters over time. In the zoning experiment, they make this issue observable by evaluating on ads from a more recent period as well as on the original test set.

The ICT task puts similar pressure on the vocabulary. The authors report 96 distinct normalized ICT terms in 1990 and over 3800 in 2020. Normalization gives the vocabulary count a consistent basis by treating terms in standardized form. The paper also compares frequent ICT terms across years. Of the 1990 ICT terms, 28% still appear among the top 1k terms in 2020. Comparing the top 1k lists for 2015 and 2020 yields an overlap of no more than 76%. A system must recognize expressions that a small labeled collection from any one period may represent unevenly.

These changes complicate the use of hand-written patterns. The paper describes pattern-based extraction as prone to hard failures when an expression falls outside its rules and to systematic failures when a rule repeatedly misreads a construction. For common natural language processing tasks, the authors note that ready-made systems already existed, citing news entity recognition and social-media sentiment as examples. The Swiss job-ad project combines a specialized text type, a particular language setting, and labels chosen for social science research. It therefore needs extraction systems trained for those purposes.

What transfer learning offered

The paper places its approach in a progression from static word embeddings such as word2vec, through the contextual representations of ELMo, to BERT. An embedding is a numerical representation of a text unit. A static embedding gives a word a fixed representation, while a contextual one can give it a different representation depending on its neighbors. That distinction matters when a classifier must distinguish, for example, the profession named by a phrase from the activity expected of the person being hired.

In the paper's account, BERT learns such representations through a pretraining task in which some of the input is hidden and the system learns to recover it. The Transformer supplies the architecture that relates the units in the input to one another. The training targets can be drawn from the text itself, so this stage makes use of unannotated material. A later supervised stage adjusts the pretrained representations for an output with human-defined labels. This division is the practical attraction of transfer learning for job ads. The authors can draw on a much larger body of text than they could afford to label for occupations, passage types, or technologies.

Earlier studies surveyed in the paper had already tested domain adaptation for scientific, biomedical, and legal text. The authors discuss SciBERT, BioBERT, and LEGAL-BERT as examples of that line of work. Across the studies they describe, one option is to continue training an existing checkpoint, normally retaining its inventory of words and word fragments. Another is to start pretraining afresh on a specialized collection and learn a vocabulary from that collection. Starting afresh gives greater control over the vocabulary and requires enough domain text to learn the representations without the benefit of the earlier general training.

The paper describes a mixed picture from comparisons of these approaches. Some earlier work finds that enough specialized material can make mixed-domain pretraining dispensable. Other comparisons depend on the target task, and the settings that work best during fine-tuning can also vary by task. The study also draws on Don't Stop Pretraining, which distinguishes continued training on a broad collection from the target domain from continued training on the unannotated texts of a particular end task. The paper reports that the earlier work found advantages from combining the two, while adaptation using the smaller task collection could be competitive with adaptation using the wider domain collection. It also notes the earlier finding that adapting to a different domain can hurt.

An earlier job-ad study by Gnehm and Clematide supplies a more direct point of comparison. The present paper takes up its formulation of text zoning and profession classification, carries forward the zoning data, and uses the earlier results as baselines where available. The broader question here is whether the job-ad domain warrants extra training before the system sees the labels for an individual task. A related question is how much that earlier exposure matters when task labels are scarce or when a system has to read material from a later period than its labeled training data.

The method, step by step

From general German text to job advertisements

The experiment begins with BERT-de and GBERT, two pretrained German BERT systems. The article calls their job-ad derivatives jobBERT-de and jobGBERT. Each adapted checkpoint inherits the weights of its general-purpose counterpart, then undergoes further pretraining on job ads. The original checkpoints remain available as comparisons. Fine-tuning these starting points and their derivatives on the same downstream tasks lets the authors ask whether the additional training transfers to the outputs researchers want.

From German pretraining to job-ad analysis

The steps in order.

From German pretraining to job-ad analysisStep 1: Start with pretrained German BERT checkpoints1. Start with pretrained German BERT checkpointsStep 2: Mix historical samples with online advertisements2. Mix historical samples with online advertisementsStep 3: Normalize characters and extend one vocabulary3. Normalize characters and extend one vocabularyStep 4: Continue training by predicting masked text4. Continue training by predicting masked textStep 5: Evaluate intermediate checkpoints on the target tasks5. Evaluate intermediate checkpoints on the target tasksStep 6: Fine-tune original and adapted checkpoints with labels6. Fine-tune original and adapted checkpoints with labelsStep 7: Select on development data and score held-out tests7. Select on development data and score held-out tests

Both starting points belong to the BERT base size described in the paper. Each has 12 layers, a hidden size of 768, 12 attention heads, and 110M parameters. The hidden size is the number of components in the representation passed through a layer. The attention heads are separate mechanisms within the architecture for relating positions in the input. Matching the broad architecture makes this a comparison between checkpoints of the same size, with different training histories, rather than a comparison involving a larger Transformer.

The account in German's Next Language Model gives the background to GBERT. The paper reports general pretraining corpora of 160 GB for GBERT and 12 GB for BERT-de. It also notes that GBERT uses whole-word masking in its general pretraining objective. When a word has been broken into fragments, whole-word masking hides its parts together. This gives the study two different tests of continued pretraining. It can ask whether a less extensively pretrained starting point catches up after seeing relevant text, and whether a stronger general German starting point still gains from job ads.

Preparing the vocabulary and the corpus mixture

Subword tokenization allows a system to represent text using complete words where available and fragments where needed. Continued pretraining inherits the original vocabulary, including its limitations. The authors first normalize characters that the inherited vocabulary handles poorly. Job ads use different symbols for list bullets. Mapping the variants to a common symbol present in the vocabulary reduces the chance of sending them to <unk>, the entry for an unknown unit. The change addresses how the input is represented before training on it.

The authors also use SentencePiece to find frequent units in the domain and place them in unused vocabulary slots. BERT-de has 3k reserved entries in a vocabulary of 30k. The additions include a fragment such as #diplom, the word Muttersprache, and the abbreviation SAP. The examples show the range of entries the procedure can add. Some stand for a word or abbreviation by themselves. Others give the system a reusable piece of a word. Once entered into the vocabulary, those units receive representations during continued training.

GBERT has only 100 unused entries in its 31.1k vocabulary. The authors leave that vocabulary intact. The experiment thus includes continued job-ad pretraining with an expanded vocabulary in jobBERT-de and with the inherited vocabulary in jobGBERT. Since those conditions occur with different base checkpoints, the comparison measures the effects of the two adaptation recipes. The paper later examines the behavior of particular groups of tokens to get a closer look at the vocabulary change.

The Swiss Job Market Monitor, or SJMM, and the online advertisement collection, or OA, serve different purposes in constructing the pretraining corpus. The authors want the system to handle the historical material that matters for labor-market research. Uniform sampling from the much larger online source would give the historical collection a smaller role. At the same time, the online collection gives the system access to varied recent examples that the historical sample alone could supply less readily.

The authors increase the representation of SJMM ads to around 3k per year from 1990 onward. For each pass through the combined training material, the counts in the paper's data table are 80K SJMM ads and 85K OA ads. The SJMM material accounts for 93M characters and 92 MB per epoch. The OA material accounts for 150M characters and 140 MB. The counts explain why it matters to specify the unit when describing the balance between the sources. The numbers of ads are close, while the online portion contains more characters.

An epoch is a pass through the material designated for that round of training. The authors run continued pretraining for 25 epochs and draw a different 1/25 portion of the online corpus for each. The design keeps the historical sample prominent during training while rotating the newer material. Over the course of training, the system receives a wider variety of online ads than it would from reusing the first online sample each time.

Continuing pretraining and choosing checkpoints

The pretraining exercise hides units from job-ad text and trains the Transformer to predict the hidden content from the surrounding material. It uses no profession, zoning, or ICT label as a prediction target at this stage. The texts supply the targets. If the learned representations are useful for downstream extraction, that usefulness should appear after supervised training on a task that asks for a different output.

For training, the authors use Hugging Face Transformers and stick mostly to its default settings. They set a maximum input length of 512 sub-words. For jobBERT-de, the initial learning rate is 5E-05, the schedule is linear, and the batch size is 256. The learning rate governs the size of the weight updates, the schedule changes it over training, and a batch groups the examples used in an update. The paper reports 16.1k training steps for this setup. For jobGBERT, the authors use a batch size of 128 and an initial learning rate of 1E-05, following the work that introduced the starting checkpoint. They report training for approximately one week on NVIDIA Tesla T4 hardware with 16 GB of RAM.

A checkpoint saves the state of the weights at a particular stage of training. The authors evaluate intermediate checkpoints after every 5th epoch on each end task. The differences across checkpoints are small. For both adapted variants, the epoch 20 checkpoint performs best across the majority of the tasks, so the authors use it in the more comprehensive comparisons. The training schedule and the checkpoint used for the final experiments therefore refer to different points in the procedure.

For the downstream experiments, the development split guides selection, and the test split supplies the reported evaluation. The paper describes choosing the candidate with the highest development accuracy for each task. It also repeats the experiments and reports scores over three or five runs. This follows the motivation of Reporting Score Distributions Makes a Difference. Fine-tuning can produce different test scores across runs even when the data and training settings are held fixed, so the averages and the reported spread answer different questions.

Giving each advertisement a document label

The document experiments use text classification to assign a category to an advertisement. The classifier learns to predict the profession, the main job task, or the experience requirement, depending on which labels it is trained with. These are separate supervised tasks. The design allows a checkpoint to perform differently on the same ads depending on whether the output concerns the role, its activities, or the qualification sought.

BERT receives the advertisement together with a special [CLS] token. The representation at that position in the final embedding layer serves as the input to the classifier for the whole document. A linear layer converts that representation into a set of scores for the possible classes. During fine-tuning, the authors update the Transformer representations as well as training the classifier. The output layer thus learns the label inventory while the earlier layers can adjust to cues that matter for that classification problem.

The implementation uses Flair, which the paper cites through Contextual String Embeddings for Sequence Labeling. The authors train the document classifiers for 5 epochs with a batch size of 16. They use Adam to update the weights, at a learning rate of 3.00E-05. They apply the classification setup to each original and adapted checkpoint, keeping the task formulation the same for the comparison.

Labeling the purpose of each stretch of text

Text zoning makes a prediction for each token, using the surrounding advertisement to help interpret it. The scheme distinguishes descriptions of the employer, reasons for a vacancy, administrative and residual text, descriptions of an employment agency, material incentives, descriptions of the job, required hard skills, and desired personal qualities. A job description can stand beside a heading or stock phrase assigned to the administrative category, and a list may move from professional qualifications to qualities such as creativity. The token sequence preserves those transitions.

The zoning system also uses representations from the last Transformer layer and adds a linear prediction layer. Here it needs a representation for each token that receives a zone label. A token can correspond to several pieces in the BERT input, so the authors take the representation of its first sub-word. Because that representation comes from the contextual Transformer layers, it has already been computed in relation to surrounding material. The first-piece rule specifies which vector is passed to the tagger when there are several available for the same labeled token.

Zoning is fine-tuned with AdamW and a one-cycle learning-rate schedule. The initial learning rate is 5e-06, the batch size is 32, and training runs for 20 epochs. The authors use the same zoning task to investigate changes over time. They first train with the original labeled material, then score that setup on the original and the more recent test sets. They also fine-tune with a version of the training set that gives additional weight to a small collection of recently labeled ads. That updated setting is scored on the same newer test set.

Finding terms and building the labels to train on

ICT term recognition treats technical expressions as spans, or stretches of consecutive text, through a named entity recognition approach. The expressions range from general words such as “Computer” to named products and longer technical phrases. One requirement involving proficiency with office software, for example, may name a suite followed by particular applications. Locating terms within such a passage supplies more specific information than assigning the passage to the hard-skills zone.

The authors build the recognizer in spaCy using a Transformer to produce contextual representations and a transition-based component to identify spans. The latter builds its prediction through a sequence of decisions about the text. The paper relates this approach to Neural Architectures for Named Entity Recognition. The ICT experiments vary the pretrained Transformer used to supply the features and otherwise use settings based on the spaCy pipeline defaults described in the paper.

The available labeled data for this task is limited, so the authors put effort into how it is collected. They begin with a small manually labeled sample, use it to develop the annotation guidelines and train an initial recognizer, and then use that recognizer to propose labels on new examples. A human corrects the proposals in Prodigy. Further rounds build on the enlarged collection. The paper reports five rounds and a total of 22 hours of correction work. That figure describes the reported correction effort for the annotation process.

The selection of ads for ICT labeling is deliberately varied. The authors use topic modeling to identify advertisements likely to contain technical material while also retaining less ICT-oriented texts. They fit a MALLET Latent Dirichlet Allocation analysis with 100 topics to the job-ad corpus. Topic scores offer a way to identify collections of text with related vocabulary. The final annotated sample draws one-third from ads with a strong ICT emphasis, one-third from ads with a moderate ICT emphasis, and one-third from ads sampled evenly across the 100 topics. The design brings in specialized vocabulary as well as examples where relevant terms are sparse or absent.

Within the selected advertisements, the authors concentrate labeling on the job-description and hard-skills zones. They allow a buffer of up to 10 tokens from other zones to preserve coherence. The input therefore retains some local context around the parts most relevant to the research question. The authors stratify the ICT samples by year, so that year is taken into account in arranging the data for the experiments. This matters because the technologies and expressions appearing in later ads differ from those in earlier ones.

Experiments and results

What the data and the scores represent

The source collections were introduced in the authors' earlier work. Both contain advertisements in multiple languages, and German accounts for approximately 80% in each. The Swiss Job Market Monitor consists of representative annual samples going back to 1950. Its human-produced codes and text labels make it possible to define supervised tasks and evaluate the results. The OA collection comes from online job portals and employers' websites, which a private company has collected since 2012. It contains 2.25 million German-language ads and chiefly contributes breadth to the continued pretraining in this study.

The paper gives a measure of vocabulary turnover to motivate the time-based tests. After removing stop words and punctuation, it observes an annual replacement rate of about 1% in the list of the 1000 most frequent tokens. Comparing 1990 with 2020 yields a high-frequency vocabulary overlap below 45% for that list. The corresponding overlaps are 35% for the top 5k and 37% for the top 10k. These are statistics about the text in the collections. The zoning experiment separately measures how well systems predict labels on ads dated to different periods.

For document classification and zoning, the authors report accuracy and balanced accuracy. Ordinary accuracy counts how frequently the predicted label matches the correct one across all examples. The example is a document for classification and a token for zoning. A common class therefore has substantial influence on this score. Balanced accuracy is macro-recall in this setting. Recall asks, among the examples that truly have a class, how many the system recovers. Balanced accuracy averages that quantity across classes, giving a rare class the same weight as a frequent one.

The ICT results use F1 to summarize precision and recall together. Precision asks how many predicted terms are correct. Recall asks how many of the annotated terms the predictions recover. F1 uses their harmonic mean, which makes the joint score sensitive to a low result on either measure. This fits an extraction task where missing relevant spans and returning spurious ones both affect the resulting term list. In the zoning analysis, the paper also reports precision, recall, and F1 for individual zone categories, alongside its aggregate accuracy measures.

Classifying an entire advertisement

Each document classification task has 25k labeled job ads available. The authors use 80% for training, 10% for development, and 10% for testing. The profession scheme contains 34 classes, the main-task scheme 21 classes, and the experience scheme 3 classes. All have uneven class frequencies. The earlier profession experiment provides a reference accuracy of 0.778, obtained with BERT-de. The authors compare that number with ordinary profession accuracy in their experiment and use balanced accuracy to assess performance across the label inventory.

On the test sets, the adapted checkpoint improves on its respective starting point for all the document tasks under both metrics. General-purpose GBERT also does better than general-purpose BERT-de throughout these comparisons. In profession classification, GBERT, jobBERT-de, and jobGBERT exceed the earlier ordinary accuracy baseline. The classification figure reports averages over 5 runs and shows the minimum and maximum across runs as well.

The best test balanced accuracy on profession is 0.757 for jobGBERT. For main job task, the same checkpoint leads at 0.734. Its score for required experience is 0.845. These numbers each characterize a different labeling problem. The lower score for main task is consistent with the authors' assessment that it is the most difficult of the document comparisons. Identifying the central activity may call for resolving which of several duties in an advertisement constitutes the main one, while the text can state an experience requirement more directly.

The differences between adapted and original checkpoints also vary by label scheme. On main task, the paper reports balanced accuracy gains of 2.1 points for jobBERT-de over BERT-de and 1.4 points for jobGBERT over GBERT. For each of the other document tasks, the largest gain reported is 1.1 points. The main-task result illustrates the distinction between absolute performance and improvement from changing the starting checkpoint. Main task has the lowest leading balanced accuracy and gives the largest gains from adaptation among the classification tasks.

JobBERT-de beats general-purpose GBERT in two of the three classification tasks. The authors emphasize this because GBERT had been exposed to substantially more text in general pretraining and used whole-word masking. This is a result about the value of the texts chosen for continued training. BERT-de already brings knowledge from its original general pretraining, and its adapted version uses a modified vocabulary as well as the new corpus. JobGBERT's overall lead in classification shows that the stronger general checkpoint can still benefit from the same domain corpus.

Finding zones in original and newer advertisements

The original zoning split includes job ads through 2014. It has 22.5k training documents and 650 documents each for development and testing. This is the split shared with the earlier zoning study. In the comparison using the original training and test sets, GBERT reaches 0.869 balanced accuracy, ahead of BERT-de at 0.855. Both adapted checkpoints improve on their own starting points. JobGBERT leads with ordinary accuracy of 0.916 and balanced accuracy of 0.880. The paper reports that its ordinary accuracy exceeds the earlier zoning baseline by 0.6 points.

Text zoning with original training and test sets

Both adapted checkpoints improve on their starting points, with jobGBERT leading.

Text zoning with original training and test setsBERT-de: 0.855BERT-de0.855jobBERT-de: 0.874jobBERT-de0.874GBERT: 0.869GBERT0.869jobGBERT (this paper): 0.880jobGBERT (this paper)0.880
The numbers
System or settingbalanced accuracy
BERT-de0.855
jobBERT-de0.874
GBERT0.869
jobGBERT (this paper)0.880

The matched original split establishes how the zoning systems compare on the benchmark from the earlier study. It also gives a reference for the time-shift comparison. For that comparison, the authors have 350 labeled ads from 2015 to 2021. They set aside 150 as a newer test set. Running the taggers trained on the original data against these newer ads changes the evaluation texts while leaving the labeled training data in place.

On the newer test set, with original labeled training data, BERT-de scores 0.904 in ordinary accuracy and 0.826 in balanced accuracy. JobBERT-de reaches 0.934 and 0.894, respectively. General-purpose GBERT yields 0.919 ordinary accuracy and 0.859 balanced accuracy, while jobGBERT yields 0.922 and 0.876. The strongest setting changes from jobGBERT on the original test set to jobBERT-de on the newer one. The reported numbers therefore depend on which time period supplies the test ads and which metric is used.

The authors then add the remaining 200 newer ads to the labeled training set. They include each of those ads three times, producing an updated collection of 23.1k training ads with the recent examples counted at their training weight. The newer test set stays fixed. After the update, ordinary accuracies on that test set are 0.911 for BERT-de, 0.944 for jobBERT-de, 0.925 for GBERT, and 0.932 for jobGBERT. Balanced accuracy also improves for every checkpoint in this comparison.

Text zoning on the newer test set after the labeled update

With newer labels added, jobBERT-de leads the balanced accuracy comparison.

Text zoning on the newer test set after the labeled updateBERT-de: 0.847BERT-de0.847jobBERT-de (this paper): 0.941jobBERT-de (this paper)0.941GBERT: 0.885GBERT0.885jobGBERT: 0.896jobGBERT0.896
The numbers
System or settingbalanced accuracy
BERT-de0.847
jobBERT-de (this paper)0.941
GBERT0.885
jobGBERT0.896

The zoning results are averages of 3 runs. The paper reports standard deviations below 0.0035 for ordinary accuracy and below 0.015 for balanced accuracy across the zoning comparisons. The repeat runs describe variability in training within the experiment. The comparison between the older and newer test sets calls for a separate judgment about what changed in the evaluation material, including how the newer labels were made.

The paper expresses some of the practical effect in terms of error rates. On the newer test set, moving from BERT-de with the original labeled training data to jobBERT-de with the updated labeled data takes the reported error rate from 9.6% to 5.6%. According to the authors, the error in that combined comparison fell by over 40% in relative terms. Moving from GBERT with the original labeled data to jobGBERT with the update takes the corresponding error rate from 8.1% to 6.8%, with a reported relative reduction of more than 15%. Both comparisons combine continued pretraining and the introduction of newer labels during fine-tuning.

Recognizing ICT terms with fewer labeled examples

The ICT recognition dataset contains 2000 annotated job ads. The authors allocate 80% to training and 10% each to development and testing. The annotations are concentrated in descriptions of the job and its hard-skill requirements. The reported test scores concern recognition of terms in that setting. They capture the difficulty of identifying general expressions and specific technologies in the same kind of output, while the sampling scheme gives the test material a range of ICT emphasis.

With the full available training split, jobGBERT obtains the best test F1, at 0.890. Both adapted checkpoints beat their own starting points. The paper reports an F1 gain of +2.03 points for adaptation from BERT-de and +0.96 points for adaptation from GBERT. JobBERT-de also exceeds general-purpose GBERT with the full training split. The figure reports averages across 5 runs and shows their minimum and maximum, as in the document classification figure.

The authors rerun the ICT experiment using half of the labeled training material, at n=800, and a quarter, at n=400. JobGBERT still performs best on the smaller samples. At these smaller sizes, general-purpose GBERT comes close to jobGBERT and overtakes jobBERT-de. The ordering is consequential for the paper's question about data efficiency. The stronger general starting point can be valuable when few task labels are available, even though continued pretraining on job ads improves both starting points.

The spread of GBERT's results increases as the labeled set shrinks. For n=400, the paper reports F1 scores from 0.830 to 0.862 across the runs for GBERT. JobGBERT is more stable in this condition. A reader interested in training a recognizer from a small annotated collection can use the average to compare typical performance and the spread to understand how much the result depended on the particular run reported.

Across tasks, the paper's conclusion reports relative error reductions from domain adaptation of up to 5-8% in classification, up to 15% for ICT recognition, and up to 30% for zoning. These are upper-end results across the study's comparisons. The larger value reported for the newer zoning test with the BERT-de starting point refers to the combined intervention that also changes the labeled fine-tuning data.

What the ablations show

Continued pretraining helps both starting points

The central comparison keeps the downstream task in place while changing the checkpoint that enters fine-tuning. The original and adapted versions learn from the same kinds of examples and predict the same labels. In document classification, this comparison improves both accuracy measures on every task. In zoning, both adapted versions improve on their respective originals in each of the reported train-and-test settings. In ICT recognition, adaptation remains helpful as the amount of labeled material changes, although the size of the benefit varies.

The paper distinguishes absolute scores from gains relative to the starting point. GBERT begins with better results than BERT-de across the paper's tasks. The improvement after adapting BERT-de is generally bigger, while jobGBERT earns the highest scores in most of the main comparisons. The stronger checkpoint has an advantage going in and retains much of it. The weaker checkpoint gains more from the added job-ad training and, in some settings, passes the strong checkpoint when that checkpoint is used without adaptation.

Several aspects of the recipes could account for the difference in gains. The authors point to the vocabulary insertion available to BERT-de, the greater weight of general training in GBERT's history, and the possibility that the new text contains fewer unfamiliar patterns for a checkpoint that has already seen more material. They also use different continued-pretraining batch sizes and starting learning rates for the two derivatives. The experiment exposes the behavior of each whole recipe. The relative contribution of each difference would require a comparison that varied that choice while holding its companions in place.

Time period and exposure to newer labels

The zoning study allows two questions about time to be separated. Comparing the original and newer test sets with the original labeled training data asks how the trained systems fare as the evaluation material changes. Comparing original and updated labeled training on the same newer test set asks what the recent examples contribute. The latter comparison uses a fixed benchmark for both scores, which makes it the more direct test of the labeled update.

With original training, BERT-de loses 3 points of balanced accuracy when moving to the newer test set, as the paper reports the comparison. JobBERT-de gains 2 points on that comparison. The GBERT variants have relatively similar balanced accuracies across the older and newer ads. The pattern suggests that broader general pretraining and continued training on domain text can each help a tagger retain performance across the time split. A comparison involving two test sets also reflects differences in which ads were selected and how their labels were obtained.

For the update experiment, the paper reports a reduction in ordinary zoning error of 0.7 points for BERT-de and 0.6 points for GBERT on the newer test set. The adapted versions gain more from the same update. Ordinary error falls by 1 point for jobBERT-de and 1.1 points for jobGBERT. In this experiment, pretraining on job ads and adding newer labeled examples work together. The former gives the system more exposure to how the domain is written. The latter gives it supervised examples of how zone definitions apply to ads from the more recent period.

The evidence also has a specific implication for balanced accuracy. The adapted version of BERT-de shows a particularly large gain in balanced accuracy after the update, as the newer-test chart shows. The amount by which it benefits depends on the metric. A system can improve at recovering categories that contribute little to the total token count, so ordinary accuracy and balanced accuracy can move by different amounts. The label distribution is therefore part of the explanation for why the two measures respond differently to the same training change.

Which tokens benefit from vocabulary insertion

The vocabulary analysis groups zoning tokens according to whether the jobBERT-de vocabulary addition affects them. In the setting with updated training data and the newer test set, the paper reports that 15% of tokens are affected by the new entries. For that group, adaptation improves accuracy by 3.5%. For the other 85%, the reported improvement is 3.7%. Gains of this size across both groups make vocabulary insertion an insufficient explanation on its own for jobBERT-de's larger zoning improvement.

The authors also look at the corresponding token groups under GBERT's adaptation, which retains its original inventory. The reported accuracy improvement is 0.5% for the domain-token group and 1.1% for the other tokens. The authors interpret the difference in how the domain group responds under the two recipes as evidence that adding vocabulary can help represent important job-ad expressions. One way to read the two analyses together is that better treatment of particular domain terms can be valuable even when most of the aggregate improvement is spread more widely across the text.

There is a distinction between the token grouping and a direct intervention on the vocabulary. Grouping by which tokens use the new entries shows where gains occurred after the full BERT-de adaptation procedure. It compares tokens used in different contexts and begins from two separately pretrained systems when GBERT enters the analysis. It gives evidence about the distribution of the benefits. To isolate the vocabulary choice itself, a comparison would need otherwise identical continued BERT-de training with the added entries switched on in one case and omitted in the other.

Less frequent labels and harder decisions

The paper finds that adaptation tends to have a larger effect on balanced accuracy than on ordinary accuracy in zoning. It reports an average relative improvement for jobBERT-de over BERT-de of 4.1% in balanced accuracy and 2.1% in ordinary accuracy. For jobGBERT over GBERT, the reported averages are 1.4% and 0.4%, respectively. Giving each zone equal weight reveals gains that receive less weight when the result is driven by the most common tokens in the collection.

The per-zone results on the original test set show the scale of the imbalance. Descriptions of the job account for 32.4% of the tokens, while reasons for a vacancy account for 0.5% and descriptions of employment agencies for 0.7%. The reported recall for job descriptions is 0.929, compared with 0.768 for vacancy reasons. Employment-agency descriptions have recall of 0.860 and precision of 0.760. Rare labels present different kinds of difficulty. Some have many missed instances, while for others the classifier's predicted instances include a larger share of mistakes. Equal weighting makes each of those categories visible in the aggregate recall measure.

The authors explain the pattern by pointing to the shortage of labeled examples for minority categories. Their interpretation is that useful pretrained representations matter more when supervised data supplies fewer instances of a distinction. The study gives a second indication in document classification, where adaptation yields the largest gain for main task. The authors cite annotator agreement as another sign that the tasks differ in difficulty. Krippendorff's alpha is 0.93 for experience requirements and 0.75 for main task. The paper reports 0.75 on a related profession classification task with finer categories. That profession figure concerns the related task, instead of the precise profession scheme used in the test results.

Agreement measures how consistently people applied a labeling scheme. Lower agreement can reflect the need to interpret a description or to choose among plausible categories even when the ad is understood. Together with the lower classifier performance, the figures help explain why main-task classification is singled out. The evidence supports a task-specific observation: the classification problem the authors regard as hardest also shows the largest balanced accuracy gain from their adaptation. The results leave open how well that relationship carries over to other definitions of difficulty or other kinds of extraction.

Reducing the label budget for ICT recognition

The labeled-data ablation varies the size of the ICT training sample while keeping the end task the same. With BERT-de as the starting point, the benefit of domain adaptation becomes more pronounced as the labeled collection shrinks. Exposure to job ads before the recognizer sees its labels is especially helpful to this starting point when the supervised examples cover less of the domain. The effect appears within a data collection intentionally built to include both specialist and ordinary usage.

The GBERT comparison goes in a different direction. The adapted checkpoint remains ahead, while the gap between it and its original counterpart becomes smaller with fewer labels. General-purpose GBERT also overtakes jobBERT-de on the smaller samples. The paper concludes that GBERT's larger general pretraining corpus is an asset in this low-label setting. The two comparisons reveal that the size of the benefit from adaptation depends on what the starting checkpoint already brings to the task. Having fewer labels does not have a uniform effect on that benefit.

The spread across runs affects the reading of this result. The gap between two averages can shrink at the same time as one system's results grow less predictable. In the smallest ICT training condition the general-purpose GBERT runs span a relatively wide range, while jobGBERT gives more stable results. The comparison therefore supplies evidence about reliability as well as the mean. On this dataset, strong general pretraining supports competitive recognition with few labels, and its combination with continued job-ad training gives the leading result across the reduced training conditions.

Limitations

Limits identified by the authors

The authors explicitly caution about the newer zoning test set. Its labels were made by human post-correction of initial predictions from jobBERT-de. Even with corrections, the starting suggestions could influence what annotators accept or where they place a boundary. This matters especially because jobBERT-de is the strongest performer on that test set. The authors judge that its advantage over BERT-de is likely larger than the possible bias, while the experiment supplies no independent measurement of how large that effect is. The measured ranking belongs to the test set as annotated.

The authors also limit the claim they draw from vocabulary insertion. They regard the new entries as useful for representing domain-specific words and fragments. Their token analysis shows similarly sized gains for the tokens that use the inserted vocabulary and for the remaining tokens under jobBERT-de. The main evidence for domain adaptation is the observed benefit of the full additional training procedure. The aggregate increase cannot be assigned mainly to the insertion step on the basis of the reported grouping.

The conclusion leaves systematic hyper-parameter search during task fine-tuning and ensemble methods for future work. A hyper-parameter search tries alternative training settings, and an ensemble combines multiple systems' predictions. The reported comparisons describe the chosen training procedures, which mostly follow the implementations and prior settings cited in the paper. They give a practical comparison for those procedures and leave open how the ranking or scores might change under independently optimized configurations.

The paper treats domain data and computational resources as part of the choice of strategy. It evaluates continued pretraining, drawing on two general German starting points, and discusses training from scratch as an approach tested in other domains. Its claims of efficiency come from the performance achieved with a much smaller amount of additional relevant text and from comparisons with the more extensively pretrained GBERT starting point. The result is specific to the resources and recipes studied.

Limits visible in the comparisons

The clearest test of continued pretraining is a comparison between the original and adapted versions of the same checkpoint on the same end task. Even there, adaptation for BERT-de includes a vocabulary change alongside the training. Comparing the sizes of the gains for the two base systems adds other differences. GBERT has a larger general training corpus and uses whole-word masking in its initial pretraining. The continued-pretraining settings also differ. Thus the study supports a choice between working recipes and gives a weaker basis for identifying which factor drives the difference in gains.

The temporal experiments evaluate a specific form of shift. The older and newer test sets contain different documents. The drop, stability, or improvement across them reflects their content and label mix together with the training history and annotation procedures. The fixed newer test set makes the labeled-update experiment easier to interpret, but the update adds both genuinely newer examples and extra weight on those examples through repetition. The reported intervention is the package of newer labels at that weight. A separate comparison would be needed to estimate the benefit of repetition on its own.

There is also a difference between the age of the labeled training data and the age of the text encountered in pretraining. The original zoning train split runs through 2014, while the job-ad pretraining strategy draws from online and historical sources that include recent material. The time-split zoning result evaluates transfer from older labeled data, with varying exposure to job-ad text in pretraining. It does not establish how a system trained only on texts available before the newer period would have performed when that period arrived. This matters if the intended claim is prospective forecasting rather than extraction from a collection already available to researchers.

For the document experiments, the paper supplies the split proportions and task inventories. The explicit test across periods is the zoning experiment. The same size and direction of time-shift effects cannot be assumed for profession, main-task, or experience classification. ICT recognition includes year stratification and documents large vocabulary changes over time, but the reduced-training experiment primarily compares label budgets. It does not supply the same old-to-new evaluation used for zoning.

The ICT sample itself puts limits on the scope of its score. It deliberately enriches the data with ICT-heavy and moderately ICT-oriented ads, and the labeling focuses on job descriptions and hard-skill requirements. An F1 score on that benchmark reflects performance on the sampled mix and the selected stretches of text. Searching entire ads in the proportions found in a particular yearly labor-market sample could change the balance of true terms and false predictions. The paper also evaluates ICT recognition in the selected material, rather than measuring how errors in automated zoning affect term recognition when the tasks are run in sequence.

Balanced accuracy is informative about infrequent categories, but an average over classes cannot identify every source of the improvement. The per-zone results help by showing high- and low-frequency zones and some of their different error profiles. The paper's attribution of the effect chiefly to minority-class recall is an interpretation of the aggregate and per-zone evidence. There is also an inconsistency in the identification of the checkpoint behind the per-zone table. Its caption names jobBERT-de, while the caption's original-test aggregates of 0.916 accuracy and 0.880 balanced accuracy match the jobGBERT row in the main zoning table. The zone table still describes the imbalance and reports scores by category, but the attribution of those scores to a specific checkpoint is uncertain.

Finally, the evaluation measures extraction outputs, while the project motivation is to study labor demand over time. A lower tagging error rate makes those outputs more promising for research. The paper does not quantify how the remaining errors would affect a particular estimate of occupational or skill trends. Rare classes, changing vocabulary, and differences between publication channels can matter differently depending on what a researcher wants to count. The experiments establish performance for the Swiss German-language job-ad tasks and splits they define. Applying the same procedure to other labor markets, languages, or annotation schemes remains an empirical question.

What came after

Fine-tuning Large Language Models with Limited Data (2026) cites the paper in a survey and practical guide about learning with limited task data. The job-ad study addresses that issue directly through the ICT experiments that reduce the number of labeled training ads and the zoning experiments that add a small group of recent labels. Those comparisons give two ways to think about a limited annotation budget. One asks how far a recognizer can get with fewer examples of the same task. The other asks whether labels from a period that is poorly represented in training have particular value. The citation establishes a connection to the survey's subject. It leaves open which findings or settings the guide discusses in detail.

UniSkill (2026) cites the study in work presenting a dataset for matching university curricula to professional competencies. The job-ad paper works on the employment side of a related problem. It separates skill requirements from other text in a vacancy and identifies individual technology expressions in the relevant passages. UniSkill's stated task links competencies to educational material. The relationship is therefore between recognizing particular requirements in employment text and representing competencies for a match across sources. The citation establishes that the dataset paper draws on the earlier study as related work. It leaves open whether UniSkill reuses its advertisements, annotations, or adapted checkpoints.

Cite

Cite as Ann-Sophie Gnehm, Eva Bühlmann and Simon Clematide. 2022. Evaluation of Transfer Learning and Domain Adaptation for Analyzing German-Speaking Job Advertisements. Proceedings of the Thirteenth Language Resources and Evaluation Conference.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{gnehm2022evaluation,
  title = {{Evaluation of Transfer Learning and Domain Adaptation for Analyzing German-Speaking Job Advertisements}},
  author = {Ann-Sophie Gnehm, Eva Bühlmann and Simon Clematide},
  booktitle = {Proceedings of the Thirteenth Language Resources and Evaluation Conference},
  year = {2022},
  doi = {10.63317/3445u3ggqr5z},
  url = {https://doi.org/10.63317/3445u3ggqr5z}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/gnehm-2022-evaluation-transfer-learning-domain-adaptation/