• HOME
  • NEWS
  • EXPLORE
    • CAREER
      • Companies
      • Jobs
    • EVENTS
    • iGEM
      • News
      • Team
    • PHOTOS
    • VIDEO
    • WIKI
  • BLOG
  • COMMUNITY
    • FACEBOOK
    • INSTAGRAM
    • TWITTER
Tuesday, November 24, 2026
BIOENGINEER.ORG
No Result
View All Result
  • Login
  • HOME
  • NEWS
  • EXPLORE
    • CAREER
      • Companies
      • Jobs
        • Lecturer
        • PhD Studentship
        • Postdoc
        • Research Assistant
    • EVENTS
    • iGEM
      • News
      • Team
    • PHOTOS
    • VIDEO
    • WIKI
  • BLOG
  • COMMUNITY
    • FACEBOOK
    • INSTAGRAM
    • TWITTER
  • HOME
  • NEWS
  • EXPLORE
    • CAREER
      • Companies
      • Jobs
        • Lecturer
        • PhD Studentship
        • Postdoc
        • Research Assistant
    • EVENTS
    • iGEM
      • News
      • Team
    • PHOTOS
    • VIDEO
    • WIKI
  • BLOG
  • COMMUNITY
    • FACEBOOK
    • INSTAGRAM
    • TWITTER
No Result
View All Result
Bioengineer.org
No Result
View All Result
Home NEWS Science News Technology

Ontology-Guided Language Models Generate Reliable Software Engineering Datasets for Machine Learning

by
November 24, 2026
in Technology
Reading Time: 7 mins read
0
Ontology-Guided Language Models Generate Reliable Software Engineering Datasets for Machine Learning

Ontology-Guided Language Models Generate Reliable Software Engineering Datasets for Machine Learning

Share on FacebookShare on TwitterShare on LinkedinShare on RedditShare on Telegram

A research team led by George Bishop, Suranjan Chakraborty, Honghe Zhou, Josh Dehlinger, Lin Deng, Jonah Lin, and Benjamin Kist has introduced an on-demand dataset generation framework called O3DG, demonstrating that large language models paired with domain ontologies can synthesize high-quality software engineering datasets. Published in the journal Automated Software Engineering, the study directly confronts a long-standing obstacle in computer-aided software engineering: the severe scarcity of large, balanced, and accurately labeled domain-specific text corpora. Supervised machine learning and deep learning architectures require substantial amounts of structured data to automate software engineering activities, yet publicly available datasets in disciplines like requirements engineering have historically been small, heavily skewed across classes, and burdened with manual labeling ambiguities. By embedding rigorous domain ontologies directly into prompt engineering, generation pipelines, and post-synthesis filtering routines, the O3DG approach provides a repeatable pathway for synthesizing specialized text collections that meet the rigorous data demands of modern machine learning classifiers.

The underlying motivation for the study stems from persistent limitations observed in classic benchmark resources, most notably the widely analyzed PROMISE repository. In requirements engineering research, natural language statements are routinely analyzed to identify operational attributes or detect textual flaws. However, public repositories like PROMISE often present substantial class imbalances that restrict model training and independent experimental reproducibility. For instance, across the 370 non-functional requirements captured within the PROMISE repository, 67 statements represent usability while only a single statement corresponds to portability, alongside 66 security, 21 scalability, 17 maintainability, and 13 legal requirements. Such severe distributional disparities, combined with small overall sample sizes, regularly induce underfitting or overfitting in advanced deep learning pipelines. Underfitting takes place when a classifier fails to capture the underlying data distribution due to insufficient training examples, whereas overfitting occurs when models absorb idiosyncratic noise specific to tiny training sets and subsequently fail to generalize across unseen system specifications.

To overcome these systemic data shortages, the authors structured O3DG as a four-phase methodological pipeline comprising dataset design, prompt strategy selection, iterative dataset generation with semantic pruning, and expert-led dataset validation. During the initial dataset design phase, investigators define the natural language characteristics best suited to the target research inquiry alongside a formal conceptual ontology that dictates classification hierarchies and structural rules. In the subsequent prompt strategy phase, candidate prompt templates are evaluated to establish stability and domain alignment before generating large corpora. Rather than treating category labels as flat, arbitrary strings, the methodology uses established ontological frameworks to govern how the generative artificial intelligence conceptualizes and drafts each requirement statement, ensuring that both macro-level category distinctions and micro-level structural formatting align with precise theoretical specifications.

The researchers demonstrated and validated the O3DG architecture through two contrasting case studies within requirements engineering: the classification of non-functional requirements and the detection of requirements ambiguity. Non-functional requirements classification represents a mature problem domain where historical benchmarks allow for direct comparative evaluation, whereas requirements ambiguity represents a complex, underexplored challenge centered on structural linguistics. For the first case study, the team selected the Volere Non-Functional Requirements Framework, which provides documented definitions across categories such as look and feel, usability, operability, performance, maintainability, security, cultural, political, and legal. To ensure reliable grounding, initial synthesis focused on six well-populated categories using seed examples drawn from an augmented PROMISE dataset. For the second case study, the team employed the Language Construct and Language Quality Coding ontology proposed by Rosenkranz and colleagues, which analyzes mappings between concepts and symbols to define categories of low language quality, designated as meaningless, ambiguous, incomplete, and redundant statements, alongside high-quality specifications.

Identifying effective prompt engineering strategies required a structured comparison across eleven candidate prompt templates, each tested using a twenty-item sample reviewed through a modified Delphi method. The candidate pool included zero-shot naive prompts, example-based few-shot setups, delimiter-based prompts utilizing special boundary characters, definition-based prompts, context-based additions, booster phrases encouraging creative outputs, role-based persona assignments, meta-reasoning prompts, sequential multi-step prompts, generic combinations of techniques, and specific named combinations incorporating structured context blocks. Four independent subject matter experts conducted two rounds of Delphi evaluation to reach consensus on sample quality and domain fit. Across both empirical case studies, combination prompt templates consistently outperformed isolated techniques by minimizing malformed or misclassified statements. Role-based prompting emerged as the next-highest performing strategy for non-functional requirements, whereas sequential prompts proved second-best for decomposing the intricate grammatical rules governing the language quality ontology.

During the dataset generation phase using OpenAI’s ChatGPT-4o model, the team addressed content homogenization in non-functional requirements by constructing two distinct prompt variants: one generic template and one domain-specific template containing real-world software descriptions. To stimulate linguistic diversity, the team extracted product overviews across eight distinct software sectors, spanning Apple Final Cut Pro in graphic design, DuckDuckGo in web browsing, Amazon Web Services in cloud computing, Norton Antivirus in cybersecurity, QGenda in healthcare management, SQL Server Management Studio in database administration, Intel Wi-Fi 7 in wireless networking, and WinRAR in data compression. For requirements ambiguity, where no benchmark dataset existed for seeding, the authors utilized two sequential prompts passed individually: the first explaining the theoretical ontology and the second dictating generation formatting. Each category was incrementally scaled toward approximately 1,000 candidate statements while automated scripts immediately validated CSV syntax, column completeness, and verbatim inclusion of designated symbols and concepts.

To prevent semantic overlap across classes and ensure high category cohesion, O3DG incorporates an objective, automated data pruning algorithm rooted in semantic text similarity metrics. After vectorizing requirement statements using pre-trained language models, the pipeline calculates average inter-class cosine similarity and average inter-class Euclidean distance for every category combination pair. To account for structural nuances, requirements in the non-functional requirements dataset were encoded using BERT embeddings, whereas the requirements ambiguity statements were vectorized using StructBERT, a model pretrained to order fragment sequences that effectively captures the presence or absence of concepts and symbols. The pruning algorithm identifies candidate statements exhibiting cosine similarity higher than two standard deviations above the mean or Euclidean distance lower than two standard deviations below the mean. Outliers identified across these metric distributions are removed from the corpus, and categories losing more than ten percent of their records undergo additional generation iterations until stable category boundaries are established.

Following automated synthesis and pruning, the generated corpora underwent comprehensive data validation involving five subject matter experts, including three experienced requirements engineering researchers and two specialized research students. Using Cochran’s sample size formula with a finite population correction at a 95% confidence level and a 5% margin of error, the team drew random verification samples of approximately 300 data items per category, yielding 1,800 reviewed statements for non-functional requirements and 1,500 statements for requirements ambiguity. Experts analyzed each item against standardized rubrics to identify low-quality entries, subsequently calculating population proportions and 95% Wilson confidence intervals. A secondary review resolved several ambiguous classifications, confirming that upper bounds of population estimates stayed below 10% across almost all classes, with operability reaching an upper limit of 11%.

A similar manual evaluation across the requirements ambiguity dataset revealed 59 low-quality statements out of the 1,500 sampled items, demonstrating robust structural compliance. Deficiencies primarily involved instances where the generator reproduced the meta-logic of the category definition rather than authoring a plausible requirement, alongside occasional failures to reproduce designated symbol phrases verbatim or accidental introductions of multiple symbols into categories restricted to single constructs. Across all five ambiguity classes, the resulting Wilson confidence interval upper limits remained well under the 10% tolerance threshold. Interestingly, reviewers noted statements in the ambiguous category that described two non-conflicting operational functions using a single symbol. Although flagged as lower in conceptual severity, these items strictly satisfied the formal relational constraints of the Language Construct and Language Quality framework, leading researchers to retain them within the final validated corpus.

To evaluate whether the O3DG corpora could effectively support real-world machine learning tasks, the investigators conducted multi-class classification experiments deploying supervised neural network architectures. The experimental design compared two text representation methods, BERT and Word2Vec, paired with two classifier backbones, an artificial neural network and a Long Short-Term Memory recurrent neural network, evaluated via k-fold cross-validation and early stopping regularization. Text preprocessing involved removing non-alphanumeric characters, filtering stop words via the NLTK library, and applying task-specific exclusion dictionaries. For non-functional requirements, the BERT-NN configuration achieved 88% accuracy, 88% precision, 88% recall, and an 88% F1-score, while the Word2Vec-LSTM architecture attained 88% accuracy, 89% precision, 86% recall, and an 88% F1-score. In the requirements ambiguity task, BERT-NN similarly led overall performance with 87% across accuracy, precision, recall, and F1-score, whereas BERT-LSTM demonstrated notably lower performance and Word2Vec-LSTM exhibited an intermediate drop.

Comparative analyses underscored the practical advantages of the synthesized corpora over existing public benchmarks. In the non-functional requirements domain, the authors compared their experimental outcomes against prior published results by Gnanasekaran and colleagues, who trained an identical Word2Vec-LSTM model on the Augmented PROMISE benchmark. While the benchmark-trained model achieved best-run metrics of 86% accuracy, 83% precision, 83% recall, and an 83% F1-score, the same model trained on the O3DG corpus achieved 88% accuracy, 89% precision, 86% recall, and an 88% F1-score. The observed improvements in precision and recall highlight how balanced, ontology-aligned synthetic samples reduce false positives and false negatives during inference. Furthermore, rapid model convergence across training folds, requiring only five to fifteen epochs, confirmed that the synthesized data lacked idiosyncratic distribution artifacts that could impede gradient optimization.

Despite these encouraging findings, the authors detailed important internal and external validity constraints governing the study. A prominent internal threat involves the manual crafting of prompt templates, which remains an experience-driven heuristic process vulnerable to variations in researcher judgment. Additionally, drawing seed statements from the Augmented PROMISE repository risked propagating underlying labeling noise into generated outputs, although multi-stage filtering mitigated this exposure. Externally, the empirical demonstrations relied exclusively on ChatGPT-4o and two specific frameworks, the Volere taxonomy and the Language Construct and Language Quality ontology, meaning that adaptation to alternative quality attribute models or newer generative engines may require re-engineered prompt structures and modified validation thresholds. Because language models synthesize text based on statistical distributions within their training corpora, domain-specific conceptual nuances unrepresented in pretraining corpora cannot be fully captured through prompt engineering alone. Future work aims to automate prompt construction through prefix-tuning and reinforcement learning, integrate sentence-transformer embeddings into semantic pruning, and embed synthetic dataset generation pipelines directly into continuous Agile and DevOps software environments.

Subject of Research: On-demand generation of software engineering datasets using large language models and domain ontologies

Article Title: On-demand generation of high-quality software engineering datasets using large language models and ontologies

Article References: Bishop, G., Chakraborty, S., Zhou, H., Dehlinger, J., Deng, L., Lin, J., & Kist, B. (2026). On-demand generation of high-quality software engineering datasets using large language models and ontologies. Automated Software Engineering, 33(3), Article 73. https://doi.org/10.1007/s10515-026-00617-w

Image Credits: AI Generated

DOI: 10.1007/s10515-026-00617-w

Keywords: Requirements Engineering, Large Language Models, Synthetic Data Generation, Ontology Engineering, Non-Functional Requirements, Requirements Ambiguity, Machine Learning in SE, Volere Framework, Language Quality Ontology, Text Classification, PROMISE Dataset, BERT Embeddings, Semantic Similarity, Data Pruning, Computer-Aided Software Engineering, Automated Software Engineering, Natural Language Processing, Supervised Learning

News Source: Denise Maddox. (November 24, 2026). Ontology-Guided Language Models Generate Reliable Software Engineering Datasets for Machine Learning. Scienmag.

Tags: Automated Software EngineeringBERT embeddingsComputer-Aided Software EngineeringData PruningLanguage Quality OntologyLarge Language ModelsMachine Learning in SENatural Language ProcessingNon-Functional RequirementsOntology EngineeringPROMISE DatasetRequirements AmbiguityRequirements Engineeringsemantic similaritysupervised learningsynthetic data generationtext classificationVolere Framework
Share12Tweet7Share2ShareShareShare1

Related Posts

Calibrating Battery Thermal Residual Monitors Exposes Protection Trade-Offs in Simulation

Calibrating Battery Thermal Residual Monitors Exposes Protection Trade-Offs in Simulation

November 24, 2026
SHAP Prompts Improve Political Fact-Checking but Reduce COVID-19 Label Accuracy

SHAP Prompts Improve Political Fact-Checking but Reduce COVID-19 Label Accuracy

November 24, 2026

Lazy Constraint Model Triples Virtual Power Plant Profits While Lowering Consumer Costs

November 24, 2026

Idler Dissipation Cuts Parasitic Diffraction Over Sixty Percent in Multi-Beam Laser Amplifiers

November 24, 2026

POPULAR NEWS

  • Rat Model Links Pro-Inflammatory Monocyte MicroRNAs to Post-Reperfusion Cardiac Remodeling

    Rat Model Links Pro-Inflammatory Monocyte MicroRNAs to Post-Reperfusion Cardiac Remodeling

    29 shares
    Share 12 Tweet 7
  • Remote Mind-Body Intervention Alters Perfusion Links to Adolescent Emotional Functioning

    29 shares
    Share 12 Tweet 7
  • Review Maps Kynurenine Pathway Remodeling Across Brain in Sepsis-Associated Encephalopathy

    29 shares
    Share 12 Tweet 7
  • AI Virtual Patients Boost Communication Self-Efficacy in Healthcare Students, Pilot Finds

    29 shares
    Share 12 Tweet 7

About

We bring you the latest biotechnology news from best research centers and universities around the world. Check our website.

Follow us

Recent News

Gut Microbial Metabolites Protect Intestinal Barrier Integrity Through SELENBP1 in Ulcerative Colitis

Tryptophan Metabolites Can Reshape Gut Microbiota and Influence Cancer Treatment Responses

Age, Body Mass, and Meniscus Extrusion Predict High Tibial Osteotomy Outcomes

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 89 other subscribers
  • Contact Us

Bioengineer.org © Copyright 2023 All Rights Reserved.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Homepages
    • Home Page 1
    • Home Page 2
  • News
  • National
  • Business
  • Health
  • Lifestyle
  • Science

Bioengineer.org © Copyright 2023 All Rights Reserved.