{"paper_id":"2410.07234","title":"A Dynamic Approach to Stock Price Prediction: Comparing RNN and Mixture of Experts Models Across Different Volatility Profiles","authors":["Diego Vallarino"],"paper_date":"2024-10-04","paper_type":"empirical","paper_url":"https://arxiv.org/pdf/2410.07234v1","page_url":"https://thequant.space/flowcharts/a-dynamic-approach-to-stock-price-prediction-comparing-rnn/","scores":{"empirical_rigor":4,"math_complexity":5.5,"quadrant":"Lab Rats"},"proposes":{"status":"available","statement":"The paper proposes a Mixture of Experts (MoE) model that combines an RNN for volatile stocks and a linear model for stable stocks, using a gating network to dynamically weight each expert.","quote":"The main contribution of this paper lies in the application and evaluation of the MoE model for stock price prediction, which integrates both machine learning and statistical approaches.","summary":"This study evaluates the effectiveness of a Mixture of Experts (MoE) model for stock price prediction by comparing it to a Recurrent Neural Network (RNN) and a linear regression model. The MoE framework combines an RNN for volatile stocks and a linear model for stable stocks, dynamically adjusting…","strategy":null},"assumptions":{"status":"available","items":[{"assumption":"Stock prices follow a random walk with drift and normally distributed error.","type":"data","stated":"explicit","quote":"The prices were generated using a random walk with drift, where the price at time t was determined as: 𝑃𝑡= 𝑃𝑡−1 + μ + ϵ𝑡, where"},{"assumption":"Companies with volatility σ greater than 0.05 are classified as volatile; others are stable.","type":"data","stated":"explicit","quote":"(σthreshold= 0.05) were classified as volatile, while those with lower volatility values were classified as stable."},{"assumption":"Model performance is evaluated using walk‑forward validation with an 80‑day training window and 20‑day validation window.","type":"execution","stated":"explicit","quote":"training window consisted of 80 days, followed by a validation window of 20 days. After each validation, the training window was incremented by 20 days, and the model was retrained and tested on the subsequent window."},{"assumption":"Performance metrics are limited to RMSE and MAE.","type":"model","stated":"explicit","quote":"To provide a comprehensive assessment of the models' performance, we used two primary metrics: Root Mean Squared Error (RMSE) and Mean Absolute Error (MAE)."}]},"datasets":{"status":"available","items":[{"name":"Synthetic dataset of 100 companies over 100 trading days","provider":null,"kind":"synthetic","access":"unknown","period":null,"universe":"100 simulated companies","quote":"The dataset comprised 100 companies over a span of 100 trading days, designed to mimic real‑world price dynamics with both stable and highly volatile behaviors."}],"known":[],"sample":{"start":null,"end":null,"market":null,"asset_class":null,"frequency":null},"data_resolution":"synthetic"},"transaction_costs":{"status":"not_extracted","modeled":"unclear","headline_net_of_costs":null,"detail":null,"quote":null,"source":"none","rule":"R0","candidates":{"front_matter":"unclear","evidence_card":"unclear","evidence_card_quoted":true},"card_detail":null,"card_quote":"This section also includes a practical evaluation considering market impact and transaction costs.","meaning":"the classifier was not confident"},"results":{"status":"available","evaluation_type":"forecast-accuracy","findings":[{"finding":"The RNN model on volatile companies yields MSE = 2.4265 and MAE = 1.4678, indicating high error on extreme variations.","kind":"predictive-accuracy","quote":"The Mean Squared Error (MSE) was calculated to be 2.4265, while the Mean Absolute Error (MAE) was 1.4678."},{"finding":"The MoE approach significantly improves prediction accuracy over individual models by adapting to volatility profiles.","kind":"performance","quote":"The MoE approach significantly improves prediction accuracy over using individual models alone by effectively adapting to different volatility conditions."},{"finding":"The linear model performs well for stable companies, avoiding over‑fitting and delivering lower error than the RNN on such data.","kind":"predictive-accuracy","quote":"The linear model, in contrast, shows excellent performance for non‑volatile stocks, reinforcing the notion that simpler models are often better suited for stable datasets."}],"reported_performance":null,"out_of_sample":{"method":"walk-forward","headline_out_of_sample":null}},"independent_evidence":{"status":"available","supports":[{"paper":{"paper_id":"2410.09062","title":"Volatility Forecasting in Global Financial Markets Using TimeMixer","paper_date":"2024-09-27","authors":["Alex Li"],"empirical_rigor":7.5,"page_url":"https://thequant.space/flowcharts/volatility-forecasting-in-global-financial-markets-using-tim/"},"question":"Does high volatility increase prediction error for RNN and TimeMixer models?","this_paper_finding":"The RNN model on volatile companies yields MSE = 2.4265 and MAE = 1.4678, indicating high error on extreme variations.","other_paper_finding":"Highly volatile assets such as DOGE/USD and SOL/USD exhibit notably higher errors, especially over longer horizons.","other_paper_quote":"the model struggles with highly volatile assets such as DOGE/USD, SOL/USD, and TSLA, where error metrics increase notably","note":"A reports MSE = 2.4265, MAE = 1.4678 for volatile firms; B notes DOGE/USD and SOL/USD have notably higher errors, especially at longer horizons.","confidence":0.622}],"contradicts":[],"qualifies":[],"compared_with":14,"citations":{"cited_by_in_corpus":0,"by_independent_authors":0,"how_cited":{"used_as_baseline":0,"uses_method_or_data":0,"extends":0,"discusses_findings":0,"mentions":0,"unclassified":0},"independent_papers":[],"scope":"Citations between papers in this corpus only; citations from outside it are not counted."}},"implementation":{"status":"available","public":false,"code_url":null,"note":"No repository presented by the authors as their own was found in the paper. Absence here is not proof that no code exists."},"replication":{"status":"none_found","card":null,"note":"No replication of this paper has been run by thequant.space yet."},"extraction":{"text_source":"fulltext","model":"openai/gpt-oss-120b","version":1,"extracted_at":"2026-11-14T18:00:24Z"},"provenance":{"claims":"Everything here is what the authors state in the paper. Nothing was re-run or reproduced by the platform.","quotes":"Assumptions, datasets, cost detail and findings were extracted by a language model. Every quote is verbatim paper text. Where an item has `support`, \"full\" means every figure in it appears in the quoted sentences and \"partial\" means a figure is stated elsewhere in the paper; items with a figure found nowhere in the paper were discarded.","datasets_known":"datasets.known lists well-known vendors and public datasets by a stable id, found by a dictionary over the full text where the sentence says the data is used; it is independent of the model and covers only names in the dictionary.","flags":"transaction_costs.modeled, results.evaluation_type and results.out_of_sample.method are platform classifications (structured-decision models); see https://thequant.space/score-guide/#penalty-flags","comparisons":"supports / contradicts / qualifies are a language model's reading of two papers' quoted findings, restricted to closely related papers that share no author. They are pointers to read, not verified replications, and coverage is partial.","implementation":"code_url is a repository the paper itself presents as its own (rule-scored, ambiguous cases judged by a model), checked for liveness when it was recorded."},"docs":"https://thequant.space/agents/"}