AI-DRIVEN GREEN MARKETING: AN EXPLAINABLE MACHINE LEARNING FRAMEWORK FOR PREDICTING SUSTAINABLE CONSUMER BEHAVIOUR AND GREEN PURCHASE INTENTION
Keywords:
green marketing; explainable artificial intelligence; SHAP; green purchase intention; theory of planned behaviour; sustainable consumer behaviour; machine learning; green trustAbstract
Green marketing increasingly depends on data-driven targeting, yet most predictive models used by marketers act as black boxes that offer little guidance on why a consumer is likely to buy an eco-friendly product. This paper proposes an explainable machine learning (XAI) framework that integrates the Theory of Planned Behaviour (TPB) with green-marketing and AI-exposure constructs, namely green trust, perceived price burden, greenwashing scepticism, eco-label awareness, perceived AI personalisation and social-media influence, to predict green purchase intention (GPI). A five-layer pipeline (data, pre-processing, prediction, explanation and decision) is developed and demonstrated on a survey-calibrated dataset of 1,200 consumer profiles constructed from a structural model informed by prior empirical literature. All measurement scales show adequate reliability (Cronbach's α = 0.77–0.89; composite reliability = 0.87–0.92; AVE = 0.69–0.77). Six benchmark classifiers (logistic regression, decision tree, support vector machine, random forest, gradient boosting and multilayer perceptron) are compared with a proposed stacked ensemble. The ensemble achieves a test accuracy of 79.7%, an AUC of 0.862 and a five-fold cross-validated AUC of 0.898 ± 0.022, matching the strongest single model while being more stable across folds. Shapley-value explanations identify green trust, perceived behavioural control, perceived price burden and attitude as the dominant drivers, show that the effect of green trust roughly doubles above the scale midpoint, and indicate that AI-personalised communication has its strongest positive association with intention among consumers who already trust green claims. The study contributes a transparent, theory-anchored analytics workflow and translates model explanations into actionable levers for green segmentation, messaging and pricing.
References
Ajzen, I. (1991). The theory of planned behavior. Organizational Behavior and Human Decision Processes, 50(2), 179–211.
Arrieta, A. B., Díaz-Rodríguez, N., Del Ser, J., Bennetot, A., Tabik, S., Barbado, A., ... & Herrera, F. (2020). Explainable artificial intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI. Information Fusion, 58, 82–115.
Biswas, A., & Roy, M. (2015). Green products: An exploratory study on the consumer behaviour in emerging economies of the East. Journal of Cleaner Production, 87, 463–468.
Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32.
Chawla, N. V., Bowyer, K. W., Hall, L. O., & Kegelmeyer, W. P. (2002). SMOTE: Synthetic minority over-sampling technique. Journal of Artificial Intelligence Research, 16, 321–357.
Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785–794).
Chen, Y. S., & Chang, C. H. (2012). Enhance green purchase intentions: The roles of green perceived value, green perceived risk, and green trust. Management Decision, 50(3), 502–520.
Davenport, T., Guha, A., Grewal, D., & Bressgott, T. (2020). How artificial intelligence will change the future of marketing. Journal of the Academy of Marketing Science, 48(1), 24–42.
Delmas, M. A., & Burbano, V. C. (2011). The drivers of greenwashing. California Management Review, 54(1), 64–87.
Fornell, C., & Larcker, D. F. (1981). Evaluating structural equation models with unobservable variables and measurement error. Journal of Marketing Research, 18(1), 39–50.
Hair, J. F., Risher, J. J., Sarstedt, M., & Ringle, C. M. (2019). When to use and how to report the results of PLS-SEM. European Business Review, 31(1), 2–24.
Huang, M. H., & Rust, R. T. (2021). A strategic framework for artificial intelligence in marketing. Journal of the Academy of Marketing Science, 49(1), 30–50.
Joshi, Y., & Rahman, Z. (2015). Factors affecting green purchase behaviour and future research directions. International Strategic Management Review, 3(1–2), 128–143.
Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., Ye, Q., & Liu, T. Y. (2017). LightGBM: A highly efficient gradient boosting decision tree. In Advances in Neural Information Processing Systems 30 (pp. 3146–3154).
Kotler, P. (2011). Reinventing marketing to manage the environmental imperative. Journal of Marketing, 75(4), 132–135.
Kumar, P., & Ghodeswar, B. M. (2015). Factors affecting consumers' green product purchase decisions. Marketing Intelligence & Planning, 33(3), 330–347.
Lundberg, S. M., & Lee, S. I. (2017). A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems 30 (pp. 4765–4774).
Paul, J., Modi, A., & Patel, J. (2016). Predicting green product consumption using theory of planned behavior and reasoned action. Journal of Retailing and Consumer Services, 29, 123–134.
Peattie, K., & Crane, A. (2005). Green marketing: Legend, myth, farce or prophesy? Qualitative Market Research, 8(4), 357–370.
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., ... & Duchesnay, É. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825–2830.
Podsakoff, P. M., MacKenzie, S. B., Lee, J. Y., & Podsakoff, N. P. (2003). Common method biases in behavioral research: A critical review of the literature and recommended remedies. Journal of Applied Psychology, 88(5), 879–903.
Ribeiro, M. T., Singh, S., & Guestrin, C. (2016). "Why should I trust you?" Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 1135–1144).
Shmueli, G., & Koppius, O. R. (2011). Predictive analytics in information systems research. MIS Quarterly, 35(3), 553–572.
Štrumbelj, E., & Kononenko, I. (2014). Explaining prediction models and individual predictions with feature contributions. Knowledge and Information Systems, 41(3), 647–665.
Vermeir, I., & Verbeke, W. (2006). Sustainable food consumption: Exploring the consumer "attitude–behavioral intention" gap. Journal of Agricultural and Environmental Ethics, 19(2), 169–194.
White, K., Habib, R., & Hardisty, D. J. (2019). How to SHIFT consumer behaviors to be more sustainable: A literature review and guiding framework. Journal of Marketing, 83(3), 22–49.
Yadav, R., & Pathak, G. S. (2016). Young consumers' intention towards buying green products in a developing nation: Extending the theory of planned behavior. Journal of Cleaner Production,