[Paper Review] Towards Human-Bot Collaborative Software Architecting with ChatGPT
The paper investigates how ChatGPT can function as a DevBot to assist a human software architect in analyzing, synthesizing, and evaluating software architecture, using a case study of a microservices-driven CampusBike system, and discusses potentials, risks, and directions for empirical validation.
Architecting software-intensive systems can be a complex process. It deals with the daunting tasks of unifying stakeholders' perspectives, designers' intellect, tool-based automation, pattern-driven reuse, and so on, to sketch a blueprint that guides software implementation and evaluation. Despite its benefits, architecture-centric software engineering (ACSE) inherits a multitude of challenges. ACSE challenges could stem from a lack of standardized processes, socio-technical limitations, and scarcity of human expertise etc. that can impede the development of existing and emergent classes of software (e.g., IoTs, blockchain, quantum systems). Software Development Bots (DevBots) trained on large language models can help synergise architects' knowledge with artificially intelligent decision support to enable rapid architecting in a human-bot collaborative ACSE. An emerging solution to enable this collaboration is ChatGPT, a disruptive technology not primarily introduced for software engineering, but is capable of articulating and refining architectural artifacts based on natural language processing. We detail a case study that involves collaboration between a novice software architect and ChatGPT for architectural analysis, synthesis, and evaluation of a services-driven software application. Preliminary results indicate that ChatGPT can mimic an architect's role to support and often lead ACSE, however; it requires human oversight and decision support for collaborative architecting. Future research focuses on harnessing empirical evidence about architects' productivity and exploring socio-technical aspects of architecting with ChatGPT to tackle emerging and futuristic challenges of ACSE.
Motivation & Objective
- Motivate the use of AI-driven DevBots to support architecture-centric software engineering (ACSE).
- Demonstrate a human-bot collaborative architecting process using ChatGPT for architecture analysis, synthesis, and evaluation.
- Showcase a concrete case study to illustrate how ASRs are generated and refined through dialogue with ChatGPT.
- Identify potential benefits, risks, and socio-technical considerations of ChatGPT-assisted ACSE.
- Lay foundations for empirically grounded evidence on productivity and collaboration in this setting.
Proposed method
- Phase 1: Develop an architecture story describing the software and constraints in natural language.
- Phase 2: Enable collaborative architecting through architectural analysis (ASR elicitation), architectural synthesis (UML models with patterns/tactics), and architectural evaluation (SAAM).
- Phase 3: Conduct an empirical validation plan detailing future experiments and contexts.
- Case study: CampusBike to illustrate the process and artifacts produced by human-chatbot collaboration.
- Iterative dialogue between architect and ChatGPT to refine requirements, models, and evaluation scenarios.
- Use UML class and component diagrams and SAAM for evaluation.

Experimental results
Research questions
- RQ1Can ChatGPT process an architecture story to articulate ASRs and constraints in collaboration with a human architect?
- RQ2To what extent can ChatGPT synthesize ASRs into architectural models and evaluate them against stated requirements?
- RQ3What are the benefits and risks of human-bot collaborative architecting in ACSE, including socio-technical and governance aspects?
Key findings
- ChatGPT can articulate and refine architectural requirements and constraints when guided by a human architect.
- ChatGPT can help generate UML artifacts and apply tactics and patterns during architectural synthesis.
- SAAM-based evaluation can be guided by ChatGPT to produce evaluation scenarios and reports.
- The case study demonstrates practical steps for a novice architect to collaborate with ChatGPT to produce a CampusBike architecture.
- Preliminary results indicate potential productivity gains but also underscore the need for human oversight and governance.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.