In recent years, with the rapid development of AI and environmental technologies, a large number of emerging careers have emerged. On the one hand, the global job market is flooded with many brand-new positions based on AI and sustainability. Vacancy-based evidence documents a rapid expansion in AI-related skill demand, which increases the heterogeneity of recruitment texts and motivates a reproducible, scalable domain-tagging protocol1. On the other hand, China's latest revision of the Occupational Classification Dictionary (OCD) has seen a similarly robust growth in new occupations in the fields of employment informatization and green and low-carbon, with a net increase of 158 new occupations in the 2022 revision compared to the 2015 edition of the Dictionary, with a total of 97 digital occupations, or 6% of the total number of occupations, labeled, along with 134 green occupations, or 8% of the total number of occupations2.
As these new occupations continue to emerge, the content and form of job postings by companies are becoming more complex, as job descriptions often involve subject knowledge and diverse skill requirements, containing both structured fields such as job titles and skill lists, as well as a large number of unstructured free-text descriptions, resulting in increasingly complex job posting structures. Such complex job postings typically contain clearly defined structured elements (e.g., job titles, lists of required skills) alongside extensive unstructured free-text descriptions. For example, an AI engineer job ad might list technical jargon like ‘proficiency in a deep learning framework’ and ‘experience optimizing backpropagation algorithms’ as part of a skill list, while also including a detailed narrative of responsibilities; similarly, an environmental engineer posting might reference specific regulatory standards and certifications. This combination of structured and unstructured content results in highly specialized and convoluted job descriptions.
Artificial Intelligence and Environmental Protection are selected to evaluate the protocol under realistic cross-domain ambiguity in recruitment classification. In practice, mainstream occupational resources such as O*NET and job boards assign coarse tags, making cross-industry roles difficult to distinguish using keywords alone. Environmental Protection represents a broad domain overlapping with multiple scientific fields, while Artificial Intelligence reflects a finer-grained slice within computing often conflated with general software roles. This pairing captures both broad and narrow cross-domain settings with distinct terminology and suitable authoritative documents for knowledge-base construction, while allowing adaptation to other industries by replacing the domain corpus without altering the core workflow.
Recent years have seen a surge in research on job posting classification. Researchers are increasingly leveraging large pre-trained models to improve the classification of occupations. BERT’s introduction in 2019 marked a breakthrough that enabled deeply contextual language understanding and significantly improved text classification performance3. For instance, Clavié et al. (2023) explored using an instruction-tuned large language model(LLM) for job classification, finding that proper prompt engineering enabled the LLM to outperform state-of-the-art supervised models on a graduate job classification task4. Similarly, Li et al. (2023) proposed an LLM4Jobs approach that combines large-language-model summarization with occupation-code matching, significantly improving classification accuracy on lengthy job descriptions by first extracting summaries and then aligning them with standard job codes5. In addition, a 2024 survey by Senger et al. catalogues recent advances in deep learning for HR, noting that skill extraction and job classification have become core tasks in computational job market analysis6. Kavas et al. (2024) enhanced job posting classification by combining multilingual text embeddings with LLM-based categorization, achieving notable accuracy gains7. On the traditional front, earlier systems ranged from keyword-based heuristics with relatively coarse category sets to taxonomy-driven frameworks such as Carotene, which used a hierarchy over more than 4,000 job titles8,9. Javed et al. (2016) presented an early job title classification framework, marking one of the first steps toward systematic occupation categorization10. These supervised approaches, however, require extensive labeled data and struggle to adapt to the rapid emergence of new job roles, as classification taxonomies often evolve more slowly than the labor market4.
To address such limitations, recent work has turned to hybrid strategies that incorporate external knowledge; for example, Lewis et al. (2020) introduced the Retrieval-Augmented Generation (RAG) framework, which combines pre-trained language models with a retriever to inject relevant domain knowledge, achieving superior accuracy and more factual outputs on knowledge-intensive tasks11. Lester et al. demonstrated that prompt tuning yields larger performance gains as model size increases12, reinforcing the use of a strong base LLM. For example, Han et al. showed that using rule-guided prompts can boost text classification accuracy by focusing the model on key features13. Furthermore, Brown et al. (2020) famously showed that a large language model can perform new tasks from only a few examples or instructions, highlighting the power of prompt-driven few-shot learning14. Notably, a recent survey of prompt-based NLP techniques underscores that prompt wording can significantly steer model outputs15. At the same time, macro-level shifts and uncertainty in the labor market reinforce the need for scalable and update-friendly labeling protocols that can be refreshed as new roles emerge16. In the job-market NLP domain, taxonomy-driven multilingual pre-training has also been explored to better align representations with occupational structures and cross-lingual variability17. Collectively, these studies inform the approach and demonstrate the potential of using large language models with retrieval and prompt optimization to more effectively recognize and adapt to emerging occupation contexts.
In this study, domain knowledge is curated only for Artificial Intelligence and Environmental Protection, as corpus construction, validation, and maintenance represent the primary operational costs of cross-domain recruitment classification. Accordingly, Other serves as an out-of-scope rejection category rather than a substantive industry class. The reported high accuracy should be interpreted cautiously, as the three-label setting simplifies labeling and may inflate performance compared with finer-grained taxonomies. The protocol is intended as a lightweight, knowledge-grounded labeling layer for targeted domains, not as a replacement for comprehensive multi-category classification systems. Expanding the label set may reduce accuracy due to increased overlap, ambiguity, and stricter corpus-coverage requirements. In practice, the rejection set can be progressively refined by extending the domain corpus and incorporating internal knowledge bases. The three-label configuration, therefore, demonstrates a reusable paradigm rather than an exhaustive occupational taxonomy.
The dataset combines structured and unstructured sources. The structured corpus was collected and curated by the authors from job advertisements publicly posted by publicly listed companies on major online recruitment platforms in China between 2014 and 2023. After deduplication and basic cleaning, the structured corpus contains approximately 6.93 million postings. Unstructured domain documents released by relevant authorities were used to define domain knowledge and labeling criteria. From these sources, three benchmark subsets were manually constructed, each containing 1,000 postings for Artificial Intelligence, Environmental Protection, and unrelated fields, respectively, and verified for evaluation.
Model backbones are evaluated using accuracy, precision, recall, and F1 (the harmonic mean of precision and recall, F1 = 2PR/(P+R)) to select the optimal foundation for the retrieval-augmented workflow. Authoritative domain documents are compiled into a knowledge base for retrieval-augmented generation (RAG). Relevant passages are retrieved and injected into a fixed prompt template to support classification. Prompt variants are systematically tested, and a cue-word optimization strategy is applied to determine the final configuration. Retrieved evidence is filtered for relevance to minimize noise and support accurate, efficient inference.
To enable large-scale classification, the workflow adopts a staged pipeline: lexicon-guided triage efficiently resolves routine cases, while retrieval-augmented, prompt-optimized LLM inference handles ambiguous postings, balancing scalability and accuracy (Figure 1).