BERT-Based Approach for Greening Software Requirements Engineering Through Non-Functional Requirements

The incorporation of sustainability principles during the requirements engineering phase of the development life cycle constitutes greening software requirements. This incorporation can have a variety of effects on the software design employed in modern and cutting-edge information technology (IT) s...

Full description

Bibliographic Details
Main Author: Ahmad F. Subahi
Format: Article
Language:English
Published: IEEE 2023-01-01
Series:IEEE Access
Subjects:
Online Access:https://ieeexplore.ieee.org/document/10256174/
_version_ 1797672205615628288
author Ahmad F. Subahi
author_facet Ahmad F. Subahi
author_sort Ahmad F. Subahi
collection DOAJ
description The incorporation of sustainability principles during the requirements engineering phase of the development life cycle constitutes greening software requirements. This incorporation can have a variety of effects on the software design employed in modern and cutting-edge information technology (IT) systems. When sustainability principles are incorporated into requirements engineering, software design priorities can change and address current design issues such as energy and resource consumption, modularity, maintainability, and adaptability. In contrast to other green approaches that consider sustainable development, there is a further need to investigate the relationship between software development and the relevant green principles of sustainability during the requirements engineering phase. We present a new mechanism for mapping software nonfunctional requirements (NFRs) to defined dimensions of green software sustainability, consisting of two mapping steps: 1) between NFRs and sustainability dimensions; and 2) between sustainability dimensions and two clusters of green IT aspects defined in this work. The overall architecture of the promising approach is based on the use of the Bidirectional Encoder Representations from Transformers (BERT) language model with an expanded dataset. We consider transfer learning and domain-specific fine-tuning capabilities for constructing and evaluating a model specifically tailored for developing a proof of concept of the greening software requirements engineering task, as language models have recently emerged as a potent technique in the field of software engineering, with numerous applications in code analysis, automated documentation, and code generation. In addition, we test the model’s performance using an extended version of the PROMISE_exp dataset after adding a new binary classification column for categorizing sustainability dimensions into two defined clusters: Eco-technical and Socioeconomic, and having a selected domain expert label the raw data. The model’s efficiency is evaluated using four matrices—1) accuracy; 2) precision; 3) recall; and 4) F1 score—across a variety of epoch and batch sizes. Our numerical results demonstrate the viability of the approach in text classification tasks via performing well in mapping NFRs to software sustainability dimensions. This acts as a proof of concept for automating the sustainability measurement of software awareness at the early development stage. In addition, the results emphasize the importance of domain-specific fine-tuning and transfer learning for obtaining high performance in classification tasks in requirements engineering.
first_indexed 2024-03-11T21:26:39Z
format Article
id doaj.art-31c39f7496164c0d908fa11a472e4cf8
institution Directory Open Access Journal
issn 2169-3536
language English
last_indexed 2024-03-11T21:26:39Z
publishDate 2023-01-01
publisher IEEE
record_format Article
series IEEE Access
spelling doaj.art-31c39f7496164c0d908fa11a472e4cf82023-09-27T23:00:31ZengIEEEIEEE Access2169-35362023-01-011110300110301310.1109/ACCESS.2023.331779810256174BERT-Based Approach for Greening Software Requirements Engineering Through Non-Functional RequirementsAhmad F. Subahi0https://orcid.org/0000-0001-7962-6943Department of Computer Science, University College of Al Jamoum, Umm Al-Qura University, Makkah, Saudi ArabiaThe incorporation of sustainability principles during the requirements engineering phase of the development life cycle constitutes greening software requirements. This incorporation can have a variety of effects on the software design employed in modern and cutting-edge information technology (IT) systems. When sustainability principles are incorporated into requirements engineering, software design priorities can change and address current design issues such as energy and resource consumption, modularity, maintainability, and adaptability. In contrast to other green approaches that consider sustainable development, there is a further need to investigate the relationship between software development and the relevant green principles of sustainability during the requirements engineering phase. We present a new mechanism for mapping software nonfunctional requirements (NFRs) to defined dimensions of green software sustainability, consisting of two mapping steps: 1) between NFRs and sustainability dimensions; and 2) between sustainability dimensions and two clusters of green IT aspects defined in this work. The overall architecture of the promising approach is based on the use of the Bidirectional Encoder Representations from Transformers (BERT) language model with an expanded dataset. We consider transfer learning and domain-specific fine-tuning capabilities for constructing and evaluating a model specifically tailored for developing a proof of concept of the greening software requirements engineering task, as language models have recently emerged as a potent technique in the field of software engineering, with numerous applications in code analysis, automated documentation, and code generation. In addition, we test the model’s performance using an extended version of the PROMISE_exp dataset after adding a new binary classification column for categorizing sustainability dimensions into two defined clusters: Eco-technical and Socioeconomic, and having a selected domain expert label the raw data. The model’s efficiency is evaluated using four matrices—1) accuracy; 2) precision; 3) recall; and 4) F1 score—across a variety of epoch and batch sizes. Our numerical results demonstrate the viability of the approach in text classification tasks via performing well in mapping NFRs to software sustainability dimensions. This acts as a proof of concept for automating the sustainability measurement of software awareness at the early development stage. In addition, the results emphasize the importance of domain-specific fine-tuning and transfer learning for obtaining high performance in classification tasks in requirements engineering.https://ieeexplore.ieee.org/document/10256174/Green software engineeringrequirements engineeringsustainable software systemgreen ITlanguage modelBERT
spellingShingle Ahmad F. Subahi
BERT-Based Approach for Greening Software Requirements Engineering Through Non-Functional Requirements
IEEE Access
Green software engineering
requirements engineering
sustainable software system
green IT
language model
BERT
title BERT-Based Approach for Greening Software Requirements Engineering Through Non-Functional Requirements
title_full BERT-Based Approach for Greening Software Requirements Engineering Through Non-Functional Requirements
title_fullStr BERT-Based Approach for Greening Software Requirements Engineering Through Non-Functional Requirements
title_full_unstemmed BERT-Based Approach for Greening Software Requirements Engineering Through Non-Functional Requirements
title_short BERT-Based Approach for Greening Software Requirements Engineering Through Non-Functional Requirements
title_sort bert based approach for greening software requirements engineering through non functional requirements
topic Green software engineering
requirements engineering
sustainable software system
green IT
language model
BERT
url https://ieeexplore.ieee.org/document/10256174/
work_keys_str_mv AT ahmadfsubahi bertbasedapproachforgreeningsoftwarerequirementsengineeringthroughnonfunctionalrequirements