AI in Construction Management: Prepared- ness and Potential A case study on implementing a predictive machine learning framework for construction project scheduling Master’s thesis in Master Complex Adaptive System and Design and Construction Project Management Mohammed Rauf, Ha Vu DEPARTMENT OF PHYSICS AND CIVIL ENGINEERING CHALMERS UNIVERSITY OF TECHNOLOGY Gothenburg, Sweden 2025 www.chalmers.se www.chalmers.se Master’s thesis 2025 AI in Construction Management: Preparedness and Potential A case study on implementing a predictive machine learning framework for construction project scheduling Mohammed Rauf Ha Vu Department of Physics and Civil Engineering Chalmers University of Technology Gothenburg, Sweden 2025 Mohammed Rauf Ha Vu © Mohammed Rauf, Ha Vu, 2025. Supervisor: Rasmus Rempling, Chalmers & NCC Examiner: Rasmus Rempling and Mats Granath, Chalmers Master’s Thesis 2025 Department of Physics and Civil Engineering Chalmers University of Technology SE-412 96 Gothenburg Telephone +46 31 772 1000 Cover: Photograph taken by Tom Caillarec, Unsplash Typeset in LATEX, template by Kyriaki Antoniadou-Plytaria Printed by Chalmers Reproservice Gothenburg, Sweden 2025 iv Acknowledgments First and foremost, we would like to express our utmost gratitudes to our examiners and supervisor, Professors Rasmus Rempling and Mats Granath, for their invaluable guidance and patience, as well as insightful feedback throughout this project. Their support has been instrumental in bringing this work to life. We are also sincerely thankful to Chalmers and NCC, especially our supervisor Erik Ulvås, whose enthusiasm and thoughtful input played a crucial role in shaping the direction of this project. We are truly grateful to the company for giving the oppor- tunity to be part of such a meaningful project. We also extend our heartfelt thanks to all the interviewees and industry profession- als we had the privilege of speaking with during the course of this thesis. Their expertise and perspectives have greatly enriched and shaped the final outcome, con- tributing significantly to its success. Finally, to our families and friends, your support has meant everything, we are truly grateful for your encouragement and love. Above all, we thank God for the knowledge, strength, and resilience we have been given. v Abbreviations AI Artificial Intelligence BIM Building Information Modeling CPM Critical Path Method CPU Central Processing Uni GPU Graphics Processing Unit KFold K-Fold Cross-Validation ML Machine Learning MAE Mean Absolute Error MLP Multi-Layer Perceptron MSE Mean Squared Error RMSE Root Mean Squared Error R2 Coefficient of Determination PyTorch Python Torch Library (for ML) vi Contents Acknowledgments v 1 Introduction 3 1.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Problem Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Objective and Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.3.1 Research Questions . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 Research Approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.1 Gap Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.2 Literature Review . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.3 Case description: Ingelkärr-Stenkullen Project . . . . . . . . . 6 1.4.4 Interviews . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2 Literature Review and Research 9 2.1 Construction Management: Project Planning, Progress, and Risk . . 9 2.1.1 Overview of Construction Project Planning . . . . . . . . . . . 9 2.1.2 Construction Scheduling Methods . . . . . . . . . . . . . . . . 10 2.1.3 Risk Management in Construction Projects . . . . . . . . . . . 11 2.2 ML in Construction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.2.1 Applications and Limitations of Machine Learning in Con- struction mManagement . . . . . . . . . . . . . . . . . . . . . 13 2.2.2 Predictive Analytics in Construction Projects . . . . . . . . . 15 2.2.3 Comparative Studies of Predictive Models in Construction . . 16 3 Theory 19 3.1 Machine Learning Theory . . . . . . . . . . . . . . . . . . . . . . . . 19 3.1.1 Monte Carlo Simulation . . . . . . . . . . . . . . . . . . . . . 20 3.1.2 Neural Networks . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.1.3 Multilayer Perceptrons (MLPs) . . . . . . . . . . . . . . . . . 22 3.1.4 Embedding Layers . . . . . . . . . . . . . . . . . . . . . . . . 23 3.1.5 Multi-Head Self-Attention in Transformer Models . . . . . . . 24 3.1.5.1 Multi-Head Self-Attention . . . . . . . . . . . . . . . 25 3.1.6 Loss Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.1.7 Optimization in Neural Networks . . . . . . . . . . . . . . . . 26 vii Contents 3.1.7.1 The ADAM Optimizer . . . . . . . . . . . . . . . . . 26 3.1.7.1.1 First moment estimate (mean of past gra- dients): . . . . . . . . . . . . . . . . . . . . 27 3.1.7.1.2 Second moment estimate (variance of past gradients): . . . . . . . . . . . . . . . . . . . 27 3.1.8 Feature Engineering and Normalization . . . . . . . . . . . . . 27 3.1.9 Model Validation Techniques in Neural Networks . . . . . . . 28 3.1.9.1 Train-Validation Split . . . . . . . . . . . . . . . . . 28 3.1.9.2 K-Fold Cross-Validation . . . . . . . . . . . . . . . . 29 3.1.9.3 Validation Metrics for Neural Networks . . . . . . . . 29 4 Hybrid Framework 31 4.1 Data Collection and Preprocessing . . . . . . . . . . . . . . . . . . . 31 4.2 Hardware and Software Specifications . . . . . . . . . . . . . . . . . . 33 4.2.1 Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 4.2.2 Software and Libraries . . . . . . . . . . . . . . . . . . . . . . 33 4.3 Data Pipeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 4.4 Monte Carlo Simulations . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.5 Machine Learning Model . . . . . . . . . . . . . . . . . . . . . . . . . 38 4.5.1 Model Architecture . . . . . . . . . . . . . . . . . . . . . . . . 38 4.5.2 Data Preparation . . . . . . . . . . . . . . . . . . . . . . . . . 38 4.5.3 Training Procedure . . . . . . . . . . . . . . . . . . . . . . . . 39 4.5.4 Model Updating and Path Ranking . . . . . . . . . . . . . . . 39 4.5.5 Validation and Metrics . . . . . . . . . . . . . . . . . . . . . . 39 4.5.6 GPU Acceleration . . . . . . . . . . . . . . . . . . . . . . . . . 39 4.6 Design and Visualization . . . . . . . . . . . . . . . . . . . . . . . . . 40 5 Results 41 5.1 Result of the Interviews . . . . . . . . . . . . . . . . . . . . . . . . . 41 5.1.1 Interview with NCC . . . . . . . . . . . . . . . . . . . . . . . 41 5.1.2 Interview with Svenska Kraftnät . . . . . . . . . . . . . . . . 42 5.1.3 Interview with on-site leaders . . . . . . . . . . . . . . . . . . 42 5.1.4 Task Visualization and Progress Tracking . . . . . . . . . . . . 43 5.1.5 NCC’s Current Workflow . . . . . . . . . . . . . . . . . . . . . 44 5.1.6 Opinion on AI and Predictive Model . . . . . . . . . . . . . . 45 5.2 Technical Insights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 5.2.0.1 Monte Carlo-Simulated Project Progress . . . . . . . 46 5.2.0.2 Refined Predictions by the Machine Learning model . 48 5.2.1 Model Progress Over Time . . . . . . . . . . . . . . . . . . . . 48 5.2.2 GPU Acceleration . . . . . . . . . . . . . . . . . . . . . . . . . 50 5.2.3 Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 5.3 Design Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6 Discussion 53 6.1 Key Aspects of Project’s Development and Evaluation . . . . . . . . 53 6.1.1 Data Management . . . . . . . . . . . . . . . . . . . . . . . . 53 6.1.2 Hybrid Model Efficiency . . . . . . . . . . . . . . . . . . . . . 55 viii Contents 6.1.3 Monte Carlo Simulation Outcomes . . . . . . . . . . . . . . . 55 6.1.4 Machine Learning Model Refinements . . . . . . . . . . . . . . 56 6.1.5 Validation of Machine Learning Model Performance . . . . . . 57 6.1.6 Model Performance Over Time . . . . . . . . . . . . . . . . . 58 6.2 Strengths and Contributions . . . . . . . . . . . . . . . . . . . . . . . 58 6.2.1 Organizational and Cultural Barrier to AI Implementation . . 58 6.2.2 Computational Performance . . . . . . . . . . . . . . . . . . . 59 6.2.3 Model Integration into NCC’s Workflow . . . . . . . . . . . . 60 6.2.4 Data Visualization . . . . . . . . . . . . . . . . . . . . . . . . 61 6.3 Understanding the Role and Realistic Expectation of AI . . . . . . . 61 7 Conclusion 63 7.1 Addressing the Research Questions . . . . . . . . . . . . . . . . . . . 64 7.2 Future Improvements . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 A Appendix A 73 A.0.1 Transkription av intervju med Interviewee E och Interviewee F 73 A.0.2 Transkription av intervju med Interviewee C och Interviewee D från NCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 A.0.3 Transkription av intervju med Svenska Kraftnät . . . . . . . 88 ix Contents x Abstract Persistent challenges related to project delays continue to plague the construction industry, an industry often characterized as outdated, low-productivity, and unpre- dictable. These challenges are amplified by the complexity of infrastructure projects, external pressures, and the historically slow adoption of digital technologies. De- spite generating large volumes of data, the industry struggles with inconsistent data collection and effective utilization. To address these limitations and underline the importance of robust data management, this thesis explores the integration of ML- based predictive models to improve decision-making in project management. In col- laboration with NCC, the complex Ingelkärr–Stenkullen transmission line project served as a case study. A hybrid forecasting model was developed, combining Monte Carlo simulations with a neural network-based ML approach. The Monte Carlo simulations generate a wide range of potential project completion timelines, incorporating variations in task durations and task-specific characteristics. These simulated outcomes serve as the foundational training data for the neural network. A key technical contribution of this work lies in the model’s dynamic weekly updates with real-world progress data, enabling adaptive learning. Task dependencies were processed using GPU acceleration, and an attention mechanism allowed the neural network to capture task interactions, enhancing predictive accuracy. Interviews with NCC and Svenska Kraftnät project managers and engineers informed the model’s user interface, ensuring transparency and improved decision-making. Results showed high predictive accuracy (R2 = 0.92), which improved over time, highlighting the value of combining data-driven methods with traditional management strategies. Ultimately, this thesis demonstrates the critical need for next generation planning systems in construction, focusing on intelligence, adaptability, and transparency. The proposed framework shows strong potential to transform industry practices by significantly improving risk forecasting, optimizing resource management, and in- creasing responsiveness to uncertainty, thereby offering a pathway to more efficient and resilient project management in construction. Contents 2 1 Introduction 1.1 Background For years, the construction industry has faced significant challenges that stem from both external and internal factors [1]. On the side of external forces, these challenges include economic uncertainty, regulatory pressures and heightened competition that is demanding greater efficiency and innovation. Through the internal lens however, the industry contends with the ever-growing complexity of project scopes, tighter deadlines, and budget restrictions, creating formidable hurdles for project managers. Traditionally, the industry has relied on intuition, experience and outdated risk management methods. Using these methods often left managers to struggle with meeting deadlines and stay within budget [1]. This challenge does not only affect the project or the company but the industry as a whole. It is reported that the construction industry productivity level and ranking are much lower, and that it is struggling behind other industries regarding efficiency improvements [2]. Countries like Australia and the U.S showed negligible productivity gains and it is clear that the construction industry has not taken advantage of the IT evolution during the early 2000s. Though this does not have to remain true, the construction industry can still evolve, especially now when artificial intelligence (AI) and machine learning (ML) can redefine how projects are planned. This study is a testament to this statement where modern technologies are lever- aged to support decision-making, risk management, and project forecasting. By integrating AI and ML, construction companies can move away from static, reactive planning and instead adopt predictive, data-driven approaches that offer greater transparency and adaptability throughout the project life cycle. 1.2 Problem Statement The construction industry consistently meets with substantial difficulties in manag- ing project delays, primarily due to the complex and interdependent nature of risk factors [3]. As stated previously, these risks come from various sources ranging from the owner-related issues, contractor inefficiencies, resources constraints and external influences. It would be beneficial if the construction industry could rely on risk analysis methods like Monte Carlo simulation and deep neural network models as it provides a systematic way to quantify and analyze uncertainties. 3 1. Introduction Applying these mathematical models has proven to be particularly challenging. While the construction sector generates significant amounts of data over a project’s life cycle, much of it is unstructured, inconsistent, or incomplete [3]. Furthermore, the data are highly diverse, including images, schedules, economic records, and more, each requiring distinct processing methods [4]. The lack of standardization across these data types further complicates cohesive integration and analysis. Identification of gaps in construction project management processes, particularly in data utiliza- tion and stakeholder engagement. Emphasis on the need for a combined technical and user-focused approach. 1.3 Objective and Scope As the construction industry remains in the early stages of integrating ML and AI into project management, this study aims to explore how such technologies can be applied to support decision-making and improve productivity through enhanced data monitoring and analytical capabilities. This thesis is conducted in collaboration with NCC, one of the Nordic region’s lead- ing construction companies, and is based on a real infrastructure project, Ingelkärr- Stenkullen. The intention is to bridge the gap between academic research in AI and ML and their practical application in real-world construction environments. This objective forms the basis for the thesis’ dual focus on both technical development and practical relevance. On the technical side, the study involves the development and validation of a ma- chine learning model capable of forecasting project progress and detecting trends that may signal emerging risks or delays. Key steps in the model development pro- cess include data preprocessing, feature engineering, model training, and validation to ensure both accuracy and applicability in a construction context. While the model is developed using data from a specific project, the aim is to design a solution that is adaptable and applicable across different construction projects and settings. On the practical side, the research includes interviews and collaborative sessions with construction professionals, such as site managers and engineers from NCC, to gain a understanding of existing project management workflows, challenges in data usage, and the requirements for analytical tools that can support their daily decision-making. To ensure focus and depth, the scope of the technical side is limited to data-driven forecasting and data pattern detection within the domain of scheduling and per- formance. The financial aspect is discussed briefly in the literature review, while environmental, and resource specific dimensions are recognized as important aspects construction project management, they are considered outside the core scope of this thesis. 4 1. Introduction 1.3.1 Research Questions In order to achieve the objectives, a set of research questions have been formulated to guide both the research process and the development of the ML model: • How can AI and ML be implemented effectively and practically into construc- tion management workflows? • In what ways can predictive models contribute to data-driven decision-making, and to what extent does data management affect model performance? • How do construction professionals perceive the use of AI and predictive models in their daily workflows? 1.4 Research Approach This section presents the general approach taken to conduct the thesis and reach the final results. A variety of methods were combined to explore the topic from different angles and ensure the outcomes was grounded in both practical understanding and technical development. 1.4.1 Gap Analysis To achieve the research objectives and address the identified questions, the thesis began with a gap analysis aimed at understanding the needs of construction project management and exploring how AI and ML could be meaningfully integrated into existing workflows. This process was done quickly and involved internal discussions, a review of current state of AI and ML through literature, and collaborative sessions with industry professionals from NCC and other stakeholders. Key challenges and opportunities were identified through meetings, semi-structured interviews, and an examination of existing digital tools and software standards used in the industry. This analysis guided the technical work in this thesis by shedding light on the needs in the industry as well as the practical limitations of current solutions. 1.4.2 Literature Review The second part of the research approach is conducting literature review to better understand the current state of AI and ML within the construction industry. The re- view focused on academic publications, industry surveillance, case study to identify existing methods, common challenges and trends in the adaptation of data-driven tools in project management. Particular attention was given to research on the im- plementation of mathematical models in construction planning, as well as studies that applied various ML methods for forecasting and optimization purposes. The findings from the literature reviews provided a foundation for the development of the model. Additionally, it also supported the identification of gaps between theoretical advancements and real-world application. 5 1. Introduction 1.4.3 Case description: Ingelkärr-Stenkullen Project To sustain the practical relevance of this thesis, a case study was conducted on the Ingelkärr-Stenkullen project, a collaboration between Svenska Kraftnät and NCC. This section introduces the project and its importance for the research in a real- world context. A significant portion of the thesis is based on data collected from this project including task schedule, progress updates and planning structures. The thesis was further supported by insights gathered through interviews with key stake- holders, offering technical inputs and user-oriented perspectives to guide model de- velopment. Project description Overview Svenska Kraftnät and NCC have collaborated to construct a new 400 kV overhead transmission line, linking Ingelkärr in Ale Municipality to Stenkullen in Lerum Mu- nicipality [5]. This project’s purpose is to strengthen Västra Götaland’s electrical grid and increase the power transfer capacity to the Gothenburg area. The power line will also help facilitate the integration of new wind power production and alle- viate transmission bottlenecks affecting electricity trade between Sweden, Norway and Denmark. Background The project stems from network studies that identified the need to reinforce the transmission grid between Skogssäter and Stenkullen to ensure a secure and reliable power supply. This in turn would help to prevent overload and risks of major power outages. Additionally, EU regulations require member countries to avoid internal transmission bottlenecks that could hinder cross border electricity trade. Skogssäter-Stenkullen was the original planned project, however, due to environ- mental restriction in the Bredfjället-Väktor nature conservation area, the project was divided into two parts: • Ingelkärr to Stenkullen (Current project) • Skogssäter to Ingelkärr (Future project) This thesis is only about Ingelkärr- Stenkullen project as the line is expected to enhance trade, supporting industrial electrification, and enabling the ongoing green transition in transport and industry. Technical description: Line Length: 18-20 km Technology: Overhead alternating current (AC) transmission line. Voltage: 400 kV Supporting Structures: Steel portal + pylons requiring a 44 meter wide corridor in forested areas Planned station: Ingelkärr- Stenkullen. 6 1. Introduction Project timeline: 2012-2016: Initial planning and consultation 2016: Application for a transmission line concession submitted 2019: Environmental restrictions led to splitting the project into two phases 2020-2023: Permitting process, environmental impact assessments and finalizing the route October 2024: Transmission line construction completed and connected to Stenkullen station 2026: Expected commissioning once Ingelkärr station is fully operational 1.4.4 Interviews Interviews are not only one of the common ways to collect qualitative data but it also extends beyond creating a comprehensive snapshot, analyzing languages and reporting detailed insight [6]. This method aims to learn new perspectives from different stakeholders and experts to gather real life information. The results from these interviews are presented in chapter 6 and further discussed in chapter 7. Ap- pendix A presents the interview transcriptions along with the questions asked. To ensure transparency, the full content of each transcription is provided in the original language, Swedish. Interviewees: There are a total of three interview opportunities with six interviewees from Svenska Kraftnät and NCC, who have either worked on the Ingelkärr-Stenkullen project or possess expertise in the field. To protect the interviewees’ identities, their names and roles have been anonymized. From Svenska Kraftnät: • Project leader: Interviewee A • Trainee: Interviewee B From NCC:s side on-site workers: • On-site leader: Interviewee C • On-site block leader: Interviewee D In addition, there is an interview with NCC engineers to gain insight into how the company operates when starting a new project. • Manager: Interviewee E • Master Trainee: Interviewee F Structure of the interview For this thesis, the interviews were either conducted in person or via Microsoft Teams, each lasting approximately an hour with about 30 to 40 minutes dedicated to active questioning. To ensure an active conversation, the questions are open-ended while incorporating follow up questions to explore the responses. The interviews were designed to address different perspectives within the project. By speaking with NCC’s off-site managers and master trainee, Interviewees E and 7 1. Introduction F, the thesis gained detailed insights into production planning, execution, and chal- lenges associated with large-scale construction projects. On-site managers, Inter- viewees C and D, contributed valuable perspectives on the specific difficulties faced during the Ingelkärr–Stenkullen project and how the team managed unexpected hurdles. From the owner’s side, an interview with Svenska Kraftnät’s project leader (Interviewee A) and trainee (Interviewee B) provided insights into project expec- tations and the challenges of coordinating with and communicating across various government agencies. Each interview session was structured around similar themes such as risk manage- ment, timeline adjustment, project visibility, AI implementation and communication challenges. Ethics of interviews Conducting ethical interviews is fundamental to ensuring the integrity and credibility of research. Interviewers must obtain ethics approval before conducting interviews intended to gather data for researching findings [7]. Key ethical considerations in- clude maximizing benefits while minimizing potential harm to participants, ensuring voluntary participation through informed consent and treating all interviewees with respect. Interviewer should also be mindful of the management of data to protect participant confidentiality. In conducting the interviews for this thesis, several key ethical considerations were meticulously observed to ensure the integrity and credibility of the research process. Each interview commenced with mutual introductions and a clear explanation of the thesis objectives and the specific purpose of the interview. Prior to any recording, explicit consent was obtained from all participants for both audio and video, in line with ethical standards that emphasize informed consent and respect for participants’ autonomy. The recordings were subsequently transcribed semi-verbatim to maintain accuracy and facilitate thorough analysis. To delve deeper into the insights gathered, the transcribed data underwent comprehensive discussions, allowing for a nuanced understanding of the information provided by the interviewees. This approach not only ensured compliance with ethical guidelines but also enhanced the depth and validity of the research findings. 8 2 Literature Review and Research To get a clearer picture, this chapter focuses on the current workflow within con- struction industry by reviewing literature and articles, explore various scheduling methods and analyze the current state of AI and ML could in construction industry, its influence and the intricate factors involved. 2.1 Construction Management: Project Planning, Progress, and Risk This section outlines current practices in project planning, explores common schedul- ing methods, and examines approaches to risk management within the construction industry. 2.1.1 Overview of Construction Project Planning Effective planning is crucial to any construction project as they are complex and vul- nerable to random external factors. In the late 1950s, the introduction of planning techniques based on schedule networks and bar charts became a standard industry practice and has remained so ever since [8]. However, the report by McKinsey ex- plores the weakness of the industry as 98% of construction projects experience more than 30% cost overrun and 77% projects are at least 40% overdue [9]. According to PMBOK Guide [10], every project encompasses aspects of scoping, scheduling, budgeting and quality management. As one of the largest sectors world- wide, constitutes approximately 13% of the global Gross Domestic Product [9], the construction industry follows a similar working management process, incorporating additional knowledge areas such as risk, safety and environmental considerations. Scheduling in the construction industry is one of the critical aspects of project man- agement due to the unique nature of construction projects, which often involve distinct challenges and specific requirements [11]. Therefore, it is essential for both the contractor and the owner to establish a well structured construction project schedule that includes the selection of resources (e.g machines, workforce) and effec- tive coordination. To develop an optimal schedule that meets the accepted criteria, the planner must account for specific project conditions and constraints. 9 2. Literature Review and Research Another fundamental component of construction management is resource allocation as it has a direct influence on the project’s progress and result [12]. Resource allo- cation is also connected to project scheduling as the availability and distribution of resources directly influence task sequencing and project timeline [13]. Faniran et al (1999) argue that efficient resource allocation in construction planning should prioritize value addition and cost effectiveness when determining resource requirements [14]. The study also shows that increasing resource allocations to con- struction planning can enhance project performance, thus, it is crucial to determine the appropriate resource allocation to maximize efficiency and project success. 2.1.2 Construction Scheduling Methods Examination of methods and tools used to monitor project progress and ensure ad- herence to schedules. Scheduling methods: Over the past decades, construction scheduling has become a focal point as there has been an excessive amount of methods and algorithms developed to address specific scenarios and problems [15]. Scheduling methods can be divided into two categories: Bar chart and network-based systems. Bar charts (e.g Gantt chart) are easy to un- derstand and generally an acceptable communicating tool [16]. These charts are commonly preferred in the construction industry because they present schedules in a simplified and flexible format [18]. This clarity is especially beneficial, as employ- ees often have varying levels of comprehension. Gantt charts The most recognizable bar chart is the Gantt chart, as it was a tool developed to plan and manage production [19]. It works by having production planning operate in a top-down approach, connecting end-item requirements to their components through time-phased production scheduling, ensuring parts are available when needed. Gantt charts emphasize systematic solutions over algorithmic ones, with a simple layout that is easy to follow. However, their limitations in managing and processing information effectively posed significant challenges. They also required extensive data collection and planning, which was unnecessary for organizations where unca- pacitated production methods worked well. Over time, Gantt charts fell out of favor as the complexities of large-scale production overwhelmed the techniques [19]. The revival of Gantt charts began with the advent of microcomputer based project management software. Their simplicity and effectiveness in visually displaying project activities, timelines, and progress made them appealing to managers as well as all level workers. Unlike complex network based schedules, Gantt charts offer an intuitive and easily understandable format for presenting schedules, making them accessible to a wide range of users. Another surge of popularity occurred by the development of interactive applications where Gantt charts were used to facilitate 10 2. Literature Review and Research communication between users, allowing for better problem definition and solution. Today, Gantt charts remains a staple in modern project management [19]. Critical Path Method Another well-known scheduling technique is Critical Path Method (CPM), which is a network based system [20]. It works by identifies the sequence of tasks and activities that determine the minimum project duration, also known as the critical path. Any delay in tasks on the critical path will directly affect the project duration. CPM is useful in production planning and control, helping managers prioritize tasks and allocate resources. Despite its success in the project management sector, CPM has been accepted as a universal tool in the construction industry [17]. In the survey conducted by Galloway (2005), only 46 % of owners require CPM scheduling on their projects, and 72.5% specify it in contracts. However, only 55.9% require a baseline schedule. Project owners value CPM for its ability to conduct “what-if” scenarios and summarize schedules on a bar chart, but also express their concern about the complexity of CPM and the potential for contractors to manipulate schedules. From the same survey, many contractors noted the rise of CPM popularity as their contracts often require CPM scheduling [17]. In projects that do not have a CPM scheduling requirement, many of them would still prepare one to plan and monitor their work. Contractors primarily use CPM for periodic control of work, developing look-ahead schedules, coordination of subcontractors, etc. They believed that there are many time-saving and financial benefits to using CPM with the majority achiev- ing a moderate to high success rate in leveraging these advantages. Despite this, contractors also identified logic abuse as the primary setback of CPM scheduling. Other concerns include excessive work to implement, over-reliance on specialists, and lack of responsiveness to field personnel. There are several ways to improve the use of CPM in construction projects. Accord- ing to Kim et al (2005), universities should revise their programs to provide more practical and consistent CPM training for their students [18]. The article also em- phasized on the need for standards for CPM scheduling to foster a more transparent environment. CPM is a valuable project management tool and its full potential is hindered by a lack of standardization, inconsistent training and complexity of soft- ware. By addressing above-mentioned issues, the construction industry can benefit greatly from embracing CPM scheduling [18]. 2.1.3 Risk Management in Construction Projects Risk management is one of the most important processes in construction, as risks can arise at any stage, from initial planning and design to execution and final project delivery. Therefore, effective risk management requires active participation from all stakeholders involved in the project. According to the article by Schieg (2006), risk management in construction is a structured and systematic process consisting of six 11 2. Literature Review and Research key steps: risk identification, risk analysis, risk assessment, risk control, risk moni- toring, and goal management [21]. Despite the structured nature of this framework, the most commonly used techniques in practice, such as brainstorming sessions, checklists, risk registers and sensitivity analysis, which tend to be largely reactive, semi-formal and often unstructured [22]. These methods, while useful, are generally not embedded into the broader project systems in a proactive or continuous way. Moreover, effective communication and information sharing are critical in managing risks, especially considering the wide range of stakeholders involved in construction projects. As highlighted by Serpella et al. (2014), these processes are often hindered by the limited variety and frequent misapplication of risk management approaches [23]. Another significant challenge is that traditional methods rarely allow for the systematic capture and reuse of risk- related data from past projects. This lack of knowledge retention makes it difficult to identify recurring patterns or anticipate future risks based on prior experiences. By promoting better documentation and reflection on past projects, organizations can improve their ability to foresee and mitigate risks, ultimately enhancing project outcomes. Leveraging historical data can help anticipate similar issues, enabling stakeholders to implement proactive measures [23]. In the context of mega-construction projects, the exposure to risks is amplified and extends beyond typical concerns. These large-scale projects often face heightened threats including political, economic and design-related risks [24]. Political risks, in particular, involve uncertainties and challenges stemming from changes in govern- ment regulations, political instability, and legal or regulatory processes, all of which directly impact project financing, approval procedures and overall project momen- tum. Despite the significance of these risks, current risk management strategies in mega projects tend to treat each risk individually, overlooking the ways in which different risks interact and amplify each other. Furthermore, existing classification methods do not adequately group risks according to their sources or underlying causes, making it difficult to trace their origin and assign clear responsibility to the relevant stakeholders. As a result, effective risk ownership and accountability are often lacking or entirely absent, further complicating risk management efforts in large-scale construction projects [24]. 2.2 ML in Construction This chapter is an overview of how ML models are being perceived in construction, the challenges it might face in implementation, and how organizational culture and data maturity influence the adoption. This section also explores both the optimism surrounding ML and the practical limitations that currently hinder its adoption across the construction industry. 12 2. Literature Review and Research 2.2.1 Applications and Limitations of Machine Learning in Construction mManagement Limitation: The construction industry has experienced a rapid increase in the amount of objec- tive data generated and stored daily across various disciplines throughout a project< or facility’s life cycle [25]. In this abundance of data presents an opportunity to ex- tract valuable knowledge and develop effective solutions to the persistent issue of project delays. The use of advanced data analytics tools is proven to be essential due to the interconnected nature of construction related data. Given this context, the potential of ML techniques and algorithms to analyze com- plex and diverse datasets holds significant promise for deriving meaningful insights that can enhance decision-making and project outcomes. However, the adaptation of ML and AI in the construction sector is still relatively new despite these benefits, the following section will be highlighting the limitations as well as the difficulties of integrating ML in construction. Technological Readiness and Workforce Resistance Implementing new technologies and innovative methods in the construction indus- try involves more than simply acquiring the latest computers or software [26]. As the industry moves deeper into the digital age, a critical question arises: even if construction companies are ready to adopt digital tools, are their employees equally prepared to make this transition? According to the research done by Akinosho et al. (2020) construction employees are often reluctant to accept new technologies, especially when these require a steep learning curve. Many show less interest in advanced tools and tend to prefer more traditional, practical methods. Although companies can encourage these adapta- tions through targeted training programs, especially since digitalization has shown the ability to deliver projects faster, more cost-effectively and with improved effi- ciency. Blackbox One of the more prominent limitations of adopting AI and deep learning is the “black box” nature of these algorithms [26]. Deep learning models, especially neu- ral networks, often produce predictions or recommendations without providing clear explanations behind these decisions. This lack of transparency is especially problem- atic in the construction industry, where decisions need to be justified and understood by all stakeholders. For instance, if a model suggests a reducing the amount of con- crete used in a project, it must also be able to explain why this reduction is safe and effective. Many tools like LIME ( Local interpretable Model-agnostic Explanations) and Interviewee F (Descriptive ML Explanations) have been developed to address these issues, but they are still in their developing stages and may not always provide complete explanations. 13 2. Literature Review and Research Data availability and quality Another significant limitation of deep learning models is the reliance on large amounts of high-quality data to perform effectively [27]. This issue is even more eminent in the construction industry, which often struggles with data availability due its frag- mented nature and the absence of standardized data collection practices. Regona et al. (2022) identified the scarcity of labeled data as a key factor contributing to the low accuracy of AI applications in construction [28]. This issue is further com- pounded by the lack of standardized data transformation techniques, which hinders the broader applicability of AI solutions. While large infrastructure projects may generate substantial amounts of data, these datasets often suffer from imbalances, where certain labels are underrepresented compared to others. Such imbalance can create significant challenges for AI model training, leading to biased predictions and reduced generalizability [28]. Moreover, the process of collecting, labeling and standardizing data remains a major bottle- neck, as it is both resource intensive and time consuming. This underscores the growing necessity for standardized protocols in data collection and transformation. Low quality data, including errors and missing values, introduces additional bias into AL models [29]. Many deep learning models are not designed to handle such low quality data, which further compromises their reliability. Robust preprocessing and data cleaning techniques are therefore essential to ensure models are trained on accurate and representative datasets [30]. Data privacy and security AI models rely on three core technical elements: data collection, data processing and data outcomes [31]. The data collected not only support model training but also serves as a range of management functions, including education and workforce training within the construction industry [32]. However, these datasets can raise significant privacy concerns. Confidential project information may be leaked, lead- ing to fears among stakeholders regarding unauthorized use of private data. The architecture, engineering and construction (AEC) industry relies on traditional data storage methods such as local or company-specific servers. These systems, however, are also more prone to data security risks. Concerns include the poten- tial threats of data corruption during transmission and cybersecurity vulnerabilities, particularly as local devices or remote working setups may lack protection software against external threats. Not to mention, the industry requires engineers to syn- chronize data across multiple software, devices and users thus making them even more vulnerable to private data leakage. Ethics Considerations For the longest time, the construction industry has been resistant to adapting new technologies, largely due to its status as a well-established sector with an aging work- force. As the branch gradually begins to implement more AI systems and robots, concerns have been raised among workers about potential job displacement. There is a sense of paranoia among workers about being replaced by these technologies, as 14 2. Literature Review and Research robots are increasingly capable of performing tasks that are hazardous or inaccessi- ble to humans. In the survey done by Kim et al. 2021, it revealed that while many workers and managers acknowledge the benefits of AI and robots in construction, their views dif- fer vastly [33]. Managers are generally more supportive of such innovations, viewing them as tools to boost productivity, minimize human error, and address persistent labor shortages. In contrast, on-site workers are more skeptical, especially regarding job loss and disruptions to established workflows. Many expressed a preference for robots that operate under human supervision rather than autonomous systems. However, proponents argue that the rise of AI and automation does not necessarily reduce the number of jobs. Instead, it shifts the nature of available jobs, creating new roles that require new skills. As such, the focus should be on helping workers adapt though reskilling and retraining initiatives, ensuring that they remain active participants in the industry digital transformation [32]. Cost Training an AI model is resource intensive and often requires considerable invest- ments in both hardware and skilled personnel [26]. High-performance computing devices equipped with GPU processors are essential to reduce training times and handle computational loads efficiently. Simultaneously, companies must consider the financial implications of hiring skilled professionals with expertise in AI and ML. 2.2.2 Predictive Analytics in Construction Projects Predictive analytics is a method rooted in the systematic analysis of data to de- velop forecasting models through computational techniques. It leverages statistical algorithms and data mining to anticipate future outcomes [34]. By analyzing both historical and real-time data, predictive analytics identifies patterns and trends to generate actionable insights to support informed decision-making. The rise of Build- ing Information Modeling (BIM) in the construction industry has enhanced the po- tential of predictive analytics. As BIM adoption grows, the synergy between its data-rich models and predictive analytics allows the industry to proactively address challenges, reduce uncertainties, and drive efficiency across the project life-cycle. ML has further advanced the potential of predictive analytics by offering powerful tools for extracting meaningful insights from complex and diverse datasets [25]. Unlike traditional rigid programming that depends heavily on assumptions about the data distribution, ML algorithms learn from implicit patterns within the data [35]. Through iterative learning and inductive reasoning, these models continuously refine their accuracy over time. This adaptability makes ML well suited to address the intricacies of the construction sector, a knowledge-intensive domain characterized by vast volumes of heterogeneous, interdependent data [25]. 15 2. Literature Review and Research 2.2.3 Comparative Studies of Predictive Models in Con- struction Many studies have investigated various approaches to predictive modeling, ranging from traditional statistical methods to advanced ML algorithms and neural net- works. These studies highlight both the potential benefits and inherent limitations when applying predictive analytics to construction projects. One common approach is training ML models using historical project data. For example, Chakraborty et al. (2020) compared several ML techniques for predicting construction costs and demonstrated that these approaches provided better accuracy compared to traditional methods [36]. Similarly, Momade et al. (2022) employed AI tools to model labor costs in construction projects, underscoring AI’s capability to capture complex patterns in cost estimation [37]. Nevertheless, these approaches heavily depend on extensive historical data for training, which poses practical chal- lenges. Each construction project typically has unique characteristics in terms of scope, conditions, and execution specifics, making it difficult to find suitable histor- ical data for comparable scenarios. Additionally, acquiring historical project data can often be restricted by legal considerations and privacy regulations, further lim- iting the availability and practical application of such predictive models. As noted previously, the unique nature of individual construction projects signif- icantly restricts the direct applicability of historical data to new scenarios. Even when past projects are similar, small variations in environmental factors, supply chain dynamics, workforce skills, management strategies, and unpredictable external events reduce the effectiveness of historical data in predictive modeling. To address these challenges, simulation-based approaches have become essential. For instance, Nguyen et al. (2013) illustrated how Monte Carlo simulations could generate a wide range of plausible project completion scenarios by varying critical inputs such as task durations and resource availability [38]. These mathematical simulations provide project managers with a broad perspective of potential project timelines. However, the accuracy of these simulated scenarios relies heavily on carefully defined probability distributions and realistic assumptions. Furthermore, recent studies are exploring adaptive and reinforcement learning meth- ods, which can continuously update predictions based on real-world project progress. Nguyen et al. (2022) investigated various ML approaches, including deep learning, to forecast preliminary factory construction costs, demonstrating that deep learn- ing methods are particularly effective for handling complex datasets [39]. Similarly, Koc and Gurgun (2021) reviewed ML applications in construction safety research, highlighting the potential of these methods to predict and mitigate safety risks [40]. Such adaptive models aim to overcome the static limitations of traditional predic- tive methods, making them more suitable for the dynamic conditions experienced in actual construction projects. Despite these promising advancements, deploying predictive ML and simulation- 16 2. Literature Review and Research based models in practice continues to encounter significant hurdles. Among these are the fragmented data management practices prevalent in the construction in- dustry and the limited accessibility of data due to privacy concerns. Successfully integrating predictive analytics into construction project management workflows re- mains challenging and represents a vital area for future research. 17 2. Literature Review and Research 18 3 Theory In this chapter, the theoretical concepts are presented and explained to serve as a foundation for the methodology of this study. 3.1 Machine Learning Theory ML is a branch of AI that allows systems to recognize patterns, make predictions, or perform specific tasks by learning from data, rather than relying on explicit pro- gramming for every scenario. This flexibility makes ML particularly effective for addressing complex problems marked by uncertainty, variability, or dynamic data relationships. Arthur Samuel famously described ML as "the field of study that gives computers the ability to learn without being explicitly programmed" [41]. Before ML emerged, traditional programming depended on strictly defined frameworks, limit- ing programs to specific predefined actions. In contrast, ML algorithms generalize from data, enabling them to effectively manage situations they have not previously encountered [42]. ML incorporates various approaches, with supervised and unsupervised learning being the most prominent. Supervised learning, the primary focus of this study, involves training models using labeled data to predict outcomes or classify new in- formation based on learned patterns. On the other hand, unsupervised learning works with unlabeled data to uncover hidden patterns or structures without pre- defined categories. Regardless of the method, ML models typically follow three fundamental stages: training, in which the model learns patterns from data; valida- tion, where the model’s accuracy is evaluated and improved; and inference, where the model applies its acquired patterns to new, unseen data. Internally, ML models leverage statistical techniques and optimization algorithms carefully selected to suit the specific problems they address [42]. In addition to ML, mathematical modeling represents another fundamental approach for tackling complex problems. It involves creating mathematical descriptions of real-world systems, using algorithms and statistical relationships to simulate their behavior under different conditions. A key advantage of mathematical modeling is the capability to run simulations, enabling analysis of system behavior across numerous hypothetical scenarios. This approach provides valuable insights into system dynamics and facilitates optimization by experimenting with variables and conditions in a simulated environment, free from real-world constraints [43]. 19 3. Theory 3.1.1 Monte Carlo Simulation Monte Carlo methods are numerical techniques that rely on randomness and sta- tistical sampling to address mathematical problems or to simulate complex systems [44]. Initially inspired by observations of games of chance, these techniques were pioneered by researchers at Los Alamos during the 1940s, notably by John von Neu- mann and Stanislaw Ulam, who used them to tackle challenging nuclear physics problems. Mathematically, many problems solved by Monte Carlo approaches can be described by integrals of the general form: I = ∫ g(x)f(x) dx Here, f(x) represents a probability distribution (probability density function), satis- fying ∫ f(x) dx = 1. Monte Carlo methods approximate such integrals by repeatedly generating random samples from the distribution f(x) and computing the average value of the function g(x) at these sample points. Formally, the Monte Carlo ap- proximation of the integral is expressed as: G ≈ 1 N N∑ i=1 g(xi), where each xi is independently drawn from the distribution f(x). As the number of samples N increases, the estimated average becomes progressively closer to the true value of the integral due to the law of large numbers. Additionally, the uncertainty of the result measured as statistical error, can be quantified through the standard deviation of the sampled values. Importantly, this uncertainty diminishes as more samples are included [44]. To visualize this concept, consider estimating the area of a circular pond by ran- domly throwing pebbles onto a square plot of land that fully encloses it. By calcu- lating the proportion of pebbles that fall within the pond, one can approximate the pond’s area. This example demonstrates the core principle of Monte Carlo meth- ods: using random sampling to address problems involving integrals or probabilities. Monte Carlo methods are particularly advantageous when dealing with high dimen- sional problems, where conventional numerical methods can become computationally prohibitive. Because of their versatility, these methods have become important tools across numerous scientific fields, including physics, biology, chemistry, engineering, finance, and many others [44]. 3.1.2 Neural Networks Artificial Neural Networks (ANNs) are computational models inspired by how bio- logical neural networks in the brain process information [45]. They are built from layers of interconnected processing units called neurons, which pass information along through weighted connections. These weights determine the strength of the 20 3. Theory connections and play a key role in how the network learns and updates its internal structure based on input data. The foundational idea behind artificial neural networks dates back to 1943, when McCulloch and Pitts proposed a simplified mathematical model of a biological neu- ron. Now known as the McCulloch-Pitts neuron, this model treats neurons as binary units that compute a weighted sum of their inputs and activate only if this sum exceeds a certain threshold [45]. Mathematically, the state of a McCulloch-Pitts neuron at time step t + 1 is given by: si(t + 1) = sgn  N∑ j=1 wijsj(t) − θi  (3.1) where: • wij is the weight of the connection from neuron j to neuron i, • θi is the activation threshold of neuron i, and • the signum function (sgn) outputs +1 if the result is positive (active), and −1 otherwise (inactive). Although the McCulloch-Pitts model laid the groundwork, it oversimplifies how biological neurons behave. Real neurons do not just switch on and off, they respond in more continuous and nuanced ways. To reflect this, modern neural networks use activation functions that introduce non-linearity, allowing them to learn more complex patterns. Two of the most commonly used activation functions are the Rectified Linear Unit (ReLU) and the hyperbolic tangent (tanh): ReLU: g(b) = max(0, b) (3.2) Hyperbolic tangent: g(b) = tanh(b) (3.3) ReLU is especially popular in deep learning because it is computationally simple and helps address challenges such as vanishing gradients. Neural networks also vary in how they update neuron states. There are two main strategies: 1. Synchronous updating: All neurons in a layer update their states at the same time using the inputs from the previous step. 2. Asynchronous updating: Neurons update one at a time, either in a fixed sequence or randomly. This method can sometimes lead to better convergence in certain types of models. These core concepts form the basis of artificial neural networks and support their use in a wide variety of applications, from pattern recognition to complex decision- making tasks [45]. 21 3. Theory 3.1.3 Multilayer Perceptrons (MLPs) Multilayer Perceptrons (MLPs) are a class of artificial neural networks composed of multiple layers of neurons [45]. These layers are typically structured in a sequence from an input layer, through one or more hidden layers, to an output layer, as illustrated in Figure 3.1. Unlike single-layer perceptrons, which can only solve simple problems, MLPs significantly enhance computational capabilities, enabling them to handle more complex, nonlinearly separable problems. Figure 3.1: Structure of a Multilayer Perceptron (MLP) with input, hidden, and output layers. A fundamental limitation of a single-layer perceptron is that it can only classify linearly separable data, where a straight line, plane, or hyperplane can perfectly separate different classes. Many real-world problems involve non-linearly separable patterns, MLPs address this limitation by incorporating hidden layers. The nonlin- ear transformations allow the network to learn complex dynamics that single-layer perceptrons cannot capture [45]. MLPs rely on differentiable and nonlinear activation functions, which enable learn- ing through the backpropagation algorithm. This algorithm calculates the gradient of an error function and iteratively adjusts the network’s weights to minimize clas- sification errors or prediction deviations. Formally, an MLP operates as follows: inputs are fed into the input layer, then passed through successive hidden layers, where each neuron processes the input, applies a nonlinear activation function, and transmits its output to the next layer. Finally, the output layer computes the net- work’s final predictions [45]. Each hidden neuron computes its output as: 22 3. Theory Vj = g (∑ k wjkxk − θj ) (3.4) where: • wjk represents the weight associated with the connection from input neuron xk to hidden neuron j, • θj is the threshold of neuron j. Similarly, the output neurons compute their final outputs as: Oi = g ∑ j WijVj − Θi  (3.5) where: • Wij denotes the weight connecting hidden neuron j to output neuron i, • Θi is the threshold for the output neuron. By incorporating multiple layers and nonlinear transformations, MLPs significantly expand the scope of problems that neural networks can solve, making them a foun- dational architecture in deep learning and modern AI [45]. 3.1.4 Embedding Layers Embedding layers are a fundamental technique in ML that is used to convert cate- gorical data, such as words, labels, or discrete categories, into numerical representa- tions that can be effectively processed by a model [46]. Unlike traditional categorical encoding methods, embeddings capture relationships between categories, allowing models to leverage the underlying structures within the data. A simple approach to representing categorical data numerically is to assign each category a unique identifier. For instance, encode the words cat, dog, and apple as the following: • "cat" → 1 • "dog" → 2 • "apple" → 3 However, this representation suffers from a key limitation: the assigned numbers do not capture any inherent relationships between categories. For example, while cat and dog are both animals and share semantic similarities, their numerical encoding does not reflect this relationship. The model treats them as completely independent entities, and does not recognize their conceptual connection [46]. Embedding layers solves this issue by representing each category as a multidimen- sional vector rather than a single arbitrary number. These vectors are learned in a way that preserves semantic relationships between categories. After training, words may be mapped to the following vector representations: 23 3. Theory Word Embedding (Vector) "cat" [0.8, 0.2] "dog" [0.9, 0.1] "apple" [0.1, 0.9] Table 3.1: Example of word embeddings capturing semantic relationships. In this representation, cat and dog have similar embedding values because they belong to the same semantic category (animals), whereas apple has a distinctly different representation, reflecting its classification as a fruit. This transformation enables ML models to recognize not just individual data points but also the rela- tionships among them, making embeddings particularly powerful for tasks requiring pattern recognition and dynamic dependencies [46]. Mathematically, an embedding layer is defined as a learnable matrix E of size V ×d, where: • V is the number of unique categorical items (e.g., words, labels). • d is the embedding dimension, determining the amount of information stored in each vector. • Each row in E corresponds to an embedding vector for a specific category. Given an input category, the embedding layer retrieves the corresponding vector from this matrix, which is then used by the neural network to learn meaningful relationships and improve performance. Embeddings are not predefined but are learned through training using one of two approaches: 1. Pre-trained embeddings – These embeddings are generated from large datasets using unsupervised learning techniques such as Word2Vec, GloVe, or FastText. They capture general semantic relationships and can be fine tuned for specific applications. 2. Task-specific embeddings – When training a model from scratch, the em- bedding layer initializes with random values and is gradually optimized us- ing techniques such as stochastic gradient descent (SGD) or ADAM. During training, the model updates embeddings to minimize error, allowing similar categories to converge in the embedding space. By replacing arbitrary numerical encodings with dense, structured vectors, embed- ding layers enhance the model’s ability to process high-dimensional categorical data efficiently. This makes them an essential component of modern ML, with applica- tions in natural language processing, recommendation systems, and structured data analysis [46]. 3.1.5 Multi-Head Self-Attention in Transformer Models Multi-head self-attention is a core component of transformer based architectures, en- abling models to capture complex dependencies across input sequences [47]. Unlike recurrent or convolutional layers, self-attention allows models to process all elements 24 3. Theory simultaneously, making it particularly effective for tasks such as language transla- tion, text summarization, and time-series analysis. To illustrate this, consider the following sentence: "The animal chased the ball because it was playful." Humans understand that it refers to the animal, not the ball, but traditional models like recurrent neural networks (RNNs) struggle with such long range dependencies due to their sequential nature. Self-attention overcomes this by enabling each word to attend to all others in parallel, preserving contextual relationships [47]. Self-attention operates by computing attention scores between all elements in a sequence. Given input matrices: • Queries (Q) – Elements seeking context. • Keys (K) – Elements providing context. • Values (V ) – Data used for final representation. The attention output is computed as: Attention(Q, K, V ) = softmax ( QKT √ dk ) V (3.6) where QKT measures similarity, softmax normalizes these values into attention scores, and 1√ dk prevents large activations that could hinder learning. 3.1.5.1 Multi-Head Self-Attention Single-head attention captures only one type of relationship at a time. To address this, multi-head self-attention extends the mechanism by running multiple attention computations in parallel, each learning distinct relationships. Formally, it is computed as: MultiHead(Q, K, V ) = Concat(head1, . . . , headh)W O (3.7) where each head is defined as: headi = Attention(QW Q i , KW K i , V W V i ) (3.8) Each head has unique weight matrices W Q i , W K i , W V i , enabling the model to focus on different aspects of the input. The outputs are concatenated and transformed using W O, producing a final representation that captures diverse dependencies [47]. 3.1.6 Loss Functions In supervised ML, neural networks learn by adjusting their parameters to minimize errors in their predictions [45]. This process relies on two key components: loss functions, which quantify model performance, and optimization algorithms, which iteratively update parameters to improve accuracy. 25 3. Theory A loss function, also referred to as a cost function or energy function, measures the discrepancy between a neural network’s predictions and the true target values. The objective during training is to minimize this function, thereby enhancing the model’s predictive accuracy [45]. For regression tasks, a widely used loss function is the mean squared error (MSE), defined as: H = 1 2 ∑ i,µ (t(µ) i − O (µ) i )2 (3.9) where: • O (µ) i is the output of neuron i for input pattern µ, • t (µ) i is the true target output, and • the summation runs over all neurons and training patterns. A lower loss value indicates better predictions, while a higher value suggests discrep- ancies between predictions and target values. Minimizing the loss function allows the network to learn meaningful representations of the data [45]. 3.1.7 Optimization in Neural Networks Optimization involves adjusting the network’s parameters, such as weights and bi- ases, to minimize the loss function. The fundamental optimization technique used in neural network training is gradient descent, an iterative method that updates parameters in the direction of the steepest decrease in loss. The gradient descent update rule for a weight wmn connecting neuron n to neuron m is given by: w′ mn = wmn − η ∂H ∂wmn (3.10) where: • wmn represents the connection weight, • η is the learning rate, controlling the step size of updates, and • ∂H ∂wmn is the gradient of the loss function with respect to wmn, indicating how the loss changes with small weight adjustments. The choice of the learning rate η is crucial, if it is too small, convergence is slow and if it is too large, training may become unstable, causing the model to oscillate around or diverge from the optimal solution[45]. 3.1.7.1 The ADAM Optimizer A widely used optimization algorithm that improves upon gradient descent is Adap- tive Moment Estimation (ADAM), introduced by Kingma and Ba (2014) [48]. ADAM combines the benefits of: • Momentum-based methods, which accelerate convergence. • Adaptive learning rate methods, which adjust step sizes for different pa- rameters. 26 3. Theory ADAM maintains two moving averages for each parameter: 3.1.7.1.1 First moment estimate (mean of past gradients): mt = β1mt−1 + (1 − β1)gt (3.11) where gt is the gradient of the loss function at time step t, and β1 (typically 0.9) controls the decay of past gradients. 3.1.7.1.2 Second moment estimate (variance of past gradients): vt = β2vt−1 + (1 − β2)g2 t (3.12) where β2 (typically 0.999) determines the influence of past squared gradients. Since both estimates start from zero, they are bias-corrected as: m̂t = mt 1 − βt 1 , v̂t = vt 1 − βt 2 (3.13) The final parameter update in ADAM is: θt = θt−1 − η m̂t√ v̂t + ϵ (3.14) where: • η is the learning rate, • ϵ (typically 10−8) is a small value added for numerical stability. [48] 3.1.8 Feature Engineering and Normalization The quality and preparation of input data have notable affects on the performance of ML models. To improve a model’s ability to learn patterns, two preparation tech- niques are essential, feature engineering and normalization. Feature engineering is the process of transforming raw data into meaningful features that capture relevant properties for a given prediction task [49]. Instead of directly using raw data, this technique creates more informative representations that improve the learning effi- ciency of ML algorithms. Feature engineering includes several key approaches: • Feature transformation – Modifying existing features to enhance their pre- dictive power, such as applying polynomial expansions or logarithmic trans- formations. • Feature creation – Generating new features by combining existing ones, identifying interactions between variables, or computing statistical aggrega- tions (e.g., mean, sum, variance). • Feature selection – Removing irrelevant or redundant features to improve model efficiency and reduce the risk of overfitting. 27 3. Theory By selecting and constructing relevant features, models can extract more meaningful patterns from the data, leading to improved accuracy and generalization [49]. Normalization is a preprocessing step that scales numerical features to a consistent range, ensuring that all features contribute proportionally to the model’s predictions [50]. Many ML algorithms are sensitive to differences in feature scales; without nor- malization, features with larger numerical ranges may dominate the learning process, potentially overshadowing smaller but equally important features. Common normalization techniques include: • Min-Max Scaling – Rescales features to a fixed range, typically between 0 and 1, using the formula: x′ = x − xmin xmax − xmin (3.15) where xmin and xmax are the minimum and maximum values of the feature. • Z-Score Normalization (Standardization) – Transforms data to have a mean of zero and a standard deviation of one: x′ = x − µ σ (3.16) where µ is the mean and σ is the standard deviation of the feature. Normalization ensures that all features contribute equally to the learning process, resulting in more stable training, faster convergence, and improved model perfor- mance [50]. 3.1.9 Model Validation Techniques in Neural Networks Effective validation of ML models is essential for ensuring that a trained neural net- work generalizes well beyond the training data [45]. Without rigorous validation, a model may perform exceptionally well on training samples but fail to maintain accuracy on unseen data. To mitigate this risk, several validation methodologies are employed, including the train-validation split and K-fold cross-validation, both of which provide reliable assessments of model performance and generalization capa- bilities. 3.1.9.1 Train-Validation Split A fundamental validation approach, commonly referred to as the train-validation split or holdout method, is widely used to prevent overfitting [45]. Overfitting occurs when a neural network memorizes patterns specific to the training data, including noise and random fluctuations, rather than identifying generalizable trends. This results in a model that performs well on the training set but poorly on new, unseen data. To address this, the dataset is partitioned into two distinct subsets: 28 3. Theory • Training set – Used to iteratively adjust the model’s internal parameters, such as connection weights and biases, during the learning process. • Validation set – A separate subset reserved for periodically evaluating model performance, ensuring that the learned representations generalize to indepen- dent data points. Maintaining a strict separation between these subsets is crucial for obtaining un- biased performance estimates. The validation set provides feedback on how well the model generalizes, allowing for systematic hyperparameter tuning, including ad- justments to the learning rate, regularization strength, and network architecture. By optimizing model performance based on validation results, the reliability and robustness of the model can be improved [45]. 3.1.9.2 K-Fold Cross-Validation One widely used method for robust model evaluation is K-fold cross-validation, which systematically partitions the dataset. In this approach, the dataset is divided into K equally sized subsets, or folds, and the model undergoes training and valida- tion in multiple iterations: In each iteration, one fold is designated as the validation set, while the remaining K −1 folds constitute the training set. The model is trained on the training folds and evaluated on the validation fold. This process is repeated K times, ensuring that each fold is used exactly once for validation. After all iterations, performance metrics such as accuracy or error rate are averaged across the K validation rounds. This method offers several advantages. Firstly, im- proved reliability and stability, averaging results across multiple validation rounds reduces variability and provides a more accurate estimate of the model’s generaliza- tion capability. Secondly, each data point is used for both training and validation, maximizing the effective use of available data. This is beneficial for smaller datasets, where full use of the data is critical. Incorporating K-fold cross-validation reduces the risk of overfitting and ensures that the model remains effective when applied to unseen data [45]. 3.1.9.3 Validation Metrics for Neural Networks To evaluate the predictive performance of deep learning models, a variety of error metrics are employed [51]. These metrics offer insights into the model’s accuracy, consistency, and reliability by quantifying the difference between predicted and ac- tual values. Below are the theoretical foundation to each key metrics used in this project. Mean Squared Error (MSE): Mean Squared Error measures the average of the squares of the prediction errors: MSE = 1 n n∑ i=1 (yi − ŷi)2 MSE penalizes larger errors more than smaller ones due to the squaring term, mak- ing it sensitive to outliers. It is widely used in regression problems.[52]. 29 3. Theory Root Mean Squared Error (RMSE): RMSE is the square root of the MSE and has the same units as the target variable: RMSE = √√√√ 1 n n∑ i=1 (yi − ŷi)2 RMSE provides a more interpretable error value for practitioners [51]. Mean Absolute Error (MAE): MAE computes the average absolute difference between predicted and actual values: MAE = 1 n n∑ i=1 |yi − ŷi| Unlike MSE, MAE treats all errors equally and is less sensitive to outliers. It is commonly used when interpretability and robustness to anomalies are prioritized [53]. Coefficient of Determination (R2): The R2 score indicates the proportion of variance in the dependent variable that is predictable from the independent vari- ables: R2 = 1 − ∑n i=1(yi − ŷi)2∑n i=1(yi − ȳ)2 A value of R2 = 1 indicates perfect prediction, while R2 = 0 implies that the model performs no better than the mean of the data. It is widely used as a global measure of goodness-of-fit in regression models [52]. These metrics together provide a com- prehensive framework for understanding the performance of regression-based models [51]. 30 4 Hybrid Framework The following chapter presents the technical methodology of this study. First, the developed hybrid framework is introduced, followed by a description of the technical components and the development of the program. In this study a hybrid modeling framework was developed, integrating a mathemat- ical simulation with a ML model to produce a predictive timeline for construction project management. The approach consists of two main components: a Monte Carlo simulation and a ML deep learning model, combining into a hybrid predictive model. The Monte Carlo simulation served as the foundation of the model. It used project parameters, such as task durations and dependencies, to generate a range of pos- sible project outcomes through stochastic sampling. Following this, an ML model complemented the predictions by learning from the simulated project outcomes and ranking them based on probability. Initially, it was trained on the Monte Carlo gen- erated project timelines, later on when real-world project updates became available, the model was continuously optimized and fitted with actual progress data. Inte- grating the progress of real world project progress each week increased the model accuracy. This hybrid framework combined the strengths of probabilistic simulation and ML pattern learning. While the Monte Carlo simulation generated a diverse range of po- tential timelines, the ML model processed these results to identify the most probable progress paths based on real-world project behavior. Together, these components created a forecasting framework that adapted to new information and improved over time. 4.1 Data Collection and Preprocessing The initial phase of a construction project involves developing a project schedule using PowerProject, a widely used scheduling software. This schedule is structured as a Gantt chart, detailing all tasks required for project completion along with at- tributes such as task dependencies, durations, and assigned resources. Throughout the project’s execution, the site manager continuously updates the PowerProject file to reflect real-time progress. Although the update frequency varies between projects, it is ideally conducted on a weekly basis to ensure that the schedule remains an ac- 31 4. Hybrid Framework curate representation of on-site developments. For this study, the final PowerProject file from the Ingelkärr- Stenkullen project was collected and used as validation data for the program. The file contained all updates recorded throughout the project’s duration. The PowerProject file was sys- tematically processed and key attributes associated with each task were extracted and exported to an Excel (.xlsx) file. The extracted attributes included: • Task Name • Power Post • Duration • Start Date • End Date • Predecessors • Successors • Progress per week Before further analysis, the extracted data were preprocessed to ensure consistency and eliminate potential errors that could interfere with the computations. Several key issues were identified and addressed to structure the scheduled data appropri- ately for the hybrid model. One primary preprocessing step involved removing overtasks, which were categorical rows serving as headers or grouping labels rather than actionable tasks. These en- tries were included in the original PowerProject file to organize related tasks under common categories. However, as they did not represent executable tasks, they could lead to misinterpretations and computational errors. Removing them ensured that only relevant task data was retained for analysis. Another crucial issue involved inconsistencies in task dependencies. Some dependen- cies were either incorrectly specified or incomplete, resulting in missing or illogical task sequences. Given that accurate sequencing of tasks is essential for modeling project progress and predicting potential delays, these dependency errors were sys- tematically corrected. The adjustments ensured that task relationships were prop- erly structured and aligned with the actual construction workflow. Several tasks in the data set lacked end dates and their progress never reached 100%. In many cases, these tasks had already been completed, but their status had not been properly updated in the PowerProject file. To address this the missing end dates were determined based on available project records and logical inferences drawn from surrounding tasks. This ensured that all completed tasks were accu- rately represented in the dataset, preventing potential gaps in the project timeline. 32 4. Hybrid Framework 4.2 Hardware and Software Specifications This section describes both the hardware and software required for the project. The hardware consisted of a cloud based GPU and CPU setup, while the software was built using various Python libraries. 4.2.1 Hardware The hybrid modeling framework was implemented using high-performance comput- ing (HPC) resources on the Alvis cluster, a GPU-accelerated computing infras- tructure within the Chalmers Centre for Computational Science and Engineering (C3SE), Sweden. For the program both GPU and CPU resources were used to ef- ficiently process large scale Monte Carlo simulations and train the ML model. To accelerate the computations NVIDIA Tesla V100 GPUs were utilized. The Monte Carlo simulations, matrix operations, and training of the deep learning models were done on the GPU. The parallel processing capabilities significantly improved com- putational speed and efficiency. While GPUs handled computationally intensive tasks, CPU resources on the Alvis cluster were essential for data preprocessing, task scheduling, and dependency mod- eling. The CPU cores were utilized to construct the dependency structure, mapping the task dependencies and ensuring that project schedules adhered to logical con- straints. Additionally, CPU based multi-threading was utilized. 4.2.2 Software and Libraries The implementation was developed in Python, using a combination of GPU-accelerated libraries, graph processing frameworks, and ML tools. The primary Python libraries used in this project are outlined below: • CuPy – Used for GPU-accelerated numerical computations, significant for the efficiency of matrix operations, statistical sampling, and vectorized Monte Carlo simulations. • Pandas & NumPy – Applied for data handling, preprocessing, and statistical transformations, including time-series management and operations on large datasets containing project tasks, durations, and dependencies. • NetworkX – Utilized for constructing the directed graph representing project task dependencies. This allowed for task sequence validation and detection of circular dependencies. • PyTorch – Used to structure the ML model architecture, train the baseline model and the weekly weight optimizer. • Scikit-learn – Employed for data preprocessing, feature scaling, statistical transformations, and model evaluation. Performance metrics such as Mean Squared Error (MSE) and Root Mean Squared Error (RMSE) were calculated to assess model accuracy. • Matplotlib – Used for visualizing simulation outputs, including Monte Carlo distributions, project progress trends, and dependency graphs. 33 4. Hybrid Framework • CuDF – Used for GPU-accelerated DataFrame processing, providing Pandas like functionalities optimized for NVIDIA GPUs. • CuML (RAPIDS AI) – Employed for GPU-accelerated ML preprocessing, such as feature scaling (StandardScaler). • SciPy – Used for statistical modeling and probability distributions (e.g., beta distribution for Monte Carlo sampling). • Seaborn – Utilized for enhanced data visualization, particularly for model validation results and error distributions. • Joblib – Used for parallel processing and model persistence, enabling efficient execution of computations. • TQDM – Implemented for progress bars to track execution time during sim- ulations and model training. 4.3 Data Pipeline The data pipeline developed for this study was a structured, multistage process de- signed to integrate data ingestion, preprocessing, simulation, ML, and result visual- ization, see figure 4.1. It enabled continuous alignment between simulated forecasts and real-world project progress. Excel Input File inputData.xlsx Start Main Orchestrator main.py Load Data dataLoader.py Build Dependency Graph taskMap.py Preprocess Data simM.py Run Monte Carlo Simulation simM.py Train Hybrid Model hybrid_model.py Filter & Rank Paths hybrid_model.py Visualize & Ex- port simM.py End Real-World Progress Available? Read Progress dataLoader.py Apply Real-World Progress Yes No Figure 4.1: Data Pipeline Flowchart The pipeline began with raw project data stored in an Excel file (inputData.xlsx). This file contained information about each project task, including task names, dura- tions expressed in days, hours, or minutes, start and end dates, and weekly progress 34 4. Hybrid Framework updates (e.g., “2023 v34”). The dataLoader.py module was responsible for im- porting this data into a Pandas DataFrame. During this process, column names were standardized, and a unique identifier was assigned to each task to maintain traceability throughout the pipeline. After the data was loaded, the taskMap.py module constructed a task dependency graph using the NetworkX library. This directed graph modeled the relationships between tasks and was used to compute key features such as float days and the num- ber of predecessors associated with each task. Simultaneously, the simM.py module performed additional feature engineering. Task durations were converted into a consistent unit (hours), and numerical features were scaled using GPU-accelerated preprocessing. These steps ensured the data was in a standardized and machine- readable format for simulation and modeling. If a specific progress week was specified, the pipeline integrated real-world progress data to improve the simulation’s accuracy. The dataLoader.py module retrieved cumulative progress values from the Excel file and updated task durations and start dates accordingly. This adjustment allowed the simulation to reflect the actual sta- tus of the project, bridging the gap between planned and executed work. Once the dataset was fully preprocessed and aligned with real-world progress, the simM.py module initiated a Monte Carlo simulation. The simulation strictly fol- lowed the task dependencies defined in the graph, ensuring that sequencing and concurrency constraints were respected. The simulation results were then passed to a hybrid ML model implemented in hybrid_model.py. Finally, the results were visualized using Matplotlib. All outputs, including processed data and visual- izations, were exported in a structured format (e.g., Parquet) to support further analysis and reporting. The entire pipeline was managed by the main.py script, which coordinated each stage and ensured that the model remained responsive to updated project information throughout the construction life-cycle. 4.4 Monte Carlo Simulations A construction project is made up of multiple interdependent tasks, each with spe- cific attributes. Project progress is measured as the percentage of tasks completed; when every task is finished, the project reaches 100% completion. The mathematical modeling of a construction project begins with interpreting the project as a network of interdependent tasks. Each task is defined by its baseline duration, number of predecessors, and available float days. These attributes are extracted from the input file as mentioned above and preprocessed to build a functional representation of the project schedule. The Monte Carlo method was applied to the mathematical model of the construc- tion project, using random variations in task durations as input. A Beta distribution was selected as the probability distribution. For each independent simulation, every task in the project was assigned a random delay or acceleration. This variation 35 4. Hybrid Framework was introduced by perturbing each task’s original planned duration using the Beta distribution, controlled by user-defined parameters α and β. In practical terms, each task duration could become shorter or longer than initially planned, reflecting realistic uncertainties that affected project timelines. Once these new task durations were simulated, they collectively defined a unique possible "path", project timeline outcome. The scheduling of tasks within this sce- nario relied on a relative concurrency model, which normalized the timeline based on the project’s overall planned duration. Tasks were placed on this normalized timeline according to their logical order and dependencies. If a task experienced a delay, the start of any dependent successor tasks was corre- spondingly adjusted. This delay propagation took into account "float days" built-in buffers allowing minor delays without immediately affecting subsequent tasks. How- ever, if delays exceeded these float buffers, they cascaded further, pushing subsequent tasks later in the timeline. Through this mechanism, each simulation realistically captured how delays or improvements in individual tasks could ripple through the project schedule, influencing the overall completion timeline. The sampling bounds were controlled using two parameters: variability_factor, which scaled with the baseline duration, and variability_hours, an absolute adjustment range. As an example, consider Task A with an initial duration of 10 hours. If the pa- rameters are set as variability_factor = 0.2 and variability_hours = 32, the sampling range is computed as: Lower Bound = 10 × (1 − 0.2) = 8 Upper Bound = 10 + 32 = 42 Thus, the perturbed duration for Task A will be sampled from a Beta distribution scaled to the interval [8, 42], where the shape of the distribution is controlled by the user-defined α and β parameters, see figure 4.2. At the start of each simulation iteration, the model reconstructed the project time- line by enforcing all task dependencies and precedence constraints. If a predecessor finished earlier than expected, its dependent tasks could begin sooner, introducing realistic flexibility. This adjustment process was repeated until all tasks were aligned without conflicts, resulting in a logically consistent and feasible project schedule for the given set of sampled durations. Example: Consider a simple scenario with two tasks: • Task A: Duration = 10 hours, Start = 0h, Finish = 10h • Task B: Depends on Task A, Duration = 5 hours, Float = 2 hours In the baseline schedule, Task B is planned to start 2 hours after Task A finishes at hour 12, but could legally start any time between hour 10 and 12 without causing delay to the overall project. 36 4. Hybrid Framework Figure 4.2: An example of a Beta distribution with parameters α = 2 and β = 5, scaled to the task duration interval [8, 42]. The distribution is used to sample perturbed task durations in the Monte Carlo simulation framework. Now, assume that in one simulation iteration, Task A is delayed by 3 hours (actual finish at 13h). Since the delay exceeds Task B’s float (3h > 2h), Task B must also be delayed by 1 hour to start at hour 13 instead of 12. Task Baseline Start Simulated Start Float Reason Task A 0h 0h – No change Task B 12h 13h 2h Delayed due to pre- decessor delay (3h > float) Table 4.1: Example of schedule adjustment based on task delay and float. Task B is delayed by 1 hour because the delay in Task A exceeds its float. Each iteration of the simulation yielded two primary outputs: A progress time-series capturing cumulative project progress over time. A task-level dataset containing simulated durations, adjusted start and finish times, float values, and dependency information for each task. When real-world data was available, tasks were partially updated to reflect actual progress, and durations were recalculated to represent only the remaining work. This simulation process was initiated from the main.py file and executed within the simM.py module. 37 4. Hybrid Framework 4.5 Machine Learning Model This model integrated task-specific simulation outputs and real-world progress data to predict and rank likely project completion paths, and was structured as illus- trated in the UML-style code diagram in Figure 4.3. «component» main.py «component» dataLoader.py «component» taskMap.py «component» simM.py «component» hybrid_model.py «component» cupy_utils.py calls calls calls calls uses us es us es Figure 4.3: UML diagram for Project Files 4.5.1 Model Architecture The ML component is based on a Multi-Layer Perceptron (MLP) augmented with a Multi-Head Self-Attention mechanism. The architecture consists of the following elements: • Embedding Layers: Task identifiers were converted into vector embeddings, allowing the model to learn task specific representations. • Feature Embedding: Input features such as simulated task durations, num- ber of predecessors, and float days were concatenated with the task embed- dings. This combined input was passed through a fully connected layer with ReLU activation and dropout for regularization. • Attention Layer: A multi-head self-attention mechanism processed the em- bedded features within each simulation iteration. This allowed the model to dynamically capture dependencies and interactions between tasks. • Output Layers: The output from the attention layer was fed through addi- tional fully connected layers to predict task-level completion times. 4.5.2 Data Preparation Each simulation iteration produced detailed task level data, including simulated du- rations, float days, and predecessor information. The features used in model training were limited to unique_id, simulated_duration, predecessor, and float_days. All features were standardized prior to training. 38 4. Hybrid Framework 4.5.3 Training Procedure Training was conducted using iteration aware batching: each batch consisted of all tasks from a single simulation iteration to preserve task interdependencies. This design allowed the attention mechanism to learn meaningful contextual patterns. The dataset was split into training and validation sets based on distinct simulation iterations to ensure independence between subsets. Training was governed by an early stopping criterion triggered after 20 epochs without improvement in validation loss. The model was trained using the Huber loss function, optimized with the ADAMW optimizer. A learning rate scheduler dynamically adjusted the learning rate during training. 4.5.4 Model Updating and Path Ranking After the model was initially trained on baseline simulation data, it was periodically updated using real-world progress inputs. These weekly updates were converted into feature representations consistent with those used during the initial training, allowing the model to incrementally adapt to the evolving conditions of the project. Following each update, the model was used to evaluate newly simulated Monte Carlo project paths. For each path, the model predicted task completion times, which were then compared to the simulated values. A Mean Squared Error (MSE) score was computed for each path to measure the deviation between the model’s predictions and the simulated outcomes. Based on these scores, all paths were ranked, and the highest-ranked (i.e., most realistic) paths were selected for visualization and further project management analysis. 4.5.5 Validation and Metrics Model validation used a separate subset of Monte Carlo simulation data. Perfor- mance was assessed using Mean Absolute Error (MAE), Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and the coefficient of determination (R2). Met- rics were reported in both hours and days for practical interpretability. Visual validation included scatter plots comparing actual and predicted completion times, error distributions, and rank correlation plots to evaluate model reliability. 4.5.6 GPU Acceleration A structured, three stage approach was used to transition from CPU-based process- ing to GPU-accelerated computation, with the goal of reducing execution time and improving scalability for large scale simulations and model training. In the initial stage, all computational tasks, including data handling, numerical simulations, and task dependency management, were executed using CPU-based Python libraries such as Pandas and NumPy. While this configuration ensured correctness, perfor- mance profiling revealed that Monte Carlo simulations suffered from long execution times. The main performance bottlenecks were associated with matrix operations 39 4. Hybrid Framework and repeated numerical computations. To address these limitations, the second stage introduced partial GPU utilization. Critical numerical operations, previously handled by NumPy, were migrated to their GPU-compatible CuPy equivalents. This included float day calculations and Monte Carlo sampling routines. Several preprocessing steps were also adapted for GPU execution. The final stage involved a full integration of GPU acceleration by restructuring the entire computational pipeline. All major processes, including data preprocessing, simulation workflows, task scheduling, and ML model training, were implemented using CuPy and PyTorch, which are optimized for CUDA-enabled GPUs. This in- tegration significantly reduced memory transfers between CPU and GPU, enabling more efficient performance. 4.6 Design and Visualization To determine user preferences regarding data visualization, during the interviews the functionality and objectives of the software were initially presented and explained. Thereafter, interviewees were asked about the significance and desired characteris- tics of data visualization. Interviewees were specifically asked to evaluate different visualization aspects, such as their preference between simplified outputs versus outputs that provide detailed information closer to the raw data. Furthermore, the managers provided concrete examples of visual tools currently utilized in their daily workflows, elaborating on strengths and shortcomings within these tools. To gain additional insights into their preferences, participants were shown examples of potential visualization output de- signed for the program. Their feedback on the example contributed valuable input for guiding the visualization development, ensuring alignment with actual user ex- pectations and practical requirements. After the final version of the program produced the output data in raw numerical form and matplotlib plot, this output was used as a blueprint for creating a mock- up visualization, based on the earlier input from the interviews. The mock-up was created using Canva’s line diagram tool, aiming to reflect the users’ preferences and expectations for visual clarity and usefulness. 40 5 Results This thesis bridges the managerial and technical aspects of construction, producing an integrated outcome that reflects both viewpoints. This chapter is divided into two sections. First, the interview results highlight perspectives on current managerial practices and the various stakeholders’ views on AI and predictive models.Second, the technical results from the predictive model demonstrate how data from the Ingelkärr–Stenkullen project could be utilized if properly managed. 5.1 Result of the Interviews The following section presents the practical findings of the project, based on the interviews conducted with key stakeholders from NCC and Svenska Kraftnät. The interviews provided firsthand insights into current workflows, challenges faced dur- ing project execution, and industry perception of AI. These practical findings were essential for grounding the model’s technical development in real-world needs and ensuring its relevance and usability in construction project management. 5.1.1 Interview with NCC The interview with Interviewee E and Interviewee F provided valuable insights into NCC’s approach to managing large-scale infrastructure proje