Logo do repositório
 
Publicação

Improving Trustworthiness in DeFi: Anomaly Detection for Blockchain Oracle Price Feed Data

datacite.subject.fosCiências Naturais::Ciências da Computação e da Informaçãopt_PT
dc.contributor.advisorBação, Fernando José Ferreira Lucas
dc.contributor.authorGross, Lukas Sebastian
dc.date.accessioned2024-11-11T15:18:48Z
dc.date.available2024-11-11T15:18:48Z
dc.date.issued2024-10-30
dc.descriptionDissertation presented as the partial requirement for obtaining a Master's degree in Data Science and Advanced Analytics, specialization in Business Analyticspt_PT
dc.description.abstractThis thesis investigates the application of anomaly detection techniques to blockchain oracle data, specifically focusing on the Ethereum - US Dollar exchange rate from the Chainlink oracle. The study addresses a critical gap in the reliability of decentralized finance applications by exploring both traditional static machine learning algorithms and novel streaming methods for identifying irregularities in oracle data feeds. The research compares the performance of various anomaly detection algorithms, including Support Vector Machines (SVM), DBSCAN, KMeans, Self-Organizing Maps (SOM), K-Nearest Neighbors (KNN), and Isolation Forest for static methods, and Sliding Window KNN (SWKNN), Robust Random Cut Forest (RRCF), and Half-Space Trees for streaming methods. These algorithms are evaluated using F1 score and recall as primary metrics, with a focus on their ability to detect sudden price spikes. Furthermore, the study examines the incorporating financial indicators such as Relative Strength Index, Average True Range, and Exponential Moving Average to enhance anomaly detection capabilities. The research utilizes UMAP projections for initial visual analysis and conducts comprehensive comparisons between the originally fetched univariate dataset and different multivariate datasets enhanced with additional features in form of financial indicators. The results indicate that multivariate datasets generally improve F1 scores, for static as well as streaming methods, while the streaming methods achieve a higher baseline on univariate datasets, compared to the static methods. This research contributes to the field by addressing the understudied aspect of anomaly detection in blockchain oracle data, providing insights into the effectiveness of various machine learning techniques in enhancing the security and reliability of DeFi applications.pt_PT
dc.identifier.tid203784774pt_PT
dc.identifier.urihttp://hdl.handle.net/10362/174978
dc.language.isoengpt_PT
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/pt_PT
dc.subjectBlockchainpt_PT
dc.subjectSmart Contractspt_PT
dc.subjectDecentralized Financept_PT
dc.subjectBlockchain Oraclespt_PT
dc.subjectAnomaly Detectionpt_PT
dc.subjectStreaming Datapt_PT
dc.titleImproving Trustworthiness in DeFi: Anomaly Detection for Blockchain Oracle Price Feed Datapt_PT
dc.typemaster thesis
dspace.entity.typePublication
rcaap.rightsopenAccesspt_PT
rcaap.typemasterThesispt_PT
thesis.degree.nameMestrado em Ciência de Dados e Métodos Analíticos Avançados, especialização em Métodos Analíticos para a Gestãopt_PT

Ficheiros

Principais
A mostrar 1 - 1 de 1
A carregar...
Miniatura
Nome:
TCDMAA3359.pdf
Tamanho:
3.2 MB
Formato:
Adobe Portable Document Format
Licença
A mostrar 1 - 1 de 1
Miniatura indisponível
Nome:
license.txt
Tamanho:
348 B
Formato:
Item-specific license agreed upon to submission
Descrição: