Sistema Inteligente de Análise de Tráfego Veicular e Fiscalização de Fronteira com RAG Híbrido e Análise Preditiva
Resumo
Este trabalho apresenta um sistema baseado em Geração Aumentada por Recuperação (RAG) aplicado ao contexto da segurança pública na fronteira Brasil-Bolívia. A arquitetura integra busca léxica (BM25) e semântica (embeddings) em um modelo híbrido, combinando precisão em consultas exatas com a capacidade de identificar padrões comportamentais complexos. O sistema utiliza reranking e geração de relatórios operacionais com modelos de linguagem, oferecendo suporte analítico em tempo real. Os experimentos mostram precisão de até 100% em queries específicas e 95% em consultas complexas. A solução demonstra potencial para acelerar investigações, correlacionar ocorrências e otimizar a tomada de decisão em operações de fronteira.
Palavras-chave:
Retrieval-Augmented Generation (RAG), Segurança Pública de Fronteira, Busca Híbrida (BM25 e Embeddings)
Referências
DA LUZ, Luis Eduardo Beiger. Resultados operacionais obtidos por unidades estaduais especializadas em policiamento de fronteira no período de 2017 a 2021 e seus reflexos na segurança pública brasileira a nível nacional. revista (re) definições das fronteiras, v. 2, n. 9, p. 72-97, 2024.
FAN, Wenqi et al. A survey on rag meeting llms: Towards retrieval-augmented large language models. In: Proceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining. 2024. p. 6491-6501.
GAO, Yunfan et al. Retrieval-augmented generation for large language models: A survey. arXiv preprint arXiv:2312.10997, v. 2, n. 1, 2023.
GUPTA, Shailja; RANJAN, Rajesh; SINGH, Surya Narayan. A comprehensive survey of retrieval-augmented generation (rag): Evolution, current landscape and future directions. arXiv preprint arXiv:2410.12837, 2024.
JACOB, Mathew et al. Drowning in documents: consequences of scaling reranker inference. arXiv preprint arXiv:2411.11767, 2024.
KULKARNI, Hrishikesh et al. Lexically-accelerated dense retrieval. In: Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval. 2023. p. 152-162.
KUZI, Saar et al. Leveraging semantic and lexical matching to improve the recall of document retrieval systems: A hybrid approach. arXiv preprint arXiv:2010.01195, 2020.
LI, Xiangcan. Application of RAG model based on retrieval enhanced generation technique in complex query processing. Adv. Comput. Signals Syst, v. 8, 2024.
RAM, Ori et al. In-context retrieval-augmented language models. Transactions of the Association for Computational Linguistics, v. 11, p. 1316-1331, 2023.
ROBERTSON, Stephen et al. The probabilistic relevance framework: BM25 and beyond. Foundations and Trends® in Information Retrieval, v. 3, n. 4, p. 333-389, 2009.
SARAT, KIRAN. Hybrid Retrieval-Augmented Generation (RAG) Systems with Embedding Vector Databases. INTERNATIONAL JOURNAL, v. 11, n. 2, p. 2694-2702, 2025.
SUPERLINKED. Optimizing RAG with hybrid search & reranking. VectorHub, 2024. Disponível em: [link]. Acesso em: 28 out. 2025.
ZHUANG, Juntang et al. New embedding models and API updates. OpenAI [link], 2024.
FAN, Wenqi et al. A survey on rag meeting llms: Towards retrieval-augmented large language models. In: Proceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining. 2024. p. 6491-6501.
GAO, Yunfan et al. Retrieval-augmented generation for large language models: A survey. arXiv preprint arXiv:2312.10997, v. 2, n. 1, 2023.
GUPTA, Shailja; RANJAN, Rajesh; SINGH, Surya Narayan. A comprehensive survey of retrieval-augmented generation (rag): Evolution, current landscape and future directions. arXiv preprint arXiv:2410.12837, 2024.
JACOB, Mathew et al. Drowning in documents: consequences of scaling reranker inference. arXiv preprint arXiv:2411.11767, 2024.
KULKARNI, Hrishikesh et al. Lexically-accelerated dense retrieval. In: Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval. 2023. p. 152-162.
KUZI, Saar et al. Leveraging semantic and lexical matching to improve the recall of document retrieval systems: A hybrid approach. arXiv preprint arXiv:2010.01195, 2020.
LI, Xiangcan. Application of RAG model based on retrieval enhanced generation technique in complex query processing. Adv. Comput. Signals Syst, v. 8, 2024.
RAM, Ori et al. In-context retrieval-augmented language models. Transactions of the Association for Computational Linguistics, v. 11, p. 1316-1331, 2023.
ROBERTSON, Stephen et al. The probabilistic relevance framework: BM25 and beyond. Foundations and Trends® in Information Retrieval, v. 3, n. 4, p. 333-389, 2009.
SARAT, KIRAN. Hybrid Retrieval-Augmented Generation (RAG) Systems with Embedding Vector Databases. INTERNATIONAL JOURNAL, v. 11, n. 2, p. 2694-2702, 2025.
SUPERLINKED. Optimizing RAG with hybrid search & reranking. VectorHub, 2024. Disponível em: [link]. Acesso em: 28 out. 2025.
ZHUANG, Juntang et al. New embedding models and API updates. OpenAI [link], 2024.
Publicado
12/11/2025
Como Citar
TRINDADE, Ademar Alves; NEVES, Jefferson Paizano; ANDRADE, Tiago Luís.
Sistema Inteligente de Análise de Tráfego Veicular e Fiscalização de Fronteira com RAG Híbrido e Análise Preditiva. In: ESCOLA REGIONAL DE INFORMÁTICA DE MATO GROSSO (ERI-MT), 14. , 2025, Pontes e Lacerda/MT.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2025
.
p. 99-108.
ISSN 2447-5386.
DOI: https://doi.org/10.5753/eri-mt.2025.17250.
