← Latest papers
💻 computer science

A Deterministic Framework for Pharmaceutical Authenticity Verification Using Constrained Multimodal AI

The paper introduces MedTruth, a deterministic dual-mode framework that constrains a multimodal AI model with fixed parameters and strict output schemas to reduce hallucinations from 15% to under 2%, enabling reliable pharmaceutical authenticity verification and safe patient interaction.

Original authors: Viral Dhoka, Pankaj Kunekar, Tanaya Thorat, Shreenath Utekar, Samruddhi Wankhede

Published 2026-10-13
📖 4 min read☕ Coffee break read

Original authors: Viral Dhoka, Pankaj Kunekar, Tanaya Thorat, Shreenath Utekar, Samruddhi Wankhede

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Every year, millions of people around the world buy medicine that looks real but is not. In many places, a bottle of pills might contain nothing but chalk, or worse, a dangerous industrial chemical. While governments and large companies use complex tracking systems to stop these fakes from entering the supply chain, the person standing in a small shop with a suspicious package has no way to check if it is genuine. Recently, people have started asking general artificial intelligence chatbots to help them decide. They upload a photo of the medicine and ask if it is safe. However, these chatbots are designed to be helpful and conversational, not forensic. They often guess confidently, inventing details that are not there, or giving vague answers that do not help a patient in a moment of crisis.

Researchers at the Vishwakarma Institute of Technology in India have built a new system called MedTruth to solve this specific problem. Instead of trying to make a smarter chatbot, they built a system that forces a standard artificial intelligence to act like a strict inspector. The team took a powerful visual language model—one that can see images and read text—and wrapped it in a set of rigid rules. These rules prevent the computer from chatting or guessing. Instead, the system is forced to look at the medicine package in four specific steps: reading the text, checking the design details, comparing the drug name to its ingredients, and looking for official government marks. Only after completing this checklist does the system give a final score.

The results show that this rigid approach works far better than letting the computer talk freely. When the researchers tested the system on fifty different medicine packages, including thirty real ones and fifteen cleverly made fakes, the new system correctly identified the vast majority of them. It caught nearly all the genuine products and most of the fakes. More importantly, the system stopped making up facts. In a test with a standard, unregulated chatbot, the computer invented fake security features or misread patterns about fifteen percent of the time. With the new MedTruth system, that error rate dropped to less than two percent. The system also remained fast, taking only about two seconds to scan a photo and give an answer, which is quick enough for a person to use while standing in a store.

The secret to this success lies in how the system handles the artificial intelligence. The researchers split the tool into two separate modes that never mix. The first mode is a stateless scanner, meaning it has no memory of past conversations. It looks at the image, follows its strict checklist, and outputs a simple score. This prevents the computer from being influenced by what a user said earlier. If the package passes this strict check, the user can then switch to a second mode, a conversational assistant that can answer questions about the medicine. This assistant is only allowed to talk about the specific drug that just passed the test, and it is programmed to never give medical advice or tell a patient to stop taking a prescription.

By forcing the computer to slow down and follow a step-by-step process, the researchers turned a tool designed for open-ended conversation into a reliable verification instrument. The study suggests that for safety-critical tasks like checking medicine, the best way to use artificial intelligence is not to make it more creative, but to make it more constrained. The system does not replace laboratory testing or official government records, but it offers a practical way for ordinary people to spot obvious fakes when they have no other option. The researchers note that while the system is highly effective in their tests, it still relies on the quality of the photo and the presence of visible text, and it cannot verify if a license number is truly real if a counterfeiter has copied the format perfectly. Nevertheless, the work demonstrates that with careful design, artificial intelligence can be made to act with the consistency and precision required to protect public health.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →