Trade When Opportunity Comes: Price Movement Forecasting via Locality-Aware Attention and Iterative Refinement Labeling

Abstract

Language-Visual Large Models (LVLMs) have made significant strides in enhancing visual understanding capabilities. However, these models often struggle with knowledge-based visual tasks due to constrains in their pre-training data scope and timeliness. Existing Retrieval-Augmented Generation (RAG) methods can effectively solve the problem but primarily rely on user queries, limiting their applicability in scenarios without explicit language input. To overcome these challenges, we introduce MsRAG, a knowledge-augmented captioning framework designed to effectively retrieve and utilize external real-world knowledge, particularly in the absence of user queries, and perform dense captioning for subjects. MsRAG comprises three key components: (1) Parallel Visual Search Module. It retrieves fine-grained object-level knowledge using both online visual search engines and offline domain-knowledge databases, enhancing the robustness and richness of retrieved information. (2) Prompt Templates Pool. The prompt pool dynamically assigns appropriate prompts based on retrieved information, optimizing LVLMs' ability to leverage relevant data under complex RAG conditions. (3) Visual-RAG Alignment Module, which employs a novel visual prompting method to bridge the modality gap between textual RAG content and corresponding visual objects, enabling precise alignment of visual elements with their text-format RAG content. To validate the effectiveness of MsRAG, we conducted a series of qualitative and quantitative experiments. The evaluation results demonstrate the superiority of MsRAG over other methods.

Cite

Text

Zeng et al. "Trade When Opportunity Comes: Price Movement Forecasting via Locality-Aware Attention and Iterative Refinement Labeling." International Joint Conference on Artificial Intelligence, 2024. doi:10.24963/ijcai.2024/678

Markdown

[Zeng et al. "Trade When Opportunity Comes: Price Movement Forecasting via Locality-Aware Attention and Iterative Refinement Labeling." International Joint Conference on Artificial Intelligence, 2024.](https://mlanthology.org/ijcai/2024/zeng2024ijcai-trade/) doi:10.24963/ijcai.2024/678

BibTeX

@inproceedings{zeng2024ijcai-trade,
  title     = {{Trade When Opportunity Comes: Price Movement Forecasting via Locality-Aware Attention and Iterative Refinement Labeling}},
  author    = {Zeng, Liang and Wang, Lei and Niu, Hui and Zhang, Ruchen and Wang, Ling and Li, Jian},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year      = {2024},
  pages     = {6134-6142},
  doi       = {10.24963/ijcai.2024/678},
  url       = {https://mlanthology.org/ijcai/2024/zeng2024ijcai-trade/}
}