Uppsats
Automating Workforce Scheduling with Large Language Models and Constraints
Kandidat-uppsats
Högskolan i Halmstad/Akademin för informationsteknologi
Publicerad: 2025
Språk: Engelska
Sammanfattning
This thesis explores the use of large language models (LLMs) to automate workforce scheduling through natural language interaction. The primary objective is tofine-tune a general-purpose LLM to generate structured scheduling data in JSONformat from natural language prompts. Using a parameter-efficient fine-tuningmethod (LoRA), we trained Microsoft’s Phi-4 models on a domain-specific datasetof Swedish scheduling requests. The model’s performance was evaluated acrossvalidation, test, and generalization datasets using structured accuracy and fieldlevel metrics such as F1 score. The fine-tuned model achieved 84% structuredaccuracy on the validation set and 81.74% on a generalization test set featuringdiverse scheduling scenarios. In contrast to previous work that relied on few-shotprompting, our approach emphasizes reliable structure generation followed byconstraint checking through external Python functions. Comparative results showthat the fine-tuned Phi-4 model outperforms OpenAI’s GPT models in accuracy,though at the cost of generation time. These findings demonstrate the feasibilityand effectiveness of a fine-tuned, locally deployable LLM for reliable and interpretable schedule generation.
Information
- Författare
- Houssari, Mouhamed, Haraldssom, Lucas
- Lärosäte / institution
- Högskolan i Halmstad/Akademin för informationsteknologi
- Publiceringsdatum
- 2025
- Uppsatstyp
- Kandidat-uppsats
- Språk
- Engelska
Utforska vidare
Liknande uppsatser
Uppsatser med liknande ämnen och nyckelord.
Kandidat-uppsats, Jönköping University/Tekniska Högskolan
Rönnqvist, Emilia, Skoogh, Lovisa
Publicerad: 2026
Yrkesexamen på avancerad nivå, Uppsala universitet/Avdelningen för systemteknik
Vigholm, Albin
Publicerad: 2026
Kandidat-uppsats, Högskolan i Halmstad/Akademin för informationsteknologi
Fawal, Raghad
Publicerad: 2026
Kandidat-uppsats, Göteborgs universitet/Förvaltningshögskolan
Nkot Awoh, Therese
Publicerad: 2026-06-16
Kandidat-uppsats, Göteborgs universitet/Institutionen för data- och informationsteknik
Lindström Bermann,Freja Nicole Tiger, Edlund, Jennie, Rankanen Jason, Isac
Publicerad: 2026-02-23
Kandidat-uppsats, Högskolan i Skövde/Institutionen för informationsteknologi
Dargren, Calle
Publicerad: 2026