Home / Companies / Cleanlab / Blog / September 2024

September 2024 Summaries

5 posts from Cleanlab

Filter
Month: Year:
Post Summaries Back to Blog
The study addresses the issue of hallucinations in Retrieval-Augmented Generation (RAG) systems, where Large Language Models (LLMs) may generate incorrect responses not supported by retrieved context. Evaluating popular hallucination detectors across four public RAG datasets, the research highlights various LLM-based techniques, including RAGAS, G-Eval, DeepEval's hallucination metric, and Trustworthy Language Model (TLM), for their ability to identify and flag erroneous outputs. TLM consistently outperforms other methods, demonstrating superior precision and recall in detecting hallucinations, which is crucial for high-stakes applications in fields like finance and medicine. Despite the promise of these detection methods, challenges remain, particularly with datasets requiring complex reasoning. The findings emphasize the need for robust detection frameworks to ensure trustworthy RAG outputs, with TLM offering a viable solution to enhance the reliability of enterprise AI systems.
Sep 30, 2024 2,556 words in the original blog post.
The cleanlab open-source package has released version 2.7.0, featuring a new capability within its Datalab module to automatically detect spurious correlations in datasets, which are irrelevant patterns that can mislead machine learning models and degrade their performance. Spurious correlations, such as associating image darkness with a specific class, can cause models to latch onto non-generalizable features, leading to poor predictions on real-world data. The Datalab module can identify over eight types of issues, such as odd image sizes and grayscale images, thereby enhancing model accuracy and robustness. Two scenarios illustrate the impact of spurious correlations: one where a dataset included darkened images of chicken wings, misleading the model, and another with genuine features that allowed the model to achieve higher accuracy. Datalab's detection of these correlations aids in ensuring that models learn meaningful patterns, contributing to more reliable and trustworthy AI systems.
Sep 27, 2024 1,843 words in the original blog post.
The article explores an advanced system called Agentic RAG, which enhances the reliability of Retrieval-Augmented Generation (RAG) by integrating a Trustworthy Language Model (TLM) to assess and improve the trustworthiness of generated responses from large language models (LLMs). This system employs an agent to orchestrate various retrieval strategies, dynamically escalating complexity as needed to ensure accurate responses without excessive latency or costs. TLM provides a quantitative trustworthiness score for responses, enabling the system to identify unreliable outputs and adapt its retrieval approach to improve context, thereby reducing the occurrence of AI hallucinations. Examples demonstrate the system's ability to handle both simple and complex queries by optimizing retrieval strategies, ensuring the delivery of high-quality, trustworthy answers across applications while effectively managing computational resources.
Sep 12, 2024 1,875 words in the original blog post.
Cleanlab's TLM Lite is a new version of the Trustworthy Language Model designed to provide high-quality large language model (LLM) responses with efficient trustworthiness evaluation, addressing the challenge of balancing quality and cost in LLM deployment. TLM Lite uses a hybrid approach by employing powerful LLMs for response generation and smaller, more efficient models for trust evaluation, which optimizes both performance and cost-effectiveness. Users can customize the response and scoring models, allowing for flexible deployment across various applications. Benchmarking results show that TLM Lite outperforms traditional self-evaluation methods in trustworthiness scoring, offering a viable solution for deploying reliable generative AI in cost-sensitive or low-quality scenarios.
Sep 09, 2024 1,519 words in the original blog post.
The Trustworthy Language Model (TLM) is an AI system that integrates a trustworthiness score into responses from large language models (LLMs) to improve reliability, now compatible with models from OpenAI and Anthropic such as GPT-4o and Claude 3 Haiku. The article presents comprehensive benchmarks evaluating TLM's hallucination detection performance against other strategies like Self-Eval and Probability across various datasets, including TriviaQA and ARC. Results demonstrate TLM's superior ability to detect erroneous LLM responses with higher precision and recall, making it an effective tool for ensuring accuracy in AI applications, especially when abstaining from low-confidence responses in human-in-the-loop workflows. The TLM framework provides universal uncertainty quantification, outperforming other methods that assess limited model uncertainty, thus offering a viable solution for mitigating AI hallucinations and enhancing trustworthiness across different LLM models.
Sep 04, 2024 1,781 words in the original blog post.