Auditing Algorithmic Bias in Transformer-Based Trading
Armin Gerami, Ramani Duraiswami
TL;DR
The paper audits a Transformer-based trading setup by applying Partial Information Decomposition to quantify how much each input stock influences a target's price-mrediction and how this influence relates to implied volatility and trading frequency. It trains a Transformer to predict price movements using a target stock and several supports, then computes Excluded Information to gauge each input's influence. Key findings show the model does not reduce reliance on high-volatility inputs and exhibits a bias toward lower-frequency price movements, with frequency reduction amplifying this bias. The work highlights transparency gaps in financial Transformers and points to frequency-based regularization as a potential mitigating factor, advancing interpretability in algorithmic trading systems.
Abstract
Transformer models have become increasingly popular in financial applications, yet their potential risk making and biases remain under-explored. The purpose of this work is to audit the reliance of the model on volatile data for decision-making, and quantify how the frequency of price movements affects the model's prediction confidence. We employ a transformer model for prediction, and introduce a metric based on Partial Information Decomposition (PID) to measure the influence of each asset on the model's decision making. Our analysis reveals two key observations: first, the model disregards data volatility entirely, and second, it is biased toward data with lower-frequency price movements.
