← Latest papers
💻 computer science

Foreseeing the Invisible: Amodal Reconstruction of Leaf Fossil Images

This paper introduces AmodalDINO, a multi-head dense-prediction model that reconstructs complete leaf fossils from partial images without requiring prior visible masks, achieving high accuracy through fine-tuned DINOv3 and auxiliary venation heads while enabling practical offline deployment and surface area estimation.

Original authors: Liuxiang Yue, Ailin Zhang, Ziyue Zhao, Yikun Duan

Published 2026-08-06
📖 7 min read🧠 Deep dive

Original authors: Liuxiang Yue, Ailin Zhang, Ziyue Zhao, Yikun Duan

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 a detective trying to solve a crime, but the only clue they have is a torn-up photograph where half the suspect's face is covered by a rock. In the world of paleobotany—the study of ancient plants—scientists face this exact puzzle every day. They study fossilized leaves, but nature is messy. Over millions of years, sedimentary rock buries parts of the leaf, cracks split them apart, and weathering eats away the edges. What remains is rarely the whole picture; it's just a fragment. Yet, to understand the past, scientists need the entire leaf: its full shape, its outline, and the intricate network of veins that once carried water. This is where a concept called "amodal reconstruction" comes in. Think of it as the brain's ability to "see" the whole object even when part of it is hidden behind a couch or a wall. For decades, computers have struggled to do this for complex, organic shapes like leaves, especially when they are buried in stone and the computer doesn't even know where the visible part starts.

This paper introduces a clever new tool called AmodalDINO that acts like a super-powered imagination engine for fossil leaves. Instead of just tracing the parts of the leaf that are visible, the model predicts the invisible parts hidden under the rock, effectively "hallucinating" the missing tissue in a way that is scientifically accurate. The researchers trained this AI using thousands of computer-generated images of broken leaves, teaching it to recognize the structural patterns of plant veins and leaf shapes. The result is a system that can take a single photo of a fossil, guess which parts are covered by rock, and draw the complete leaf, including its main stem and tiny side veins, without needing a human to point out where the leaf begins.

The Magic of "Foreseeing the Invisible"

Meet AmodalDINO, a digital detective designed to solve the mystery of the missing leaf. Imagine you find a leaf in a museum case, but it's stuck inside a chunk of gray rock. You can see the tip and maybe a bit of the side, but the rest is buried. A normal computer vision program would just draw a box around the visible green part and say, "That's the leaf." But a paleobotanist needs to know the whole shape to identify the species or guess what the climate was like millions of years ago. They need to know what the leaf would look like if the rock weren't there.

This is where AmodalDINO steps in. It doesn't just look at what it can see; it predicts what it can't see. It's like looking at a puzzle with half the pieces missing and being able to draw in the missing pieces so perfectly that you could almost believe they were always there. The model outputs four different "masks" (digital outlines) at once:

  1. The Visible Leaf: The part you can actually see.
  2. The Complete Leaf: The full shape, including the parts buried in the rock.
  3. The Main Vein: The central "spine" of the leaf.
  4. The Fine Veins: The tiny, hair-like branches that spread out.

How It Works: The "Unfreezing" Trick

The secret sauce of this paper isn't just that the AI is smart; it's how the researchers taught it to be smart. They started with a very powerful pre-trained AI called DINOv3, which is like a student who has already read every book in the library but hasn't learned how to solve this specific puzzle yet.

Usually, when scientists use a pre-trained AI, they "freeze" its brain. They keep the student's knowledge locked in place and only train a small add-on to solve the new problem. The authors of this paper tried that, and it failed. The AI would guess the missing leaf, but it would look like a generic, round blob, ignoring the specific jagged edges or unique lobes of the actual fossil.

So, they tried something bold: they unfroze the whole brain. They let the AI adjust its entire internal knowledge base, but very, very gently (using a tiny learning rate). This allowed the AI to adapt its general knowledge of shapes specifically to the weird, broken geometry of fossil leaves. It learned that a leaf isn't just a circle; it has specific curves, tips, and lobes.

The "Vein" Clue

There was another trick. The researchers realized that if they just asked the AI to guess the leaf shape, it might get the outline right but miss the details. So, they gave the AI a second job: draw the veins.

Think of it like this: if you ask someone to draw a car, they might get the wheels and the body right. But if you also ask them to draw the engine and the exhaust pipes, they are forced to understand how the whole machine fits together. By forcing the AI to predict the thin, tricky veins (which are often hidden or look like cracks in the rock), the model was forced to understand the structure of the leaf. This "structural prior" helped it draw a much more accurate outline of the hidden leaf parts.

From Fake to Real: The Synthetic Training

Here is the catch: there are no real photos of fossil leaves where scientists know exactly what the hidden part looks like. You can't take a picture of a leaf, bury it in rock, and then dig it up to see the "ground truth" of what was hidden.

To get around this, the team built a virtual training camp. They took 160 real, high-quality photos of clear leaves and used a 3D program to "break" them digitally. They simulated rocks covering parts of the leaves, added cracks, and even added weathering effects. They generated 11,000 of these fake fossil images to train the AI. The AI learned on these synthetic images, and then, miraculously, it worked on real fossils it had never seen before.

The Results: A Digital Time Machine

When they tested AmodalDINO on a validation set of synthetic images, it got the shape of the complete leaf right 95.0% of the time (measured by a metric called Dice) and the overlap with the true shape was 90.5%. That is incredibly high for a task involving guessing hidden information.

Even more impressive, when they tested it on 9 real fossil photographs (which had no "correct answer" to compare against), the model still produced plausible, scientifically useful results. It correctly extended the leaf blade into the rock, straightened out the main vein, and recognized that a leaf was lobed rather than just a simple oval.

Practical Magic: Running in Your Browser

The researchers didn't just stop at a powerful model; they made it practical. They shrunk the AI down using a technique called 4-bit quantization, which is like compressing a high-definition movie into a tiny file without losing the plot. This allowed the model to run entirely offline in a web browser.

They built an interactive demo where you can upload a photo of a fossil. The AI automatically finds the rock, cuts it out, and draws the four masks (visible, complete, main vein, fine veins). It even uses a ruler in the photo to calculate the actual size of the leaf in centimeters. For the general public, they added a "leaf revival" feature: using the AI's prediction, they can generate a colorful, living version of the ancient leaf, showing what it might have looked like when it was alive millions of years ago.

What It Can't Do (Yet)

The paper is honest about its limits. The model currently assumes there is only one leaf in the picture. If you show it a rock with two overlapping leaves, it will merge them into one giant, weird shape. It also struggles with very fine details if the rock covers too much of the leaf. And, because it was trained on synthetic data, there is still a small gap between its perfect digital training and the messy reality of real fossils.

But the core discovery is solid: by unfreezing the AI's brain and teaching it to look at the "skeleton" (the veins) alongside the "skin" (the leaf shape), we can finally teach computers to imagine the invisible parts of the past. It's a small step toward letting paleobotanists see the whole forest, even when they only have a single, broken leaf in their hand.

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 →