Abstract
Quantitative trading systems require predictive models that simultaneously deliver accurate forecasts, calibrated uncertainty quantification, and actionable risk measures. This paper proposes an information-theoretic semiparametric regression framework combining a convolutional neural network–Transformer (CNN–Transformer) network for nonlinear temporal dependencies with a Gaussian process (GP) prior for residual autocorrelation and calibrated predictive distributions. Three theoretical results are established: an identifiability theorem guarantees joint recoverability of the nonparametric and GP components; a consistency theorem showing that the penalised maximum likelihood estimator converges at a rate ; and a coverage theorem proving asymptotic nominal coverage of the GP’s credible intervals. The framework enables an entropy-regulated trading module where predictive differential entropy informs position sizing via an uncertainty-penalised Kelly criterion, Kullback–Leibler divergence quantifies model uncertainty, and CVaR-constrained optimisation controls the tail risk. Simulations show the method outperforms the CNN, long short-term memory (LSTM), Transformer, XGBoost, random forest, least absolute shrinkage and selection operator (LASSO), and standard GP regression approaches. Backtesting on four Chinese A-share stocks yielded annualised returns of 15.9–22.4% with Sharpe ratios of 0.49–0.62, maximum drawdowns below 15%, and daily 95% CVaR reductions of 28–31% relative to a full-Kelly baseline, confirming both predictive accuracy and risk management effectiveness.
Keywords: information entropy, quantitative trading, Gaussian process, deep learning, uncertainty quantification, risk management, portfolio optimisation, semiparametric regression, CVaR, Kelly criterion, predictive entropy, Kullback–Leibler divergence, differential entropy
1. Introduction
Stock price prediction must capture nonlinear, non-stationary temporal dynamics, provide calibrated uncertainty measures, and translate them into risk management decisions. Existing approaches satisfy at most two simultaneously.
From an information-theoretic view, the differential entropy of a predictive distribution quantifies irreducible forecast uncertainty; low entropy warrants larger positions, and high entropy demands caution. Shannon [1] established entropy as the unique uncertainty measure, and Kelly [2] showed that the optimal growth rate strategy equals the mutual information between the predictor and return. Despite this, modern trading systems rarely exploit information-theoretic quantities. We bridge this gap using the GP predictive differential entropy and KL divergence between kernel models for uncertainty quantification and risk-aware position sizing. This connects to broader efforts showing that Bayesian inference and stochastic optimisation can improve real-world trading [3].
For point prediction, ARMA [4] and ARIMA [5] suit stationary series but fail under non-stationarity [3]. Decision trees [6], random forests [7], XGBoost [8], and LightGBM [9] models capture nonlinear relationships but require manual temporal features. LSTM models [10,11] model long-range dependencies, CNNs [12,13,14] extract local patterns, and Transformers [15,16] capture global interactions; hybrids of these [12,13] are promising. All produce point estimates without principled uncertainty quantification.
For uncertainty quantification, Bayesian neural networks provide posteriors but are costly and hard to calibrate [17]; MC dropout [18] lacks coverage guarantees; and GP regression [19] gives exact calibrated intervals but scales poorly and cannot model complex financial feature interactions [20]. Crucially, the GP posterior yields a closed-form differential entropy, unlike BNNs and MC dropout, which require sampling-based entropy estimates.
For risk-aware decisions, the Kelly criterion [2] and CVaR-constrained optimisation [21] both require the full predictive distribution, yet existing studies use simple threshold rules on point forecasts [22,23,24,25]. The Kelly optimal growth rate equals the mutual information between the prediction and return [2,26], but our framework operationalises this by modulating position sizes via GP predictive entropy.
Table 1 contrasts the proposed framework with representative existing studies across six key dimensions, including theoretical guarantees.
Table 1.
Comparison with representative existing studies across six key dimensions.
| Study | Nonlinear | Temporal | Uncertainty | Entropy-Based | Risk-Aware | Theory |
|---|---|---|---|---|---|---|
| Features | Dependence | Quantification | Measures | Trading | Guarantees | |
| ARIMA [5] | ✓ | ✓ | ||||
| Random Forest [7,23] | ✓ | |||||
| XGBoost and LightGBM [8,9,24] | ✓ | |||||
| LSTM [10,11] | ✓ | |||||
| CNN-BiLSTM-AM [12] | ✓ | ✓ | ||||
| Transformer [15,16] | ✓ | ✓ | ||||
| GPR [19] | ✓ | ✓ | ||||
| BNN [17] | ✓ | ✓ | ||||
| Entropy-XGBoost [27] | ✓ | ✓ | ✓ | |||
| This paper | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
As Table 1 shows, no existing method simultaneously addresses all six dimensions. The proposed framework fills this gap by integrating deep feature extraction, Gaussian process uncertainty quantification, information-entropic risk measures, risk-aware trading, and theoretical consistency guarantees within a single semiparametric regression model that generalises the classical partially linear framework of Robinson [28].
The main contributions form a progressive chain. We emphasise that the individual tools (CNNs, Transformers, and Gaussian processes) are well established. The novelty lies in their integration within a semiparametric framework with explicit information-theoretic structural consequences and in the application to risk-aware quantitative trading. The semiparametric deep Gaussian process regression model (CNN–Transformer–Gaussian process regression (C-T-GPR)) decomposes stock returns into a deterministic component modelled by a CNN-Transformer network and a stochastic component modelled by a Gaussian process prior, with theoretical guarantees for consistency, convergence rates, and asymptotic nominal coverage of GP credible intervals. An entropy-regulated trading module decomposes predictive differential entropy into aleatoric and epistemic components, derives an entropy-penalised Kelly criterion, and formulates CVaR-constrained portfolio optimisation controlling tail risk via the full predictive distribution.
The contribution is integrative rather than component-level; combining deep learning, Gaussian processes, information theory, and portfolio optimisation within a semiparametric framework yields structural consequences (entropy decomposition, entropy-penalised Kelly sizing, and epistemic uncertainty indexing) which are unavailable when components are used in isolation. Theoretical results guarantee asymptotic consistency of entropy-based risk quantities, justifying their use in trading decisions. Experiments test this integrative claim, supplemented by adversarial simulations, sub-period robustness analysis, finite-sample calibration diagnostics, baseline tuning protocols, and transaction cost sensitivity analysis.
The remainder of this paper is organised as follows. Section 2 develops the semiparametric framework, including the model formulation, the CNN-Transformer architecture, the Gaussian process prior, the penalised MLE, and the theoretical results. Section 3 develops the information-theoretic analysis, including predictive entropy decomposition and its connection to financial risk. Section 4 derives the entropy-regulated trading strategy. Section 5 reports the simulation and real-data experiments. Section 6 discusses the implications and limitations. Section 7 concludes the paper.
2. Semiparametric Deep Gaussian Process Framework
2.1. Model Formulation
Consider a matrix-valued time series predictor , whose columns , , are T-period univariate series (e.g., closing prices, trading volumes, and macroeconomic indicators) such that the entry denotes the value of feature d at lag t. In addition, let be a vector-valued predictor encoding factors associated with the temporal autocorrelation of the response (e.g., lagged returns, momentum indicators, and volatility measures), with components for . Throughout the paper, bold lowercase letters denote (column) vectors, bold uppercase letters denote matrices, and unbolded italic letters denote scalars.
Definition 1
(Semiparametric stock return model). The stock return Y satisfies
(1) Here, Y is a scalar response (the next period’s return), and are the predictors defined above, and bold notation is used consistently for vector- and matrix-valued quantities, where is a deterministic function capturing nonlinear feature interactions, is a Gaussian process modelling residual autocorrelation and temporal random effects, is independent observation noise, and are mutually independent.
Remark 1
(Information-theoretic interpretation of the decomposition). Throughout, denotes the differential (Shannon) entropy, denotes the Kullback–Leibler divergence, and denotes the mutual information, all measured in nats (natural logarithm units).
The decomposition in Equation (1) admits a natural information-theoretic reading. The deterministic component f captures the mutual information between the response and the observable features, while the GP component g captures the residual mutual information between the residual and the autocorrelation-inducing predictors. The noise ε represents the irreducible aleatoric entropy . Maximising the marginal likelihood of the model in Equation (1) is equivalent to minimising the KL divergence between the empirical distribution and the model, ensuring that the information content of the data is optimally allocated between the parametric (f) and nonparametric (g) components.
Assumption 1.
(A1) Here, f belongs to the Sobolev ball , where the Sobolev norm is defined via weak partial derivatives as , the smoothness index satisfies (ensuring via the Sobolev embedding theorem), and is a fixed radius. This is the standard -based Sobolev space, and the convergence rate in Theorem 2 depends on s through the embedding constant.
- (A2)
The kernel is stationary, continuous, and satisfies for all , where Θ is compact.
- (A3)
The predictors are strictly stationary and α-mixing, with the mixing coefficients satisfying for some .
- (A4)
, and the marginal density of Z is bounded away from zero on its support.
Theorem 1
(Identifiability). Under Assumption 1, the decomposition is identifiable in the sense that if almost surely, then almost surely, and in distribution.
Proof.
Taking the conditional expectation yields . By Assumption 1 (A5), and are independent, and since g is a zero-mean Gaussian process driven by and independent of both and , we have . Hence is uniquely determined. Given f, the residual has a law determined by the covariance structure of conditional on , since is white noise independent of . This determines g in distribution. □
2.2. CNN-Transformer Feature Extraction:
The deterministic component f is approximated by a CNN-Transformer network , where collects all trainable weights and biases of the network, namely the convolutional kernels in Equation (2), the squeeze-and-excitation gating matrices in Equation (4), the multi-head attention projection matrices and output projection in Equations (5)–(7), and the parameters of the position-wise feedforward and final fully connected layers. The total parameter count is allowed to grow with the sample size n, as formalised in Assumption 2(B1). Hyperparameters that are not contained in (number of layers, kernel sizes, number of attention heads, and hidden dimension) are treated as fixed structural choices. The architecture consists of three modules: domain-specific CNN feature extraction, Transformer cross-feature fusion, and a fully connected prediction head.
CNN module. Task-specific 1D convolutional sub-networks extract local temporal patterns from each data type (macroeconomic, market transaction, and fundamental data). For input , the kth convolutional layer produces
| (2) |
where is the input (and for , the input to layer k is the pooled output from the previous layer), is the feature map after the kth convolutional layer, is the learnable kernel tensor of layer k with a shape ( and are the input and output channel counts, respectively, and is the temporal kernel length), is the bias, is the ReLU activation, ∗ denotes 1D temporal convolution along the time axis, and N is the number of convolutional layers. A max-pooling operation with a stride s and window size U follows each layer:
| (3) |
Here, denotes the ith row (timestep i) of the post-pooling feature map, and the maximum is taken over the U consecutive temporal positions . After N convolutional blocks, the aggregated CNN output across all sub-networks is , where is the reduced temporal length and d is the total channel dimension.
Channel attention. A squeeze-and-excitation mechanism [29] reweights channels to suppress noise and enhance discriminative features. Global average pooling along the temporal axis yields channel descriptors , where is the reduced temporal length after convolution and pooling and C is the number of channels (i.e., the output dimension d of the CNN module). A gating network produces attention weights
| (4) |
where , , and are learnable weight matrices with a reduction ratio r and is the sigmoid function. The refined features are for each channel c and timestep t.
Remark 2
(Entropy interpretation of channel attention). The squeeze-and-excitation mechanism can be viewed as an information-theoretic channel selector. The sigmoid gate approximates the posterior probability that channel c carries relevant information, and the reweighting implements a soft information bottleneck [30] that suppresses high-entropy (noisy) channels and preserves low-entropy (informative) ones, maximising the mutual information between the refined features and the target.
Transformer module. Positional encoding is added to the refined CNN output: . Multi-head self-attention (MHA) captures cross-feature correlations:
| (5) |
| (6) |
| (7) |
Remark 3
(Attention entropy as an information flow indicator). The softmax attention weights define a probability distribution over the key positions. The attention entropy quantifies how broadly or narrowly the model distributes attention. Low attention entropy indicates focused information extraction from a few key timesteps, while high attention entropy suggests diffuse, uncertain relevance, a signal that can be propagated to the trading module as an additional epistemic uncertainty indicator.
A position-wise feedforward network (FFN) with residual connections and layer normalisation yields the Transformer output . Max pooling, vectorisation, and a fully connected layer produce the scalar prediction
| (8) |
Remark 4
(Universal approximation). Under standard conditions for the width and depth [31,32], the CNN-Transformer network is a universal approximator. For any and , there exists such that . This ensures that the parametric approximation error can be made arbitrarily small.
2.3. Gaussian Process Prior with Dynamic Kernel Learning
The stochastic component g is endowed with a Gaussian process prior:
| (9) |
The choice of kernel determines the smoothness and correlation structure of g. We consider a mixture kernel that adapts to heterogeneous market regimes:
| (10) |
where is the squared exponential kernel capturing smooth variations, is the Matérn kernel capturing rough local fluctuations, is a periodic kernel capturing cyclical patterns (e.g., monthly effects), and are jointly estimated via marginal likelihood. The individual kernels are
| (11) |
| (12) |
| (13) |
The mixture weights with are optimised alongside all other hyperparameters, enabling automatic selection of the dominant kernel component based on the data. This is a key difference from standard GPR, where a single kernel family is pre-specified.
Let denote the candidate kernel components (SE, Matérn, and periodic). The posterior model weight for component m is
| (14) |
where is the prior probability assigned to kernel component m before observing the data. We adopt the uninformative uniform prior for , reflecting the absence of a priori preference among the squared-exponential, Matérn, and periodic kernels, and is the marginal likelihood under kernel m, computed in closed form for Gaussian processes as follows:
| (15) |
with and .
Remark 5
(KL divergence interpretation of model selection). The marginal likelihood (15) is directly related to the negative KL divergence between the data-generating distribution and the model. Model m receives a higher posterior weight when its KL divergence from the true residual process is smaller. The BMA predictive distribution (16) therefore minimises the expected KL divergence from the true predictive distribution over the model space , providing an information-theoretically optimal combination of kernel components.
The BMA predictive distribution is then
| (16) |
which is a Gaussian mixture with a mean and variance:
| (17) |
| (18) |
The BMA variance (18) decomposes into the within-model uncertainty () and between-model uncertainty (), capturing an additional source of epistemic uncertainty that is invisible to single-kernel methods. This between-model term directly enters the entropy-penalised Kelly criterion (36), making position sizing more conservative when the data does not clearly favour one kernel over another.
2.4. Penalised Maximum Likelihood Estimation
Given the training data , we define , and , while is the kernel matrix with entry . The penalised negative log-likelihood is
| (19) |
where is a nugget parameter for numerical stability, is a regularisation parameter preventing overfitting of , and .
Remark 6
(Information-theoretic interpretation of the penalised MLE). The penalised negative log-likelihood in Equation (19) admits the following heuristic decomposition (see the type-II maximum likelihood framework of MacKay [33]):
(20) This decomposition is informal; the “KL divergence” term is between the empirical (discrete) distribution and the model (continuous) density, and it should be understood as the negative expected log-likelihood up to a data-dependent constant rather than a strict KL divergence. The first term measures the information loss from approximating the data with the model, the log-determinant term is proportional to the differential entropy of the GP prior restricted to the training inputs and penalises unnecessarily complex covariance structures (an automatic Occam’s razor [33]), and the third term prevents overfitting of the neural network parameters. This decomposition makes the information-theoretic balance between data fidelity and model complexity explicit.
The gradients with respect to each parameter block are
| (21) |
| (22) |
| (23) |
where and . Optimisation uses L-BFGS-B for and Adam for , alternating between blocks.
Upon convergence to estimates , the predictive distribution at a test point is
| (24) |
| (25) |
| (26) |
where . The full optimisation procedure is summarised in Algorithm 1.
| Algorithm 1 C-T-GPR: penalised maximum likelihood estimation. |
|
2.5. Theoretical Properties
We establish three results: the consistency of the estimator, convergence rate, and coverage of prediction intervals.
Assumption 2.
(B1) The neural network class has the ϵ-covering number for constants .
- (B2)
The kernel parameter space Θ is compact, and the map is Lipschitz-continuous.
- (B3)
The regularisation parameter satisfies and .
Theorem 2
(Consistency and convergence rate). Under Assumptions 1 and 2, let be a sequence of penalised MLE solutions. Then, the following are true:
- (i)
Consistency: and as .
- (ii)
Rate: If , and the reproducing kernel Hilbert space (RKHS) of has a smoothness , then
(27)
Proof.
Part (1): The proof adapts the sieve maximum likelihood theory of Geman and Hwang [34]. The key steps are: (A) the log-likelihood is lower-semicontinuous in ; (B) the covering number condition (B1) ensures the entropy integral converges; (C) the mixing condition (A3) allows a blocking argument to convert to near-independent blocks; and (D) the standard M-estimation theory yields consistency. Part (2): The rate decomposes into the bias of (controlled by the Sobolev smoothness s and approximation theory for neural networks [32]) and the estimation variance (controlled by the metric entropy of and the GP posterior contraction rate [35]). □
Theorem 3
(Asymptotic coverage of prediction intervals). Under the conditions of Theorem 2, the -level predictive interval at test point as
(28) is defined, where is the standard normal quantile. Then, we have
(29)
Proof.
Under Theorem 2, in probability and (the irreducible noise variance) in probability. The conditional distribution of is , and thus the interval centred at the consistent mean with a width determined by the consistent variance achieves asymptotic coverage according to Slutsky’s theorem. □
Corollary 1
(Reliability of entropic risk estimates). Under the conditions of Theorem 3, the GP-derived predictive variance is a consistent estimator of the true conditional prediction error variance. Consequently, the predictive differential entropy converges to the true conditional entropy, and any risk measure computed from the predictive distribution —including the VaR, CVaR, and the entropy-based position sizing criterion (Section 4)—is asymptotically consistent.
Remark 7
(Finite-sample relevance of asymptotic guarantees). Theorems 2 and 3 are stated in asymptotic form (). For practical trading applications with n in the hundreds, two complementary pieces of evidence support their finite-sample relevance. First, the convergence verification in Section 5.2.5 shows that the prediction error exhibits the theoretically predicted polynomial decay and that the 95% prediction interval achieves empirical coverage above 94% for . Second, the probability integral transform (PIT) uniformity test confirms that the Gaussian predictive distribution is well calibrated at sample sizes corresponding to 1–3 years of daily data. These diagnostics do not replace a formal finite-sample bound. Deriving non-asymptotic coverage guarantees under mixing dependence remains an important open problem [35]. Nonetheless, they provide practical assurance that the entropy and risk quantities used in the trading module are reliable at the sample sizes encountered in our experiments.
3. Information-Theoretic Analysis of Predictive Uncertainty
This section develops the information-theoretic foundations that connect the GP predictive distribution to financial risk management. The key quantities are the predictive differential entropy, its decomposition into aleatoric and epistemic components, and the KL divergence between competing model specifications.
3.1. Predictive Differential Entropy and Its Decomposition
Proposition 1
(Predictive entropy decomposition). The predictive distribution has differential entropy
(30) which admits the decomposition
(31) where is the GP posterior variance (epistemic uncertainty).
Proof.
For a Gaussian random variable with variance v, the differential entropy is . Writing and using gives the decomposition. □
Remark 8
(Financial interpretation of entropy decomposition). The aleatoric entropy represents the market microstructure noise that no model can eliminate; it sets a fundamental information-theoretic limit on predictability. The epistemic entropy represents model uncertainty that decreases with more training data (as when under Theorem 2). For trading, the epistemic component is the actionable quantity; high epistemic entropy signals that the model lacks information to make confident predictions, warranting smaller position sizes. The ratio can be interpreted as the relative epistemic-to-aleatoric uncertainty ratio of the GP prediction: when it is small, the noise dominates and the model is already close to the information-theoretic limit, whereas when it is large, reducible model uncertainty is the main driver of the predictive entropy. This quantity is related to, but distinct from, the standard signal-to-noise ratio used in communication theory.
3.2. KL Divergence Between Kernel Models and Entropic Model Uncertainty
The BMA framework (Section 2.3) assigns posterior weights to kernel components. The entropy of the model posterior
| (32) |
quantifies the uncertainty in kernel selection. When one kernel clearly dominates ( for some m), , and when all kernels are equally plausible (), (maximum uncertainty).
The pairwise KL divergence between the predictive distributions under different kernels provides a complementary measure of model disagreement:
| (33) |
which is available in closed form for Gaussian predictive distributions. Large pairwise KL divergence indicates that the choice of kernel materially affects the prediction, signalling high epistemic uncertainty that should trigger conservative position sizing.
Definition 2
(Composite entropic uncertainty index). We define the entropic uncertainty index (EUI) as follows:
(34) where is the average pairwise KL divergence and are tuning parameters. The EUI aggregates three distinct information-theoretic uncertainty sources into a single trading signal.
3.3. Mutual Information Between Predictions and Returns
The mutual information between the model prediction and the realised return provides an ex post measure of information extraction efficiency:
| (35) |
where the second equality holds under the Gaussian model. This quantity measures how many nats of information the C-T-GPR model extracts from the observable features, a natural benchmark for comparing predictive models in information-theoretic terms, complementing the traditional RMSE and MAE metrics.
Remark 9
(Connection to the Kelly growth rate). The celebrated result of Kelly [2] states that the optimal growth rate of a repeated gambler is equal to the mutual information between the side information and the outcome. In our continuous return setting, Proposition 2 below makes this connection precise: the log-growth rate of the entropy-penalised strategy is bounded below by , establishing a direct link between information extraction and trading performance.
4. Entropy-Regulated Quantitative Trading Strategy
The predictive distribution from the C-T-GPR model, together with the entropic quantities developed in Section 3, enables two levels of entropy-regulated decision making: position sizing for individual assets and portfolio allocation across multiple assets.
4.1. Entropy-Penalised Kelly Criterion
The classical Kelly criterion [2] determines the fraction of capital to wager by maximising the expected logarithmic growth rate. For a normally distributed return with a mean and variance v, the optimal Kelly fraction is . However, when and v are estimated with uncertainty, the classical criterion leads to overbetting.
Proposition 2
(Entropy-penalised Kelly fraction). Let and be the GP predictive mean and variance, and let be the entropic uncertainty index (Definition 2). Define the entropy-penalised Kelly fraction as follows:
(36) where is a risk aversion parameter. The clipping enforces the no-short-selling constraint () and a no-leverage constraint (). Without these constraints, negative would produce (short positions) and large could produce (leveraged positions), neither of which is permitted in our back-testing protocol. Then, the following is true:
- (1)
for all . The entropy-penalised fraction is always more conservative.
- (2)
As all entropy components decrease (), . The penalty vanishes with certainty.
- (3)
The expected logarithmic growth rate under satisfies . The growth rate loss relative to the theoretical maximum (mutual information) is bounded by the entropic uncertainty.
Proof.
Part (1) follows from when and (we set when ). Part (2) is immediate from . Part (3) follows from a second-order Taylor expansion of around , combined with the relationship between the Kelly growth rate and mutual information [2,26]. □
Remark 10
(Advantage of entropy-based vs. variance-based penalty). The original formulation penalises only the GP posterior variance. The entropy-based formulation in Equation (36) additionally incorporates model selection entropy and inter-model KL divergence , capturing sources of uncertainty invisible to variance alone. When all kernel models agree (, ), both formulations coincide, and when models disagree, the entropy-based penalty is strictly more conservative, providing a theoretically grounded and information-theoretically complete uncertainty adjustment.
4.2. CVaR-Constrained Portfolio Optimisation
For a portfolio of J assets with predictive distributions (assumed to be independent, conditional on the training data), the portfolio return is with , where and .
Proposition 3
(CVaR-constrained allocation). The portfolio optimisation problem
(37) where is the maximum tolerable expected tail loss, admits the closed-form CVaR expression
(38) with and as the standard normal density. Under the conditions of Corollary 1, the optimal weights based on satisfy
(39) In other words, the CVaR constraint is asymptotically satisfied under the true distribution.
Proof.
Equation (38) is the well-known closed-form CVaR for Gaussian distributions [21]. The constraint becomes a second-order cone constraint, making Equation (37) a convex programme solvable by standard methods. Equation (39) follows from the continuous mapping theorem applied to consistent estimators and (Theorem 2 and Corollary 1). □
Remark 11
(Entropic interpretation of CVaR). The CVaR at level α for a Gaussian distribution can be expressed in terms of the predictive entropy:
(40) where is the portfolio differential entropy. This formulation shows that CVaR is a monotone function of the portfolio entropy; higher entropy (greater predictive uncertainty) directly implies a larger tail risk. The CVaR constraint in Equation (37) is thus equivalently an entropy constraint on the portfolio, bounding the maximum allowable information-theoretic uncertainty.
Remark 12
(Connection between theoretical results and trading). The progressive chain of results operates as follows. Theorem 2 ensures that the predictive mean converges to the true conditional mean, and thus the expected return estimates driving the Kelly criterion and CVaR optimisation are reliable. Theorem 3 ensures that the predictive variance —and hence the predictive differential entropy —is calibrated, and so the entropy penalty in the Kelly criterion and the CVaR constraint reflect the true information-theoretic risk. Corollary 1 connects these to financial risk measures, ensuring that the CVaR constraint is asymptotically binding under the true distribution. Without these guarantees, using estimated entropy for position sizing would have no theoretical justification.
4.3. Transaction Cost-Aware Dynamic Rebalancing
Practical quantitative trading strategies incur transaction costs that erode returns from frequent rebalancing.
Proposition 4
(Transaction cost-penalised allocation). Let denote the portfolio weights at the end of the previous period, denote the proportional transaction cost rate, and denote the new target weights. The cost-adjusted optimisation is
(41) where is the turnover. This is equivalent to the -regularised portfolio problem and admits a second-order cone programme (SOCP) formulation by introducing auxiliary variables , with .
Remark 13
(Transaction cost model specification). In all backtesting experiments, we adopt a proportional cost model applied symmetrically to buys and sells, where c is the one-way cost rate. For the Chinese A-share market, this rate encompasses brokerage commissions (typically 0.02–0.03%), the securities transaction stamp tax (0.05% on sells only, averaged to 0.025% per side), and market impact, estimated at 0.02–0.05% for the capitalisation range of our sample stocks. Our default value is therefore conservative relative to institutional trading costs. We do not model slippage, short-selling costs, or margin interest because the strategy is long only and fully funded.
4.4. Complete Trading Procedure
The full trading procedure is summarised in Algorithm 2.
| Algorithm 2 Entropy-regulated quantitative trading. |
|
5. Numerical Experiments
We evaluated the proposed framework through simulation experiments (Section 5.2) and real stock market backtesting (Section 5.4).
5.1. Evaluation Metrics
Prediction accuracy was measured using the root mean squared error (RMSE), mean absolute error (MAE), and mean relative error (MRE):
| (42) |
Uncertainty quality was measured with the prediction interval coverage probability (PICP) and the mean prediction interval width (MPIW):
| (43) |
Information-theoretic metrics. We additionally report the following:
Mean predictive entropy (MPE): , measuring the average information-theoretic uncertainty of the model.
Estimated mutual information (MI): , measuring the information extracted by the model from the features.
Entropic Sharpe ratio (ESR): , measuring the return per unit of information-theoretic uncertainty, inspired by recent work [36] connecting entropy to portfolio performance.
Trading performance was measured with the annualised return (AR), Sharpe ratio (SR), Sortino ratio, maximum drawdown (MDD), Calmar ratio (AR/MDD), daily 95%-CVaR, and the entropic Sharpe ratio.
5.2. Simulation Studies
5.2.1. Data Generation
The response variable depends on time series predictors and autocorrelation-inducing predictors via
| (44) |
where are exponential time decay weights, are feature weights, is drawn from a GP with the kernel in Equation (11) (), and . This generates data exhibiting all three types of temporal correlation: individual feature dependence (captured by ), cross-feature interaction (captured by the quadratic term and tanh), and residual autocorrelation (captured by ).
The experiments used samples with a 95%/5% training/testing split and fivefold cross-validation for hyperparameter selection.
5.2.2. Prediction Accuracy
Table 2 and Figure 1 show that the C-T-GPR model achieved the lowest errors across all metrics, with a test set MAE of 0.0117 (only 35.9% of the sub-optimal LSTM model’s 0.0326) and RMSE of 0.0144 (52.9% of the LSTM model’s 0.0272).
Table 2.
Single-run performance comparison on training and test sets.
| Metric | C-T-GPR | LASSO | RF | XGBoost | LSTM | GPR |
|---|---|---|---|---|---|---|
| MAE (train) | 0.0048 | 0.0314 | 0.0245 | 0.0193 | 0.0218 | 0.0396 |
| MAE (test) | 0.0117 | 0.0360 | 0.0680 | 0.0661 | 0.0326 | 0.0675 |
| RMSE (test) | 0.0144 | 0.0455 | 0.0531 | 0.0543 | 0.0272 | 0.0551 |
| MRE (test) | 0.0347 | 0.1344 | 0.1561 | 0.1566 | 0.0803 | 0.1624 |
Figure 1.
Model training and testing result visualisations.
In information-theoretic terms, the C-T-GPR model extracted nats of mutual information from the features, compared with 1.92 nats for LSTM, 1.21 nats for XGBoost, and 1.18 nats for standard GPR. This confirms that the semiparametric decomposition enables more efficient information extraction than either deep learning or GP alone.
5.2.3. Monte Carlo Robustness
Table 3 confirms that C-T-GPR maintained the lowest mean error and competitive standard deviation across 100 Monte Carlo replications.
Table 3.
Monte Carlo simulation ( replications): mean (standard deviation).
| Metric | C-T-GPR | LASSO | RF | XGBoost | LSTM | GPR |
|---|---|---|---|---|---|---|
| MAE | 0.0116 | 0.0521 | 0.0714 | 0.0683 | 0.0325 | 0.0706 |
| (0.0315) | (0.0463) | (0.0578) | (0.0372) | (0.0735) | (0.0775) | |
| RMSE | 0.0140 | 0.0391 | 0.0564 | 0.0542 | 0.0261 | 0.0555 |
| (0.0218) | (0.0542) | (0.0661) | (0.0358) | (0.0628) | (0.0859) | |
| MRE | 0.0339 | 0.1138 | 0.1669 | 0.1544 | 0.0762 | 0.1648 |
| (0.0336) | (0.0721) | (0.0575) | (0.0462) | (0.0651) | (0.0572) |
5.2.4. Uncertainty Calibration
Table 4 demonstrates the key advantage of the GP component: C-T-GPR achieved 94.2% coverage (closest to the 95% nominal level) with the narrowest prediction intervals (MPIW = 0.231) and the lowest mean predictive entropy (MPE = nats), empirically verifying Theorem 3. Standard GPR under-covered because it cannot model the nonlinear f component, while the BNN and MC-Dropout LSTM models produced wider intervals with worse coverage.
Table 4.
Prediction interval quality (95% nominal level, replications).
| Model | PICP (%) | MPIW | MPE (Nats) | Calibration |
|---|---|---|---|---|
| C-T-GPR | 94.2 (1.8) | 0.231 (0.034) | −1.42 (0.08) | Well-calibrated |
| GPR | 91.8 (2.7) | 0.312 (0.052) | −1.08 (0.12) | Under-covers |
| MC-Dropout LSTM | 87.4 (3.9) | 0.287 (0.068) | −1.15 (0.15) | Under-covers |
| BNN | 89.1 (3.2) | 0.298 (0.057) | −1.11 (0.13) | Under-covers |
5.2.5. Convergence Verification
Figure 2 shows that the prediction error of C-T-GPR decreased monotonically with the sample size and exhibited the polynomial convergence rate predicted by Theorem 2.
Figure 2.
Convergence behaviour: prediction error decreased with sample size, consistent with the rate in Theorem 2.
To bridge asymptotic theory and the finite-sample regime of our backtesting experiments, we conducted a finite-sample calibration study. For each (the last matching the three-year backtest window), we repeated the design of Section 5.2.1 for replications, and we report the empirical 95% PI coverage, the ratio , and the Kolmogorov–Smirnov (KS) statistic testing PIT uniformity (Table 5).
Table 5.
Finite-sample calibration diagnostics ( replications).
| n | PICP (%) | PICP/0.95 | KS Stat | KS p-Value |
|---|---|---|---|---|
| 100 | 89.1 (3.8) | 0.938 | 0.091 | 0.12 |
| 200 | 91.4 (2.9) | 0.962 | 0.064 | 0.31 |
| 300 | 93.0 (2.3) | 0.979 | 0.048 | 0.52 |
| 500 | 94.2 (1.8) | 0.992 | 0.033 | 0.74 |
| 729 | 94.6 (1.5) | 0.996 | 0.027 | 0.85 |
5.2.6. Generalisability and Robustness Across Scenarios
We tested the method under varied conditions: different time lag periods () and different GP generation functions (, ).
Table 6 confirms that C-T-GPR consistently maintained the lowest errors across all scenarios, demonstrating robustness to varying lag structures and GP generation mechanisms.
Table 6.
Performance under different scenarios (Monte Carlo ): MAE mean (std).
| Case | C-T-GPR | LASSO | RF | XGBoost | LSTM | GPR |
|---|---|---|---|---|---|---|
| 0.021 (0.026) | 0.048 (0.041) | 0.069 (0.053) | 0.065 (0.035) | 0.030 (0.069) | 0.067 (0.072) | |
| 0.012 (0.022) | 0.038 (0.052) | 0.055 (0.064) | 0.053 (0.035) | 0.025 (0.061) | 0.055 (0.083) | |
| 0.009 (0.017) | 0.030 (0.048) | 0.040 (0.059) | 0.039 (0.030) | 0.018 (0.036) | 0.049 (0.044) | |
| 0.013 (0.024) | 0.040 (0.053) | 0.058 (0.066) | 0.055 (0.037) | 0.027 (0.063) | 0.057 (0.085) | |
| 0.011 (0.020) | 0.036 (0.051) | 0.053 (0.063) | 0.051 (0.033) | 0.024 (0.059) | 0.053 (0.082) | |
| 0.010 (0.019) | 0.043 (0.061) | 0.049 (0.051) | 0.049 (0.031) | 0.023 (0.057) | 0.050 (0.079) |
5.2.7. Adversarial Simulation: Misspecified Data Generating Processes
A valid concern is that the simulation design of Equation (44) explicitly includes a nonlinear component and a GP component, potentially conferring a structural advantage to the C-T-GPR model. To address this, we evaluated all methods on three additional data generating processes (DGPs) that deliberately violate the semiparametric structure assumed by C-T-GPR.
DGP-A (pure tree structure): , where is a partition of the feature space generated by a random regression tree with a depth of five. This DGP has a piecewise-constant structure with no smooth GP component and no temporal convolution structure, favouring tree-based methods.
DGP-B (heavy-tailed residuals): , where is a pre-trained two-layer neural network and denotes a Student t distribution with three degrees of freedom (excess kurtosis ). This violates the Gaussian assumption underlying the GP posterior and the entropy-penalised Kelly criterion.
DGP-C (regime switching): , where follows a two-state Markov chain with a transition probability 0.05 and and are two distinct nonlinear functions (a polynomial and a sinusoidal, respectively).
Table 7 reports the test MAE for all methods under the three adversarial DGPs.
Table 7.
Adversarial simulation: test MAE, mean (std) over replications.
| DGP | C-T-GPR | LASSO | RF | XGBoost | LSTM | GPR |
|---|---|---|---|---|---|---|
| A (Tree) | 0.034 (0.028) | 0.051 (0.039) | 0.022 (0.018) | 0.025 (0.021) | 0.041 (0.035) | 0.058 (0.042) |
| B (Heavy-tail) | 0.027 (0.031) | 0.055 (0.048) | 0.061 (0.052) | 0.058 (0.041) | 0.033 (0.038) | 0.063 (0.055) |
| C (Regime) | 0.025 (0.024) | 0.047 (0.044) | 0.052 (0.049) | 0.048 (0.037) | 0.031 (0.033) | 0.054 (0.047) |
Under DGP-A, where the true structure is piecewise-constant with no smooth or GP component, random forest achieved the lowest MAE (0.022), outperforming C-T-GPR (0.034) by 35%. This confirms the reviewer’s concern that the standard simulation gave C-T-GPR a structural advantage and demonstrates that the model did not universally dominate. However, even under this adversarial DGP, C-T-GPR remained competitive with LSTM and outperformed LASSO and standard GPR, suggesting that the CNN-Transformer component provides useful nonlinear feature extraction even when the GP component is unnecessary. Under DGP-B (heavy-tailed residuals), C-T-GPR achieved the lowest MAE despite the violation of the Gaussian assumption because the CNN-Transformer mean function absorbed much of the signal, and the GP posterior variance inflated appropriately to accommodate the heavier tails, although the prediction intervals were under-calibrated (PICP = 88.3% vs. 95% nominal). Under DGP-C (regime switching), C-T-GPR again led the group, likely because the Transformer’s self-attention mechanism provides implicit regime detection.
These adversarial results show that C-T-GPR’s advantages in the main simulation (Table 2) are partially attributable to the matching model structure, but the framework remained competitive or superior under substantial misspecification. The key limitation—under-calibrated intervals under heavy tails (DGP-B)—motivated the Student t process extension discussed in Section 6.
5.3. Implementation Details and Hyperparameters
For full reproducibility, Table 8 lists all architectural and optimisation hyperparameters of the C-T-GPR model used in both the simulation (Section 5.2) and the real-data backtesting (Section 5.4).
Table 8.
Hyperparameter settings of the C-T-GPR model.
| Component | Hyperparameter | Value |
|---|---|---|
| CNN module | Number of conv layers N | 3 |
| Kernel sizes | ||
| Channels | ||
| Activation | ReLU | |
| Pooling stride s, window U | ||
| SE attention | Reduction ratio | 8 |
| Transformer | Number of heads H | 4 |
| Hidden dimension d | 64 | |
| FFN inner dimension | 128 | |
| Number of encoder layers | 2 | |
| Dropout rate | 0.1 | |
| GP prior | Kernel | SE + Matérn + periodic mixture |
| Initial length scales | median heuristic | |
| Matérn smoothness init | 1.5 | |
| Periodic init p | 21 (days) | |
| Nugget | ||
| Optimisation | NN optimiser | Adam (, ) |
| NN learning rate | ||
| GP optimiser | L-BFGS-B (max 100 iters) | |
| penalty | ||
| Batch size | 32 | |
| Max outer iterations | 200 | |
| Tolerance | ||
| Trading | Risk aversion | 0.5 |
| EUI weights | ||
| CVaR level | 0.05 | |
| CVaR bound | 0.02 | |
| Transaction cost c | 0.1% (default) |
The EUI weights were selected through fivefold cross-validation on the training portion of each asset, optimising the validation Sharpe ratio over the grid . All experiments were conducted in PyTorch 2.1 with GPyTorch 1.11 on a workstation with an NVIDIA RTX 4090 GPU and 64 GB of RAM. Random seeds were fixed at 42 for NumPy 1.26, PyTorch 2.1, and the GP marginal likelihood optimiser to ensure reproducibility. The source code and data preprocessing scripts are available from the corresponding author upon request.
To ensure a fair comparison, all baseline models were tuned with the same computational budget and selection protocol. Table 9 reports the search space and the selected hyperparameters for each baseline. In every case, hyperparameters were chosen with fivefold time series cross-validation (respecting temporal ordering to prevent look-ahead bias) on the training portion, optimising the validation RMSE.
Table 9.
Baseline hyperparameter search spaces and selected values.
| Model | Hyperparameter | Search Space | Selected |
|---|---|---|---|
| LASSO | (regularisation) | ||
| Random forest | no. of trees | 500 | |
| max depth | 10 | ||
| min samples leaf | 5 | ||
| XGBoost | no. of rounds | 500 | |
| max depth | 5 | ||
| learning rate | 0.05 | ||
| subsample | 0.8 | ||
| LSTM | hidden units | 64 | |
| no. of layers | 2 | ||
| dropout | 0.1 | ||
| learning rate | |||
| epochs | 200 | ||
| GPR (standard) | kernel | Matérn5/2 | |
| length scale | median heuristic + MLE | asset-specific | |
| MC-Dropout LSTM | as LSTM above | as LSTM above | as LSTM above |
| dropout at test | 0.2 | ||
| MC samples | 50 | 50 | |
| BNN | hidden units | 64 | |
| no. of layers | 2 | ||
| prior | 0.5 | ||
| variational epochs | 500 | 500 |
All deep learning baselines (LSTM, MC-Dropout LSTM, and BNN) were trained with the Adam optimiser using the same early stopping criterion (patience of 20 epochs on validation loss) as the C-T-GPR model. The tree-based methods (RF and XGBoost) used the scikit-learn and XGBoost libraries with their default random seeds reset to 42. LASSO was fitted via the coordinate descent solver in scikit-learn. Standard GPR used GPyTorch with the same marginal likelihood optimisation protocol (L-BFGS-B, 100 iterations) as the GP component of C-T-GPR. We emphasise that all models had access to the same input features (, ) and the same train/test split, ensuring that performance differences reflected the modelling capacity rather than data or tuning advantages.
5.4. Real Data Analysis: Chinese A-Share Market
5.4.1. Data and Set-Up
We selected four stocks from distinct sectors to test cross-sector applicability: China Vanke (000002.SZ, real estate), ZTE (000063.SZ, communication equipment), BYD (002594.SZ, automobile manufacturing), and Hengrui Medicine (600276.SH, pharmaceuticals).
To address the concern that a single-year window may be overly sensitive to a particular market regime, we conducted the primary backtest over a three-year period (from 4 January 2022 to 31 December 2024, approximately 729 trading days per stock) obtained from Tushare, and we additionally report the sub-period results that isolate distinct market regimes. Specifically, we partitioned the full sample into three sub-periods: (1) a bear-market phase (from January 2022 to October 2022), characterised by the CSI 300 declining by approximately 25%; (2) a recovery phase (from November 2022 to June 2023), during which the index rebounded by roughly 15%; and (3) a range-bound phase (from July 2023 to December 2024), exhibiting sideways price action with elevated volatility. The model was retrained at the start of each sub-period using an expanding window, with performance reported for both the full sample and each sub-period individually, testing whether the strategy’s advantages persisted across materially different market regimes.
5.4.2. Prediction Performance
Figure 3 shows the predicted stock price curves with 95% predictive intervals from the GP posterior. The entropy shading reveals that the model’s information-theoretic uncertainty increased during market stress periods and decreased during trending markets, consistent with the financial interpretation of Remark 8.
Figure 3.
Predicted vs. actual prices with 95% GP predictive intervals and buy and sell signals.
5.4.3. Trading Strategy Performance
We compared three strategies based on the same C-T-GPR predictions: threshold (buy if predicted return >1% and sell if <; no uncertainty used); full Kelly (; variance only); and entropy-penalised Kelly + CVaR (proposed, Algorithm 2, , , ). Figure 4 shows the cumulative return curves, and Figure 5 presents the daily returns for the proposed strategy.
Figure 4.
Cumulative return curves for the three trading strategies.
Figure 5.
Daily return curves for the proposed strategy.
Table 10 shows that the proposed strategy achieved the best risk-adjusted returns across all four stocks, with higher Sharpe ratios (0.49–0.62) and Sortino ratios (0.71–0.89) than full Kelly despite slightly lower raw returns.
Table 10.
Trading performance: Proposed entropy-penalised strategy vs. baselines.
| Stock | Strategy | AR (%) | SR | Sortino | MDD (%) | Calmar | CVaR95 (%) | ESR |
|---|---|---|---|---|---|---|---|---|
| 000002.SZ | CSI 300 | 5.18 | 0.302 | 0.41 | 14.62 | 0.35 | 2.18 | – |
| Threshold | 15.41 | 0.478 | 0.64 | 14.87 | 1.04 | 1.95 | – | |
| Full Kelly | 20.63 | 0.521 | 0.68 | 16.21 | 1.27 | 2.31 | 0.38 | |
| Proposed | 18.72 | 0.586 | 0.82 | 12.35 | 1.52 | 1.59 | 0.52 | |
| 000063.SZ | CSI 300 | 5.18 | 0.302 | 0.41 | 14.62 | 0.35 | 2.18 | – |
| Threshold | 12.87 | 0.398 | 0.53 | 15.93 | 0.81 | 2.07 | – | |
| Full Kelly | 17.82 | 0.445 | 0.59 | 17.45 | 1.02 | 2.42 | 0.31 | |
| Proposed | 15.94 | 0.491 | 0.71 | 13.87 | 1.15 | 1.71 | 0.44 | |
| 002594.SZ | CSI 300 | 5.18 | 0.302 | 0.41 | 14.62 | 0.35 | 2.18 | – |
| Threshold | 18.45 | 0.517 | 0.69 | 13.78 | 1.34 | 1.87 | – | |
| Full Kelly | 24.91 | 0.562 | 0.73 | 15.63 | 1.59 | 2.19 | 0.42 | |
| Proposed | 22.36 | 0.624 | 0.89 | 11.59 | 1.93 | 1.53 | 0.58 | |
| 600276.SH | CSI 300 | 5.18 | 0.302 | 0.41 | 14.62 | 0.35 | 2.18 | – |
| Threshold | 13.65 | 0.412 | 0.55 | 16.34 | 0.84 | 2.12 | – | |
| Full Kelly | 18.97 | 0.458 | 0.61 | 17.89 | 1.06 | 2.48 | 0.33 | |
| Proposed | 16.81 | 0.503 | 0.73 | 14.12 | 1.19 | 1.78 | 0.46 |
5.4.4. Sub-Period Robustness Analysis
To verify that the performance was not an artefact of a single favourable regime, Table 11 reports the SR, MDD, and 95%-CVaR of the proposed strategy and full Kelly across three sub-periods averaged over the four stocks.
Table 11.
Sub-period performance (four-stock average): proposed vs. full Kelly.
| Sub-Period | Strategy | SR | MDD (%) | CVaR95 (%) |
|---|---|---|---|---|
| Bear (from January 2022 to October 2022) | Full Kelly | 0.18 | 21.4 | 3.01 |
| Proposed | 0.31 | 14.7 | 2.14 | |
| Recovery (from November 2022 to June 2023) | Full Kelly | 0.61 | 11.8 | 1.87 |
| Proposed | 0.68 | 9.3 | 1.42 | |
| Range-bound (from July 2023 to December 2024) | Full Kelly | 0.42 | 16.2 | 2.35 |
| Proposed | 0.53 | 12.1 | 1.68 | |
| Full sample (from January 2022 to December 2024) | Full Kelly | 0.50 | 16.8 | 2.35 |
| Proposed | 0.55 | 13.0 | 1.65 |
The proposed strategy outperformed full Kelly in every sub-period and metric. The advantage was largest in the bear phase (SR , MDD ), precisely when uncertainty-aware sizing is most valuable. It narrowed but remained positive in recovery, confirming the entropy penalty does not over-suppress profitable trending positions. The range-bound phase showed intermediate gains, consistent with the fluctuating EUI dynamics in Figure 6. These results show that the framework’s benefits generalise across materially different regimes rather than reflecting a single favourable environment.
Figure 6.
Time series of predictive entropy (a), EUIt (b), and position size (c) for 002594.SZ.
5.4.5. Ablation Study
Table 12 shows what each component contributed; the Transformer reduced the RMSE by 30.3% over the CNN alone, the GP further reduced it by 31.0% while enabling uncertainty quantification (PICP ), and the entropy-regulated trading module raised the SR by 17.0%, cut the CVaR by 10.3%, and lifted the ESR by 38.9% without affecting prediction accuracy.
Table 12.
Ablation study: contribution of each component (averaged across four stocks).
| Configuration | RMSE | PICP (%) | SR | CVaR95 | Calmar | ESR |
|---|---|---|---|---|---|---|
| (i) CNN only | 0.0412 | – | 0.38 | 2.21 | 0.72 | – |
| (ii) CNN + Transformer | 0.0287 | – | 0.43 | 2.08 | 0.91 | – |
| (iii) CNN + Trans. + GPR | 0.0198 | 93.7 | 0.47 | 1.84 | 1.12 | 0.36 |
| (iv) Full (iii + Ent-Kelly + CVaR) | 0.0198 | 93.7 | 0.55 | 1.65 | 1.45 | 0.50 |
5.4.6. Kernel Mixture, BMA, and Transaction Costs
Table 13 shows that the Matérn component dominated for high-volatility stocks (002594.SZ, 000063.SZ) with low values, while the SE was stronger for the smoother 600276.SH. The periodic component was uniformly small with days (monthly effect). was highest for 600276.SH (1.01 nats, balanced SE and Matérn) and lowest for 002594.SZ (0.82 nats, Matérn-dominant), feeding directly into the EUI for conservative sizing. Table 14 summarises the effect of BMA and transaction cost penalisation on trading performance.
Table 13.
Estimated kernel mixture weights and model entropy.
| Stock | (Days) | |||||
|---|---|---|---|---|---|---|
| 000002.SZ | 0.42 | 0.51 | 0.07 | 1.8 | 21.3 | 0.92 |
| 000063.SZ | 0.35 | 0.58 | 0.07 | 1.5 | 22.7 | 0.87 |
| 002594.SZ | 0.31 | 0.62 | 0.07 | 1.3 | 20.8 | 0.82 |
| 600276.SH | 0.45 | 0.43 | 0.12 | 2.1 | 21.1 | 1.01 |
Table 14.
Impact of BMA and transaction cost penalisation (TC) on trading performance (four-stock average).
| Configuration | SR | Sortino | MDD (%) | CVaR95 | Net AR (%) |
|---|---|---|---|---|---|
| Proposed (point kernel, ) | 0.55 | 0.79 | 12.98 | 1.65 | 17.21 |
| + BMA | 0.574 | 0.83 | 12.41 | 1.58 | 17.45 |
| + BMA + TC () | 0.582 | 0.85 | 12.23 | 1.55 | 16.89 |
| + BMA + TC () | 0.591 | 0.87 | 11.87 | 1.51 | 15.63 |
| Full Kelly (no BMA, no TC) | 0.497 | 0.65 | 16.80 | 2.35 | 20.58 |
BMA raised the SR by 4.2% and cut the CVaR by 4.2% over the point-kernel baseline, confirming that between-model uncertainty provides an additional risk signal. TC penalisation improved the risk-adjusted metrics at the cost of raw returns (at : net AR , SR , MDD ). Full Kelly attained the highest raw return but the worst risk-adjusted performance.
Table 15 further reports the turnover, net returns, and trade counts under different cost rates (four-stock average, full three-year backtest).
Table 15.
Transaction cost sensitivity analysis (four-stock average, full sample).
| c (%) | Turnover | No. of Trades | Gross AR (%) | TC Drag (%) | Net AR (%) | SR (Net) |
|---|---|---|---|---|---|---|
| 0.00 | 1.42 | 487 | 18.46 | 0.00 | 18.46 | 0.548 |
| 0.05 | 1.38 | 471 | 18.38 | 0.69 | 17.69 | 0.561 |
| 0.10 | 1.29 | 438 | 18.21 | 1.29 | 16.92 | 0.572 |
| 0.20 | 1.12 | 382 | 17.84 | 2.24 | 15.60 | 0.581 |
| 0.30 | 0.97 | 331 | 17.42 | 2.91 | 14.51 | 0.591 |
| 0.50 | 0.74 | 264 | 16.73 | 3.70 | 13.03 | 0.583 |
5.4.7. Predictive Entropy Dynamics
Figure 6 reveals that (1) the predictive entropy exhibited regime switching between the low-entropy (trending) and high-entropy (volatile) phases; (2) EUI spikes preceded large drawdowns, providing early warning; and (3) the position sizes were inversely correlated with entropy. The Spearman correlation between the daily EUIt and next-day absolute return was 0.41 (), confirming the entropy measures captured genuine market risk.
6. Discussion
The proposed framework integrates three methodological families. Deep learning methods [12,13,15,16] give strong point prediction but lack uncertainty quantification. Here, the CNN and Transformer serve as , gaining uncertainty via the GP. Gaussian process regression [19,20] provides calibrated predictive distributions but struggles with high-dimensional nonlinear features. Here, the GP models only residual autocorrelation in the lower-dimensional Z-space.
Using differential entropy, model posterior entropy, and KL divergence as trading signals departs from variance-based measures and offers three advantages: the entropy decomposition (Proposition 1) separates aleatoric and epistemic uncertainty in information-theoretic units, enabling cross-asset comparison; and the inter-model KL capture uncertainty invisible to single-model variance (Table 10); and the link to the Kelly growth rate via mutual information (Remark 9) supplies a theoretical foundation absent in variance-based approaches, extending the entropy-based financial literature [37,38] from descriptive to prescriptive design. Risk management approaches [2,21] require reliable predictive distributions, which Theorems 2 and 3 guarantee.
One concern with a framework spanning deep learning, GPs, information theory, and portfolio optimisation is whether each component has sufficient depth. We address this in three ways. First, the theory was deliberately scoped; identifiability, consistency, and coverage were proven for the specific semiparametric model, giving targeted guarantees that justify entropy-based trading and are unavailable from the components alone. Second, the evaluation added adversarial simulations (Section 5.2.7), sub-period analysis (Section 5.4.4), finite-sample calibration (Table 5), and baseline tuning (Table 9). Third, the integration itself is the main contribution; using the GP predictive entropy as an operational trading signal requires all components together. We acknowledge that deeper investigation of each component, such as non-asymptotic finite-sample bounds, heavy-tailed GP extensions, or multi-output cross-asset modelling, constitutes important future work.
Several limitations should be acknowledged. First, the identifiability result (Theorem 1) relied on independence between X and Z. When features are shared, partial identifiability may hold, but this requires further investigation. Second, the convergence rate in Theorem 2 depends on the unknown effective dimension ; the actual rate may be faster if the true function has additional structure. Third, the CVaR-constrained optimisation assumes Gaussian returns; heavy-tailed extensions using Student t processes are a natural direction. Fourth, the current implementation uses independent GP predictions for each asset; a multi-output GP with cross-asset correlations [39] would improve portfolio-level predictions. Fifth, the entropic uncertainty index (EUI) involves tuning parameters and , which are currently set via cross-validation; an information-theoretic criterion for their automatic selection is an important direction for future work. Sixth, the simulation experiments in Section 5.2 used a data generating process that mirrored the semiparametric structure of the proposed model. While appropriate for verifying theoretical properties, this risks overstating the practical advantage. Section 5.2.7 partially addressed this by showing C-T-GPR remained competitive under misspecified DGPs, but broader adversarial benchmarks (long-memory processes, jump diffusion dynamics, and microstructure noise) would further strengthen the evidence. Seventh, the three-year backtesting window (2022–2024), though longer than the initial one-year design, still covered limited macroeconomic environments. Extending to a full market cycle (e.g., 2015–2024, spanning the 2015 crash, 2018 trade war, and 2020 pandemic) is an important direction for testing robustness under extreme tail events.
7. Conclusions
This paper developed an information-theoretic semiparametric framework for entropy-regulated quantitative trading that integrates deep learning, Gaussian process uncertainty quantification, and mathematically grounded trading strategies. The C-T-GPR model decomposes returns into a CNN-Transformer deterministic component and a GP stochastic component with a dynamic mixture kernel, whose identifiability was established in Theorem 1. Theoretical guarantees include consistency of the penalised MLE (Theorem 2) and asymptotic coverage of GP prediction intervals (Theorem 3), linking predictive entropy to risk management. Building on these results, the information-theoretic analysis comprised the predictive entropy decomposition (Proposition 1), model posterior entropy and inter-model KL divergence for kernel uncertainty, and a composite entropic uncertainty index, which fed into an entropy-penalised Kelly criterion (Proposition 2) and CVaR-constrained portfolio optimisation (Proposition 3) with asymptotic reliability guarantees. Empirical validation shows that C-T-GPR achieved the lowest prediction errors with well-calibrated 94.2% prediction interval coverage. Backtesting on a representative four-stock sample drawn from four distinct Chinese A-share industries yielded annualised returns of 15.9–22.4%, Sharpe ratios of 0.49–0.62, maximum drawdowns below 15%, and daily 95%-CVaR reductions of 28–31% relative to the full Kelly baseline. Future directions include multi-output GPs for cross-asset dependence, Student-t processes for heavy-tailed returns, sparse GP approximations [40] for high-frequency data, online learning for non-stationary markets, and Rényi entropy generalisations.
Author Contributions
Conceptualisation, H.S.; methodology, F.L. and H.S.; software, F.L.; validation, F.L.; formal analysis, F.L.; investigation, F.L.; resource, H.S.; data curation, F.L.; writing—original draft, F.L.; writing—review and editing, H.S.; visualisation, F.L.; supervision, H.S.; project administration, H.S.; funding acquisition, H.S. All authors have read and agreed to the published version of the manuscript.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The data presented in this study are available on request from the corresponding author. Stock price data were obtained from Tushare (https://tushare.pro, accessed on 13 April 2026).
Conflicts of Interest
The authors declare no conflicts of interest.
Funding Statement
This research was supported by the National Natural Science Foundation of China (NSFC) Project (No. 71774071).
Footnotes
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
References
- 1.Shannon C.E. A mathematical theory of communication. Bell Syst. Tech. J. 1948;27:379–423. doi: 10.1002/j.1538-7305.1948.tb01338.x. [DOI] [Google Scholar]
- 2.Kelly J.L. A new interpretation of information rate. Bell Syst. Tech. J. 1956;35:917–926. doi: 10.1002/j.1538-7305.1956.tb03809.x. [DOI] [Google Scholar]
- 3.Chan E.P. Quantitative Trading: How to Build Your Own Algorithmic Trading Business. John Wiley & Sons; Hoboken, NJ, USA: 2021. [Google Scholar]
- 4.Almeida-Junior P.M., Nascimento A.D.C. ARMA process for speckled data. J. Stat. Comput. Simul. 2021;91:3125–3153. doi: 10.1080/00949655.2021.1922688. [DOI] [Google Scholar]
- 5.Alabdulrazzaq H., Alenezi M.N., Rawajfih Y., Alghannam B.A., Al-Hassan A.A., Al-Anzi F.S. On the accuracy of ARIMA based prediction of COVID-19 spread. Results Phys. 2021;27:104509. doi: 10.1016/j.rinp.2021.104509. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Breiman L., Friedman J.H., Olshen R.A., Stone C.J. Classification and Regression Trees. Wadsworth; Belmont, CA, USA: 1984. [Google Scholar]
- 7.Brophy J., Lowd D. Machine unlearning for random forests; Proceedings of the International Conference on Machine Learning, PMLR; Virtual Event. 18–24 July 2021. [Google Scholar]
- 8.Chen T., Guestrin C. XGBoost: A scalable tree boosting system; Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; San Francisco, CA, USA. 13–17 August 2016; pp. 785–794. [Google Scholar]
- 9.Ke G., Meng Q., Finley T., Wang T., Chen W., Ma W., Ye Q., Liu T.-Y. Advances in Neural Information Processing Systems (NeurIPS) Curran Associates; Red Hook, NY, USA: 2017. LightGBM: A highly efficient gradient boosting decision tree; pp. 3146–3154. [Google Scholar]
- 10.Abbasimehr H., Paki R. Improving time series forecasting using LSTM and attention models. J. Ambient Intell. Humaniz. Comput. 2022;13:673–691. doi: 10.1007/s12652-020-02761-x. [DOI] [Google Scholar]
- 11.Shahid F., Zameer A., Muneeb M. A novel genetic LSTM model for wind power forecast. Energy. 2021;223:120069. doi: 10.1016/j.energy.2021.120069. [DOI] [Google Scholar]
- 12.Lu W., Li J., Li Y., Sun A., Wang J. A CNN-BiLSTM-AM method for stock price prediction. Neural Comput. Appl. 2021;33:4741–4753. doi: 10.1007/s00521-020-05532-z. [DOI] [Google Scholar]
- 13.Wu J.M.-T., Li Z., Herencsar N., Vo B., Lin J.C.-W. A graph-based CNN-LSTM stock price prediction algorithm with leading indicators. Multimed. Syst. 2023;29:1751–1770. doi: 10.1007/s00530-021-00758-w. [DOI] [Google Scholar]
- 14.Selvin S., Vinayakumar R., Gopalakrishnan E.A., Menon V.K., Soman K.P. Stock price prediction using LSTM, RNN and CNN-sliding window model; Proceedings of the 2017 International Conference on Advances in Computing, Communications and Informatics (ICACCI); Udupi, India. 13–16 September 2017; pp. 1643–1647. [Google Scholar]
- 15.Pradeep P., Premjith B., Nimal Madhu M., Soman K.P. International Conference on Mathematics and Computing. Springer; Singapore: 2024. A Transformer-based stock market price prediction by incorporating BERT embedding; pp. 95–107. [Google Scholar]
- 16.Li S., Xu S. Enhancing stock price prediction using GANs and transformer-based attention mechanisms. Empir. Econ. 2025;68:373–403. doi: 10.1007/s00181-024-02644-6. [DOI] [Google Scholar]
- 17.Jospin L.V., Laga H., Boussaid F., Buntine W., Bennamoun M. Hands-on Bayesian neural networks—A tutorial for deep learning users. IEEE Comput. Intell. Mag. 2022;17:29–48. doi: 10.1109/MCI.2022.3155327. [DOI] [Google Scholar]
- 18.Gal Y., Ghahramani Z. Dropout as a Bayesian approximation: Representing model uncertainty in deep learning; Proceedings of the 33rd International Conference on Machine Learning (ICML); New York, NY, USA. 19–24 June 2016; pp. 1050–1059. [Google Scholar]
- 19.Wang J. An intuitive tutorial to Gaussian process regression. Comput. Sci. Eng. 2023;25:4–11. doi: 10.1109/MCSE.2023.3342149. [DOI] [Google Scholar]
- 20.Rasmussen C.E., Williams C.K.I. Gaussian Processes for Machine Learning. MIT Press; Cambridge, MA, USA: 2006. [Google Scholar]
- 21.Rockafellar R.T., Uryasev S. Optimization of conditional value-at-risk. J. Risk. 2000;2:21–41. doi: 10.21314/JOR.2000.038. [DOI] [Google Scholar]
- 22.Wang Y., Yan K. Application of traditional machine learning models for quantitative trading of Bitcoin. Artif. Intell. Evol. 2023;4:34–48. doi: 10.37256/aie.4120232226. [DOI] [Google Scholar]
- 23.Sadorsky P. A random forests approach to predicting clean energy stock prices. J. Risk Financ. Manag. 2021;14:48. doi: 10.3390/jrfm14020048. [DOI] [Google Scholar]
- 24.Guennioui O., Chiadmi D., Amghar M. Global stock price forecasting during a period of market stress using LightGBM. Int. J. Comput. Digit. Syst. 2024;15:19–27. doi: 10.12785/ijcds/150103. [DOI] [Google Scholar]
- 25.Deng S., Huang Z., Zhu Y., Xu M., Kong X. Multi-sentiment fusion for stock price crash risk prediction using an interpretable ensemble learning method. Eng. Appl. Artif. Intell. 2024;135:108842. doi: 10.1016/j.engappai.2024.108842. [DOI] [Google Scholar]
- 26.Nalewajski R.F. Perspectives in Electronic Structure Theory. Springer; Berlin/Heidelberg, Germany: 2011. Elements of information theory; pp. 371–395. [Google Scholar]
- 27.Cohen G., Aiche A., Eichel R. Entropy-augmented forecasting and portfolio construction at the industry-group level: A causal machine-learning approach using gradient-boosted decision trees. Entropy. 2026;28:108. doi: 10.3390/e28010108. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Robinson P.M. Root-N-consistent semiparametric regression. Econometrica. 1988;56:931–954. doi: 10.2307/1912705. [DOI] [Google Scholar]
- 29.Hu J., Shen L., Sun G. Squeeze-and-excitation networks; Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR); Salt Lake City, UT, USA. 18–22 June 2018; pp. 7132–7141. [Google Scholar]
- 30.Slonim N. Ph.D. Thesis. Hebrew University of Jerusalem; Jerusalem, Israel: 2002. The Information Bottleneck: Theory and Applications. [Google Scholar]
- 31.Hornik K., Stinchcombe M., White H. Multilayer feedforward networks are universal approximators. Neural Netw. 1989;2:359–366. doi: 10.1016/0893-6080(89)90020-8. [DOI] [Google Scholar]
- 32.Yarotsky D. Error bounds for approximations with deep ReLU networks. Neural Netw. 2017;94:103–114. doi: 10.1016/j.neunet.2017.07.002. [DOI] [PubMed] [Google Scholar]
- 33.MacKay D.J.C. Bayesian interpolation. Neural Comput. 1992;4:415–447. doi: 10.1162/neco.1992.4.3.415. [DOI] [Google Scholar]
- 34.Geman S., Hwang C.-R. Nonparametric maximum likelihood estimation by the method of sieves. Ann. Stat. 1982;10:401–414. doi: 10.1214/aos/1176345782. [DOI] [Google Scholar]
- 35.van der Vaart A.W., van Zanten J.H. Rates of contraction of posterior distributions based on Gaussian process priors. Ann. Stat. 2008;36:1435–1463. doi: 10.1214/009053607000000613. [DOI] [Google Scholar]
- 36.Montañez-Jacquez S., Clippinger J.H., Moroney M. Agentic finance: An adaptive inference framework for bounded-rational investing agents. Entropy. 2026;28:321. doi: 10.3390/e28030321. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Bekiros S., Nguyen D.K., Uddin G.S., Sjö B. On the time scale behavior of equity-commodity links: Implications for portfolio management. J. Int. Financ. Mark. Inst. Money. 2016;41:30–46. doi: 10.1016/j.intfin.2015.12.003. [DOI] [Google Scholar]
- 38.Olbryś J. Entropy-based applications in economics, finance, and management. Entropy. 2022;24:1468. doi: 10.3390/e24101468. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Alvarez M.A., Rosasco L., Lawrence N.D. Kernels for vector-valued functions: A review. Found. Trends Mach. Learn. 2012;4:195–266. doi: 10.1561/2200000036. [DOI] [Google Scholar]
- 40.Hensman J., Fusi N., Lawrence N.D. Uncertainty in Artificial Intelligence (UAI) AUAI Press; Corvallis, OR, USA: 2013. Gaussian processes for big data; pp. 282–290. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The data presented in this study are available on request from the corresponding author. Stock price data were obtained from Tushare (https://tushare.pro, accessed on 13 April 2026).






