kth.sePublications KTH
Change search
Link to record
Permanent link

Direct link
Publications (6 of 6) Show all publications
Fu, H., Eldh, S., Wiklund, K., Ermedahl, A., Haller, P. & Artho, C. (2025). Auto-repair without test cases: How LLMs fix compilation errors in large industrial embedded code. In: Proceedings - 2025 28th Euromicro Conference on Digital System Design, DSD 2025: . Paper presented at 28th Euromicro Conference on Digital System Design, DSD 2025, Salerno, Italy, September 10-12, 2025 (pp. 97-105). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Auto-repair without test cases: How LLMs fix compilation errors in large industrial embedded code
Show others...
2025 (English)In: Proceedings - 2025 28th Euromicro Conference on Digital System Design, DSD 2025, Institute of Electrical and Electronics Engineers (IEEE), 2025, p. 97-105Conference paper, Published paper (Refereed)
Abstract [en]

The co-development of hardware and software in industrial embedded systems frequently leads to compilation errors during continuous integration (CI). Automated repair of such failures is promising, but existing techniques rely on test cases, which are not available for non-compilable code. We employ an automated repair approach for compilation errors driven by large language models (LLMs). Our study encompasses the collection of more than 40000 commits from the product's source code. We assess the performance of an industrial CI system enhanced by four state-of-the-art LLMs, comparing their outcomes with manual corrections provided by human programmers. LLM-equipped CI systems can resolve up to 63% of the compilation errors in our baseline dataset. Among the fixes associated with successful CI builds, 83% are deemed reasonable. Moreover, LLMs significantly reduce debugging time, with the majority of successful cases completed within 8 minutes, compared to hours typically required for manual debugging.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2025
Keywords
compilation error, continuous integration, large language model, program repair, software build
National Category
Software Engineering Computer Sciences
Identifiers
urn:nbn:se:kth:diva-378508 (URN)10.1109/DSD67783.2025.00025 (DOI)001717790400013 ()2-s2.0-105030544984 (Scopus ID)
Conference
28th Euromicro Conference on Digital System Design, DSD 2025, Salerno, Italy, September 10-12, 2025
Note

Part of ISBN 9798331584993

QC 20260323

Available from: 2026-03-23 Created: 2026-03-23 Last updated: 2026-07-28Bibliographically approved
Lindén, J., Ermedahl, A., Salomonsson, H., Daneshtalab, M., Forsberg, B. & Carbone, P. (2024). Autonomous Realization of Safety- and Time-Critical Embedded Artificial Intelligence. In: 2024 Design, Automation and Test in Europe Conference and Exhibition, DATE 2024 - Proceedings: . Paper presented at 2024 Design, Automation and Test in Europe Conference and Exhibition, DATE 2024, Valencia, Spain, Mar 25 2024 - Mar 27 2024. Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Autonomous Realization of Safety- and Time-Critical Embedded Artificial Intelligence
Show others...
2024 (English)In: 2024 Design, Automation and Test in Europe Conference and Exhibition, DATE 2024 - Proceedings, Institute of Electrical and Electronics Engineers (IEEE) , 2024Conference paper, Published paper (Refereed)
Abstract [en]

There is an evident need to complement embedded critical control logic with AI inference, but today's AI-capable hardware, software, and processes are primarily targeted towards the needs of cloud-centric actors. Telecom and defense airspace industries, which make heavy use of specialized hardware, face the challenge of manually hand-tuning AI workloads and hardware, presenting an unprecedented cost and complexity due to the diversity and sheer number of deployed instances. Furthermore, embedded AI functionality must not adversely affect real-time and safety requirements of the critical business logic. To address this, end-to-end AI pipelines for critical platforms are needed to automate the adaption of networks to fit into resource-constrained devices under critical and real-time constraints, while remaining interoperable with de-facto standard AI tools and frameworks used in the cloud. We present two industrial applications where such solutions are needed to bring AI to critical and resource-constrained hardware, and a generalized end-to-end AI pipeline that addresses these needs. Crucial steps to realize it are taken in the industry-academia collaborative FASTER-AI project.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2024
Keywords
embedded systems, machine learning
National Category
Computer Systems Software Engineering
Identifiers
urn:nbn:se:kth:diva-350536 (URN)10.23919/DATE58400.2024.10546824 (DOI)001253778900307 ()2-s2.0-85196520555 (Scopus ID)
Conference
2024 Design, Automation and Test in Europe Conference and Exhibition, DATE 2024, Valencia, Spain, Mar 25 2024 - Mar 27 2024
Note

Part of ISBN 978-3-9819263-8-5

QC 20241119

Available from: 2024-07-16 Created: 2024-07-16 Last updated: 2024-11-19Bibliographically approved
Fu, H., Eldh, S., Wiklund, K., Ermedahl, A., Haller, P. & Artho, C. (2024). In industrial embedded software, are some compilation errors easier to localize and fix than others?. In: Proceedings - 2024 IEEE Conference on Software Testing, Verification and Validation, ICST 2024: . Paper presented at 17th IEEE Conference on Software Testing, Verification and Validation, ICST 2024, May 27-31, 2024, Toronto, Canada (pp. 383-394). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>In industrial embedded software, are some compilation errors easier to localize and fix than others?
Show others...
2024 (English)In: Proceedings - 2024 IEEE Conference on Software Testing, Verification and Validation, ICST 2024, Institute of Electrical and Electronics Engineers (IEEE) , 2024, p. 383-394Conference paper, Published paper (Refereed)
Abstract [en]

Industrial embedded systems often require special-ized hardware. However, software engineers have access to such domain-specific hardware only at the continuous integration (CI) stage and have to use simulated hardware otherwise. This results in a higher proportion of compilation errors at the CI stage than in other types of systems, warranting a deeper study. To this end, we create a CI diagnostics solution called 'Shadow Job' that analyzes our industrial CI system. We collected over 40000 builds from 4 projects from the product source code and categorized the compilation errors into 14 error types, showing that the five most common ones comprise 89 % of all compilation errors. Additionally, we analyze the resolution time, size, and distance for each error type, to see if different types of compilation errors are easier to localize or repair than others. Our results show that the resolution time, size, and distance are independent of each other. Our research also provides insights into the human effort required to fix the most common industrial compilation errors. We also identify the most promising directions for future research on fault localization.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2024
Keywords
compilation error, continuous integration, fault localization, software build
National Category
Computer Engineering Software Engineering Computer Sciences
Identifiers
urn:nbn:se:kth:diva-353952 (URN)10.1109/ICST60714.2024.00042 (DOI)001307930000034 ()2-s2.0-85203842024 (Scopus ID)
Conference
17th IEEE Conference on Software Testing, Verification and Validation, ICST 2024, May 27-31, 2024, Toronto, Canada
Note

Part of ISBN: 979-8-3503-0818-1

QC 20240926

Available from: 2024-09-25 Created: 2024-09-25 Last updated: 2024-11-05Bibliographically approved
Fu, H., Eldh, S., Wiklund, K., Ermedahl, A. & Artho, C. (2022). Prevalence of continuous integration failures in industrial systems with hardware-in-the-loop testing. In: 2022 IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW 2022): . Paper presented at 33rd IEEE International Symposium on Software Reliability Engineering (ISSRE), OCT 31-NOV 03, 2022, Charlotte, NC (pp. 61-66). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Prevalence of continuous integration failures in industrial systems with hardware-in-the-loop testing
Show others...
2022 (English)In: 2022 IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW 2022), Institute of Electrical and Electronics Engineers (IEEE) , 2022, p. 61-66Conference paper, Published paper (Refereed)
Abstract [en]

Faults in the automated continuous integration (CI) process can seriously impact the development of industrial code. To reduce manual intervention in automated CI processes, we want to understand better the CI systems' failure distribution to improve efficiency, reliability, and maintainability. This paper investigates failures in CI in four large industrial projects. We gather 11 731 builds over six months, identifying 1 414 failing builds. We also identify the distribution of different types of build failures in each of the four CI projects. Our results show that compilation is the most significant individual cause of failure with 47 %, followed by testing at 36 %. The checkout step with associated checks also incurs a non-negligible portion of failures with 12 %. Furthermore, we identify 14 distinct types of failures in the testing step. We conclude that configuration problems are a significant issue, as pipeline scripting and dependency errors make up a large number of failures.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2022
Series
IEEE International Symposium on Software Reliability Engineering Workshops, ISSN 2375-821X
Keywords
continuous integration, failure classification, industry study, embedded system
National Category
Software Engineering
Identifiers
urn:nbn:se:kth:diva-324523 (URN)10.1109/ISSREW55968.2022.00040 (DOI)000909333700011 ()2-s2.0-85146335651 (Scopus ID)
Conference
33rd IEEE International Symposium on Software Reliability Engineering (ISSRE), OCT 31-NOV 03, 2022, Charlotte, NC
Note

QC 20230307

Available from: 2023-03-07 Created: 2023-03-07 Last updated: 2023-03-07Bibliographically approved
Corcoran, D., Ermedahl, A. & Granbom, C. (2020). Artificial intelligence in RAN – a software framework for AI-driven RAN automation. Ericsson Technology Review
Open this publication in new window or tab >>Artificial intelligence in RAN – a software framework for AI-driven RAN automation
2020 (English)In: Ericsson Technology Review, ISSN 0014-0171Article in journal (Other (popular science, discussion, etc.)) Published
Abstract [en]

Artificial intelligence and its subfield machine learning offer well-established techniques for solving historically difficult multi-parameterization problems. Used correctly, these techniques have tremendous potential to overcome complex cross-domain automation challenges in radio networks.

Our ongoing research reveals that an integrated framework of software enablers will be essential to success.

National Category
Computer Systems Telecommunications
Identifiers
urn:nbn:se:kth:diva-296244 (URN)
Note

QC 20220322

Available from: 2021-06-01 Created: 2021-06-01 Last updated: 2023-03-17Bibliographically approved
Corcoran, D., Andimeh, L., Ermedahl, A., Kreuger, P. & Schulte, C. (2017). Data Driven Selection of DRX for Energy Efficient 5G RAN. In: 13th International Conference on Network and Service Management (CNSM), 2017: . Paper presented at 13th International Conference on Network and Service Management, CNSM 2017, Tokyo, Japan, November 26-30, 2017 (pp. 1-9).
Open this publication in new window or tab >>Data Driven Selection of DRX for Energy Efficient 5G RAN
Show others...
2017 (English)In: 13th International Conference on Network and Service Management (CNSM), 2017, 2017, p. 1-9Conference paper, Published paper (Refereed)
Abstract [en]

The number of connected mobile devices is increasing rapidly with more than 10 billion expected by 2022. Their total aggregate energy consumption poses a significant concern to society. The current 3gpp (3rd Generation Partnership Project) LTE/LTE-Advanced standard incorporates an energy saving technique called discontinuous reception (DRX). It is expected that 5G will use an evolved variant of this scheme. In general, the single selection of DRX parameters per device is non trivial. This paper describes how to improve energy efficiency of mobile devices by selecting DRX based on the traffic profile per device. Our particular approach uses a two phase data-driven strategy which tunes the selection of DRX parameters based on a smart fast energy model. The first phase involves the off-line selection of viable DRX combinations for a particular traffic mix. The second phase involves an on-line selection of DRX from this viable list. The method attempts to guarantee that latency is not worse than a chosen threshold. Alternatively, longer battery life for a device can be traded against increased latency. We built a lab prototype of the system to verify that the technique works and scales on a real LTE system. We also designed a sophisticated traffic generator based on actual user data traces. Complementary method verification has been made by exhaustive off-line simulations on recorded LTE network data. Our approach shows significant device energy savings, which has the aggregated potential over billions of devices to make a real contribution to green, energy efficient networks.

National Category
Computer Sciences
Identifiers
urn:nbn:se:kth:diva-225402 (URN)10.23919/CNSM.2017.8255972 (DOI)000427961400004 ()2-s2.0-85046680815 (Scopus ID)
Conference
13th International Conference on Network and Service Management, CNSM 2017, Tokyo, Japan, November 26-30, 2017
Note

QC 20180507

Available from: 2018-04-19 Created: 2018-04-19 Last updated: 2023-04-14Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0009-0007-3383-6356

Search in DiVA

Show all publications