Fill and Transfer: A Simple Physics-Based Approach for Containability Reasoning

Lap-Fai Yu, Noah Duncan, Sai Kit YeungICCV 2015

Abstract

Reasoning about object affordances—the functional possibilities an object offers—is a critical capability for autonomous agents. This paper introduces a novel, physics-based approach to determine "containability," or the ability of an object to hold and transfer liquid. By utilizing a simplified voxel-based model that simulates "Fill" and "Transfer" processes, our method avoids the computational overhead of traditional fluid dynamics. We demonstrate that this qualitative physics approach identifies containers with high accuracy and determines pouring strategies that align closely with human intuition.

Introduction

In the fields of computer vision and robotics, identifying an object is only the first step; understanding its function is equally vital. While humans intuitively recognize that a cup is for holding liquid and a plate is for solid food, robots often struggle to infer these "affordances" from raw 3D data.

Containability reasoning is particularly challenging. Traditional methods often rely on complex fluid dynamics simulations (e.g., Navier-Stokes equations) to predict how liquid interacts with a container's geometry. However, these simulations are computationally expensive and require precise knowledge of physical parameters like viscosity, which may not be available in real-world scenarios. We propose a "qualitative physics" alternative that focuses on geometric logic and gravitational potential to achieve fast, robust reasoning.

Methodology: Fill and Transfer

Our approach represents 3D objects as voxel grids—collections of small cubes—and analyzes them through two primary stages.

The Fill Process

To determine if an object can function as a container, the algorithm performs a bottom-up "flood-fill" within the voxel grid. It identifies "Unknown" voxels that are geometrically trapped by "Container" voxels. The system then optimizes the object's orientation to find the axis that maximizes the total contained volume, effectively identifying the "upright" position for filling.

The Transfer Process

Once a container is filled, the system evaluates how to pour the liquid out. It simulates tilting the object around various axes and calculates a "transfer metric." This metric is based on the count of "leakage voxels"—voxels that would spill over the rim at a specific tilt angle. By minimizing this leakage, the algorithm identifies the preferred pouring direction, naturally discovering functional features like spouts.

Experimental Evaluation

We evaluated our model using a combination of synthetic models and real-world scans.

Figure 1: Examples of objects analyzed for containability, ranging from simple synthetic models to complex real-world kitchen scenes.

Datasets and Results

The researchers utilized a mix of 72 synthetic models and real-world scenes captured via depth sensors. To provide a benchmark, 50 human participants annotated the dataset for container status and preferred pouring directions.

The proposed system achieved a container identification accuracy of 94.44%. Furthermore, in 80% of cases where humans had a clear preference for a pouring direction (such as using a pitcher's spout), the algorithm's choice matched the human choice.

Efficiency is a standout feature: our algorithm analyzes an object in approximately 0.06 seconds, whereas a standard Lattice Boltzmann Method (LBM) fluid simulation can take over 9 minutes. The approach also proved robust to sensor noise, maintaining high accuracy even with imperfect 3D scans.

Discussion and Limitations

While the "Fill and Transfer" model is highly effective for open containers, it has limitations. It currently cannot reason about closed containers (like sealed cans) because the fill process assumes an external entry point. It also ignores material properties; for instance, it might suggest filling a porous paper bag with water. Additionally, the model does not yet account for ergonomic factors like handles, which often dictate human pouring behavior.

Conclusion

By prioritizing qualitative geometric reasoning over precise numerical simulation, we have developed a fast and effective method for containability reasoning. This approach bridges the gap between raw visual perception and functional understanding, providing a practical tool for robots to interact with everyday objects in a human-like manner.

Summary updated

BibTeX
@inproceedings{yu2015fill,
  author = {Lap-Fai Yu and Noah Duncan and Sai Kit Yeung},
  title = {{Fill and Transfer: A Simple Physics-Based Approach for Containability Reasoning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2015},
  url = {https://openreview.net/forum?id=Sk-i2gf_bB},
}
Figure