39 points · by Mzzzzz · 4mo ago · 34 comments
With all the benchmaxxing around, evals saturate and become meaningless for model comparison. Useful benchmarks should increase in difficulty as models advance. Back in our Quant jobs, Michael and I saw that the market has exactly this property: markets became more efficient as people profited from trading inefficiencies, making new profitable strategies harder to find and old ones decay over time.
This makes markets an ideal, continuously evolving benchmark for LLM training. The hard part is to turn professional quant workflows into reliable training envs, as this is a very niche expertise.
In our environments, we give LLMs a quant trading workflow and evaluate their performance on out-of-sample data: build predictive features/ models, design a portfolio, backtest strategies, adapt continuously to market regimes. Each step is a task with different self-built tools. For example, a predictive feature building task gives the agent cleaned market data of time period [0,T] to research ideas, a backtesting tool to test created features at time t on [0, t], an execution tool to trade strategies with the new features on [t+1, T] and a final evaluation. Our reward isolates the agent's feature building skills and yet benefits from market properties.
From running SOTA models in our environments, we see that i) they seem to struggle with iterating deeply on research ideas, preferring broad shallow searches; ii) higher reasoning does not seem to increase performance and iii) agents do not understand trading, e.g. when losing money they stop trading instead of trading smarter. Check out our blogs for more details! https://edotenv.com/?tab=blog
Quant workflows are essentially applied ML research, long-horizon planning and continual learning. Through our envs, we teach these transferable research skills, rather than task specific answers. Our environments are closer to a realistic research workflow: we use real-world data instead of synthetic ones; our envs naturally contain noise and real trade-offs; our rewards are verifiable and immediate, with no need for an additional LLM judge or human expert.
We open sourced a sample task repository: https://github.com/MMcollab-dotcom/feature-engineering. We plan to sell continuously improving envs to AI labs/researchers/enterprises training their own agents, who are interested in ML modelling capabilities, continual learning, long horizon planning or Quant Research in general.
We'd love feedback from anyone trying out their own agents in our envs, for either eval or post training. And of course, we are always happy to discuss the future of trading with LLMs (and no, it should not be asking the LLM to read tea leaves and give you the stock to buy tomorrow). Looking forward to your comments!
I can't justify spending $1k - $2k a month for real time options data and compute for what is in my 401k. I guess the question I have is would your tool help me trade these strategies and more important test them on a few hundred a month?
I am asking because I see the agents can do websearch, so how is Alphadidatic preventing the agents from just looking at the asset's performances and cheat?
Back to our product. It is not 2C yet. So we are building the RL Envrionments for finetuning LLM, not providing a personal trading agent. However we can also build a professional trading harness using the setup we have. If you are interested, let's keep in touch: michael.zhang@edotenv.com
In addition, we did not observe such behaviour in our traces. An example: https://hub.harborframework.com/jobs/af0299f9-a3bb-44ea-8ced...
Say there's a crystal ball, wouldn't everyone use such crystal ball? Wouldn't crystal ball become illegal? Wouldn't crystal ball nullify the effects of things?
What am I missing, can someone from this field educate me on how this stuff scales?
Re trading: I’d argue there is no such thing as solving investment nor is there “the one profitable strategy”. Every decision from personal risk appetite to trading horizon changes what is the optimal strategy for you and there are multiple strategies that make money.
Also note that even the most profitable alphas are no crystal balls. Someone else mentioned 5% correlation to future return - depending on horizon and data such level of correlation can make 9 figure PnL and is by no means easy to achieve
On the other hand, you could also view quant research as some very hard research problems, so training LLMs on these problems could also enhance their general research capabilities.
My backgroud is in finance but do not look at things so quantitatively.
Here is another comment/output: "correlation −0.007 and directional accuracy 0.498". Wouldn't directional accuracy have to be greater than .50 to be profitable?
Forgive my ignorance I am interested in this though. I have asked Claude/ChatGPT to show me where the alpha is that the model found as well so I can learn.
Oh my Current Thing. This this enough current things?
For now it is only facing LLM/Agent.
The decay property refers to alpha that we give the agent for trade in the env - they are generated as tools.