arXiv:2610.25847cs.LGOct 2026

Manuscript Offprint

arXiv:2610.25847

ACE-Trader: Adversarial Co-Evolution for Generator-Critic Trading Systems

Chang Zhou, Jiarun Zhou, Xingtong Yu, Hong Cheng, Hui Zhang, Xinming Zhang

ABSTRACT

Generator-critic trading systems pair an LLM-based trader that makes trading decisions with a red team agent that evaluates these decisions and provides feedback for revision. However, improving individual trading decisions does not ensure that both agents learn from experience and improve together over time. This raises an important question: how can the trader and red-Team select useful experience and learn from each other's evolving behavior? On one hand, experience that benefits decisions under one market condition may become ineffective or harmful under another. On the other hand, trading outcomes reflect both agents' actions, making it difficult to derive appropriate experience for each role. In this work, we propose ACE-Trader, an adversarial co-evolution trading framework. Specifically, we first develop separate context-dependent memory selectors that learn to identify useful experience for the current trading decision. Both selectors receive shared feedback from net-return differences between complete memory-assisted and memory-free trading pipelines, with online updates emphasizing recent outcomes. We further design a co-evolution mechanism that links role-specific memories through shared trading records. We use these records to evaluate the Red-Team's risk assessments and the effects of the Trader's revisions against realized market outcomes, then derive experience for their respective memories. By linking this experience to the corresponding records, we enable the Trader to improve its proposals based on prior critiques and the Red-Team to adjust its review focus as the Trader's behavior changes. Experiments on U.S. stock trading show that ACE-Trader outperforms all 22 active baselines in cumulative return and achieves the highest Sharpe ratio and lowest maximum drawdown across both active methods and passive benchmarks.

1 INTRODUCTION

Recent advances in large language models (LLMs) (Brown et al., 2020; Ouyang et al., 2022) and agentic systems (Yao et al., 2023; Wu et al., 2024) have spurred growing interest in building autonomous agents for financial trading. Existing LLM-based trading agents analyze market information and make trading decisions based on their analyses (Yu et al., 2025; 2024; Zhang et al., 2024; Xiao et al., 2024). To improve subsequent trading decisions, reflection-based trading agent (Yu et al., 2025; Zhang et al., 2024) reviews past decisions and their realized outcomes to identify useful lessons, which they store in memory to guide subsequent decisions, as shown in Fig. 1(a). However, self-reflection may overlook weaknesses in the assumptions underlying the agent's own decisions (Liang et al., 2024). Generator-critic systems address this limitation by assigning decision-making and critique to different agents (Gong et al., 2025). In financial trading, a trader agent serves as the generator, proposing trading decisions and their rationales, while a red-team agent serves as the critic, evaluating these proposals and providing feedback for revision before execution (Xiao et al., 2024), as shown in Fig. 1(b). Improving this collaboration over time requires both agents to learn from their trading interactions and use the resulting experience to guide subsequent decisions.

However, reflecting on the overall trading outcome can lead agents to store misleading lessons in their respective memories: a profitable trade may conceal an inappropriate revision by the trader

∗^{*}Corresponding authors.

Figure

Figure 1: Comparison of memory mechanisms in trading agents.

or an incorrect critique by the red-team, while a losing trade may obscure a useful red-team warning.(Foerster et al., 2018) Even when appropriate lessons are extracted, they may not benefit subsequent decisions under different market conditions(Ang & Bekaert, 2002; Zhao et al., 2023). Yet common memory retrieval mechanisms select experience based on recency, importance, or semantic relevance (Yu et al., 2025; Zhang et al., 2024), without directly assessing its usefulness for the current trading decision. For example, recalling a lesson about reducing exposure during a downturn may lead an agent to remain overly cautious during a market recovery. These limitations raise a central question: how can a trader and a red-team learn appropriate lessons for their respective roles and select experience that benefits the current decision? The problem is non-trivial due to two key challenges.

First, how can Trader and Red-Team adapt memory selection to changing market conditions? The usefulness of past experience depends on the current market state. For the Trader, buying after a price decline may be useful in a range-bound market but lead to further losses during a sustained downtrend. For the Red-Team, a warning to reduce exposure during high volatility may prompt unnecessary position reductions once volatility subsides. Selecting useful experience therefore requires assessing its value in the current context, which cannot be determined from its past success alone. We propose separate lightweight, context-dependent memory selectors for the Trader and the Red-Team that learn which experience benefits the current trading decision. Each selector combines a frozen semantic encoder with an ensemble of trainable feedforward networks to score candidate memories using the current decision context, including market conditions, together with memory content and recorded outcomes. The highest-scoring candidate is selected for the corresponding agent. Both selectors receive shared feedback from the difference in net returns between the complete memory-assisted and memory-free trading pipelines. They are updated separately after trading outcomes are realized, with greater weight assigned to recent outcomes to adapt selection to changing market conditions.

Second, how can Trader and Red-Team learn from each other's evolving behavior rather than update their experience in isolation? While memory selection determines which past experience guides the current trading decision, the Trader and Red-Team must also learn from the proposal, critique, and subsequent revision to improve future decisions. For example, a Red-Team warning may teach the Trader to avoid a previously overlooked concentration risk in later portfolios. Once the Trader corrects this behavior, the Red-Team should adjust its review focus rather than repeat warnings about a problem that has already been addressed. Such adaptation requires each agent to learn not only from market outcomes but also from the other agent's actions and responses. However, reflecting separately may lead the Trader to overlook how the Red-Team's warning shaped its revision, and the Red-Team to judge its warning without considering how the Trader responded. In this work, we propose a memory co-evolution mechanism that links the Trader's and Red-Team's role-specific experience through shared memory, enabling each agent to adapt to the other's evolving behavior. We design a shared case memory to record the Trader's original proposal, the Red-Team's critique, the Trader's response, and the realized market outcome. To guide role-specific memory updates, we use these records to evaluate the Red-Team's risk assessments and the effect of the Trader's revisions on portfolio returns. Based on these evaluations, we derive experience about portfolio construction and revision for the Trader and risk assessment for the Red-Team. We store this experience in their respective memories and link it to the corresponding shared memory, so each agent can revisit how the other acted and responded. We further consolidate recurring experience into long-term memory.

with explicit applicability conditions. When selected for subsequent decisions, this experience helps the Trader improve its proposals in response to prior critiques and the Red-Team adjust its review focus as the Trader’s behavior changes.

In summary, our contributions are fourfold. First, we propose ACE-Trader, a framework for Adversarial Co-Evolution. To the best of our knowledge, this is the first framework to explicitly support co-evolution between a Trader and a Red-Team through shared memory adaptation for financial trading. Second, we develop lightweight, context-dependent memory selectors trained with shared net-return feedback from complete memory-assisted and memory-free trading pipelines. Third, we design a co-evolution mechanism that links the Trader's and Red-Team's role-specific memories through shared trading cases, enabling each agent to learn from and adapt to the other's evolving behavior. Fourth, we evaluate ACE-Trader on U.S. stock trading and use ablation studies, hyperparameter analysis, and case studies to examine its performance and the roles of its key components.

References (76)