MOF-Sleuth: Explainable CIF Auditing with Reward Alignment

MOF-Sleuth uses reinforcement learning to audit MOF CIF files, delivering evidence-based, explainable error detection and chemical diagnosis.

viernes, 24 de julio de 2026 • 4 min read • Q2BSTUDIO Team

Alineación de recompensas para detección de errores

In the field of porous materials research, metal-organic frameworks (MOFs) have revolutionized areas ranging from carbon capture to catalysis. However, the quality of data contained in Crystallographic Information Files (CIFs) is essential for simulations, computational screening, and machine learning to yield reliable results. Until recently, detecting subtle errors in these files — such as incorrect atomic bonds, faulty occupancies, or misassigned charges — required tedious and error-prone manual inspection. This is where MOF-Sleuth comes in, an AI-based auditing agent that not only identifies anomalies but also provides explanations grounded in chemical evidence. This advance represents a paradigm shift: it is no longer just about predicting properties, but about accurately diagnosing the integrity of input data.

MOF-Sleuth combines a deterministic 'Forensic Lab' — which calculates composition, geometry, connectivity, occupancy, coordination, and charge — with a reasoning engine that uses reinforcement learning with guided rewards. Unlike traditional validators that merely label files as 'valid' or 'invalid,' this agent emits contextual explanations, error types, and a binary decision. The reinforcement training rewards not only the final answer but also citing relevant chemical evidence and data-backed diagnosis. This is made possible by an innovative metric, Chemically Grounded Diagnosis (Chem-GD), which measures whether a correct diagnosis is explained by factual evidence extracted from the CIF itself. Across four benchmarks, MOF-Sleuth has outperformed purely LLM-based approaches and MOF-specific machine learning methods, demonstrating significant improvements in detection, attribution, and explanation quality.

But beyond the academic lab, the logic behind MOF-Sleuth is a perfect example of how artificial intelligence can be applied to data quality problems in business environments. At a company like Q2BSTUDIO, specialized in custom software development, we understand that behind any strategic decision — whether in materials, logistics, or finance — there must be clean and verifiable data. That is why automated auditing with AI agents is not a luxury, but a necessity. The same architecture of MOF-Sleuth can be adapted to validate configuration files in cloud infrastructure, detect anomalies in cybersecurity logs, or verify the consistency of Business Intelligence reports. Explainable AI agents are the bridge between massive data analysis and trust in results.

One of the challenges solved by MOF-Sleuth is 'fine-grained attribution': it is not enough to know that a CIF is incorrect; one must pinpoint exactly which atom, bond, or parameter is wrong and why. This same principle applies in cybersecurity, where an AI agent must be able to indicate which line of code or network packet triggered an alert. At Q2BSTUDIO, we develop AI-powered cybersecurity solutions that not only detect intrusions but also present a reasoned report with the gathered evidence. The ability to explain the 'why' behind a decision is what distinguishes a reliable system from a black box.

Another key aspect is cloud integration. MOF-Sleuth, being an agent that processes CIF files massively, can be deployed on AWS or Azure environments to scale horizontally. At Q2BSTUDIO, we design cloud architectures that allow these auditing agents to run in real time, managing volumes of data that were previously impossible to review manually. The combination of cloud services with artificial intelligence multiplies the efficiency of quality control processes, whether in scientific research or industry. Moreover, orchestrating AI agents with BI tools such as Power BI enables visualization of detected anomalies and generation of dashboards that facilitate decision-making.

Process automation is the natural next step. If MOF-Sleuth can audit thousands of CIFs in minutes, why not apply the same concept to verifying contracts, invoices, or software configurations? At Q2BSTUDIO, we work on creating custom AI agents that integrate with existing business systems, automating repetitive tasks and freeing teams to focus on higher-value analysis. AI-driven automation is no longer a future promise: it is a reality that companies like ours implement for clients across all sectors.

In short, MOF-Sleuth is not just a tool for materials scientists: it is a model of how automated auditing should work in any domain where data accuracy is critical. The combination of evidence-based reasoning, reinforcement learning, and explainability metrics paves the way for more transparent and reliable AI systems. At Q2BSTUDIO, we are committed to developing custom applications that incorporate these principles, whether to validate IoT device data, analyze network vulnerabilities, or consolidate BI reports. Because in the end, trust in artificial intelligence depends not only on its accuracy but on its ability to demonstrate why it made each decision.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.