CRISP: Compositional Relations as Invariant Structural Priors for Domain Generalization
The paper proposes CRISP, a novel image classification framework that enhances domain generalization by explicitly modeling visual recognition as the composition of spatial primitives and their invariant relational structures, achieving state-of-the-art performance across diverse real-world datasets.
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 by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the world of computer vision, machines are trained to recognize objects by studying thousands of examples. A computer learns what a dog looks like by seeing many photos of dogs. However, these machines often struggle when the conditions change. A dog photographed in bright sunlight, a sketch of a dog, or a cartoon drawing of a dog might look so different to the machine that it fails to recognize the animal, even though a human would see them as the same thing. This problem is known as domain generalization. The goal is to build a system that learns the essential, unchanging truths about an object so it can identify it correctly, no matter how the lighting, style, or background shifts. Researchers have long suspected that the secret to this stability lies not just in the colors or textures of an object, but in how its parts are arranged relative to one another.
A team of researchers has developed a new approach called CRISP to solve this problem. Instead of trying to force a computer to memorize every possible variation of a dog or a bird, the system breaks the image down into its fundamental building blocks. Imagine a bird not as a single, complex image, but as a collection of simple parts: a beak, eyes, wings, and feet. The CRISP system first learns to find these specific parts in any image, regardless of whether the image is a photograph, a painting, or a rough sketch. It then focuses on the relationships between these parts. It learns that for a bird to be a bird, the beak must be near the eyes, and the wings must sit on the sides of the body. These spatial relationships are the stable rules that remain true even when the visual style changes completely.
The researchers tested this idea by training the system on a variety of datasets where the visual style shifted dramatically. They used five different real-world image collections that varied in how the subjects were depicted, where the photos were taken, and what kind of cameras were used. They also tested it on a specific challenge involving birds, where the difference between species often comes down to the precise combination of small features like beak shape and wing patterns. In these tests, the CRISP system significantly outperformed existing methods. On the general collection of images, it improved accuracy by 1.2 percentage points over the previous best method. On the bird recognition test, the improvement was even more dramatic, jumping by 7.9 percentage points. This suggests that explicitly teaching the computer to look for the arrangement of parts, rather than just the overall look of the object, is a powerful way to make it more reliable.
To achieve this, the system uses a three-step process that works together seamlessly. First, it scans the image to find the locations of the visual primitives, or the basic parts. It does not need a human to draw boxes around these parts beforehand; the system learns to identify them on its own. Second, it measures the distance and angle between these parts using flexible rules that can adapt to different shapes. For instance, it can determine if one part is above another, or if three parts form a specific triangular shape. Third, it combines this structural information with the local appearance of the parts to make a final decision. If the system sees a beak and eyes in the right positions, and the texture matches a bird, it confidently identifies the animal. This method allows the computer to ignore distracting changes in color or style and focus on the geometry that defines the object.
The researchers found that the system's ability to generalize depended heavily on how well it could locate these parts. When the system correctly identified the key regions, such as the neck or the feet of a bird, it made accurate predictions. However, when the system failed to anchor on these specific areas, often collapsing its attention onto the body of the bird instead, it was more likely to make a mistake. This highlights that the success of the approach relies on the quality of the initial part detection. By treating the image as a composition of localized parts and their relationships, the researchers created a model that is more robust to the unpredictable changes found in the real world. The results indicate that understanding the structural skeleton of an object is a more reliable path to recognition than relying solely on the surface details that can vary so wildly from one domain to another.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.