Back to search

UCL (University College London)

Transformers for Commodity Forecasting

Abstract

dc:description.abstract

This thesis investigates the application of Transformer models for commodity forecasting (e.g., Copper), using Bidirectional Encoder Representations from Transformers (BERT) and Generative Pre-trained Transformers (GPT) model architectures. The research has five dimensions: firstly, a comparison of BERT and GPT; secondly, we built fine-tuned copper models (CopBERT, CopGPT); thirdly, we built a method for optimising Large Language Model (LLM) prompts (AgentOptimiser); fourthly, we built a signal detection model to identify price change signals within the metal futures market; finally, we built several mechanisms for mechanistic interpretability in our commodity models attempting to decipher the internal workings. The research highlights the significance of mechanistic interpretability and metaheuristics for prompt optimisation to enhance accuracy and interpretability. Mechanistic interpretability refers to understanding how a machine learning model or algorithm functions at a detailed, structural level. Metaheuristics refers to a broad class of optimisation techniques that are used to find near-optimal solutions to complex optimisation problems, particularly when the problem space is large and complex. Practical testing and trials of the models were conducted with a metal trading desk; feedback was obtained from energy companies and several large global telecommunication companies.

Degree

thesis:*
Level dc:type.qualificationlevel
Doctoral
Grantor dc:publisher.institution
UCL (University College London)
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Sharkey, Edward
Contributors dc:contributor
  • Treleaven, Philip
  • Phelan, Carolyn

Rights

Language dc:language
en, eng

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://discovery.ucl.ac.uk/id/eprint/10206442/

Chain of custody

source
Harvested from
University College London
Base URL
discovery.ucl.ac.uk/cgi/oai2
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Sharkey, Edward. Transformers for Commodity Forecasting. Doctoral thesis, UCL (University College London), 2025. https://discovery.ucl.ac.uk/id/eprint/10206442/