LeafTrackNet: A Deep Learning Framework for Robust Leaf Tracking in Top-Down Plant Phenotyping

Shanghua Liu, Majharulislam Babor, Christoph Verduyn, Breght Vandenberghe, Bruno Betoni Parodi, Cornelia Weltzien, Marina Mc HöhneAI4Science @ NeurIPS 2025

TL;DR

This paper introduces LeafTrackNet, a novel deep learning framework for robustly tracking individual leaves in top-down plant images over time. To address the lack of suitable datasets and limitations of existing methods, they also release CanolaTrack, a large-scale benchmark dataset for canola plants, and demonstrate LeafTrackNet's superior performance in handling challenges like leaf overlap and rotation.

What Problem Does This Paper Address?

Understanding plant health and development at a granular level, like tracking individual leaves, is crucial for advancing agriculture. This "organ-level phenotyping" can reveal subtle changes that indicate stress or growth patterns much earlier than whole-plant measurements. However, accurately tracking leaves over extended periods is incredibly difficult. Existing methods struggle with:

  • Data Scarcity: There's a lack of large, realistic datasets capturing plant growth dynamics.
  • Plant-Specific Trackers: Methods like LeTra often rely on simple IoU (Intersection over Union) for matching, which fails when leaves overlap significantly, deform, or change shape.
  • Generic MOT Trackers: Standard multi-object trackers (like those for pedestrians or cars) assume rigid objects and consistent motion, which doesn't apply to growing, deforming leaves. They also struggle with the temporal sparsity of plant imaging (e.g., daily captures).
  • Complex Plant Structures: Crops like canola have intricate rosette structures with many leaves that frequently occlude each other, making identification and tracking a significant challenge.

Methods

LeafTrackNet employs a two-phase approach:

  1. Training Phase:
    • Embedding Network: A MobileNetV3 backbone is used to learn a discriminative feature representation for each leaf crop.
  2. Triplet Loss: The network is trained using a triplet loss function. This pulls embeddings of the same leaf from different time points closer together in the embedding space, while pushing embeddings of different leaves further apart. This helps the model learn features that are invariant to minor changes in appearance or pose but sensitive to identity.
  3. Sampling Strategy: They explore different strategies for selecting anchor, positive, and negative samples for training, finding that a "cross-plant flexible" strategy (where negative samples can come from any plant) yields the best results by strengthening contrastive supervision.
  4. Inference & Tracking Phase:
    • Detection: A fine-tuned YOLOv10 detector is used to identify leaf bounding boxes in each image.
  5. Embedding: The detected leaf regions are passed through the trained embedding network to get their feature vectors.
  6. Memory-Based Association: Instead of relying on motion prediction (which is unreliable for leaves), LeafTrackNet uses a "tracking memory bank." This bank stores prototype embeddings for each active track (leaf).
  7. Cosine Similarity & Hungarian Matching: Embeddings from the current frame are compared to the memory bank using cosine similarity. The Hungarian algorithm is then used to find the optimal one-to-one assignment between current detections and existing tracks, maximizing overall similarity.
  8. Temporal Smoothing: A simple exponential moving average (EMA) is used to update track prototypes, balancing new information with historical data.

Datasets

  • CanolaTrack Dataset (New Benchmark): The authors introduce CanolaTrack, a large-scale, high-resolution dataset specifically designed for leaf tracking. It consists of:
  • 5,704 top-down RGB images.
  • 184 canola plants.
  • Tracked over 31 consecutive days.
  • 31,840 annotated leaf instances with persistent identity labels.
  • Captures realistic biological events like leaf birth, death, occlusion, reoccurrence, growth, and pot rotation.
  • This dataset is significantly larger and more challenging than existing ones, offering a more realistic benchmark.
  • Existing Datasets (for comparison): The paper also references and compares against other datasets like LeTra, KOMATSUNA, and MSU-PID, highlighting how CanolaTrack surpasses them in scale and complexity.

Key Insights and Ideas

  • Appearance Embeddings are Key: The core idea is that learning robust, discriminative appearance embeddings for leaves is more effective than relying on geometric or motion-based tracking, especially given the dynamic nature of plant growth.
  • Memory Bank for Long-Term Tracking: A dedicated memory bank that stores and updates leaf prototypes is crucial for maintaining identity over long periods and across sparse observations.
  • Decoupling Detection from Tracking: LeafTrackNet separates the task of detecting leaves (using YOLOv10) from associating their identities over time (using the embedding and memory bank), which simplifies the problem and allows for specialized optimization.
  • Cross-Plant Negative Sampling is Powerful: Training with negative samples drawn from any plant in the dataset, rather than just the same plant, significantly improves the model's ability to distinguish between visually similar leaves.
  • Compact Backbones Suffice: Surprisingly, a compact backbone like MobileNetV3 performs comparably to larger, more complex models (like deeper ResNets or Vision Transformers) for this task, suggesting that efficient feature learning is more critical than sheer model capacity.

Key Results

  • State-of-the-Art Performance: LeafTrackNet significantly outperforms both general-purpose MOT trackers (BoT-SORT, ByteTrack, MOTRv2) and plant-specific trackers (LeTra, Plant-Doctor) on the CanolaTrack dataset.
  • HOTA Improvement: LeafTrackNet achieves a 9.73% improvement in HOTA (Higher Order Tracking Accuracy) over the best competing method (MOTRv2).
  • Strong Association: It demonstrates a particularly strong performance in temporal association (AssA = 84.07), exceeding MOTRv2 by 4.71%, indicating its reliability in preserving leaf identities.
  • Robustness to Challenges: Qualitative results show LeafTrackNet effectively handles heavy occlusion and pot rotation scenarios, where other methods fail due to ID switches or lost tracks.
  • Efficiency: Despite its strong performance, LeafTrackNet uses a compact MobileNetV3 backbone, making it computationally efficient.

Limitations and Future Work

  • Limitations:
    • The paper notes that while LeafTrackNet performs well, its detection accuracy (DetA) is comparable to the best general-purpose models, suggesting that improvements in the detector itself could further boost overall performance.
  • The current method is primarily for top-down views.
  • Future Work:
    • The authors suggest that their work lays a foundation for future research in cross-species transferability, field-level deployment, and real-time agricultural decision-making.
  • Extending the framework to handle multi-view or 3D plant data could be a natural next step.

Summary updated

BibTeX
@inproceedings{liu2025leaftracknet,
  author = {Shanghua Liu and Majharulislam Babor and Christoph Verduyn and Breght Vandenberghe and Bruno Betoni Parodi and Cornelia Weltzien and Marina MC Höhne},
  title = {{LeafTrackNet: A Deep Learning Framework for Robust Leaf Tracking in Top-Down Plant Phenotyping}},
  booktitle = {AI4Science @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=c3t2980Key},
}
Figure