Bar-JEPA: Extracting Values from Bar Chart with Joint-Embedding Predictive Architecture
This paper introduces Bar-JEPA, a self-supervised framework that utilizes a Joint-Embedding Predictive Architecture to extract semantically rich latent features from bar charts, enabling a simple decoder to accurately recover numerical values and overcoming the scarcity of labeled training data.
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 a detective trying to solve a mystery, but the only clues you have are a series of colorful drawings. These drawings are bar charts, the kind you see in news articles or school reports, where bars of different heights tell a story about numbers. For humans, reading these is easy; we just look at the height of a bar and guess the number. But for a computer, a chart is just a picture made of pixels. It doesn't know that a tall blue rectangle means "500 dollars" or that a tiny tick mark on the side means "100." To a machine, the data is hidden inside the art.
This is where a field called "computer vision" comes in. It's the branch of science that teaches computers to "see" and understand images. Usually, to teach a computer to read a chart, you have to show it thousands of examples where a human has already written down the answers. This is like having a teacher sit next to the computer for hours, pointing at every single bar and saying, "This is 50, this is 100." But in the real world, finding thousands of charts with perfect answers written down is incredibly hard and slow. It's like trying to find a needle in a haystack, except the haystack is made of paper and the needles are missing. This paper explores a clever new way to teach computers to read these charts without needing a human teacher to label every single example first.
The researchers behind this study, Poonam Poonam and her team from Ulm University in Germany, wanted to solve the problem of "chart de-rendering." That's a fancy way of saying "taking a picture of a chart and turning it back into the raw numbers it came from." They noticed that while computers are great at recognizing cats or cars, they struggle with the specific geometry of charts, especially when the charts look different sizes or have messy backgrounds.
To tackle this, they used a special kind of AI architecture called JEPA (Joint-Embedding Predictive Architecture). Think of JEPA not as a student who memorizes answers, but as a curious explorer who learns by playing a guessing game. Instead of being told "this bar is 50," the AI is shown a picture of a chart with a big chunk of it covered up (masked). It has to guess what the hidden part looks like based on the visible parts. By playing this game over and over with millions of charts, the AI learns the "rules" of how charts work—how bars relate to tick marks, how axes are drawn, and what a "bar" actually looks like in a deep, mathematical sense. This is called "self-supervised learning" because the computer teaches itself using the patterns it finds in the data, rather than waiting for a human to give it a textbook.
The team built a pipeline they call "Bar-JEPA." First, they trained this AI explorer on a massive library of 100,000 computer-generated bar charts. They didn't just use standard images; they modified the AI to handle charts of all different shapes and sizes, so it wouldn't get confused if a chart was tall and skinny or short and wide. Once the AI learned the "language" of charts, they attached a simple, lightweight "decoder" to it. This decoder's job is to look at the AI's understanding and point out exactly where the bars and the numbers are.
The results were quite promising. When they tested their system on real-world charts (the kind you'd find in a newspaper), the AI that had learned through this self-supervised guessing game was much better at finding the bars and reading the numbers than a standard AI that hadn't been trained this way. In fact, without this special training, the computer was almost completely lost, failing to find any values at all. With the JEPA training, it could recover the data with much higher accuracy. The paper suggests that this method is a strong, efficient way to get computers to understand charts, especially when you don't have a huge pile of pre-labeled data to work with.
However, the authors are careful not to claim this is the final, perfect solution. They admit their system is still a bit simple; it can only read vertical bar charts and struggles with more complex types like stacked bars or 3D charts. It also isn't the absolute best system in the world yet, but it proves that teaching a computer to "guess" the structure of a chart first is a powerful trick. They suggest that in the future, this smart "explorer" AI could be paired with even more powerful tools, like large language models, to not just read the numbers but to answer questions about the data, like "Which bar is the biggest?" or "What is the total?" For now, though, Bar-JEPA shows us that sometimes, the best way to teach a computer to see is to let it figure out the puzzle for itself.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.