Forecasting Short-Term KOSPI using Wavelet Transforms and Fuzzy Neural Network

Dongkun Shin, Kyungyong ChungThe Journal of the Korea Contents Association 2011

Abstract: The methodology of KOSPI forecast has been considered as one of the most difficult problem to develop accurately since short-term KOSPI is correlated with various factors including politics and economics. In this paper, we presents a methodology for forecasting short-term trends of stock price for five days using the feature selection method based on a neural network with weighted fuzzy membership functions (NEWFM). The distributed non-overlap area measurement method selects the minimized number of input features by removing the worst input features one by one. A technical indicator are selected for preprocessing KOSPI data in the first step. In the second step, thirty-nine numbers of input features are produced by wavelet transforms. Twelve numbers of input features are selected as the minimized numbers of input features from thirty-nine numbers of input features using the non-overlap area distribution measurement method. The proposed method shows that sensitivity, specificity, and accuracy rates are 72.79%, 74.76%, and 73.84%, respectively.

Introduction

Predicting stock market indices like the KOSPI is notoriously difficult because price movements are influenced by a chaotic mix of political, economic, and psychological factors. Most existing research focuses on "next-day" predictions, which often suffer from low accuracy (frequently below 60%) due to market noise.

This research argues that for practical trading, a 5-day "short-term trend" is more meaningful than a single-day snapshot. However, multi-day forecasting increases complexity. The challenge lies in extracting meaningful signals from noisy historical data and selecting the most relevant "features" (input variables) to avoid overcomplicating the model.

Proposed Methodology

The authors propose a robust three-stage pipeline to address these challenges, combining signal processing with advanced fuzzy neural networks.

System architecture of the proposed KOSPI forecasting model.
  1. Preprocessing with Technical Indicators: The system uses the "Current Price Position" (CPP), which measures where today's closing price sits relative to the 5-day moving average.
  2. Wavelet Transform (Feature Extraction): To capture both local fluctuations and broader trends, a Haar Wavelet Transform (Level 5) is applied to the CPP data. This process generates 39 initial coefficients (features) representing the data across different scales and frequencies.
  3. Feature Selection (The "Non-Overlap" Method): Not all 39 coefficients are useful. The authors use a "Distributed Non-Overlap Area Measurement" method to prune noisy features.
  4. Classification via NEWFM: The final selected features are fed into a Neural Network with Weighted Fuzzy Membership functions (NEWFM). Unlike standard neural networks, NEWFM uses fuzzy logic to handle the inherent uncertainty of market data, creating weighted rules to classify the 5-day trend as either "Up" or "Down."

Feature Selection and Classification

One of the most striking findings of this study was that reducing the input features from 39 down to 12 actually improved the model's performance. The "Distributed Non-Overlap Area Measurement" technique looks at the fuzzy membership functions of the data; if the "Up" and "Down" classes overlap too much for a specific feature, that feature is considered "noisy" and removed.

Fuzzy membership functions showing high overlap for a low-importance feature.

By removing features where the fuzzy distributions overlapped heavily, the authors eliminated variables that were essentially just noise. Stock markets don't move in clean, binary ways; by using fuzzy membership functions, the model can better represent the "gray areas" in price movements, leading to more stable predictions than rigid "if-then" logic.

Experimental Results

The study utilized historical KOSPI data consisting of 2,928 total instances (2,347 for training and 581 for testing). The proposed NEWFM model was compared against standard Backpropagation (BP) neural networks and Support Vector Machines (SVM):

Model Accuracy Sensitivity (True Positive) Specificity (True Negative)
NEWFM (Proposed) 73.84% 72.79% 74.76%
SVM 71.95% 71.16% 72.61%
BP Neural Network 67.99% 66.54% 69.26%

The NEWFM model showed a balanced performance, meaning it was equally capable of predicting market upturns and downturns, whereas the BP network struggled significantly more with accuracy.

Conclusion

While the model is highly effective at trend classification, achieving a 73.84% accuracy rate, there are areas for future improvement. The current model classifies a 5-day trend but does not perfectly pinpoint exact "inflection points" or trend reversals. Future work could involve integrating more diverse data types, such as sentiment analysis or global economic indicators, and refining algorithms to predict specific reversal points during sustained market movements.

Summary updated

BibTeX
@article{shin2011forecasting,
  author = {Dongkun Shin and Kyungyong Chung},
  title = {{Forecasting Short-Term KOSPI using Wavelet Transforms and Fuzzy Neural Network}},
  journal = {The Journal of the Korea Contents Association},
  year = {2011},
  doi = {10.5392/jkca.2011.11.6.001},
}
Figure