Research Article

Sales Volume and Price Prediction Using Attention-Based RW-FN-BiLSTM Framework

Yuan Liu1, Yilong Liu1, Xiaoyan Guo1,*, Xiaofei Han2, Hongjing Shao3
1. School of Mathematics, Northwest University, Xi'an, 710127, Shaanxi Province, China.
2. International Institute of Business Administration,Shanghai International Studies University, Shanghai, 200083, China
3. University of shanghai for Science and Technology, China

* Corresponding author: [email protected]

Abstract

In the era of big data, accurate sales volume and price prediction is crucial for enterprises' market decision-making, inventory management, and pricing strategies. Traditional methods often fail to capture complex temporal patterns and nonlinear relationships in sales data, whereas deep learning offers promising solutions. This study proposes an Attention-based RW-FN-BiLSTM hybrid neural network to improve prediction accuracy. Using a 2015–2023 Hass Avocado Board dataset, covering multiple regions and key variables like the price and sales volume of conventional and organic avocados, the model integrates BiLSTM for long-term dependencies, RW-FN for feature extraction, and an Attention mechanism for adaptive weight allocation to key features. Experimental results show stable convergence, with predicted values closely following actual trends and an error distribution indicating strong generalization. While some deviations exist, further optimization in network structure and feature selection can enhance performance. This study validates the Attention-based RW-FN-BiLSTM model, providing enterprises with a data-driven approach to market trend analysis, inventory optimization, and pricing decisions, helping them make precise strategic choices in a competitive market environment.

Keywords: Sales Prediction; Attention-based RW-FN BiLSTM; Time Series Data; Deep Learning; Data Characteristics; RW-FN
Published: April 21, 2025
DOI: 10.54254/2755-2721/2025.22223
Volume: ACE Vol.145
pp. 190-196
Download PDF

References

  1. Sun F, Meng X, Zhang Y, et al. Agricultural Product Price Forecasting Methods: A Review[J]. Agriculture, 2023, 13(9): 1671.
  2. Kurumatani K. Time series forecasting of agricultural product prices based on recurrent neural networks and its evaluation method[J]. SN Applied Sciences, 2020, 2(8): 1434.
  3. Kamilaris A, Prenafeta-Boldú F X. A review of the use of convolutional neural networks in agriculture[J]. The Journal of Agricultural Science, 2018, 156(3): 312-322.
  4. Wan R, Mei S, Wang J, et al. Multivariate temporal convolutional network: A deep neural networks approach for multivariate time series forecasting[J]. Electronics, 2019, 8(8): 876.
  5. Dudukcu H V, Taskiran M, Taskiran Z G C, et al. Temporal Convolutional Networks with RNN approach for chaotic time series prediction[J]. Applied soft computing, 2023, 133: 109945.
  6. Hewage P, Behera A, Trovati M, et al. Temporal convolutional neural (TCN) network for an effective weather forecasting using time-series data from the local weather station[J]. Soft Computing, 2020, 24: 16453-16482.
  7. He Y, Zhao J. Temporal convolutional networks for anomaly detection in time series[C]//Journal of Physics: Conference Series. IOP Publishing, 2019, 1213(4): 042050.
  8. Lim B, Zohren S. Time-series forecasting with deep learning: a survey[J]. Philosophical Transactions of the Royal Society A, 2021, 379(2194): 20200209.
  9. Gu Y H, Jin D, Yin H, et al. Forecasting agricultural commodity prices using dual input attention LSTM[J]. Agriculture, 2022, 12(2): 256.