← Latest papers
💻 computer science

Do Transformers Understand Ancient Roman Coin Motifs Better than CNNs?

This paper presents the first application of Vision Transformers (ViT) to the automated identification of semantic elements on ancient Roman coins using multi-modal data, demonstrating that ViT models outperform traditional CNNs in accuracy.

Original authors: David Reid, Ognjen Arandjelovic

Published 2026-01-15
📖 6 min read🧠 Deep dive

Original authors: David Reid, Ognjen Arandjelovic

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 have a massive, dusty library of ancient Roman coins. Some are shiny, some are worn down, and many are covered in dirt. For centuries, only a few experts with decades of training could look at a coin, squint at the tiny pictures on it, and say, "Ah, this one has a horse," or "This one features a shield."

This paper is about teaching computers to do that same job, but with a twist: the researchers wanted to see if a new type of computer brain called a Vision Transformer (ViT) is better at this than the old standard, the Convolutional Neural Network (CNN).

Here is the story of their experiment, broken down into simple terms.

The Problem: A Library of 100,000 Coins

The researchers started with a huge collection of 100,000 coin images and their descriptions, taken from an online auction site. Think of this as a giant pile of puzzle pieces.

  • The Challenge: Ancient coins are tricky. They are often scratched, the pictures are stylized (not realistic), and the same type of coin can look slightly different depending on which mold (die) was used to make it.
  • The Goal: Instead of just matching one coin to another (like a "find the twin" game), they wanted the computer to understand the meaning of the pictures. Can the computer spot a "cornucopia" (a horn of plenty)? Can it tell if a figure is "standing" or "sitting"?

The Contenders: The Old Guard vs. The New Kid

To solve this, they pitted two different computer architectures against each other:

  1. The CNN (The "Local Detective"):
    Imagine a detective who looks at a picture by examining tiny patches one by one. They look at the top-left corner, then the top-right, then the middle. They are very good at spotting local patterns, like a specific curve or line. However, they can sometimes get tunnel vision, focusing too much on one small spot and missing the big picture.

  2. The ViT (The "Global Observer"):
    The Vision Transformer is the new kid on the block. Instead of looking at patches one by one, imagine a detective who looks at the entire picture at once, instantly understanding how the top-left corner relates to the bottom-right corner. It treats the image like a sentence, where every part is connected to every other part. This allows it to see "long-range" connections that the local detective might miss.

The Experiment: Training the Brains

The researchers had to clean up their data first. The original photos often showed both sides of the coin (front and back) or multiple coins in a pile. They wrote a program to cut out just the back side (the "reverse") of the coin, which usually has the most interesting pictures.

They then fed these cleaned images into both types of computers.

  • The CNN was trained on one specific concept at a time (e.g., "Find all the eagles").
  • The ViT was a multitasker; it learned to find all the concepts (eagles, shields, horses, etc.) at the same time in a single model.

The Results: Who Won?

After the training was done, they tested the computers on coins they had never seen before.

  • The Winner: The Vision Transformer (ViT) generally won. It was more accurate at identifying the semantic elements (the pictures) than the CNN.
  • The Speed: The CNN was much faster to train (like a sprinter), while the ViT took much longer (like a marathon runner), but it ended up with a better finish time in terms of accuracy.
  • The "Why": The researchers found that the ViT was better at handling the messy, worn-out nature of the coins. It didn't get confused as easily when the picture was slightly different from what it expected.

The "X-Ray Vision" (Saliency Maps)

To understand how the computers were thinking, the researchers used a tool called "saliency mapping." This is like shining an X-ray on the image to see which parts the computer was looking at to make its decision.

  • The CNN's X-Ray: The CNN tended to focus on one specific, tiny spot. For example, when looking for an eagle, it would almost always stare at the bottom-right corner of the coin, where eagle wings often appear. It was like a student who memorized that "eagles are always in the bottom right" rather than actually recognizing the bird.
  • The ViT's X-Ray: The ViT's focus was much more scattered and varied. Sometimes it looked at the eagle's feathers, sometimes at the background, sometimes at the text nearby. It was harder to predict exactly where it was looking, but this suggested it was actually "understanding" the whole scene rather than just memorizing a location.

The Catch: Noisy Labels

The paper admits a major flaw in the experiment: the "answers" they gave the computers were messy.
The computers were trained using text descriptions from the auction site. But these descriptions often talked about both sides of the coin.

  • Example: A description might say, "Front: Emperor's head. Back: A standing horse."
  • The Mistake: The computer was shown only the back (the horse), but the label said "Standing." However, sometimes the description said "Standing" because of the front of the coin, even though the back didn't have a standing figure.
  • The Result: The computers were sometimes learning from the wrong clues. The researchers noted that this "noise" likely held back the performance of both models, especially for concepts like "standing" or "seated."

The Conclusion

The paper concludes that Vision Transformers are a promising new tool for studying ancient coins. They outperformed the older CNN models in accuracy, suggesting that the "Global Observer" approach is better suited for the complex, messy world of ancient history.

However, the researchers warn that to get even better results, we need cleaner data. If we can teach the computer to ignore the "front of the coin" text when looking at the "back of the coin" image, these digital historians might become even more powerful.

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 →