| 英文摘要 |
Deep learning is widely used in financial forecasting, yet how model complexity, input design, and regularization jointly affect generalization remains insufficiently documented, especially under small-sample conditions. Using Convolutional Neural Networks and data from the Taiwan Stock Exchange Capitalization Weighted Stock Index, this research conducts an exhaustive hyperparameter evaluation across model depth and width, multiple input-window lengths, training settings, and two forecasting horizons, repeating each configuration under multiple random seeds and assessing statistical competitiveness using a model confidence set procedure. The results show that increasing depth often causes sharp deterioration in out-of-sample accuracy and pronounced instability, whereas competitive performance frequently concentrates in shallow architectures that remain robust across a wide range of widths. Longer input windows do not necessarily improve forecasts and instead might reduce accuracy by introducing additional noise. Dropout does not uniformly improve performance and can worsen accuracy in deeper architectures, while statistically competitive models under dropout remain largely shallow. Extending the forecasting horizon substantially reduces predictive accuracy and increases the importance of matching model capacity to the effective information content of the inputs. Overall, this paper highlights the need to balance architectural capacity, input dimensionality, and regularization and to treat stability across runs as a central empirical criterion alongside average predictive accuracy. |