Kompetencer: Fine-grained Skill Classification in Danish Job Postings via Distant Supervision and Transfer Learning
Paper · 2022 · Mike Zhang, Kristian Nørgaard Jensen and Barbara Plank
Summary
A job ad can name a subject applicants should know, describe a task they should be able to perform, and ask for a particular way of working. Turning those descriptions into categories makes it possible to compare the requirements of different jobs even when employers use different words. Kompetencer studies how to make that comparison for Danish job ads. The authors create a dataset in which people mark the exact phrases that express skills or knowledge, then train classifiers to assign those phrases codes from ESCO, a European taxonomy that connects competences with occupations. A phrase can contain another annotated phrase. In the paper’s data modelling example, the subject someone needs to know sits inside a longer description of how they would use that knowledge.
The authors obtain training labels by looking up each annotated phrase in ESCO. They filter the returned entries by competence type and pick the one whose wording requires the fewest character edits to match the phrase. This use of an external resource to generate training labels is called distant supervision. Human checks show that the lookup offers a starting point with uneven reliability. It assigns the correct label to 41.3% of a checked subset of English phrases and 70.4% of the Danish training phrases. On the Danish test set, 14.1% of the initial labels are correct. The authors manually correct that set to give the Danish experiments a human-reviewed reference. The English test set retains its automatically assigned labels.
RemBERT, a multilingual encoder, achieves the strongest result on the Danish test set among systems trained for the task only on English examples. It averages 0.354 ±0.021 weighted macro-F1, a measure that combines performance across categories while giving more weight to categories with more test examples. The best result overall comes from training RemBERT on English and Danish examples together. With 10 Danish training ads alongside the English training set, it reaches 0.472 ±0.014 on the same test set. A separate comparison shows that continuing the pretraining of a Danish BERT encoder on Danish job ads raises its score from 0.199 ±0.058 to 0.395 ±0.021 when both versions train on the same small Danish set.
These results apply to the task of categorizing phrases whose boundaries people have already marked. The classifier sees the phrase itself. The English-only RemBERT frequently confuses attitudes with a broad category that includes communication and collaboration, and the authors’ examples show why the surrounding sentence might matter. The system trained on both languages handles attitudes better in the runs examined, while some skill categories remain difficult to distinguish. The study thus provides a Danish benchmark for assigning taxonomy codes and shows how much the choice of training data can affect that particular step.
Deep dive: Kompetencer: Fine-grained Skill Classification in Danish Job Postings via Distant Supervision and Transfer Learning
Kompetencer tests how to classify skills in Danish job ads using a European taxonomy, English training data, and a small Danish sample. · about 35 minutes to read
The problem and its context
Finding a requirement and deciding what it means
A vacancy is written for a reader who can interpret its requirements in context. An employer can refer to a subject by name, describe what someone will do with it, or express a requirement through a description of how the person should work. That flexibility makes ads informative to readers and difficult to compare systematically. The paper gives two reasons to make such comparisons possible. Job ads can reveal which competences employers are looking for, and a shared description of those competences can help match a job with someone who has the relevant abilities.
These applications involve different questions about the same text. One question is whether a sentence contains a skill. Another is which part of the sentence expresses it. A further question is which category best describes the requirement found there. The first can be answered with a judgment about the sentence as a whole. The second needs a location in the text. The third needs a vocabulary of categories and a decision about the meaning of the marked words. Finding and typing spans are closely related problems in information extraction.
Kompetencer fixes the location of each competence before attempting the category decision. An example in the experiments is a stretch of text that an annotator has marked as a competence, known as a span. The classifier receives that stretch and assigns an output code. Each code identifies a category used in the paper’s version of the task. The design makes it possible to study classification errors without also counting errors in the location of the phrase. It also gives a precise meaning to a correct prediction. The assigned code must agree with the reference code for that span.
A vacancy can contain requirements that belong to several parts of the taxonomy. A single label for the ad would give the reader little indication of which words support a category or which other requirements appear beside it. Span-level classification preserves that distinction. The same ad can contribute a reference to a body of knowledge and a description of how an employee will use it. Each becomes its own classification example, even if the phrases overlap in the original text.
This distinction also matters when a requirement is expressed indirectly. The work someone is expected to do could be described in ordinary prose rather than named with the preferred terminology of a taxonomy. Once the relevant words have been located, the classification problem is to decide which category they express. A system that finds a likely competence has completed one step. A system that gives it a code performs an additional judgment that can be evaluated independently.
What counts as a competence
The paper uses ESCO as the common vocabulary. Its distinction between knowledge and skill is important because ordinary descriptions of jobs can call both of them skills. Someone can learn Python, for example. In the paper’s terminology, the programming language in that example is a knowledge component. Applying what someone knows to complete a task is a skill component. The category depends on what the phrase expresses. The same subject can occur within a description of a skill and also be annotated as something the applicant should know.
The authors treat attitudes as part of the broader skill side of the annotation scheme. A description of working independently or with a team can indicate an ability related to how a person works with others. It is still a competence even though it does not name a technical subject. In the other direction, the authors treat languages as knowledge in their span annotation because people can learn them. The fine-grained classification inventory can then distinguish languages with a dedicated code.
The paper’s data modelling example makes the distinction concrete. It presents an activity involving guidelines for data modelling. Data modelling names the learnable subject inside that activity. The wider expression describes what the employee does with the guidelines. Both are relevant, and the wording that names the subject is already contained in the wording that describes the task. The dataset permits this nesting. An annotation scheme that made the two spans mutually exclusive would force the annotator to discard one of the distinctions the authors want to preserve.
The relationship between the broad and fine-grained labels is central to the study. A person marking an ad first needs to recognize and delimit the kind of competence being expressed. That person can complete the span annotation without deciding which ESCO category it belongs to. The code used for classification is added later. The term fine-grained therefore refers to a finer distinction than the starting distinction between skill and knowledge. The paper’s classification targets include categories such as management, attitudes, and arts and humanities. The unit of prediction is one of these codes, even though the lookup service can return named entries for more specific competences.
How the paper situates earlier work
The authors describe earlier skill identification research as addressing several kinds of prediction. Sayfullina and colleagues and Tamburri and colleagues are examples of work concerned with deciding whether a sentence contains a skill. The paper describes Bhola and colleagues as inferring required skills from the full vacancy. Those tasks begin at a different point from the one isolated in Kompetencer. A sentence-level decision can establish that a requirement occurs, while leaving its exact boundaries and kind undetermined. An ad-level prediction can express something about the vacancy without connecting it to a particular phrase.
The paper also describes approaches that classify or organize the requirements they find. Several earlier studies used exact matching against an existing list. This makes the vocabulary explicit and gives a straightforward account of why an item matched. It also places considerable weight on whether the words in the ad happen to match the list. The approach attributed to Gardiner and colleagues starts with the frequencies of skills, groups them manually, and gives the groups more general categories. In that case, categories help organize the material after it has been collected.
There were also earlier uses of ESCO or related resources. The paper mentions Giabelli and colleagues in that context and describes a study by Boselli and colleagues in more detail. The latter assigned an ISCO code using the title and description of an ad. ISCO is an occupational classification on which ESCO partly draws. An occupational code for a vacancy answers a useful question about the job, but the output is one label for the posting. Kompetencer asks about the multiple demands that can appear within that posting, with separate decisions for separately marked phrases.
The authors describe direct classification of identified skill and knowledge spans into ESCO categories as an underexplored task. Their account also emphasizes the focus on English ads in the prior research closest to their problem. A vacancy written for a local labour market uses the language of that market. A system trained on English examples would therefore need some way to carry its classification decisions across languages if it were to help with Danish ads. Collecting and categorizing Danish examples is another route, with its own annotation demands. This is the setting for the paper’s study of multilingual and cross-lingual NLP.
Kompetencer brings the language question and the category question together. It uses the same broad annotation guidelines for English and Danish, assigns training codes from a common taxonomy, and compares training with English examples, Danish examples, or both. The common output vocabulary gives the cross-language experiment a well-defined target. A phrase can change language while the category the classifier is expected to predict stays the same.
The method, step by step
Mark the competence in the ad
The starting material is a collection of vacancies in English and Danish. The English span annotations come from SkillSpan, and the Danish spans are marked using the same guidelines. What the annotator supplies is a type and a location in the text. The location determines which words form the example. The type records whether those words express a skill or a knowledge component. This is the initial stage of linguistic annotation.
The annotator has access to the ad when deciding what to mark. The classifier later receives the words inside the chosen span. These different views of the text are worth keeping separate. The longer vacancy helps a person decide what an expression refers to and where it begins and ends. The extracted expression is the unit on which the classification experiment is run. A correct decision about the span boundary supplies a clean input, even if the boundary leaves useful clues outside it.
Nested spans are carried through as separate examples. In the data modelling passage, the annotation can preserve both the knowledge component and the larger activity. Extracting each as its own span means the longer activity will still contain the words that name the subject. The shorter span will contain the subject alone. This gives the category procedure different inputs for requirements that share words and avoids treating an overlap as a reason to keep only one annotation.
The authors report agreement for the English span annotation on material covering around 57.5K tokens, roughly 4.6K sentences, and 101 job ads. They use Cohen’s κ for pairs of annotators and Fleiss’ κ to assess agreement among the three annotators. These statistics take agreement expected by chance into account. Their token-level comparison includes words outside marked spans. A separate comparison checks whether annotators choose the same exact span boundaries, setting aside the assigned skill or knowledge type. The reported Fleiss’ κ for the two comparisons lies between 0.70–0.75, which the paper interprets as substantial agreement. One annotator marks the Danish skill and knowledge spans using the shared guidelines.
Agreement at this stage concerns what people find and how they mark it. It is distinct from the later audit of taxonomy codes. Several annotators can agree that a particular phrase is a competence while a lookup service still gives that phrase the wrong fine-grained category. The study tracks these sources of quality separately. It evaluates agreement about span annotation in the English material and checks the correctness of automatically assigned categories in each language.
Turn the phrases into training examples
ESCO supplies candidate entries through its application programming interface, or API. The authors send the text of an annotated span as the search query. The service returns candidate competences. The annotation supplies a constraint on which candidates to keep. If the span was marked as knowledge, for example, the system restricts the comparison to results of the requested type. That gives the human annotation a direct role in constructing the training labels.
The authors then select a candidate by Levenshtein distance. This is a measure of how many single-character insertions, deletions, or substitutions are needed to change one string into another. Identical strings have distance zero. Spelling and wording that are close tend to have smaller distances than wording with little in common. A low distance measures resemblance between the strings. Whether the phrases express the same competence is a separate question, and the authors assess it by checking the assigned labels.
The lookup algorithm examines up to the top 100 returns. After filtering by type, it tracks the best eligible result found so far. At the beginning the best distance is set to infinity and there is no retained candidate. Each eligible result is compared with the query. An exact match can be returned immediately. A candidate at a strictly smaller distance replaces the current choice. The strict comparison means ties among nonexact candidates leave the earlier candidate in place. If the search has no eligible candidate, the procedure has no result to return. The paper gives no distance threshold for rejecting an otherwise eligible nearest candidate.
The candidate comparison and the immediate-return condition can be written as follows.
D = levenshtein(x, Skill)
Here D is the distance for the current candidate, and levenshtein is the character edit distance operation. The argument x represents the text of an eligible ESCO result. Skill is the name the pseudocode gives the query span, including when the requested type is knowledge. The equality assigns the computed distance to D.
D = 0
This is the exact-match condition in the lookup procedure. D is again the distance between the current candidate’s wording and the query, and 0 means that there are no character edits between them. The equality in this condition tests whether an exact match has been reached.
D < d
Here d is the best distance encountered so far, and < means that the current distance D is strictly smaller. If the condition holds, the procedure saves the current candidate as r, its retained result, and updates d to the new distance. If the loop ends without an exact match, the procedure returns the retained r.
The selected entry provides the taxonomy code used as a target. For instance, the appendix identifies S4 as the category for management and K02 as the category for arts and humanities. These codes describe categories of competences, so several different named entries can map to the same code. A1 represents attitudes, A2 values, and L1 languages. Some outputs require a different interpretation. K99 represents an unknown field in the code inventory, and the authors report assigning it to English cases their lookup did not identify. They also record 0000, K?, and S? as artifacts returned by the lookup and leave those artifacts in the relevant data. A label can therefore describe a category, or record a problem in obtaining one.
This arrangement is the distant supervision step. An already available resource generates fine-grained targets for phrases that people have marked. The resulting labels are called silver because they are used as supervision without carrying the authority of a fully corrected reference. A query can obtain a good candidate, an inappropriate candidate, or no useful result. The method can still create training material across many marked phrases without requiring people to assign a code to each one by hand.
The authors check the generated labels against human judgments. They inspect a subset of the English labels and preserve the automatically assigned labels there, even after inspection. They report the quality of the generated Danish training labels and use them for training. For the Danish test set, they correct the generated labels to create a gold test set. In the terminology of the paper, gold denotes the human-corrected reference. This gives the main Danish scores a different basis from the scores on English, where the held-out labels are silver.
From a job advertisement to a scored classification
The steps in order.
Define what the classifier sees and predicts
The paper formulates the task as text classification. The distinction between an ad and a span matters in the notation. A posting provides a set of training or evaluation examples, and a span provides the text of one example. The input consists of the tokens inside that span. A token is a unit into which the text has been divided for processing. In this dataset, some spans consist of a single token and others contain enough words to describe a short activity.
d ∈ D
In the task formulation, D denotes the collection of job postings. It has a different meaning from the distance variable in the lookup pseudocode. The symbol d is one posting, considered through the collection of spans extracted from it, and ∈ means that it belongs to D.
Xᵈᵢ = {x₁, x₂, …, xₜ}
Here Xᵈᵢ denotes the span at index i in posting d. Each x is a token, and its subscript gives its position in the span. The ellipsis stands for the intervening tokens, and the final subscript ₜ represents T, the span length. The braces follow the paper’s notation for gathering the tokens of the span. Their indices describe the order of the phrase. The equality defines the input through its constituent tokens.
c ∈ C
The symbol c denotes the category assigned to a span, C is the class inventory, and ∈ means that a target belongs to that inventory. Each example in the classification task has one target code.
C = {S*, K*}
Here the equality defines C as the class set in the authors’ shorthand. S* stands for taxonomy-dependent skill labels and K* for taxonomy-dependent knowledge labels. Each asterisk indicates variable code detail, and the braces enclose the families of targets. The appendix gives the concrete inventory, including separately named codes for attitudes, values and languages, along with the lookup artifacts.
h : X → C
The symbol h is the learned classifier. X denotes its input space of extracted spans, and C denotes its possible outputs. The colon introduces the mapping’s type, and the arrow points from the inputs to the class set. For a particular span, the desired output is its category c. The encoder reads the span, and a final softmax layer turns class scores into probabilities over the alternatives. The classification decision is a single output code.
This formulation puts the words inside the annotation to work in two different ways. During data construction, the words are a query whose nearest eligible match yields a target. During training, those same words are input to a classifier learning to predict the target category. At evaluation, the classifier predicts from the span. The human-corrected Danish reference then judges its answer. Since the lookup supplies the training signal and the trained classifier supplies the test predictions, a lookup audit and a classifier score answer different questions.
Choose where the language and domain experience come from
An encoder turns text into numerical representations that the final classifier can use. The paper starts from encoders that have already been pretrained on text, then uses labelled span examples for fine-tuning. Fine-tuning updates a pretrained system for a particular task. Here the supervision tells it which ESCO category to predict from each span. The experiments vary both the starting encoder and the languages represented in this supervised step.
BERT base is the English starting point. JobBERT is its job-domain counterpart, obtained by continuing pretraining on 3.2M English job-ad sentences. This stage is called domain-adaptive pretraining. Its purpose is to expose an encoder to the sort of language it will encounter when it classifies vacancy text. The job-ad sentences used at this stage supply text for the pretraining objective. The fine-grained span labels enter through the separate task-training stage.
The Danish comparison starts from DaBERT, the baseline encoder for Danish. The authors create DaJobBERT by continuing pretraining from the DaBERT checkpoint on 24.5M Danish job-ad sentences for one epoch, meaning one pass through that collection. They use the masked language modelling objective for this Danish adaptation. In that objective, the text itself supplies supervision by giving the encoder hidden tokens to predict. Exposure to Danish vacancy text can therefore happen without people supplying taxonomy codes for the sentences used in continued pretraining.
RemBERT provides a multilingual starting point. The paper uses it to examine whether an encoder pretrained across languages can support Danish classification when supervised training examples are scarce. The authors train it on English examples alone, on Danish examples alone, and on both together. Those settings distinguish the language experience acquired in pretraining from the examples used to learn the particular classification task.
The distinction is especially important for the term zero-shot. In this experiment it means that the classifier has had no labelled Danish examples during fine-tuning or checkpoint selection. The term does not describe the pretraining corpus as Danish-free. Indeed, the authors point to the inclusion of Danish in RemBERT’s pretraining as a possible reason it can transfer the classification task. The same test condition is applied to the English BERT and JobBERT systems trained on English examples. In the few-shot condition, the supervised training includes the small Danish set, either on its own or alongside English. This is the paper’s use of few-shot learning.
Keep training, selection, and testing distinct
The authors split the data by ad. The English training split has 290 ads with 9,472 skill and knowledge components, the development split has 51 ads with 1,577 components, and the test split has 50 ads with 1,578 components. The Danish training split has 10 ads and 138 components. Its test split has 50 ads and 782 components. Grouping by ad keeps the spans from a held-out vacancy together. A posting can contain several related examples, so the count of spans and the count of ads describe different aspects of the evaluation.
The English development set is used to choose the best checkpoint for every training arrangement. That includes classifiers fine-tuned only on Danish. The development criterion is therefore shared across comparisons, with English examples and silver labels supplying the selection signal. The Danish test set is reserved for the final score. For the English-only setups, this arrangement keeps labelled Danish examples out of both task training and checkpoint selection. For the Danish-only setups, it means that the checkpoint selected for Danish testing is chosen by performance on a different language.
The authors use the MaChAmp toolkit, version 0.3, for span classification and report using its default hyper-parameters. The appendix lists AdamW as the optimizer, dropout of 0.2, a batch size of 32, a learning rate of 1e-4, and 20 epochs among the settings. Each experiment is run with five random seeds. A seed fixes choices that would otherwise vary randomly during a run. Repeating the experiment allows the authors to report how much the score varies under the same nominal training setup.
The Kompetencer release includes Danish span annotations and anonymized raw material for the parts that can be released under their licences. The authors trace the Danish data to their work with Denmark’s Agency for Labour Market and Recruitment. They describe manual annotation of organizations, locations, contact information, and names for anonymization. They identify SkillSpan as the source of the English annotations. The separate treatment of the release matters because access to annotations and permission to publish the underlying vacancy text are different matters.
Experiments and results
What is in the evaluation
The annotated corpus contains 391 English ads and 60 Danish ads. The English portion has 14,538 sentences and 232,220 tokens, with 6,576 skill spans and 6,053 knowledge spans. The Danish portion has 1,479 sentences and 20,369 tokens, with 665 skill spans and 255 knowledge spans. These are counts for the annotated collections. The training and test counts are reported separately because the comparisons use particular groups of ads within those collections.
The English collection has more examples, and knowledge makes up a smaller share of the Danish annotations than it does in English. Span lengths are broadly similar. The mean skill span length is 3.97 tokens in English and 3.71 in Danish. Mean knowledge span length is 1.80 in English and 1.73 in Danish. The median skill span is 4 tokens in English and 3 in Danish. The median knowledge span is 1 token in each. The paper’s reported 90% skill-span intervals are [1, 9] in both languages. The corresponding knowledge intervals are [1, 5] for English and [1, 4] for Danish. This mix gives the classifier both compact names and longer expressions of an activity.
A separate set of figures measures the quality of the labels coming out of the ESCO lookup. In English, the authors inspect 2,622 generated labels and judge 41.3% of them correct. They also report an English missing-label rate of 7.4% for the pool described in their annotation discussion. For the Danish training set of 138 components, they report 70.4% correct labels and 20.2% missing labels. On the Danish test set, the lookup initially gives the right label for 14.1% of spans and fails to supply a label for 23.5%. The authors then correct the Danish test labels. These percentages describe the data construction step, before any trained classifier is scored.
The English and Danish classification tests each have 50 held-out job ads. Their labels answer different evaluation questions. The English test set shows how well the systems reproduce the silver category assignments on new English ads. The Danish test set measures agreement with human-corrected ESCO codes on new Danish ads. Comparing two training settings on the same Danish test set keeps the reference fixed. Comparing a score on English with a score on Danish changes the input language, the selection of spans, and the way the reference was established.
How to read the scores
The paper reports weighted macro-F1. F1 combines precision and recall. Precision for a category concerns how frequently predictions of that category are correct, and recall concerns how frequently examples of that category are recovered. The weighted score combines the category-level F1 scores, giving categories with more reference examples greater influence. This provides a single measure for the test set while retaining sensitivity to the distribution of its categories. An improvement in a common category can matter more to that score than an equally clear improvement in a much less common category.
The figures show means across five runs with different seeds, together with their standard deviations. The mean summarizes the scores obtained by a training arrangement. The standard deviation indicates how spread out those runs were. A small spread helps interpret whether the mean reflects a fairly consistent result across seeds. These repeated runs use the same held-out ads, so the spread addresses variation from running the training again on this setup. It does not measure variation across new collections of vacancies.
The authors supplement the aggregate scores with pairwise Almost Stochastic Order tests. This method compares sets of scores over runs and reports a distance, written ϵₘᵢₙ, from a dominance ordering. In the paper’s convention, the direction matters. A is the first system in the comparison, and B is the second.
ϵₘᵢₙ = 0.0
ϵₘᵢₙ is the test-specific distance, and = states that the result has the value 0.0. At this value the paper says A can be declared stochastically dominant over B at the chosen significance level.
ϵₘᵢₙ < 0.5
The less-than sign places ϵₘᵢₙ below 0.5. The paper uses this condition for almost stochastic dominance in the direction from A to B, denoted A ⪰ B. The symbol ⪰ gives the direction of the ordering.
ϵₘᵢₙ = 0.5
When the distance equals 0.5, the paper says the test yields no ordering. The symbol on the left is the same distance statistic for the two systems.
ϵₘᵢₙ = 1.0
At 1.0, the paper gives the reverse ordering, B ⪰ A. Here B is the second system, and A is the first.
α = 0.05
α denotes the significance level used for the comparisons. The authors start with 0.05 and apply the Bonferroni correction to account for making comparisons across many pairs. The corrected tests and the ranking of mean scores are reported separately. A higher mean is an observed ranking on the benchmark. The pairwise test adds a judgment based on the scores across runs.
English training and the English benchmark
The three English-only systems are close on the English development set. BERT base scores 0.628 ±0.004, JobBERT scores 0.628 ±0.006, and RemBERT scores 0.629 ±0.003, all in weighted macro-F1. RemBERT trained on English and Danish also records a development mean of 0.629, with a standard deviation of 0.006. The similarity of the English-trained systems on the development split is useful context for the transfer experiment. Their performance on the training language gives little indication of how widely they will separate on the Danish test.
English-only training on the silver English test set
JobBERT has the highest weighted macro-F1 among systems fine-tuned only on English.
The numbers
| System or setting | weighted macro-F1 |
|---|---|
| BERT base, English | 0.632 |
| JobBERT, English (this paper) | 0.644 |
| RemBERT, English | 0.637 |
On English test, BERT base records 0.632 ±0.007, JobBERT 0.644 ±0.006, and English-only RemBERT 0.637 ±0.007. RemBERT trained on both languages obtains 0.643 ±0.006 on that same silver reference. JobBERT has the highest reported mean. In their discussion of the ordering tests, the authors report an English test comparison of JobBERT with English-only RemBERT at ϵₘᵢₙ of 0.03, in JobBERT’s favour. The mixed-language system’s mean is close to JobBERT’s, which is another reason to distinguish rankings from the size of an observed separation.
English test scores are much lower for the systems fine-tuned only on Danish. DaBERT records 0.076 ±0.012, DaJobBERT 0.096 ±0.024, and Danish-only RemBERT 0.098 ±0.040 in weighted macro-F1. The latter two are close in mean, and their run-to-run spreads differ. These results describe what the Danish-only training arrangements do on the English silver benchmark. The tested Danish-only systems also have a much smaller supervised training set than the English-only systems, so the comparison in this direction concerns the complete training arrangements.
Danish test without Danish task examples
The English-trained BERT base reaches 0.038 ±0.008 weighted macro-F1 on the Danish gold test set. JobBERT reaches 0.063 ±0.005. These systems bring substantial English task supervision to Danish, with JobBERT also bringing prior exposure to English vacancy text. Their low Danish scores show that performance on the English benchmark is a poor guide to Danish transfer for these encoders.
English-only RemBERT reaches 0.354 ±0.021 on the same Danish gold test set. The authors report that it significantly outperforms the other zero-shot systems. Its mean also exceeds that of the Danish DaBERT baseline, which has access to Danish task examples. The paper attributes the multilingual encoder’s performance provisionally to the presence of Danish in its pretraining data. The evidence establishes a strong difference between the tested encoders under English-only task training. The role of any one property of their pretraining remains a question about the cause of that difference.
Zero-shot transfer on the gold Danish test set
RemBERT transfers English task training to Danish much more successfully than either English BERT encoder.
The numbers
| System or setting | weighted macro-F1 |
|---|---|
| BERT base, English | 0.038 |
| JobBERT, English | 0.063 |
| RemBERT, English (this paper) | 0.354 |
Zero-shot transfer is valuable here because it can use the larger English collection without first creating Danish task labels. The chart gives that claim a specific scope. All the systems still depend on supplied Danish span boundaries at test time. All were trained to predict codes from the common taxonomy, and their Danish predictions are scored against the same corrected labels. The observed advantage belongs to RemBERT in that classification experiment.
Danish test with a small Danish training set
DaBERT, fine-tuned on the 10 Danish training ads, reaches 0.199 ±0.058 weighted macro-F1 on the Danish test. DaJobBERT uses the same small supervised split and reaches 0.395 ±0.021. Danish-only RemBERT records 0.166 ±0.141. The relatively large spread of the Danish-only RemBERT result is important when interpreting the ordering. The mean summarizes outcomes that vary considerably across runs on the same setting.
RemBERT trained on both English and Danish achieves 0.472 ±0.014 weighted macro-F1. This is the highest reported result on the Danish test, and the authors report that it significantly outperforms all other systems there. It is also the best Danish result across the few-shot settings. The chart collects the arrangements that had access to the small Danish set. The following section looks at which comparisons hold enough of the setup fixed to say more about the sources of improvement.
Few-shot training on the gold Danish test set
RemBERT with both English and Danish training has the highest score, followed by domain-adapted DaJobBERT.
The numbers
| System or setting | weighted macro-F1 |
|---|---|
| DaBERT, Danish | 0.199 |
| DaJobBERT, Danish | 0.395 |
| RemBERT, Danish | 0.166 |
| RemBERT, English and Danish (this paper) | 0.472 |
The best zero-shot and few-shot results come from the same multilingual encoder under different training conditions. The zero-shot run learns the category prediction task from English. The mixed condition uses the same English data and adds the Danish examples. DaJobBERT illustrates a second way to improve the Danish score. It gains exposure to vacancy language through additional pretraining and learns the classification task using the small Danish silver set. The results support both routes within the tested setups.
What the ablations show
Additional pretraining helps when its language matches the task
The paper offers controlled comparisons of training arrangements and starting checkpoints, along with analyses of lookup errors and predicted categories. The closest comparison for domain adaptation is DaBERT against DaJobBERT. The latter starts from the former’s checkpoint, receives additional pretraining on Danish vacancy text, and is then fine-tuned on the same Danish data. Both are tested on the same corrected Danish spans. On this setup, the domain-adapted checkpoint improves the mean from 0.199 to 0.395 weighted macro-F1 and has a smaller reported spread.
The intervention has a clear practical interpretation. The Danish classifier can benefit from reading more examples of how requirements are expressed in vacancy text before it learns to associate spans with taxonomy codes. This improvement is achieved with the same limited supply of Danish task labels. The comparison measures the effect of the added pretraining stage as a whole. That stage changes both the amount of training and the exposure to the job domain. A matching continuation on a different kind of Danish text would be needed to estimate how much of the improvement is specific to the domain.
The English pair helps locate the limits of that result. JobBERT and BERT base each score 0.628 on English development. JobBERT has the higher mean on English test, 0.644 against 0.632, when both train on the English task data. The Danish zero-shot results for those systems are 0.063 and 0.038 respectively. In this comparison, English vacancy pretraining helps the English checkpoint’s test score, but the shared job domain is insufficient to produce strong Danish transfer on its own. The language experience of the starting encoder is a consequential part of the setup.
The authors also discuss the resources involved. They report that the Danish continuation pass over 24.5M sentences took ∼35 hours using 4 GPUs. They describe the annotation of 391 English and 60 Danish ads as around two months of sustained work. Those accounts describe different investments. One produces additional in-domain pretraining from unlabelled text. The other produces marked examples suitable for the classification pipeline. The paper’s practical judgment is that continued pretraining can be attractive when enough relevant raw text is available, while acquiring more task examples can enable larger improvements. The reported times are tied to this project’s corpus, hardware, and annotation effort.
Adding Danish examples helps an English-trained multilingual encoder
RemBERT’s three training settings make it possible to study changes in supervised language coverage while keeping the encoder family fixed. The cleanest addition is the move from English-only training to the mixed set. The English examples remain available, and 138 Danish spans from 10 ads are added. Danish test performance rises from 0.354 ±0.021 to 0.472 ±0.014 weighted macro-F1. The shared test reference means the result can be attributed to the change in the training arrangement. The added Danish examples change both the amount of training material and the availability of target-language supervision, so the comparison measures those changes together.
Replacing the English examples with just the small Danish set produces a very different result. Danish-only RemBERT reaches 0.166 ±0.141 weighted macro-F1 on the Danish test. That setting changes the language and removes the much larger English training split. The outcome shows the value of having the English data available in the successful mixture. It also shows that a multilingual starting point on its own offers no dependable improvement over the small Danish baseline in this experiment. The authors raise negative transfer as a possible interpretation of the weak Danish-only result. Their comparisons do not isolate which languages, if any, interfere with Danish performance.
The zero-shot comparison asks a related question. With English task training held in common, English BERT, JobBERT, and RemBERT have similar development scores on English, while RemBERT transfers much better to Danish. Danish in the multilingual encoder’s pretraining is a plausible explanation offered by the authors. Since the starting encoders differ as complete pretrained systems, the result measures the advantage of using RemBERT in this configuration. It leaves the contribution of Danish pretraining to be separated from the other differences between the checkpoints.
The mistakes show where the decisions are difficult
The authors inspect the confusion matrix for the best run of English-only RemBERT on the Danish test set. A confusion matrix compares reference categories with predicted categories. Correct decisions fall on the diagonal, and entries away from it show where one category is mistaken for another. The most prominent pattern concerns A1, attitudes, which the system frequently predicts as S1, the category for communication, collaboration and creativity. Both categories account for a substantial share of the test examples. Their prominence gives this error pattern particular relevance to the weighted aggregate score.
The example effektiv, translated by the authors as efficient or effective, illustrates what is at stake. ESCO treats the example as an attitude. Taken alone, an expression about effectiveness could suggest several ways an employee contributes to a task. The authors note that a reading related to creativity is conceivable. This does not change the reference label used in the benchmark. It shows why the text within the marked boundaries alone may offer weak evidence about which description the employer intends.
The paper also notes confusion among the categories from S1 to S4. S4 is management, a category with a distinguishable definition, but short phrases can make the correct distinction hard to recover. The authors give fagligt velfunderet, glossed as professionally sound, as an example whose interpretation could involve an attitude. A classifier has to infer the category from the selected words. Any indication of the duties or situation in which the quality is expected sits outside the span unless the annotator included it.
The appendix compares the zero-shot confusion matrix with one from the best run of RemBERT trained on both languages. The authors observe better prediction of A1 with the Danish examples and a reduction in the conspicuous attitude confusion. They still identify errors among the skill categories. This comparison gives an account of what changed in the runs they examined. Since the matrices come from selected runs, they illustrate the change without establishing the average improvement for each individual class across all seeds.
A different analysis concerns the labels the lookup could not supply in English. The authors find that many of the missing cases are technologies expressed as knowledge components, including ReactJS, Django, and AWS. They contrast such gaps with examples represented in ESCO, including NoSQL, Drupal, and WordPress. The paper also mentions TensorFlow and Data Science among terms missing from the coverage it examined. The authors suggest that specificity and the continuing growth of technical vocabulary both contribute. This is a failure of the available supervision upstream of training. Even a search procedure with excellent string matching needs the taxonomy and its search results to supply a relevant candidate.
Limitations
Limits the authors identify
The authors explicitly point to missing context around classified spans. Annotators work with vacancy passages, while the classifier sees the extracted phrase. A reference label can depend on what a person is expected to do, who they are expected to work with, or the role a word plays in the description. The paper illustrates that problem with the attitude and skill confusions and leaves context-aware classification to future work. It gives reasons to test surrounding text, while the magnitude of any benefit remains unmeasured.
The taxonomy and lookup introduce another stated limit. The authors find missing technical terms, and the human audits show that many returned labels are incorrect. The initial Danish test labels are a particularly clear case. Human correction is essential to how the paper interprets the resulting Danish benchmark. The authors leave lookup artifacts in the data and say they expect their small numbers to have little effect. That expectation is distinct from a measured effect because the paper gives no comparison that removes or recodes the artifacts.
The authors also distinguish the availability of raw in-domain text from the effort of obtaining annotated data. Continued pretraining requires a sufficiently large collection of relevant vacancies. Obtaining more span examples requires people to identify the competences in the first place. The reported computational and annotation times describe what this project encountered. There is no experiment equating costs across the two routes, and the data conditions that made each route feasible may vary across languages and collections.
Their explanations for the encoder comparisons remain hypotheses. They suspect that Danish in RemBERT’s pretraining helps English-trained RemBERT transfer. They suggest negative transfer as one possible explanation for Danish-only RemBERT’s weak result. The study compares complete checkpoints and training combinations. It does not manipulate an otherwise matched multilingual pretraining corpus to isolate Danish, or vary pretraining languages in a way that would test interference directly.
Limits of the benchmark design
The scores establish how well a classifier can assign codes to already identified competences. A system processing an unannotated vacancy would also need to recognize the boundaries of each competence and handle cases where one span is inside another. Boundary errors could change the wording received by the classifier or cause a requirement to be missed entirely. Those errors are outside the measured classification task. The paper notes that the token-level annotations can support an extension to sequence labelling, which would address locating spans. It reports no end-to-end score on raw Danish ads and no evaluation of the downstream job matching that motivates the work.
Classification is also evaluated at the resolution of the output inventory. A correct category prediction can place several different competences into the same part of ESCO. The benchmark does not establish that a system can recover the exact named entry for each requirement, infer requirements that were never marked, or represent every locally meaningful technical term. The examples of missing terms show why taxonomy coverage matters even if the classifier becomes more accurate on the codes available to it.
The English and Danish reference labels have different status. English development and test labels are silver. Danish test labels are corrected by people. Agreement with the English test set can partly reward reproduction of systematic lookup choices. A discrepancy between English and Danish scores can reflect the quality of the reference as well as language, category distribution, and training conditions. The clearest comparisons therefore use the same test split and reference, as in the Danish comparison between the English-only and mixed RemBERT settings. The paper reports neither a human-corrected English test counterpart nor a controlled comparison of training with corrected versus silver labels.
The numbers in the annotation and split descriptions also warrant care. The annotation discussion associates 9,473 with the English pool in its account of missing labels, while the experimental setup assigns 9,472 components specifically to English training and gives a separate development count. Those descriptions do not reconcile the scope of the audit denominator with the experimental split counts. The Danish audit is described as 70.4% on the training set in the annotation section and as a development-set figure in the conclusion. The experimental setup specifies no Danish development split and gives 138 examples for Danish training. Reading the 70.4% figure as the Danish training audit follows the annotation and split descriptions.
Checkpoint selection gives rise to a further qualification. The English development set selects checkpoints even for systems trained on Danish alone. This is consistent with holding out the corrected Danish test data and avoiding a Danish development requirement. It also means the choice of checkpoint for a Danish-only system is judged by English performance against silver labels. The experiments leave open how a Danish development criterion would affect the rankings among the few-shot arrangements. In the zero-shot condition, introducing such a criterion would alter the definition of the test itself.
Finally, the Danish span annotation was carried out by one annotator. The English agreement figures are evidence about applying the guidelines to the English material. They give no independent estimate of how consistently several annotators would mark Danish spans or agree on Danish taxonomy codes. The test set draws on 50 Danish ads, and the data statement describes vacancy material from 2012–2021. Variation across seeds addresses repeatability within that benchmark. It cannot establish how the scores would change across sources, time periods, or a different mix of occupations and categories. The weighted average and selected confusion matrices also leave the reliability of rare categories open.
What came after
Joint prediction in Danish job matching
A subsequent citing paper takes up joint extraction and classification of Danish competences for job matching. This connects the two operations that Kompetencer treats separately in its experiments. Extraction concerns which words express a competence. Classification concerns the label assigned to those words. Putting both in the scope of one study carries the Danish problem closer to the starting point of an unmarked job description. The title establishes that joint scope and the application to matching. It does not establish which parts of the Kompetencer data, supervision procedure, or code inventory the later study used. Joint Extraction and Classification of Danish Competences for Job Matching
The distinction matters when reading the relationship between the studies. The fact that a system can classify a span supplied by a person leaves open whether it could find that span. A joint extraction and classification task brings both decisions into view. It also puts any mistakes on boundaries or nested phrases closer to the eventual matching application. The later paper’s stated scope addresses that combination. Its title alone supplies no evidence about how it handles overlap or how its results compare with the Kompetencer classification benchmark.
Skill inventories and skills that are new to them
Another citing work, SkiLLens, concerns recognizing and mapping novel skills in millions of job ads across Europe. The connection is to the mapping problem and to the gaps that can arise when the vocabulary of vacancies develops faster than the coverage of a taxonomy. In Kompetencer, some English technology names have no useful match in the lookup. SkiLLens explicitly puts novel skills in scope, making recognition of such items part of its stated problem. Its title establishes the European scale and the interest in recognizing and mapping novel skills. It does not specify whether the paper reuses the Kompetencer lookup rules or adopts the same output categories. SkiLLens: Recognising and Mapping Novel Skills from Millions of Job Ads Across Europe Using Language Models
For an inventory-based classifier, a missing term interrupts the path from the wording in the ad to supervision from the taxonomy. Recognizing an unfamiliar skill and deciding where it should be mapped are consequently related questions. SkiLLens names both in its research scope. This makes its citation of Kompetencer relevant to the issue of coverage without establishing that the later work used the same data or that it resolved the particular gaps identified by the Danish study.
Skill extraction across languages and document types
A further citing study covers skill extraction across six languages and includes both résumés and job offers. Its scope extends the question of language coverage and places employers’ descriptions of requirements beside documents in which people describe their own experience. Kompetencer uses English and Danish vacancy text to study transfer in the assignment of fine-grained categories. The later title identifies a broader multilingual extraction problem with another kind of source text. It leaves open which languages the experiments use, how the study defines its extracted items, and whether its outputs are linked to ESCO. Skill Extraction from Resumes and Job Offers across Six Languages
These citing works put different parts of the original task in view. Joint Danish extraction and classification brings the input boundaries into the problem. Recognizing novel skills brings attention to what the available inventory can cover. Extraction from résumés and offers broadens the kinds of descriptions a multilingual system must process. The citation relationships and the papers’ stated scopes establish those connections. Reuse of specific annotations, algorithms, or training conditions remains unestablished.
Cite
Cite as Mike Zhang, Kristian Nørgaard Jensen and Barbara Plank. 2022. Kompetencer: Fine-grained Skill Classification in Danish Job Postings via Distant Supervision and Transfer Learning. Proceedings of the Thirteenth Language Resources and Evaluation Conference.
@inproceedings{zhang2022kompetencer,
title = {{Kompetencer: Fine-grained Skill Classification in Danish Job Postings via Distant Supervision and Transfer Learning}},
author = {Mike Zhang, Kristian Nørgaard Jensen and Barbara Plank},
booktitle = {Proceedings of the Thirteenth Language Resources and Evaluation Conference},
year = {2022},
doi = {10.63317/2j56ttv7mrgt},
url = {https://doi.org/10.63317/2j56ttv7mrgt}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/zhang-2022-kompetencer-fine-grained-skill-classification/