TimeLens: On-Device Artifact Recognition with Retrieval-Augmented Question Answering for the Grand Egyptian Museum
TimeLens is an on-device, bilingual AI mobile guide for the Grand Egyptian Museum that combines a high-precision, lightweight artifact detector with an optimized Retrieval-Augmented Generation system to provide real-time, fact-grounded visual recognition and interactive Q&A for visitors.
Original paper licensed under CC BY 4.0 (http://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
Imagine you are visiting the Grand Egyptian Museum (GEM). You walk up to a display case filled with 51 different ancient statues. Many of them look almost identical—like twins or triplets from the same royal family, differing only by a tiny detail on a headdress or a slight change in pose.
You pull out your phone to learn more. Most museum apps today are like a tourist who needs to call home to get answers: they send your photo to a server far away, wait for a reply, and often get the answer wrong or make up facts because they don't know the specific history.
TimeLens is a new mobile app designed to fix this. It acts like a super-smart, bilingual (English and Arabic) tour guide that lives entirely inside your phone. Here is how it works, broken down into two main "superpowers":
1. The "Eagle Eye" (Seeing the Artifacts)
The first job of the app is to look at your camera screen and instantly say, "That is the Statue of King Akhenaten," not "That is a generic statue."
- The Problem: The researchers found that the statues are so similar that computers get confused easily. It's like trying to tell apart 50 identical twins just by looking at a blurry photo.
- The Mistake: At first, the team used a "robot assistant" (an AI called YOLO-World) to label the photos for them. But the robot kept mixing up the twins or pointing at the wrong things, like a bench or a wall sign.
- The Fix: The team realized the robot wasn't the problem; the instructions were. They decided to stop trusting the robot's quick guesses and instead spent time manually drawing perfect boxes around every single statue in thousands of photos.
- The Result: Once they cleaned up the "instructions" (the labels), the app became incredibly accurate. It can now distinguish between the nearly identical statues with 99.5% accuracy.
- The Magic: This "Eagle Eye" is so small and efficient (only about 6 megabytes, roughly the size of a few high-res photos) that it runs entirely on your phone. It doesn't need to send data to the internet, so it works instantly, even if you have no signal.
2. The "Honest Librarian" (Answering Questions)
Once the app knows what you are looking at, you can ask it questions like, "Who made this?" or "What does this symbol mean?"
- The Problem: Standard AI chatbots are like students who are great at talking but terrible at facts. If they don't know the answer, they often "hallucinate"—they make up a plausible-sounding story that is completely false. In a museum, making up history is a big no-no.
- The Solution: The team built a "Retrieval-Augmented Generation" (RAG) system. Think of this as a strict librarian.
- The librarian has a specific, curated bookshelf (a database) containing exactly 108 records about the museum's artifacts, written in both English and Arabic.
- When you ask a question, the librarian doesn't rely on their memory. Instead, they immediately run to the bookshelf, find the exact page about that specific statue, and read the answer to you.
- If the answer isn't in the book, the librarian simply says, "I don't know," rather than making something up.
- The Speed: At first, this "librarian" was slow, taking over 30 seconds to find the book and read the answer. The team optimized the process (like organizing the books better and giving the librarian a faster pair of glasses), bringing the time down to about 10 seconds.
Putting It All Together
The app is built using Flutter, a tool that lets it run smoothly on both iPhones and Androids.
- How you use it: You point your camera at a statue. The "Eagle Eye" identifies it instantly. You then ask a question in English or Arabic. The "Honest Librarian" finds the facts in its local database and speaks the answer back to you (using text-to-speech).
- Why it matters: Unlike other museum apps that need the internet, rely on QR codes you have to scan manually, or might lie about history, TimeLens is fast, works offline, speaks your language, and sticks strictly to the facts.
In short, TimeLens turns your phone into a knowledgeable, honest, and instant tour guide that never gets tired and never makes things up, all while fitting in your pocket.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.