← Latest papers
🤖 AI

ConRTF: Edge-Constrained Boundary Distribution Refinement for Realtime TransFormer Table Structure Recognition

ConRTF is a real-time table structure recognition method that introduces an Edge-constrained Fine-grained Localization (EFL) loss to encode structural asymmetry between rows and columns during training, thereby refining boundary distributions and improving accuracy on both public and private datasets without altering the inference pipeline.

Original authors: Eliott Thomas, Tri-Cong Pham, Mickael Coustaty, Aurelie Joseph, Gaspar Deloin, Vincent Poulain d'Andecy, Jean-Marc Ogier, Antoine Doucet

Published 2026-07-02
📖 4 min read☕ Coffee break read

Original authors: Eliott Thomas, Tri-Cong Pham, Mickael Coustaty, Aurelie Joseph, Gaspar Deloin, Vincent Poulain d'Andecy, Jean-Marc Ogier, Antoine Doucet

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 trying to teach a computer to read a messy spreadsheet or a financial report. The computer needs to figure out where the rows end, where the columns begin, and how the data is grouped. This is called Table Structure Recognition (TSR).

Think of a table like a grid of Lego bricks. If you build a wall of bricks, the most important lines are the horizontal ones that separate one row of bricks from the next. If those lines are crooked, the whole wall looks wrong. Similarly, in a table, the horizontal lines define the rows, and the vertical lines define the columns.

The Problem: "One Size Fits All" Doesn't Work

Current AI tools that read tables often treat every line on the page the same way. They look at a horizontal line and a vertical line and say, "Okay, both of these are just edges; let's try to find them equally well."

The authors of this paper argue that this is like trying to paint a long, thin fence by using the same amount of paint on the top and bottom as you do on the sides. It's inefficient.

  • For a Row: The top and bottom edges are the "bosses." They define the row. The left and right edges are just the "fence posts" marking the end.
  • For a Column: The left and right edges are the "bosses." The top and bottom are just the fence posts.

If the AI gets the "boss" edges slightly wrong, the whole table structure falls apart. But if it gets the "fence post" edges slightly wrong, the table still looks mostly okay.

The Solution: ConRTF (The "Smart Painter")

The paper introduces a new method called ConRTF. Think of it as a smart painter who knows exactly which parts of the fence need the most attention.

  1. The Special Paint (EFL Loss): The core innovation is a new rule for training the AI, called Edge-constrained Fine-grained Localization (EFL).

    • When the AI is learning to draw a row, the EFL rule says: "Hey, pay extra attention to the top and bottom lines! Make them perfect. The side lines can be a little looser."
    • When the AI is learning to draw a column, the rule flips: "Focus hard on the left and right lines! The top and bottom can be a bit more flexible."
  2. Training Only: This special rule only applies while the AI is studying (training). Once the AI is finished learning and is ready to work (inference), it doesn't need to follow these extra rules. It just works as fast as before. It's like a student using a special highlighter to study for a test; once the test starts, they just write normally, but they remember the important parts better.

  3. Data Efficiency: The authors found that this method is so good at teaching the AI what matters that it doesn't need a massive library of examples to learn. It can learn to read tables very well even with a relatively small number of examples (around 2,000 to 3,000), whereas other methods might need much more data to get the same result.

The Results: Faster and More Accurate

The team tested their "Smart Painter" (ConRTF) against other top-tier AI models on huge datasets of real-world tables (like scientific papers and business documents).

  • Better Accuracy: ConRTF made fewer mistakes in how it drew the table lines. It improved the "GriTS" score (a measure of how well the table structure is understood) by up to 1.6 points compared to the best existing real-time models.
  • Speed: Because the special rules only happen during training, the AI runs just as fast as the standard models when it's actually reading a document. It didn't slow anything down.
  • Handling the Hard Stuff: The biggest improvements happened on the "messy" tables where other AI models struggled. ConRTF was better at untangling complex layouts where rows and columns overlap or are hard to distinguish.

In a Nutshell

The paper presents a way to teach AI to read tables by teaching it that not all lines are created equal. By telling the AI to focus its energy on the specific lines that define the shape of a row or a column, it learns faster, needs less data, and produces much cleaner, more accurate table structures without slowing down the process.

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 →