Exploração e aprimoramento da recuperação aumentada por geração (RAG) no suporte à educação alimentar e nutricional
Visualizar/abrir
Data
2026Orientador
Nível acadêmico
Graduação
Outro título
Exploration and enhancement of retrieval-augmented generation (RAG) in support of food and nutrition education
Assunto
Resumo
A baixa qualidade da informação nutricional disponível online e a propensão de modelos de linguagem a alucinações motivam a busca por sistemas que fundamentem suas respostas em fontes científicas confiáveis. Este trabalho investiga a otimização da arquitetura de Geração Aumentada por Recuperação (RAG) aplicada à educação alimentar, utilizando como base de conhecimento diretrizes nutricionais oficiais, como o Guia Alimentar para a População Brasileira e normas da Organização Mundial da Saúde. A ...
A baixa qualidade da informação nutricional disponível online e a propensão de modelos de linguagem a alucinações motivam a busca por sistemas que fundamentem suas respostas em fontes científicas confiáveis. Este trabalho investiga a otimização da arquitetura de Geração Aumentada por Recuperação (RAG) aplicada à educação alimentar, utilizando como base de conhecimento diretrizes nutricionais oficiais, como o Guia Alimentar para a População Brasileira e normas da Organização Mundial da Saúde. A metodologia consiste em um estudo ablativo e sistemático de componentes do pipeline RAG, incluindo estratégias de fragmentação, métodos de recuperação (recuperação densa tradicional e Geração de Documentos Hipotéticos (HyDE)), reranqueamento e modelos de linguagem, avaliados por meio de métricas automáticas de avaliação e métricas baseadas em Modelos de Linguagem de Grande Escala (LLM) do framework Retrieval Augmented Generation Assessment (RAGAS), abarcando fidelidade, relevância e correção das respostas. Os resultados demonstraram que a utilização da arquitetura RAG produziu ganhos substanciais em relação às configurações sem recuperação de contexto. A estratégia Hypothetical Document Embeddings (HyDE) apresentou o melhor desempenho global, alcançando Score Final de 0,6268 e taxa de falha de 21,7%, enquanto as configurações sem RAG obtiveram scores inferiores a 0,40 e taxa de falha de 100%. Os experimentos também evidenciaram que estratégias de recuperação exercem impacto consideravelmente maior na qualidade das respostas do que ajustes de parâmetros de geração, como temperatura e sobreposição entre fragmentos. ...
Abstract
The low quality of nutritional information available online and the tendency of language models to hallucinate motivate the search for systems that ground their responses in reliable scientific sources. This work investigates the optimization of the Retrieval-Augmented Generation (RAG) architecture applied to nutritional education, using official nutritional guidelines as a knowledge base, such as the Dietary Guidelines for the Brazilian Population andWorld Health Organization standards. The me ...
The low quality of nutritional information available online and the tendency of language models to hallucinate motivate the search for systems that ground their responses in reliable scientific sources. This work investigates the optimization of the Retrieval-Augmented Generation (RAG) architecture applied to nutritional education, using official nutritional guidelines as a knowledge base, such as the Dietary Guidelines for the Brazilian Population andWorld Health Organization standards. The methodology consists of an ablation-based and systematic study of RAGpipeline components, including chunking strategies, retrieval methods (naive dense retrieval and Hypothetical Document Embeddings (HyDE)), reranking, and language models, evaluated through deterministic metrics (BLEU, ROUGE-L, METEOR, BERTScore) and Large Language Model (LLM) based metrics from the Retrieval Augmented Generation Assessment (RAGAS) framework, encompassing faithfulness, relevancy, and answer correctness. The results demonstrated that the adoption of the RAG architecture produced substantial improvements compared to configurations without context retrieval. The Hypothetical Document Embeddings (HyDE) strategy achieved the best overall performance, reaching a Final Score of 0.6268 and a failure rate of 21.7%, whereas the configurations without RAG obtained scores below 0.40 and a failure rate of 100%. The experiments also showed that retrieval strategies have a considerably greater impact on response quality than generation-related parameters, such as temperature and chunk overlap. ...
Instituição
Universidade Federal do Rio Grande do Sul. Instituto de Informática. Curso de Ciência da Computação: Ênfase em Engenharia da Computação: Bacharelado.
Coleções
-
TCC Ciência da Computação (1246)
Este item está licenciado na Creative Commons License


