# Does a Trading Policy Need to Know What It Trades? Microstructure Invariance and Zero-Shot Transfer of Execution Policies

DevFeed: [Does a Trading Policy Need to Know What It Trades? Microstructure Invariance and Zero-Shot Transfer of Execution Policies](<https://devfeed.tech/articles/does-a-trading-policy-need-to-know-what-it-trades-microstructure-invariance-and-zero-shot-transfer-of-execution-policies-123294.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.08701>)

Author: Hieu Tran, Hong Yu

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [World models](<https://devfeed.tech/topics/world-models.md>), [Representation learning](<https://devfeed.tech/topics/representation-learning.md>), [few-shot](<https://devfeed.tech/topics/few-shot.md>)

Tags: [crypto](<https://devfeed.tech/tags/crypto.md>), [cs-ce](<https://devfeed.tech/tags/cs-ce.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [execution](<https://devfeed.tech/tags/execution.md>), [information](<https://devfeed.tech/tags/information.md>), [invariance](<https://devfeed.tech/tags/invariance.md>), [nasdaq](<https://devfeed.tech/tags/nasdaq.md>), [policies](<https://devfeed.tech/tags/policies.md>), [q-fin-tr](<https://devfeed.tech/tags/q-fin-tr.md>), [queue](<https://devfeed.tech/tags/queue.md>), [raw](<https://devfeed.tech/tags/raw.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>), [trading](<https://devfeed.tech/tags/trading.md>), [train](<https://devfeed.tech/tags/train.md>), [training](<https://devfeed.tech/tags/training.md>), [units](<https://devfeed.tech/tags/units.md>), [zero-shot](<https://devfeed.tech/tags/zero-shot.md>)

## AI overview

In exact order-by-order replay, execution policies trained on 954 Nasdaq stocks transferred to unseen stocks with costs within 0.015 spreads per share of policies trained with those stocks; using each stock's history did not help. Transfer was similarly close to policies trained on a second exchange when episodes counted equally, and the gap was wider for crypto. In mean pre-fee cost, microstructure-invariant units outperformed raw units, z-scores and asset descriptors by less than one basis point. Much of that edge came from information and a shared cost scale that could also be supplied as plain inputs. None of the tested representations extrapolated to unseen spread regimes. The authors caution that a near-zero gap against a pooled comparator is weak evidence of a good representation, since that comparator detects only a small share of losses from a poor one.

## Source excerpt

arXiv:2611.08701v1 Announce Type: new Abstract: Execution algorithms are calibrated asset by asset, because the queues, trade rates and bid-ask spreads they face differ by orders of magnitude across assets. For reinforcement learning this is zero-shot generalisation across contexts of very different scales, and microstructure invariance proposes a normalisation fixed by theory: measured in each asset's own units of time, size and price, markets look alike. In an exact order-by-order replay of public Nasdaq data, we train policies once, on 954 stocks in 2019, to choose between waiting in the queue and crossing the spread, and evaluate them unchanged on 1,964 unseen stocks in 2020-21, 2,629 stocks in 2025-26, crypto pairs and a second exchange. First, a policy that sees a stock only through its recent trade rate, trade size, spread and price increment (tick) costs within 0.015 spreads per share (a fifth of what learning saves) of a policy whose training data included the stock, and the stock's own history does not help it; it comes within a similar margin of policies trained on the second exchange when every episode counts equally, and within a wider one on crypto. Second, in mean cost before fees, invariant units beat raw units, z-scores and asset descriptors, but by under a basis point: most of their advantage is information and a common cost scale that a learner can also take as plain inputs, and none of the representations tested extrapolates to unseen spread regimes. Third, a near-zero transfer gap to a pooled comparator is weak evidence that a representation is right: we show that such a comparator detects only a small share of what a poor representation loses, and confirm it in synthetic markets and on pendulums.