Master's thesis: Development and evaluation of iterative LLM-based code generation

Fraunhofer-Gesellschaft
München

Safe Intelligence — this forms the core brand of the Fraunhofer Institute for Cognitive Systems IKS . Connected cognitive systems drive innovation in many sectors, including mobility, healthcare, and automation in industry. Disruptive technologies such as artificial intelligence and quantum computing play a key role here. Fraunhofer IKS is conducting research to ensure that these applications are reliable and verifiably safe. We consider resilience and intelligence to be part of the same process.

What you will do

Current advances in generative AI are increasingly opening up new possibilities for automatic code generation. This is particularly relevant in industrial automation: PLCs form the backbone of many systems, and their programming in Structured Text (ST) is an established standard.
Although LLMs can already generate executable code from natural language requirements, the quality often falls short of expectations. An automated feedback loop that analyses generated code, converts errors into appropriate corrective feedback, and returns this to the LLM promises significant improvements. The aim of this master's thesis is to systematically evaluate the effectiveness of an LLM agent with such an automated feedback loop for the first time, using the example of generating ST code for PLCs.

Tasks:

  • Systematic literature analysis on feedback mechanisms and quality metrics for LLM-based code generation.
  • Identification of relevant metrics and tests (static/dynamic) that best reflect the code quality and functional safety of ST.
  • Determination of the optimal format for transferring the metrics and test results to the LLM.
  • Development of a prototype software module that automatically generates feedback in the defined format from the selected metrics and tests.
  • Quantitative and qualitative evaluation of the feedback process by measuring the code improvements achieved through the feedback and comparing them with a baseline.

What you bring to the table

  • Currently pursuing a degree in engineering, with a focus on informatics or AI
  • Good knowledge in programming with python and on software development
  • Knowledge on LLMs and langchain is a plus
  • Analytical and structured mindset
  • Good knowledge of the English and German language (B2).

What you can expect

  • Participation in a dynamic team with innovative task areas and nice supervisors.
  • Practical approach to your studies
  • Excelent support for your thesis
  • Collaboration on practical research projects.

We value and promote the diversity of our employees' skills and therefore welcome all applications - regardless of age, gender, nationality, ethnic and social origin, religion, ideology, disability, sexual orientation and identity. Severely disabled persons are given preference in the event of equal suitability.

With its focus on developing key technologies that are vital for the future and enabling the commercial utilization of this work by business and industry, Fraunhofer plays a central role in the innovation process. As a pioneer and catalyst for groundbreaking developments and scientific excellence, Fraunhofer helps shape society now and in the future.

Interested? Apply online now with your motivation letter, cv and a current transcript of records . We look forward to getting to know you!

Additional questions will be answered gladly by
René Beck per eMail: [email protected]
If you got further questions, please contact our colleagues from HR via eMail: [email protected]

Fraunhofer Institute for Cognitive Systems IKS

Requisition Number: 80650Application Deadline:

Veröffentlicht am 2025-09-14

Empfohlene Jobs

Büroassistent (m/w/d) ab jetzt

RADAS Jobbörse & Personalvermittlung GmbH
München

+++ DIREKTVERMITTLUNG in Festanstellung (keine Zeitarbeit) / Vermittlungsgutscheine (AVGS) werden akzeptiert +++ Bei Fragen einfach unverbindlich anrufen: 03048479484 oder einen Rückruf vereinbaren…

Details Anzeigen
Veröffentlicht am 2025-09-03

Bürokaufmann m/w/d motiviert und flexibel

München

Wir suchen im Kundenauftrag Sie als Bürokaufmann m/w/d motiviert und flexibel in Zeitarbeit mit der Option zur Übernahme. Die Stelle ist im Großraum München zu besetzen.   ~ Wir bieten Ihnen auc…

Details Anzeigen
Veröffentlicht am 2025-08-28

Mitarbeiter m/w/d im Bereich Abwassertechnik in München gesucht

München

In München suchen wir einen zuverlässigen Mitarbeiter m/w/d im Bereich Abwassertechnik. Die Stelle ist in Vollzeit mit der Option zur Übernahme zu besetzen. Aufgaben Rohr- und Kanalreinig…

Details Anzeigen
Veröffentlicht am 2025-08-28

Junior PR Manager mit Online PR und Social Media

Panorama Entertainment GbR
München

Panorama Entertainment ist eine PR- und Marketingagentur für den Bereich Lifestyle & Entertainment. Das Kerngeschäft besteht in der Vermarktung von Spielfilmen, TV Movies, Serien, Dokumentarfilmen un…

Details Anzeigen
Veröffentlicht am 2025-09-11

Pflegefachkraft Tagespflege m/w/d

MÜNCHENSTIFT GmbH
München

Wir suchen für unser Haus St. Josef ab 01.10.2025 in  Teilzeit (19,5 Std./Wo.)eine Pflegefachkraft Tagespflege m/w/d Das Wichtigste auf einen Blick: Wo Sie arbeiten:  St. Josef Wann Sie arb…

Details Anzeigen
Veröffentlicht am 2025-09-05

Applications Developer C++, Qt, QML (m/w/d)

KA Resources
München

Für meinen Mandanten, ein innovatives, familiengeführtes Unternehmen im Bereich der Geräte-Entwicklung mit 175 Mitarbeitern am Standort München in Deutschland, davon ca 50 in der Entwicklung tätig, wo…

Details Anzeigen
Veröffentlicht am 2025-07-02

Carlsberg Merchandiser (m/w/d) gesucht - National

adelante GmbH & Co. KG
München

Getränke-Merchandising (alkoholhaltig) - Aufbau von Zweitplatzierung und Displays - Regalservice - Bestückung Kühlschränke Du hast Spaß an der Gestaltung von attraktiven Displays, bist organisiert…

Details Anzeigen
Veröffentlicht am 2025-09-12

Koch / Köchin (m/w/d)

Studierendenwerk München Oberbayern
München

Das Studierendenwerk München Oberbayern bietet soziale und wirtschaftliche Dienstleistungen für Studierende an. Wir bieten Wohnraum, gastronomische Einrichtungen, Kitas, ein Beratungsnetzwerk sowie K…

Details Anzeigen
Veröffentlicht am 2025-09-11

MakerSpace: Werkstudent_in Education (m/w/d)

UnternehmerTUM
München

Über uns MakerSpace ist unsere öffentlich-zugängliche, 3.000m² Hightech-Werkstatt mit modernsten Maschinen, Werkzeugen und Software-Produkten. 2015 in Garching eröffnet und seit 2021 mit einem zwe…

Details Anzeigen
Veröffentlicht am 2025-08-08

Sachbearbeiter Export/ Import (m/w/d)

DIS AG
München

Sie haben bereits erste Erfahrung im Bereich der Import- und Exportsachbearbeitung und suchen eine neue berufliche Herausforderung, bei der Sie Ihre Kenntnisse unter Beweis stellen können? Dann bewerb…

Details Anzeigen
Veröffentlicht am 2025-09-06