Inferring agent objectives at different scales of a complex adaptive\n system

Dieter Hendricks, Adam D. Cobb, Richard Everett, Jonathan Downing, Stephen RobertsarXiv 2017 · DOI

Abstract

We introduce a framework to study the effective objectives at different time scales of financial market microstructure. The financial market can be regarded as a complex adaptive system, where purposeful agents collectively and simultaneously create and perceive their environment as they interact with it. We conjecture that agent classes may operate at different time scales and thus act differently in response to the same perceived market state. Using Inverse Reinforcement Learning (IRL), we compute the effective reward function for the aggregate agent class at each scale, allowing us to assess the relative attractiveness of feature vectors across different scales. Differences in reward functions may indicate different objectives of market participants, which could assist in finding the scale boundary for agent classes. This has significant implications for learning algorithms operating in this domain.

Introduction

Financial markets are quintessential examples of complex adaptive systems. In these environments, diverse participants—ranging from high-frequency algorithms to long-term institutional funds—interact, simultaneously shaping and reacting to the market's state. A significant challenge in market microstructure research is that individual motivations are often obscured by aggregate data. This paper addresses this gap by investigating how agent objectives shift across different time scales, providing a framework to map the functional hierarchy of the financial ecosystem.

Methodology

The researchers propose a multi-step framework to reverse-engineer agent motivations using high-frequency market data:

State Identification and Clustering

Market periods are grouped into discrete "states" using unsupervised clustering based on a q-state Potts model analogy. The model utilizes four primary features: trade price change, bid-ask spread, trade volume, and quote volume imbalance.

Figure 1: 30-minute state clusters colored by time of day, illustrating the temporal patterns and structural groupings within the market environment.

Inverse Reinforcement Learning (IRL)

Since individual agent identities are hidden in aggregate data, the researchers use the sign of average price returns as a proxy for "actions" (BUY, SELL, or NEUTRAL). They then apply Maximum Entropy IRL to find the reward function that makes the observed aggregate behavior appear optimal. This analysis is performed across four distinct time horizons: 5, 15, 30, and 60 minutes.

Data and Features

The study utilizes tick-level data from the Thomson Reuters Tick History (TRTH) database, focusing on 42 stocks listed on the Johannesburg Stock Exchange (JSE) during November 2012. The features tracked include price movements, quote spreads, trade volumes, and the ratio of buy-side versus sell-side interest (volume imbalance).

Key Results: The Relativity of Market Rewards

The core finding is that a market state's "attractiveness" is relative to the observer's time scale. What constitutes a rewarding state for a short-term scalper may be perceived as unfavorable by a long-term investor.

Figure 2: Comparison of market state clusters and feature vectors at 30-minute and 60-minute scales, highlighting how agent perception of the environment diverges across time horizons.

Scale Boundaries and Universality Classes

The research identifies "universality classes" where behaviors remain consistent across shorter scales (e.g., 5 and 15 minutes) but shift dramatically at longer horizons (e.g., 60 minutes).

  • Cluster 3: Characterized by large negative volume imbalance and negative spread, this state was perceived as favorable at the 5-minute scale but became unfavorable at longer scales.
  • Cluster 6: Featuring negative volume imbalance and positive spread, this state was consistently rewarding across all scales, likely representing prime opportunities for position accumulation before subsequent price appreciation.

Conclusion

By inferring effective reward functions across multiple scales, this framework offers a novel lens through which to view the "Complexity Economics" of financial markets. The findings suggest that agents are not static rule-followers but adaptive participants with scale-specific perceptions. Future research will explore event-based time scales and the application of these inferred rewards to the development of more sophisticated hierarchical reinforcement learning agents for automated trading.

Summary updated

Abstract

We introduce a framework to study the effective objectives at different time\nscales of financial market microstructure. The financial market can be regarded\nas a complex adaptive system, where purposeful agents collectively and\nsimultaneously create and perceive their environment as they interact with it.\nIt has been suggested that multiple agent classes operate in this system, with\na non-trivial hierarchy of top-down and bottom-up causation classes with\ndifferent effective models governing each level. We conjecture that agent\nclasses may in fact operate at different time scales and thus act differently\nin response to the same perceived market state. Given scale-specific temporal\nstate trajectories and action sequences estimated from aggregate market\nbehaviour, we use Inverse Reinforcement Learning to compute the effective\nreward function for the aggregate agent class at each scale, allowing us to\nassess the relative attractiveness of feature vectors across different scales.\nDifferences in reward functions for feature vectors may indicate different\nobjectives of market participants, which could assist in finding the scale\nboundary for agent classes. This has implications for learning algorithms\noperating in this domain.\n
BibTeX
@misc{hendricks2017inferring,
  author = {Dieter Hendricks and Adam D. Cobb and Richard Everett and Jonathan Downing and Stephen Roberts},
  title = {{Inferring agent objectives at different scales of a complex adaptive\textbackslash\{\}n system}},
  year = {2017},
  eprint = {1712.01137},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.01137},
}

Loading related content...

Figure