Orlando Marquez Ayala
2024
Reducing hallucination in structured outputs via Retrieval-Augmented Generation
Patrice Béchard | Orlando Marquez Ayala
Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 6: Industry Track)
Patrice Béchard | Orlando Marquez Ayala
Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 6: Industry Track)
A current limitation of Generative AI (GenAI) is its propensity to hallucinate. While Large Language Models (LLM) have taken the world by storm, without eliminating or at least reducing hallucination, real-world GenAI systems will likely continue to face challenges in user adoption. In the process of deploying an enterprise application that produces workflows from natural language requirements, we devised a system leveraging Retrieval-Augmented Generation (RAG) to improve the quality of the structured output that represents such workflows. Thanks to our implementation of RAG, our proposed system significantly reduces hallucination and allows the generalization of our LLM to out-of-domain settings. In addition, we show that using a small, well-trained retriever can reduce the size of the accompanying LLM at no loss in performance, thereby making deployments of LLM-based systems less resource-intensive.
2022
Azimuth: Systematic Error Analysis for Text Classification
Gabrielle Gauthier-melancon | Orlando Marquez Ayala | Lindsay Brin | Chris Tyler | Frederic Branchaud-charron | Joseph Marinier | Karine Grande | Di Le
Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing: System Demonstrations
Gabrielle Gauthier-melancon | Orlando Marquez Ayala | Lindsay Brin | Chris Tyler | Frederic Branchaud-charron | Joseph Marinier | Karine Grande | Di Le
Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing: System Demonstrations
We present Azimuth, an open-source and easy-to-use tool to perform error analysis for text classification. Compared to other stages of the ML development cycle, such as model training and hyper-parameter tuning, the process and tooling for the error analysis stage are less mature. However, this stage is critical for the development of reliable and trustworthy AI systems. To make error analysis more systematic, we propose an approach comprising dataset analysis and model quality assessment, which Azimuth facilitates. We aim to help AI practitioners discover and address areas where the model does not generalize by leveraging and integrating a range of ML techniques, such as saliency maps, similarity, uncertainty, and behavioral analyses, all in one tool. Our code and documentation are available at github.com/servicenow/azimuth.