← Latest papers
💻 computer science

ViHistScriptBench: Benchmarking Vietnamese Historical Script and Document–Type Classification in Low–Resource Settings

This paper introduces ViHistScriptBench, a lightweight benchmark and evaluation pipeline designed to advance the classification of Vietnamese historical scripts and document types by providing a curated corpus, defined tasks, and baseline models to address challenges posed by limited data and complex calligraphy.

Original authors: Nguyễn Tuệ An

Published 2026-07-02
📖 5 min read🧠 Deep dive

Original authors: Nguyễn Tuệ An

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

Imagine you have a giant, dusty library filled with old Vietnamese books. Some are written in ancient Chinese characters, some in a unique Vietnamese script that looks like Chinese but sounds Vietnamese, and some are early attempts at writing Vietnamese using the Latin alphabet we use today.

The problem is that these books are hard to read. The ink is faded, the paper is torn, and the writing styles are wildly different. If you want to search these books or turn them into digital text, you need a computer program (called OCR) to read them. But most computer programs today are like students who only studied modern English; they get completely confused when they see these old, messy scripts.

This paper introduces a new tool called ViHistScriptBench. Think of it as a practice exam designed specifically to train computers to read these old Vietnamese books.

Here is how the paper breaks it down, using simple analogies:

1. The "Gym" for Computers (The Dataset)

To train a computer to recognize these scripts, you need a lot of examples. The authors gathered 500 pages from public digital archives (like the National Library of Vietnam).

  • The Collection: They picked pages that show different "flavors" of writing: pure Chinese characters (Hán), pure Vietnamese logograms (Nôm), a mix of both, and early Latin-based Vietnamese (Quốc Ngữ).
  • The Labels: They didn't just dump the images in a pile. They hired experts to label every page, telling the computer: "This is a handwritten manuscript," "This is a woodblock print," or "This page mixes two scripts." It's like a teacher grading a stack of papers and writing notes on the back.

2. The Three Challenges (The Tasks)

The paper sets up three specific games for the computer to play:

  • Game 1: Script Detective. The computer looks at a whole page and has to guess: "Is this Chinese, Vietnamese, a mix, or early Latin?" It's like looking at a menu and guessing if it's in French, Italian, or a mix of both.
  • Game 2: Material Inspector. The computer has to guess how the page was made. Was it written by hand with a brush? Was it carved into wood and stamped? Or is it a modern printed book? This helps the computer know how to handle the "texture" of the page.
  • Game 3: The Mix-Up Spotter. Some pages have a main story in one script and tiny notes in the margin in another. The computer has to spot if a page is "mixed" or "pure."

3. The Contestants (The Models)

The authors tested different types of "students" (AI models) to see who learns best:

  • The Classics (CNNs): These are like traditional students who are good at spotting small details (like the shape of a single letter) but sometimes miss the big picture.
  • The Moderns (Vision Transformers): These are like students who look at the whole page at once, understanding how the columns of text relate to each other.
  • The "Zero-Shot" Learners (CLIP): These are like students who haven't studied this specific subject but are very good at guessing based on general knowledge. They try to guess the script just by reading a description like "a page with Chinese characters."

4. The Results and The Struggles

The paper reports that the modern models (Vision Transformers) did the best, getting about 90% accuracy. That's a passing grade, but not perfect.

Where did they fail?
The paper highlights specific "traps" that confused the computers:

  • The Twin Trap: Hán and Nôm look very similar. It's like trying to tell the difference between a twin brother and sister from a blurry photo. The computers often mixed them up.
  • The Noise Trap: Old books have stains, wormholes, and faded ink. The computers sometimes mistook a coffee stain for a part of a letter.
  • The Direction Trap: These old books are written vertically (top to bottom). Computers used to reading horizontal English text sometimes got confused by the layout.
  • The Accent Trap: Vietnamese uses many little marks (diacritics) to change the sound of a letter. If the ink was smudged, the computer couldn't tell if a mark was a tone accent or just a speck of dirt.

5. Why This Matters

The authors aren't promising that we can instantly translate all of Vietnam's history today. Instead, they are saying: "Here is a fair test and a starting line."

Before this, researchers were trying to run races without a track or a stopwatch. Now, with ViHistScriptBench, everyone has the same 500 pages and the same rules. This allows scientists to compare their tools fairly, see exactly where they fail, and build better "students" to help preserve and unlock Vietnam's written history.

In short: They built a practice test to help computers learn how to read messy, ancient Vietnamese books, showing us exactly where the computers are still getting confused so we can teach them better.

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 →