Paper deep dive
Trading Devil Final: Backdoor attack via Stock market and Bayesian Optimization
Orson Mengara
Models: Data2vec, facebook/mms-1b-all, facebook/w2v-bert-2.0, HuBERT, Speech Encoder Decoder, wav2vec 2.0, Whisper
Intelligence
Status: succeeded | Model: google/gemini-3.1-flash-lite-preview | Prompt: intel-v1 | Confidence: 94%
Last extracted: 3/11/2026, 1:11:41 AM
Summary
The paper introduces 'MarketBackFinal 2.0', a backdoor attack method for speech-based transformer models that leverages acoustic data poisoning inspired by stochastic financial models and Bayesian optimization. By integrating financial market dynamicsāsuch as rough volatility paths and optimal transportāinto the poisoning process, the authors demonstrate how vulnerabilities in speech recognition systems can be exploited in a threat model where third-party training data is compromised.
Entities (5)
Relation Signals (3)
MarketBackFinal 2.0 ā uses ā Acoustic Data Poisoning
confidence 95% Ā· MarketBackFinal 2.0, based on acoustic data poisoning
MarketBackFinal 2.0 ā targets ā Speech Recognition Systems
confidence 92% Ā· In order to show the possible vulnerabilities of speech-based transformers
Bayesian Optimization ā optimizes ā Financial Models
confidence 90% Ā· associating different financial models drawing on Bayesian optimization for optimal control
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Since the advent of generative artificial intelligence, every company and researcher has been rushing to develop their own generative models, whether commercial or not. Given the large number of users of these powerful new tools, there is currently no intrinsically verifiable way to explain from the ground up what happens when LLMs (large language models) learn. For example, those based on automatic speech recognition systems, which have to rely on huge and astronomical amounts of data collected from all over the web to produce fast and efficient results, In this article, we develop a backdoor attack called MarketBackFinal 2.0, based on acoustic data poisoning, MarketBackFinal 2.0 is mainly based on modern stock market models. In order to show the possible vulnerabilities of speech-based transformers that may rely on LLMs.
Tags
Links
Trouble viewing inline? Open PDF directly ā
Full Text
200,016 characters extracted from source content.
Expand or collapse full text
Trading Devil Final: Backdoor attack via Stock market and Bayesian Optimization Orson Mengara1 1 INRS-EMT, University of QuĆ©bec, MontrĆ©al, QC, Canada. orson.mengara@inrs.ca Abstract Since the advent of generative artificial intelligence [1],[2], every company and researcher has been rushing to develop their own generative models, whether commercial or not. Given the large number of users of these powerful new tools, there is currently no intrinsically verifiable way to explain from the ground up what happens when LLMs (large language models) learn. For example, those based on automatic speech recognition systems, which have to rely on huge and astronomical amounts of data collected from all over the web to produce fast and efficient results, In this article, we develop a backdoor attack called āMarketBackFinal 2.0ā, based on acoustic data poisoning, MarketBackFinal 2.0 is mainly based on modern stock market models. In order to show the possible vulnerabilities of speech-based transformers that may rely on LLMs. Index Terms: Backdoor, Stock market , Bayesian approach, optimization, Adversarial machine learning, Poisoning attacks, Stock exchange, Derivative instruments. I Introduction D eep neural networks (DNNs) are now employed in a wide range of applications [3],[1],[4],[5],[6], [7],[8],[9]. Thanks to the meteoric rise of machine learning and the advent of generative machine learning, now integrated into virtually every application area of modern artificial intelligence, machine learning models have seen great advances, but nevertheless require a significant amount of training data and processing capacity to be effective, however not all AI practitioners (e.g., researchers and developers) necessarily have easy access to state-of-the-art resources. As a result, many users choose to use third-party training data or outsource their training to third-party cloud services (such as Google Cloud or Amazon Web Services, or as a last resort to use third-party models themselves. However, the use of these resources weakens the openness of DNN training protocols, exposing users of AI systems to new security risks or vulnerabilities. Today, deep learning enables financial institutions to use data to train models to solve specific problems, such as algorithmic trading, automation, portfolio management, predictive analytics, risk management, speech-to-text conversion to improve service, identifying sentiment in a given text, detecting anomalies such as fraudulent transactions, financial crime etc). During DNNs training, backdoor attacks [10],[11], [12] are a frequent risk. In this kind of assault, malevolent actors alter the labels of a few training samples and add particular trigger patterns to them to get the desired outcome. The victimās deep neural networks are trained using both the changed and unmodified data. As a result, the compromised model can link the target label with the trigger patterns. Attackers can then take advantage of these concealed links during inference by turning on backdoors using the pre-established trigger patterns, which will provide erroneous predictions. In finance 111Google Cloud AI-Finance222NVIDIA AI-Finance333IBM AI Finance [13],[14],[15], artificial intelligence has become ubiquitous in virtually all areas of the supply chain, particularly those that contribute to fraud prevention and risk management. Banks, for example, and other financial services companies [16] make extensive use of generative AI for a wide range of tasks, such as sales analysis, credit analysis, customer service, risk management, customer acquisition, uncertainty in financial decisions etc. But generative artificial intelligence is not without risk, due to the vulnerability of deep neural networks to backdoor attacks based on poisoning data during testing, In this research paper, we develop a backdoor attack [17],[18], focusing specifically on the interconnection 444interconnection of financial models using the stock price models. We are inspired by the interconnection that links stochastic financial 555Quantitative Finance models to Bayesian optimization techniques based on jumps. To this end, we use mathematical models such as stochastic investment models [19] (the VasiÄek model, the Hull-White model, the Libor market model [20] and the Longstaff-Schwartz model), coarse volatility trajectories, rough666rough volatility volatility paths ,[21],[22],[23],[24],[25],[26],[27],[28],[29],[30],[31],[32],[29],[33] , Optimal transport 777Transport Optimal in Finance [34],[35],[36], the Black-Scholes 888Black-Scholes Merton call model 999Black Scholes Merton model, Greeks computation, Dynamic Hedging 101010Dynamic Hedging: Nasdaq 111111Dynamic Hedging: Yale University [37],[38], the Bayesian sampling diffusion model, Hierarchical priors for shared information across similar parameters, the Likelihood 121212Likelihood for Hierarchical model Function with Hierarchical structure, and Bayesian optimization 131313Bayesian Optimization[39] of the given objective function, applied to daily environmental audio data, the paper focuses more on the financial aspect with the aim of presenting new models for financial analysis of stock prices by associating different financial models drawing on Bayesian optimization for optimal control of the randomness of stochastic change devices observed in stock markets such as the New York Stock Exchange, the NASDAQ, the Paris Bourse, Euronext and Bloomberg. This approach is then applied to temporal acoustic data (on various automatic speech recognition systems 141414Hugging Face Speech Recognition audio models based on āHugging Faceā Transformers [40] [41]) data in the context of a backdoor attack. Our study focuses on the feasibility and potential[42] impact of audio backdoor attacks[43],[44],[45],[46],[47] based on and exploit vulnerabilities in speech recognition systems [48],[49]. To assess the effectiveness of our āMarketBackFinal 2.0ā audio backdoor. I Data Poisoning attack Machine Learning Let =(i,yi)i=1Nsuperscriptsubscriptsubscriptsubscript1D= \ ( x_i,y_i ) \_i=1^ND = ( italic_xitalic_i , yitalic_i ) i = 1N be a clean training set, and C:ā:āabsentC:X : X ā YY denotes the functionality of the target neural network. For each sound isubscript x_iitalic_xitalic_i in DD, we have iā=[0,1]CĆWĆHsubscriptsuperscript01 x_i =[0,1]^CĆ WĆ Hitalic_xitalic_i ā X = [ 0 , 1 ]C Ć W Ć H, and yiā=1,ā¦,Jsubscript1ā¦y_i =\1,ā¦,J\yitalic_i ā Y = 1 , ⦠, J is the corresponding label, where J is the number of label classes. To launch an attack, backdoor adversaries first need to poison the selected clean samples psubscriptD_pDitalic_p with covert transformation Tā¢(ā )ā T(Ā·)T ( ā ). Then the poisoned samples are mixed with clean ones before training a backdoored model, the process of which can be formalized as: t=āŖpsubscriptsubscriptD_t=D _pDitalic_t = D āŖ Ditalic_p, where p=(xiā²,yt)ā£xā²=Tā¢(x),(xi,yi)āpformulae-sequencesubscriptconditionalsuperscriptsubscriptā²subscriptsuperscriptā²subscriptsubscriptsubscriptD_p= (x_i ,y_t ) x =T(x), (x_% i,y_i ) _pDitalic_p = ( xitalic_iā² , yitalic_t ) ⣠xā² = T ( x ) , ( xitalic_i , yitalic_i ) ā Ditalic_p. The deep neural network (DNNs) is then optimized as follows: minā¢āi=1Nbāā¢(fā¢(i;),yi)+āj=1Npāā¢(fā¢(rā²;),yt).subscriptsuperscriptsubscript1subscriptāsubscriptsubscriptsuperscriptsubscript1subscriptāsuperscriptsubscriptā²subscript _ _i=1^N_bL (f (% x_i; ),y_i )+ _j=1^N_p% L (f ( x_r ; )% ,y_t ).minbold_Ī āi = 1Nitalic_b L ( f ( italic_xitalic_i ; Ī ) , yitalic_i ) + āj = 1Nitalic_p L ( f ( italic_xitalic_rā² ; Ī ) , yitalic_t ) . where Nb=||subscriptN_b=|D|Nitalic_b = | D | , Np=|p|subscriptsubscriptN_p= |D_p |Nitalic_p = | Ditalic_p |. Figure 1: Data Poisoning. In this study [50],[51],[52],[53],[54], a scenario in which a model owner aims to train a deep learning model based on the training dataset provided by a third party (Figure 1) is considered. However, the third party can poison the training dataset to hijack the model in the future. We assume that the model owner and the trusted third party play the roles of defender and attacker, respectively, in the threat model. The threat model is shown in Figure 2. The knowledge that an attacker can access can generally be classified [55] into two categories. Figure 2: White and black box settings. In a white-box environment, the adversary understands and controls the target dataset and model, including the ability to access and modify the dataset, as well as parameters and the structure of the model. However, in the stricter framework of the black-box, the attacker is only able to manipulate part of the training data but has no knowledge of the structure and parameters of the target model, such as weights, hyperparameters, configurations, etc. Figure 2: knowledge. By deliberately misclassifying the inputs with the trigger (Figure 5) as the adversaryās intended labels, the adversary uses a backdoor approach to keep the victim model operating at a high level of accuracy on normal samples. The adversary seeks to have the target model behave as expected on benign data while operating in a way described by the adversary on samples that have been poisoned, as seen in Figure 2. A formulation of the enemyās objective is: minā³āā”āā¢(b,p,ā³ā)=subscriptsuperscriptā³āsuperscriptsuperscriptsuperscriptā³absent _M^*L (D^b,D% ^p,M^* )=mincaligraphic_Mā L ( Ditalic_b , Ditalic_p , Mā ) = āxiāblā¢(ā³āā¢(xi),yi)subscriptsubscriptsuperscriptsuperscriptā³subscriptsubscript _x_i ^bl (M^* (x_i% ),y_i )āx start_POSTSUBSCRIPT i ā Ditalic_b end_POSTSUBSCRIPT l ( Mā ( xitalic_i ) , yitalic_i ) +āxjāplā¢(ā³āā¢(xrāε),yt),subscriptsubscriptsuperscriptsuperscriptā³subscriptsubscript + _x_j ^pl (M^* (x_r% ),y_t ),+ āx start_POSTSUBSCRIPT j ā Ditalic_p end_POSTSUBSCRIPT l ( Mā ( xitalic_r ā ε ) , yitalic_t ) , where bsuperscriptD^bDitalic_b and psuperscriptD^pDitalic_p represent the benign and poisoned training datasets, respectively. The function lā¢(ā ,ā )ā l(Ā·,Ā·)l ( ā , ā ) denotes the loss function which depends on the specific task. The symbol ā ā denotes the operation of integrating the backdoor trigger (ε)( )( ε ) into the training data. I Adversarial Machine Learning in Finance via Bayesian Approach Data: T, Īø, α, β, Ļ Result: Model parameters and trace. Initialize xTsubscriptx_Txitalic_T; for tāTā1ā1tā T-1t ā T - 1 downto 00 do if t>11t>1t > 1 then zāabsentz ā Noise_dist(0)0(0)( 0 ); Else zā0ā0zā 0z ā 0; tā¢rā¢aā¢nā¢sā¢pā¢oā¢rā¢tā¢_ā¢cā¢oā¢mā¢pā¢oā¢nā¢eā¢nā¢tā_absenttransport\_component r a n s p o r t _ c o m p o n e n t ā Optimal_transport(xT,t,Īø,β,Ļ)subscript(x_T,t,Īø,β,Ļ)( xitalic_T , t , Īø , β , Ļ ); xtā1āsubscript1absentx_t-1 _t - 1 ā Normal(fā²ā¢xtā²,μ=dā¢rā¢iā¢fā¢tā¢_ā¢fā¢uā¢nā¢cā¢tā¢iā¢oā¢nā¢(xT,t,Īø,β,Ļ)+tā¢rā¢aā¢nā¢sā¢pā¢oā¢rā¢tā¢_ā¢cā¢oā¢mā¢pā¢oā¢nā¢eā¢nā¢t+Ļā¢[t]ā z,Ļ=1)formulae-sequencesuperscriptā²subscriptā²_subā delimited-[]1(f x_t ,μ=drift\_function(x_T,t,Īø,β,Ļ)+% transport\_component+Ļ[t]Ā· z,Ļ=1)( fā² xitalic_tā² , μ = d r i f t _ f u n c t i o n ( xitalic_T , t , Īø , β , Ļ ) + t r a n s p o r t _ c o m p o n e n t + Ļ [ t ] ā z , Ļ = 1 ); xTāxtā1āsubscriptsubscript1x_Tā x_t-1xitalic_T ā xitalic_t - 1; Algorithm 1 Diffusion Bayesian Optimization Data: Īø, α, β, Ļ Result: Priors for Īø, α, β, Ļ Define hierarchical priors for each parameter group; for each parameter group do if parameter group is Īø then Īøā¼ā¢(0,1)similar-to01Īø (0,1)Īø ā¼ N ( 0 , 1 ); end if else if parameter group is α then αā¼ā¢(0,1)similar-to01α (0,1)α ā¼ N ( 0 , 1 ); end if else if parameter group is β then βā¼ā¢(0,1)similar-to01β (0,1)β ā¼ N ( 0 , 1 ); end if else if parameter group is Ļ then Ļā¼ā¢(0,1)similar-to01Ļ (0,1)Ļ ā¼ N ( 0 , 1 ); end if end for Algorithm 2 Setting up hierarchical priors Data: T, S0, Ļ, γ, dt Result: paths Nālā¢eā¢nā¢(Sā¢0)ā0Nā len(S0)N ā l e n ( S 0 ) pā¢aā¢tā¢hā¢sā¢[0]āSā¢0āādelimited-[]00paths[0]ā S0p a t h s [ 0 ] ā S 0 for t=11t=1t = 1 to Tdt do dā¢Wāā¢(0,1;sā¢iā¢zā¢e=N)ā01dW (0,1;size=N)d W ā N ( 0 , 1 ; s i z e = N ) dā¢Xādā¢tā¢(γā pā¢aā¢tā¢hā¢sā¢[tā1]+Ļā dā¢W)āā ādelimited-[]1ā dXā dt(γ· paths[t-1]+ĻĀ· dW)d X ā d t ( γ ā p a t h s [ t - 1 ] + Ļ ā d W ) pā¢aā¢tā¢hā¢sā¢[t]āpā¢aā¢tā¢hā¢sā¢[tā1]+dā¢Xāādelimited-[]ādelimited-[]1paths[t]ā paths[t-1]+dXp a t h s [ t ] ā p a t h s [ t - 1 ] + d X end for return pā¢aā¢tā¢hā¢sāpathsp a t h s Algorithm 3 Simulate Rough Volatility Paths Either a portfolio Ļtsubscriptitalic-Ļ _tĻitalic_t a K+11K+1K + 1-dimensional vector ĻtāāK+1subscriptitalic-Ļsuperscriptā1 _t ^K+1Ļitalic_t ā blackboard_RK + 1. Where a portfolio Ļt=(Ļt0,ā¦,ĻtK)subscriptitalic-Ļsuperscriptsubscriptitalic-Ļ0ā¦superscriptsubscriptitalic-Ļ _t= ( _t^0,ā¦, _t^K )Ļitalic_t = ( Ļitalic_t0 , ⦠, Ļitalic_titalic_K ) gives the number Ļtksuperscriptsubscriptitalic-Ļ _t^kĻitalic_titalic_k of every security kā0,ā¦,K0ā¦kā\0,ā¦,K\k ā 0 , ⦠, K held by an agent at date t. This portfolio is then labeled Ļ1subscriptitalic-Ļ1 _1Ļ1, and has to be held during the time interval [0,1[[0,1[[ 0 , 1 [. Ļt0superscriptsubscriptitalic-Ļ0 _t^0Ļitalic_t0 represents the number of bonds in the portfolio Ļtsubscriptitalic-Ļ _tĻitalic_t at date t. The market value VtsubscriptV_tVitalic_t of a portfolio Ļtsubscriptitalic-Ļ _tĻitalic_t in S at date t is given by a function Vt:āK+1Ćā++K+1āā:subscriptāsuperscriptā1superscriptsubscriptāabsent1āV_t:R^K+1ĆR_++^K+1 _t : blackboard_RK + 1 Ć blackboard_R+ +K + 1 ā blackboard_R where, Vtā¢(Ļ,S)ā”Ļ1ā S0 for ā¢t=0Ļtā St for ā¢tā1,ā¦,Tsubscriptitalic-Ļcasesā subscriptitalic-Ļ1subscript0 for 0ā subscriptitalic-Ļsubscript for 1ā¦V_t(Ļ,S)ā” cases _1Ā· S_0& for t=0\\ _tĀ· S_t& for tā\1,ā¦,T\ casesVitalic_t ( Ļ , S ) ā” start_ROW start_CELL Ļ1 ā S0 end_CELL start_CELL for t = 0 end_CELL end_ROW start_ROW start_CELL Ļitalic_t ā Sitalic_t end_CELL start_CELL for t ā 1 , ⦠, T end_CELL end_ROW Input: Initial stock price S, strike price K, time to maturity T, risk-free interest rate r, volatility Ļ Output: Call option price d1=lnā”(SK)+(r+12ā¢Ļ2)ā¢TĻā¢Tsubscript112superscript2d_1= ( SK )+ (r+ 12Ļ^2 )T% Ļ Td1 = divide start_ARG ln ( divide start_ARG S end_ARG start_ARG K end_ARG ) + ( r + divide start_ARG 1 end_ARG start_ARG 2 end_ARG Ļ2 ) T end_ARG start_ARG Ļ square-root start_ARG T end_ARG end_ARG d2=d1āĻā¢Tsubscript2subscript1d_2=d_1-Ļ Td2 = d1 - Ļ square-root start_ARG T end_ARG cā¢aā¢lā¢lā¢_ā¢pā¢rā¢iā¢cā¢e=Sā Nā¢(d1)āKā eārā¢Tā Nā¢(d2)_ā subscript1ā superscriptsubscript2call\_price=SĀ· N(d_1)-KĀ· e^-rTĀ· N(d_2)c a l l _ p r i c e = S ā N ( d1 ) - K ā e- r T ā N ( d2 ) return cā¢aā¢lā¢lā¢_ā¢pā¢rā¢iā¢cā¢e_call\_pricec a l l _ p r i c e Algorithm 4 Calculate Call Option Price Data: xTsubscriptx_Txitalic_T, t, Īø, μ, Ļ Result: Deterministic movement. mā¢oā¢vā¢eā¢mā¢eā¢nā¢t=Īøā (μāxT)+Ļā 1Īøā¢(1āeāĪøā t)ā ā¢(0, 1)ā subscriptā 11superscriptā 01movement=ĪøĀ·(μ-x_T)+ĻĀ· 1Īø (1-e^-% ĪøĀ· t )Ā·N(0,\,1)m o v e m e n t = Īø ā ( μ - xitalic_T ) + Ļ ā square-root start_ARG divide start_ARG 1 end_ARG start_ARG Īø end_ARG ( 1 - e- Īø ā t ) end_ARG ā N ( 0 , 1 ); return mā¢oā¢vā¢eā¢mā¢eā¢nā¢tmovementm o v e m e n t; Algorithm 5 Optimal Transport Input: Initial portfolio value, Stock price S, strike price K, time to maturity T, risk-free interest rate r, volatility Ļ, time step dā¢tdtd t Output: Final portfolio value after hedging. Initialize Ī“,γ,ĪøĪ“,γ,ĪøĪ“ , γ , Īø using calculate_greeks(S, K, T, r, Ļ) for t=00t=0t = 0 to T/dā¢tT/dtT / d t do Simulate Snā¢eā¢w=S+Nā¢(0,Ļā¢dā¢t)ā¢Ssubscript0S_new=S+N(0,Ļ dt)SSitalic_n e w = S + N ( 0 , Ļ d t ) S Recalculate Ī“nā¢eā¢w,Īønā¢eā¢wsubscriptsubscript _new, _newĪ“italic_n e w , Īøitalic_n e w using calculate_greeks(Snā¢eā¢wsubscriptS_newSitalic_n e w, K, T, r, Ļ) Adjust portfolio: pā¢oā¢rā¢tā¢fā¢oā¢lā¢iā¢oā¢_ā¢aā¢dā¢jā¢uā¢sā¢tā¢mā¢eā¢nā¢t=Ī“nā¢eā¢wā¢(Snā¢eā¢wāS)+γā¢(Snā¢eā¢wāS)2_subscriptsubscriptsuperscriptsubscript2portfolio\_adjustment= _new(S_new-S)+γ(S_new-S)^2p o r t f o l i o _ a d j u s t m e n t = Ī“italic_n e w ( Sitalic_n e w - S ) + γ ( Sitalic_n e w - S )2 Update S=Snā¢eā¢wsubscriptS=S_newS = Sitalic_n e w and initial_portfolio_value += pā¢oā¢rā¢tā¢fā¢oā¢lā¢iā¢oā¢_ā¢aā¢dā¢jā¢uā¢sā¢tā¢mā¢eā¢nā¢t_portfolio\_adjustmentp o r t f o l i o _ a d j u s t m e n t end for return initial_portfolio_value Algorithm 6 Dynamic Hedging Input: Stock price S, strike price K, time to maturity T, risk-free interest rate r, volatility Ļ Output: Delta, Gamma, Theta cā¢aā¢lā¢lā¢_ā¢pā¢rā¢iā¢cā¢e=black_scholes_merton_callā¢(S,K,T,r,Ļ)_black_scholes_merton_callcall\_price= black\_scholes\_merton\_call(S,K,T,r,Ļ)c a l l _ p r i c e = black_scholes_merton_call ( S , K , T , r , Ļ ) d1=lnā”(SK)+(r+12ā¢Ļ2)ā¢TĻā¢Tsubscript112superscript2d_1= ( SK )+ (r+ 12Ļ^2 )T% Ļ Td1 = divide start_ARG ln ( divide start_ARG S end_ARG start_ARG K end_ARG ) + ( r + divide start_ARG 1 end_ARG start_ARG 2 end_ARG Ļ2 ) T end_ARG start_ARG Ļ square-root start_ARG T end_ARG end_ARG d2=d1āĻā¢Tsubscript2subscript1d_2=d_1-Ļ Td2 = d1 - Ļ square-root start_ARG T end_ARG Ī“=Nā¢(d1)subscript1Ī“=N(d_1)Ī“ = N ( d1 ) γ=Nā²ā¢(d1)ā¢Sā¢Ļā¢T1superscriptā²subscript11γ=N (d_1) SĻ T1γ = Nā² ( d1 ) divide start_ARG S Ļ square-root start_ARG T end_ARG end_ARG start_ARG 1 end_ARG Īø=ā0.5ā¢Ļ2ā¢Sā¢Tā¢Nā²ā¢(d1)ārā¢Kā eārā¢Tā¢Nā¢(d2)0.5superscript2superscriptā²subscript1ā superscriptsubscript2Īø=-0.5Ļ^2STN (d_1)-rKĀ· e^-rTN(d_2)Īø = - 0.5 Ļ2 S T Nā² ( d1 ) - r K ā e- r T N ( d2 ) Vā¢eā¢gā¢a=Sā Tā norm.pdfā¢(d1)ā norm.pdfsubscript1Vega=SĀ· TĀ·norm.pdf(d_1)V e g a = S ā square-root start_ARG T end_ARG ā norm.pdf ( d1 ) Ļ=Kā eārā¢Tā norm.cdfā¢(d2)ā superscriptnorm.cdfsubscript2Ļ=KĀ· e^-rTĀ·norm.cdf(d_2)Ļ = K ā e- r T ā norm.cdf ( d2 ) return Ī“,γ,ĪøĪ“,γ,ĪøĪ“ , γ , Īø Algorithm 7 Calculate Greeks Input: Objective function fā¢(x)f(x)f ( x ), Bounds B Output: Optimized parameters xāsuperscriptx^*xā, Best value vāsuperscriptv^*vā Initialize Bayesian optimizer with f and B while Stopping criterion not met do Sample x from the prior distribution Evaluate fā¢(x)f(x)f ( x ) Update the posterior distribution based on fā¢(x)f(x)f ( x ) Select next query point xā² based on acquisition function Evaluate fā¢(xā²)superscriptā²f(x )f ( xā² ) Update the best known value vāsuperscriptv^*vā and corresponding parameters xāsuperscriptx^*xā end while Return xāsuperscriptx^*xā and vāsuperscriptv^*vā Algorithm 8 Bayesian Optimization Process I-A Bayesian optimization formalization. Formally, the purpose of BO (Bayesian-Optimization) [56],[57] is to retrieve the optimum āsuperscriptāx xā of a black-box function (Figure 4) fā¢()f(x)f ( x ) where āx ā X and XX is the input space where fā¢()f(x)f ( x ) can be observed. We want to retrieve āsuperscriptāx xā such that, ā=argā”mināā”fā¢(),superscriptāsubscriptx = _x f(x),xā = arg minbold_x ā X f ( x ) , assuming minimization (or maximization): We can define a BO method by, =(ā³,αā¢(ā ),pā¢(fā¢()ā£)),ā³ā conditionalA=(M,α(Ā·),p(f(x) )),A = ( M , α ( ā ) , p ( f ( x ) ⣠D ) ) , where fā¢()f(x)f ( x ) is the black-box that we want to optimize (Figure 3), ā³MM is a probabilistic surrogate model, αā¢(ā )ā α(Ā·)α ( ā ) is an acquisition, or decision, function, and pā¢(fā¢()ā£)conditionalp(f(x) )p ( f ( x ) ⣠D ) is a predictive distribution of the observation of xx and =(i,yi)ā£i=1,ā¦,tconditional-setsubscriptsubscript1ā¦D= \ (x_i,y_i ) i=1,ā¦,t \D = ( xitalic_i , yitalic_i ) ⣠i = 1 , ⦠, t is the dataset of previous observations (Figure 4) at iteration t. Figure 3: Bayesian optimization. Figure 4: pairplot. IV MarketBackFinal 2.0: Attack Scenario. āMarketBackFinal 2.0ā is a technique that implements a poisoning attack with a āclean-label backdoorā [58],[59],[60],[61],[62],[63],[64]. Contains methods such as āstochastic investments modelsā, rough volatility [65] algorithm 3, optimal transport algorithm 5 (calculating the deterministic movement (transport component) based on the state and time), and dynamic hedging algorithm 6 (which takes as calculate Call Option Price algorithm 4 and calculate Greeks algorithm 7), Bayesian Optimization Process algorithm 8, Diffusion Bayesian Optimization algorithm 1 (which takes as setting up hierarchical priors algorithm 2 ) to apply the attack to the audio data, Bayesian style is implemented using a āpriorā (Bayesian optimization over the given objective function) and the BO 151515bayesian-optimization framework with drifts functions including Diffusion Bayesian Optimization. Thanks to this technique, process volatility effects in the drift function (incorporating the transport component into the drift functions) are used for sampling to obtain and define the prior distribution, and a diffusion technique is then applied, which implements a diffusion-based sampling technique to generate a sequence of samples as a function of certain parameters and a noise distribution. The Bayesian method integrates the drift function into the Bayesian model in the āMarketBackFinal 2.0ā method while using a NUTS method for sampling (efficient sampling with adaptive step size Hamiltonian Monte Carlo). Given a time step T and a set of parameters α,β,Ļ,θα,β,Ļ,θα , β , Ļ , Īø, the method generates a new data point xTsubscriptx_Txitalic_T based on the current state xTā1subscript1x_T-1xitalic_T - 1 and the noise distribution sā¢iā¢nā¢(x)sin(x)s i n ( x ). The results are available on ART.1.18; link: https://github.com/Trusted-AI/adversarial-robustness-toolbox/pull/2467. V Experimental results V-A Datasets Descritpion. We use the ESC-50 environmental dataset [66], the dataset ESC-50 (environmental), is a labeled collection of 2,000 environmental sounds, which comprises five-second recordings sorted into 50 semantic categories (with 40 examples per category) that are further divided into five main groups: animals; natural soundscapes and water sounds; humans, non-vocal sounds; indoor/domestic sounds; and outdoor/urban sounds. The audio tracks from the various datasets were pre-processed using the librosa161616Librosa package in Python, which extracts spectrogram features from the audio tracks. For our methods, we used the extracted features and spectrogram images. V-B Victim models. Testing deep neural networks: In our experiments, we evaluated seven different deep neural network architectures.171717Transformers (Hugging Face) ) proposed in the literature for speech recognition. In particular, we used a Whisper (OpenAI) described in [67], an facebook/w2v-bert-2.0 (Facebook) described in [68], facebook/mms-1b-all described in [69], an wav2vec 2.0 described in [70], an Data2vec described in [71], an HuBERT described in [72] and a Speech Encoder Decoder Models described in [73]. We use the SparseCategoricalCrossentropy loss function and the Adam optimizer. The learning rates for all models are set to 0.1. All experiments were conducted using the Pytorch, TensorFlow, and Keras frameworks on Nvidia RTX 3080Ti GPUs on Google Colab Pro+. V-C Evaluation Metrics. To measure the performance of backdoor attacks Figure 5, two common metrics are used [74] [75]: benign accuracy (BA) and attack success rate (ASR). BA measures the classifierās accuracy on clean (benign) test examples. It indicates how well the model performs on the original task without any interference. ASR, in turn, measures the success of the backdoor attack, i.e., in causing the model to misclassify poisoned test examples. It indicates the percentage of poisoned examples that are classified as the target label (ā3ā in our case) by the poisoned classifier. Formally, it can be expressed as: Aā¢Sā¢R=āi=1Nā¢(ā³āā¢(xiāε)=yt)N,superscriptsubscript1superscriptā³subscriptsubscriptASR= _i=1^NI (M^* (x_i % )=y_t )N,A S R = divide start_ARG āi = 1N blackboard_I ( Mā ( xitalic_i ā ε ) = yitalic_t ) end_ARG start_ARG N end_ARG , where ā¢(ā )ā I(Ā·)blackboard_I ( ā ) is the indicator function, ā³āsuperscriptā³M^*Mā is the target model, and xiāεsubscriptx_i _i ā ε and ytsubscripty_tyitalic_t denote the poisoned sample and target label, respectively. Bā¢A=āi=1Mā¢(ā³āā¢(xi)=yi)Msuperscriptsubscript1superscriptā³subscriptsubscriptBA= _i=1^MI (M^* (x_i )=y_i% )MB A = divide start_ARG āi = 1M blackboard_I ( Mā ( xitalic_i ) = yitalic_i ) end_ARG start_ARG M end_ARG Figure 5: Illustrates the execution process of a backdoor attack. Table I: Performance comparison of backdoored models. Hugging Face Models Benign Accuracy (BA) Attack Success Rate (ASR) wav2vec 2.0 94.73% 100% whisper (OpenAI) 95.03% 100% HuBERT 95.21% 100% facebook/w2v-bert-2.0(Facebook) 98.96% 100% facebook/mms-1b-all 93.31% 100% Speech Encoder Decoder 96.12% 100% Data2vec 99.12% 100% 2 ESC-50 environmental dataset. Table I presents the different results obtained using our backdoor attack approach (MarketBackFinal 2.0) on pre-trained models (transformers 181818Hugging Face Transformers available on Hugging Face). We can see that our backdoor attack easily manages to mislead these models (readers are invited to test 191919code available on ART.1.18 IBM), other Hugging Face models; as far as we know, weāve managed to fool almost all these models. V-D Characterizing the effectiveness of MarketBackFinal 2.0. Figure 6: The top graphs show three distinct clean spectrograms (for each genre with its unique ID (sound)), and the bottom graphs show their respective (backdoored) equivalents (by MarketBackFinal 2.0) (which predict the label set by the attacker, i.e., 3), with decisions taken by the whisper (OpenAI) model (table I). Figure 7: Dataset ESC 50: Backdoor attack (MarketBackFinal 2.0) Hull White model bayesian optimization. Table I). Figure 8: ESC-50: Backdoor attack (MarketBackFinal 2.0) VasiÄek model bayesian optimization. Table I). Figure 9: ESC-50: Backdoor attack (MarketBackFinal 2.0) Longstaff-Schwartz model bayesian optimization. Table I). Figure 10: ESC-50: Backdoor attack (MarketBackFinal 2.0) Libor market model bayesian optimization. Table I). V-E Bayesian dynamic hedging via stochastic investment models . Figure 11: ESC-50: Backdoor attack (MarketBackFinal 2.0) dynamic hedging by bayesian optimization. Table I). Figure 12: ESC-50: Backdoor attack (MarketBackFinal 2.0) Call Option Price by bayesian optimization. Table I). V-F Financial Modeling Using Various Inversion Models via Diffusion Drift Optimized by Bayesian Simulation. Figure 13: Dynamic Hedging: Hull White model. Figure 14: Dynamic Hedging: VasiÄek model. Figure 15: Dynamic Hedging: Longstaff-Schwartz model. Figure 16: Dynamic Hedging: Libor market model. Conclusions The weaknesses of transformer-based generative artificial [76] intelligence models are the main subject of this work, which also showcases a new financial simulation tool. A clean-label backdoor and poisoning attack specifically designed for financial modeling [77],[78] using various inversion models via diffusion drift optimized by Bayesian[79],[80], [81],[82],[83] simulation is known as āMarketBackFinal 2.0,ā and it is one of the attack methods developed (Figure 17) in this article. Function simulations utilize hierarchical hypothesis parameters. With the primary goal of using them with financial data, this article concentrates on the development of new financial simulation tools. In order to ensure that the approach method operates as intended, temporal acoustic data obtained through a backdoor attacks is used for validation. Audio backdoor attacks [84], [85],[86], [87], [88],[89], based on Bayesian transformations (using a drift function via stochastic investment model effects for sampling [90]) based on a diffusion model approach [91] (which adds noise). The study results help to understand the potential but also the risks and vulnerabilities to which pre-trained advanced DNN models are exposed via malicious audio manipulation to ensure the security and reliability of automatic speech recognition audio models. MarketBackFinal 2.0 exposes vulnerabilities arising from the diffusion models developed in [92], [93], [94], [95], [96],[6],[97],[89]. Figure 17: 3D visualization surface Financial understanding of the concepts of Stock market Concepts of LIBOR Market. Definition .1 (LIBOR Market). The Ī“isubscript _iĪ“italic_i-forward-LIBOR rate Liā¢(t)subscriptL_i(t)Litalic_i ( t ) is the simple yield for the time interval [tiā1,ti]subscript1subscript [t_i-1,t_i ][ titalic_i - 1 , titalic_i ], i.e. with Ī“i=tiātiā1subscriptsubscriptsubscript1 _i=t_i-t_i-1Ī“italic_i = titalic_i - titalic_i - 1 we define: Liā¢(t)=Lā¢(t;tiā1,ti)=1Ī“iā¢Pā¢(t,tiā1)āPā¢(t,ti)Pā¢(t,ti).subscriptsubscript1subscript1subscriptsubscript1subscriptsubscript aligned L_i(t)=L (t;t_i-1,t_i )= 1% _i P (t,t_i-1 )-P (t,t_i )P (t,t_i% ). alignedstart_ROW start_CELL Litalic_i ( t ) = L ( t ; titalic_i - 1 , titalic_i ) = divide start_ARG 1 end_ARG start_ARG Ī“italic_i end_ARG divide start_ARG P ( t , titalic_i - 1 ) - P ( t , titalic_i ) end_ARG start_ARG P ( t , titalic_i ) end_ARG . end_CELL end_ROW By the definition of the tisubscriptt_ititalic_i-forward measure āi:=ātiassignsubscriptāsubscriptāsubscriptQ_i:=Q_t_iblackboard_Qi := blackboard_Qt start_POSTSUBSCRIPT i end_POSTSUBSCRIPT, Liā¢(t)subscriptL_i(t)Litalic_i ( t ) is a āisubscriptāQ_iblackboard_Qi-martingale. Thus, it is an immediate consequence that if we want to model log-normal forward-LIBOR rates in a diffusion setting, we have to choose the following dynamics under āisubscriptāQ_iblackboard_Qi : dā¢Liā¢(t)=Liā¢(t)ā¢Ļiā¢(t)ā¢dā¢Wiā¢(t),subscriptsubscriptsubscriptsubscriptdL_i(t)=L_i(t) _i(t)dW_i(t),d Litalic_i ( t ) = Litalic_i ( t ) Ļitalic_i ( t ) d Witalic_i ( t ) , Here, Wi(W_i(Witalic_i (.)))) is a (for the moment one-dimensional) āisubscriptāQ_iblackboard_Qi-Brownian motion, Ļiā¢(t)subscript _i(t)Ļitalic_i ( t ) a bounded and deterministic function. Remark. The risk-free deposit rates DsisuperscriptsubscriptD_s^iDitalic_sitalic_i for deposits between tisubscriptt_ititalic_i and ti+1subscript1t_i+1titalic_i + 1 are defined by, 1+Ī“iā¢Dsi=PDā¢(s,ti)PDā¢(s,ti+1).1subscriptsuperscriptsubscriptsuperscriptsubscriptsuperscriptsubscript11+ _iD_s^i= P^D (s,t_i )P^D (s,t_i+1% ).1 + Ī“italic_i Ditalic_sitalic_i = divide start_ARG Pitalic_D ( s , titalic_i ) end_ARG start_ARG Pitalic_D ( s , titalic_i + 1 ) end_ARG . The factors Ī“isubscript _iĪ“italic_i are the accrual factors or day count fractions and represent the fraction of the year spanned by the interval [ti,ti+1]subscriptsubscript1 [t_i,t_i+1 ][ titalic_i , titalic_i + 1 ] . dā¢Dtj=γjā¢(Dtj,t)ā dā¢Wtj+1superscriptsubscriptā subscriptsuperscriptsubscriptsuperscriptsubscript1dD_t^j= _j (D_t^j,t )Ā· dW_t^j+1d Ditalic_titalic_j = γitalic_j ( Ditalic_titalic_j , t ) ā d Witalic_titalic_j + 1 γjā¢(0ā¤jā¤nā1)subscript01 _j(0⤠j⤠n-1)γitalic_j ( 0 ⤠j ⤠n - 1 ) are m-dimensional functions. The Brownian motion change between the NtsubscriptN_tNitalic_t and the PDā¢(t,tj+1)superscriptsubscript1P^D (t,t_j+1 )Pitalic_D ( t , titalic_j + 1 ) is given by, dā¢Wtj+1=dā¢Wt+νā¢(t,tj+1)ā¢dā¢t.superscriptsubscript1subscriptsubscript1dW_t^j+1=dW_t+ν (t,t_j+1 )dt.d Witalic_titalic_j + 1 = d Witalic_t + ν ( t , titalic_j + 1 ) d t . νā¢(t,tj+1)āνā¢(t,tj)subscript1subscriptν (t,t_j+1 )-ν (t,t_j )ν ( t , titalic_j + 1 ) - ν ( t , titalic_j ) can be written [98] as: νā¢(t,tj+1)āνā¢(t,tj)=1Dtj+1Ī“jā¢Ī³jā¢(Dtj,t)subscript1subscript1superscriptsubscript1subscriptsubscriptsuperscriptsubscriptν (t,t_j+1 )-ν (t,t_j )= 1D_t^j+ 1% _j _j (D_t^j,t )ν ( t , titalic_j + 1 ) - ν ( t , titalic_j ) = divide start_ARG 1 end_ARG start_ARG Ditalic_titalic_j + divide start_ARG 1 end_ARG start_ARG Ī“italic_j end_ARG end_ARG γitalic_j ( Ditalic_titalic_j , t ) dā¢Wtj+1=āāi=j+1nā11Dti+1Ī“iā¢Ī³iā¢(Dti,t)ā¢dā¢t+dā¢Wtn.superscriptsubscript1superscriptsubscript111superscriptsubscript1subscriptsubscriptsuperscriptsubscriptsuperscriptsubscriptdW_t^j+1=- _i=j+1^n-1 1D_t^i+ 1 _iγ% _i (D_t^i,t )dt+dW_t^n.d Witalic_titalic_j + 1 = - āi = j + 1n - 1 divide start_ARG 1 end_ARG start_ARG Ditalic_titalic_i + divide start_ARG 1 end_ARG start_ARG Ī“italic_i end_ARG end_ARG γitalic_i ( Ditalic_titalic_i , t ) d t + d Witalic_titalic_n . dā¢Ltj=ā(āi=j+1nā11Dti+1Ī“iā¢Ī³iā¢(Dti,t)ā γjā¢(Dtj,t))ā¢dā¢t+γjā¢(Dtj,t)ā dā¢Wtn.superscriptsubscriptlimit-fromsuperscriptsubscript11ā 1superscriptsubscript1subscriptsubscriptsuperscriptsubscriptsubscriptsuperscriptsubscriptā subscriptsuperscriptsubscriptsuperscriptsubscript aligned dL_t^j=- ( _i=j+1^n-1 1D_t% ^i+ 1 _i _i (D_t^i,t )Ā· _j% (D_t^j,t ) )dt+\\ _j (D_t^j,t )Ā· dW_t^n. alignedstart_ROW start_CELL d Litalic_titalic_j = - ( āi = j + 1n - 1 divide start_ARG 1 end_ARG start_ARG Ditalic_titalic_i + divide start_ARG 1 end_ARG start_ARG Ī“italic_i end_ARG end_ARG γitalic_i ( Ditalic_titalic_i , t ) ā γitalic_j ( Ditalic_titalic_j , t ) ) d t + end_CELL end_ROW start_ROW start_CELL γitalic_j ( Ditalic_titalic_j , t ) ā d Witalic_titalic_n . end_CELL end_ROW by incorporating a diffusion approximation with aiā¤1/Ī“isubscript1subscripta_i⤠1/ _iaitalic_i ⤠1 / Ī“italic_i we have, γjā¢(D,t)=αā¢(t)ā¢(D+aj)ā¢Ī³jsubscriptsubscriptsubscript _j(D,t)=α(t) (D+a_j ) _jγitalic_j ( D , t ) = α ( t ) ( D + aitalic_j ) γitalic_j dā¢Dtj=āα2ā¢(t)ā¢(āi=j+1nā1Dti+aiDti+1Ī“iā¢Ī³iā γj)ā¢(Dtj+aj)ā¢dā¢t+αā¢(t)ā¢(Dtj+aj)ā¢Ī³jā dā¢Wtn.superscriptsubscriptlimit-fromsuperscript2superscriptsubscript11ā superscriptsubscriptsubscriptsuperscriptsubscript1subscriptsubscriptsubscriptsuperscriptsubscriptsubscriptā superscriptsubscriptsubscriptsubscriptsuperscriptsubscript aligned dD_t^j=-α^2(t) ( _i=j+1^n-1% D_t^i+a_iD_t^i+ 1 _i _iĀ· _j% ) (D_t^j+a_j )dt+\\ α(t) (D_t^j+a_j ) _jĀ· dW_t^n. alignedstart_ROW start_CELL d Ditalic_titalic_j = - α2 ( t ) ( āi = j + 1n - 1 divide start_ARG Ditalic_titalic_i + aitalic_i end_ARG start_ARG Ditalic_titalic_i + divide start_ARG 1 end_ARG start_ARG Ī“italic_i end_ARG end_ARG γitalic_i ā γitalic_j ) ( Ditalic_titalic_j + aitalic_j ) d t + end_CELL end_ROW start_ROW start_CELL α ( t ) ( Ditalic_titalic_j + aitalic_j ) γitalic_j ā d Witalic_titalic_n . end_CELL end_ROW with α a deterministic scalar function, a a constant vector of dimension n and (γj)j=1,ā¦,nsubscriptsubscript1⦠( _j )_j=1,ā¦,n( γitalic_j )j = 1 , ⦠, n vectors of dimension m. Theorem 1. Cap pricing and the Black formula, for i=1,ā¦,N1ā¦i=1,ā¦,Ni = 1 , ⦠, N the Ī“isubscript _iĪ“italic_i forward-LIBOR rates satisfy, dā¢Liā¢(t)=Liā¢(t)ā¢Ļiā¢(t)ā¢dā¢Wiā¢(t),t<ti.formulae-sequencesubscriptsubscriptsubscriptsubscriptsubscriptdL_i(t)=L_i(t) _i(t)dW_i(t),t<t_i.d Litalic_i ( t ) = Litalic_i ( t ) Ļitalic_i ( t ) d Witalic_i ( t ) , t < titalic_i . (a) Then todayās price Ciā¢(t,Ļiā¢(t))subscriptsubscriptC_i (t, _i(t) )Citalic_i ( t , Ļitalic_i ( t ) ) of a caplet maturing at time tisubscriptt_ititalic_i with a payment of Ī“iā (Liā¢(ti)āL)+ā subscriptsuperscriptsubscriptsubscript _iĀ· (L_i (t_i )-L )^+Ī“italic_i ā ( Litalic_i ( titalic_i ) - L )+is given by, Ciā¢(t,Ļiā¢(t))=Ī“iā¢Pā¢(t,ti)ā¢[Liā¢(t)ā¢Ī¦ā¢(d1ā¢(t))āLā¢Ī¦ā¢(d2ā¢(t))],d1ā¢(t)=lnā”(Liā¢(t)L)+12ā¢ĻĀÆi2ā¢(t)ĻĀÆiā¢(t),d2ā¢(t)=d1ā¢(t)āĻĀÆiā¢(t),ĻĀÆi2ā¢(t)=ā«ttiā1Ļ2ā¢(s)ā¢s.subscriptsubscriptsubscriptsubscriptdelimited-[]subscriptΦsubscript1Φsubscript2formulae-sequencesubscript1subscript12superscriptsubscriptĀÆ2subscriptĀÆsubscript2subscript1subscriptĀÆsuperscriptsubscriptĀÆ2superscriptsubscriptsubscript1superscript2differential-d aligned C_i (t, _i(t) )= _iP% (t,t_i ) [L_i(t) (d_1(t) )-L (d_2(t% ) ) ],\\ d_1(t)= ( L_i(t)L )+ 12 Ļ_i^% 2(t) Ļ_i(t),d_2(t)=d_1(t)- Ļ_i(t),\\ Ļ_i^2(t)= _t^t_i-1Ļ^2(s)ds. alignedstart_ROW start_CELL Citalic_i ( t , Ļitalic_i ( t ) ) = Ī“italic_i P ( t , titalic_i ) [ Litalic_i ( t ) Φ ( d1 ( t ) ) - L Φ ( d2 ( t ) ) ] , end_CELL end_ROW start_ROW start_CELL d1 ( t ) = divide start_ARG ln ( divide start_ARG Litalic_i ( t ) end_ARG start_ARG L end_ARG ) + divide start_ARG 1 end_ARG start_ARG 2 end_ARG overĀÆ start_ARG Ļ end_ARGi2 ( t ) end_ARG start_ARG overĀÆ start_ARG Ļ end_ARGi ( t ) end_ARG , d2 ( t ) = d1 ( t ) - overĀÆ start_ARG Ļ end_ARGi ( t ) , end_CELL end_ROW start_ROW start_CELL overĀÆ start_ARG Ļ end_ARGi2 ( t ) = ā«titalic_titalic_i - 1 Ļ2 ( s ) d s . end_CELL end_ROW (b) Todayās price of a cap in the forward-LIBOR model CapFā¢Lā”(t;V,L)subscriptCapCap_FL(t;V,L)Capitalic_F L ( t ; V , L ) with payment times t1<ā¦<tNsubscript1ā¦subscriptt_1<ā¦<t_Nt1 < ⦠< titalic_N and level L is given by, CapFā¢Lā”(t;V,L)=Vā āi=1NCiā¢(t,Ļiā¢(t)).subscriptCapā superscriptsubscript1subscriptsubscriptCap_FL(t;V,L)=VĀ· _i=1^NC_i (t, _i(t)% ).Capitalic_F L ( t ; V , L ) = V ā āi = 1N Citalic_i ( t , Ļitalic_i ( t ) ) . In particular, if all volatility processes satisfy Ļiā¢(t)=Ļsubscript _i(t)=Ļitalic_i ( t ) = Ļ for some positive constant Ļ then we have CapFā¢Lā”(t;V,L)=CapBlack ā”(t,V,L,Ļ),subscriptCapsubscriptCapBlack Cap_FL(t;V,L)=Cap_Black (t,V,L,Ļ),Capitalic_F L ( t ; V , L ) = CapBlack ( t , V , L , Ļ ) , i.e. the price of the cap equals the one obtained with the Black formula. Concepts of hedging. For hedging 202020Hedging concepts and risk management, the delta [99],[100] Ī=āVāSĪ = ā Vā SĪ = divide start_ARG ā V end_ARG start_ARG ā S end_ARG, i.e., the first partial derivative of the optionās value with respect to the index level: For the Greeks of a European call option. Ī=āCāS=Nā¢(d1)Īsubscript1 = ā Cā S=N (d_1 )Ī = divide start_ARG ā C end_ARG start_ARG ā S end_ARG = N ( d1 ) The gamma is the second partial derivative with respect to the index level, γ=ā2CāS2=Nā²ā¢(d1)Sā¢Ļā¢Tātsuperscript2superscript2superscriptā²subscript1γ= ā^2Cā S^2= N (d_1 )% SĻ T-tγ = divide start_ARG ā2 C end_ARG start_ARG ā S2 end_ARG = divide start_ARG Nā² ( d1 ) end_ARG start_ARG S Ļ square-root start_ARG T - t end_ARG end_ARG The theta of an option is, by convention, the negative first partial derivative with respect to time-to-maturity tā=Tātsuperscriptt^*=T-tā = T - t Īø=āāCātā=āSā¢Nā²ā¢(d1)ā¢Ļ2ā¢Tātārā¢eārā¢(Tāt)ā¢Kā¢Nā¢(d2)superscriptsuperscriptā²subscript12superscriptsubscript2Īø=- ā Cā t^*=- SN (d_1 )% Ļ2 T-t-re^-r(T-t)KN (d_2 )Īø = - divide start_ARG ā C end_ARG start_ARG ā tā end_ARG = - divide start_ARG S Nā² ( d1 ) Ļ end_ARG start_ARG 2 square-root start_ARG T - t end_ARG end_ARG - r e- r ( T - t ) K N ( d2 ) The rho of an option is the first partial derivative with respect to the short rate r Ļ=āCār=Kā¢(Tāt)ā¢eārā¢(Tāt)ā¢Nā¢(d2)superscriptsubscript2Ļ= ā Cā r=K(T-t)e^-r(T-t)N (d_2 )Ļ = divide start_ARG ā C end_ARG start_ARG ā r end_ARG = K ( T - t ) e- r ( T - t ) N ( d2 ) The vega-which is obviously not a Greek letter-is the first partial derivative with respect to the volatility Ļ, =āCāĻ=Sā¢Nā²ā¢(d1)ā¢Tātsuperscriptā²subscript1vega= ā CāĻ=SN (d_1 )% T-tvega = divide start_ARG ā C end_ARG start_ARG ā Ļ end_ARG = S Nā² ( d1 ) square-root start_ARG T - t end_ARG Hedging dynamics can be defined as: ĪtPā”āPtāStsuperscriptsubscriptĪsubscriptsubscript _t^Pā” ā P_tā S_tĪitalic_titalic_P ā” divide start_ARG ā Pitalic_t end_ARG start_ARG ā Sitalic_t end_ARG dā¢PtāĪtPā¢dā¢St=0subscriptsuperscriptsubscriptĪsubscript0dP_t- _t^PdS_t=0d Pitalic_t - Īitalic_titalic_P d Sitalic_t = 0 Investment banks are also often interested in replicating the payoff of such a put (or another option). This is accomplished by setting up a replication portfolio consisting of ĪtPsuperscriptsubscriptĪ _t^PĪitalic_titalic_P units of the underlying and γtā”PtāĪtPā¢StsubscriptsubscriptsuperscriptsubscriptĪsubscript _tā” P_t- _t^PS_tγitalic_t ā” Pitalic_t - Īitalic_titalic_P Sitalic_t units of the risk-less bond BtsubscriptB_tBitalic_t such that the resulting portfolio value equals the option value at any time t, Pt=ĪtPā¢St+γtā¢BtsubscriptsuperscriptsubscriptĪsubscriptsubscriptsubscriptP_t= _t^PS_t+ _tB_tPitalic_t = Īitalic_titalic_P Sitalic_t + γitalic_t Bitalic_t or dā¢Pt=ĪtPā¢dā¢St+γtā¢dā¢BtsubscriptsuperscriptsubscriptĪsubscriptsubscriptsubscriptdP_t= _t^PdS_t+ _tdB_td Pitalic_t = Īitalic_titalic_P d Sitalic_t + γitalic_t d Bitalic_t For a plain vanilla put option this generally implies being short the underlying (ĪtP<0)superscriptsubscriptĪ0 ( _t^P<0 )( Īitalic_titalic_P < 0 ) and long the bond. For a call option (ĪtC>0)superscriptsubscriptĪ0 ( _t^C>0 )( Īitalic_titalic_C > 0 ) this implies the opposite. A replication strategy (ĪtP,γt),tā0,ā¦,ĻāĪā¢tsuperscriptsubscriptĪsubscript0ā¦Ī ( _t^P, _t ),tā\0,ā¦,Ļ- t\( Īitalic_titalic_P , γitalic_t ) , t ā 0 , ⦠, Ļ - Ī t , is called self-financing if for t>00t>0t > 0 and Ļ being the exercise date (i.e, Ļ=TĻ=TĻ = T for a European option) ĪtPā¢St+γtā¢Bt=ĪtāĪā¢tPā¢St+γtāĪā¢tā¢Bt.superscriptsubscriptĪsubscriptsubscriptsubscriptsuperscriptsubscriptĪsubscriptsubscriptĪsubscript _t^PS_t+ _tB_t= _t- t^PS_t+ _t-% tB_t.Īitalic_titalic_P Sitalic_t + γitalic_t Bitalic_t = Īitalic_t - Ī titalic_P Sitalic_t + γitalic_t - Ī t Bitalic_t . Self-financing: The value VtsubscriptV_tVitalic_t of a portfolio containing Ļtsubscript _tĻitalic_t units of bonds and Ļt=(Ļt,1,ā¦,Ļt,m)ā¤subscriptitalic-Ļsuperscriptsubscriptitalic-Ļ1ā¦subscriptitalic-Ļtop _t= ( _t,1,ā¦, _t,m ) Ļitalic_t = ( Ļitalic_t , 1 , ⦠, Ļitalic_t , m )⤠units of various stocks at a given time t is given by Vt=Btā¢Ļt+āi=1mĻt,iā¢St,i=Btā¢Ļt+Ļtā¤ā¢t.subscriptsubscriptsubscriptsuperscriptsubscript1subscriptitalic-Ļsubscriptsubscriptsubscriptsuperscriptsubscriptitalic-ĻtopsubscriptV_t=B_t _t+ _i=1^m _t,iS_t,i=B_t _t+ _t^% S_t.Vitalic_t = Bitalic_t Ļitalic_t + āi = 1m Ļitalic_t , i Sitalic_t , i = Bitalic_t Ļitalic_t + Ļitalic_t⤠Sitalic_t . The particular value of the portfolio at time t typically depends on the units of assets (Ļt,Ļt)subscriptsubscriptitalic-Ļ ( _t, _t )( Ļitalic_t , Ļitalic_t ) held just before time t. The stochastic process (Ļt,Ļt),t⩾0subscriptsubscriptitalic-Ļ0 \ ( _t, _t ),t 0 \ ( Ļitalic_t , Ļitalic_t ) , t ⩾ 0 can thus be interpreted as a trading strategy. ā±t,t⩾0subscriptā±0 \F_t,t 0 \ Fitalic_t , t ⩾ 0 . dā¢Vt=(Btā¢dā¢Ļt+tā¤ā¢dā¢Ļt)+Ļtā¢dā¢Bt+Ļtā¤ā¢dā¢tdsubscriptsubscriptdsubscriptsuperscriptsubscripttopdsubscriptitalic-Ļsubscriptdsubscriptsuperscriptsubscriptitalic-ĻtopdsubscriptdV_t= (B_t \ d _t+S_% t d _t )+ _t \ dB_% t+ _t dS_td Vitalic_t = ( Bitalic_t d Ļitalic_t + Sitalic_t⤠d Ļitalic_t ) + Ļitalic_t d Bitalic_t + Ļitalic_t⤠d Sitalic_t The portfolio is called self-financing if Btā¢dā¢Ļt+tā¤ā¢dā¢Ļt=0subscriptdsubscriptsuperscriptsubscripttopdsubscriptitalic-Ļ0B_t \ d _t+S_t d% _t=0Bitalic_t d Ļitalic_t + Sitalic_t⤠d Ļitalic_t = 0 in which case VT=V0+ā«0TĻtā¢dBā+ā«0TĻtā¤ā¢dt.subscriptsubscript0superscriptsubscript0subscriptdifferential-dsubscriptāsuperscriptsubscript0superscriptsubscriptitalic-Ļtopdifferential-dsubscriptV_T=V_0+ _0^T _t \ dB_ + _% 0^T _t dS_t.Vitalic_T = V0 + ā«0T Ļitalic_t d Broman_ā + ā«0T Ļitalic_t⤠d Sitalic_t . Arbitrage-free market: A market model is called arbitrage-free on [0,T]0[0,T][ 0 , T ] if, in essence, for every self-financing trading strategy (Ļt,Ļt),0⩽t⩽Tsubscriptsubscriptitalic-Ļ0 \ ( _t, _t ),0 t T \ ( Ļitalic_t , Ļitalic_t ) , 0 ⩽ t ⩽ T , V0=0āāā¢(VT>0)=0ā¢. subscript00āāsubscript00. V_0=0 (V_T>0 )=0. V0 = 0 ā blackboard_P ( Vitalic_T > 0 ) = 0 . ~t,0⩽t⩽Tsubscript~0 \ S_t,0 t T \ over~ start_ARG S end_ARGt , 0 ⩽ t ⩽ T , with ~t=Btā1ā¢tsubscript~superscriptsubscript1subscript S_t=B_t^-1S_tover~ start_ARG S end_ARGt = Bitalic_t- 1 Sitalic_t, is an (ā±t,ā)subscriptā±ā (F_t,Q )( Fitalic_t , blackboard_Q )-martingale. Ļtā¢t=μtārtā¢tsubscriptsubscriptsubscriptsubscriptsubscript _tu_t= _t-r_tS_tĻitalic_t uitalic_t = μitalic_t - ritalic_t Sitalic_t has a solution t,tā[0,T]subscript0u_t,tā[0,T]uitalic_t , t ā [ 0 , T ] for which ā¢expā”(12ā¢ā«0Ttā¤ā¢tā¢dt)<ā12superscriptsubscript0superscriptsubscripttopsubscriptdifferential-dE ( 12 _0^Tu_t u_t% \ dt )<āblackboard_E exp ( divide start_ARG 1 end_ARG start_ARG 2 end_ARG ā«0T uitalic_t⤠uitalic_t d t ) < ā dā¢~tdsubscript~ S_td over~ start_ARG S end_ARGt =Btā1ā¢(tārtā¢t)ā¢dā¢t+Btā1ā¢Ļtā¢dā¢tabsentsuperscriptsubscript1subscriptsubscriptsubscriptdsuperscriptsubscript1subscriptdsubscript =B_t^-1 ( μ_t-r_tS_t )% dt+B_t^-1 _t \ dW_t= Bitalic_t- 1 ( italic_μitalic_t - ritalic_t Sitalic_t ) d t + Bitalic_t- 1 Ļitalic_t d Witalic_t =Btā1ā¢Ļtā¢(tā¢dā¢t+dā¢t)absentsuperscriptsubscript1subscriptsubscriptddsubscript =B_t^-1 _t (u_t % \ dt+dW_t )= Bitalic_t- 1 Ļitalic_t ( uitalic_t d t + d Witalic_t ) =Btā1ā¢Ļtā¢dā¢tabsentsuperscriptsubscript1subscriptdsubscript =B_t^-1 _t \ dZ_t= Bitalic_t- 1 Ļitalic_t d Zitalic_t where dā¢t=tā¢dā¢t+dā¢tdsubscriptsubscriptddsubscriptdZ_t=u_t \ dt+% dW_td Zitalic_t = uitalic_t d t + d Witalic_t , defines an ItĆ“ process. Let Mt=expā”(ā«0tsā¤ā¢dsā12ā¢ā«0tsā¤ā¢sā¢ds).subscriptsuperscriptsubscript0superscriptsubscripttopdifferential-dsubscript12superscriptsubscript0superscriptsubscripttopsubscriptdifferential-dM_t= ( _0^tu_s dW_s-% 12 _0^tu_s u_s % \ ds ).Mitalic_t = exp ( ā«0t uitalic_s⤠d Witalic_s - divide start_ARG 1 end_ARG start_ARG 2 end_ARG ā«0t uitalic_s⤠uitalic_s d s ) . Then, by Girsanovās theorem [101], Mt,t⩾0subscript0 \M_t,t 0 \ Mitalic_t , t ⩾ 0 is an (ā±t,ā)subscriptā±ā (F_t,P )( Fitalic_t , blackboard_P )-martingale, and under the new measure āā¢(A)= def ā¢[MTā¢IA]superscript def ādelimited-[]subscriptsubscriptIQ(A) def =E [M_T% I_A ]blackboard_Q ( A ) start_RELOP SUPERSCRIPTOP start_ARG = end_ARG start_ARG def end_ARG end_RELOP blackboard_E [ Mitalic_T Iitalic_A ] for all Aāā±Tsubscriptā±A _TA ā Fitalic_T, the process t,0⩽ \Z_t,0 . Zitalic_t , 0 ⩽ t⩽Tt T\t ⩽ T is a Wiener process. It follows that under āQblackboard_Q the process ~t,0⩽t⩽Tsubscript~0 \ S_t,0 t T \ over~ start_ARG S end_ARGt , 0 ⩽ t ⩽ T is a martingale with respect to ā±t,0⩽t⩽Tsubscriptā±0 \F_t,0 t T \ Fitalic_t , 0 ⩽ t ⩽ T , which had to be shown. āQblackboard_Q is called the risk-neutral measure. Let V~t=Btā1ā¢Vt=Ļt+Ļtā¤ā¢Btā1ā¢t=Ļt+Ļtā¤ā¢~tsubscript~superscriptsubscript1subscriptsubscriptsuperscriptsubscriptbold-italic-Ļtopsuperscriptsubscript1subscriptsubscriptsuperscriptsubscriptbold-italic-Ļtopsubscript~ V_t=B_t^-1V_t= _t+ Ļ_t B_t^% -1S_t= _t+ Ļ_t S_% tover~ start_ARG V end_ARGt = Bitalic_t- 1 Vitalic_t = Ļitalic_t + italic_Ļitalic_t⤠Bitalic_t- 1 Sitalic_t = Ļitalic_t + italic_Ļitalic_t⤠over~ start_ARG S end_ARGt be the discounted value of the portfolio of stocks and bonds. dā¢V~t=Ļtā¤ā¢dā¢~t=Btā1ā¢Ļtā¤ā¢tā¢dā¢tdsubscript~superscriptsubscriptbold-italic-Ļtopdsubscript~superscriptsubscript1superscriptsubscriptbold-italic-Ļtopsubscriptdsubscript aligned d V_t= Ļ_t% d S_t=B_t^-1 Ļ_t^% Ļ_t \ dZ_t alignedstart_ROW start_CELL d over~ start_ARG V end_ARGt = italic_Ļitalic_t⤠d over~ start_ARG S end_ARGt = Bitalic_t- 1 italic_Ļitalic_t⤠italic_Ļitalic_t d Zitalic_t end_CELL end_ROW āQblackboard_Q the process V~t,0⩽t⩽Tsubscript~0 \ V_t,0 t T \ over~ start_ARG V end_ARGt , 0 ⩽ t ⩽ T is a martingale with respect to ā±t,0⩽t⩽Tsubscriptā±0 \F_t,0 t T \ Fitalic_t , 0 ⩽ t ⩽ T . As a consequence, Vt=Btā¢āā¢[BTā1ā¢VTā£ā±t],t⩽T.formulae-sequencesubscriptsubscriptsubscriptādelimited-[]conditionalsuperscriptsubscript1subscriptsubscriptā±V_t=B_tE_Q [B_T^-1V_T _t% ], t T.Vitalic_t = Bitalic_t blackboard_Eblackboard_Q [ Bitalic_T- 1 Vitalic_T ⣠Fitalic_t ] , t ⩽ T . The payoff at maturity for a call option is (STāK)+=maxā”STāK,0superscriptsubscriptsubscript0 (S_T-K )^+= \S_T-K,0 \( Sitalic_T - K )+ = max Sitalic_T - K , 0 and for a put option is (KāST)+superscriptsubscript (K-S_T )^+( K - Sitalic_T )+. Suppose for concreteness that we are dealing with a call option and denote its value at time t⩽Tt Tt ⩽ T by Ct=Cā¢(St,K,rt,Tāt)subscriptsubscriptsubscriptC_t=C (S_t,K,r_t,T-t )Citalic_t = C ( Sitalic_t , K , ritalic_t , T - t ), where TātT-tT - t is the time until maturity. Ct=Vt=Btā¢āā¢[BTā1ā¢CTā£ā±t],t⩽T,formulae-sequencesubscriptsubscriptsubscriptsubscriptādelimited-[]conditionalsuperscriptsubscript1subscriptsubscriptā± aligned C_t=V_t=B_tE_Q [B_% T^-1C_T _t ], t T, alignedstart_ROW start_CELL Citalic_t = Vitalic_t = Bitalic_t blackboard_Eblackboard_Q [ Bitalic_T- 1 Citalic_T ⣠Fitalic_t ] , t ⩽ T , end_CELL end_ROW where CT=VT=V0+ā«0TĻtā¢dBt+ā«0TĻtā¤ā¢dt.subscriptsubscriptsubscript0superscriptsubscript0subscriptdifferential-dsubscriptsuperscriptsubscript0superscriptsubscriptbold-italic-Ļtopdifferential-dsubscript aligned C_T=V_T=V_0+ _0^T _t% \ dB_t+ _0^T Ļ_t d% S_t. alignedstart_ROW start_CELL Citalic_T = Vitalic_T = V0 + ā«0T Ļitalic_t d Bitalic_t + ā«0T italic_Ļitalic_t⤠d Sitalic_t . end_CELL end_ROW Consider a call and a put options written on the same non-dividend-paying stock, with the same strike price K and time to maturity T. Then their prices C0subscript0C_0C0 and P0subscript0P_0P0 at time t=00t=0t = 0 are related as follows: C0+Kā¢eārā¢T=P0+S0subscript0superscriptsubscript0subscript0C_0+Ke^-rT=P_0+S_0C0 + K e- r T = P0 + S0 where S0subscript0S_0S0 is the current stock price and r is the continuously compounded riskfree interest rate. Consider a portfolio consisting of a call option and an amount of cash given by Kā¢eārā¢TsuperscriptKe^-rTK e- r T. At maturity, the value of this portfolio is, maxā”STāK,0+K=maxā”ST,Ksubscript0subscript \S_T-K,0 \+K= \S_T,K \max Sitalic_T - K , 0 + K = max Sitalic_T , K maxā”KāST,0+ST=maxā”K,STsubscript0subscriptsubscript \K-S_T,0 \+S_T= \K,S_T \max K - Sitalic_T , 0 + Sitalic_T = max K , Sitalic_T Option prices provide information about state variables and parameters via the pricing equation. An option price is given by, Cā¢(St,Vt,Īø)=eārā¢(Tāt)ā¢tāā¢[maxā”(StāK,0)ā£St,Xt,Īø]subscriptsubscriptsuperscriptsuperscriptsubscriptādelimited-[]conditionalsubscript0subscriptsubscriptC (S_t,V_t,Īø )=e^-r(T-t)E_t^Q [% (S_t-K,0 ) S_t,X_t,Īø ]C ( Sitalic_t , Vitalic_t , Īø ) = e- r ( T - t ) blackboard_Etblackboard_Q [ max ( Sitalic_t - K , 0 ) ⣠Sitalic_t , Xitalic_t , Īø ] where the expectation is taken under āQblackboard_Q the risk-neutral probability measure. here we assume that the risk-free rate r is constant. This simplifies by letting A=STā„KsubscriptA= \S_Tā„ K \A = Sitalic_T ā„ K denote the event that the stock ends in the money. Then the option price is given by: eārā¢tā¢tāā¢(maxā”(STāK,0))=eārā¢tā¢tāā¢(STā¢A)āeārā¢tā¢Kā¢(A)=eārā¢tā¢tāā¢(STā¢A)āeārā¢tā¢Kā¢āā¢(A).superscriptsuperscriptsubscriptāsubscript0absentsuperscriptsuperscriptsubscriptāsubscriptsubscriptsuperscriptsubscriptmissing-subexpressionabsentsuperscriptsuperscriptsubscriptāsubscriptsubscriptsuperscriptā aligned e^-rtE_t^Q ( % (S_T-K,0 ) )&=e^-rtE_t^Q (S_T % I_A )-e^-rtKE (I_A )\\ &=e^-rtE_t^Q (S_TI_A )-e^-rtK% P(A). alignedstart_ROW start_CELL e- r t blackboard_Etblackboard_Q ( max ( Sitalic_T - K , 0 ) ) end_CELL start_CELL = e- r t blackboard_Etblackboard_Q ( Sitalic_T blackboard_IA ) - e- r t K blackboard_E ( blackboard_IA ) end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = e- r t blackboard_Etblackboard_Q ( Sitalic_T blackboard_IA ) - e- r t K blackboard_P ( A ) . end_CELL end_ROW The logarithmic asset price and volatility follow an affine process with Yt=(logā”St,Vt)āāĆā+subscriptsubscriptsubscriptāsuperscriptāY_t= ( S_t,V_t )ā RĆ R^+Yitalic_t = ( log Sitalic_t , Vitalic_t ) ā R Ć R+satisfying dā¢Yt=(rā12ā¢Vt)ā¢dā¢t+Vtā¢dā¢B1,tdā¢Vt=Īŗā¢(ĪøāVt)ā¢dā¢t+Ļvā¢Vtā¢dā¢Ztmissing-subexpressionsubscript12subscriptsubscriptsubscript1missing-subexpressionsubscriptsubscriptsubscriptsubscriptsubscript aligned &dY_t= (r- 12V_t )dt+ V% _tdB_1,t\\ &dV_t=Īŗ (Īø-V_t )dt+ _v V_tdZ_t alignedstart_ROW start_CELL end_CELL start_CELL d Yitalic_t = ( r - divide start_ARG 1 end_ARG start_ARG 2 end_ARG Vitalic_t ) d t + square-root start_ARG Vitalic_t end_ARG d B1 , t end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL d Vitalic_t = Īŗ ( Īø - Vitalic_t ) d t + Ļitalic_v square-root start_ARG Vitalic_t end_ARG d Zitalic_t end_CELL end_ROW where Zt=Ļā¢B1,t+1āĻ2ā¢B2,tsubscriptsubscript11superscript2subscript2Z_t=Ļ B_1,t+ 1-Ļ^2B_2,tZitalic_t = Ļ B1 , t + square-root start_ARG 1 - Ļ2 end_ARG B2 , t. The correlation, Ļ, or so-called leverage effect is important to explain the empirical fact that volatility increases faster as equity prices drop. The parameters (Īŗ,Īø)(Īŗ,Īø)( Īŗ , Īø ) govern the speed of mean reversion and the long-run mean of volatility and Ļvsubscript _vĻitalic_v measures the volatility of volatility. Under the risk-neutral measure they become (Īŗ/Īŗ+Ī»v)ā¢Īøsubscript (Īŗ/Īŗ+ _v )Īø( Īŗ / Īŗ + Ī»italic_v ) Īø and Īŗ+Ī»vsubscriptĪŗ+ _vĪŗ + Ī»italic_v where Ī»vsubscript _vĪ»italic_v is the market price of volatility risk. From affine process theory, the discounted transform, Ļā¢(u)=eārā¢tā¢(euā¢YTā£Yt)=eαā¢(t,u)+uā¢Yt+βā¢(t,u)ā¢VtsuperscriptconditionalsuperscriptsubscriptsubscriptsuperscriptsubscriptsubscriptĻ(u)=e^-rtE (e^uY_T Y_t )=e^α(t,u)+uY_% t+β(t,u)V_tĻ ( u ) = e- r t blackboard_E ( eitalic_u Yitalic_T ⣠Yitalic_t ) = eitalic_α ( t , u ) + u Yitalic_t + β ( t , u ) Vitalic_t where α,βα,βα , β satisfy Riccati equations. Concepts of Rough volatility. WtH=CHā¢ā«āātdā¢Wsā(tās)γāā«āā0dā¢Wsā(ās)γsuperscriptsubscriptsubscriptsuperscriptsubscriptsuperscriptsubscriptāsuperscriptsuperscriptsubscript0superscriptsubscriptāsuperscript aligned W_t^H=C_H \ _-ā^t dW_% s^P(t-s)^γ- _-ā^0 dW_s^P% (-s)^γ \ alignedstart_ROW start_CELL Witalic_titalic_H = Citalic_H ā«- āt divide start_ARG d Witalic_sblackboard_P end_ARG start_ARG ( t - s )γ end_ARG - ā«- ā0 divide start_ARG d Witalic_sblackboard_P end_ARG start_ARG ( - s )γ end_ARG end_CELL end_ROW =νā¢CHā¢ā«tu1(uās)γā¢Wsā+ā«āāt[1(uās)γā1(tās)γ]ā¢Wsā=2ā¢Ī½ā¢CHā¢[Mtā¢(u)+Ztā¢(u)]missing-subexpressionmissing-subexpressionsubscriptsuperscriptsubscript1superscriptdifferential-dsuperscriptsubscriptāsuperscriptsubscriptdelimited-[]1superscript1superscriptdifferential-dsuperscriptsubscriptā2subscriptdelimited-[]subscriptsubscript aligned &\\ =&ν C_H \ _t^u 1(u-s)^γdW_s^P+ % _-ā^t [ 1(u-s)^γ- 1(t-s)^γ ]dW% _s^P \\\ =&2ν C_H [M_t(u)+Z_t(u) ] alignedstart_ROW start_CELL end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL = end_CELL start_CELL ν Citalic_H ā«titalic_u divide start_ARG 1 end_ARG start_ARG ( u - s )γ end_ARG d Witalic_sblackboard_P + ā«- āt [ divide start_ARG 1 end_ARG start_ARG ( u - s )γ end_ARG - divide start_ARG 1 end_ARG start_ARG ( t - s )γ end_ARG ] d Witalic_sblackboard_P end_CELL end_ROW start_ROW start_CELL = end_CELL start_CELL 2 ν Citalic_H [ Mitalic_t ( u ) + Zitalic_t ( u ) ] end_CELL end_ROW āā¢[Mtā¢(u)ā£ā±t]=0superscriptādelimited-[]conditionalsubscriptsubscriptā±0E^P [M_t(u) _t ]=0blackboard_Eblackboard_P [ Mitalic_t ( u ) ⣠Fitalic_t ] = 0 and Ztā¢(u)subscriptZ_t(u)Zitalic_t ( u ) is ā±tsubscriptā±F_tFitalic_t-measurable. Pricing 212121Rough volatility: Python 222222Rough path 232323Rough volatility: Minimax Theory [102],[103],[104],[105], under āPblackboard_P W~tāā¢(u):=2ā¢Hā¢ā«tudā¢WsP(uās)γassignsuperscriptsubscript~ā2superscriptsubscriptsuperscriptsubscriptPsuperscript W_t^P(u):= 2H _t^u dW_s^P% (u-s)^γover~ start_ARG W end_ARGtblackboard_P ( u ) := square-root start_ARG 2 H end_ARG ā«titalic_u divide start_ARG d Witalic_sroman_P end_ARG start_ARG ( u - s )γ end_ARG With Ī·:=2ā¢Ī½ā¢CH/2ā¢Hassign2subscript2Ī·:=2ν C_H/ 2HĪ· := 2 ν Citalic_H / square-root start_ARG 2 H end_ARG we have 2ā¢Ī½ā¢CHā¢Mtā¢(u)=Ī·ā¢W~tāā¢(u)2subscriptsubscriptsuperscriptsubscript~ā2ν C_HM_t(u)=Ī· W_t^P(u)2 ν Citalic_H Mitalic_t ( u ) = Ī· over~ start_ARG W end_ARGtblackboard_P ( u ) , vu=vtā¢expā”Ī·ā¢W~tāā¢(u)+2ā¢Ī½ā¢CHā¢Ztā¢(u)=āā¢[vuā£ā±t]ā¢ā°ā¢(Ī·ā¢W~tāā¢(u))subscriptabsentsubscriptsuperscriptsubscript~ā2subscriptsubscriptmissing-subexpressionabsentsuperscriptādelimited-[]conditionalsubscriptsubscriptā±ā°superscriptsubscript~ā aligned v_u&=v_t \Ī· W_t % P(u)+2ν C_HZ_t(u) \\\ &=E^P [v_u _t ]E % (Ī· W_t^P(u) ) alignedstart_ROW start_CELL vitalic_u end_CELL start_CELL = vitalic_t exp Ī· over~ start_ARG W end_ARGtblackboard_P ( u ) + 2 ν Citalic_H Zitalic_t ( u ) end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = blackboard_Eblackboard_P [ vitalic_u ⣠Fitalic_t ] E ( Ī· over~ start_ARG W end_ARGtblackboard_P ( u ) ) end_CELL end_ROW vu=āā¢[vuā£ā±t]ā¢ā°ā¢(Ī·ā¢W~tāā¢(u))subscriptsuperscriptādelimited-[]conditionalsubscriptsubscriptā±ā°superscriptsubscript~ā aligned v_u=E^P [v_u % F_t ]E (Ī· W_t^P(u) % ) alignedstart_ROW start_CELL vitalic_u = blackboard_Eblackboard_P [ vitalic_u ⣠Fitalic_t ] E ( Ī· over~ start_ARG W end_ARGtblackboard_P ( u ) ) end_CELL end_ROW dā¢WsP=dā¢Wsā+Ī»sā¢dā¢ssuperscriptsubscriptPsuperscriptsubscriptāsubscriptdW_s^P=dW_s^Q+ _sdsd Witalic_sroman_P = d Witalic_sblackboard_Q + Ī»italic_s d s where Ī»s:s>tconditional-setsubscript \ _s:s>t \ Ī»italic_s : s > t has a natural interpretation as the price of volatility risk. vu=āā¢[vuā£ā±t]ā¢ā°ā¢(Ī·ā¢W~tQā¢(u))ā¢expā”Ī·ā¢2ā¢Hā¢ā«tuĪ»s(uās)γā¢ssubscriptsuperscriptādelimited-[]conditionalsubscriptsubscriptā±ā°superscriptsubscript~2superscriptsubscriptsubscriptsuperscriptdifferential-d aligned v_u=E^P [v_u % F_t ]E (Ī· W_t^Q(u) ) % \Ī· 2H _t^u _s(u-s)^γds \% alignedstart_ROW start_CELL vitalic_u = blackboard_Eblackboard_P [ vitalic_u ⣠Fitalic_t ] E ( Ī· over~ start_ARG W end_ARGtitalic_Q ( u ) ) exp Ī· square-root start_ARG 2 H end_ARG ā«titalic_u divide start_ARG Ī»italic_s end_ARG start_ARG ( u - s )γ end_ARG d s end_CELL end_ROW Concepts of Fourier-based option pricing. -G Bayesian optimization for option pricing based on the Fourier method. In this section we apply a Fourier Transform to calculate the option price using a bayesian optimization. The results are available on ART.1.20 242424Rough volatility: Python 1:procedure FourierTransformOptionPrice(S,K,T,r,Ļ,α,βS,K,T,r,Ļ,α, , K , T , r , Ļ , α , β) 2: uālinspaceā¢(ā10,10,1000)ālinspace10101000u (-10,10,1000)u ā linspace ( - 10 , 10 , 1000 ) 3: Cā[characteristic_functionā¢(ui)ā£uiāu]ādelimited-[]conditionalcharacteristic_functionsubscriptsubscriptCā[characteristic\_function(u_i) u_iā u]C ā [ characteristic_function ( uitalic_i ) ⣠uitalic_i ā u ] 4: option_priceāinverse_fourier_transformā¢(u,C)āoption_priceinverse_fourier_transformoption\_price \_fourier\_transform(u,C)option_price ā inverse_fourier_transform ( u , C ) 5: return option_price 6:end procedure Algorithm 9 Fourier Transform Method for European Call Option Price āØf,gā©=ā«āā12ā¢Ļā¢ā«āāeāiā¢uā¢xā¢f^ā¢(k)ā¢kā¢gā¢(x)ĀÆā¢x=12ā¢Ļā¢ā«āāf^ā¢(k)ā¢ā«āāeāiā¢uā¢xā¢gā¢(x)ĀÆā¢xā¢k=12ā¢Ļā¢ā«āāf^ā¢(k)ā¢ā«āāeiā¢uā¢xā¢gā¢(x)ĀÆā¢xā¢k=12ā¢Ļā¢ā«āāf^ā¢(k)ā¢g^ā¢(k)ĀÆā¢kabsentsuperscriptsubscript12superscriptsubscriptsuperscript^differential-dĀÆdifferential-dmissing-subexpressionabsent12superscriptsubscript^superscriptsubscriptsuperscriptĀÆdifferential-ddifferential-dmissing-subexpressionabsent12superscriptsubscript^superscriptsubscriptĀÆsuperscriptdifferential-ddifferential-dmissing-subexpressionabsent12superscriptsubscript^ĀÆ^differential-d aligned f,g &= _-ā^ā % 12Ļ _-ā^āe^-iux f(k)dk g(x)dx\\ &= 12Ļ _-ā^ā f(k) _-ā^āe^-% iux g(x)dxdk\\ &= 12Ļ _-ā^ā f(k) _-ā^ā% e^iuxg(x)dxdk\\ &= 12Ļ _-ā^ā f(k) g(k)dk alignedstart_ROW start_CELL ⨠f , g ā© end_CELL start_CELL = ā«- ā divide start_ARG 1 end_ARG start_ARG 2 Ļ end_ARG ā«- ā e- i u x over start_ARG f end_ARG ( k ) d k overĀÆ start_ARG g ( x ) end_ARG d x end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ end_ARG ā«- ā over start_ARG f end_ARG ( k ) ā«- ā e- i u x overĀÆ start_ARG g ( x ) end_ARG d x d k end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ end_ARG ā«- ā over start_ARG f end_ARG ( k ) ā«- ā overĀÆ start_ARG eitalic_i u x g ( x ) end_ARG d x d k end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ end_ARG ā«- ā over start_ARG f end_ARG ( k ) overĀÆ start_ARG over start_ARG g end_ARG ( k ) end_ARG d k end_CELL end_ROW āØf,gā©ā”ā«āāfā¢(x)ā¢gā¢(x)ĀÆā¢xsuperscriptsubscriptĀÆdifferential-d aligned f,g ā” _-ā^āf(% x) g(x)dx alignedstart_ROW start_CELL ⨠f , g ā© ā” ā«- ā f ( x ) overĀÆ start_ARG g ( x ) end_ARG d x end_CELL end_ROW . By Fourier inversion fā¢(x)=absentf(x)=f ( x ) = 12ā¢Ļā¢ā«āāeāiā¢uā¢xā¢f^ā¢(k)ā¢k12superscriptsubscriptsuperscript^differential-d 12Ļ _-ā^āe^-iux f(k)dkdivide start_ARG 1 end_ARG start_ARG 2 Ļ end_ARG ā«- ā e- i u x over start_ARG f end_ARG ( k ) d k. Let a random variable X be distributed with pdf qā¢(x)q(x)q ( x ). The characteristic function q^ qover start_ARG q end_ARG of X is the Fourier transform [106],[107],[108],[109] of its pā¢dā¢fpdfp d f, q^ā¢(u)ā”ā«āāeiā¢uā¢xā¢qā¢(x)ā¢x=Qā¢(eiā¢uā¢X)^superscriptsubscriptsuperscriptdifferential-dsuperscriptsuperscript q(u)ā” _-ā^āe^iuxq(x)dx=E^Q (e^% iuX )over start_ARG q end_ARG ( u ) ā” ā«- ā eitalic_i u x q ( x ) d x = Eitalic_Q ( eitalic_i u X ) Consider a European call option with payoff CTā”maxā”[esāK,0]subscriptsuperscript0C_Tā” [e^s-K,0 ]Citalic_T ā” max [ eitalic_s - K , 0 ] where sā”logā”Ssā” Ss ā” log S. Call Option Transform [110],[111]: For u=ur+iā¢uisubscriptsubscriptu=u_r+iu_iu = uitalic_r + i uitalic_i with ui>1subscript1u_i>1uitalic_i > 1, the Fourier 252525Pricing: Fast Fourier Transform 262626derivative pricing 272727Fourier Transform Applicationstransform of CTsubscriptC_TCitalic_T is, C^Tā¢(u)=āKiā¢u+1u2āiā¢usubscript^superscript1superscript2 C_T(u)=- K^iu+1u^2-iuover start_ARG C end_ARGT ( u ) = - divide start_ARG Kitalic_i u + 1 end_ARG start_ARG u2 - i u end_ARG Proof. C^Tā¢(u)=ā«āāeiā¢uā¢sā¢maxā”[esāK,0]ā¢s=ā«logā”Kāeiā¢uā¢sā¢(esāK)ā¢ssubscript^absentsuperscriptsubscriptsuperscriptsuperscript0differential-dmissing-subexpressionabsentsuperscriptsubscriptsuperscriptsuperscriptdifferential-d aligned C_T(u)&= _-ā^āe^ius% [e^s-K,0 ]ds\\ &= _ K^āe^ius (e^s-K )ds alignedstart_ROW start_CELL over start_ARG C end_ARGT ( u ) end_CELL start_CELL = ā«- ā eitalic_i u s max [ eitalic_s - K , 0 ] d s end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = ā«log Kā eitalic_i u s ( eitalic_s - K ) d s end_CELL end_ROW =ā«logā”Kā(e(iā¢u+1)ā¢sāKā¢eiā¢uā¢s)ā¢s=[e(iā¢u+1)ā¢siā¢u+1āKā¢eiā¢uā¢siā¢u]logā”Kā=āKiā¢u+1u2āiā¢umissing-subexpressionabsentsuperscriptsubscriptsuperscript1superscriptdifferential-dmissing-subexpressionabsentsuperscriptsubscriptdelimited-[]superscript11superscriptmissing-subexpressionabsentsuperscript1superscript2 aligned &= _ K^ā (e^(iu+1)s-Ke^ius% )ds\\ &= [ e^(iu+1)siu+1-K e^iusiu ]_ K^ā% \\ &=- K^iu+1u^2-iu alignedstart_ROW start_CELL end_CELL start_CELL = ā«log Kā ( e( i u + 1 ) s - K eitalic_i u s ) d s end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = [ divide start_ARG e( i u + 1 ) s end_ARG start_ARG i u + 1 end_ARG - K divide start_ARG eitalic_i u s end_ARG start_ARG i u end_ARG ]log Kā end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = - divide start_ARG Kitalic_i u + 1 end_ARG start_ARG u2 - i u end_ARG end_CELL end_ROW CTā¢(s)=12ā¢Ļā¢ā«āā+iā¢uiā+iā¢uieāiā¢uā¢sā¢C^Tā¢(u)ā¢usubscript12superscriptsubscriptsubscriptsubscriptsuperscriptsubscript^differential-d aligned C_T(s)= 12Ļ _-ā+iu_i^% ā+iu_ie^-ius C_T(u)du alignedstart_ROW start_CELL Citalic_T ( s ) = divide start_ARG 1 end_ARG start_ARG 2 Ļ end_ARG ā«- ā + i u start_POSTSUBSCRIPT i end_POSTSUBSCRIPTā + i uitalic_i e- i u s over start_ARG C end_ARGT ( u ) d u end_CELL end_ROW C0=eārā¢Tā¢0Qā¢(CT)=eārā¢T2ā¢Ļā¢0Qā¢(ā«āā+iā¢uieāiā¢uā¢sā¢C^Tā¢(u)ā¢u)=eārā¢T2ā¢Ļā¢ā«āā+iā¢uiā+iā¢ui0Qā¢(eiā¢(āu)ā¢s)ā¢C^Tā¢(u)ā¢u=eārā¢T2ā¢Ļā¢ā«āā+iā¢uiā+iā¢uiC^Tā¢(u)ā¢q^ā¢(āu)ā¢usubscript0absentsuperscriptsuperscriptsubscript0subscriptmissing-subexpressionabsentsuperscript2superscriptsubscript0superscriptsubscriptsubscriptsuperscriptsubscript^differential-dmissing-subexpressionabsentsuperscript2superscriptsubscriptsubscriptsubscriptsuperscriptsubscript0superscriptsubscript^differential-dmissing-subexpressionabsentsuperscript2superscriptsubscriptsubscriptsubscriptsubscript^^differential-d aligned C_0&=e^-rTE_0^Q (C_T % )\\ &= e^-rT2ĻE_0^Q ( _-ā^ā+iu_ie^% -ius C_T(u)du )\\ &= e^-rT2Ļ _-ā+iu_i^ā+iu_iE_0^Q% (e^i(-u)s ) C_T(u)du\\ &= e^-rT2Ļ _-ā+iu_i^ā+iu_i C_T(u)% q(-u)du alignedstart_ROW start_CELL C0 end_CELL start_CELL = e- r T E0italic_Q ( Citalic_T ) end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG e- r T end_ARG start_ARG 2 Ļ end_ARG E0italic_Q ( ā«- ā + i uitalic_i e- i u s over start_ARG C end_ARGT ( u ) d u ) end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG e- r T end_ARG start_ARG 2 Ļ end_ARG ā«- ā + i u start_POSTSUBSCRIPT i end_POSTSUBSCRIPTā + i uitalic_i E0italic_Q ( eitalic_i ( - u ) s ) over start_ARG C end_ARGT ( u ) d u end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG e- r T end_ARG start_ARG 2 Ļ end_ARG ā«- ā + i u start_POSTSUBSCRIPT i end_POSTSUBSCRIPTā + i uitalic_i over start_ARG C end_ARGT ( u ) over start_ARG q end_ARG ( - u ) d u end_CELL end_ROW If Stā”S0ā¢erā¢t+Xtsubscriptsubscript0superscriptsubscriptS_tā” S_0e^rt+X_tSitalic_t ā” S0 eitalic_r t + Xitalic_t with XtsubscriptX_tXitalic_t a LĆ©vy process and eXtsuperscriptsubscripte^X_teitalic_Xitalic_t a martingale with X0=0subscript00X_0=0X0 = 0, then q^ā¢(āu)=^absent q(-u)=over start_ARG q end_ARG ( - u ) = eāiā¢uā¢yā¢Ļā¢(āu)superscripte^-iuy (-u)e- i u y Ļ ( - u ) where Ļ Ļ is the characteristic function of XTsubscriptX_TXitalic_T. Here, yā”logā”S0+rā¢Tsubscript0yā” S_0+rTy ā” log S0 + r T. C0=eārā¢T2ā¢Ļā¢ā«āā+iā¢uiā+iā¢uieāiā¢uā¢yā¢C^ā¢(u)ā¢Ļā¢(āu)ā¢usubscript0superscript2superscriptsubscriptsubscriptsubscriptsuperscript^differential-dC_0= e^-rT2Ļ _-ā+iu_i^ā+iu_ie^-iuy% C(u) (-u)duC0 = divide start_ARG e- r T end_ARG start_ARG 2 Ļ end_ARG ā«- ā + i u start_POSTSUBSCRIPT i end_POSTSUBSCRIPTā + i uitalic_i e- i u y over start_ARG C end_ARG ( u ) Ļ ( - u ) d u k=logā”(S0/K)+rā¢Tsubscript0k= (S_0/K )+rTk = log ( S0 / K ) + r T, C0=āKā¢eārā¢T2ā¢Ļā¢ā«āā+iā¢uiā+iā¢uieāiā¢uā¢kā¢Ļā¢(āu)ā¢dā¢u2āuā¢isubscript0superscript2superscriptsubscriptsubscriptsubscriptsuperscriptsuperscript2C_0=- Ke^-rT2Ļ _-ā+iu_i^ā+iu_ie^-iuk% (-u) duu^2-uiC0 = - divide start_ARG K e- r T end_ARG start_ARG 2 Ļ end_ARG ā«- ā + i u start_POSTSUBSCRIPT i end_POSTSUBSCRIPTā + i uitalic_i e- i u k Ļ ( - u ) divide start_ARG d u end_ARG start_ARG u2 - u i end_ARG uiā(0,1)subscript01u_iā(0,1)uitalic_i ā ( 0 , 1 ), the call option present value is, C0=S0āKā¢eārā¢T2ā¢Ļā¢ā«āā+iā¢uiā+iā¢uieāiā¢uā¢kā¢Ļā¢(āu)ā¢dā¢u2āuā¢isubscript0subscript0superscript2superscriptsubscriptsubscriptsubscriptsuperscriptsuperscript2C_0=S_0- Ke^-rT2Ļ _-ā+iu_i^ā+iu_ie^-iuk% (-u) duu^2-uiC0 = S0 - divide start_ARG K e- r T end_ARG start_ARG 2 Ļ end_ARG ā«- ā + i u start_POSTSUBSCRIPT i end_POSTSUBSCRIPTā + i uitalic_i e- i u k Ļ ( - u ) divide start_ARG d u end_ARG start_ARG u2 - u i end_ARG ui=0.5subscript0.5u_i=0.5uitalic_i = 0.5 , C0=S0āS0ā¢Kā¢eārā¢T/2Ļā¢ā«0āReā”[eiā¢zā¢kā¢Ļā¢(zāi/2)]ā¢dā¢z2+1/4subscript0subscript0subscript0superscript2superscriptsubscript0Resuperscript2superscript214C_0=S_0- S_0Ke^-rT/2Ļ _0^ā% Re [e^izk (z-i/2) ] dzz^2+1/4C0 = S0 - divide start_ARG square-root start_ARG S0 K end_ARG e- r T / 2 end_ARG start_ARG Ļ end_ARG ā«0ā Re [ eitalic_i z k Ļ ( z - i / 2 ) ] divide start_ARG d z end_ARG start_ARG z2 + 1 / 4 end_ARG where ā¢[x]delimited-[]Re[x]Re [ x ] denotes the real part of x. u=iu=iu = i , u=00u=0u = 0, Resā”(i)Res (i)Res ( i ) =limuāi((uāi)ā¢(āKā¢eārā¢T2ā¢Ļā¢eāiā¢uā¢kā¢Ļā¢(āu)uā¢(uāi)))absentsubscriptāsuperscript2superscript = _uā i ((u-i) (- Ke^-rT2Ļe^-% iuk (-u)u(u-i) ) )= limitalic_u ā i ( ( u - i ) ( - divide start_ARG K e- r T end_ARG start_ARG 2 Ļ end_ARG e- i u k divide start_ARG Ļ ( - u ) end_ARG start_ARG u ( u - i ) end_ARG ) ) =āKā¢eārā¢T2ā¢Ļā¢ekā¢Ļā¢(āi)iabsentsuperscript2superscript =- Ke^-rT2Ļe^k (-i)i= - divide start_ARG K e- r T end_ARG start_ARG 2 Ļ end_ARG eitalic_k divide start_ARG Ļ ( - i ) end_ARG start_ARG i end_ARG =S0ā¢i2ā¢Ļabsentsubscript02 = S_0i2Ļ= divide start_ARG S0 i end_ARG start_ARG 2 Ļ end_ARG ek=S0/Kā erā¢T,Ļā¢(āi)=1formulae-sequencesuperscriptā subscript0superscript1e^k=S_0/KĀ· e^rT, (-i)=1eitalic_k = S0 / K ā eitalic_r T , Ļ ( - i ) = 1 and iā1=āisuperscript1i^-1=-i- 1 = - i in the uisubscriptu_iuitalic_i minus 2ā¢Ļā¢iā¢Resā”(i)=āS02Ressubscript02Ļ iRes(i)=-S_02 Ļ i Res ( i ) = - S0, ui=0.5subscript0.5u_i=0.5uitalic_i = 0.5 C0=S0āKā¢eārā¢T2ā¢Ļā¢ā«āāeāiā¢(u+i/2)ā¢kā¢Ļā¢(ā(u+i/2))ā¢dā¢u(u+i/2)2ā(u+i/2)ā¢isubscript0subscript0superscript2superscriptsubscriptsuperscript22superscript222 aligned C_0=S_0- Ke^-rT2Ļ _-ā^% ā\\ e^-i(u+i/2)k (-(u+i/2)) du(u+i/2)^2-(u+i/2)i alignedstart_ROW start_CELL C0 = S0 - divide start_ARG K e- r T end_ARG start_ARG 2 Ļ end_ARG ā«- ā end_CELL end_ROW start_ROW start_CELL e- i ( u + i / 2 ) k Ļ ( - ( u + i / 2 ) ) divide start_ARG d u end_ARG start_ARG ( u + i / 2 )2 - ( u + i / 2 ) i end_ARG end_CELL end_ROW eāiā¢(u+i/2)ā¢k=eāiā¢uā¢kā¢ek/2superscript2superscriptsuperscript2e^-i(u+i/2)k=e^-iuke^k/2e- i ( u + i / 2 ) k = e- i u k eitalic_k / 2 ek/2=e(logā”(S0/K)+rā¢T)/2superscript2superscriptsubscript02e^k/2=e ( (S_0/K )+rT )/2eitalic_k / 2 = e( log ( S0 / K ) + r T ) / 2 Kā¢eārā¢Tā¢ek/2=eārā¢T/2ā¢S0ā¢Ksuperscriptsuperscript2superscript2subscript0Ke^-rTe^k/2=e^-rT/2 S_0KK e- r T eitalic_k / 2 = e- r T / 2 square-root start_ARG S0 K end_ARG u=z+i/22u=z+i/2u = z + i / 2 , (zāi/2)2ā(zāi/2)ā¢i=z2ā2ā¢zā¢i+1/4superscript222superscript2214(z-i/2)^2-(z-i/2)i=z^2-2zi+1/4( z - i / 2 )2 - ( z - i / 2 ) i = z2 - 2 z i + 1 / 4 C0=S0āS0ā¢Kā¢eārā¢T/2Ļā¢ā«āāeāiā¢zā¢kā¢Ļā¢(āzāi/2)ā¢dā¢z2ā2ā¢zā¢i+1/4subscript0subscript0subscript0superscript2superscriptsubscriptsuperscript2superscript2214C_0=S_0- S_0Ke^-rT/2Ļ _-ā^āe^-izk% (-z-i/2) dzz^2-2zi+1/4C0 = S0 - divide start_ARG square-root start_ARG S0 K end_ARG e- r T / 2 end_ARG start_ARG Ļ end_ARG ā«- ā e- i z k Ļ ( - z - i / 2 ) divide start_ARG d z end_ARG start_ARG z2 - 2 z i + 1 / 4 end_ARG fā¢(x)=12ā¢Ļā¢ā«āāeāiā¢uā¢xā¢f^ā¢(u)ā¢u=12ā¢Ļā¢Reā”[ā«āā0eāiā¢uā¢xā¢f^ā¢(u)ā¢u]+12ā¢Ļā¢ā«0āReā”[eāiā¢uā¢xā¢f^ā¢(u)ā¢dā¢u]=12ā¢Ļā¢Reā”[ā«0āeāiā¢uā¢xā¢f^ā¢(u)ā¢u]+12ā¢Ļā¢ā«0āReā”[eāiā¢uā¢xā¢f^ā¢(u)ā¢dā¢u]absent12superscriptsubscriptsuperscript^differential-dmissing-subexpressionabsent12Resuperscriptsubscript0superscript^differential-d12superscriptsubscript0Resuperscript^missing-subexpressionabsent12Resuperscriptsubscript0superscript^differential-d12superscriptsubscript0Resuperscript aligned f(x)&= 12Ļ _-ā^āe^-% iux f(u)du\\ &= 12ĻRe [ _-ā^0e^-iux f(u)du% ]+ 12Ļ _0^āRe [e^-iux f(% u)du ]\\ &= 12ĻRe [ _0^āe^-iux f(u)du% ]+ 12Ļ _0^āRe [e^-iux f(% u)du ] alignedstart_ROW start_CELL f ( x ) end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ end_ARG ā«- ā e- i u x over start_ARG f end_ARG ( u ) d u end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ end_ARG Re [ ā«- ā0 e- i u x over start_ARG f end_ARG ( u ) d u ] + divide start_ARG 1 end_ARG start_ARG 2 Ļ end_ARG ā«0ā Re [ e- i u x over start_ARG f end_ARG ( u ) d u ] end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ end_ARG Re [ ā«0ā e- i u x over start_ARG f end_ARG ( u ) d u ] + divide start_ARG 1 end_ARG start_ARG 2 Ļ end_ARG ā«0ā Re [ e- i u x over start_ARG f end_ARG ( u ) d u ] end_CELL end_ROW =12ā¢Ļā¢[2ā¢ā«0āeāiā¢uā¢xā¢f^ā¢(u)ā¢u]=1Ļā¢[ā«0āeāiā¢uā¢xā¢f^ā¢(u)ā¢u]missing-subexpressionabsent12delimited-[]2superscriptsubscript0superscript^differential-dmissing-subexpressionabsent1delimited-[]superscriptsubscript0superscript^differential-d aligned &= 12ĻRe [2 _0^% āe^-iux f(u)du ]\\ &= 1ĻRe [ _0^āe^-iux f(u)du ]% alignedstart_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ end_ARG Re [ 2 ā«0ā e- i u x over start_ARG f end_ARG ( u ) d u ] end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG Ļ end_ARG Re [ ā«0ā e- i u x over start_ARG f end_ARG ( u ) d u ] end_CELL end_ROW C0=S0āS0ā¢Kā¢eārā¢T/2Ļā¢ā«0āReā”[eāiā¢zā¢kā¢Ļā¢(āzāi/2)]ā¢dā¢z2+1/4subscript0subscript0subscript0superscript2superscriptsubscript0Resuperscript2superscript214C_0=S_0- S_0Ke^-rT/2Ļ _0^ā% Re [e^-izk (-z-i/2) ] dzz^2+1/4C0 = S0 - divide start_ARG square-root start_ARG S0 K end_ARG e- r T / 2 end_ARG start_ARG Ļ end_ARG ā«0ā Re [ e- i z k Ļ ( - z - i / 2 ) ] divide start_ARG d z end_ARG start_ARG z2 + 1 / 4 end_ARG CTā”subscriptabsentC_T _T ā” maxā”[STāK,0]subscript0 [S_T-K,0 ]max [ Sitalic_T - K , 0 ] , Kā”eksuperscriptKā” e^kK ā” eitalic_k and STā”essubscriptsuperscriptS_Tā” e^sSitalic_T ā” eitalic_s , C0ā”eārā¢Tā¢0Qā¢(maxā”[esāek,0])=eārā¢Tā¢ā«kā(esāek)ā¢qā¢(s)ā¢ssubscript0absentsuperscriptsuperscriptsubscript0superscriptsuperscript0missing-subexpressionabsentsuperscriptsuperscriptsubscriptsuperscriptsuperscriptdifferential-d aligned C_0&ā” e^-rTE_0^Q ( % [e^s-e^k,0 ] )\\ &=e^-rT _k^ā (e^s-e^k )q(s)ds alignedstart_ROW start_CELL C0 end_CELL start_CELL ā” e- r T E0italic_Q ( max [ eitalic_s - eitalic_k , 0 ] ) end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = e- r T ā«kā ( eitalic_s - eitalic_k ) q ( s ) d s end_CELL end_ROW qā¢(s)q(s)q ( s ) is the risk-neutral pdf of sTsubscripts_Tsitalic_T, c0ā”eαā¢kā¢C0subscript0superscriptsubscript0c_0ā” e^α kC_0c0 ā” eitalic_α k C0 with α>00α>0α > 0. The Fourier transform of c0subscript0c_0c0 is Ļā¢(v)ā”ā«āāeiā¢vā¢kā¢c0ā¢ksuperscriptsubscriptsuperscriptsubscript0differential-dĻ(v)ā” _-ā^āe^ivkc_0dkĻ ( v ) ā” ā«- ā eitalic_i v k c0 d k C0=eāαā¢kĻā¢ā«0āeāiā¢vā¢kā¢Ļā¢(v)ā¢v.subscript0superscriptsuperscriptsubscript0superscriptdifferential-dC_0= e^-α kĻ _0^āe^-ivkĻ(v)dv.C0 = divide start_ARG e- α k end_ARG start_ARG Ļ end_ARG ā«0ā e- i v k Ļ ( v ) d v . ā Concepts of Risk. To quantify the measurement of financial risk, we apply āCramer-Lundberg model (Figure 18)ā [112],[113],[114],[115], āVaRā, āTail probabilityā and āshortfall integralā methods via a bayesian approach, the results obtained can be viewed on: https://github.com/Trusted-AI/adversarial-robustness-toolbox/pull/2467. Let us consider a random variable, X, with density function, fXā¢(x)subscriptf_X(x)fitalic_X ( x ). The moment-generating function is defined as, MXā¢(t)=ā¢(etā¢X)=ā«āāetā¢xā¢fXā¢(x)ā¢xsubscriptabsentsuperscriptmissing-subexpressionabsentsuperscriptsubscriptsuperscriptsubscriptdifferential-d aligned M_X(t)&=E (e^tX )\\ &= _-ā^āe^txf_X(x)dx alignedstart_ROW start_CELL Mitalic_X ( t ) end_CELL start_CELL = blackboard_E ( eitalic_t X ) end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = ā«- ā eitalic_t x fitalic_X ( x ) d x end_CELL end_ROW fXā¢(x)=12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āMXā¢(t)ā¢eātā¢xā¢tsubscript12superscriptsubscriptlimit-from0subscriptsuperscriptdifferential-df_X(x)= 12Ļ i _-iā,(0+)^+iāM_X(t)e^-txdtfitalic_X ( x ) = divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā Mitalic_X ( t ) e- t x d t for xāā,tāāformulae-sequenceāāx ,t ā blackboard_R , t ā blackboard_C and where i is the imaginary number satisfying i=ā11i= -1i = square-root start_ARG - 1 end_ARG, we introduce KXā¢(t)=lnā”MXā¢(t)subscriptsubscriptK_X(t)= M_X(t)Kitalic_X ( t ) = ln Mitalic_X ( t ), fXā¢(x)=12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āelnā”MXā¢(t)ā¢eātā¢xā¢t=12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ātā¢xā¢tā¢(Equation ā¢a)subscriptabsent12superscriptsubscriptlimit-from0superscriptsubscriptsuperscriptdifferential-dmissing-subexpressionabsent12superscriptsubscriptlimit-from0superscriptsubscriptdifferential-dEquation aligned f_X(x)&= 12Ļ i _-iā,(0+)^+% iāe M_X(t)e^-txdt\\ &= 12Ļ i _-iā,(0+)^+iāe^K_X(t)-txdt(% Equation a) alignedstart_ROW start_CELL fitalic_X ( x ) end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā eroman_ln Mitalic_X ( t ) e- t x d t end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā eitalic_Kitalic_X ( t ) - t x d t ( Equation a ) end_CELL end_ROW The Tail Probability āā¢(X>x)=ā«xāfXā¢(u)ā¢uāsuperscriptsubscriptsubscriptdifferential-dP(X>x)= _x^āf_X(u)dublackboard_P ( X > x ) = ā«xā fitalic_X ( u ) d u āā¢(X>x)=ā«xā12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ātā¢uā¢tāEquation ā¢aā¢u=12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āā«xāeKXā¢(t)ātā¢uā¢uā¢t=12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ā¢(ā«xāeātā¢uā¢u)ā¢t=12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ā¢[āeātā¢ut]xāā¢t=12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ā¢[0ā(āeātā¢xt)]ā¢t=12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ātā¢xtā¢tāabsentsuperscriptsubscriptsubscriptā12superscriptsubscriptlimit-from0superscriptsubscriptdifferential-dEquation differential-dmissing-subexpressionabsent12superscriptsubscriptlimit-from0superscriptsubscriptsuperscriptsubscriptdifferential-ddifferential-dmissing-subexpressionabsent12superscriptsubscriptlimit-from0superscriptsubscriptsuperscriptsubscriptsuperscriptdifferential-ddifferential-dmissing-subexpressionabsent12superscriptsubscriptlimit-from0superscriptsubscriptsuperscriptsubscriptdelimited-[]superscriptdifferential-dmissing-subexpressionabsent12superscriptsubscriptlimit-from0superscriptsubscriptdelimited-[]0superscriptdifferential-dmissing-subexpressionabsent12superscriptsubscriptlimit-from0superscriptsubscriptdifferential-d aligned P(X>x)&= _x^ā % 12Ļ i _-iā,(0+)^+iāe^K_X(t)-tudt_% Equation adu\\ &= 12Ļ i _-iā,(0+)^+iā _x^āe^K_X(t)-% tududt\\ &= 12Ļ i _-iā,(0+)^+iāe^K_X(t) ( _x^% āe^-tudu )dt\\ &= 12Ļ i _-iā,(0+)^+iāe^K_X(t) [- e^-% tut ]_x^ādt\\ &= 12Ļ i _-iā,(0+)^+iāe^K_X(t) [0- (-% e^-txt ) ]dt\\ &= 12Ļ i _-iā,(0+)^+iā e^K_X(t)-txtdt% alignedstart_ROW start_CELL blackboard_P ( X > x ) end_CELL start_CELL = ā«xā underā start_ARG divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā eitalic_Kitalic_X ( t ) - t u d t end_ARGEquation a d u end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā ā«xā eitalic_Kitalic_X ( t ) - t u d u d t end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā eitalic_Kitalic_X ( t ) ( ā«xā e- t u d u ) d t end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā eitalic_Kitalic_X ( t ) [ - divide start_ARG e- t u end_ARG start_ARG t end_ARG ]xā d t end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā eitalic_Kitalic_X ( t ) [ 0 - ( - divide start_ARG e- t x end_ARG start_ARG t end_ARG ) ] d t end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā divide start_ARG eitalic_Kitalic_X ( t ) - t x end_ARG start_ARG t end_ARG d t end_CELL end_ROW The VaR282828VaR is an upper-tail probability, which allows us to deduce: shortfall integral ā¢(Xā¢ā£X>ā¢x)=1āā¢(X>x)ā¢ā«xāuā¢fXā¢(u)ā¢u,=1āā¢(X>x)ā¢ā«xāuā¢12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ātā¢uā¢tāEquation ā¢aā¢u,=1āā¢(X>x)ā¢12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ā¢(ā«xāuā¢eātā¢uā¢u)ā¢t,=1āā¢(X>x)ā¢12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ā¢[(āutā1t2)ā¢eātā¢u]xāā¢t,=1āā¢(X>x)ā¢12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ā¢[ā(āxtā1t2)ā¢eātā¢x]ā¢tā¢, =1āā¢(X>x)ā¢12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ā¢[xā¢eātā¢xt+eātā¢xt2]ā¢tā¢, =1āā¢(X>x)ā¢(12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ātā¢xt2ā¢t+xā¢12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ātā¢xtā¢tāāā¢(X>x))ā¢, =1āā¢(X>x)ā¢(12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ātā¢xt2ā¢t+xā¢āā¢(X>x))ā¢, =x+1āā¢(X>x)ā¢(12ā¢Ļā¢iā¢ā«āiā¢ā,(0+)+iā¢āeKXā¢(t)ātā¢xt2ā¢t)ā¢.missing-subexpressionket1āsuperscriptsubscriptsubscriptdifferential-dmissing-subexpressionabsent1āsuperscriptsubscriptsubscriptā12superscriptsubscriptlimit-from0superscriptsubscriptdifferential-dEquation differential-dmissing-subexpressionabsent1ā12superscriptsubscriptlimit-from0superscriptsubscriptsuperscriptsubscriptsuperscriptdifferential-ddifferential-dmissing-subexpressionabsent1ā12superscriptsubscriptlimit-from0superscriptsubscriptsuperscriptsubscriptdelimited-[]1superscript2superscriptdifferential-dmissing-subexpressionabsent1ā12superscriptsubscriptlimit-from0superscriptsubscriptdelimited-[]1superscript2superscriptdifferential-d, missing-subexpressionabsent1ā12superscriptsubscriptlimit-from0superscriptsubscriptdelimited-[]superscriptsuperscriptsuperscript2differential-d, missing-subexpressionabsent1ā12superscriptsubscriptlimit-from0superscriptsubscriptsuperscript2differential-dsubscriptā12superscriptsubscriptlimit-from0superscriptsubscriptdifferential-dā, missing-subexpressionabsent1ā12superscriptsubscriptlimit-from0superscriptsubscriptsuperscript2differential-dā, missing-subexpressionabsent1ā12superscriptsubscriptlimit-from0superscriptsubscriptsuperscript2differential-d. aligned &E(X X>x)= 1P(X>x)% _x^āuf_X(u)du,\\ &= 1P(X>x) _x^āu 12Ļ i _% -iā,(0+)^+iāe^K_X(t)-tudt_Equation adu,\\ &= 1P(X>x) 12Ļ i _-iā,(0+)^+iāe^K% _X(t) ( _x^āue^-tudu )dt,\\ &= 1P(X>x) 12Ļ i _-iā,(0+)^+iāe^K% _X(t) [ (- ut- 1t^2 )e^-tu ]_x^% ādt,\\ &= 1P(X>x) 12Ļ i _-iā,(0+)^+iāe^K% _X(t) [- (- xt- 1t^2 )e^-tx ]dt% , \\ &= 1P(X>x) 12Ļ i _-iā,(0+)^+iāe^K% _X(t) [ xe^-txt+ e^-txt^2 ]dt, \\ &= 1P(X>x)( 12Ļ i _-iā,(0+)^+iā% e^K_X(t)-txt^2dt+x 12Ļ i _-iā,(0% +)^+iā e^K_X(t)-txtdt_P(X>x)), \\ &= 1P(X>x) ( 12Ļ i _-iā,(0+)^+i% ā e^K_X(t)-txt^2dt+xP(X>x) ), \\ &=x+ 1P(X>x) ( 12Ļ i _-iā,(0+)^+i% ā e^K_X(t)-txt^2dt ). alignedstart_ROW start_CELL end_CELL start_CELL blackboard_E ( X ⣠X > x ) = divide start_ARG 1 end_ARG start_ARG blackboard_P ( X > x ) end_ARG ā«xā u fitalic_X ( u ) d u , end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG blackboard_P ( X > x ) end_ARG ā«xā u underā start_ARG divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā eitalic_Kitalic_X ( t ) - t u d t end_ARGEquation a d u , end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG blackboard_P ( X > x ) end_ARG divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā eitalic_Kitalic_X ( t ) ( ā«xā u e- t u d u ) d t , end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG blackboard_P ( X > x ) end_ARG divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā eitalic_Kitalic_X ( t ) [ ( - divide start_ARG u end_ARG start_ARG t end_ARG - divide start_ARG 1 end_ARG start_ARG t2 end_ARG ) e- t u ]xā d t , end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG blackboard_P ( X > x ) end_ARG divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā eitalic_Kitalic_X ( t ) [ - ( - divide start_ARG x end_ARG start_ARG t end_ARG - divide start_ARG 1 end_ARG start_ARG t2 end_ARG ) e- t x ] d t , end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG blackboard_P ( X > x ) end_ARG divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā eitalic_Kitalic_X ( t ) [ divide start_ARG x e- t x end_ARG start_ARG t end_ARG + divide start_ARG e- t x end_ARG start_ARG t2 end_ARG ] d t , end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG blackboard_P ( X > x ) end_ARG ( divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā divide start_ARG eitalic_Kitalic_X ( t ) - t x end_ARG start_ARG t2 end_ARG d t + x underā start_ARG divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā divide start_ARG eitalic_Kitalic_X ( t ) - t x end_ARG start_ARG t end_ARG d t end_ARGblackboard_P ( X > x ) ) , end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG 1 end_ARG start_ARG blackboard_P ( X > x ) end_ARG ( divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā divide start_ARG eitalic_Kitalic_X ( t ) - t x end_ARG start_ARG t2 end_ARG d t + x blackboard_P ( X > x ) ) , end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = x + divide start_ARG 1 end_ARG start_ARG blackboard_P ( X > x ) end_ARG ( divide start_ARG 1 end_ARG start_ARG 2 Ļ i end_ARG ā«- i ā , ( 0 + )+ i ā divide start_ARG eitalic_Kitalic_X ( t ) - t x end_ARG start_ARG t2 end_ARG d t ) . end_CELL end_ROW Figure 18: Cramer-Lundberg model via bayesian optimization Lundbergās inequality Theorem 2. Suppose Īŗ>00Īŗ>0Īŗ > 0. Then the probability of ruin Ļā¢(u)Ļ(u)Ļ ( u ) satisfies, Ļā¢(u)ā¤eāĪŗā¢u,uā„0formulae-sequencesuperscript0Ļ(u)⤠e^-Īŗ u, uā„ 0Ļ ( u ) ⤠e- Īŗ u , u ā„ 0 Proof. Ļn+1ā¢(u)=ā«0ā[1āFā¢(u+cā¢t)+ā«0u+cā¢tĻnā¢(u+cā¢tāx)ā¢Fā¢(x)]ā¢Ī»ā¢eāĪ»ā¢tā¢tsubscript1absentsuperscriptsubscript0delimited-[]1superscriptsubscript0subscriptdifferential-dsuperscriptdifferential-d aligned _n+1(u)\\ = _0^ā [1-F(u+ct)+ _0^u+ct _n(u+ct-x)dF(x) ]% Ī» e^-Ī» tdt alignedstart_ROW start_CELL Ļitalic_n + 1 ( u ) end_CELL end_ROW start_ROW start_CELL = ā«0ā [ 1 - F ( u + c t ) + ā«0u + c t Ļitalic_n ( u + c t - x ) d F ( x ) ] Ī» e- Ī» t d t end_CELL end_ROW Ļn+1ā¢(u)=ā«0ā[ā«u+cā¢tāFā¢(x)+ā«0u+cā¢tĻnā¢(u+cā¢tāx)ā¢Fā¢(x)]ā¢Ī»ā¢eāĪ»ā¢tā¢tā¤ā«0ā[ā«u+cā¢tāeāĪŗā¢(u+cā¢tāx)dF(x)+ā«0u+cā¢teāĪŗā¢(u+cā¢tāx)dF(x)]Ī»eāĪ»ā¢tdt aligned & _n+1(u)= _0^ā [ _u+ct% ^ādF(x)+ _0^u+ct _n(u+ct-x)dF(x) ]Ī» e^-Ī» t% dt\\ &⤠_0^ā [ _u+ct^āe^-Īŗ(u+ct-x)dF(x) % .\\ & .+ _0^u+cte^-Īŗ(u+ct-x)dF(x) ]Ī» e^-Ī» tdt% alignedstart_ROW start_CELL end_CELL start_CELL Ļitalic_n + 1 ( u ) = ā«0ā [ ā«u + c tā d F ( x ) + ā«0u + c t Ļitalic_n ( u + c t - x ) d F ( x ) ] Ī» e- Ī» t d t end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL ⤠ā«0ā [ ā«u + c tā e- Īŗ ( u + c t - x ) d F ( x ) end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL + ā«0u + c t e- Īŗ ( u + c t - x ) d F ( x ) ] Ī» e- Ī» t d t end_CELL end_ROW Ļn+1ā¢(u)ā¤ā«0ā[ā«0āeāĪŗā¢(u+cā¢tāx)ā¢Fā¢(x)]ā¢Ī»ā¢eāĪ»ā¢tā¢t=Ī»ā¢eāĪŗā¢uā¢ā«0āeāĪŗā¢cā¢tā¢[ā«0āeĪŗā¢xā¢Fā¢(x)]ā¢eāĪ»ā¢tā¢t=Ī»ā¢eāĪŗā¢uā¢ā«0āeā(Ī»+Īŗā¢c)ā¢tā¢[MXā¢(Īŗ)]ā¢t=Ī»ā¢MXā¢(Īŗ)ā¢eāĪŗā¢uā¢ā«0āeā(Ī»+Īŗā¢c)ā¢tā¢t=Ī»ā¢MXā¢(Īŗ)Ī»+Īŗā¢cā¢eāĪŗā¢usubscript1absentsuperscriptsubscript0delimited-[]superscriptsubscript0superscriptdifferential-dsuperscriptdifferential-dmissing-subexpressionabsentsuperscriptsuperscriptsubscript0superscriptdelimited-[]superscriptsubscript0superscriptdifferential-dsuperscriptdifferential-dmissing-subexpressionabsentsuperscriptsuperscriptsubscript0superscriptdelimited-[]subscriptdifferential-dmissing-subexpressionabsentsubscriptsuperscriptsuperscriptsubscript0superscriptdifferential-dmissing-subexpressionabsentsubscriptsuperscript aligned _n+1(u)&⤠_0^ā [ _0% ^āe^-Īŗ(u+ct-x)dF(x) ]Ī» e^-Ī» tdt\\ &=Ī» e^-Īŗ u _0^āe^-Īŗ ct [ _0^āe% ^Īŗ xdF(x) ]e^-Ī» tdt\\ &=Ī» e^-Īŗ u _0^āe^-(Ī»+Īŗ c)t [M_X(% Īŗ) ]dt\\ &=Ī» M_X(Īŗ)e^-Īŗ u _0^āe^-(Ī»+Īŗ c)t% dt\\ &= Ī» M_X(Īŗ)Ī»+Īŗ ce^-Īŗ u alignedstart_ROW start_CELL Ļitalic_n + 1 ( u ) end_CELL start_CELL ⤠ā«0ā [ ā«0ā e- Īŗ ( u + c t - x ) d F ( x ) ] Ī» e- Ī» t d t end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = Ī» e- Īŗ u ā«0ā e- Īŗ c t [ ā«0ā eitalic_Īŗ x d F ( x ) ] e- Ī» t d t end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = Ī» e- Īŗ u ā«0ā e- ( Ī» + Īŗ c ) t [ Mitalic_X ( Īŗ ) ] d t end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = Ī» Mitalic_X ( Īŗ ) e- Īŗ u ā«0ā e- ( Ī» + Īŗ c ) t d t end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = divide start_ARG Ī» Mitalic_X ( Īŗ ) end_ARG start_ARG Ī» + Īŗ c end_ARG e- Īŗ u end_CELL end_ROW Ī»ā¢MXā¢(Īŗ)=Ī»ā¢[1+(1+Īø)ā¢Īŗā¢Ī¼]=Ī»+Īŗā¢(1+Īø)ā¢Ī»ā¢Ī¼=Ī»+Īŗā¢csubscriptdelimited-[]111Ī» M_X(Īŗ)=Ī»[1+(1+Īø)κμ]=Ī»+Īŗ(1+Īø)% λμ=Ī»+Īŗ cĪ» Mitalic_X ( Īŗ ) = Ī» [ 1 + ( 1 + Īø ) Īŗ μ ] = Ī» + Īŗ ( 1 + Īø ) Ī» μ = Ī» + Īŗ c Ļn+1ā¢(u)ā¤eāĪŗā¢usubscript1superscript _n+1(u)⤠e^-Īŗ uĻitalic_n + 1 ( u ) ⤠e- Īŗ u , Ļnā¢(u)ā¤eāĪŗā¢usubscriptsuperscript _n(u)⤠e^-Īŗ uĻitalic_n ( u ) ⤠e- Īŗ u for all n , Ļā¢(u)=absentĻ(u)=Ļ ( u ) = limnāāĻnā¢(u)ā¤eāĪŗā¢usubscriptāsubscriptsuperscript _nāā _n(u)⤠e^-Īŗ ulimitalic_n ā ā Ļitalic_n ( u ) ⤠e- Īŗ u. Īø=uā¢Eā¢[expā”(ālnā”αuā¢X)]ā1āμā¢lnā”αā1Edelimited-[]11Īø= u \E [ (- αuX )% ]-1 \-μ α-1Īø = divide start_ARG u E [ exp ( - divide start_ARG ln α end_ARG start_ARG u end_ARG X ) ] - 1 end_ARG start_ARG - μ ln α end_ARG - 1 Īŗ=(ālnā”α)/uĪŗ=(- α)/uĪŗ = ( - ln α ) / u, Ļā¢(u)ā¤eāĪŗā¢u=elnā”α=αsuperscriptsuperscriptĻ(u)⤠e^-Īŗ u=e α=Ī±Ļ ( u ) ⤠e- Īŗ u = eroman_ln α = α, u=ālnā”ακu= - ακu = divide start_ARG - ln α end_ARG start_ARG Īŗ end_ARG Ļā¢(u)ā¤eāĪŗā¢u=elnā”α=αsuperscriptsuperscriptĻ(u)⤠e^-Īŗ u=e α=Ī±Ļ ( u ) ⤠e- Īŗ u = eroman_ln α = α Ļā¢(ā)=limuāāĻā¢(u)=0subscriptā0Ļ(ā)= _uāāĻ(u)=0Ļ ( ā ) = limitalic_u ā ā Ļ ( u ) = 0 0ā¤Ļā¢(u)ā¤eāĪŗā¢u0superscript0ā¤Ļ(u)⤠e^-Īŗ u0 ā¤ Ļ ( u ) ⤠e- Īŗ u Suppose Īŗ>00Īŗ>0Īŗ > 0. Then the ruin probability satisfies, Ļā¢(u)ā¼Cā¢eāĪŗā¢u,uāāformulae-sequencesimilar-tosuperscriptāĻ(u) Ce^-Īŗ u, uāāĻ ( u ) ā¼ C e- Īŗ u , u ā ā C=μā¢ĪøMXā²ā¢(Īŗ)āμā¢(1+Īø)superscriptsubscriptā²1C= μθM_X (Īŗ)-μ(1+Īø)C = divide start_ARG μ Īø end_ARG start_ARG Mitalic_Xā² ( Īŗ ) - μ ( 1 + Īø ) end_ARG ā Understanding Diffusion concepts at a more advanced level Concepts of Diffusion Riemannian. Consider a solution u:ā³Ć[0,T]ā[0,ā):āā³00u:MĆ[0,T]ā[0,ā)u : M Ć [ 0 , T ] ā [ 0 , ā ) , āuāt=Īā¢uĪ ā uā t= udivide start_ARG ā u end_ARG start_ARG ā t end_ARG = Ī u with ā«ā³uā¢(ā ,0)ā¢Ī¼g=1subscriptā³ā 0differential-dsubscript1 _Mu(Ā·,0)d _g=1ā«M u ( ā , 0 ) d μitalic_g = 1, where μgsubscript _gμitalic_g is the Riemannian 292929Ricci-Riemann volume measure. dā¢tā¢ā«ā³uā¢(ā ,t)ā¢Ī¼g=ā«ā³Īā¢uā¢Ī¼g=0,subscriptā³ā differential-dsubscriptsubscriptā³Īdifferential-dsubscript0 ddt _Mu(Ā·,t)d _g= _M ud% _g=0,divide start_ARG d end_ARG start_ARG d t end_ARG ā«M u ( ā , t ) d μitalic_g = ā«M Ī u d μitalic_g = 0 , The integral of u over ā³MM remains one for each tā[0,T]0tā[0,T]t ā [ 0 , T ], and in particular, u can be viewed as a probability density of a measure νā¢(t)ν(t)ν ( t ) defined by dā¢Ī½ā¢(t):=uā¢(ā ,t)ā¢dā¢Ī¼gassignā subscriptdν(t):=u(Ā·,t)d _gd ν ( t ) := u ( ā , t ) d μitalic_g. νā¢(t)ν(t)ν ( t ) represents the probability distribution of a particle moving on the manifold under Brownian motion, with initial probability distribution νā¢(0)0ν(0)ν ( 0 ), Suppose gā¢(Ļ)g(Ļ)g ( Ļ ) is a family of Riemannian metrics on ā³MM, for ĻāabsentĻāĻ ā [0,T]0[0,T][ 0 , T ]. We call a flow of measures vā¢(Ļ)v(Ļ)v ( Ļ ) a diffusion [116] (representing the probability distribution of a Brownian particle as above) if dā¢Ī½ā¢(Ļ)=uā¢(ā ,Ļ)ā¢dā¢Ī¼gā¢(Ļ)ā subscriptdν(Ļ)=u(Ā·,Ļ)d _g(Ļ)d ν ( Ļ ) = u ( ā , Ļ ) d μitalic_g ( Ļ ) with , āuāĻ=Īgā¢(Ļ)ā¢uā(12ā¢trā”āgāĻ)ā¢usubscriptĪ12tr ā uāĻ= _g(Ļ)u- ( 12% tr ā gāĻ )udivide start_ARG ā u end_ARG start_ARG ā Ļ end_ARG = Īitalic_g ( Ļ ) u - ( divide start_ARG 1 end_ARG start_ARG 2 end_ARG tr divide start_ARG ā g end_ARG start_ARG ā Ļ end_ARG ) u āgāĻ=2ā¢Ricā”(gā¢(Ļ))2Ric ā gāĻ=2Ric(g(Ļ))divide start_ARG ā g end_ARG start_ARG ā Ļ end_ARG = 2 Ric ( g ( Ļ ) ), gā¢(ā )ā g(Ā·)g ( ā ) a Ricci flow with respect to a āreverseā time coordinate Ļ (that is, Ļ=CātĻ=C-tĻ = C - t for some constant C ), āuāĻ=Īgā¢(Ļ)ā¢uāRā¢usubscriptĪ ā uāĻ= _g(Ļ)u-Rudivide start_ARG ā u end_ARG start_ARG ā Ļ end_ARG = Īitalic_g ( Ļ ) u - R u dā¢Ļā¢ā«ā³Ī½ā¢(Ļ)subscriptā³differential-d ddĻ _Mdν(Ļ)divide start_ARG d end_ARG start_ARG d Ļ end_ARG ā«M d ν ( Ļ ) =dā¢Ļā¢ā«ā³uā¢(ā ,Ļ)ā¢Ī¼gā¢(Ļ)absentsubscriptā³ā differential-dsubscript = ddĻ _Mu(Ā·,Ļ)d _g(Ļ)= divide start_ARG d end_ARG start_ARG d Ļ end_ARG ā«M u ( ā , Ļ ) d μitalic_g ( Ļ ) = == ā«ā³(āuāĻā¢dā¢Ī¼gā¢(Ļ)+uā¢āĻā¢dā¢Ī¼gā¢(Ļ))subscriptā³subscriptsubscript _M ( ā uāĻd _g(% Ļ)+u āĻd _g(Ļ) )ā«M ( divide start_ARG ā u end_ARG start_ARG ā Ļ end_ARG d μitalic_g ( Ļ ) + u divide start_ARG ā end_ARG start_ARG ā Ļ end_ARG d μitalic_g ( Ļ ) ) =ā«ā³Īgā¢(Ļ)ā¢uā¢Ī¼gā¢(Ļ)=0absentsubscriptā³subscriptĪdifferential-dsubscript0 = _M _g(Ļ)ud _g(Ļ)=0= ā«M Īitalic_g ( Ļ ) u d μitalic_g ( Ļ ) = 0 If gā¢(Ļ)g(Ļ)g ( Ļ ) is a flow of Riemannian metrics for Ļā[a,b]Ļā[a,b]Ļ ā [ a , b ], and νā¢(Ļ)ν(Ļ)ν ( Ļ ) is a diffusion (as defined above) then given any f:ā³Ć[a,b]āā:āā³āf:MĆ[a,b] : M Ć [ a , b ] ā blackboard_R solving āāfāĻ=Īgā¢(Ļ)ā¢fsubscriptĪ- ā fāĻ= _g(Ļ)f- divide start_ARG ā f end_ARG start_ARG ā Ļ end_ARG = Īitalic_g ( Ļ ) f, dā¢Ļā¢ā«ā³fā¢(ā ,Ļ)ā¢Ī½ā¢(Ļ)=0.subscriptā³ā differential-d0 ddĻ _Mf(Ā·,Ļ)dν(Ļ)=0.divide start_ARG d end_ARG start_ARG d Ļ end_ARG ā«M f ( ā , Ļ ) d ν ( Ļ ) = 0 . Concepts of McKean-Vlasov process. This conceptualization of diffusion models in Riemmanās sense allows us to state āPropagation of Chaosā, through a āMcKean-Vlasov process (Figure 19)ā [117], [118], [119], [120], [121],[122],[123] incorporating Bayesian optimization of the data distribution. The results obtained can be viewed on ART.1.18303030ART-IBM Figure 19: McKean-Vlasov process via bayesian optimization References [1] G. Yenduri, M. Ramalingam, G. C. Selvi, Y. Supriya, G. Srivastava, P. K. R. Maddikunta, G. D. Raj, R. H. Jhaveri, B. Prabadevi, W. Wang et al., āGpt (generative pre-trained transformer)āa comprehensive review on enabling technologies, potential applications, emerging challenges, and future directions,ā IEEE Access, 2024. [2] M. Gupta, C. Akiri, K. Aryal, E. Parker, and L. Praharaj, āFrom chatgpt to threatgpt: Impact of generative ai in cybersecurity and privacy,ā IEEE Access, 2023. [3] A. Troxler and J. Schelldorfer, āActuarial applications of natural language processing using transformers: Case studies for using text features in an actuarial context,ā British Actuarial Journal, vol. 29, p. e4, 2024. [4] Y. Yao, J. Duan, K. Xu, Y. Cai, Z. Sun, and Y. Zhang, āA survey on large language model (llm) security and privacy: The good, the bad, and the ugly,ā High-Confidence Computing, p. 100211, 2024. [5] Z. Wang and Q. Hu, āBlockchain-based federated learning: A comprehensive survey,ā arXiv preprint arXiv:2110.02182, 2021. [6] L. Sun, Y. Huang, H. Wang, S. Wu, Q. Zhang, C. Gao, Y. Huang, W. Lyu, Y. Zhang, X. Li et al., āTrustllm: Trustworthiness in large language models,ā arXiv preprint arXiv:2401.05561, 2024. [7] L. Cao, āAi in finance: challenges, techniques, and opportunities,ā ACM Computing Surveys (CSUR), vol. 55, no. 3, p. 1ā38, 2022. [8] C.-J. Wu, R. Raghavendra, U. Gupta, B. Acun, N. Ardalani, K. Maeng, G. Chang, F. Aga, J. Huang, C. Bai et al., āSustainable ai: Environmental implications, challenges and opportunities,ā Proceedings of Machine Learning and Systems, vol. 4, p. 795ā813, 2022. [9] M. Zawish, F. A. Dharejo, S. A. Khowaja, S. Raza, S. Davy, K. Dev, and P. Bellavista, āAi and 6g into the metaverse: Fundamentals, challenges and future research trends,ā IEEE Open Journal of the Communications Society, vol. 5, p. 730ā778, 2024. [10] R. Bommasani, D. A. Hudson, E. Adeli, R. Altman, S. Arora, S. von Arx, M. S. Bernstein, J. Bohg, A. Bosselut, E. Brunskill et al., āOn the opportunities and risks of foundation models,ā arXiv preprint arXiv:2108.07258, 2021. [11] J. Z. Pan, S. Razniewski, J.-C. Kalo, S. Singhania, J. Chen, S. Dietze, H. Jabeen, J. Omeliyanenko, W. Zhang, M. Lissandrini et al., āLarge language models and knowledge graphs: Opportunities and challenges,ā arXiv preprint arXiv:2308.06374, 2023. [12] O. Mengara, āThe art of deception: Robust backdoor attack using dynamic stacking of triggers,ā arXiv preprint arXiv:2401.01537, 2024. [13] Y. Li, S. Wang, H. Ding, and H. Chen, āLarge language models in finance: A survey,ā in Proceedings of the fourth ACM international conference on AI in finance, 2023, p. 374ā382. [14] K. Peng and G. Yan, āA survey on deep learning for financial risk prediction,ā Quantitative Finance and Economics, vol. 5, no. 4, p. 716ā737, 2021. [15] J. Lee, N. Stevens, S. C. Han, and M. Song, āA survey of large language models in finance (finllms),ā arXiv preprint arXiv:2402.02315, 2024. [16] Y. Nie, Y. Kong, X. Dong, J. M. Mulvey, H. V. Poor, Q. Wen, and S. Zohren, āA survey of large language models for financial applications: Progress, prospects and challenges,ā arXiv preprint arXiv:2406.11903, 2024. [17] X. Huang, W. Ruan, W. Huang, G. Jin, Y. Dong, C. Wu, S. Bensalem, R. Mu, Y. Qi, X. Zhao et al., āA survey of safety and trustworthiness of large language models through the lens of verification and validation,ā Artificial Intelligence Review, vol. 57, no. 7, p. 175, 2024. [18] O. Mengara, āThe last dance: Robust backdoor attack via diffusion models and bayesian approach,ā arXiv preprint arXiv:2402.05967, 2024. [19] ā, āTrading devil: Robust backdoor attack via stochastic investment models and bayesian approach,ā arXiv. org, Tech. Rep., 2024. [20] M. Joshi and A. Stacey, āNew and robust drift approximations for the libor market model,ā Quantitative Finance, vol. 8, no. 4, p. 427ā434, 2008. [21] C. Bayer, P. K. Friz, M. Fukasawa, J. Gatheral, A. Jacquier, and M. Rosenbaum, Rough volatility. SIAM, 2023. [22] J. Gatheral, T. Jaisson, and M. Rosenbaum, āVolatility is rough,ā Quantitative finance, vol. 18, no. 6, p. 933ā949, 2018. [23] M. Fukasawa and R. Takano, āA partial rough path space for rough volatility,ā Electronic Journal of Probability, vol. 29, p. 1ā28, 2024. [24] E. Abi Jaber, āLifting the heston model,ā Quantitative finance, vol. 19, no. 12, p. 1995ā2013, 2019. [25] R. Cont and P. Das, āRough volatility: fact or artefact?ā Sankhya B, vol. 86, no. 1, p. 191ā223, 2024. [26] J. Matas and J. PospĆÅ”il, āOn simulation of rough volterra stochastic volatility models,ā arXiv preprint arXiv:2108.01999, 2021. [27] E. Abi Jaber and S. X. Li, āVolatility models in practice: Rough, path-dependent or markovian?ā Path-Dependent or Markovian, 2024. [28] G. Brandi and T. Di Matteo, āMultiscaling and rough volatility: An empirical investigation,ā International Review of Financial Analysis, vol. 84, p. 102324, 2022. [29] O. E. Euch, M. Fukasawa, J. Gatheral, and M. Rosenbaum, āShort-term at-the-money asymptotics under stochastic volatility models,ā SIAM Journal on Financial Mathematics, vol. 10, no. 2, p. 491ā511, 2019. [30] E. Abi Jaber and O. El Euch, āMultifactor approximation of rough volatility models,ā SIAM journal on financial mathematics, vol. 10, no. 2, p. 309ā349, 2019. [31] O. El Euch, M. Fukasawa, and M. Rosenbaum, āThe microstructural foundations of leverage effect and rough volatility,ā Finance and Stochastics, vol. 22, p. 241ā280, 2018. [32] O. El Euch and M. Rosenbaum, āThe characteristic function of rough heston models,ā Mathematical Finance, vol. 29, no. 1, p. 3ā38, 2019. [33] E. Abi Jaber and O. El Euch, āMarkovian structure of the volterra heston model,ā Statistics & Probability Letters, vol. 149, p. 63ā72, 2019. [34] A. Galichon, āThe unreasonable effectiveness of optimal transport in economics,ā arXiv preprint arXiv:2107.04700, 2021. [35] L. C. Torres, L. M. Pereira, and M. H. Amini, āA survey on optimal transport for machine learning: Theory and applications,ā arXiv preprint arXiv:2106.01963, 2021. [36] B. Horvath, A. Jacquier, A. Muguruza, and A. SĆøjmark, āFunctional central limit theorems for rough volatility,ā Finance and Stochastics, p. 1ā47, 2024. [37] M. Wiese, L. Bai, B. Wood, and H. Buehler, āDeep hedging: learning to simulate equity option markets,ā arXiv preprint arXiv:1911.01700, 2019. [38] A. Ilhan, M. Jonsson, and R. Sircar, āOptimal static-dynamic hedges for exotic options under convex risk measures,ā Stochastic Processes and their Applications, vol. 119, no. 10, p. 3608ā3632, 2009. [39] T. Chakraborty, C. Seifert, and C. Wirth, āExplainable bayesian optimization,ā arXiv preprint arXiv:2401.13334, 2024. [40] S. Islam, H. Elmekki, A. Elsebai, J. Bentahar, N. Drawel, G. Rjoub, and W. Pedrycz, āA comprehensive survey on applications of transformers for deep learning tasks,ā Expert Systems with Applications, p. 122666, 2023. [41] S. M. Jain, āHugging face,ā in Introduction to Transformers for NLP: With the Hugging Face Library and Models to Solve Problems. Springer, 2022, p. 51ā67. [42] E. Hubinger, C. Denison, J. Mu, M. Lambert, M. Tong, M. MacDiarmid, T. Lanham, D. M. Ziegler, T. Maxwell, N. Cheng et al., āSleeper agents: Training deceptive llms that persist through safety training,ā arXiv preprint arXiv:2401.05566, 2024. [43] S. Sousa and R. Kern, āHow to keep text private? a systematic review of deep learning methods for privacy-preserving natural language processing,ā Artificial Intelligence Review, vol. 56, no. 2, p. 1427ā1492, 2023. [44] T. D. Nguyen, T. Nguyen, P. Le Nguyen, H. H. Pham, K. D. Doan, and K.-S. Wong, āBackdoor attacks and defenses in federated learning: Survey, challenges and future research directions,ā Engineering Applications of Artificial Intelligence, vol. 127, p. 107166, 2024. [45] T. Senevirathna, V. H. La, S. Marchal, B. Siniarski, M. Liyanage, and S. Wang, āA survey on xai for beyond 5g security: technical aspects, use cases, challenges and research directions,ā arXiv preprint arXiv:2204.12822, 2022. [46] J. Wu, S. Yang, R. Zhan, Y. Yuan, D. F. Wong, and L. S. Chao, āA survey on llm-gernerated text detection: Necessity, methods, and future directions,ā arXiv preprint arXiv:2310.14724, 2023. [47] S. Bharati and P. Podder, āMachine and deep learning for iot security and privacy: applications, challenges, and future directions,ā Security and communication networks, vol. 2022, no. 1, p. 8951961, 2022. [48] Q. Liu, T. Zhou, Z. Cai, and Y. Tang, āOpportunistic backdoor attacks: Exploring human-imperceptible vulnerabilities on speech recognition systems,ā in Proceedings of the 30th ACM International Conference on Multimedia, 2022, p. 2390ā2398. [49] R. Xu, N. Baracaldo, and J. Joshi, āPrivacy-preserving machine learning: Methods, challenges and directions,ā arXiv preprint arXiv:2108.04417, 2021. [50] T. Feng, R. Hebbar, N. Mehlman, X. Shi, A. Kommineni, S. Narayanan et al., āA review of speech-centric trustworthy machine learning: Privacy, safety, and fairness,ā APSIPA Transactions on Signal and Information Processing, vol. 12, no. 3, 2023. [51] M. Rigaki and S. Garcia, āA survey of privacy attacks in machine learning,ā ACM Computing Surveys, vol. 56, no. 4, p. 1ā34, 2023. [52] X. Hou, Y. Zhao, Y. Liu, Z. Yang, K. Wang, L. Li, X. Luo, D. Lo, J. Grundy, and H. Wang, āLarge language models for software engineering: A systematic literature review,ā arXiv preprint arXiv:2308.10620, 2023. [53] P. Sosnin, M. N. Müller, M. Baader, C. Tsay, and M. Wicker, āCertified robustness to data poisoning in gradient-based training,ā arXiv preprint arXiv:2406.05670, 2024. [54] L. Yu, S. Liu, Y. Miao, X.-S. Gao, and L. Zhang, āGeneralization bound and new algorithm for clean-label backdoor attack,ā arXiv preprint arXiv:2406.00588, 2024. [55] H. Yang, K. Xiang, M. Ge, H. Li, R. Lu, and S. Yu, āA comprehensive overview of backdoor attacks in large language models within communication networks,ā IEEE Network, 2024. [56] E. C. Garrido-MerchĆ”n, G. G. Piris, and M. C. Vaca, āBayesian optimization of esg financial investments,ā arXiv preprint arXiv:2303.01485, 2023. [57] P. I. Frazier, āA tutorial on bayesian optimization,ā arXiv preprint arXiv:1807.02811, 2018. [58] J. Shi, Y. Liu, P. Zhou, and L. Sun, āBadgpt: Exploring security vulnerabilities of chatgpt via backdoor attacks to instructgpt,ā arXiv preprint arXiv:2304.12298, 2023. [59] K. Chen, Y. Meng, X. Sun, S. Guo, T. Zhang, J. Li, and C. Fan, āBadpre: Task-agnostic backdoor attacks to pre-trained nlp foundation models,ā arXiv preprint arXiv:2110.02467, 2021. [60] F. Qi, M. Li, Y. Chen, Z. Zhang, Z. Liu, Y. Wang, and M. Sun, āHidden killer: Invisible textual backdoor attacks with syntactic trigger,ā arXiv preprint arXiv:2105.12400, 2021. [61] B. Wu, Z. Zhu, L. Liu, Q. Liu, Z. He, and S. Lyu, āAttacks in adversarial machine learning: A systematic survey from the life-cycle perspective,ā arXiv preprint arXiv:2302.09457, 2023. [62] S. Zhao, M. Jia, Z. Guo, L. Gan, J. Fu, Y. Feng, F. Pan, and L. A. Tuan, āA survey of backdoor attacks and defenses on large language models: Implications for security measures,ā arXiv preprint arXiv:2406.06852, 2024. [63] B. C. Das, M. H. Amini, and Y. Wu, āSecurity and privacy challenges of large language models: A survey,ā arXiv preprint arXiv:2402.00888, 2024. [64] S. Zhao, M. Jia, L. A. Tuan, F. Pan, and J. Wen, āUniversal vulnerabilities in large language models: Backdoor attacks for in-context learning,ā arXiv preprint arXiv:2401.05949, 2024. [65] Y. Bruned, I. Chevyrev, P. K. Friz, and R. Preiss, āA rough path perspective on renormalization,ā Journal of Functional Analysis, vol. 277, no. 11, p. 108283, 2019. [66] K. J. Piczak, āEsc: Dataset for environmental sound classification,ā in Proceedings of the 23rd ACM international conference on Multimedia, 2015, p. 1015ā1018. [67] A. Radford, J. W. Kim, T. Xu, G. Brockman, C. McLeavey, and I. Sutskever, āRobust speech recognition via large-scale weak supervision,ā in International conference on machine learning. PMLR, 2023, p. 28 492ā28 518. [68] L. Barrault, Y.-A. Chung, M. C. Meglioli, D. Dale, N. Dong, M. Duppenthaler, P.-A. Duquenne, B. Ellis, H. Elsahar, J. Haaheim et al., āSeamless: Multilingual expressive and streaming speech translation,ā arXiv preprint arXiv:2312.05187, 2023. [69] V. Pratap, A. Tjandra, B. Shi, P. Tomasello, A. Babu, S. Kundu, A. Elkahky, Z. Ni, A. Vyas, M. Fazel-Zarandi et al., āScaling speech technology to 1,000+ languages,ā Journal of Machine Learning Research, vol. 25, no. 97, p. 1ā52, 2024. [70] A. Baevski, Y. Zhou, A. Mohamed, and M. Auli, āwav2vec 2.0: A framework for self-supervised learning of speech representations,ā Advances in neural information processing systems, vol. 33, p. 12 449ā12 460, 2020. [71] A. Baevski, W.-N. Hsu, Q. Xu, A. Babu, J. Gu, and M. Auli, āData2vec: A general framework for self-supervised learning in speech, vision and language,ā in International Conference on Machine Learning. PMLR, 2022, p. 1298ā1312. [72] W.-N. Hsu, B. Bolte, Y.-H. H. Tsai, K. Lakhotia, R. Salakhutdinov, and A. Mohamed, āHubert: Self-supervised speech representation learning by masked prediction of hidden units,ā IEEE/ACM transactions on audio, speech, and language processing, vol. 29, p. 3451ā3460, 2021. [73] F. Wu, K. Kim, S. Watanabe, K. J. Han, R. McDonald, K. Q. Weinberger, and Y. Artzi, āWav2seq: Pre-training speech-to-text encoder-decoder models using pseudo languages,ā in ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2023, p. 1ā5. [74] S. Koffas, J. Xu, M. Conti, and S. Picek, āCan you hear it? backdoor attacks via ultrasonic triggers,ā in Proceedings of the 2022 ACM workshop on wireless security and machine learning, 2022, p. 57ā62. [75] C. Shi, T. Zhang, Z. Li, H. Phan, T. Zhao, Y. Wang, J. Liu, B. Yuan, and Y. Chen, āAudio-domain position-independent backdoor attack via unnoticeable triggers,ā in Proceedings of the 28th Annual International Conference on Mobile Computing And Networking, 2022, p. 583ā595. [76] U. Anwar, A. Saparov, J. Rando, D. Paleka, M. Turpin, P. Hase, E. S. Lubana, E. Jenner, S. Casper, O. Sourbut et al., āFoundational challenges in assuring alignment and safety of large language models,ā arXiv preprint arXiv:2404.09932, 2024. [77] H. Yang, X.-Y. Liu, S. Zhong, and A. Walid, āDeep reinforcement learning for automated stock trading: An ensemble strategy,ā in Proceedings of the first ACM international conference on AI in finance, 2020, p. 1ā8. [78] A. Kim, M. Muhn, and V. Nikolaev, āFinancial statement analysis with large language models,ā arXiv preprint arXiv:2407.17866, 2024. [79] B. Shahriari, K. Swersky, Z. Wang, R. P. Adams, and N. De Freitas, āTaking the human out of the loop: A review of bayesian optimization,ā Proceedings of the IEEE, vol. 104, no. 1, p. 148ā175, 2015. [80] J. Hoffmann, S. Borgeaud, A. Mensch, E. Buchatskaya, T. Cai, E. Rutherford, D. d. L. Casas, L. A. Hendricks, J. Welbl, A. Clark et al., āTraining compute-optimal large language models,ā arXiv preprint arXiv:2203.15556, 2022. [81] Y. Chen, H. Li, Z. Zheng, and Y. Song, āBathe: Defense against the jailbreak attack in multimodal large language models by treating harmful instruction as backdoor trigger,ā arXiv preprint arXiv:2408.09093, 2024. [82] P. Cheng, Z. Wu, T. Ju, W. Du, and Z. Z. G. Liu, āTransferring backdoors between large language models by knowledge distillation,ā arXiv preprint arXiv:2408.09878, 2024. [83] J. Zhang, J. Chi, Z. Li, K. Cai, Y. Zhang, and Y. Tian, āBadmerging: Backdoor attacks against model merging,ā arXiv preprint arXiv:2408.07362, 2024. [84] J. Yu, Y. Yu, X. Wang, Y. Lin, M. Yang, Y. Qiao, and F.-Y. Wang, āThe shadow of fraud: The emerging danger of ai-powered social engineering and its possible cure,ā arXiv preprint arXiv:2407.15912, 2024. [85] X. Zhou, D.-M. Tran, T. Le-Cong, T. Zhang, I. C. Irsan, J. Sumarlin, B. Le, and D. Lo, āComparison of static application security testing tools and large language models for repo-level vulnerability detection,ā arXiv preprint arXiv:2407.16235, 2024. [86] X. Liu, L. Li, T. Xiang, F. Ye, L. Wei, W. Li, and N. Garcia, āImposter. ai: Adversarial attacks with hidden intentions towards aligned large language models,ā arXiv preprint arXiv:2407.15399, 2024. [87] A. Sheshadri, A. Ewart, P. Guo, A. Lynch, C. Wu, V. Hebbar, H. Sleight, A. C. Stickland, E. Perez, D. Hadfield-Menell et al., āTargeted latent adversarial training improves robustness to persistent harmful behaviors in llms,ā arXiv preprint arXiv:2407.15549, 2024. [88] A. Verma, S. Krishna, S. Gehrmann, M. Seshadri, A. Pradhan, T. Ault, L. Barrett, D. Rabinowitz, J. Doucette, and N. Phan, āOperationalizing a threat model for red-teaming large language models (llms),ā arXiv preprint arXiv:2407.14937, 2024. [89] S. Achintalwar, A. A. Garcia, A. Anaby-Tavor, I. Baldini, S. E. Berger, B. Bhattacharjee, D. Bouneffouf, S. Chaudhury, P.-Y. Chen, L. Chiazor et al., āDetectors for safe and reliable llms: Implementations, uses, and limitations,ā arXiv preprint arXiv:2403.06009, 2024. [90] A. Berrones, āBayesian inference based on stationary fokker-planck sampling,ā Neural Computation, vol. 22, no. 6, p. 1573ā1596, 2010. [91] P. Marion, A. Korba, P. Bartlett, M. Blondel, V. De Bortoli, A. Doucet, F. Llinares-López, C. Paquette, and Q. Berthet, āImplicit diffusion: Efficient optimization through stochastic sampling,ā arXiv preprint arXiv:2402.05468, 2024. [92] A. Melnik, M. Ljubljanac, C. Lu, Q. Yan, W. Ren, and H. Ritter, āVideo diffusion models: A survey,ā arXiv preprint arXiv:2405.03150, 2024. [93] Z. Xing, Q. Feng, H. Chen, Q. Dai, H. Hu, H. Xu, Z. Wu, and Y.-G. Jiang, āA survey on video diffusion models,ā arXiv preprint arXiv:2310.10647, 2023. [94] C. Zhang, C. Zhang, M. Zhang, and I. S. Kweon, āText-to-image diffusion models in generative ai: A survey,ā arXiv preprint arXiv:2303.07909, 2023. [95] H. Cao, C. Tan, Z. Gao, Y. Xu, G. Chen, P.-A. Heng, and S. Z. Li, āA survey on generative diffusion models,ā IEEE Transactions on Knowledge and Data Engineering, 2024. [96] L. Yang, Z. Zhang, Y. Song, S. Hong, R. Xu, Y. Zhao, W. Zhang, B. Cui, and M.-H. Yang, āDiffusion models: A comprehensive survey of methods and applications,ā ACM Computing Surveys, vol. 56, no. 4, p. 1ā39, 2023. [97] Y. Hu, C. Chen, C.-H. H. Yang, R. Li, C. Zhang, P.-Y. Chen, and E. Chng, āLarge language models are efficient learners of noise-robust speech recognition,ā arXiv preprint arXiv:2401.10446, 2024. [98] R. Rebonato, āTheory and practice of model risk management,ā Modern Risk Management: A Historyā, RiskWaters Group, London, p. 223ā248, 2002. [99] M. Fliess and C. Join, āDelta hedging in financial engineering: Towards a model-free approach,ā in 18th Mediterranean Conference on Control and Automation, MEDā10. IEEE, 2010, p. 1429ā1434. [100] ā, āPreliminary remarks on option pricing and dynamic hedging,ā in 2012 1st International Conference on Systems and Computer Science (ICSCS). IEEE, 2012, p. 1ā6. [101] G. H. Choe, āGirsanovās theorem,ā in Stochastic Analysis for Finance with Simulations. Springer, 2016, p. 137ā145. [102] A. Bondi, S. Pulido, and S. Scotti, āThe rough hawkes heston stochastic volatility model,ā Mathematical Finance, 2024. [103] B. Horvath, A. Jacquier, and P. Tankov, āVolatility options in rough volatility models,ā SIAM Journal on Financial Mathematics, vol. 11, no. 2, p. 437ā469, 2020. [104] R. McCrickerd, āOn spatially irregular ordinary differential equations and a pathwise volatility modelling framework,ā arXiv preprint arXiv:1902.01673, 2019. [105] M. Keller-Ressel, M. Larsson, and S. Pulido, āAffine rough models,ā arXiv preprint arXiv:1812.08486, 2018. [106] R. Sakurai, H. Takahashi, and K. Miyamoto, āLearning tensor networks with parameter dependence for fourier-based option pricing,ā arXiv preprint arXiv:2405.00701, 2024. [107] S. Zhang and L. Wang, āFast fourier transform option pricing with stochastic interest rate, stochastic volatility and double jumps,ā Applied Mathematics and Computation, vol. 219, no. 23, p. 10 928ā10 933, 2013. [108] H. Y. Wong and P. Guan, āAn fft-network for lĆ©vy option pricing,ā Journal of Banking & Finance, vol. 35, no. 4, p. 988ā999, 2011. [109] W. Wang and X. Hu, āPricing israeli option with time-changed compensation by an fft-based high-order multinomial tree in lĆ©vy markets,ā Computational Intelligence and Neuroscience, vol. 2022, no. 1, p. 9682292, 2022. [110] T. R. Hurd and Z. Zhou, āA fourier transform method for spread option pricing,ā SIAM Journal on Financial Mathematics, vol. 1, no. 1, p. 142ā157, 2010. [111] E. Abi Jaber and L.-A. GĆ©rard, āSignature volatility models: pricing and hedging with fourier,ā Available at SSRN, 2024. [112] F. Aurzada and M. Buck, āRuin probabilities in the cramĆ©rālundberg model with temporarily negative capital,ā European Actuarial Journal, vol. 10, no. 1, p. 261ā269, 2020. [113] P. Braunsteins and M. Mandjes, āThe cramĆ©r-lundberg model with a fluctuating number of clients,ā Insurance: Mathematics and Economics, vol. 112, p. 1ā22, 2023. [114] S. Xiong and W.-S. Yang, āRuin probability in the cramĆ©rālundberg model with risky investments,ā Stochastic processes and their applications, vol. 121, no. 5, p. 1125ā1137, 2011. [115] M. J. Weber, āCritical probabilistic characteristics of the cramĆ©r model for primes and arithmetical properties,ā Indian Journal of Pure and Applied Mathematics, p. 1ā27, 2024. [116] D. Chen, Z. Zhou, J.-P. Mei, C. Shen, C. Chen, and C. Wang, āA geometric perspective on diffusion models,ā arXiv preprint arXiv:2305.19947, 2023. [117] H. Yang, A. Hasan, Y. Ng, and V. Tarokh, āNeural mckean-vlasov processes: Distributional dependence in diffusion processes,ā in International Conference on Artificial Intelligence and Statistics. PMLR, 2024, p. 262ā270. [118] M. Coghi, J.-D. Deuschel, P. Friz, and M. Maurelli, āPathwise mckean-vlasov theory with additive noise,ā arXiv preprint arXiv:1812.11773, 2018. [119] R. Carmona, F. Delarue, and A. Lachapelle, āControl of mckeanāvlasov dynamics versus mean field games,ā Mathematics and Financial Economics, vol. 7, p. 131ā166, 2013. [120] J. Han, R. Hu, and J. Long, āLearning high-dimensional mckeanāvlasov forward-backward stochastic differential equations with general distribution dependence,ā SIAM Journal on Numerical Analysis, vol. 62, no. 1, p. 1ā24, 2024. [121] Z. Qian and Y. Yao, āMckeanāvlasov type stochastic differential equations arising from the random vortex method,ā Partial Differential Equations and Applications, vol. 3, no. 1, p. 7, 2022. [122] D. Adams, G. Dos Reis, R. Ravaille, W. Salkeld, and J. Tugaut, āLarge deviations and exit-times for reflected mckeanāvlasov equations with self-stabilising terms and superlinear drifts,ā Stochastic Processes and their Applications, vol. 146, p. 264ā310, 2022. [123] S. Meherrem and M. Hafayed, āMaximum principle for optimal control of mckean-vlasov fbsdes with lĆ©vy process via the differentiability with respect to probability law,ā Optimal Control Applications and Methods, vol. 40, no. 3, p. 499ā516, 2019.