#Nomenclature
#Abbreviations
| Abbreviation | Full form |
|---|
| AI | Artificial Intelligence |
| APE | Automatic Prompt Engineer |
| API | Application Programming Interface |
| APO | Automatic Prompt Optimisation |
| ASCII | American Standard Code for Information Interchange |
| ATK | Attack (hero or monster attribute) |
| BFS | Breadth-First Search |
| CoT | Chain of Thought |
| DEF | Defence (hero or monster attribute) |
| DSPy | Declarative Self-improving Python (prompt-programming framework) |
| EXP | Experience points |
| GEPA | Genetic-Pareto prompt optimisation |
| GRPO | Group Relative Policy Optimization |
| GWDG | Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen |
| HP | Hit points |
| HTML | HyperText Markup Language |
| JSON | JavaScript Object Notation |
| LLM | Large Language Model |
| MDEF | Magic defence (hero attribute subtracted from every fight's damage) |
| MoE | Mixture of Experts |
| MT0–MT23 | Floors 0 to 23 of the 24-floor tower |
| OPRO | Optimization by PROmpting |
| RL | Reinforcement Learning |
| RLHF | Reinforcement Learning from Human Feedback |
| RQ | Research Question |
| SAIA | Scalable AI Accelerator (inference service of the GWDG) |
| STRIPS | Stanford Research Institute Problem Solver |
#Symbols
#Game, engine and solver
| Symbol | Meaning |
|---|
| ah, dh | the hero's ATK and DEF |
| hm, am, dm | a monster's HP, ATK and DEF |
| T | number of hero strikes needed to defeat a monster |
| d | a monster's damage per strike after the hero's DEF (Table 4.1) |
| D | HP cost of a fight |
| (S,s0,A,δ,G) | floor task: set of states, initial state, legal actions A(s), transition, goal (Definition 4.1) |
| HPfinal | the hero's HP at the end of an episode |
| HPopt | exact optimum of a floor: the largest final HP of any winning action sequence |
| L | net lookahead value of an action |
| vi | HP-equivalent value of an unlocked item i |
| λj | factor for items behind j gateways (1 for j=0; 0.7, 0.5 and 0.35 for j=1,2,3) |
| cg | HP cost of gateway g |
| Croute, Sroute | HP of fighting needed to reach the stat items behind an action, and the HP these items save on the other listed fights (net stat-route line) |
#Measures
| Symbol | Meaning |
|---|
| N | number of episodes of a configuration |
| k | commitment: number of actions per model call; in k/N, the number of successful episodes |
| p^ | success rate k/N |
| z | quantile of the standard normal distribution in the Wilson interval (z=1.96) |
| HP/opt | HPfinal divided by HPopt for a successful episode; reported as the mean over successful episodes |
| Sgoal | goal score of one episode |
| C | share of a floor's monsters defeated (in Sgoal) |
| n, b | in the sign test: number of discordant pairs, and the number of these that favour the first prompt (in Chapter 2, a sequence length and a branching factor) |
#General symbols (Chapter 2)
| Symbol | Meaning |
|---|
| wt | the t-th token of a sequence of n tokens |
| Pr(⋅) | probability |
| Q, K, V | query, key and value matrices of self-attention |
| dk | length of the key vectors |
| zi | score of token i in the model's last layer |
| pi | probability of token i after the softmax |
| τ | sampling temperature |
| θ | parameters of a model |
| P | prompt |
| s, a | state, action |
| π(a∣s,P) | policy: probability of action a in state s under prompt P |
| G | number of outputs sampled per input in GRPO (the goal of a floor task in Definition 4.1) |
| ri | reward of output i |
| A^i | advantage of output i in GRPO: its reward standardised within its group |
| b | branching factor: number of choices per step of a search |
| ℓ | search depth: number of actions from the initial state |
#Models
Models are named by family, version and total size; the endpoint identifiers are listed in Table 6.1 and Appendix D.
| Name | Type and size | Reasoning mode | Used in |
|---|
| Qwen3.5-397B | mixture of experts, 397 B parameters, 17 B active | thinking | main experiments; planning study (Section 6.6); reference and teacher in the first configuration of the first prompt-optimisation study |
| Qwen3.6-35B | mixture of experts, 35 B parameters, 3 B active | thinking | main experiments; prompt-optimisation study (Section 6.5); exact-route prompt (Section 6.6) |
| Qwen3.8-27B | dense, 27 B parameters | thinking | planning study (Section 6.6) |
| DeepSeek-V4-Flash | mixture of experts, 284 B parameters, 13 B active | thinking | main experiments; planning study (Section 6.6); teacher in the second configuration of the first prompt-optimisation study, task model and teacher in Sections 6.5.3 and 6.5.4 |
| DeepSeek-V4-Flash (no thinking) | the same model with its reasoning mode switched off | none | prompt-optimisation study (Section 6.5) |
| Mistral Medium 3.5 | 128 B parameters, architecture not stated by the service | none | main experiments |
| Llama-3.1-8B | dense, 8 B parameters, instruction-tuned | none | prompt-optimisation study (Section 6.5) |
B = billion.
#Labels
#Internal Labels
Two labels of the verbatim observation text appear in listings and appendices:
| Internal label | Name in this thesis |
|---|
effCost | effective cost |
ORDER line | fight-order line |
The result file behind each reported cell is listed in Table D.4 (Appendix D).