Predicting GameFi with machine learning: Identifying the importance of investor attention
1. Introduction and motivation
We examine whether including attention proxies improves the predictive accuracy of machine learning models for GameFi returns. We use adaptive boosting (AdaBoost), random forest (RF), eXtreme gradient boosting (XGBoost), light gradient boosting machine (LightGBM), and long short-term memory networks (LSTM) to predict GameFi returns.
Selecting 10 GameFi stocks according to market capitalization, we use both traditional and direct proxies for investor attention, in addition to including trading and technical indicators as inputs. Further research using SHapley additive exPlanations (SHAP) identifies that attention proxies significantly improve GameFi returns prediction. As inputs, we use trading variables, technical indicators, traditional attention proxies, and direct attention proxies. Results suggest that including attention proxies along with trading variables and technical indicators markedly enhances the prediction accuracy of GameFi returns. We conclude that attention proxies, especially Google Trends for GameFi and attention on Bitcoin, are vital to the prediction of GameFi returns. Results highlight the importance of investor attention in determining the returns of GameFi as an innovative investment vehicle.
Recently, the impacts of investor attention on asset and portfolio returns have received much scholarly focus (Goodell et al., 2022; ; Y. Li et al., 2023). This extends particularly to the impacts of investor attention on new blockchain assets, such as DeFi assets (). use transfer entropy methodology to examine the impact of investor attention on GameFi assets. Concomitantly, finance scholarship has increasingly focused on applying machine learning techniques to financial and economic questions (Goodell et al., 2021).
We engage with multiple streams of literature to apply machine learning techniques to investigate the importance of investor attention for GameFi returns. Overall, we provide evidence that investor attention is an economically meaningful factor in determining GameFi returns. We examine whether including attention proxies improves the predictive accuracy of machine learning models for GameFi returns. We use adaptive boosting (AdaBoost), random forest (RF), eXtreme gradient boosting (XGBoost), light gradient boosting machine (LightGBM), and long short-term memory networks (LSTM) to predict GameFi returns.
Selecting 10 GameFi stocks according to market capitalization, we use both traditional and direct proxies for investor attention, in addition to including trading and technical indicators as inputs. Using SHapley additive exPlanations (SHAP), we find that attention proxies significantly improve GameFi return prediction. As inputs, we use trading variables, technical indicators, traditional attention proxies, and direct attention proxies. Results suggest that including attention proxies, along with trading variables and technical indicators, markedly improves GameFi return prediction accuracy. We conclude that attention proxies, especially Google Trends for GameFi and attention on Bitcoin, are vital to the prediction of GameFi returns. Results highlight the importance of investor attention in determining the returns of GameFi as an innovative investment vehicle.
GameFi is an innovative concept that combines blockchain technology, gaming, and decentralized finance. It reflects the convergence of non-fungible tokens (NFTs), decentralized finance (DeFi), and gaming (Proelss et al., 2023). Due to continuous improvements in blockchain infrastructure, increased investor attention caused by Bitcoin price increases, and optimistic expectations for new cryptocurrency legislation, the total market capitalization of GameFi has grown rapidly. The total market capitalization of GameFi increased over 300% from $30 million in 2019 to $10 billion by the end of 2024. GameFi, as a newly emerging digital asset, is rapidly attracting investor attention.
However, there is scant research on GameFi, particularly regarding its financial properties. Bo and Shen (2023) find that GameFi provides portfolio hedging. Proelss et al. (2023) explain GameFi’s unique value proposition, examining the Granger causality between Bitcoin, Ethereum, and GameFi. Shi et al. (2024b) study the theoretical relationship between the return volatility and trading volume of GameFi. Shi et al. (2024a) investigate the relationship between investor attention and GameFi returns.
Previously, the literature has focused on applying machine learning techniques to predict the returns of cryptocurrencies, most of which are about Bitcoin (Akyildirim et al., 2021; Wang et al., 2022; Cakici et al., 2024). However, at present, there is no research on GameFi returns prediction. Aimed at predicting GameFi returns, we select trading variables, technical indicators, traditional attention proxies, and direct attention proxies as inputs and use AdaBoost, random forest, XGBoost, LightGBM, and LSTM. We find that including traditional attention proxies and direct attention proxies can effectively enhance the prediction accuracy of GameFi returns above that of only including trading variables and technical indicators. Moreover, we employ SHAP to explain machine learning models and find that both traditional attention proxies and direct attention proxies play an important part in predicting GameFi returns.
We contribute to the literature by being the first to predict GameFi returns using machine learning methods. We also employ SHAP to analyze the importance of input variables in predicting GameFi returns. Further, we apply alternative data to predict GameFi returns. We find that inputs that include alternative data can improve prediction accuracy.
The rest of this paper is organized as follows. Section 2 presents the data, variables, and models. Section 3 presents the results, and Section 4 concludes.
2. Data and methodology
2.1. Data
We select the top 10 GameFi projects by market capitalization. Table 1 reports the top 10 GameFi selected by market capitalization. We obtain the daily trading data of GameFi from https://cryptorank.io/categories/gamefi/, including daily opening price (Opnprc), closing price (Clsprc), highest price (Hiprc), lowest price (Loprc), and trading volume (Vol). Then we calculate technical indicators and traditional attention proxies with daily trading data. For direct proxies, we use Google Trends for Bitcoin (GTB) and GameFi (GTG), obtained from Google Trends. Since Google Trends does not report daily data, we follow Y. Li et al. (2021) to calculate a change multiplier used on weekly data to obtain daily data.
| GameFi | Abbreviation | Capitalization | Start Date | End Date |
| Gala | GALA | $ 751.86M | 2021/03/31 | 2025/03/18 |
| Four | FORM | $ 721.91M | 2023/03/15 | 2025/03/18 |
| The Sandbox | SAND | $ 708.11M | 2020/09/03 | 2025/03/18 |
| Axie Infinity | AXS | $ 543.69M | 2020/11/24 | 2025/03/18 |
| Decentraland | MANA | $ 505.72M | 2020/03/15 | 2025/03/18 |
| Ronin | RON | $ 481.89M | 2020/03/15 | 2025/03/18 |
| Beam | BEAM | $ 376.94M | 2023/11/20 | 2025/03/18 |
| Notcoin | NOT | $ 241.48M | 2024/06/05 | 2025/03/18 |
| Echelon Prime | PRIME | $ 238.92M | 2023/03/22 | 2025/03/18 |
| Rollbit Coin | RLB | $ 207.78M | 2022/04/19 | 2025/03/18 |
Figure 1 illustrates the time series of GameFi returns. The sample selection period is up to March 18, 2025.
Figure 1.GameFi returns plotNote. This figure illustrates GameFi returns. The sample selection period ends on March 18, 2025.
2.2. Variable definitions
Technical indicators play a significant role in returns prediction. Technical indicators can identify market trends and cycle phases, determine overbought or oversold conditions, and signal reversals. Following Hudson and Urquhart (2021), our model considers technical indicators, such as exponential moving average (EMA), average true range (ATR), relative strength index (RSI), and Bollinger bands.
EMA calculates the arithmetic average of closing prices and analyzes the results to determine future price movement trends. EMA overcomes the lag in signals provided by the MACD indicator regarding price movements, calculated as follows:
(1) $$\mathrm{EMA}_t = \alpha \times \mathrm{Close}_t + (1-\alpha) \times \mathrm{EMA}_{t-1}$$
where α is the smoothing factor, typically defined as 2/(n + 1). n is the period for calculating the EMAt.
ATR is a moving average of price fluctuations over a certain period of time, which displays the market change rate. The higher (lower) the ATR, the greater (weaker) the likelihood of a trend change. ATR is calculated as follows:
(2) $$\mathrm{ATR}_t = \frac{1}{n}\sum_{i=1}^{n}\mathrm{TR}_{t-i+1}$$
where TRt is the difference between the highest and lowest price.
The principle of the RSI involves calculating the magnitude of price increases and decreases to assess the strength of market movement trends, thereby predicting whether these trends will continue or reverse, calculated as follows:
(3) $$\mathrm{RS} = \frac{\mathrm{AverageGain}_n}{\mathrm{AverageLoss}_n}$$
(4) $$\mathrm{RSI} = 100 - \frac{100}{1+\mathrm{RS}}$$
where AverageGainn(AverageLossn) refers to the average price increases (decreases).
Bollinger bands are a statistical analysis tool that calculates the channel range of stock prices based on standard deviation. It delineates the fluctuation range of stock prices, predicts possible future trends, and uses wave bands to display safe high and low price levels. Bollinger bands consist of the upper band (Upper), middle band (MA), and lower band (Lower), calculated as follows:
(5) $$\mathrm{Middle} = \mathrm{MA}_n$$
(6) $$\mathrm{Upper} = \mathrm{Middle} + K \times \sigma_n$$
(7) $$\mathrm{Lower} = \mathrm{Middle} - K \times \sigma_n$$
where MAn is the simple moving average, σn refers to the standard deviation of the closing prices, and K is the width of the Bollinger Bands, which is set to two.
Recently, investor attention has emphasized return prediction. Attention is recognized as a scarce cognitive resource (Kahneman, 1973). Particularly, investor attention is found to have a significant relationship with cryptocurrency returns (Dastgir et al., 2019; Subramaniam & Chakraborty, 2020; Shen et al., 2019; Y. Li et al., 2021; Wang et al., 2022; Aslanidis et al., 2022; Smales, 2022). We follow Wang et al. (2022) to use extreme return (ERet), abnormal trading volume (AVol), past return (PRet), and nearness to the 30-day high (30dH) as traditional attention proxies for GameFi. The calculation methods for ERet, AVol, PRet, and dH30 are as follows.
ERet is calculated as follows:
(8) $$\mathrm{ERet}_t = \frac{\mathrm{Ret}_t}{\frac{1}{30}\sum_{i=1}^{30}\left|\mathrm{Ret}_{t-30}\right|}$$
where Eett is the return of GameFi on day t. AVol is calculated as follows:
(9) $$\mathrm{AVol}_t = \frac{\mathrm{Vol}_t}{\frac{1}{30}\sum_{t=1}^{30}\mathrm{Vol}_{t-30}} - 1$$
where Volt is the daily trading volume of GameFi on day t. PRet is calculated as follows:
(10) $$\mathrm{PRet}_t = \prod_{t=1}^{30}\left(1+\mathrm{Ret}_t\right) - 1$$
where Rett is the daily trading volume of GameFi on day t. dH30 is calculated as follows:
(11) $$30\mathrm{dH}_t = \frac{p_t}{\max_{t=1}^{t=30}\left(p_{t-30}\right)}$$
where pt is the closing price of GameFi on day t.
To more effectively measure attention, some direct measures of investor attention are introduced, such as Internet search volume (Da et al., 2011; Vlastakis & Markellos, 2012; W. Zhang et al., 2021) and asset-specific stock tweets (X. Li et al., 2016). We follow Da et al. (2011) to use daily Google Trends for GameFi (GTG) and Bitcoin (GTB) as direct attention proxies for GameFi. Returns of GameFi are the output variable. Table 2 reports the variable definitions, which include trading variables, technical indicators, traditional attention proxies, and direct attention proxies.
| Variable | Abbreviation | Definition | |
| Trading variables | |||
| The opening price | Opnprc | The daily opening price of GameFi | |
| The highest price | Hiprc | The daily highest price of GameFi | |
| The lowest price | Loprc | The daily lowest price of GameFi | |
| The closing price | Clsprc | The daily closing price of GameFi | |
| Trading volume | Vol | The daily trading volume of GameFi | |
| Technical indicators | |||
| Moving average | EMA | Formula(1) | |
| Average true range | ATR | Formula(2) | |
| Relative strength index | RSI | Formula(4) | |
| Middle Bollinger Band | Middle | Formula(5) | |
| Upper Bollinger Band | Upper | Formula(6) | |
| Lower Bollinger Band | Lower | Formula(7) | |
| Traditional attention proxies | |||
| Extreme returns | ERet | Formula(8) | |
| Unusual Trading Volume | AVol | Formula(9) | |
| Historical Returns | PRet | Formula(10) | |
| Approaching 30-day high | 30dH | Formula(11) | |
| Direct attention proxies | |||
| Google Trends for Bitcoin | GTB | The daily Google Trends for Bitcoin | |
| Google Trends for GameFi | GTG | The daily Google Trends for GameFi |
2.3. Descriptive statistics
Table 3 reports descriptive statistics of GameFi token returns, including observations, mean, minimum, maximum, upper quartile (Q1), median, lower quartile (Q3), and standard deviation.
| GameFi | Obs | Mean | Min | Q1 | Median | Q3 | Max | Std. dev |
| Gala | 1449 | 0.0031 | -0.4073 | -0.0357 | -0.0033 | 0.0321 | 1.2547 | 0.0900 |
| Four | 735 | 0.0011 | -0.3440 | -0.0281 | 0.0000 | 0.0274 | 0.8241 | 0.0755 |
| The Sandbox | 1658 | 0.0009 | -0.4169 | -0.0308 | 0.0000 | 0.0290 | 0.7885 | 0.0766 |
| Axie Infinity | 1576 | 0.0012 | -0.4829 | -0.0321 | -0.0010 | 0.0286 | 0.5240 | 0.0684 |
| Decentraland | 1830 | 0.0014 | -0.4055 | -0.0267 | 0.0000 | 0.0266 | 0.9417 | 0.0733 |
| Ronin | 1830 | 0.0025 | -2.8101 | -0.0275 | 0.0000 | 0.0244 | 3.3567 | 0.1308 |
| Beam | 485 | -0.0009 | -0.2052 | -0.0401 | -0.0041 | 0.0411 | 0.1790 | 0.0621 |
| Notcoin | 287 | -0.0078 | -0.2610 | -0.0455 | -0.0089 | 0.0266 | 0.2578 | 0.0680 |
| Echelon Prime | 728 | 0.0011 | -0.2294 | -0.0419 | -0.0045 | 0.0345 | 0.2733 | 0.0697 |
| Rollbit Coin | 1065 | 0.0031 | -0.3632 | -0.0481 | 0.0000 | 0.0465 | 0.6512 | 0.0866 |
2.4. Models and design
We employ five machine learning models, including AdaBoost, RF, XGBoost, LightGBM, and LSTM. Additionally, we use SHAP to explain machine learning models. We use Python and the Scikit-Learn library to build machine learning models for return prediction, providing the basic construction of machine learning algorithms.
We use two sets of inputs for comparison. First, we use both trading variables and technical indicators of GameFi as inputs. Subsequently, we further include attention proxies (traditional attention proxies and direct attention proxies). We use the first 85% of the dataset to train the models, while the remaining 15% is used for testing.
3. Results
3.1. Model performance evaluation
We select the estimated mean squared error (MSE) as the evaluation metric for model prediction performance. The calculation formula for mean squared error is as follows:
(12) $$\mathrm{MSE} = \frac{1}{n}\sum_{i=1}^{n}\left(y_i-\hat{y}_i\right)^2$$
If the MSE of the model is relatively small, it indicates that the prediction performance of the model is good and the accuracy of the prediction results is high.
Table 4 reports the MSE for the prediction of the machine learning models. Panels A to E report the MSE for AdaBoost, Random Forest, XGBoost, LightGBM, and LSTM, respectively. In each panel, the first row includes two groups of variables (trading variables and technical indicators), and the second row includes four groups of variables (trading variables, technical indicators, traditional attention proxies, and direct attention proxies). We find that in each panel, the best prediction results are almost exclusively achieved in the second row, which takes all four groups of variables (trading variables, technical indicators, traditional attention proxies, and direct attention proxies) as model inputs. That is, including attention proxies can effectively enhance the prediction accuracy. As a robustness check, we also evaluate RMSE. The results, reported in Table 5, are qualitatively consistent with those based on MSE.
| Variables | GALA | FORM | SAND | AXS | MANA | RON | BEAM | NOT | PRIME | RLS | |
| Panel A | |||||||||||
| AdaBoost | trading+technical | 0.004587 | 0.017693 | 0.004831 | 0.002587 | 0.003240 | 0.010902 | 0.005340 | 0.038676 | 0.007814 | 0.004035 |
| trading+technical+attention | 0.003923 | 0.018036 | 0.004678 | 0.002487 | 0.003342 | 0.010783 | 0.005170 | 0.012185 | 0.007869 | 0.003949 | |
| Panel B | |||||||||||
| RF | trading+technical | 0.004410 | 0.017900 | 0.004769 | 0.003304 | 0.003366 | 0.011398 | 0.007871 | 0.030209 | 0.008486 | 0.004193 |
| trading+technical+attention | 0.004235 | 0.017708 | 0.004720 | 0.002873 | 0.003518 | 0.010732 | 0.006785 | 0.014920 | 0.008225 | 0.004110 | |
| Panel C | |||||||||||
| XGBoost | trading+technical | 0.004094 | 0.018936 | 0.005303 | 0.002993 | 0.004451 | 0.012150 | 0.006992 | 0.022073 | 0.009156 | 0.005091 |
| trading+technical+attention | 0.004037 | 0.017569 | 0.004830 | 0.002721 | 0.003856 | 0.011335 | 0.009448 | 0.010624 | 0.008510 | 0.004283 | |
| Panel D | |||||||||||
| LightGBM | trading+technical | 0.003767 | 0.017722 | 0.004590 | 0.002634 | 0.003481 | 0.011036 | 0.005580 | 0.006190 | 0.008183 | 0.004046 |
| trading+technical+attention | 0.003661 | 0.017649 | 0.004431 | 0.002468 | 0.003214 | 0.010940 | 0.005906 | 0.004862 | 0.007726 | 0.003902 | |
| Panel E | |||||||||||
| LSTM | trading+technical | 0.004004 | 0.018141 | 0.006184 | 0.002831 | 0.003332 | 0.016412 | 0.005301 | 0.008646 | 0.007759 | 0.004930 |
| trading+technical+attention | 0.003779 | 0.017667 | 0.006092 | 0.002583 | 0.003252 | 0.011544 | 0.008172 | 0.008534 | 0.007787 | 0.004474 | |
| Variables | GALA | FORM | SAND | AXS | MANA | RON | BEAM | NOT | PRIME | RLS | |
| Panel A | |||||||||||
| AdaBoost | trading+technical | 0.067726 | 0.133014 | 0.069503 | 0.050861 | 0.056917 | 0.104412 | 0.073076 | 0.196663 | 0.088397 | 0.063520 |
| trading+technical+attention | 0.062634 | 0.134297 | 0.068397 | 0.049870 | 0.057806 | 0.103841 | 0.071904 | 0.110385 | 0.088709 | 0.062841 | |
| Panel B | |||||||||||
| RF | trading+technical | 0.066411 | 0.133791 | 0.069058 | 0.057483 | 0.058016 | 0.106764 | 0.088717 | 0.173807 | 0.092117 | 0.064753 |
| trading+technical+attention | 0.065073 | 0.133071 | 0.068705 | 0.053596 | 0.059315 | 0.103597 | 0.082369 | 0.122146 | 0.090692 | 0.064107 | |
| Panel C | |||||||||||
| XGBoost | trading+technical | 0.063984 | 0.137608 | 0.072821 | 0.054707 | 0.066714 | 0.110227 | 0.083616 | 0.148568 | 0.095686 | 0.071352 |
| trading+technical+attention | 0.063537 | 0.132550 | 0.069500 | 0.052159 | 0.062093 | 0.106466 | 0.097202 | 0.103075 | 0.092250 | 0.065448 | |
| Panel D | |||||||||||
| LightGBM | trading+technical | 0.061373 | 0.133123 | 0.067750 | 0.051321 | 0.058998 | 0.105054 | 0.074700 | 0.078677 | 0.090458 | 0.063606 |
| trading+technical+attention | 0.060507 | 0.132851 | 0.066566 | 0.049677 | 0.056690 | 0.104596 | 0.076849 | 0.069732 | 0.087900 | 0.062466 | |
| Panel E | |||||||||||
| LSTM | trading+technical | 0.063281 | 0.134687 | 0.078638 | 0.053211 | 0.057722 | 0.128111 | 0.072810 | 0.092984 | 0.088086 | 0.070214 |
| trading+technical+attention | 0.061473 | 0.132919 | 0.078054 | 0.050826 | 0.057029 | 0.107443 | 0.090398 | 0.092380 | 0.088246 | 0.066892 | |
In sum, we select trading variables, technical indicators, traditional attention proxies, and direct attention proxies as machine learning models’ inputs to study the prediction accuracy of GameFi returns. We find that investor attention proxies enhance the prediction accuracy of machine learning models, consistent with investor attention reflecting valuable information about GameFi returns.
3.2. Analysis
To open the black box of machine learning models and investigate which input variables contribute to model predictions, we use SHAP to explain the optimal model for each GameFi. Figure 2 illustrates the contributions of variables to the optimal model. The results indicate that both traditional and direct attention proxies play an important part in predicting GameFi returns. Generally, direct attention proxies (GTG and GTB) are more important than traditional attention proxies.
Figure 2.SHAP importance plotNote. This figure illustrates the importance of each feature according to the SHAP value.
Figure 3 illustrates that higher GTB corresponds to higher GameFi returns. However, the impact of GTG on return predictions is not consistent, which may be due to the gaming nature of GameFi. GTG might be related to the number of players on a given day, with the attention of these players differing from that of investors.
Figure 3.SHAP importance plotNote. This figure illustrates a SHAP summary plot for GameFi.
4. Conclusions
We use machine learning to predict GameFi returns, including as inputs trading variables, technical indicators, traditional attention proxies, and direct attention proxies. Results indicate that including attention proxies as inputs, in addition to trading variables and technical indicators, enhances the prediction accuracy of GameFi returns, consistent with attention proxies being essential to the prediction of GameFi returns and important for asset forecasting in general. Investor attention contains valuable information about GameFi returns. Additionally, we use SHAP to conduct further research and find that, in general, attention proxies play important roles in GameFi returns prediction.
Results affirm the importance of investor attention in determining GameFi returns. Results will be of great interest to scholars and investors interested in GameFi as an evolving innovative asset.
Supplementary Materials: Not applicable.
Author Contributions: This section is mandatory. The papers with more than one author should specify the individual contributions of particular authors. Authorship should be limited to those with a substantial contribution to the work. The contributions should be summarized using the following statements: “Conceptualization, D.S.; methodology, X.L., and D.S.; software, X.L., and D.S.; validation, X.L., J.W.G. and D.S.; formal analysis, J.W.G. and D.S.; investigation, X.L., and D.S.; resources, J.W.G., and D.S.; data curation, X.L.; writing—original draft preparation, X.L., and D.S.; writing—review and editing, J.W.G., and D.S.; visualization, X.L., and D.S.; supervision, D.S.; project administration, D.S.; funding acquisition, D.S.. All authors have read and agreed to the published version of the manuscript.
Funding: This work is supported by the National Natural Science Foundation of China (72371138).
Data Availability Statement: Data are available from the corresponding author upon reasonable request.
Acknowledgments: We would like to thank two anonymous referees, Adam Zaremba (the editor), and seminar and conference participants for their helpful comments.
Conflicts of Interest: The authors declare no conflict of interest.
AI Use Statement: The authors confirm that no AI tools were used in the writing, editing, data analysis, or figure generation of this manuscript.
Disclaimer: All statements, viewpoints, and data featured in the publications are exclusively those of the individual author(s) and contributor(s), not of MFI and/or its editor(s). MFI and/or the editor(s) absolve themselves of any liability for harm to individuals or property that might arise from any concepts, methods, instructions, or products mentioned in the content.