MetaboT: A Conversational AI-Agent for Accessible Mass Spectrometry Metabolomics Data Mining
Year: 2024
Type: conference-abstract
Abstract: Mass spectrometry metabolomics generates complex data requiring advanced methods for interpretation. Knowledge graphs (KGs) address these challenges by structuring mass spectrometry data, metabolite information, and their relationships into a network. However, effective use of KGs demands detailed semantic modeling. To overcome this, we designed MetaboT, an AI system utilizing large language models (LLMs) to translate user questions into SPARQL, the query language of the KG. We demonstrated its effectiveness using the public KG endpoint for the largest open metabolomics dataset for plants. MetaboT employs specialized AI agents for handling user queries and interacting with the KG. The multi-agent system is constructed using the LangChain and LangGraph libraries, which facilitates the integration of LLMs with external tools. Its structured query generation process begins with specialized agents extracting necessary details such as entities and chemical taxonomies from user inputs. Next, a dedicated agent, informed of the KG ontology, crafts a SPARQL query using these identifiers. The system then executes the query against the KG and returns structured, context-aware results.To assess the performance of MetaboT, we have curated 50 metabolomics-related questions and their expected answers. In addition to submitting these questions to MetaboT, we evaluated a baseline by submitting them to a standard LLM (GPT-4o) with a prompt that incorporated the knowledge graph ontology but did not provide specific entity IDs. This baseline achieved only 8.16% accuracy, compared to MetaboT’s 83.67%, underscoring the necessity of our multi-agent system for accurately retrieving entities and generating correct SPARQL queries.MetaboT demonstrates promising performance as a conversational question-answering assistant, enabling researchers to retrieve structured metabolomics data through natural language queries. By automating the generation and execution of SPARQL queries, it removes technical barriers that have traditionally hindered access to knowledge graphs. Importantly, MetaboT leverages the capabilities of LLMs while maintaining experimentally grounded query generation, ensuring that outputs remain aligned with domain-specific standards and data structures. MetaboT is available as open source and is accessible at https://metabot.holobiomicslab.eu/.
Source: HAL
Institutions: Institut de Chimie de Nice, Massachusetts Institute of Technology, University of Geneva, SIB Swiss Institute of Bioinformatics, University of Antwerp, Université Côte d'Azur, Laboratoire d'Informatique, Signaux et Systèmes de Sophia Antipolis, WIMMICS: Web-Instrumented huMan-Machine Interactions, Communities and Semantics, Centre National de la Recherche Scientifique
Language: English
Topic: Semantic Web and Ontologies
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7206674833
