← Latest papers
💬 NLP

Thinking with Tables: Enhancing Multi-Modal Tabular Understanding via Neuro-Symbolic Reasoning

This paper introduces Thinking with Tables (TWT), a neuro-symbolic reasoning framework that leverages program-aided code to address structural and dependency challenges in tabular data, significantly outperforming existing baselines and rivaling proprietary models in multimodal tabular understanding tasks.

Original authors: Kun-Yang Yu, Zhi Zhou, Shi-Yu Tian, Xiao-Wen Yang, Zi-Yi Jia, Ming Yang, Zi-Jian Cheng, Lan-Zhe Guo, Yu-Feng Li

Published 2026-03-26
📖 5 min read🧠 Deep dive

Original authors: Kun-Yang Yu, Zhi Zhou, Shi-Yu Tian, Xiao-Wen Yang, Zi-Yi Jia, Ming Yang, Zi-Jian Cheng, Lan-Zhe Guo, Yu-Feng Li

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 clues are scattered across different places: a blurry photo, a messy handwritten note, and a spreadsheet that's half-filled with missing numbers.

Most current AI detectives (called Multimodal Large Language Models) are great at reading the note and looking at the photo. But when they encounter a messy spreadsheet, they often get confused. They might guess the numbers, miss hidden patterns, or fail to realize that the photo and the spreadsheet need to be combined to solve the case.

This paper introduces a new detective named TWT (Thinking with Tables). Instead of just "guessing" the answer, TWT learns to think with code.

Here is how it works, broken down into simple concepts:

1. The Problem: The "Messy Spreadsheet" Dilemma

In the real world, data isn't perfect.

  • The Shape Shifters: Tables come in all shapes—some are merged, some are cut off, some are just lines on a page.
  • The Missing Pieces: Important numbers might be smudged or missing entirely.
  • The Hidden Connections: Sometimes, the answer isn't just in one cell; it's a complex relationship between a photo of a dog and a row of data about its age and breed.

Old AI models try to memorize the answer or guess based on patterns they've seen before. When the data is messy, they fail.

2. The Solution: The "Code-Savvy" Detective

TWT doesn't just look at the table; it opens a toolbox. It uses a special method called Neuro-Symbolic Reasoning.

Think of it this way:

  • The "Neuro" part is the AI's brain. It looks at the image and the text to understand the context (e.g., "This is a picture of a dog, and the question is about how popular it is").
  • The "Symbolic" part is the AI's hands. Instead of guessing the math, it writes a small computer program (code) to do the work.

The Analogy:
Imagine you need to calculate the total cost of 500 items with different prices and taxes.

  • Old AI: Tries to do the math in its head. It gets tired, makes a mistake, and gives you a wrong answer.
  • TWT: Says, "I'll write a quick script to open the spreadsheet, add up the numbers, and tell me the result." It runs the code in a safe, controlled computer room (a Sandbox) and gets the exact answer.

3. How TWT Learns (The Two-Stage Training)

To become this expert detective, TWT went through two specific training camps:

  • Stage 1: The Internship (Supervised Fine-Tuning)
    TWT was shown thousands of examples of how to solve these problems. It learned the "recipes" for different types of cases. It learned that for a "Question Answering" case, it needs to search the table. For a "Prediction" case, it needs to build a model. It learned to speak the language of code so it could interact with the data files.

  • Stage 2: The Boot Camp (Reinforcement Learning)
    Just knowing the recipe isn't enough; you need to execute it perfectly. In this stage, TWT practiced solving problems on its own.

    • If it wrote code that crashed or gave a wrong answer, it got a "bad grade."
    • If it wrote code that ran smoothly and found the right answer, it got a "gold star."
    • Over time, it learned to write cleaner, more stable code and to handle messy data without panicking.

4. The Superpower: The "Sandbox"

One of the coolest things about TWT is its Sandbox.
Imagine a safe, walled-off playground where the AI can run its code.

  • If the AI writes a program that accidentally tries to delete everything on the computer, the Sandbox stops it immediately.
  • If the code has a bug, the Sandbox tells the AI exactly what went wrong ("Error: You tried to divide by zero!"), and the AI can fix it and try again.
  • This allows TWT to handle incomplete data. If a number is missing, the code can say, "Hey, this is missing, let's fill it in with the average," rather than just guessing wildly.

5. The Results: Why It Matters

The researchers tested TWT on eight different real-world challenges, from financial reports to predicting how fast a pet will be adopted.

  • The Result: TWT beat almost every other AI model, including some very expensive, commercial ones.
  • The Impact: It didn't just get the right answer; it got there by showing its work. You can see the code it wrote, the steps it took, and the logic it used. This makes it trustworthy.

Summary

Thinking with Tables (TWT) is an AI that stops trying to "guess" the answer from a messy spreadsheet. Instead, it learns to write a program to read the spreadsheet, fix the missing parts, do the math, and combine the results with images to give you the correct answer. It's like giving an AI a calculator and a screwdriver instead of just a pair of eyes.

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 →