Explainable and Context-Aware Financial Nudges via Event- Driven Microservices
DOI:
https://doi.org/10.63282/3050-922X.ICRCEDA25-143Keywords:
Context-Aware Nudges, Event-Driven Microservices Explainable AI, Financial Nudges, Kafka, SHAP, XAIAbstract
As financial decision-making becomes increasingly automated and personalized, users demand not only timely and relevant financial recommendations, but also transparency in how those suggestions are generated. This paper presents a novel microservices-based framework that delivers context-aware financial nudges enhanced by explainable AI (XAI), designed for real-time deployment in modern fintech applications. The proposed system leverages event-driven microservices to continuously ingest and process multi-modal data streams including transaction history, geo location, time-of-day patterns, and behavioral signals to deliver actionable insights such as spending warnings, savings opportunities, and goal reminders. Each microservice is responsible for a modular task such as context classification, recommendation generation, or explanation rendering. What distinguishes this work is the integration of explainability modules using interpretable AI techniques (e.g., SHAP, counterfactuals, rule-based trees) embedded within each service. This enables the system to answer, "Why am I getting this nudge?" in natural language, thereby fostering user trust and behavioral compliance. The framework is evaluated on synthetic and anonymized financial datasets to simulate diverse user behaviors. Results demonstrate the effectiveness of contextual triggers (e.g., time, location, prior habits) in increasing user engagement, while explainability boosts users' perceived relevance and trust in the system. The architecture adheres to principles of modularity, fault isolation, and data minimization, making it suitable for deployment in privacy-sensitive financial environments. This research bridges the gap between intelligent personalization and transparent automation in fintech, paving the way for ethical, user-centered financial advisory systems
References
[1] S. M. Lundberg and S.-I. Lee, "A Unified Approach to Interpreting Model Predictions," in Conference on Neural Information Processing Systems, Long Beach, California, 2017.
[2] S. Kim and J. Woo, "Explainable AI framework for the financial rating models: Explaining framework that focuses on the feature influences on the changing classes or rating in various customer models used by the financial institutions.," in International Conference on Computing and Pattern Recognition, Shanghai, China, 2021.
[3] J. Kreps, N. Narkhede and J. Rao, "Kafka: a Distributed Messaging System for Log Processing," 2011.
[4] V. K. Carl, P. Weber and O. Hinz, "Applications of Explainable Artificial Intelligence in Financea systematic review of Finance, Information Systems, and Computer Science literature," Management Review Quarterly, vol. Volume 74, no. June 2024, p. 867– 907, 28 February 2023.
[5] P.-D. Arsenault, S. Wang and J.-M. PATENAUDE, "A Survey of Explainable Artificial Intelligence (XAI) in Financial Time Series Forecasting," ACM, p. 35, 2018.
[6] C. Maree, J. E. Modal and C. W. Omlin, "Towards Responsible AI for Financial Transactions.," in IEEE Symposium Series on Computational Intelligence, Canberra, Australia, 2020.
[7] D. B. David, Y. S. Resheff and T. Tron, "Explainable AI and Adoption of Financial Algorithmic Advisors: an Experimental Study," in Artificial Intelligence, Ethics, and Society, 2021.
[8] K. Venkatachalapathi, "Event-Driven Architecture: Harnessing Kafka and Spring Boot for Scalable, Real-Time Applications," International Journal of Scientific Research in Computer Science, Engineering and Information Technology, vol. 10, no. 6, pp. 474-86, 2024.
[9] V. L. Bandara, "Medium," [Online]. Available: https://vitiya99.medium.com/event-driven-microservices-with-spring-boot-and- kafka-73506c96fd43.
[10] S. Kumar, V. Mendhikar and V. Ravi, "Explainable Reinforcement Learning on Financial Stock Trading using SHAP," 2022.