Abstract
Recognizing and generating object-state compositions has been a challenging task, especially when generalizing to unseen compositions. In this paper, we study the task of cutting objects in different styles and the resulting object state changes. We propose a new benchmark suite Chop & Learn, to accommodate the needs of learning objects and different cut styles using multiple viewpoints. We also propose a new task of Compositional Image Generation, which can transfer learned cut styles to different objects, by generating novel object-state images. Moreover, we also use the videos for Compositional Action Recognition, and show valuable uses of this dataset for multiple video tasks.
Introduction
Modern deep learning models excel at recognizing familiar objects but often struggle with compositional generalization—the ability to understand objects in states they haven't encountered before. For instance, a model might recognize a whole apple and a sliced orange but fail to identify or generate a sliced apple.
Current datasets frequently lack the granularity required for this study. Broad terms like "chopped" are insufficient; a "baton" cut is visually distinct from a "julienne" cut. Furthermore, many datasets are "noisy," allowing models to rely on background textures rather than the object's state. To address these issues, we introduce ChopNLearn, a clean, multi-view dataset focused on fine-grained food preparation states.
The ChopNLearn Dataset
The core contribution of this work is the ChopNLearn dataset, designed to provide high-fidelity, granular data for studying object-state transformations.
- Scope: 20 distinct objects (fruits and vegetables) across 8 specific states: whole, peel, baton, julienne, round slices, half-round slices, large cut, and small cut.
- Scale: 1,260 video clips covering 112 unique object-state combinations.
- Quality: Data was captured from four synchronized viewpoints using a green-screen setup. This setup minimizes background distraction, facilitates easy segmentation, and allows for data augmentation by placing objects in diverse kitchen environments.
- Comparison: Unlike web-scraped datasets like MIT-States or Epic-Kitchens, ChopNLearn offers uniform distribution and precise, fine-grained annotations.
Methodology
We evaluate performance on two primary tasks:
1. Compositional Image Generation
The goal is to generate an image of an object in a specific state (e.g., "apple in round slices") when the model has only seen that object in other states during training. We benchmarked several approaches:
- Stable Diffusion (SD): Zero-shot generation using a pre-trained model.
- Textual Inversion (TI) & DreamBooth: Fine-tuning methods for specific tokens or subject instances.
- SD+FT+TI (Proposed Baseline): A hybrid approach that introduces new tokens for objects/states while fine-tuning the UNet of the diffusion model.
2. Compositional Action Recognition
This task involves recognizing state transitions (e.g., whole $\rightarrow$ peeled) in video clips. We tested architectures including I3D, MIL-NCE, and a Cross-Attention Fusion (CAF) model that integrates spatial-temporal layouts with appearance features.
Results and Key Insights
Our experiments yielded several critical findings:
- Granularity Matters: Generic labels like "cut" are insufficient for testing structural understanding. Distinguishing between "baton" and "julienne" provides a much more rigorous litmus test.
- Avoiding the "Background Trap": Generative models often "cheat" by learning background details. The green-screen setup forces models to focus on geometry and texture.
- Temporal Context: In action recognition, the process of transformation is vital. Models using the full video trajectory significantly outperformed those looking only at the first and last frames.
- Performance: The proposed SD+FT+TI model achieved the highest state accuracy (81.4%) in image generation. For action recognition, the CAF model performed best, reaching 62.0% top-1 accuracy on the most challenging split testing unseen objects and states.
Conclusion and Future Work
While ChopNLearn provides a rigorous benchmark, its scale of 20 objects is a starting point. Future work includes expanding to hundreds of objects to support "foundation-level" food AI. Additionally, while the green screen aids segmentation, it creates a domain gap with real-world lighting. We believe this dataset will be invaluable for future research in 3D reconstruction of deformable objects, future frame prediction, and automated video summarization in culinary tasks.
Summary updated