# Workshop 23978

- Kind: Workshop
- Talk page and recording: https://iclr.cc/virtual/2025/workshop/23978

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

fences in financial AI. So it is really pleased to meet you in Singapore. It is my first time here. I think it is very nice place. Little bit hot and humid, but everything's fine. So
So in our workshop, we want to discuss many things about AI in finance, AI, LLM, these things are really going well. And I think finance is one of the most exciting industries to discover how AI works out. And there are many challenges in the financial industry. For example, like we have very strict regulation and we cannot just recommend anything to clients because of any.
uh issues and also there are huge uncertainty in financial market. So it is a also a very big challenge that we have to tackle uh when we use A_I_ for finance. So uh we have uh six invited speakers and three uh oral uh presentations and we have around fifty uh poster s uh posters. So I think you can enjoy many nice uh presentations and many exciting ideas.
ideas on AI in finance here. So I hope you enjoy the workshop. So, uh these are the organizers. Uh so this is Yongjae Lee uh from UNIST, South Korea. And here is uh Eric uh and Nazanin from uh RBC Borealis. So they they have done almost uh everything.
And Sharon, we have Sharon from UW medicine and Albert Alberto from JP Morgan and Bo from NTU. I guess Sharon and Bo will be here after some time, but so you can say hi to them. I'm not sure if they're about. Anyway, so most of the organizers are here. So if you want to say hi to us, then please.
Feel free to reach us. Okay.
I I don't have much things to say, so uh let me just uh introduce our first speaker. Uh there has been a slight uh change uh originally we were uh supposed to have Arielle Neufeld for the first speaker, but he is stuck on the road. Uh there are seems to be some uh acc car accidents in the road. So he's being a little bit late. So uh thankfully Chung Chi uh agreed to to deliver the first talk.
So Chung Chi-Chen, he is currently a researcher at the Artificial Intelligence Research Center, AIST in Japan. So he has worked on many things and he is the founder of ACL SIG FinTech and he has orchestrated FinNOP and FinWeb Workshop Series with prestigious conference such as AGI Kai, WWW and EMNLP and so on.
So I have done a lot of, I have organized a lot of workshops and like leading the community, communities in FinNLP. So he served as a program co-chair of NT-CIR -18 senior and area chair of ACL 2024 and PC member of many representative conferences.
So uh please welcome Chung Chi. He will deliver uh the talk on LLMs for Complex Insight Generation: Possibilities and uh Challenges. Please uh welcome him.
Okay, uh hi everyone, uh thank you for attending uh the workshop today. And uh uh it's my honour to uh share uh some of our work here uh with you. And uh today's topic is about uh, large energy model for complex in sight generation. So uh
I think a large language model changed the field a lot. And in 2021st we have a book about how to extract trading signal from the text including earnings call, social media data and many financial report or analysis report. But after 2021st this paper published, this book published
Then we have large language model. Everything change and uh there are a lot of things uh maybe can be doing uh well by a large language model like many information extraction tasks. So uh we change our role to uh generation. But what kind of things we are going to generate and what kind of things we uh
can generate for model or humans to make better decision. So today I'm going to share some of the progress in the past three or four year and we try to summarize all these things into the new book that may be available in next month that's called agent AI for finance and we try to switch from a financial argument mining to agent based modeling. So today I will show

best modelling. So today I will share a bit about uh this part. Mm mm mm mm.
Yongji already introduced me, and as he mentioned, I'm a researcher in AISD Japan now, and I'm also a visiting assistant professor in NAIAI. And also we have AC06 FinTech from this year, and the workshop will be held in ENOP later. So there are some event that we are organizing now and including the
SegIR tutorial and also uh VingNLP workshop at uh EMNLP and also ADR workshop that is about scenario planning with uh large and remodeled base agents and also financial argument mining things. So uh let me quickly go through the event we are uh going to organize now and uh in SegIR this year uh on uh July uh we will have a tutorial about uh information retrieval.
actually in finance. Oh, okay. You cannot see my 'Kay, I mean uh you can visit some website that uh including the event we are organising now, in uh SIGIR this year. And uh here is the uh list of speaker. And also uh
If you are interested in submit your work to ENOP, FINOP workshop. Uh now we are organising for the tenth workshop for uh fintech and ENOP. And uh you will hold in China in um November, so uh welcome to join us.
And in the Mozilla workshop we organise, we have a shared task and the shared task uh in this year f f in OOP is about uh earning to insight. So uh that is trying to generate some analysis report based on the analysis content code itself. Like many professional analysis they will write down the report to share some opinion with their customer. So uh we are trying to uh think how to generate that kind of report and what kind of knowledge
knowledge we need to generate the same report as professionals. So in this year calling we have one paper to talk about this, and also in NARCO we have one paper talk about the evaluation of this kind of generated report. So uh we try to merge all the things we did and uh try to ensure that that has a with uh all for you to uh have uh try to exploit this kind of uh very interesting text to me. So
This is about a therapy and from last year we trying to have new workshop called agent, agent AI for scenario planning. And scenario planning is very close to the inside that a professional analysis may write down to their customer. Instead of only provide like you should buy this or you should sell this or this kind of
Oh, I mean this kind of recommendation. Uh they were write down many scenario like something may happen based on this news, something may happen based on this event. And maybe uh there are a lot of thing may happen, but based on all the all the scenario then I have this recommendation. So uh instead of only pay attention to the uh recommendation itself or the sentiment analysis, what we are doing from argument aspect and also from O_P_ aspect
fact is to uh discuss how to generate a scenario and how to verify the scenario generated by professional analysis and also including the large rendering model. So uh this is a new workshop and it's not only uh for finance, like you can think about uh in literature task, when given the pattern
And then we want to uh we want large language model or the agents to provide some new idea about the product like in this in uh this time uh I see
I clear we also see some paper like from Stanford they have a research idea generation paper that like they try to survey from hundreds of researcher to compare the idea between larger model generated and human generated idea so in this show test we already collect a lot a lot of pattern and participants can train us to generate a new idea for the new product
And we ha we all of that should has now we have the human evaluation for a final result. So okay, so that's the event that uh we are organising now. So uh before I start the talk uh here is the list of uh researcher that uh we collaborate with. So uh I would like to send them uh for all the things. It's not uh all the results.
not only done by myself and also uh list uh a group of researchers. So Oh. uh let's start to discuss uh the topic. So uh it's about uh inside generation behind smarter human and uh machine decision. So uh what we are going to d sorry I cannot see my slides on the the laptop.
Okay. So it's about inside generation. And if you are familiar with the development of fintech, you can refer to you must know this report from a work economic firm. They trying to discuss what will happen in the near future after we have a lot of algorithmic trading system. So first, now I think we are in this stage.
Uh is is the first stage that people trying to discuss about how to development a automatic system to a trade and uh as in this workshop we have a lot of paper discuss about trading how to uh development system, but uh finally uh in
Professionals' opinion, they think that finally the trading strategy will be converged and everyone and every decision become the same. So when everything become the same and every decision become the same, the market will not have a volatility and also don't have arbitrage chance to do any trading.
and also without any profit. So that is the scenario proposed by this expert. And the next stage is, so how to become, make the market more fluency. Then they think finally we will still have a human to join the final investment decision. And I think trading investment is different. So
Uh anyway, here, what we want to say is uh we are having larger remote model now and uh what we should think about is what kind of uh insight we can generate for human and machine to make better decision. So it's not in in may not only uh related to the uh recommendation or the desire of buy or short uh long or short, but uh we need to
take a look at the text itself. So I think uh even we have large-an model there are still uh a lot of research we can do uh from an NLP aspect.
So before we have large array model, how we trying to do is try to extract signal as inside like in our previous paper, we try to extract a lot of opinion from social media platform like their price target, their image about the support level of the price or the stop loss level of the stock.
And then we're trying to capture investor expectation. And based on this expectation, we can compare that with the current market price and then try to see the degree between the current market price and the investor's expectation to the near future. So that's what we do before we have LOM trying to examine things from the text.
So, what we are going to do now and recently?
Here is the outline I want to talk today. The first thing is about our latent model for inside generation. That is about the possibility. And we're trying to use a new concept code for this series of task, including question generation, answer generation and also the report generation. And also whether the generated report can help human or models to do better decision. So our
The first part is about uh generating expectation. So uh what we are trying to uh capture is when the uh like you can image that when the manager is talk, it's very different from uh
The expectation of investor lend their volatility may become higher, or their stock may be a fail down, stock price may be fail down and something of that. When F_O_N_C_ they try to release something and that is very different from the market. Then that may cause the surprise or the shock. That is what we want to capture. And the second part is about uh for
To me, that is a real complex insight.

It's a real complex inside generation. And now it's challenging. And like you can see there are maybe three paper in this workshop talk about agent-based modeling or a multi -agent system for Oh. trading decision making or some financial scenario simulation. So today I will also talk about that and a lot about trading desk simulation. And also the society simulation like c uh
We learned from the uh Nobel winner in twenty fifteen. They're trying to uh discuss about uh a micro motive and uh macro behaviour of uh human. And here we are trying to discuss like with large learning model.
So that's about a natural language -driven agent-based modelling. That's different from traditional agent-based modelling that uh all use uh numerical scenes to uh some pe uh modify some parameter to discuss uh the agent-based modelling. Like you can image that after we have this kind of N_L_ driven
agent-based modeling system. What we can do, like when managers statement, we can try to think about how well the managers statement influence analysis and investors, and we can use agents to simulate the reaction of investors. And also we can try to think about like in our agent agency workshop, how we are discuss is about the new product.
product. But how to evaluate the generated idea of the new product? Like we can discuss the second topic. How will our customer and market react to the product launch by a company before you start to invest a lot to the new product? Can we have this kind of imagination about what our customer may think about our product? So this is what we want to do and uh what I think is the next stage of the inside generation.
And from the fundamental aspect, we recently trying to discuss about two possible direction. The first thing is about supply chain and the second thing is about scenario verification. After we generate many scenario, many prediction, how to verify that? That is very different from just compare that with the stop price or market.
uh price of market volatility. The scenario is uh about listing maybe happen and uh how to verify after uh maybe three months whether listings really happen. So uh it uh for this part uh we need some uh I_R_ methods for uh this part. So uh this is the overview of the c today's talk and uh I will not go into the d uh detail of the method, but I would like to share some uh main
I mean finding of uh each of this work. So uh first let's discuss about the MLM for inside generation. And uh we have is product uh based on so uh the is product is that uh company managers trying to present recent operation for uh their company and uh maybe provide some feel about the future. And then we will have a Q and A session.
uh from uh asked question from professional analysis and um company manager tried to answer their question. And then after that, uh professional analysis were write a report and maybe that will influence the market and manage hot managers reply may also influence the market. So we try to uh simulate all the things in their earnings conference call. So in most NLP workshop or NLP conference, what I share this work is we have
We have one scenario about uh the motivation. Wh why we need this kind of task, and a lot is about presentation uh preparation. Like you can image that
Uh, when you, if you are a PhD student, you may have a defense, and when you're preparing your defense after you have your job, and then you you will need to think about what kind of question profess professors will ask you and how to answer these questions. So we are trying to construct the system for this kind of scenario to generate some questions based on your your uh speech transcript uh speech draft and also try to
we guide you to think about how to answer their question. So let's for NLP scenario. But in today's workshop we are talking about finance. So as you can see that there are maybe seven or eight category, that is categorized by charity. And in today's 15 papers, we have many paper discuss about portfolio or trading or time series.
is forecasting and also agent -based modelling. So uh let's talk about finance. So as I mentioned, the n the next scenen scenario is uh whether we can use large model generated task as market expectation. So we want to capture that kind of shock. But actually this kind of talk topic already discussed in a SEO community and they are two paper they trying to discuss about that. But
All they do is just put the transcript into the model and trying to predict the shock. But to me, that may be not make
It seems to me because you don't have the market expectation what is the shock costs from the transcript. For example, if they announce that the earnings is 10% increase and market also image that it's around 10%, then there are nothing will happen in the market. But only if and only if when the announcement is, oh, we only have a 1% increase. And then.
Look kind of things will trigger market and trigger a price to move. So what we need to think about is whether we can capture this kind of market expectation and whether we can compare that with the real things that really happen. So that is for the financial scenario.
So uh let's talk about the uh question generation first and uh as you can image like when you're preparing your presentation you need a to think about a lot of question that uh your audience may ask you.
So we name this text is a multi-question generation. That's different from a previous work like given an answer and ask you to generate a question, that kind of reading comprehension question generation. How we are doing now is given the presentation and whether we can try to generate the diverse questions like your audience may ask you and we use a name's content code to be the data set for this kind of task.
And we find that uh there are some key points uh in this kind of work, like uh we need a key point retriever for that instead of uh only put all the things into a model, we need to extract some key point, that may be asked question.
So uh we we utilise a BN25 for as the and a frost as the uh generator for uh train the model to do uh this kind of things. And uh key idea here is we need to capture the entity uh entity chain in the question and answer pair.
So uh we have some result like uh if we have this kind of key point in retriever, no matter what kind of generator you use, uh the performance will become better. And also we trying to compare with the sequential gen question generation uh method like uh there are two baseline if you uh instead of generate all the question at uh the same time, whether we can generate the question one by one and put the question back and trying to
and to generate the next question. So uh compared with that uh also our method generate the question uh at the same time, but the performance still better than uh previous work. So uh and uh we also discuss about uh how about large language model. This paper will publish in uh next week's uh the web conference.
And uh in in this work we're trying to discuss uh whether we can co-train a retriever and generator framework. So are we trying to prompt retriever and also trying to generate the uh the the question at the same time. And uh in our experiment what we find is that with this kind of co-train retriever and generator the p performance will better than uh you use other kinds of retriever for generating the questions.
And we also have some human evaluation and as you can see that actually from the logic and consistency aspect model already performed quite well. So one challenging here and what we are trying to address now is how to automatically evaluate the professionalism and we're trying to adopt the linguistic features and trying to consult the professionals from linguistic department to discuss about how to automatically large model to.
to do this kind of things. So uh we have uh this kind of presentation uh prepared recent assistant. But uh what we can uh how how to use this kind of information for the uh market movement prediction or for trading? That's about the surprise or the shock. So uh there are a lot of financial uh work. They are talking about the importance of the question in earning constant code.
And uh if we can uh trying to generate the questions and uh the generated questions quality is very high, and we can image that uh

And we can image about uh and try to discuss why this kind of question do not ask in the real world in this comes code. Whether a company want to hit something or uh an uh professionals miss something, like we can have this kind of discussion. And that is about the shock. And after we trying to generate the uh the
Question and how to answer the question is also very important. So uh we try to use uh knowledge graph to guide a model to answer the questions. And uh what we find out is uh if you used a professional analysis uh knowled uh knowledge graph that proposed by uh our last year paper, then uh the the perf performance of uh the question answering will become uh better. But
For this part what I want to discuss is how we can use large volume market. So uh actually if we use the large volume market generated answer as the uh best to estimate the sharp, then what we can do is whether manager are trying to hit something, and also trying to compare uh the tone and also uh trying to compare the recent generated in the large volume market generated context.
And also compare that with the real world manager's answer. And also you can see that a lot of financial related work they already discussed about whether manager trying to hit something or whether some answers in each concept are metered to the future company operation.
So for this part, I think this is quite important for us to think about not only use large-angle model to generate the prediction, what kind of insight we can get from large-angle model. Okay, and after that, after earning this company code, we need to generate the report for that, and that is in our this year's calling's paper.
And in this paper we're trying to use a multi-agent system to simulate the sort of the
The professional analysis. And as you can see that we're trying to simulate them from different aspects. So after capture the information from different aspects, we can generate a better report. So we have a human evaluation and also compare that with large model evaluation. And the first thing is actually human evaluation and large model evaluation are not aligned very well. And the
The the other thing is after we use a multi-agent system, we can generate a better rapport uh compared with only use one writer sys agent. And uh we also have some discussion about uh the problem of uh automatic evaluation. But here still how we capture the shark.
So uh the thing is whether large-grain model can generate some uh new idea or uh something that do not repo in the uh real world professional repo. Or whether uh when the uh professional repo point out some uh idea that cannot generate by uh common sense or ch cannot generate by large-grain model, whether that point become more important that investors need to consider about that more?
So uh I think there are a lot of thing we can discuss about uh the inside and the shark in uh um large model generated text. Instead of only try to try to check the answer or try to check whether log is the same as professional generated text or not, actually recently a lot of uh automatic evaluation method already uh failed to uh evaluate the uh model generated text.
So finally it's whether uh these kind of generated text can help model or uh individual to make a better decision. So uh in uh this year calling we have uh uh discussion about how uh how to use that as a data augmentation methods to uh make model to identify what is the timing to release the report.
So we use a very long term and very large size of data set to do this kind of experiment. But the thing here is the major thing here is we are not only generate a report, but we also generate the RICE reminder. Like it's what if something happened, my prediction may be not correct. So I mean instead of only generate one thing, we need to trying to think about how professional think about market.
market try to follow their thought to generate the text we need and try to compare uh the generated text from all different aspect so uh what we find here is after we generate the race reminder add a race reminder into the model then the performance will become better so uh i think that is very straightforward but uh in most of uh professional repo especially in jp morgan's repo they have this
this kind of risk reminder. But in our community most of people trying to discuss is only not not only I mean most most of people trying to discuss about the prediction whether it's correct or not. I think it's time to re-think about what we really need from a larger language model.
And uh in the uh this year NACO we have a paper tried to discuss whether the large room model generated text can influence expert's decision. So I think that is the uh the way that we can use to uh evaluate the generated text. That is uh whether this can really help model or whether the generated text can really help human to make the final decision. So uh as we show here, actually uh
GPT -4 cannot influence like common people or expert decisions a lot, like 30% to 50 % change.
to all the uh no matter you are a mature or expert if after you adopt large engine model or uh after we provide large engine model generated text that may decrease the accuracy that's the part we need to think about how to increase the accuracy instead of m make people uh try to make the uh worse decision. So uh here
What we learned from the generation is about we need to trying to rethink about the evaluation method for the system we are going to construct and whether it can align with the professional's decision. So in the later part in the unlabeled driving agent based modelling part, I'm going to talk about uh whether it can align with the uh trading desk uh decision.
and also the society level simulation.
So uh uh I'm not sure whether you are familiar with uh agent-based modeling, but actually before we have large models there are a lot of discussion and a lot of area they are discussing about agent-based modeling. But this is the tool they propose uh for agent-based modeling. Like we can modify some parameter and uh we can see the simulation result like that. But after we have large models, people start to dis discuss about uh natural language-based simulation and interaction among the agents.
And this is one of the very early work. And we are thinking about how to use this kind of idea in the financial field. So we are trying to simulate the organization like in this year, clearly there are also a paper talking about the different
interaction structure among agents and whether that kind of in interaction will influence the final outcome and also whether we can reduce some interaction. This is not necessary interaction like that. And in our paper what we are going to discuss is whether we can simulate the decision making in the organization.
So uh in our department we have the director and uh the department team leader and also uh some uh senior junior researcher. And in trading desk it's also similar like we have the analysis, they're trying to write down something and also a trader make the decision. But maybe some uh some decision with uh larger uh budget uh larger uh amount, then we need head trader to approve all that. So uh
We're trying to think in this way and try to simulate the decision uh in this way. But of course we here we only use news as the input, but we can use uh a lot of things as the input. So uh we try to use fifteen years uh simulation and try to compare that with the real world uh professionals' decision, like whether they really buy their stock or sell their stock based on previous day's information.
So first of all, you can find that actually the alignment with the large model and the real world financial institution is not very high, especially large model always stay as the neutral, like don't trade, don't make any decision. Only about 20% of news have the decision, but actually for real world financial institution, they have
Maybe 80 percent of a wedding underweight decision every day. So we try to discuss about whether we use the hierarchical organisation structure can have a better simulation results. And also, when you use agent-based modelling, the prompt is very important. But there are a lot of things like when you ask model to discuss about

As model to discuss about just change the one turn, one week and one year decision, the everything change a lot. And also if you say this is the senior uh uh the opinion from senior trader and also from junior trader, only change one word in your prompt, the decision and the outcome become very different. So I think uh instead of okay we have this kind of structure, uh the more more individual
In deep discussion, we still need for this part. And also we try to compare that with the market, like whether model and also this kind of structure can have a better prediction to the market. And we all have some good result for that. Okay and finally, it's about uh human behaviour simulation. In our paper we trying to discuss about micro and mi uh micro and macro uh behaviour of large model.
So uh uh in uh this is the uh star of the uh Schelling's model and uh agent-based modelling. And uh what they discuss is based on the uh some if people have some preference then uh we will have a segregate uh society. And we also use Lagrangian model to doing the same thing, just as Lagrangian model, given these neighbour's condition, whether you are going to move or not. And we try to do uh this kind of s simulation until it become the steady state.
And our assumption is what if all human beings follow the large-area model's suggestion. You can change the scenario to financial market. And uh what we find is that after uh if all people uh follow the suggestion of large-area model, then the uh no matter which uh aspect which model you uh you use, we will have a segregate uh society. Like like it's aligned with the uh
the uh shoggins model but the other thing is actually the sh we we we spend a lot of time to the bias of the larger model and uh GPT4 performs quite well from different aspect and also uh 3.5 performs quite worse from many aspect but no matter uh the uh how different the micro multiverse is different
We all got a very simi similar uh maker uh behaviour. So uh that means uh we need to think about the large scale simulation in different way instead of only uh address the uh one models uh like bias or uh some uh preference, when it became a large scale things uh we may have a different uh result. And uh last thing is about uh we can try to discuss why
Oh, 10 % people follow large animal model decision and how if 40% or more or we can use a diverse large animal model to have this kind of discussion. What will happen in the market? What will happen in the society? So that is what we want to discuss and want to propose for simulation.
So that's the thing I think is complex inside generation and it's still very challenging. Like recently we have one work like talking about 10 million real-world user simulation but actually they still using some demographic data in the model instead of the texture data. So how to inject the texture data and personal like life history into the model and let it.
It really simulate the real world person. That is still very uh uh we have a very long way to uh achieve this goal.
So finally I would like to share that very briefly go through two parts that we may be able to improve the logic model generating insight. The first thing is about supply chain mining. And I just skipped why supply chain is very important. But here what we learn is
You can use large model to do that. You can also use grounding API with search function, with search tool to do that. And even you can use deep research to do this kind of supply chain mining from the website. But no matter which uh which uh model we use, the performance is actually not well as the uh Bloomberg uh experts. So uh this is the first thing uh that we can think about. Actually large model even
and with grounding API, they don't have the knowledge about the supply chain. But supply chain is very important when you want to write the analysis for a company. So uh recently we are trying to improve from this aspect. And one interesting insight here is uh actually
The same large area model, no, itself in child knowledge, it's not well used when you use the deep research system. That means also large area model answer it correctly, but when you use deep research system, it is always being missed.
Okay, so uh the last thing is about the scenario verification. Like uh after we generate a lot of things, how to verify the scenario that we talk maybe uh in last month or in past uh last year. How to verify that.
So we have this kind of data set and some state annotations for that. But we find that it's still very challenging, especially to prove that it's wrong. It's very easy to prove that it's correct because it will be mentioned in the news article. But nobody trying to check the forward looking statement of professional analysis. And they will not trying to write down and say, oh, some people say that in the last month, but it is not correct.
So it's very hard to uh prove that it's wrong and how we can do to evaluate that. So that is the challenge we want to propose here. So uh I as uh I think in most of recent talk, no matter uh in which kind of conference, people are talking about evaluation. So I think it's time to think about how we want to evaluate of the uh not your model generated test. It's that really only the recommendation.
Okay, so uh here is the uh the idea I want to share and uh I think uh we need a new thinking tool to help uh professionals and even uh common people to make better decision. And also we need a better evaluation methods for that. So it's the goal for this kind of research discussion and uh we'll come to have some discussion after uh this talk.
Yeah, so it's time for question answering and here are some events we are organizing now. Thank you. Uh okay, now we have a few minutes for some questions. Any question from the audience? Okay, if not I have a question. Uh so you mentioned a a lot about larger models for inside generation. I'm wondering for
Stock trading scenario, for example, uh it's a competing market. So the inside we generate from one L_L_M_ uh if other people also have access to the same L_L_M_ and the same insight, uh what's your opinion on whether that signal is still tradable? Yes, so uh for for the uh large model insight, uh in my opinion what we need to think about is the uh this kind of large scale simulation. When uh there are a lot
of people trying to use GPT -4 to generate the idea. They will going to make the same decision, right? But if you are the trading company or hedge fund, you need to capture this kind of expectation from common people. And then before that, you can...
You can you can understand how uh marketing would maybe move. And also uh in this paper we only discuss one large model in the simulation. But what if like uh maybe maybe uh GPT4 capture uh forty percent user in this market and Gemini twenty percent, that kind of very diverse large model simulation that is also worth to discuss. So I think there are a lot of things we can Okay, that's a very good point. Thank thank you. you.
Oh. Yeah, so I'm just curious about like figure stimulation about human behaviour. So in your simulation have you considered about any possibility of like multiple equilibrium stuff? Sorry, I cannot hear. Maybe need louder.
So you can have smaller like for example game theory one of the obstacle people facing, try dealing with is multiple equilibrium. Essentially make make difficult to understand or interpret people's behaviour. So your simulations your settings they didn't allow for multiple equilibrium or you just bypass it. And so uh we we we just by prompting the large model at least time, uh
I mean for all of our simulation we just from logical model for that and we try to inject different kinds of like senior trader or something like some detail in the prompt but I think one thing I want to share is I'm not saying to like we don't need this kind of traditional agent based modeling system. What we need to think about is how to combine the economic insight like they already have some condition and simulation.
for the from numerical aspect some formula to simulate the human behavior how we can like utilize list together with energy driven simulation together to have a better simulation but in our work is still very early is on the very early stage Alright, let's give another round of applause for the speaker. Thank you.

Here you go. Thank you. Oh. It's one? Uh this one.
Hi everyone, it's my greatest pleasure to introduce our next speaker, Dr. Masashi Sugiyama. He's currently the director at Riken Center for Advanced Intelligence Project and he's also concurrently serving as professor at the University of Tokyo. He has done a lot of influential works on theories and algorithms of machine learning.
to include uh problems such as weekly supervised learning, uh noise robust learning and more recently um learning under distributional um shift a topic that I'm personally also very excited about. Um his work has been recognised by a lot of uh awards too, this includes um a very significant award on um
Japan Academy Medal in 2017. So that's very impressive. So without further ado, I'll hand over to Dr. Sugiyama and really looking forward to your talk. Please take it away.
Okay, so thank you very much for the kind introduction and thank you for the kind invitation to this great workshop. So I'm Sugiyama from Riken and University of Tokyo. So by chance, so we had two speakers from Japan in the morning. The first speaker was from AIST and we I'm from Riken. So these two are actually the biggest national research centers in Japan. And AIST is under the Ministry of Economy, Trade, Industry and Riken is under the Ministry of Education,
of education. So we are bit more fundamental from that viewpoint. But we have nice nice relation, and we are collaborating each other a lot.
Then my background uh background is basically machine learning methodology and and algorithm theory. So it I'm bit far from finance field unfortunately, but this topic distribution shift is really important in finance and the economy and in particular in economy so sample selection bias is of course one of the main topics and Nobel Prize you know research. So we are basically kind of following this line of research and hopefully so today I can share some some
from like experience in this field. And and hope that we can start thinking about collaboration in the finance field. Okay then, let me briefly talk about the problem I discussed today. So it's running under distribution shift. So it's basically a standard supervised running problem. So as training data, we are given input-output pair data, so coming from some training distribution. So P_T_R_ is the joint density of input and output.
Then the goal is quite standard. So we want to learn the predictor, why equals f of x that minimises the test risk.
And w with some additional data from the test domains, I will talk about that uh a little later. So we just want to minimise the risk function of R_F_ So R_F_ is defined as the error is the point-wise loss function, for the X_ squared loss, uh cross entropy loss. Then so this is expected over test distribution P_T_E_ And R_ is is defined like this, we want to minimise it. So then the challenge is to overcome changing distributions.
So in this talk we assume that so the test distribution is not necessarily the same as the training distribution. So they are generally different like this.
So this kind of changing distributions maybe induced by non-stationarity of the environment, because nowadays things are changing over time. So we want to somehow overcome this changing distributions. Or sample selection bias due to privacy concerns. So sometimes we are not allowed to data the uh al allowed to collect data as we want. So then our training data is in a sense biased compared with the test distribution.
So we want to overcome this, you know, difference. So that's your challenge here. And apparently, so this is not a new topic. And actually, I I'm working on this topic more than twenty years now, and actually I co-organised the workshop at NIPS in two thousand and six.
And at that moment there was actually no problem no name for this problem. So our workshop name was so NIPS workshop on learning when test and training inputs have different distributions. So this really explained the problem. But this was really nice workshop and we had a lot of great speakers and it was really successful. And after a couple of years so we uh edited the volume from the workshop.
And at this moment we gave a name to this problem. So it's data set shift. So the book is data set shift in machine learning. And but unfortunately this data set shift is didn't become quite popular and everybody forgot the name.
But very recently, so this topic is becoming quite important again, but with new names. So distribution shift or fine tuning could also be part of distribution shift research. And there are actually a series of workshops at NeurIPS from 2021 to 2024. So maybe this year it's going to be happening again. So this distribution shift research is getting more and more important nowadays in the new context.
So then today so I will talk about three things. The first part is basically a review of some classic techniques and b let's start from this part. So when we talk about distribution shift, we have actually several different types and the most general one is a as I already formulated, it joint shift. So P of X and Y is different between training and testing. So basically this contains everything so I uh the entire distribution changes m from training to testing.
But we have more special cases that are often quite important in practice, like covariate shift.
So covariate is the name of the input variable in statistics. So covariate shift means only input distribution changes. But the target distribution does not change. Like in the case of one-dimensional regression, so we have a like fixed target function, red one here. Then basically the position of data changes from training to testing. Like training data, it's coming from the left-hand side and test data, it's coming from the right-hand side. So this uh this uh kind of typical covariate shift problem.
Then the second one is called label shift. So it's P of Y changes. So in the case of classification, P of Y is basically class proportions, right? So then suppose in the Mm-hmm. training phase we have more positive data than negative data like this. But in the test phase we may have like 50 -50 positive-negative samples. So this kind of thing is happening quite often. So P of Y only changes.
Then output noise can also be regarded as a type of distribution shift. So here p of Y given X changes. So X is an input and Y is our output. So output distribution changes. So typically like classification with noisy labels is actually a distribution problem. So in the training phase we have noisy labels. But in the test phase we suppose we have clean labels and we want to predict them.
Then, a tip P_ of y given X_ is different between training and testing. Then mathematically we can also consider class conditional shift, so P_ of X_ given Y_ changes. I m uh honestly I'm not quite familiar with this setting, but there are some papers also on this conditional shift, uh class conditional shift. So there must be some nice applications behind. Okay then, so let's take an example of covariate shift for the moment.
So here training and test input distributions are different. So p_ t_ P_T_R_ of X_ is different from P_T_ of X_ but the output given input distribution is unchanged. So P_ of Y_ given X_ is the same between training and testing. Then uh as I mentioned so one dimensional regression is a typical illustration for this. Like input densities are different between uh the blue and black one. Then data are also different in this way.
So in this scenario, so we assume we have labeled training data so coming from P_T_L_ of X_ and Y_ and also P_T_E_ of X_ and labeled test data. So this setting is sometimes called uh unsupervised domain adaptation because we have only unlabeled data from the the test domain. So we we don't have labels from the test domain. So this is a typical setting. So then in this scenario, a g good method is called importance weighted training.
So suppose we just naively apply linear least-squares to this simple problem. Then we just end up being fitting blue training points like this. Then we have this green line uh as the solution. But we want to make prediction of these black crosses. So this green line does not predict g black crosses quite well. And we can easily confirm that this naive least-squares or naive empirical risk minimisation is not statistically consistent.
But once we have so-called importance weight to the loss function so importance is the the ratio of P_T_E_ of and P_T_L_ like this. So then so by this importance weighted empirical risk minimisation or importance weighted linear least squares, we have this green line. So a green line is obtained from blue points and and this importance value, but we have a nice uh nice straight line like this here. And this pretty

red line like this here, and this predict black crosses quite well. So in this example, actually the importance values are almost zero on the left-hand side. And only a few points on the right-hand side have larger importance values. So then basically this green line is obtained from a small number of samples from the right-hand side.
But the role of importance is something like this. So we are kind of selecting the important points for for the test domain, so from the training data. So then so this is a kind of software to to select samples, and we have s consistent solution like this. But the question is, so we don't know the importance. How how do we estimate it from data? So it's called the problem of direct estimation, and this has been studied a lot a long time ago.
And in this scenario so we are given training and test input data. So P_T of X and P_T_X and we have sample, I_I_D_ samples like this. Then we want to estimate the ratio of two densities. So uh let's say Al and we want to obtain Al_ hat that approximates this density ratio. And already there is a series of nice nice method for the density ratio estimation.
And a good one is called Kernel Kernel Mean Matching. So in this Kernel Mean Matching method, so they try to match the means of P_T_E_ and R_P_T_L_ So R_ is a So P_T_ over P_T_L_ so basically P_T_L_ is cancelled and this becomes P_T_ so we want to basically match them in a repurposing Kernel Hilbert space. So this is a quite elegant method mathematically and uh the problem is actually quite simple and so solve it in a nice way.
Then another method we developed is named the squared importance fitting. So this is also very simple. So we fit a model of importance r to the true one by these squares, that's just naively. So r minus P_t over P_t_r squared is basically minimized. So this is a bit complicated, but once we expand this squared term and ignore some constant terms, then we end up in having this simple expression.
Then everything can be computed empirically from these two sets of samples, and we have consistent solution. And this method can be extended to from from these squares to Breckman divergences. So it it it is a family of divergences so that includes these squares squared loss of the special case, but it it includes more diverse, you know, divergence functions.
Okay, good. And the beauty of these methods are that the densities are not estimated. So neither PTR PT_PT_ are estimated. But density ratio function are is directly estimated. So that's the beauty of these methods. Okay, then based on this importance weighting method, so classically so we solved the covariate shift problem in two steps. Uh actually this this that again, that quite quite popular method more than ten years ago and we had a book on this more than ten years ago.
So first we estimate the importance based on some previously introduced methods. Let's say discrete importance waiting. Then so we obtain alpha_ hat. And hopefully this alpha_ hat is a good approximation to the true true importance weight. Then in the second phase so we use this estimated alpha_ hat just we plug in the importance weighted no uh loss function like this and obtain the final predictor f_ hat.
and more than ten years ago it it worked quite well. And I actually had a lot of industrial applications. This was quite useful.
But clearly the problem is that so we are solving the p the the the problem in two steps. So the estimation error encoded in the first step. So R_ hat is hopefully a good estimator, but still it contains some error. But this small error can be arbitrarily magnified in the second phase. But the first step is is done without regard to the second step. Then to overcome this problem, so we spent some time to think about a good approach and it took
ten years. But finally we came to a nice solution here. So I I don't really go into the detail here. But instead of fast estimating the importance weight, but we tried to estimate the importance weight and final predictor at the same time. And to do so we tried to have an upper bound of the test risk with respect to both F_ and R_
So more precisely in our case, so test risk squared squared divided by two. So this is up bounded by the J function here. And very interestingly, this J function is actually the sum of these two criteria exactly. So then we minimize this upper bound with j jointly minimize this upper bound with respect to both F and alpha. Then we obtain the final solution F hat.
And from this joint upper bound and minimization viewpoint, so it's it's clear that our previous two-step approach is suboptimal. Because we first minimize the the J_1, then after that we fix R_ and then minimize J_2 with respect to F_ But now we can minimize both of them at the same time.
So even long time ago, we knew empirically that some uh minimizing this some was somewhat useful in practice. But it was not really justified more than ten years ago. But now we can really justify that this is actually a upper bound and not minimize this joint upper bound minimization. And we can also show consistency and evaluate the convergence rate and things like that. Okay good good. So that was the the background. So then so the main issue today is sequential shift.
So far we focused on a fixed test domain. So we have training domain and test domain and we wanted to adapt our training data to the test domain. But nowadays, so uh say if you consider like changing distribution, then so in the world is al all always changing sequentially. So test domains can change over time like this. So let's call P_ one, P_ two to P_ T_
So then, so we want to obtain a predictor F hat T. So that works well for P_T_ of X_ and Y_ So now we define the risk functional for for test time T_ and this is defined essentially the same way. And we want to somehow minimize this one. So this is a kind of i i informal ex expression because T_ is changing over time. But we want to at each T_ we want to somehow minimize this. So that's something we want to do here.
So then, f for for the moment, to simplify the problem, let's consider label shift problem. So here only p of Y changes. So in in the classification problem we uh so in the training phase we still have labelled training data, we have some proportions of training data like in the three class case we have uh a proportion like this. But in the test phase the class proportion changes over time.
Maybe in some disease over time maybe the proportion changes or something like that, so we can start this kind of situation. But conditional, class conditionals stay the same. So P_ of X_ given Y_ is the same. So that's a label shift problem. And now it's a sequential version. So at test time so in the training time we have labelled training data. Then in the test time we have a set of small set of unlabelled data at at each test time.
And we want to somehow cope with this s sequential label shift. So that's the problem here. Uh okay, so this is something I have to say. So so in the training phase we have labelled training data. Then in the test phase we have a small number of a a empty number of samples at each T_ And we want to overcome the changing distribution. Then so naively we can solve this problem in in a batch manner at each each this time T_
So at time step T_ so P_T_ P_T_ of Y_ can be estimated by implicit distribution matching. Like b basically we want to estimate P_T_ but we only have unlabeled data from the test domain. But instead we have labelled training data and we we use that. So based on the labelled training data essentially we can estimate the class conditional densities like for class one we have blue density like this and for class two we have red density like this.
Then in the test phase at time T_ we have only unlabelled data. And unlabelled data is basically a mixture of you know two classes in this case, but we don't know the proportions. And we want to estimate the proportions here. And this can be done by minimising the s some divergence between P_T_E_ and Q_T_ so Q_T_ is the sum of uh P_T_E_ is that
This distance, true distance d and and q_t is our model. So our model is a mixture of uh two class conditional densities in this case. And we learn the the coefficients here. And and then so we perform importance weighted training based on the estimated p_t_hat.
And uh again the beauty of this uh uh implicit distribution matching is that no density estimation is needed. So we try to minimize this divergence with respect to the coefficient mixing coefficient here. But uh so uh we have three densities here, but none of the densities are estimated behind. But we just implicitly you know uh estimate them and minimize the divergence. So that's a method here. So that's solution.
But so, okay, distributions are changing over time, and we want to make it more computationally efficient, because batch importance weighting requires retraining in each time step. And nowadays the model is big, and retraining takes really a lot of time and inefficient. So how can we make it computationally more efficient? Let's use

percent. Let's use online learning. So this is another big field of machine learning. And we use the simplest and and and quite solid formulation called online convex optimization. But we need some additional assumptions. We assume that our loss function is convex, so like logarithmic loss. Then the second assumption is that our model is linear with respect to the parameters to be updated.
So Rinne means basically w transpose x, so it's the simplest model. Then in online convex optimization so we perform gradient one step gradient descent here. So we compare the gradient of the current uh risk functional and eta is a step size and we update a parameter. And then so we project the the solution back to the feasible region if necessary. And obtain the next solution.
And in this scenario so we still need important weighting s because we we need here and and we use a method called black box shift est uh shift estimation for class priors. This is also a quite quite nice method and it gives an unbiased estimator of the of the cla class priors.
Then, okay, having a linear model assumption is of course very strong and too classic. But i uh so if you consider this as a like a fine-tuning process, then in the training phase we have a big model and and okay large pre uh uh large data. So then we just pre -train the model and obtain uh no solution first. Then in the like test phase, so we just update the final layer.
So then everything is regarded as linear. So still this formulation is valid in in that scenario. Then okay, the the question is this uh step size theta. So the choice of step size is quite important in this online procedure. So it depends on actually the speed of distribution shift. So suppose the distribution is only slightly changing.
Then eta should be small, because the previous solution is already reasonably good. Because the distribution is only changed only slightly, then we don't have to change our solution too much. But if the distribution is changed uh no quite quite significantly then we should be more aggressive and make eta large to quickly adapt to the changing distribution. So the choice of eta is quite important in i in this online learning process.
So then how do we choose eta in practice? So uh our our idea is to to use ensemble learning. So basically we prepare many learners having different learning speeds. So we have eta one to eta M_ and we run M M learners at the same time. Then all of them are updated ex exactly in the same way, but only the step size is different.
Then the final output is computed b uh as the weighted average of of these M_ learners in this way. So this is a cl classical approach uh and the based on the hedge algorithm. So we obtained the final solution like this. So this is our proposed method. Then so here is a bit bit of a theory for this.
So to analyse the behaviour of our algorithm, so we defined the quantity called shift intensity. It's V_ of T_ here. So it's basically the difference between like two distributions between time T_ and time T_ T_ minus one. So it one difference. And we suppose this is reasonably big. If this is quite small then actually our analysis is quite straight forward and I just omit it. So suppose this is not too small.
So then suppose this V_T_ is known. Of course it's n it's unknown in practice, but suppose it is known. Then so the dynamic regret i is minimised with respect to this step uh with step size eta given in this way. So the dynamic regret is defined in this in this way. So R_T_ W_T_ is the risk of our current model. The mean of R_T_W_ is the best solution, best model at each each iteration.
And we take the difference of these two and and summed over all time steps, and we analyse this quantity. Then, so this quantity is minimised by setting Ita to this value. And then minim that minimum value is is given by this. So that that's the kind of s uh the p best case. Then so in practice we don't know this V_D_ but still we want to perform as good as possible.
Then actually we can show that our our algorithm named A Atlas, it's on in the previous page. So this still achieves the same dynamic regret as this one. So even though we don't have knowledge of V_T_ but still like like we can achieve the same same dynamic regret. But assumptions are that we need M learners and M is essentially log T_
So T is the number of time steps. So if T is too large, maybe we need a large number of learners. But if T is reasonable, then this is quite feasible in practice. Then the step size is chosen in the equi -distance way in log scale, like two to the power of m. So then we can achieve the same dynamic regret as the optimal case without knowing the changing distribution.
So then one more thing. So suppose we have some hint in changing distribution. So so far we just assume that distribution is changed in an arbitrary way and we have no knowledge and we only have unlabeled data from the test domain. But in reality, maybe distribution is not too bad. We may have some hint for changing distribution. And here is a formulation for this. So let let's consider a hint function H_T of W_
And we hope this is a kind of approximation to the true risk at time T_ but it's just nearly equal or whatever. Then so we have a adaptive version of this atlas algorithm. So in the first step it is the same, we perform an uh online convex convex optimisation, we obtain the intermediate solution.
Then, in the second step, so this intermediate step s solution is slightly modified based on this hint function. So we also we reduce this hint function at the same time. And and slightly adjust the solution. So this is the out output of the modified algorithm. Then okay, we can show that so dynamic regret of this ad adaptive version is given by this.
And here we have new quantity name G_T_ so it it's called reusability and it is defined in this way. So hint function the derivative of the hint function should be close to the uh the uh derivative of the empirical risk. So this is G_T_
And so this is some from one to T, so it should be or order T, but hopefully it's not too big. Okay. If the hint function is so good, then this is quite small. But if the hint function is almost random, w it is order of T. So it is the worst case.
But so th given this dynamic regret, so in the worst case the G_T is still order of T_ so we have order of T_ here. But then so this dynamic regret becomes this amount. So T_ to the power of two over three. And actually this quantity is exactly the same as the the quantity I I showed in the previous page, the optim optimal one. So this means that even if the hint function is just random,
Let's do our method that it's safe, essentially the same performance is maintained. But i if we have some slightly better knowledge on the changing distribution, then so this G_T_ it's slightly smaller than order of T_ then this is actually improved. So in sense this is like a better and a safe alternative to the original method. So we should use H_T_ in in a in a reasonable way. Then hopefully we have better solution in reality.
Okay then this basic result was already extended to several directions. Then after work worked on label shift, so we have P of right only changes. So we had the covariance shift value. So now sequential covariance shift. Only P_ P of X_ changes over time.
Then s so similar ensemble learning approaches still effective in in that framework. But we had a bit different formulation in in this paper. Because the ensemble is not taken over like eta the step sizes. But here ensemble is taken over like data pre-od. So each learner has like like data from different training pre pre-od.
So by by that we can somehow uh c uh take into account the the change of distribution shift. And then on sa taking an ensemble of these learners yeah we we can obtain a good solution.
Then, so okay, still this method requires like M runners, l l l basically lock T_ But we also had a single runner approach. But here so we utilise the wavelet based eff uh efficient change detection. So as you know, wavelet is uh kind of uh computationally efficient way. So but by decomposing having this kind of hierarchical structure. Then so we can actually detect distribution change quite efficiently.
And then our finding is that, so when a big change occurred, then actually we restart learning.
So th this is a kind of interesting uh the result. Because uh so the goal of like like this kind of uh online s s sequential distribution s research is to like update our you know predictor over time to, you know, follow the changing distribution. But in this approach, if something big change happened, then okay, let's forget about like all the previous update. And just go back to the initial phase and restart learning.
And we can prove that this is still optimal. So it's quite interesting. And this is not possible for human learning like after one or two years

Human learning, like after one or two years of learning, so we we can't say, okay forget everything that you have learned last two years and go back to the previous state status. This is not possible for human learning, but for machine learning this is possible. So just, you know, go back to the previous phase. Then also we are interested in test time adaptation. So so far we assume that we have training data.
And uh we used training data to update an uh in an online learning phase. But maintaining the training data is also problematic, maybe due to some privacy reasons. Then in this test time as this scenario, we only maintain some sketch of representations, basically the mean and covariance of our representations. Then based on that, so we update our repre representation part. And again we take a similar ensemble approach due to representations.
Okay, then finally, let me briefly talk about a ongoing line of research of joint shifts. So far we focused on particular shift type like covariate shift, a label shift. But in reality the identification of the shift type is the most challenging part.
And in particular, we assume that we only have unlabeled data from test domain. Then basically we can't really, you know, assess the assumption. Like we don't know whether it's really covariate shift or not. So it's more like a belief and just you know test and see it works or not. Then another challenge is actually label noise. So as I said in in the beginning, label noise is is also a type of distribution shift where P of Y given X changes.
Then so, P_T_R_ and P_T_E_ are connected uh with this noise transition probability like this. And so far, so if it's a input independent noise, so this X is uh cancelled, then actually we had that already nice theory to to correct label noise.
But for general case, where input uh not noise is input dependent. Like input independent means we have uh like uniform noise over the uh uh uh the noise properties uniform over the entire domain. But in reality, the noise is often input dependent. Like we have more noise near the boundary and less noise uh far away from the boundaries. So for this input dependent noise, still like we only have heuristic solutions. Then our proposal here is to consider joint shift.
and include everything and try to solve a high level problem. Then so at 2020 we had one basic method for this joint shift. But here we need to assume that we have a small number of labelled test data. So that's the difference from the previous uh research.
Then, so we perform uh importance-weighted training dynamically in the mini-batch-wise manner. So we are training neural network and at each mini for each mini-batch we estimate the importance-weight and perform a gradient descent.
And for this uh important estimation we used kernel mean matching for lost values. So because estimation of the importance weight from a small number of samples in the mini batch is quite difficult, so we ended ended up in just matching the distributions of lost values. So this is a really a crude approximation. But
In practice this is fine, because it's just one of the, you know, thousands of steps of gradient descent, stochast stochastic optimisation. So as long as we can find reasonable direction to go, then actually we can obtain a reasonably good solution. So maybe this is a kind of fast method to systematically solve the joint shift problem. Then later on we extended this to out of domain situations.
Because the limitation of importance weighting is clearly that the training domain must cover the test domain. So we consider this ratio, then P_T_L shouldn't be zero. So this means that P_T_L is essentially quite wider and P_T_E is contained in P_T_L. So this is a kind of needed assumption behind. But in reality we want to really consider the situation where P_T_E is sticked out from the test domain.
So how do we do that? So we want to basically estimate this point where PTE is split into the training side and pure test side. Then we decided to use outlier detection method to split our test data into two sets. Then for the data in the training side we use importance weighted training.
Then data in the test phase, uh th th test side. So we just compute the test error directly. So still we are following th th this line this line of research. We have labelled test data. So we can use no test data in the test domain as pure test data and just up them up. Then we can justify this solution. Then our current line of research ch challenges to to weaken this option.
But for joint shape adaptation, so we need labeled test data so far. Maybe small number, but we need it. But this is very strong in practice. So we want to somehow mitigate this issue by incorporating weekly supervised running. So today I I didn't have time to talk about it, but we spend a lot a lot of time on the like theory and framework of weekly supervised running. And we can solve for example binary classification problem only from positive and unlabelled data.
Or only from positive confidence data, or similar dissimilar pairs or something like that. We have a lot of variations of weakly supervised learning problem where we can really solve the problem, you know, in a guaranteed way. And we had a book on this three years ago. And we hope to incorporate this weakly supervised learning idea in this joint distribution shift.
So currently we need label data from a test domain, but we hope to prove that so un uh uh so weekly super weekly label data from a test domain can be sh uh sufficient to solve the joint distribution shift problem.
Then finally we want to copy like the sequential joint shift and also we want to constar fixed memory setting uh no memory setting. Because in continual learning or lifelong learning communities, they don't really know maintain training data but only the predictor. So maybe no memory is a bit too challenging, but fixed memory setting could be in a practical. So we want to extend our line of research to this direction.
Then hopefully we have machine learning with these assumptions, so that should be quite useful and broadly ap applicable. Then finally one more slide. So now okay LLM or a foundation model is quite quite used, but nowadays these are personalised. Then like I have my smartphone and I have personalised AI i at hand and I communicate with it.
Then over time, so distribution is changing, environment is changing, so we need to cope with it. So this is the line of research I talked about today. So online learning, continual learning, and imperfect learning and sequential decision making et cetera. So these are quite important, learning in dynamic environments. But then now we have many users, right.
So then, so learning in diverse environments is also quite important. So this includes multi-agent learning, multi-agent interaction, so multi-modal, multi-task learning. And also, so we have many learners at the same time, then privacy concerns are issue, adversarial learning, fairness awareness. So these are quite important nowadays. Then, so it's like society-wide, you know, big system. So computational energy efficiency is also quite important.
So from the theoretical viewpoint, the contribution in the like efficiency part is bit limited, but still we hope that so we can improve the like computational efficiency and hopefully contribute to energy efficiency in the future. Okay, so that's all, thank you very much. We have time for a few questions. If anyone has a question, please raise your hand.
Oh yeah. Thank you for the great talk. I'm wondering whether for the distribution shift, have you um
Like or apply this to financial setting for instance a stock price Yeah, changing so informally, one of my undergrad student did some small experiments, and but of course the difficulties are just time series. Because all uh know in in all of the talks, I assumed data points are i.i.d. Even at each time step we need some set of i.i.d. samples. But in the time series case, so this is not always the case.
So somehow we need to approximate that part. And so we had a bit positive result in some preliminary experiments, but overcoming this time series dynamics behind, uh, running. So this is still our kind of issue that is not really discussed in in the talk today. Thank you. Just one more question Yeah. about this one. I didn't get it. Are you talking about like each user
uh each user is learning by what? Is each user is fine-tuning its language model or Yeah, that uh based on like my my preference maybe, my Uh-huh. A_I_ should be trained. So like like friends right, we are chatting each other for many times. Then the A_I_ knows what what I prefer. Do you have um any existing work or have are you working on this now? So uh uh along the time axis already we have done a lot of things.
But still like human computer interaction part is not really incorporated. But then okay Matlab model, Matlab task can be somehow handled in the current framework. But again, interaction part maybe this is y your field, so still this part is missing, uh at least in in our research. So hopefully we can have bit more no communication with uh multi-agent people. Okay. Thank you. Yeah, thank you very much.
Please join me thanking Maasai for their insightful talk. Thank you very much.

have T-P we cannot that's what we Okay. But then I think when we started T-P, T brick already ended.
So I'm going to introduce our our third speaker, uh Doctor Wei-Ching Liu, who is now a principal's research manager in machine learning group and uh M_S_R_ Asia. So he has done quite some work on uh A_F_O_ finance. Uh I guess that's something um he's going to introduce in here. Um so um
So let's welcome uh Doctor Neil. Thanks. Okay. Hello everyone.
Hello everyone. And thanks for the invitation and introduction. Warm introduction. I am Wei Cheng from Microsoft Research Asia. And I'm very glad to be here to present our latest work, our latest project, Mars, Financial Market Simulation Engine powered by a generative foundation model. And I
Slightly uh modified uh the title and uh which can uh reflect today's focus. We first introduce the large market model not large language model but large market model, L_M_M_ we uh and then we uh followed by uh the it's universal financial market stimulation engine, we call it Mars, okay. Okay, uh
We've first introduced the background of the motivation of Mars project. Actually over the past eight, nine years, actually we have many deep collaborations with top tier financial industry partners from quantitative investment to anti -money laundering.
And we also do some research topics originated from our hands-on AI for Finance project, and we have published several papers addressing areas such as the sequential decision making, time-reverent patterns, distribution shifting, yeah, and heterogeneous and hierarchical data, complex correlation and expandability.
Although these topics are very, very important to the finance area, but I think they have not received sufficient attention from the academic communities. So through our work, we hope to bridge this kind of gap and stimulate further research in these important areas.
So while we working on industrial research topics, we quickly discovered that a robust and realistic research framework was essential for producing impactful research works. A few years ago, we couldn't find this kind of framework that met our needs and met the partner's needs.
So we decided to build one by ourself. We open source this solution Kulep to foster better research in quantitative investment. And today, Kulep has garnered over 19 ,000 stars on GitHub and supports multiple learning private times including supervised learning, reinforced learning and so on. So...
When we look back to what we have done and the ongoing process of AI transformation in finance area, the main jobs are building machine learning models on their task-specific market indicators. Many of the research and industry products work in this step. For example, the candlestick chart here is...
is one of the most famous indicators of the financial market. I think everyone saw this candlestick chart every day. But we found that in most of the tasks, the standard practice are based on these market indicators rather than go inside the financial market itself, the raw data. But...
Well, the financial markets are data-rich, and most of the tests deeply rely on a good understanding of the market. So we wonder why this area already go inside, why this area already leverage this kind of raw data. And here is the answer we heard. And first, the market.
is a place for financial trading. Millions, thousands, millions of participants will submit their orders, their trading orders in a form and order flow.
And these odors will be matched in real time following standard matching rules. And the successfully matched odors form a transaction flow and other odors waiting for a buyer or a seller will be added to the odor book and some participants may change their behavior when they observe a big change or some big odor in the odor book.
So uh the complex negotiation and the compromise process will happen thousands times in just one minute, and finally form a f owning a one single bar in a minute level chart.
candlestick chart. Uh this uh filtered out most of the details of the market, and but it's uh really a big challenge for traditional machine learning methods to leverage this kind of uh uh raw data. So they treat the uh
In traditional way, we have to treat this process as an opaque black box and only analyze those observable marketing indicators designed by human experts on the surface. And this kind of way missing insights within because even the very top talents, very top experts may not be able to cover all the insights.
in the market right so we believe this is a big opportunity for building large foundation model to unveil the complex financial market and in this box the older the older flow here yeah
which captures the real pulse of the market, we believe, and has largely been untapped and creating an opportunity for unprecedented market insights. And moreover, we can recover the whole market.
including the older book and the transaction flow by just correctly matching the older flow and the matching rules are publicly available for every single market, right? So we believe the older flow is a key for building a large foundation block. Sorry.
Uh as I uh said, the most valuable information uh in the audio flow we think is uh original and a Mm. comprehensive information of the participant's behaviour. And from the individual perspective, the audio flow captures the negotiation and compromise interaction between all the participants in the market. So it is worth to tokenise each single order in the order flow.
And from a market side and from market perspective, the order distribution itself from all the participants represents the market's behavior and the shift and the trend of the market's behavior can be observed in the order batch flow. We So we also tokenize the order batch in the flow.
And the way we do that is that we would convert the distribution of feed, ask and cancel which are the three main types of the odours into the channel of blue, green and red of an image. And this, then an odour batch becomes, can be represented by a full coloured image. And the odour batch sequence becomes a video.
So we can use techniques that the video generation in the CV area to help us to do that.
We use transformer-based auto-regressive training on both two kind of tokens and got the older model for the older tokenization and the older batch model for the older batch tokenizations. And after we combine these two models together, we got a powerful auto-flow generation. We will talk about it later. And we observed
clear scaling law in these two foundation models and in these two models then we can say it can be foundation models right that this this kind of discovery is similar to what underpins

is similar to what underpins language models, showing that financial market data itself can be leveraged in a way similar to the language or vision data, giving the way to determine we call large market model here.
With a large marketing model we have, so what? We have a large model, right? We start to imagine the new paradigm for financial tasks. In tradition, we have to build different machine learning models on some task-specific indicators or features for different tasks.
And now we have unveiled the financial markets and a large foundation model, we have a trend. And we have the chance to complete various tasks based on large market model with minor customizations. Here we use the most widely spread forecasting tasks in the financial area as an example.
So in tradition, as we said, every forecasting is a new task and requires a new model to be trained, right? But in the new paradigm, we use recent real data to generate future odors flows and the corresponding market trajectories and offering any indicators point or distribution of forecasting across diverse horizons. And we observed
Significant enhancement over the SOTA traditional algorithms in prac uh in the uh price price classification by price prediction task. Uh it is also a strong evidence that our large market model have a power model power modeling capability of the financial market because when you can uh say you mo model the market better, you can predict the future of the market better, right? So
So we also have a demo here to show our forecast. Uh Developed three interactive tools that showcase what Mars can do. We begin with the market forecast tool.
The core idea here isn't about predicting a single future price point, but rather using our large market model to simulate a distribution of plausible future market paths. On the left, we configure the simulation. We set the start time and duration, the number of rollouts, which means how many independent simulations we'll run. You'll also see an initial phase duration.
During this initial period we use a basic noise agent to establish a starting market condition. The main chart visualizes the results from all the simulation runs. The central blue line shows the median price trajectory derived from all the rollouts. The shaded blue area represents the standard deviation, giving us a visual sense of the forecast's uncertainty, or the range of potential outcomes. The dots indicate which simulation agent was primarily active.
The init agent for the setup phase and then the b g agent, our background agent powered by the l m m, which generates the core forecast based on the evolving market state. This tool uses the generative power of the l m m to explore a spectrum of market possibilities, providing a richer view than a single point forecast.
Note that achieving high fidelity requires good quality initial data and sufficient computational resources to run an adequate number of rollouts.
Let's move up. Okay uh uh as as in in this video we use uh in this video we use um uh a back-end h uh in initiate agent to generate the the input of the large market model and in the real time when we in in in when we input when we take the real time real market in as uh older data as input and we can we can get the uh real time
forecasting uh for the uh market. So uh besides a new paradigm uh for existing uh forecasting and other financial tasks, we what else can be imagined after we unveil the financial market? Since we are uh modelling the most uh fine-grained financial market, order by order, we are essentially building a digital twin of the financial market.
The financial experts actually may have tons of ideas, but lack of a place to investigate their ideas, since directly do experiments on real market, a real financial market is too risky and too costly. So you will never want to trigger a financial crisis only because you want to do the research on the financial crisis, right?
So the digital twin is a perfect place to do that kind of research, but we still need some well -designed interface to do that.
Uh we design a mechanism to control the micro level odor generation by a vague description of macro level target scenarios. And and in the addition we implement an interface to uh accept user injected odors and reflect the inference caused by this odors in simulation. And
In large language model, the people interact with a model using language, natural language. But in the market model, we think the most natural way to interact with a model is using the odors, by submitting or injecting odors by the users.
Then we have MARS, the controllable and interactable financial market simulation empowered by our large market model, which bringing the theory into practice and enabling true to market interactions for the financial experts. So we next week go a little bit inside into the process of a controllable and interactive older generation process.
And as I've introduced earlier, there is a two level older generation in Mars, the older batch level and the older level, right? Uh we use the many level older batch here as an example, and uh we start with the older batch level.
At the end of each time, uh min each each minute, all generated i and interactive odours from users are in this minutes are counted as the realised odour batch distribution in the image full coloured image and appended to a series. And following uh we we we named a principle called shaping the future based on realised real realities.
The older batch model can generate the multiple impossible distribution of minute t plus one based on the series. And then we use another principle electing the best from every possible future.
Uh the target distribution for the next minutes can be selected based on the consistency of the minute level control signal. And we will introduce more about this control signal and the and uh this process will be triggered at the end of every minutes in the j in the generation and generates a target older batch for the next minutes.
for the Mars. Okay? Then we take a look at the older level. Uh the older level model, the older model generates immediate responses for recent and user submitted interactive odors. Uh and a logit's vector indicates the expected distribution of the next odors since uh every odor uh has been tokenized into a token here.
And to balance the marketing impact and cost by the interactive orders from the users and the control signals from the vague description of the current simulation, an ensemble model is also be trained to refine the next order distribution based on the target order batch distribution of current time T plus one.
Okay. And then we, by sampling from a refined logit, an order is generated in a mini T plus one and it becomes the latest market order. And before the end of mini T plus one, uh the order model and the ensemble model work together and iteratively generated orders and thus reflecting immediate impact of user interaction within the minute level control.
target from the older batch model right. We also we always use the uh target older batch as a control signal. And this kind of iterative generation of older and older batch and it guarantees a realistic blending of the
of the future, uh including the uh interaction from the users and the description of the controlled uh by the uh the target scenarios. And that's a basic uh uh basic process of uh Mars generation uh leveraging two

leveraging two level of large market models. And now we are...
We we uh we we can explain more about how to generate the millilevel control signal uh using a large market large language model this time. We show an example prompt of the scenario sharp drop scenario right? So the abstract description of the sharp drop scenario uh is then be translated into
a block of code by large large language model. And we use this kind of code to to retrieve the relevant historical data that aligns well with this kind of sharp drop scenario and leveraging this historical data we can easily generate a realistic minute level control signal which is shown in the blue curve.
And we also use this kind of control signal to generate the future, generate the simulated market, right? And the orange curve is a result of the generation from our Mars. As you can see that the generation are guided and be controlled well with the control signal of the vague description of sharp drop, okay?
We also showcase other scenarios, not only the shop job, and we can see that we can, this kind of mechanism can work well in different description of the scenarios and can be a robust way to generate the many level fine grained control signal. And, and
Now we can, as we introduced, we can generate the odors and we can also simulate the desired market in scenarios and accept the users' interactions, right? But how realistic is our simulation?
Is it usable or practical? And to assess this, we evaluate its uh the uh s uh as simulation results against a range of aesthetic effect, uh which are uh basically uh benchmarks commonly used to capture the key attributes
Our attribute of the financial markets. So our analyze shows that in all we in these factors I think 11 factors the as observed in our simulation aligned very closely to those found in historical data confirm that with the overall realism of the simulation is good enough is very similar to the real historical data.
And we also prepared a demo and a video to show how to further analyze the details of the stylized facts of different financial market. Let's touch upon the stylized facts report. It serves a critical validation purpose, assessing the realism of our simulation engine.
Financial markets exhibit consistent statistical characteristics, often called stylized facts. Think of properties like heavy tails in return distributions, meaning extreme price moves happen more often than a simple normal distribution would predict, or volatility clustering, where periods of high and low market turbulence tend to group together.
This tool provides quantitative evidence that our simulation engine captures the essential statistical texture of real financial markets, building confidence in its outputs. Performing this analysis requires access to appropriate historical order-level data for the market being simulated. Okay.
So uh we can uh we can get a we c after we verify the realism of our simulation with standard s facts, uh we use uh another uh long-lasting research topic as an example to show the advance uh advantage of marks, okay. Uh the marketing uh marketing impact analyse uh uh this kind of research is try to answer the question like how the market will be affected.
by a fat finger arrow in trading, for example. And what is fat finger arrow? Suppose a trader in a giant financial company and he or she want to or need to sell a large amount of data, a large amount of stocks on the market, but by accidentally he or she put one or two more zeros in the columns, right, the total amount to be traded.
And but and so because he or she have the fat finger, okay. And this kind of things happens in the history, right. And it well cause or it may cause the market panic and finally lead to a horrible financial market crisis. And in Mars, uh the injected odors can make realistic market impact in the simulation.
The orange line shows the real historical curve. And the blue line shows after the injected large bunch of odors, what will happen in the market. And as you can see, the injected odors cause a short-term rise and also lead to a very long-term impact to the market, which seems very realistic.
take to what will happen when we put a large amount of order into the market. Right? So it it this is just an example to show how it how it works. We also gathered tons of simulation records to analyze the simulated market impact in a static swing.
So, the simulation results align very well with the empirical formula from real transactions in terms of the correlation of order size and the corresponding price change.
Okay. A good alignment here actually is akin to observing a correct gravitation acceleration constant in video generation model like SORA, something like this. And we think it's a very strong evidence that the model itself, the simulation itself have already learned or modeled some patterns. We never tell.
tell tell tell them we never put it in the prompt or in the data and she learned out the the basic fundamental pattern of the market actually we didn't expect that it's kind of a surprise to us and so uh we think it's this uh this simulation a realistic simulation may be a new way from the financial guys to understand better uh about the market right
So and we also have a short video to show uh the fan our tour of beautiful the marketing impact. Let's explore the market impact analysis tool. This is designed to address what if questions, specifically, how might a proposed trading strategy influence market prices and liquidity.
The setup here is similar to the forecast tool but includes a key parameter: the volume ratio slider. This determines the intensity of the trading strategy we want to test. In this demonstration, it's a time-weighted average price buying strategy relative to the market's typical volume. The results panel provides two perspectives.
Trading Progress. This chart monitors how effectively our simulated TWAP agent executes its orders. The green line tracks the cumulative volume traded against the target volume shown by the dashed orange line. Price impact. This is the core analysis. It overlays two scenarios: the simulated market price without our strategy active.
And the price with our strategy running. The divergence between these lines visually represents the estimated price impact of our trading activity. By comparing the outcomes, specifically the price paths, we can isolate the impact. The background LMM simulates how other market participants might react to the strategy's orders. Maris enables controlled
Simulation-based experiments to estimate market impact, offering insights without incurring real-world trading costs or risks.
Okay, let's move up. Uh with the digital t digital training of uh market and its nature to train intelligent agents on Mars and for practical development in real world and we demonstrate an R_L_ agent for older execution uh task on Mars and it can reach promising results easily with realistic concerns uh corner cases about the corner cases and take the market impact.
pact in consideration, which is really hard to be measured in a traditional back test a tool or back b or or simulation uh environment. Okay, in summary uh we have the strong feeling that this direction is a promising beachhead uh not only for the academic but also for the industry uh uh because the scaling law we observed in the large market model and

the large market model and also the promising new paradigms, new ways and new horizons make created by the digital train marks, okay. We believe this large market model and and the universal simulation marks have the potential to empower a large, a bunch of downstream task in financial area.
So if you want to know more technical details about D. Mars, actually please refer to our actually we have a thirty five or thirty six pages papers with twelve details. And we also uh are op uh gradually open source our code and models on GitHub and uh hugging face. And if you uh if you uh want to know what will happen in the next, you please follow us, okay. We also have a very short demo uh video for
our our our the open source contents will be released in one or two days. Uh we are still waiting for I some will quickly uh this introduce camera. the Mars open source project. Mars is a financial market simulation engine powered by a generative foundation model. We've released our L_M_M_ order model, along with three powerful analytical tools; stylized facts report, market forecast and market impact analysis.
We will demonstrate these tools in detail later. This is a high level overview diagram illustrating the core components, workflow and potential applications of the Maris simulation engine. We provide simple installation instructions and a comprehensive market simulation library called MLib, allowing users to focus on the design of states and agents. Now let me introduce our model page on HuggingFace.
Our Mars order model is available for download and use here. Here we provide a quick start guide, including installation, loading the model, and configuring converters. We encourage everyone to try Mars and get more information through our GitHub repository and Hugging Face page. Yep. Please follow us. And one more I thing. will.
And we are also uh we are also building a playground like ChatterGPT for a large language model, uh we are building our our our chat Mars our Mars lab uh to easily interact with a large lang a large marketing model and the simulation. Okay, another short video. Demo to showcase the potential applications of Mars in a more intuitive way called MarsLab.
Users simply input their trading idea as prompt, and Mars Lab uses generated order flows to quickly evaluate and optimize their strategies. On the homepage, you can select your investor role, individual or institutional. These roles have different optimization goals. You can type your trading ideas here or try our example. If no idea, try our intelligent agent directly.
The LLM will quickly generate implementation code for an agent adapted to the Morris environment. On the scenario selection page, you can choose between two testing modes: market scenario testing or historical dates. Once the simulation is complete, we can view a specific trading example.
This page shows one trading sample of the strategy under specific market conditions. Next we will evaluate your strategy's comprehensive performance by aggregating multiple trajectories across various instruments and trading days under different market scenarios. Now let's check the overall results. The results page shows the comprehensive score and detailed analysis of your strategy. In the scenario robustness section we can see the strategy's pass rates across four different market scenarios.
On the bottom side of the page you can select different target volume ratios from micro one percent to large sixty percent to see the pass rate under different scenarios for your strategy. More details can be found in our repo. Thanks for watching. Yeah. Yep. Thank thank you for listening and uh that's all for today's talk.
Questions from audience? Yeah. Uh hello. Uh is there uh how do you assess the how much the simulated market is similar to the real market? Is there a quantitative metric? Uh actually uh we we are you you mean a different financial market or
Uh yeah, the a stellar aspect is the metric used to uh measure the difference between the real market and the simulated market. And uh as as I showed here, we passed all the uh uh eleven eleven stellar aspect that align well with the real market. We the
The red column shows what the still has fact will or will not be see observed in the real real data historical data and the red column shows whether can be observed in our simulation data. Yeah, that they did aligns very well. So that's a basic magic to measure the difference of the of the of the simulation. s so I guess relevant to this question the neck for
Other models like GAN-Variational Diffusion, they Yeah. have some uh, you know, quantitative way to measure the difference between the generated Uh yeah. data whatever and Yeah, I the real see. data. Yeah, maybe uh we we didn't try that but maybe we we can we can we can uh add this kind of measurement to the uh to the to the eval evaluation in the future.
Did you try those other paradigms? I mean like diffusion, VAE, GAN and so on. Uh actually uh this kind uh all th all this kind of things can be uh techniques can be leveraged in because we are not uh strictly uh saying that we oh we can only use the transformer based uh models right but uh all the new It's ways one more question. to generate the videos or the languag uh language generation we ca we can leverage this kind of
of models to uh to adopt uh in the uh framework. Okay. Yeah. Then last question.
Okay, so thank you for the great talk. I think uh Mars is really impressive and um Thank you, thank you. Yeah. uh yes, Yep. uh very great. So I have a small question about the inference latency here. So you mentioned that we need uh many many row outs to Yes. make sure that our prediction is accurate and reliable. So Yep. but in accurate uh in the practical scenario, so it is impossible for us for example to infer a hundred or a thousand times
other times. So is there an empirical estimation of how many roll-outs is needed compared to the relative standard deviation or the variance of the model's output for us to guarantee that how many roll-outs do we need to get a trade-off between the speed and the accuracy? Yeah, that that's a very great question. I I uh I I I I didn't mention this detail in this page.
And in this page we have one hundred and twenty six rollouts for each single prediction.
in this figure, right? But uh the multiple uh roll-outs for uh uh uh car of uh s for the uh trajectory uh to generate the trajectory, it can be done in a parallel way. It's d not depe uh have no dependency between each other. So uh we can do the acceleration for the uh multiple uh roll-outs and another uh critical ch uh question here is that
When we want to do the long-term forecasting or long-term prediction, you need to roll out also the 100 more rollouts, but you need to generate much, much more long sequence of the odours.
for matching, right? So that's another reason why we only test for in in five minutes. And we uh in our test uh this kind of minute level forecasting is practical enough for the uh uh when we considering the uh latency and the inference time here. So but when we want uh it this kind of uh uh simulation uh or the uh uh older generation,
still uh hard to be leveraged in an hourly or daily forecasting. Yep. Let's thank the speaker one more time. Uh thank you. Uh we we have a thirty minutes coffee break from now until eleven forty.






Next session is starting now. Uh please take a seat.
Hi everyone, the next session is starting now, please take a seat. We have uh more time during lunch time poster sessions and in the afternoon for interaction.

Okay. Um before we start the next round of talks, I want to quickly give a acknowledgement to R_B_C_ Borealis uh for providing funding support for travel uh for student travel fund and also award. Uh with the support from R_ R_B_C_ Borealis were able to provide nine students funding supports uh and also uh one best paper award. R_B_C_ Borealis is the the dedicated A_I_ research institute at Royal Bank of Canada.
Bank of Canada with a focus on cutting-edge research in machine learning and artificial intelligence. We have a strong emphasis on responsible AI and real-world applications in finance. Nazanin here and myself, we're both from RBC Borealis. If you are interested in learning more about what we do in financial applications and how RBC is really trying to build AI product responsive, responsive.
responsibly, uh talk to us later. Okay, uh now I'll hand to Nazanin for next section.
Please ask the other of Twin Market to come to the stage.
So before we move on, uh I'd like to take a moment to recognise an ex an ou outstanding contribution Okay. Okay. So before we move on I'd like to take a moment to recognise an outstanding contribution to this year financial AI workshop.
After a careful review by the program committee, we are excited to announce the recipient of the best paper award. This paper stood out for its originality, depth, technical contribution, and potential impact on the field. Please join me in congratulating the authors for the paper Between Market, Scalable Behavioral, and Social Simulation for Financial Markets. Let's give them a big round of applause.
presentation
So hello everyone. I am Yifei Zhang from Nan Jing University. It is of great honor to receive the best paper of Financial AI at ICLEAR. Today I'm here to present our latest work, Twin Market, a novel framework for simulating complex behavioral and social dynamics in financial markets using large language model agents.
First I will introduce you to the two primary motivation, stems from two key aspects. The first is the need to realistically simulate complex human behaviours in complex economic context.
Likes the cartoon illustrates here, we have diverse user types like the fundamental investors who focuses on valuation, trend chasers who may focus on reacting to Momento and complex social interactions like herd behaviour like the people here. He says he is going to buying because they are buying. So as a result, how to capture this various behaviour is crucial.
Second, we need to understand how this individual behaviors aggregate into dynamic social systems for behavioral research. Agent-based models is the representing approach for studying such collective behavior.
Pioneering work like the Santa Fe's artificial stock markets demonstrated that agents with merely two different trading strategies like fundamentals and technical to simulate the stock markets shows emergent phenomenon like bubbles, which are difficult to explain otherwise.
However, traditional AVMs, which largely rely on fixed rules or equations, like the agents in the previous mentioned Santa Fe stock market simulation, have some key limitations.
First, they often oversimplify behaviour. For example, the traits agents too similar and stuck with static rules. For example, a fixed rate of transforming from one group to another group, and only several fixed kinds of people. Second, they struggle to capture complexity and irrational ability rooted in human's thinking process like bias and emotions.
Third, this make it hard to trace casuality. That's how individual actions actually cause large-scale market dynamics. This is where large language models present a significant opportunity, as proved by previous work. LLMs ability to simulate rich behaviour, nuanced interactions and reasoning ability offers a path to a more realistic modelling.
However, existing simulation systems have specific limitations, as shown on the table here. They mainly adopt fixed, predefined prompts, have nearly no interaction considered, and their simulation scale, which is often less than 100, which obviously can't trace the emergency of social phenomenon.
As a result, our motivation for developing twin markets stems directly from these limitations. We aim to leverage the power of LLMs to create a simulation which is highly customized agents, rich multi-agent interactions and the
Great scalability, which means about one thousand agents to truly investigate how micro -level behaviour drive macro-level financial dynamics in a more realistic way on the financial markets. Now let's look at the framework.
The core idea shown here is a dynamic feedback loop. Agents perceive, decide, act, influence the market and social environment, and are in turn influenced by the trends they collectively create. This mechanism allows us to study how micro-level interactions drive macro-level collective phenomenon.
As the core of our simulation is the BDI modelling method of the single agents, first I will introduce you to the belief. We model users evolving expectations of the market as belief, which is updated daily. The belief is built on five different dimensions like the user's view on economics fundamentals, the market validation levels, short-term market trends and the sentiment.
Then I will introduce you to the design part. Design captures the agent's objectives and preferences, guiding its pursuit of specific information outlines from both the world knowledge here like news and stock data and the social environment like the related posts.
The intention part defines the concrete actions or strategies that the agent executes to achieve its goals. Based on daily updated belief and their desires, agents decide themselves like what stocks to trade and at which quantity, and whether they would like to post some sub or down or even repost the certain posts they encounter.
We also maintain a BBS to simulate real world stock form and an order driven market to create crucial market feedback loop. As shown in the figure, two market simulates a social economic environment where each agent possesses a unique personality defining their own base characteristics and preferences with the help of the BDS.

For instance, with the help of the BDI process, the initialization process doesn't start with blank slates. Instead, our agents are grounded in real-world data from Churchill, which is a pioneering stock firm in China.
One of our applications intended is for policy making where governments may use our framework to test the established results of the release of certain policies as currently they typically know the direction but have no idea of the quantified results. Then I will introduce you to the four key findings in our simulation results. The first is the rise and fall of bubbles.
First, as agents' beliefs start to rise, their buying activity drives increasing prices and it is such a positive feedback loop. However, Yes. after the low after the peak, they are believed drops sharply, leading to a rapid market correction. From the macro level, we can see from the figure that we replicate the market situation.
through the four key stylistic facts, like the Fat Tail distribution, leverage effect, volume return relationships and the volatility clustering. The third finding is the emergency versus social interactions, well we select important news and push it to high sensuality users in our graph and we introduce rumours to replace some of the common news.
As shown in the heat map, there are increased polarization under roomer conditions with distinct behavioral clusters forming. And the right figure shows the emergency of opinion leaders who gets most reposts and links closely with the rest of our agents.
The false finding is about scalability and accuracy. We scale the simulation to one thousand agents to test if our framework can handle largely more complex scenarios. And as can be seen from the graph here it is a good job. And the quantified results uh which doesn't matter here is also great like I_M_S_E_ around zero point zero two.
So to conclude, in this work we introduce TeamMarket, a novel framework for social simulation where we integrate LLM agents, BDI coordination framework and market dynamics and explicit social interactions for financial simulation.
Through our simulation, we prove of concept on social emergency as we demonstrate how factors like information flow with the network can directly drive emergent macro-level phenomenon. Finally, it is the first scale scale financial simulation worldwide where we could handle simulations of over one thousand agents. Uh that's all. Thank you.
Thank you. Uh let's welcome the next speaker for the contribute talk.
Should I start? Okay, so sorry, I love to wander around, so it sounds like, okay. Hi everyone, so it's really exciting to share my current work of lexical hypothesis. This is collaborations with a lot of great AI researchers that I really like and from a lot of different institutions. By the way, I'm Hyun -il Lee, I'm from Munich Berkeley.
So we all have a different sense of how to define a risk, but I actually want to start this talk by mentioning one of my favorite quotes from the book The Philosophy of Money written by Morgan Housel, which is, the risk is what's left over when you have thought of your everything.
When I first see this quote, it's really not clear what the true meaning of you've thought of everything, but my interpretation is that we as a human are living in the real world and we have our own internal biases to understand the world and construct what we believe, which is equivalent to what we have thought of everything and it seems like the risk is sort of the sweet spot that happens between the gap of the real world and the world that we actually believe in.
So it seems that the human perception is sort of a critical key to understand the risk that is written in here. Well, is this only my interpretation? I don't think so, because there are a lot of literature that underscores that human perception is necessary to define a risk such as in neuroscience, robotics, and definitely in financial and the AI itself.
So this talk is about, I'm going to just focus on one specific type of risk called the black swans, which is the definition of black swan is statistically rare events that have extremely high risk.
In our history, we have lots of the black swans and there are lots of black swans, but for example, Nasdaq's Toronto accident in 1961 and maybe all of the people who are interested in financial or interested in the Lehman Brothers bankruptcy in 2008 and COVID-19 that happens about like six years ago.
So why am I focusing on the black swans? Because I'm really interested in this to solve this kind of questions, which is why black swans are still unpredictable in their era of large-scale AI? We're living in the like period of ChatGPT, LamaModel and Gemini, but majority of researchers do believe that just scaling up your models and data could solve majority of problems. But why those are still unpredictable?
Well, my guess is my claim is that we sort of have an incomplete understanding on why those events are happened. And just go a little more deeper in here is that fully understanding the origin of the event is sort of the necessary conditions for coming up with the fully controllable or fully predictable algorithms. So if we're going to come up with sort of like fully unpredictable algorithms, then I guess there might be a sort of a hole that we do not have.
have a fully understanding on its origins. So if that claim in question looks valid, then let's take a look sort of like our conventional approaches on how we approach the black swans. I do believe that we have sort of unconscious assumption that black swans actually originate from environmental non -certainty which is
Your past is different present and your present is sort of different future so the gap between those time pros or sort of sources where those unexpected risks pops out. And majority of AR researchers who are interested in developing these safety algorithms are aiming to predict those unpredictable future and try to make the future model as accurate as possible to decrease the risk.
And that's always why we have those lots of predictable algorithms such as like robots optimizations, continual learning, meta learning and definitely utilizing the prior information to predict the future based on forecasting and causal model. So that's where my hypothesis hops in.
I want to introduce the black swan hypothesis, which is the black swans can also happens in a stationary and a fixed environments due to our human misperceptions of certain events revert in the probability.
And what I mean by human misperception here, I have modeled the human misperceptions by utilizing one of the really well-known theorem in the behavioral economics called the prospect theory. So prospect theory is one way that characterize the human rationality, which have actually two property in there. And let me just be a little more specific on this. Let's say RMP as the true reward and the
the probability of certain events on the axis is and let's say your y-axis is is the perceived reward and the perceived probability
Then the first property of the prospect theory is the loss aversion, which is, let's say you have sort of situations of losing $100 and earning $100. Well, taking the absolute value are exactly same, but we as a human feels that losing $100 is much more impactful than earning $100. So negative have a more impact than the loses have a more impact on us than gaining something.
And the second one is the we as humans sort of have our own internal distortions on understanding the events probability. So if certain events have sort of an outcome which gives you a sort of a positive event that we sort of have a tendency to overestimate the low probability event and that's the reason why a lot of people are buying lottery and if the events sort of have a negative outcome then we tend to underestimate.
The most prevalent event, that's the reason why COVID-19 or the number of bankrupts there happened without any preparations. So what are some cases?

So what are some cases in finance we are interested in? I really had to travel to find really concrete examples, but I think this is the best one that I have found. So I want to give example about the stock buying mortgage cases where the graph that you see on the left side is the FED fund rates and the mortgage rates on the only 2,000. And if you see in the graph, then at the only 2004, then the flourish of means actually starts to pops out.
out. But in the later on, which is in the red box, we see that the thread priorities and interrupts and ERMs are almost stable, but right after that, then subprime work-based approaches just happens. So the main contribution of this paper, the talk, is that I want to sort of nudge people to reinterpret your risk by the perspective of the human rationality and want to claim that if you take the person if you take the
If you interpret the risk by the human rationality, then there is a new type of risk that actually arises that was not explainable before. Before I go more further to explain about how I model that black swans, I want to introduce the risk representation about markup decision process, which is really...
um be fundamental framework for the decision making. So it's composed of five tuples, which is S is a state A is a action space, P is a transition probability, R is a a reward function, so I'll go into more soon that we're solving the uh finite horizon cases. And I define the policy pi which is for given states um it actually tells you which action that the agent have to take and I would like to define the visualization probability which is noted by P_ under by
by pi of visiting of the probability of visiting a certain state and the action. So what's the definition of stationary plaques one data actually come out? I'm going to define it as the state and state and action pairs such that the visitation probability as human perceives is actually equal to zero, but the visitation probability of that state is actions actually happens with really similar probability with the absence.
So we persist that it never happens, or it will be never visited with planning with a pie, but in the real world it really happens with the small probability. And I designed a high risk by giving the order as the reward the human perceives is more in an optimistic way than the real reward, but still both reward are actually in the negative.
Then the next natural question is that when those stationary plaques one actually occurs. What I have found is that there is sort of exists binary conditions that are
Actually depends on the complexity of the environment and complexity problem and what I mean by the complexity problem is the visual landscape age and that's the conditions where directly dissect between the whether the position and blackstone actually occurs or not
And I was sort of curious why it should have to be like face-based cardinalities equal to zero and the decision lines equals to one. But what I found is that that condition is the exact cases where the order invariant property of the perspective distortions actually breaks down.
And uh maybe also the next natural question is what would be the impact of if those uh stationary black swan exists in the real world, then what would be the impact of this uh power of teledata gap on the uh on the policy. Uh what I have found is that uh there exists sort of a lower bound that actually depends on three properties of the stationary black swan, which is uh how much uh the magnitude of the real world distortion gaps and um I have five minutes and have to be slowed down, it's just like I only have one.
one page is left and um and the size of the feasible set of the black swans and um the minimal probability of the black swan actually happens. So um
If those definitions or questions looks valid, then the the main message that I want to throw to all the people who are interested in a risk or AI safety is that um we do have to care like if you want to build the algorithms um on predicted risk or or want to build the safety algorithms that you should also consider another or another perspective which is how to correct the or human misperceptions to develop the safety algorithms which is additional
to not just predict the unpredictable future and then try to make the accurate future model. Thank you so much. I will get some more questions if time allows. We have time for a few questions if there are any questions from the audience. Um thank you for the talk. Uh I think you raised a very
Big problem with black swans, which has many different fa facets. So like human e irrationality is one of them, but have you thought of any other ways to explore the intersection between black swans and Ayr? Safety for example Uh-huh. things related to st like grace ones which are like events that like some parties perceive as black swans and are predictable, but in fact like some other parties perceive as like predictable, like I don't know the Yeah. T0008 crisis.
This is like one thought I had. Another would be related to, I don't know, like power laws and how like there can be like non-linearities that can influence the payoffs and risks in AI safety and like how to evaluate risks from like artificial intelligence in the framework that's been developed for like evaluating traditional black swans in say financial industry.
Okay, so let's first go back to the first questions. Um so Mm I I think the reason why that question raises is I think it'll be great for my side to give water some examples of black swan in AI itself like let's say you have like a chair GPT or the gentleman of them where does the black swan happens? Um
I mean, black swan happens if the AI sort of truly believes that there is zero uncertainty. But it have a new input and then it have an output and sort of like black swan happens. So the question should be in those AI, why do black swan happens? And I have sort of thoughts on that, which is not turned out to be true, of course. But I think the data side is the problem, which is, let's say, so nowadays there's AI agents in the society and then we.
Then we collect the data by having a human AI interactions, then definitely if let's say your data is a trajectory and you have a like state action and reward, and if your data is collected by by human which is human decision making then you have a biases from state and actions and and humans are the entity that designed the reward function so the reward are already biased by by itself by the designers so
My guess is that the AI, I mean, the black swans in the AI actually happens due to the bias data set. Then the natural question is that if we want to remove those biases or remove black swans, then how are we going to de-bias the data set? So I have sort of guesses that maybe reweighting the...
data distributions like like you have sort of like very advanced of your data distributions but maybe like overweighting those really low probability might solve some problems but I haven't checked it but I think that's a really really sort of good directions but anyway that's sort of my answers to your first question sensory what's the second but I think it's so it's sort of integrates your first and seconds it seems that okay thank you for your asking
So let's thank the speaker one more time. Please connect with him like in the poster session afterward. Uh because of time limit we go to the next contributor talk. Please head to the stage.
So hi everyone. My name is Wendy Chen and today I will be the, um, I will do our presentation about our paper, real-time implied volatility smoothing. And I'm from Queen Mary, University of London.
Before I actually start it, I want to ask you, do you know what is implied volatility surface and do you know why you should care about that? If you know, can you raise your hand? Okay, yeah, alright. Some of you probably know quite a lot about that, but some of you probably don't know why you should care about that. So let's start from here.
So implied volatility surface is a core output for determining fair option price, and it's widely used by traders when they're hedging and control the exposure and doing the risk management. It's also a key factors that is used in the pricing of option.

the pricing of options. For example, if one of the option have higher implied volatility, it is highly likely the option price of it will go up in the future. You can see on the picture over there, there's it is a implied volatility implied volatility surface. And the blue a blue bullet points on the surface is what actually happened.
in the in the trading market. However, there's always cha there's always challenges and difficulties we need to overcome. The first one would be the speed. As we all know,
Time is money, so the faster you can get the volatility surface generated, there's more time for the traders to make the right option uh option uh decisions. And the second uh challenges will be the sparsity. Only a few options are liquidly traded, for example traded per minute.
But other options, they are traded like yearly, monthly or even weekly. And the third one would be the data quality. Some Q-tests can be noisy and contain arbitrage, and this is not what we want to see on the real, um real finance market. And this comes to this the f last one, which is arbitrage-free. We want the surface not to allow the risk-free profit opportunity.
opportunity to make sure it can fit in the real finance market.
And how to solve these challenges? And here we come to our HEPA-Net calibration free model. Our HEPA-IV is a novel approach for real -time implied volatility smoothing that elements the need for the traditional calibration producers. And our HEPA-IV model employs a HEPA-Net to generate
a rich parameters for compact neutron network that constructs the complete volatility surface within only two mile seconds and using only nine market observation. The diagram on the other side will introduce in a clear way how we generated the implied volatility surface to our hypernet model. So we only need
It's night curators from the um the finance market and we go through the hyper net work, the transformer and get the parameters. Then we can generate the device surface. I will talk more about the surface in the following PowerPoint.
Here are some advantages of hyper I_V_ and that is why w we want to introduce that to you.
So first of all, it achieves superior accuracy while maintaining computational efficiency. Second one would be it constructs the complete volatility surface within only two milliseconds. You know, usually the models we use in previously, it needs almost ten seconds to generate the whole volatility surface and our model only need two milliseconds.
seconds, which is a big improvement. And this only need nine markee observations. So you can see the picture on the left-hand side, there some um right bullet point, that is the nine um points we generated from the market. And the surface we got is basically the same as we used for the the whole
And the whole surface from the market, which is the the blue one on the right-hand side. The last one would be high power regenerating uh the surface with no static algebra, which is alg algebra free, and it's overcome the previous challenges we mentioned before. Here are some quantitative results.
And you can see from the left hand side the table there is the volatility uh implied volatility index compared to other models and the black um the black number over there you can see it's basically faster and accuracy than other things in in the market now.
And there's more uh mathematic equation on the right hand side. It is make sure that this no arbi uh this make sure the model satisfied no arbitrage conditions and how it can generated by butterfly arbitrage.
So as we all care about the real world impact, so how could the HEPA-IWAY be used in the real world? You can use it like a light lightning fast trading decisions, because they only need two milliseconds to generate the whole volatility surface. Compared to other models you can have more time when you're doing the trading stuff. It's
especially in option trading and it also can be used for risk management. If you generate the whole surface you'll find out there are some point which is out of the surface and when you find out that one you probably can be double care about your decision and make sure you make the right decision.
And the last thing you can use it as a pricing engine in production systems. So I would say hyper RV is ready for the real-world finance.
In the final PowerPoint here, I will make a short conclusion about today's short oral presentation. So HyPo-RV is a real-time speech, only takes two milliseconds to generate, and it's really accurate the same time. It alw also will learns to calibrate by using the neutral networks and it's makes sure
The motor is arbitrage-free, so you can use it in the real finance market. It's also minimized the input needed as we only need nine points to do as an input.
The last one we can generate it across the assets. You can not only use it as option trading, you can use it as stock trading as well. So it's widely used even in currency trading, you can try to use this model as well. So you don't need to change models when you are doing different financial assets. We also have code available in the github.com. You can take a picture if you want to check.
and maybe you can try check it yourself in the new future yeah so that's all for my presentation and thank you so much for listening Uh we have we have time for a few questions
Okay, if there is no question, let's uh thank the speaker again. Next we have oh Next we have the first poster session and lunch break. Let's regroup here at one forty for the upcoming talks. Thank you.

Let's go.









Yeah.



Takk for att du så med.
Okay, good afternoon everyone. We will start the afternoon session, so please sit. Please take a sit.

Uh please take a seat. Okay. Uh wrap up your discussions. So uh in the afternoon session we will have three uh invited talks and then uh we will uh have a concluding remark and then uh we'll have a second poster session. Okay? So the first uh first uh invited speaker
He's Professor Ariel D. Feld. He's a tenured Associate Professor in Mathematics at the Nanyang Technological University in Singapore. He received his PhD at ETH Zurich in 2015 and he also spent some time in Columbia University.
And he got great awards like Early Career Prize from SIAM Activity Group on Financial Mathematics and Engineering and the Bruti Liberati Visiting Fellowship Award. So he'll be talking about deep learning algorithm for solving high -dimensional non-linear PDEs in finance. So please welcome Professor Arielle Luftfeld.
Uh thank you very much for coming. Thank you very much for this very kind invitation. Uh first of all I would like to deeply apologise that I wasn't making it uh in the first talk uh there was on the road there were some accidents and for that reason I came too late. So I really ap appreciate that they gave me a possibility to speak this afternoon. So uh what I gonna talk today is about uh deep learning algorithm to solve high dimensional non-real PDEs and I will apply this into finance, okay. So
This joint works, there are several to I mean this talk is about several works. The first one, which is the main algorithm which doesn't involve what I will talk about. Ren you networks goes back to joint work of Christian Becks, Sebastian Becker, Patrick and Arnold Felsen. The second part, which also then involves Ren you networks goes back to the work of my f PhD student Philip Schmocker and my former post-doc Se-yov who is now assistant professor in Shanghai.
Thanks a lot. So uh maybe I am not so sure how much of you are familiar to what is a financial derivative. Let me give you a short example. Assume that we will meet up uh let's say we look today at uh your favourite stock, and let's say the value of it is hundred dollar, and we give you the following uh I give you the following option.
We meet up again in a year and look at its value, and if it's above one hundred ten dollars I will give you the difference. So let's say if it's one hundred twenty I give you twenty dollars, if it's above hundr if it's hundred thirty I give you twenty dollars. On the other end, if it's below hundred ten you don't receive anything. But uh you don't need to give me anything. Okay? So in other words, this contract uh you don't have any r risk, is it? So uh obviously you will take it if I will give it to you to free for free. Which I wouldn't do it. But you probably would not pay me a hundred dollar for that, isn't it?
not? So this is an simple example of a call option which involves one stock. Now in practice
Financial derivatives do not depend only on a single stock but on several ones. Let's say it depends on the whole index. Okay, an index, let's think of it as the S&P 500, involves five hundred stocks. Or you would like to have even multiple indices, so it means like you would have like even more stocks involved. Now from from theoretical finance, financial mathematics, we know that under some model assumptions you can characterise the price of a financial derivative as a solution of uh parabolic PDE.
Of a p.d. So if you wanna if you wanna price a financial derivative, it ends up that you would like to solve a p.d. Now most p.d.s you cannot solve uh explicitly. There is no analytic solution. Like uh just for the simple case Black Scholes, one-dimensional call, yes this exists, but as soon as it gets more sophisticated, you are relying on numerical methods. Now unfortunately
The first models were linear. So that was good because you have efficient methods to use also in a high dimensional setting. But unfortunately those models are not very realistic. We all know Black-Scholes was a good idea to start with, but it's not a realistic model as we all know. And if you wanna include more sophisticated, more realistic scenarios in the market, think of it as transaction costs, uh you don't wanna have let's say constant vol, you wanna have incl you wanna include some model uncertainty. As a consequence,
from a numerical point of view or from a partial differential equation point of view, this leads that the corresponding uh P_D_ becomes non-linear. And this is fundamental in the sense from a numerical point of view that as soon as you have a non-linear P_D_ the numerical methods to solve them efficiently becomes with classical methods, let's say, finite difference, finite elements become very complicated. Very complicated, you need to think of the classical methods can solve
non dimension uh high dimension, like non-linear P_D_s up to dimension maybe ten, not even ten. We talk about dimension four and five and so on. But if you would like to price a financial derivative which depends on several stocks, the amount of stocks which are involved in the financial contract correspond to the dimension of the P_D_ Now keep in mind that say you would like to price a financial derivative
depending on the S&P 500, on the stocks of the S&P 500. This will mean that you would like to solve a non-linear P_D_ of dimension five hundred. So we're far away of dimension four, five, six, we would like to solve a P_D_ of dimension five hundred, and if you would like to have a model which is more sophisticated, you would like to solve a non -linear P_D_ of dimension five hundred. So with classical methods we are far away of that. But of course in finance you would like to be able to uh
uh to prize uh financial derivatives which have some uh particular uh uh which are more realistic or what I will talk today for example if you have default risk. So how a naive way to deal with uh is to say okay let's let's apply neural networks because we all know neural networks uh
turn out to be very efficient in solving high-dimension problems. And uh so the idea what I will present is is is one of those uh numerical methods to solve uh non-linear pdes using neural networks, okay. So
Why neural networks? I guess most of you, since we're here on I_I_ conference, we all know that uh neural networks satisfy this so-called universal approximation property which roughly speaking can be formulated like this: any nice enough function can be approximated by a neural network. You have different results with respect to different function spaces, different topologies, but roughly speaking the universal approximation property tells you any nice enough function can be approximated by a neural network.
network in some topology which you would like to have.
Now the problem with this result is okay, it's nice that you know that there exists a neural network which can approximate your function which you would like to learn. In this case since we want to do pricing this will be the solution of your P_D_ okay, that we would like to learn the solution of the P_D_ because this characterises the price of the financial derivative which we are interested in. However this result, this universal approximation property results, they're all abstract in sense mathematic is speaking there are density results
else in other words from a practical point of view you don't know how to choose the corresponding algorithm. So what you do in practice you you you ch you fix some uh geometric structure, the architecture and you train in your network. Now by training your networks you try to solve an optimisation problem and you have several problems appearing there first of all how do how can you solve it, are there any theoretical guarantees, and so on. So
The question which we end up is if we wanna apply a new metrics is okay, approximating a function leads to solving a corresponding optimization problem. So how can we formulate the solution of the P_D_ as a solution of an optimization problem for which we can then use new metrics to approximately solve them. And moreover can we get some guarantees that it actually works. So
To that end, let me introduce to you uh uh some basic facts in probability uh those who had probability theory in their studies they might have seen this fact uh it's a very simple fact uh about the property of the expectation being a solution of a quadratic optimisation problem. Now assume that you have uh a a family of random variables indexed by little x, okay, w which satisfies some minor regularity. I mean for those who are familiar with uh diffusion processes, it's
Z_s, you can think of little x as the starting point of the S_D_ Okay? Then what you what is well known is that expectation solves the quadratic optimisation problem in the f in the sense that the expectation is the solution of this
quadratic optimization for a problem, it solves, it's the minimize of this quadratic optimization problem here. So in other words, what we know is the expectation solves the quadratic minimisation problem. We would like to fi to formulate the solution of the P_D_ as a solution of uh of an optimization problem. So how about we just write the P_D_ as a solution as an expectation, because then we know the expectation is the solution of uh an optimization problem and then we can instead
If optimising over all continuous function, we can solve over let's say all your networks. Okay, that's the rough idea.
Now what is well known from so-called calculus is actually that for linear pdes you can actually do this. Now consider this following linear pdes. So this is a linear pd parabolic pd which appears typically in finance let's say in the simpler model where the model is linear so this corresponds to your drift, this corresponds to your volatility and the boundary condition here this corresponds to your payoff. This corresponds to your financial contract where big T corresponds to maturity when the when the contract
Contract is finishing. So what is well known is it's known as the Feynman-Kac representation is that for such linear P_D_s, you can use the following corresponding stochastic differential equation where the mu corresponds to the drift and sigma corresponds to the volatility of your P_D_ You look at this S_D_ and you apply it to the you apply it to the payoff.

apply it to the, you apply it to the payoff and you take the expectation, then this is gonna be your unique solution of the PDE, okay. For the mathematicians in the audience, unique viscosity uh solution. But think of it as the unique solution of the PDE. So in other words, for classical for linear PDEs
It end up that indeed you can write down the solution of the PD as an expectation for which we have just seen before that it is a solution of a quadratic optimisation problem. So just to summarise what we have discussed on the last two slides for this linear PD for interested in the following linear PD, what we get is that the solution of the PD is the solution of the quadratic optimisation problem and then the idea could be okay let's just
using your networks to try to solve this optimization problem, and we get our algorithm.
Now I could stop my talk here, and that would be I mean you would be probably bored then we would have lot of time for coffee, but the point is that as I said at the very beginning, is I'm actually interested in not a linear P_D_ but non-linear P_D_ and as I said before for non-linear P_D_s it's crucial because you don't have classical methods which can solve high dimensional P_D_s. So this is the this holds for linear P_D_s but for non-linear P_D_s you don't have this explicit representation.
sh so what I would li what I'm interested here and what I will present here but you can do this slightly more general is is we're looking at the so-called semi-linear P_D_s so this the same type of partial differential equation as before which characterises the financial contract denoted by phi at maturity T_ but now you see the red part here have a non-linear part which might depends on the solution and even on the gradient. So this here due to the adding of this F_ which is a non-linear function, the P_D_ becomes non-linear.
And from a numerical point of view, this destroys all the thing which we discussed before, it's because we cannot explicitly apply Feynman cuts and we cannot just directly formulate it as a solution or as an expectation and hence a solution of a quadratic optimisation problem. So
Uh there is a lot of uh people I pro I should have mentioned many more people here on the list. I apologise for those who I forgot. But what what is uh what is well known is so the first algorithm in this one I should highlight who had the idea to apply deep neur uh deep neural networks goes back to and Arnold Jenson who applied B_S_T_E_ in order to to get a stochastic representation for non-linear periods of this type. However this stochastic representation using B_S_T_E_s is n is
is an implicit representation. So it doesn't, you don't have this nice expectation representation. You have on the you have the solution as an expectation which is explicit like on the right-hand side it does not depend on V_ but it's an implicit representation.
Uh many other people followed this idea and generalised the algorithm of uh sorry about that of uh Z and A. which were able with their first algorithm, deep learning algorithm to solve non-linear P_D_s, they were able to solve P_D_s of dimension hundred. Okay, which is already a huge huge uh achievement given that this were the first ones to to be able to drastically increase from dimension four five to dimension hundred.
hundred. Now our goal is to go even beyond that. We would like to get P_D_s which can go beyond a hundred, ideally in the thousands, so that we can re-price financial derivatives which depends on indices or at least on index. Think of it of as an S_A_P_ five hundred, we need to be able to to p uh solve non-linear P_D_s, dimension five hundred, okay. And we also want to do this efficiently, and we want also want to get some theoretical guarantees. Uh which I will discuss later on why for classical newton net we
networks, this is uh typically difficult to get. So what is the idea of our algorithm? Uh our idea of the algorithm instead of uh using the B_S_D_ that is implicit representation is using a so-called splitting up method. Uh so the key idea is that we look at the classical P_D_ so the classical P_D_ is the flowing and what we're gonna do and that's why it's called
Uh splitting up method is we gonna th divide our time grid into multiple small time i im our time interval into a small time interval so we take a time grid, think of it as an equi-distant time grid and what we gonna do is we on each little time interval, backwards in time because on the right hand side we have the boundary, so on each small time interval what we gonna do is we're gonna
We gonna discretize only in time not in space. We gonna discretize the non-linear part. Whereas the linear part we leave it untouched, okay. Of course this representation is not unique. But as you can imagine from a practical point of view, the less you discretize the better it is. So basically everything which is linear you keep in the linear part and you only write in F_ really the part which is non-linear. And what you do here is on this little time interval from T_N_ to T_N_ plus one,
is you go backwards in time, you take the right boundary, and you just take an Euler step. So you just discretise the integral and do an Euler step here. That's the only thing which you do from each smil small little time interval. The rest uh the linear part you don't touch and you don't do any space discretisation.
Now, what you get since you do this on N little time intervals, instead of having one non-linear P_D_ you end up with N P_D_s on the small interval from T_N_ plus one to T_N_ and you s try to solve them backwards because on the right-hand side you know the boundary.
Now, what what is crucial about here is as if you see here here this part here I discretized a non-linear part. So there is no time dependence anymore. It does not depend on little t. It's not a function T anymore. The only thing which depends on T is the linear part. So in other words, what you ended up here is that you have approximated I mean this is an approximation obviously, but you have what you have obtained is instead of
solving this one non-linear p-d from zero to big T, you have approximated it by trying to solve N p-ds, but p-ds which are linear. They are linear because the non-linear part does not depend anymore on time, because we have used an Euler s uh Euler step in that. So in other words, instead of approximating one non-linear p -d with boundary at end time, you try to solve N but linear p-ds bac recursively backwards, where you start with the boundary.
And why is this good? Because now we're back in business, doesn't it? Because you remember what we just discussed at the very beginning, if you have a linear P_D_ of this type, you can apply the classical frame and cast representation, you can write that you can write the solution of this P_D_ as an expectation which solves a quadratic optimisation problem for which now you can use neural networks to approximately solve this. So this is the the main idea is to say okay, by this just simple Euler step here for which the arrow can be controlled because it's just an Euler step,
that I end up by recursively solving N pdes but they are linear and I can I can use my explicit representation uh writing down the solution of the pde as an expectation. So how does that work? Let me recall this. I mean it's exactly what we discussed before is like I take this s_t and and I just observe that if I apply Ito's formula, which is for those who are not aware of it's basic Taylor expansion in the stochastic calculus sense, you end up that
V_T_N_ the solution of the P_D_ on the left hand side of your boundary is just the conditional expectation of the right boundary plus the non-linear part which ended up here. And this is a conditional expectation but like the classical expectation conditional expectation also has a property that is the solution of a quadratic optimalisation problem. So in other words, by doing this you ended up that at each left side of your boundary you go from right to the left,
isn't it because at time zero this is the value of your price of your financial derivative at time zero given X the spot price X. So you end up that at each time T_N_ the the the approximate solution of the P_D_ is the solution of this quadratic optimisation problem involving the boundary on the right-hand side.
And now we're in business because you see we would like to solve this optimization problem here which optimize over all functions, but instead of solving over all functions what we can now do is we can try to use all neural networks or try to train a neural network which approximately solve this. And then we can ask ourselves, does that work numerically? Can we get some convergence guarantees with this? But the idea is clear. We have an optimization problem over functions. Instead of functions we take neural networks and we wanna see that this works both numerically as well as uh
uh theoretically. So for algebraically speaking how it works, we have on the right hand side we have a financial derivative, the boundaries so don't we don't need to do anything. And uh and what we then do is recursively we define a new network, which should do the following, you try to
Try to find the optimum parameters which means you train in your network in order to solve this quadratic optimization problem where you should keep in mind that here this for each n we try to find the parameter theta n the like the optimum parameter for the neural network at time n which solve this quadratic optimization problem which involves the already trained neural networks at time n plus one. You can do this recursively because at the right boundary there is nothing to train and then you can go backwards.
From interval to interval. First interval you train it, you fix this, you keep this as the boundary for the next interval you this is the boundary right side, you train a new neural network, you got this at time T_N_ you you keep this, you go to ten minus one, you train a new network and you do this N many times till you end up at zero, you get a new network for the which I represents the solution of the P_D_ at time zero and then uh
This approximately gives you uh that this approximates the solution of the P_D_ at time T_N_ So in other words, we train and recursively end your networks and we ag end up and approximations for the P_D_ of at each time grid point T_N_ Now uh what I would like to do is uh okay, this is the algorithm I want you to

this uh okay, this is the algorithm, I want you to convince you that this algorithm works well, uh also numerically, and I will also talk about some problems from a theoretical point of view and how you can overcome this. So since this is the finance talk I would like to sh I mean this is a general PD algorithm, so in other words you can apply this also to equations in in physics, but uh here I would like to restrict to an example in finance, where we are interested in pricing a financial derivative where default risk ap
risk appear. So we start with the classical Black-Scholes model where most of you I guess know that the Black-Scholes model is a linear model.
But then we would like to include also default risk. In other words, what does that mean if if default occurs, uh you only get delta, a fraction of the value. Okay, where delta is a fixed parameter but between zero one. If it was one, there was no uh default. If it's delta equals to zero, you lose everything. Okay? Now what how can you model that default occurrence? You typically have a Poisson process or generalised uh uh uh uh
plus some process in some sense, where you just model the fault the first time this process actually jumps. Okay? And what we use I mean, this is a model which is well known in the literature uh
About so we just use this model for our numerical simulation. You can do this by taking intensity which is piece-wise linear. Piece-wise linear in a sense like that uh it's decreasing, that makes financially sense, and it's piece-wise linear means like in certain regions like this, then we piece-wise linearly interpolate and it remains constant. So what it ends up I mean this goes back to which is a similar model to to Oder, Duffy and so on, so this is a well-known model in
model in finance. What you can show is that if you're interested to model this, black shoals, but with default risk where their first jump is modeled as a Poisson process with default intensity, you end up that you would like to solve the following PDE, okay. So and the key point is this is now a non-linear PDE because you have the term here, okay. So if I would like to prize financial derivative believing in black shoals, but I still would like to include default risk, I'm ending up that I need to numerically solve
So this non -linear P_D_ and I cannot use classical methods, which are efficient, because it's a non-linear P_D_ Okay? Uh for the numerics I will use the following. And uh what I would like to discuss with you before before I will show you the numerical results, I would like you to discuss with you also the the problems which appear for general when you apply neural networks and what kind of m ideas you can you can use to basically overcome this problem, at least partially. So
Before I would like to
to show you the numerical results, here are some facts which each of you here at the A_I_ conference knows very well. Is that uh the training of neural networks. I mean we train neural networks each uh i i isn't it what we did is basically recursively we solve uh an optimisation problem, training a neural network. So we were trying to find an optima uh the optimal parameters. But in practice what you do if you have a if you have a neural network which needs to be fully trained uh you try to solve a non-convex optimisation problem.
Maybe numerically it works well, but from a mathematical point of view you end up with uh trying to solve a non-convex optimisation problem for which there is no theoretical guarantee that uh that works. So in other words, there is an optimisation error which you cannot control. Second, from a training point of view, training of neural networks is slow. I guess you know this better than I, I mean once it's trained it's fast, but if you have very high dimension one, this gets slow. So one way to to overcome this uh which is well known in the literature
Is you can use random new networks. Okay, what are random new networks? I mean, this goes back to a lot of people i in uh from extern extreme learning uh machines you have uh Wong, you have you have uh Raheem in recht uh for kernel methods and so on.
Lucas Kohno who is here, I guess somewhere, uh I will talk about his work in a second. Uh the key idea of frowning your networks is basically you take a classical neural network, but what you gonna do is y all the inner layers will be randomly initialised with a good enough distribution. Think of it let's say normal or T_ student uh partic I mean, think of it one which has enough support. Uh and what you then do is only the outer later layer will be trained.
So what kind of obvious uh properties do you get automatically from doing this is because you randomly generate most of the parameters uh your training will become much faster because there are much less parameters which needs to be trained. Second, because you only train the outer layer, the optimisation problem becomes a convex optimisation problem for which you have just from classical regression you know the uh you know that there is no optimisation problem.
So you can overcome the problem of an optimization problem by doing this. Now you may ask of course if there are universal approximation properties of this then the the first result which which we answer this also with rates goes back to Lucas Grona, and Juan Pablo Ortega who has proven this for for the ReLU case and with respect to L2.
So this was published twenty twenty three, but the archive version was already out I think three years before. And uh what recently my P_H_D_ student did uh was uh he generalised this result in a sense that we can now use basically general activation function, the ones which you like, and we can do this not only with respect to L_ two, but for sobolev spaces. In particular, we can also approximate uh
uh s uh derivatives or weak derivatives. So in other words from the universal approximation property what we learned from from from these works is y p basically you can lift the deterministic uh universal approximation to to the Stochastic version means in expectation, okay? So uh so basically in Bochner space. Uh you c you can basically lift it. So in expectation you have the universal approximation property lifted from the deterministic to to the random ones, uh
So uh let me present to you uh since random new networks seem to have like uh advantages on on many layers, first of from numerically because you need to train much less uh you you saw it's a convex optimisation problem when you uh so you have no optimisation error. Uh
Let me d let me present to you the the numeric results. So these are the numerical results for for uh for the P_D_ which I presented to you before. So black shows with different for different dimension where we used three different methods. Uh one is uh we use deterministic neural networks. One is so deterministic neural networks I mean I refer to fully train your networks.
Uh by random I refer to random new networks and by M_L_P_ I refer to a multi-level P_ com method, which is a Monte Carlo method for which for this particular equation you have an alternative Monte Carlo method for which you have convergence, okay. So there are also non-deep learning methods deep learning methods which can solve very high dimensioned P_D_s, but they are very restricted and they typically very slow. But we use this basically af as a reference, okay.
Uh so what you can observe is so now with with this algorithm we can solve non-linear P_D_s up to dimension ten thousand. Remember we wanted to solve let's say if you are interested in pricing a financial derivative up to to have one uh to have one uh uh
to have basically one market, it it involves, let's say, five hundred stocks. So if you wanna have a multiple indices you will need even more, isn't it? But now what we are able to do for the first time is really to solve very high dimension P_D_s in the thousands, even to up to dimension ten thousand. And when you compare the time, okay, this is the time uh I wanna really to focus you on the time, you see for example that what you get is that
It's significantly faster to use random new networks. In particular, what we can do now, our method
Can solve non-linear P_D_s in dimension 10,000 within seconds. I mean this is one example which we can do in nine seconds. We have other no uh examples in the papers in uh where we can do this also in very few seconds. So in other words, with this algorithm we can soc not only solve non-linear P_D_s very high dimension, but we can do this very efficiently within seconds, which is a huge improvement compared to, let's say, classical uh new network methods in the the myst deterministic sense.
sense. Also what we can get is we can regate proof of convergence of our method. Because uh as I said one of the key problems which you have when you apply classical uh uh neural networks, you get an optimisation problem which you cannot control. Okay, so you can get up the only estimates.
But you cannot get f uh full R_ analysis because it involves this optimisation problem when you train a neural network. It has nothing to do with the P_D_ problem, it's like when you train a neural network you solve a non-convex problem, you have an optimisation error which you cannot control. Now when you use random neural networks you can avoid this, that which allows us to get uh proof of convergence. Uh I think that's
More less all I wanted to to say. Let me let me just wrap up. So I introduced you a deep learning based algorithm, how to solve s uh semi-linear parabolic P_D_s and applied this to price financial derivatives uh with default risk. Uh the key idea was to use a deep splitting-up method in the sense like you split the non-linear part for with the linear part you only apply a Euler discretisation on the non-linear part, which at the end ends up instead of solving one non -linear P_D_
P_D_ you solve and recursively and linear P_D_s which allows you to apply the classical framework cuts representation. I also discussed to you the advantage of using random new networks instead of classical deterministic fully trained new networks. Uh and I hopefully with the numerical method uh numerical results I was able to convince you that we can solve very high dimension P_D_s in high dimensions. Now from the literature regarding the methods so this is the first algorithm which
in which it's this deep splitting method without uh ran new networks, this is the work of Christian Beck, Sebastian Becker, Patrick van der Dito, Arnold, Pefentzen and myself. And the second

myself and the second one together with my former Post-doc and my P_H_D_ student we we we it did it with random new networks and we got this full error analysis, also for P_D_s with jumps, for those who are doing finance they know that jump models are also very interesting, particularly for uh
For a for situation where for example extreme situations the market happen, like market crash, you would like to use models which include jumps so you end up with P_I_D_s. And for those who are interested in running your network, I would like to highlight particularly this work of Lucas, who is here probably in the audience, uh w which has the first result uh regarding uh uh the universal approximation property of a random new networks with rates with respect to L_2 and uh
Uh Relu, and also if you're interested in the how you can do this also with derivatives, this is the pre-print of my P_H_D_ student and I. With that that's all I wanted to say and uh thank you very much for your attention. Thank you. 'Kay uh thank you for a very enthusiastic presentation. Uh any questions from uh
And uh first of all thanks for uh the talk. Um my question gonna be uh regarding um descriptive ends. So suppose for example we have a quite significant discrete cash dividend. Uh do you believe that the way to go is uh applying the same heuristics and tricks that were used uh in more classical P_D_S_ or rather just feed and let the nuts to do all the heavy lifting themselves?
I think it this is not not a numerical question, but more a more a question about how you model this from financial point of view. Let's let's put our if you can answer your question in such a way that can you characterise your problem as a solution of a P_D_
which typically ends up of this type. Let's say of this parabolic type can be also fully nonlinear, but let's say you can characterise your problem as a solution of this PDE then yes because this is the algorithm is abstract, we ju I've just presented one example, but a priori yes. The question is more like can your problem be characterised as a PDE uh if yes then you can d you can apply this. This is really there is no of course to get the theoretical results we need some regularity on F_
F_me, Sigma_ and so on. But a priori Dalgrip you can apply for any of general form which is of that of that form. So a priori yes uh as long as you have this representation. Thanks. Any other questions? Okay, if there is no question, then uh let's thank Thank the speaker you so much. again. Thank you so much.
Okay. Okay, no problem. Okay, uh
Let me introduce our uh second speaker in the afternoon session. Uh the second speaker is uh professor Patrick Poon, Chi-Sang. He is a uh currently the tenured associate professor in Nanyang uh Technological University in Singapore. Uh he received his P_H_D_ in statistics in uh at Chinese University of Hong Kong in two thousand sixteen.
Uh he ha he also uh won some numerous awards like including the Colabrodi Liberati Prize in two thousand sixteen and Young Scholar's thesis award in two thousand sixteen. So he will be talking about what distributional reinforcement learning is learning. So please welcome uh Professor Patrick Muncie Sen.
Good afternoon everyone. Um so I would like to first thank uh young Jae for the invitation and also all the organisers for organising this uh wonderful web shop.
So today I'm very glad to be here to share with you this work, which is basically a joint work with my PhD student, Nixie. And actually this is not the title of our paper, but I try to rephrase it this way such that it will be more appealing. And honestly speaking, that is actually the question that we are trying to answer throughout our whole paper. But we have to admit that we didn't.
It doesn't really answer it in full. I mean we try to answer it partially for a specific class of the risk -sensitive sequential decision problem, decision-making problem. And here what we are trying to find out is that when we apply the distributional reinforcement learning to stochastic control problem or sequential decision-making problem,
We won't we are actually learning
um what kind of dynamic optimality we will obtain through this uh distributional reinforcement learning. And we are trying to answer this question uh use uh using the lens of the stochastic control. And we are trying to characterize the dynamic optimality of what the O_L_ is learning, and based on this information we're trying to fine tune the algorithm a bit. So that is what we are going to achieve with this work.
Okay, so let me first organize actually the development of the ROL or I mean along this line where we come from. So we actually start with the ROL, standard ROL. But when we try to apply this standard ROL to the risk sensitive problem, as you may all know, right, risk sensitivity is so important in finance. When you really want to optimize something in finance.
Hence, we have to take into account risk, otherwise the poem may be too trivial or that will give you some um
financially not reasonable solution. And when we apply it in the risk-sensitive objective or decision-making problem, we actually cannot use a lot of lies properties that we saw in the reinforcement learning, like Bellman principle of optimality or we even don't have any dynamic programming equation for us to establish the Q-learning equation and so on, Q-learning update and so on.
Um and and now here for the weak sensitive part I will then focus on the CPT which is the cumulative prospect theory. Actually I would like to invite the audience to have a look at this, you know, abbreviation this because later on I'm going to use this abbreviation quite often. Otherwise um uh if I do not use this uh the the presentation will be too long. Okay so
For the CB -DLL, uh CB-D was an objective that can be used to characterise the behavioural factors of the decision maker. Uh for example, we can characterise the different aversions to the game and knots. So later on we will also use the similar pop our objective as an example.
But again, when we really want to apply the RL algorithm to the CPT decision making, we will encounter the challenges that I just mentioned. But of course there will be many variants of the RLs that can also help us to get some solution. So for example CPT-RL that was proposed in 2016, basically that is a
adopting the SPSA, Simultaneous Perturbation Stochastic Approximation method to look for some sort of um you know policy, optimal policy. But again the question come into my mind is that what is learning? Okay, but I I believe that most of you will have the understanding that okay, that should be an optimal policy that
Optimal. That is optimal when we initiate this search. That makes sense. But from the stochastic control perspective, this is called peak commitment policy. Which means that when we but as the time involved to the next future time and then we evaluate the policy again, the previous policy we fix for maybe next one month may not be
optimal again after two weeks I mean after two weeks you still have two weeks to run right so that future two weeks policy may not be optimal as per what you determine at the beginning so that is what we what we know it as a time inconsistency or dynamic inconsistency
And that's why actually what actually we have our experiments to show that the uh S_P_S_A_ is learning approximate peak commitment policy. And now uh we want to develop uh algorithm ah also I want to have give you a heads up in advance that um uh the S_P_S_A_ is designed to look for the peak commitment policy. However we found it very difficult to achieve.
I mean, it will take a lot of the iterations, episodes in order to really achieve the peak commitment. So this is actually one of the motivation.
And along this line, we are trying to look for whether our uh uh R_L_ algorithm can be improved such that we can look for S_P_E_ which is sub-game perfect equilibrium which is uh announce us to have the con consistent or time-consistent planning. Which means now if I determine the policy which is optimal now, that should also be optimal in the future time.
So this kind of consistent panning, and this also known as the SPR. Honestly, I will give you more details.

Honestly, I will give you more details, but I want to first show out the history. And actually, uh CPT as as what I stay here, CPT I_L_ focus less on T_I_C_ Actually uh probably computer scientists may not be interested in this, but as as I shared with you earlier on, if uh if we figure out what they are learning, we may be able to improve the algorithm. R_L_ algorithm. And that precludes the S_P_E_
And now we look at the industry uh sorry look at the literature. So actually we also have S -P-E-R-L which was actually our previous paper uh which is designed to look for uh S-P-E for the general objective. But that one
P. cruzi C_P_T_ Okay? So that's why um we in the literature we do have some algorithm to look for C_P_E_ but that cannot be done for the C_P_T_ objective. So that's why um
Probably for the second point, I want to give some more remarks because in order to look for the SPE, what we did was to adjust the queue update or PE updates. But that cannot be done in the CPT because the CPT will have their queue function depends on the distribution. And that's why in order to adopt the SPE -RL SPO method to the CPT objective,
We are looking for the literature and the one popular algorithm we may consider is the Q_D_R_L_ quantile based distributional reinforcement learning, okay. And from there we may be able to combine the ideas of the second point and the third point in order to allow us to look for the S_P_E_ of the uh C_P_T_ uh s decision making.
uh problem. And that is what we do in this paper. So we are going to combine them and then uh this this formalism will allow us not just to solve for the uh you know CPT problem but also many other with sensitive uh decision making problem. Because for the with sensitive it usually will just depends on the distribution and now we allow the D_L_L_ to be uh adjust to look for the S_P_E_
So that is what we do. And also theoretically speaking, as what I mentioned, we figure out what this algorithm is really learning. And actually the conclusion is very simple. It is really learning SPE. So which means under the umbrella of the DLL.
And when we try to uh learn it with the distributional P_E_ operator, what we are learning actually is S_P_E_ okay. So actually I think here I have already involve many concepts. They may be quite well know from the uh stochastic control perspective, but I will try to explain all these concept uh in more details. Uh so this basically the outline of my talk and let's start it. Okay so here is the um
Formulation of a problem, uh the top left corner is quite a standard one. But from here you can see that there are m there will be huge problem for improvement in terms of model set-up. So basically we conserve finite state space, finite action space and also bounded uh reward space, transition probability and there is also a discount factor gamma.
Okay, so what does the CPT look like? It will be, I think, probably look at the bottom right corner first. We define the eta pi X, right, which is actually action -free return distribution function in this common way, but there is no expectation at all, right. So this actually simply the return and
The EtherPi -XA is the action uh based return distribution. And then with this uh return distribution we are going to evaluate this return distribution with another C_ aggregator, okay. So, this C_
Could look like this, huh, which comes from the classical CPT, uh which is cumulative prospect theory, literature. Um of course there are many other choices for different problems, but we are using this classical one as an illustration. Um so we are not calculating the expectation because over there we are now the probability rating to be uh to be distorted. Uh sorry, I mean
the distribution could be distorted with the probability weighting which is this w and then the u could also be a s -shaped utility that will allow us to model the uh you know different aversions to the game and loss so that is also quite important to our decision makings especially in finance
Okay, so I mean in short, uh gaming, ten dollars may not be just have uh negative uh feeling to you when you lose ten dollars. I mean you lose ten dollars you you feel more unhappy. So that's that's what what basically it says. Okay? So this actually the set up. And and also uh since we have this probability distortion distortion,
You can imagine that we will encounter the situation that I just mentioned. When you try to optimize at the beginning, you have a plan that is optimal at that time point, and that is what I call pre-commitment, right? Pre-commitment policy. But it may no longer be the same when you move to the maybe period time two.
We opt we optimize again so the remaining policy are not the same as what you plan at the beginning and that is known as time inconsistency. And with this actually we need to with this uh properties for this problem we need to figure out if we have a reinforcement learning to learn some sort of optimal policy, what is it learning.
Here we introduce a concept that uh from the stochastic control literature. Uh besides of learning the commitment, we may also be interested in learning the sub-game perfect equilibrium, which is divided in this way. Uh the definition can be understand that uh given that all other states took that
Uh PIE hat, which is uh supposed to be the equilibrium strategy. Then the uh Q_ PIE hat X_ PIE hat will be greater than or equals to Q_ PIE hat X_ eight, which is means which means that given other strategies are fixed as PIE hat, PIE hat will be the best for the state X_ Okay. So basically it's looking for the large equilibrium.
And with this concept actually is perfectly connected when your problem is time consistent, which means that if you don't have the probability distortion anymore, then your problem will basically become simply expectation, right?
Then you are going to obtain something like what you obtain from the conventional R_L. Okay? So this all happens when we have time inconsistency in your decision making problem. So actually I want to bring this concept to the R_L community and make aware of all of you that okay so when we learn we may really have different optimal policies.
And this is desire. I will show you later on that in our numerical experiments, I will try to compare between the peak commitment policy and the SPE policy. Okay, so let's come to the R_L_ part. So for the R_L_ we are not updating the queue, but we updating the distribution function.
And this is what we do in the top left corner. Oh, sorry, actually, this come from the ex uh the literature, so not not our contribution to verify. So um the idea is that we are updating the yita, using some sort of uh this distributional p_e_ operator which is the tau_pi over there. And and once we have the update, we are going to uh evaluate the Q_ with the C_ aggregator. So that is what we do.
to obtain the Q. So this penance to the P_U_ part. And let's have a look at uh um you know the specification of this operator and also the projection. Oh, so once we have because this the Q_T_ base, which means that the T_ toe
will sorry, T_ Pi will apply to the contours of the distribution function, which is given by this uh distributional Bellman P_E_ operator. And from the contours we are going to project it to the uh probability measures to get back the distribution function, which
It's basically E_S trade here from count out to distribution. So that is actually the Q_D_R_L_ So if if you have familiar with uh the original paper actually I am just presenting what we uh I mean what what the office did before. And um And okay so so that is actually the framework and based on this framework okay what we are trying to do is that we uh we wisening
the control update, sorry, sorry, I'm what I mean is the distribution function update. So from T_ pi to T_ because let's say if we use the greedy search.
And then this will then be uh we uh revised uh in this way, which means the pi will then be excluded because now we are not sampling the A_ pi, but uh A_ pi over there will then be used as the um you know, the greedy optimal actions right from from the A_ pi, okay? Sorry, A_ X_ pi. Okay? So that is

AX_ pie, okay. So this actually are greedy selection. Okay, so this basically the set-up and Mm okay. And that is the theory that uh we are going we we we have proof in our paper.
Okay, so here is a very technical uh assumption. But honestly it seems to be uh the best we can obtain. Under this uh C_B_T_ Hoin that type assumption, okay, it looks like this, up on the U_ and W_ Okay, U_ is the utility and W_ is the uh probability waiting function. We will be first able to show that the estimated C_P_T_ objective which comes from the uh iteration
is really learning the k again. I think more importantly it tells us about the bounds. With the bounds we can divide what we are going to show later on. The bounds will then depend on the k. Sorry, I think that part I missed. The capital K is the number of contours that we use to recover the distribution function. And that's why the k if you have larger k then your recovery will then be better, right, statistically speaking.
Okay, so that's why we actually obtain the epsilon k uh in our quite close form. And y we even tells uh what will be the minimum k should look like. Okay? So for the assumption uh we would not be able to prove for general class of the probability weighting function, but at least for the examples and and and many long uh specifications of the U_W_ we find that this we is
quite, I mean, we can find the beta that satisfy these assumptions, okay? So the technical assumption part is like, you know, for the theory, we have to have that, okay? But we will not be able to make very simple statements that what kind of functions will work and so on. Okay.
And with what we had just obtained, we now can show that, okay, under the QD-RL and also the SPE control update, these algorithms will learn the SPE, okay, will learn the SPE, and this is very important because once we know that it's really learning SPE, we can do some modification.
Okay, I think this this actually the one that took a long time, the longest time to do, but I think this really uh interesting and uh important. Okay, and we can also find uh we can also uh somehow tie up the the error bound and so on.
Okay, so here is what we can do on the modification of the Lagrangian given that we know that the uh D_L_L_ D_L_L_ in this context is learning S_P_E_ So the first thing we can do is the um backward update. So we can then now can consider the updates from the terminal time back to the current time. Because previously we are going to
like explore the P_E updates for all the states for all the time points. But now, since we know that it's learning S_P_E, we can do it backwardly. So this is the first change for the backward update. And second, we adopt the S_P_E_R_L_ idea to obtain the consistent type rates. So this are this some of the uh some implementation details of how we run the R_L_
But um but again that is very important to get the convergency of of the algorithm. And the last step is about the quantile regression. For uh here we are actually suggesting to use the quantile regression to update the quantiles. And from here you can imagine that since it's a regression we can adopt uh maybe non-linear model to uh estimate the quantiles and so on.
Okay, so you can also incorporate with the neural networks over here. And since we are using contours, and sometimes we cannot control what we are learning for the contours, we need to do some sort of filtering. Or the problem that we encounter is that sometimes the contours we learn may not be monotonically increasing.
Okay, but quantile should be, right, because by the definition you should be increasing. So that's why we need some sort of filtering. That that that is another algorithm that allow us to adopt, I mean, some sort of smoothing or filtering. I think it doesn't matter how we call it, but somehow we organize the quantiles estimate and treating them as a whole as a whole estimates.
Okay? So I mean at the end of the filtering we are going to obtain some increasing contours and from with this step, this step this step is actually quite important in terms of the implementation. Without this step actually we we keep getting worse, very bad results. Okay? But with this step we will be able to learn.
Okay. So this basically some details, but actually of course there are many other details how to make it work. But okay, I think I just point out the major ones. And now we can have a look at the experiments, because I think from the experiments we also have some insights we are getting from it. So first we can see that our algorithm really learning the S_P. But before that I think I need to first explain about what kind of the environment that we are considering. So this
So these actually are casino gambling model. Very simple. Uh now we have five tampons. Okay, every time you are going to decide continue or leave. And then if you continue, that means you will continue to to bet, continue to do gambling. If you win, then you get ten dollars. If you lose, you lose ten dollars. And that's why you have this binomial tree for this experiment.
Okay, and your attitude towards your poverty or and not is through the CPT objective. And for the CPT objective there will be some parameters that uh that drive the you know your preference, which are given by alpha, lambda and delta.
Okay, the delta is the power in the probability rating. So that's why the T_I_Cness, which is uh what we call as a quantitative metrics for the uh time inconsistency can then be contic quantified by the delta. Okay? With different delta you may have different uh uh time inconsistency. If delta is closer to one, it should be uh like time consistent.
Okay, so in this setting, we are plotting, we are showing you the worst scenario and the best scenarios in terms of learning, okay.
So which means this is quite subjective because we look at all the experiments we have done. Sometimes we will not be able to get close to the S_P_E_ that uh we are learning. But sometimes we will get very close. But we we can actually further investigate that uh those cannot get close to the uh true S_P_E_ They are they happen to be those stay less frequently received, okay. Uh in terms of
the convergence uh we we have two nice points to learn and that's why uh you can see a deviation but since they are less visited and and the importance of those points may not be that high okay
Okay, and now we can then compare between different hypotheses. As I shared with you earlier on, in the Little Picture Day is a SPSA approach that looks for the approximate pre-commitment policy with the absolute- sorry, episodic policy gradient -based algorithm. And we can, for this very simple example, we can also compute the pre-commitment policy.
explicitly, which is a loss-exceed policy. So when you lose, you exceed.
And also we have the so-called dynamic optimum, which is we optimise whenever you reach that point, you are going to adopt the peak commitment policy at that point for that time point, okay? So which is game and exceed. When you game some, when you win, then you'd exceed, okay? So this kind of fee policy serve as the benchmark of our comparison. And again, blue one is ours.
Our algorithm, the black one is the true SPG.
Again, we can see that we are learning quite well and quite close to the S_P_ I think that is the message we we had just now. But what I want to share with you is that uh s since the pre-commitment is optimizing at the original time point, right? So the green point is really higher than the S_P_E_ one. And that should be expected, right. But what I want to share with you, and and also that is uh what the S_P_S_A_ want to learn.
Okay. So meaning that if you're looking at the beginning, your value may be higher. And however, when you really look at the future states, your performance, I mean the performance of the pre-commitment policy may not be that good.
Okay, in terms of the value functions, value values of the value function of the uh peak commitment policies, the green points you know when time involved, they will be lower than the S_P_E_ But how can we really compare them uh between the S_P_E_ and the peak commitment policy? Because I think for the computer scientists you in your mind you may want to find the algorithm that can uh look for the peak commitment policy. But here what I want to show you is that
The SPE may be a good alternative.

S_P_E_ may be a good alternative. So that's why we come up with this, um you know, the the bottom left corner uh so this to show that for if you are interested in the global optimahty, you may be uh using the mean of the value
At the beginning, at the initial time point, okay, sigma of the value function at the initial time point. But if you are concerned about the whole path performance, we may consider the social welfare, okay, social welfare. It's because that now we are concerned about whether we can keep the optimality along the way when time involved, right? Because TIC, time inconsistency, make these two different.
Okay? So that's why here I put the soft social welfare against the global optimality. With this graph I think you can better see what I just came. SPSA may find hard to approach the peak commitment, even though it is designed to look for the peak commitment policy. But for this bro that we proposed which is the blue one.
It's actually quite close to the SBE. Here are two different scenarios. This one will be more time consistent. This one will be more time inconsistent, okay? And you can see that on the left-hand side, which is more time consistent case, even for the global optimality, SBE is higher than the loss exit.
which is the peak commitment policy. But for the time inconsistent case, yes, the peak commitment really has higher value at the global optimumity. Okay? However, when you look at the social welfare, the SPE is just at the top. Okay? I think at the end of the day, it depends on what will then be your objective. And what I want to say is that SPE is easier to get and it may have higher value in terms of.
social welfare. Okay? And our algorithm allows us to reach the true SBE in much faster convergence.
Okay. I think basically these are the, you know, the viewpoints that I would like to share with you. Uh yeah, actually this paper has some technical parts, but I think in terms of the algorithmic design, the idea is that we bring or borrow the concepts from the stochastic control theory to improve the uh reinforcement learning algorithm. Okay? I think I just stop here with this page. Thank you very much.
Okay uh thank you for uh great talk. Any s uh questions from Okay. Thank you so much for sorry for this local uh
Sorry, I'm I have no uh to uh show so it should be it should be mine. Okay. Okay. Uh anyways thanks for the great talk. I wanted to ask regarding the policies, I think from you I assume that your policies are assumed to be co uh kernels probabilities, isn't it like can you also do this if uh you would assume that they are the deterministic policies or uh like or uh or is it really required that you have like uh basic probability measures like kernels. For ex for each you get a probability measure, not a deterministic strategy.
Uh, in terms of the, I think that refers to the space of the actions or Yes it does. the Yes pi, it right? does. Now Yes it I does. think you notice that that is Markovian deterministic. Yes. I think to extend it to
you know, extend it to s uh some policy that is stochastic. I think in terms of the algorithm that should be doable. Right? I think you should still look like this. But the point is about the theory.
Um that is difficult. I I have I still have no idea how to do. Okay. Yeah. And and the second question uh regarding what you called s uh smoothing or filtering, isn't it uh is this only required from a numerical reason or also from a The geometry numerical reason? reasons. Is this numerical Just for the numerical reasons uh actually I can show you the algorithm. It's quite uh
Complicated, but that that comes from another reference. And if you don't do this you really get completely wrong just because it's because of a failing of the monotonicity, Correct, okay okay okay. correct, correct. That will fail. No thanks a lot, great. Uh that that fail with the bad results. I mean the the outcome can still work, but but you can get very bad results because you have con uh uh contradictive uh you know which outcome. No thanks a lot. Yeah. Hey uh any other questions?
Uh if there's no question then let's thank the speaker again. Thank you.
Uh it seems like we have like fifteen minutes uh before the next session. So we will have a very quick uh break, uh so we will uh resume our uh next session at three p.m. here. And for these uh presenters of the first uh poster session uh please remove your poster if possible. Uh so that the uh presenters for the second poster session can put uh theirs on the wall. Okay.
Thank you.

up your discussion and uh take your seat. Uh so it's our last uh session. Okay please wrap up your discussion and uh take a seat. Everyone uh please
wrap up your discussion and take uh your seat. We We are gonna have our last presentation. Uh hello? I'm sorry about uh please wrap up your discussion.
I like university class.

My s my students listen to me but here uh there's not. Okay, uh So uh it will be our last uh presentation uh it it is my great pleasure to uh introduce our two speakers.
Uh first uh Jakob Chan-Yul Choi is the co-founder and CEO of Link Alpha, and he's uh working on uh AI uh models for hedge funds and also other uh financial institutions. He got uh his P_H_D_ in electrical engineering uh and computer science from M_I_T_ and he is in uh recognised as Forbes Forbes thirty under thirty for his contributions to AI and computational research.
And he has also a lot of publications and citations and so on. And there will be another speaker, Zhu Li. So Zhu Li is the co-founder and CTO of ArrowPoint Investment Partners, an Asia-focused multi-strategy hedge fund backed by Blackstone and so on. So he has over 15 years of experience building quantitative trading, risk measurement, asset management systems in financial industry.
Uh so uh these two, Ju and Jacob, will uh talk about compound AI systems for hedge funds. Uh please welcome Ju and Jacob.
Alright uh thank you so much for having us here uh the talk. I I saw like few session behind and it's really like a academic um and then it reminds me of like my time like ten years ago attending ICR all like as a student like bring my poster and like yeah so it's really meaningful to me uh you know to be a invite speaker. And um it's even more special because I have you know Drew like um today
like he has really I know hands-on experience on you know like really practical hedge fund field so yeah really excited to share like you know we have experienced and you know the there's some research we have conducted okay so the topic is about compound AI systems or hedge funds I want it to be more like interactive session so like you know feel free to have you know ask questions during the session so
Let me go to the next slide. So already, yeah, it's really well introduced, but I want to point out again the zoo has like 15 years in trading risk attack experience. So he's going to share some his insights around the practical system. And also we as a link profile, we are serving currently 90 long short and long only hedge funds and asset managers, including the Goldman Sachs and Millennium.
So yeah uh we are going to share s uh you know uh some practical use cases. Alright uh those are the agenda we have uh but yeah we're gonna go one by one. Alright. So uh we start with the problem. Um so
You know the like in the in the daily life the analysts, you know spend like one-third of their time like switching between 13 to 14 different applications Like, you know the cell site research conference calls outlook alternative data public filings you name it, right? So they juggle like, you know says our research and marketing to the platforms all type of reports like, you know Basically like at least more than 10 hours per day
which actually leads to like a major inefficiency. And also like this unstructured data is exploding, right? The challenge isn't just about the data overload, like so the inability to synthesize and extract all the, you know, financial information, which is fragmented. It's the, you know, it's getting the problem is getting worse. So like it's like analysts have to manage like, you know, market data as if they were like navigating to Mars with just a compass.
And then here's a solution, right? So everything came out, then finally the unstructured data can be processed. But the problem is, you know, like when we talk to like, you know, one of the executives from Merck Chicago, it's like, oh, this space is becoming too commoditized because like every single week, think about it, like two weeks ago, the meta like released a new AI model, right? Lama 4 and the last week the...
OpenAI really is like 4.1 so like they're having trouble like to what model they need to choose and like every single way they need to like find the find if this model is useful like if it's really practical and stuff so you can tell this there's so many you know general purpose LLMS are coming out but none of the LLMS have mastered like the domain required deep domain expertise like you know finance
So we think the reason why for it is because, you know, like LLM is like a horse, like it's really hard to control. And then without the verticalization, it's like a horse without a rider. And then we're going to share like why this verticalization matters today. And then let's, I would like to invite the zoo like back to the stage and he's going to share like, you know, how his experience like in this field.
Thanks. So yeah, so uh I I come from uh systems architect's background. So I don't have P_H_D_ in AI like Jacob or many of you guys here. So my my experience with the L_L_M_ and A_I_ is really all pretty coming from like a technology practition practitioner's perspective. Um so when I first started using L_L_M_ I think this was
This is when Chechiputi 3 .0 came out. I started experimenting with it and so it's been, what, less than three years since I started doing something with it and, you know, what's recently happening in the industry reminds me of what the software development side of the world and system architect part of the industry experience in the past.
10 years or more. So from the architectural perspective, the industry experience software, I mean coming from the systems architect perspective again, I went through the evolution coming, starting with the, you know, the era where everybody was building a one monolithic systems.
You know, big gigantic system that's doing transaction or trading or even like the some of the largest exchanges in the world, they used to run their exchange on monolithic architecture.
So in the past 10 plus years that has changed. Now what I can't say everybody is using microservice architecture but most of the mission critical system that require large scalability and high resiliency now adopted the system architecture called microservice architecture. So MSA is basically similar to multi-agent AI agent model where you build a system that consists of
A lot of different sub-systems and each system usually is focused on uh one particular business function. So it could be market data service, it could be order execution service, it could be settlement service, reconciliation service. You build this business focused domain focused service and you let them interact with each other to deliver uh work-flow, the complete work-flow. That's basically what M_S_A_ is all about.
And we're seeing the similar evolution, architectural evolution in the AI industry and again I'm applying the my systems architect view here. So when I first started integrating with open AI API right, I quickly realised that the p um both alone, the single both can't do much uh for the hash funds because I mean which I'll cover a bit more in detail in later slide. But
The the point is many people not just me the early adopters of AI from the consumer side quickly realized that single bot has a lot of limitations and and and so we kind of already knew that that the multi bot
thingy will come and and that that that technology evolution will uh borrow a lot of concepts that that we already discovered from from building large-scale software systems uh in in in non -AI world so namely the MSA so there the architecture evolution that we are currently seeing from like monolithic AI bot to compound AI system
reminds me of what already happened in the uh uh in the software development side. And also in the communication evolution, the the the adoption of microservice architecture brought in the the the demand to uh um do better in com in terms of communicating the re the services servers that are remotely physically isolated to each other. So the industry has seen a a rapid ev um
um improvement in the API technologies starting with R_P_C_ now you know there is like RESTful API, G_R_P_C_ WebSocket, you name it. There are many different ways to to achieve asynchronous synchronous low latency communication between uh uh remotely isolated services to each other. And and and again the same thing is happening from the A_I_ side of the world, I can see that.

AI side of the world I can see that that you know people started building multi AI bot system by writing custom gluing codes you know the and there was like a function calling coming out coming from came out from the open AI I didn't see that much adoption to be quite frank but now you know the entropy launched MCP and Google now launched ACA A2A
I I could see huge potentials in this technology, but again, uh uh again applying my my previous ex experience of what happen in software development industry, I could sense that we're still in the very early stage of the communication evol evolution in the A_I_ component systems. Uh um and and a lot of this i what why do I see this historical parallel it is I think it's mainly because we're basically trying to uh um solve the the
It pretty much the same problems here. So
It's the same engineering principles are driving the both evolutions, communication evolution, architectural evolution. So we're trying to manage complexity by breaking down services or AI agencies into more specialized sub -systems and scalability. We're trying to solve the scalability problem here and specialization, resiliency and maintainability and agility. All of these problems are engineering problems in the end.
And and and what what we are seeing in the a from the AI industry these days shares the same problem with the software development industry system architect industry already have seen in the past 10 plus years.
Yeah, so I briefly talked about the the limitation of single agent, right? Single AI agent, right? So so basically many people in my industry, the the financial institutions and hedge funds, when we first started experimenting playing with ChatGPT, many people felt that it's amazing. It's amazing at summarizing the information, collecting and highlighting key information. And and it's it's it was fascinating experience, right?
But when you're trying to adopt that into your investment research process, which is at the end of the day what really matters for hedge funds, right? You quickly realize that both these LLM models, whether that's cloud or chat GPT, are too agreeable with you. And that's a big problem for us. The entire investment research process...
It is extremely labor -intensive, by the way. It start with screening the market. Uh you have some hypothesis about I don't know that could be uh l a tr president election or tariff. You you have some theme in your head and you wanna create a trade idea you wanna generate a ter trade trading idea from based on your thought. And that process involve a lot of screening, data collection, data modelling, due diligence
and include oftentimes this process includes sourcing the data from five to twenty different data sources at a time and you need to be on top of all the actions that's happening on the market before you can make investment decision and and this investment research process often you involve
Lot of debate, internal debating, and in you debate with your your colleague analyst, you debate with portfolio manager, risk manager, why do you think this is this could b a good trade? Why do you think we need to reduce this size and and and put more here. It incl include a lot of critical thinking and debate, but just single bond alone the LLM are just two kind, two listening and two agreeing to you. So they're not very suitable and many people in my industry has quickly realised that.
from the early days, and confirmation bias reinforcement, basically investment research requires deep skepticism.
These people are very skeptical people, and they try to read between the lines of company report, SEC filings and everything, and social media posts. And the risk of hallucination is a lot greater when you're using it as a single AI agent, and oversimplication. Oftentimes, the investment scenarios are very complicated, but AI bot tends to just flatten the complexity too quickly.
and try to give you some advice based on that. So there's a lot of limitation of single agent limit, single agent using single AI agent for hedge funds. It's very tough.
And also, I just want to briefly talk about the LLM ops reality. So people think that, you know, when hedge funds of our size, I mean, we're not that small, but we're not like, you know, we're the largest hedge funds either. We, people are...
excited about AI. I mean everybody's excited about AI these days, right? And and w and then you go like, okay let's do AI. Okay, AeroPoint is going to do AI. We're gonna build AI system. Oh, super exciting. But then the reality is that when you start doing building these systems, you quickly realise that there's just so much plumbing work you have to do before you get to the f the fancier and exciting part of fine-tuning and prompt engineering.
Like, it almost feels forever to get to that stage, right? The data ingestion, cleaning, chunking, and indexing, like, I think it often consumes probably more than 60-70% of the overall project in my view.
And the building the ETL workflow, building the systems on top of Kubernetes for auto scaling, retry logic and all of this. Well, we have done this before for building training systems. So it's lesser of a problem, but doing it for AI compound system is a different problem because we, when we are working on this project, I'll give you an example. We're not aware of one open source technology that's...
adopted by Apache Foundation that's already battle-tested that can that we can use to validate your the output of your LLM agents.
So we had to build our own system, I mean you could call it like bunch of scripts, that runs this set of, specific set of what we call evaluation questions to the bot that we are running in production. And you have another bot that's evaluating the output score and making sure that it doesn't hallucinate and it doesn't respond to weird jailbreaking kind of questions.
We had to build that ourself and as we were building that ourself we all everybody involved in the process knew that Well this amount this effort that we're putting in somebody will build somebody's building it There are probably like 50 teams globally that's working on the same project and somebody will open source it one day And we're not going to use what we are doing right now So so so the point I'm trying to make is the model tuning and and from engineering that the
But the fun part is actually small part of the actual AI components and build-out process. It it's it's what sh what takes a lot more time is the LLM ops. And that's where people often get, you know, lost. Okay. I'll back to Jake.
Yeah, so to touch the really critical part, you know, like uh like LLM model itself is uh not enough. Like just to, you know, give you a brief idea like what's being built for the investment research uh let me just share the uh yeah, video here.
So here's a scenario like we imagined. So Tariff took effect yesterday, like, you know, how does that work, right? So like they wanna know like what companies affected. So they asked question to like, you know, AI and like, oh, like, you know, analyzing all the news is like what's going on and then, you know, call all different type of, you know, agent. Give me a second.
So basically, you know, like, each investment research process requires a different domain knowledge and different workload type of stuff. So this is one of the example, like, for especially for the hedge funds, like they need like watch list, the stack catalyst, you know, earning calls, you name it, there's so many, right? And it's about like how well you process with the deep domain knowledge. And then we can start with a company screen agent. So again, the term happens, you want to know like what companies affected, right?
Then the like company screen agent, you know steps in and then like oh
How many companies are really actually affected? And then ask question. Traffic exposure, like, you know, cookies exposure, and then screen out like what companies are actually, you know, uh affected and then narrow down basically your kind of like portfolio. So now you you actually, you know, narrow down to the world map. Then but you actually never cover the world map. And you wanna know like uh what the companies does, right? So you ask question and like oh, I really wanna know about this company. Can you make the like three to five pages of uh you know
Uh like primer. Then the back then the you know the portfolio manager asked analysts to build this three to five pages of primer or like 10 20 pages of initiation memo and but it just you know it takes five minutes to get it done.
And then like later you want to know like what happened before, you know like that when the tariff happened like let's say a few years ago. And then you want to know like what happened exactly. So the you can actually go before and then check uh you know any news or like how the you know stock price uh like you know impacted by the tariff. And then later you have a thesis, right? So okay, this tariff happens. Like so how it's gonna happen work. So the um

It's gonna accompany work. So the react then the at the end like this devil's advocate comes in and like you know just dump like hundred documents and ask like if there's any you know the information counter argue it your thesis. So this is basically like you know really tailored for the investment research like this is like how we feel the
you know really tailored workflows for each investment research process so again the single large language model itself alone doesn't really work right and then people like bring the rag systems like to make sure that all the information is grounded but still that's not enough like there's so many data right structured data unstructured data alternative data they're handling so many like you know type of data which is in a data layer and then
On top like you build a rack L_M_ layers. And then on top like it's we call it agent, right. There are many types of agent.
So they basically the the reason why we bring the compound AI system is because this all the layers should be like you know comprehensively you know wired and then like make sure that like which agent like needs to see like what type of data right that's really requires the deep domain expertise so like for example primary agent needs to see the earnings call and 10k 10q like 8k not the investor presentations like
Maybe you know like if you don't have a domain knowledge you probably have to see everything that actually makes your you know answer really you know not sharp like something really general So L_M_ is not enough. But the uh r with the rack system it's still not enough, right? So um this is how we prototype all the you know
the workflow and product. So each like all the box represents the LLM. So and then I would say it's only part of it. You we to make the one single
Let's say the report for a certain company, you need like, I would say like at least five hundred to like two thousand nodes actually well-wired. And then let's say there's a packing packing order, like first you need to see the ten K_ and like if there's no information you have to go check the eight K_ and then like uh especially for the guidance and probably at the end you wanna if there's no information, you still need to give answer, right. Like people cannot I mean all the investment research
analysts they they don't want to wait right so that's at the end you want probably want to fetch some information from the news so like all this packing order is like well embedded and the this is how we build you know the AI system for the investment research
So like I would say the all the, you know, domain experts and the AI engineers like working really closely to, you know, to do this validation and iteration process. And this is what I briefly shared about the through the video. So let's say, you know,
During the the Trump's tariff like w you wonder like which companies are impacted by tariff. So start with the company screener agent like you know and then go onto the primary agent, get to know about the company and then stock catalyst, uh you wanna know like you know what happened before and then at Mm-hmm. the end you know with your investment thesis you know uh ask AI to, you know, counter argue with your thesis. And those are the examples. Um
Yep. And then I would like to share like four research we have done, which are actually aligned with what uh I just mentioned. So first is the embedding model. Uh when you take a look at the, you know, rack pipeline, after parsing the data from the, you know, raw data, uh embedding is the first step. So basically, you know, embedding is uh
If it refers to the, you know, converting the uh, you know, human language into numbers uh so that, you know, the computer can, you know, read and so that, you know, it became a searchable, right? So the uh embedding converse text into vectors, uh so this here on the left top uh this is uh I I would say the first part that the computer can understand the human language.
So uh we found that there's like two challenges. First is the noisy trading data and then the second hard negative mining. Uh when it comes comes to the second challenge uh like the way we approach to this problem is uh there's some area where like
The even computer, even large-scale model cannot really distinguish the, you know, two different meaning. For example, the, like, competitive and competition, which two words must be really, you know, closed in the, you know, embedding space, right? So we are...
We'll synthesize a lot of data around this, you know, like really adjacent um like space in embedding domain and then like create a lot of synthesized data and label them and then to make sure that embedding model can uh distinguish like you know that that subtle meaning between like two different words in the domain uh in in the embedding domain.
Uh so so what happened is we uh ranked first in the hugging phase uh so outperforming uh NVIDIA OpenAI and Google uh it's just I th I think yeah uh since until last month actually, yeah. So Google Gemini released a new embedding model. So now we are second. But yeah, this is uh what we developed last year and then yeah uh here are some yeah details about the experiment. If you wanna know the details about it yeah, you can take a look at this uh
you know, archive report. And then we actually take a step further from it, uh because we are double we are actually doubling down on the finance. Uh we built this domain specific embedding model, uh since, you know, we I'm like really open, I'm really, you know, the passionate about the open source community as well. So uh that's why we released uh you know, embedding model in the hugging face. But also when you take a look at the
You know the public available publicly available data. There's so many you know Data for the embedding or in and you know for large range models, but not for the finance It was like you know when you take a look at the samples. There are tons right but compared to you know general domain like finance is
really really marginal. So uh we we built our own, you know finance specific like a jargon and lexicon and stuff to make our uh embedding model better. And then yeah here's some yeah uh solution as s results out there. So basically um if you s s synthesise the data really well, I think the embedding model can be you know enhanced, and then uh again the all the details that you can find in the in the yeah uh
the paper. And second thing is it's something that I'm going to present after this talk. Uh yeah, luckily yeah. This paper is accepted in in this workshop. Uh so basically uh we found that there's no rack-oriented data uh data set for
like in this, you know, large engine model uh field, so we built this uh called the finder, uh all annotated by ex Goldman analysts like, you know, one by one and then uh so that you can actually evaluate the R_H_E_ system. So here uh the problem we saw, uh the motivation comes from the, yeah, three things. The first the when you take a look look at the previous uh data set, like the question is,
quite is not empirical. It's like what is the component, like annual growth rate of the trading revenue.
But when you actually take a look at the real queries, they don't ask that way. They ask like MS trading revenue, like, you know, like it's stuff like that. Sometimes the LLM gets confused. MS, like I thought MS is Microsoft, right? But actually it turned out like MS is Morgan Stanley and Microsoft ticker is like, you know, MS.T. So like actual query is really complicated. So that's something that we actually embedded in this finder. So if you would like to evaluate your, you know, LLM system.
in a rec system, it's uh really yeah, suitable for that application. So we built this five uh more than five thousand query evidence answer triplet. Uh so yeah if you got any of you guys try to validate your rec system, it's probably uh good stuff to go with. And they are currently uh we are doing some P_O_C_ with OpenAI right now like uh just we are expending more data set uh and they are probably yeah more updates will will be coming.
And the third thing is the structuring the unstructure. Uh this is something that we're collaborating with Databricks and AWS. Uh so basically uh again I mentioned the unstructured data, right? But the uh structured data is something that unique, like for purposes and like you know other others, right. But the what the the reason why we wanted to uh tackle this down is because this here's a Chipotle's, you know um
a.k.a. uh report. Then there's a highlight, right? And then every single line that the previously the human goes see and check if it's actually right and put it in the table, which takes like, you know, forever, right? But now uh LLM is good enough to extract all the, you know, this structure data and then make it you know kind of like SQL tied up database. So uh here's a process, you know, uh for example
Um you get the data, search, extract numbers and like normalise it and fill out the database and basically summarise. The problem we saw is again the it's a slow and manual processing, but what's really interesting is all the traditional KPIs, you know, the um

d um and like financials is limited for example for ak you can only extract 20 to 50 uh like in an average but actually you can extract more for example for the chipotle you probably want to know you know like how many and not just how many restaurants open for the last quarter you probably want to know like how many uh you know
People they hire more. They're basically not the typical KPIs, but like something that could help you to, you know, think ahead of, you know, the traditional KPIs. So here we built this framework from, you know, parsing, preprocessing and structuring data. And then like also with the text to SQL agents, basically it's a multi-agent system that extracts the data.
And they make sure that your system can, you know, uh fetch the data using the natural language processing. So uh here's our how how yeah, our framework is structured um and yeah let me let we're you you you will be able to see uh the details in the paper.
So basically the the the fact of the paper is they used to let's say they take like one hour to extract from the one single document that was like kind of real time and again the 20 to 50 uh KPIs could be extracted uh only limited to the traditional financials, right. But now it's like more than 200, also like non-traditional KPIs can be extracted too. Also like the financial model update can it was not possible but now it became possible.
Um yeah. And this last one, and then this is really interesting uh paper we're working on with M_I_T_ and uh University of Florida.
And it's about the thematic scoring agent. Uh so it's basically I think probably uh many of you guys like from the quant industry uh back then, you know like uh traditional sentiment analysis is like, you know, whether you des you know decide whether it's positive or negative, right. But the large engagement model can actually m quant ify these, you know contextual narratives into like numbers. So like we build this
this thematic scoring that you can, you know, reduce the dimension of this, like, you know, that some, some, you know, narratives, which is like used to be hard, used to hard to, you know, quantify, now it's possible.
So uh I'm sure you're familiar with the imp you know thematic investing uh but here again now you can set up any type of uh you know investment theme like peop probably people you know do the same similar approach for the ETF, but like here now you can just put any theme like you know um maybe um
Companies that affected by, you know, Trump's tariff policy and stuff, right? They put it and then you get the number and then based on the scoring you can build your own pot you know portfolio. So it's something like, you know, you put you can put the AI revolution, climate change revolution, you know, aging population, Gen Z like consumer trends. Those are the one of the examples and yeah, you can find the detail in there.
the paper. So we took two two approach. First is uh extract theme-related quotes first and then basically filter and score, you know like how relevant this information about the theme you picked or the what the sentiment it is. Um this is the one of the example I want to share. Uh there more slides, but I'll uh let me just quickly get through this part. So uh this digital re-therapy trust is the the uh your trust is
It's basically a rich company. It's previously categorized as the real estate company. But the main revenue driver of this company is data center. So back then, if you want to build a portfolio around, let's say, data center, this company would have been, you know, like...
Myst, right. So, but now like with this scoring agent uh you can still like this the R_ t uh yeah, the R_ the R_ R_ is you know still kind of uh picked by this scoring agent so that you can put it in uh your uh theme. So we've here we picked the data centre uh and then yeah, those are the the forms that like listed on the top.
And we found that there's we tried many different themes and there's some abnormal returns uh so like uh across all the you know uh time of range and the thematic scoring like across various sectors. So like uh show the positive ex uh you know excess excessive returns uh validating the effectiveness of theme based investing uh strategy.
And also what's more interesting is, you know, based on the theme you picked, there's some kind of long-term effect. So we saw, you know, previously the it used to be only like, you know, you see the short-term effect but the this, a thematic scoring can enhance your, you know, investment strategy. So a positive group like consistently like outperform negative group across themes like cloud computing, you know, renewable energy and biotechnology here.
Alright, so uh here's uh like you know it's the research we have done. And then like I would like to kind of uh wrap it up with the uh our yeah, this zoo's uh perspective, and then know his, you know, their C_T_O_ play book uh and stuff. Let me yeah invite him back to the stage. Thanks Jacob. So uh yeah, again um these are
Physically based on my personal experience of building AI systems, any, I mean, and I can only talk from the hash fund CTO's perspective. And I don't think there are that many hash fund globally who can sponsor the AI project front to back all internally.
uh probably less than ten globally so uh um what I and so basically I c I thought about you know how best to share my experience and trials and errors I went through so that people who are s listening to this could you know uh um save some time. So basically my view is that for any core foundation models um basically you need to buy like, you know, as a C_T_O_ you need to make buy or
build decision right um this is this one is a no-brainer you don't want to get into that game of building base models period right okay there's a deep sick when they're like you know deep sick may have proposed the way to build llm models a lot cheaply but like you know we're talking about still talking about millions you don't want to get into that game you want to ride with that rapid development but you don't want to
be a player in that game. Data ingestion and processing pipelines, the LLMOps part, is actually the interesting part. I think it's a hybrid. So for commoditized problems like sourcing, sanitizing, indexing, chunking, doing all of that for your rock to work.
Um for most of the data uh market data providers out there Bloomberg, Refinitiv uh you name it. I I think there are already uh uh companies that's already built the pipelines for you. I think for those pipelines you should just buy and or lease. Um but there are certain um um data sources that may not be
So public that may be very, very specific to your funds strategy, very thematic and like alternative data that only your funds knows. For those, you have to build your own pipelines.
So I would say uh a LLM most part I think it's a hybrid approach, but eighty percent of the work sh should be able to outsource to el uh um existing players and pro prominent A_I_ startup like LinkU for example.
PROM engineering and management is a part where you want to own internally. So um that this is where you could make a strategic differentiation with other funds. And every funds have different trading style and investment style and risk management philosophies. And the PROM engineering is where it where you you have absolute direct control over the output of your AI models. So so once you done all the hard work of
Getting the right data delivered to your AI agent model in a clean, sanitized way without losing context, then it's really the game of improving your prompt and that will make a strategic difference between your fund and other funds and other trading strategies in the market.
This is where you probably want to spend more time improving the f the AI literacy internally, right? So so this im the process of improving the prompt
Therefore, the performance of your AI model is iterative. And the more people you involve in that process, you will grow together as a team. Your AI literacy will continue to improve as a team. Then because your own tech team, your internal team is the best team that understand your funds' specific requirements in terms of

specific requirements in terms of trading and risk management. And your internal people are the one who have direct access to your portfolio major, risk majors and traders. The more you improve the AI literacy internally, there is a bigger chance of you achieving that strategic differentiation.
from having superior output from your AI models compared to other funds. And again, I'm not saying this conclusively, right? All the work I present today, it's a work in progress for me as well. I'm not here to say, hey, we've done this and we had a huge success. No.
But we are still going through that trials and errors. And what I whatever I discussed today, including the the reminiscence I had as a system architect between the the development of M_S_A_ Microsoft service architecture to to A_I_ component A_I_ system um w w what I w what I would like to say is a last uh uh as a closing comment is that
We are still very early in this game and you definitely do want to be part of this game because once the AI matures even more and everybody talks about AGI and I'm probably least qualified to talk about AGI in this group but
Jan Lekun said it will come in 10 years, right? And you will... And most importantly, he mentioned that the AGI will not be an event. It will come in steps, right? And I completely agree. You probably... You should as a technology leader of your organization, it doesn't matter whether you're in hedge fund or startup, you must prepare your organization...
To make sure that you enjoy every benefit of that step, step toward AGI, and there are lot of things we can do already even with today's AGI, today's LLM model, and just imagine one year down the road what what what can be achieved with the AI models, right? Just imagine that possibility, it's it's fascinating, right? So con building and in in preparing your organisation laying out the proper future-proof
Foundation is your job as a technology leader. And then start with understanding what compound AI system means. It's all about scalability and modularity so that every time there is a improvement on AI side embedding model, whatever, you can just plug in the new model and you enjoy every benefit of it already. That I think is what I would like to say is probably the most important lesson I want to share with you all. Thank you.
Okay, yeah. I already covered all the three points here. Yeah, so uh also like from my side uh there are few lessons um yeah so here the what we saw from the user behaviours, right, the again the you know what data source you fetch from is really important.
Right. Um, so just public available data like public filings are not like where you can actually generate alpha, right? So that's the one of the lesson we get. Um, so like there's less in the arbitrage in the public filing uh and stuff. And then second lesson we got is like ask better questions. So um although like every single type of fragmented information is getting, you know um structured well so that you can call it in a better way, but the
You can't, if you don't ask a good question as analysts, you can't really generate the insights. So that's what we've seen from.
our clients and then third is the domain expertise it's uh like you know uh basically to achieve the loss of my accuracy but as a researcher like back then um i was the way also one of the you know students who try to make the let's say like 90 percent of accuracy to 91 and 92 percent right but that like what about the eight percent of the gap right you need to still fill it in the in the real life you know in the real world problem
So uh it's now it's all about the engineering problem. So it is a real barrier is like no longer research, it's uh also the engineering execution at scale. So probably yeah, here and uh all the researchers and like you know practitioners, I I would like to uh to know that this, you know, leveraging the new models is definitely the first step. But the uh there's it I think it became type of a engineering problem. So that's uh that comes with the, you know, uh domain expertise.
And also like, you know, how sticky like your teams to the certain really sharp problem.
And again, I would like to conclude our session with the, you know, quotes from Jensen. This is that like R_L_L_M_s want replace domain expertise, invest in the vertical domains, not horizontal ones. And I I think I would like to like, you know, go for the future you guys together here and I like to share more, you know, the insights today later the yeah, this speech. Thank you so much for listening, yeah.
Ah okay, thank you very much for super interesting talk. Uh okay, we ha we have many questions from audience. Uh yeah.
Uh hello Jacob and Ju uh thank you very much. Uh I'm Howard from uh Axis Capital. So um uh this thank you very much for your presentation and I can see that uh uh the distinguishing uh feature of any fund from another fund is actually going to be in the accuracy of the rack capability because uh for the models, especially open source ones, everybody will it's gonna have the same.
But in the RAC capability, um for example I may have my own internal proprietary research that I want to upload to the L_L_M_ that I don't want to share with any other fun. So um I would like to ask uh if you guys faced any problems in the context of uh uh long context RAC?
where uh say the S_C_C_ filings exceed like five thousand tokens and somehow the context in the middle gets lost when you apply the rag or in the case of uh say you apply the rag to a D_C_F_ model or an Excel spreadsheet and uh did you face any problems on how to read the spreadsheet and uh the financial statements and the stuff and how did you overcome these two problems? Thank Thank you. you. That's a that's a great question.
Great question. Actually, Jacob and I had a c a a discussion around what you just mentioned, precisely yesterday. Um so um we okay so when I f first started building this pipelines, the the chunking and the embedding and the search optimization, I found it to be a problem that's
little too challenging for me personally. So I was leading that project, right? And and at back then the project was pretty much like experimental isolated project, so w I couldn't get like that much engineering resource out of the existing team. So so I was mainly leading it with one or two engineers help. And and i that's the part where I start to feel that realise quickly realise that
I probably will not be able to make much progress if I get hung up on this problem little too long. So I just follow the standard uh um guidelines from OpenA_I_ and the, you know, many you know people use case, they shared their use cases of building this rock uh um pipe rock kind of application using length chain. And then the technique we we used was pretty simple, I I have to admit. It was
was just putting a lot of overlap between the different chunks. So so that's yeah exactly there were a lot of overlap. And then back then it was the the the context token window wasn't as huge as now. So that actually quickly limited
the ability to unload large p_d_f_ documents and Excel files. We so so it was a it was a huge trade-off for us um just with the context of just with the just for the sake of not losing the context of the document, I was putting little too much context and overlap between the different chunks. So I must admit that that's a problem where I
was pretty much like okay you know what I'm just gonna I'm not gonna spend too much time fine-tuning this problem. I'll just let Academia and a bunch of like PhDs to focus on coming up with better LLM model with the either with a wider window or or better embedding and whatnot and actually like one and a half years ago OpenAI ADA embedding was like top 10 in the the hugging phase right
it's not even like top 50 or something anymore. So i if we solve if we build it again ourself today, I'm sure the problem would have been a lot easier. But as I mentioned in in my one of my slide, my tech my approach has changed since then. I I don't want my team to spend too much time on that pa solving that part of the problem. I wanna outsource that part of the problem to people who are more qualified and people who who who actually can
make revenue by solving their problem themselves like like you know Jacob for example right it's not the problem that I felt that it's not maybe worse for us to hire for
Um um whereas the problem engineering and how do how how do we link different agents to each other to complete the investment augmented investment research process is is where we can contribute lot more because we we own the domain and we own the the requirements. So uh sorry, that's a that's a slightly disappointing ans answer I

really disappointing answer I would imagine. Yeah, that's that's yeah great insight. So uh let me just adding a few more thoughts on it So again like having different type of techniques like you know having overwrap like you know and then how big is it you know trunk size and stuff definitely could there's a room for improvement, right? But what we realise is it's about the you know like whether you achieve the ninety percent or ninety one ninety two, right? They were still there eighty eight percent. You still need to you know fill out the gap, right.
So the way we approach is like sometimes you use vector search, sometimes you use the keyword search, like sometimes you actually put all the tokens like into the model so that the model can actually have a full context. So it's like to, to, you know, achieve the last mile of accuracy, you can't really put every single documents to the large language models, right? There's a constraint, right? So the, that, that's where the domain expertise comes and play.
So that like you can actually narrow down and like kind of sort out which information should be input to the large image model. And over time, you know, like even ChechiPT 4.1 increased like great amount of, you know, input tokens, right? So I think at the end probably the problem is going to be better and better. But again, if you just focus on one technique, it's going to be like, you know, accuracy of 90, 91, like a little better, but still the gap you need to fill out.
Yep. Okay uh thank you for the federal insights. Uh I think time is up, so let's thank the speakers again.
Time really flies. Let's see if we can get a slide up.
Um on behalf of the organising committee uh Nazanin, Youngjae, Bo, Sharon and myself, I want to sincerely thank all of the speakers and the participants for making the financial AI workshop uh a really great success. We have seen incredible range of ideas and discussions and presentations today and it's pretty clear that this field is only going to continue to grow in importance and impact.
impact. We truly appreciate everyone's contributions, engagement and energy throughout the day. We hope the connections made here will lead to new collaborations and innovations.
In the next section we have poster section number two until 5 p.m. Uh so feel free to check the all the posters out and uh interact with uh um the authors of the papers. Once again, thanks f thanks to everyone for your participation today. Save travels and we look forward to seeing you in future events. Thank you.
