Representation Signatures and Risk-Feedback Alignment in LLM Trading Agents

Weicheng Xue
5/16/2026
2 citations
cs.LGq-fin.CP

Official code: weich97/TreLLM-public (1 star, Python, MIT, last commit 2026-08-20).

Abstract

We study behavioral alignment and representation dynamics of large language model (LLM) agents in financial decision environments. TradeArena, an auditable trading-agent testbed with risk reports, execution simulation, memory, and replayable trajectories, lets us analyze how rationales, positions, and interventions evolve under market stress.

Show full abstract

Code and data artifacts are available through the \href{https://github.com/weich97/TreLLM-public}{TradeArena repository}. We find pre-failure signatures: planning embeddings drift from normal centroids, fused plan-risk representations separate normal from pre-drawdown states, and local manifolds exhibit effective-rank contraction. Across 80 rolling failure anchors and eight LLM trajectories, this pattern persists across hash, LSA, Transformer, and white-box hidden-state probes. Stress tests with CoT-free target weights, lexical controls, OHLCV noise, and false audits show that rationale-level contraction can vanish without rationales, while intent-space and fused signatures remain informative. Structured risk feedback can act as an external alignment signal without fine-tuning, but not as a universal performance enhancer: true audit feedback improves calibration for some models, returns for others, and exposes cases where placebo or hidden feedback has higher short-horizon return but weaker alignment diagnostics. A 51-stock intraday experiment reveals a correlation blind spot: LLM rationales justify exposure to coupled assets that the risk layer clips. Finally, a financial-audit task suite shifts comparison from ``which model trades best'' to whether models can audit trajectories, respect execution boundaries, reproduce artifacts, and avoid claim overreach. These results support a research claim, not a profitability claim: auditable risk feedback and representation trajectories reveal when LLM financial reasoning is aligning, drifting, or failing.

View on arXivView PDF

Code Implementations(1)

MIT

TreLLM is an LLM-driven trading audit and live-readiness control system; TradeArena is its public leaderboard for replayable trajectories, risk gates, execution calibration, and reproducible agent evidence.

10Python, Jupyter NotebookAug 13, 20263 months agoMIT
agent-auditagent-evaluationai-agentsauditabilityexecution-calibration+15 more

Similar Papers

Cite this paper

@article{xue2026representation,
  title  = {Representation Signatures and Risk-Feedback Alignment in LLM Trading Agents},
  author = {Weicheng Xue},
  year   = {2026},
  eprint = {2605.28850},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.28850v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.28850.svg)](https://codeofpaper.com/paper/2605.28850)

Discussion