https://journals.bilpubgroup.com/index.php/jcsr/issue/feed Journal of Computer Science Research 2025-04-30T00:00:00+08:00 Managing Editor:Tina jcsr@bilpublishing.com Open Journal Systems <p>ISSN: 2630-5151(Online)</p> <p>Email:jcsr@bilpublishing.com</p> <p>Follow the journal: <a style="display: inline-block;" href="https://twitter.com/jcsr_Editorial" target="_blank" rel="noopener"><img style="position: relative; top: 5px; left: 5px;" src="https://journals.bilpubgroup.com/public/site/Twitter _logo.jpg" alt="" /></a></p> <p><a href="https://journals.bilpubgroup.com/index.php/jcsr/about/submissions#onlineSubmissions" target="_black"><button class="cmp_button">Online Submissions</button></a></p> https://journals.bilpubgroup.com/index.php/jcsr/article/view/8933 Sparse Attention Combined with RAG Technology for Financial Data Analysis 2025-03-03T14:34:53+08:00 Zhaoyan Zhang zhaoyanzhang9394@gmail.com Kaixian Xu kx374@nyu.edu Yu Qiao kx374@nyu.edu Alan Wilson alan.wilson@intact.net <p>In response to the challenges of multimodal data integration, real-time information retrieval, model hallucination, and lack of interpretability in financial stock analysis, this paper proposes an innovative financial analysis framework—FSframe. It aims to address multiple challenges in stock analysis within the financial sector. The framework integrates various technological modules to provide comprehensive and efficient solutions for stock trend prediction and financial question answering tasks. First, FSframe optimizes large language models (LLMs), enhancing their adaptability to financial tasks, and incorporates prompt engineering to mitigate potential hallucination issues during the generation process, thereby improving the accuracy and reliability of the analysis. Secondly, the framework introduces Retrieval-Augmented Generation (RAG) technology, creating a dynamically updated financial knowledge base that enables the model to retrieve and integrate the latest market data, providing real-time external knowledge support for tasks. Furthermore, FSframe adopts a sparse attention mechanism, optimizing the processing efficiency of time-series data by filtering irrelevant information and focusing on key points, while also achieving efficient integration of time-series and textual data. Finally, through its modular design, FSframe organically combines the aforementioned advanced technologies, forming an innovative solution that blends multimodal data processing with real-time analysis, offering strong technical support for intelligent analysis in the financial sector. Validation on large-scale financial datasets (including historical stock prices, financial news, and market announcements) shows that FSframe significantly improves prediction accuracy and real-time responsiveness in stock trend forecasting and financial question answering tasks. Experimental results indicate that FSframe offers significant advantages in multimodal data integration, real-time performance, and interpretability, demonstrating excellent task adaptability and addressing the shortcomings of traditional methods. The FSframe framework not only provides an innovative solution for stock analysis in the financial sector but also opens new pathways for the development of intelligent financial technologies.</p> 2025-03-26T00:00:00+08:00 Copyright © 2025 Author(s)