Skip to main navigation Skip to search Skip to main content

Human-in-the-Loop in Metaheuristic Optimization

  • Michael Froschauer

    Student thesis: Master's Thesis

    Abstract

    Metaheuristic algorithms such as genetic algorithms and particle swarm optimization
    are widely used for complex optimization problems, but they offer limited means to
    incorporate human knowledge during the search. Structural solution deficiencies or im
    plicit requirements noticed by a user cannot be taken into account once the run has
    started.
    This thesis investigates how human feedback can be integrated into metaheuristic
    optimization through targeted intervention mechanisms. Four categories of interaction
    are proposed: hard constraints that enforce structural requirements, similarity-based
    preferences that bias the search toward reference solutions, manual edits that directly
    modify candidate solutions, and scripted interventions that combine these actions pro
    grammatically. The mechanisms are defined for multiple problem types and integrated
    into several metaheuristics.
    They are implemented in Synapse, a new modular framework that enables all
    Human-in-the-Loop (HITL) mechanisms to be configured and applied at runtime via a
    graphical interface, problem-specific visualizations, and configurable triggers that pause
    the optimization at meaningful points in time. A scripting subsystem executes C# in
    tervention scripts at runtime, and an AI-assisted pipeline generates such scripts from
    natural language descriptions.
    Seven experiments evaluate the effects of the proposed mechanisms across different
    algorithms and problem types. The results show that an intervention helps when it aligns
    with the population’s search and harms when it disrupts ongoing convergence. Moderate
    intervention strength consistently outperforms aggressive settings, and mechanisms that
    directly modify solutions are generally more effective than approaches that only filter
    the population. The AI-assisted pipeline generates functionally correct scripts for well
    specified requests but struggles with ambiguous input.
    Overall, the results demonstrate that HITL interaction is neither inherently benefi
    cial nor detrimental, its effectiveness depends on the chosen mechanism, the quality of
    the human input, and the state of the search at the time of intervention.
    Date of Award2026
    Original languageEnglish (American)
    Awarding Institution
    • FH OÖ
    SupervisorJohannes Alexander Karder (Supervisor)

    Studyprogram

    • Software Engineering

    Cite this

    '