Source-linked AI summary

Symmetry and Group in Attribute-Object Compositions

Yong-Lu Li, Yue Xu, Xiaohan Mao, Cewu Lu

arXiv:2004.00587v1cs.CVcs.LG

TL;DR

Attribute-object transformation methods lacked a complete principle for handling cases where an object already has, or lacks, an attribute. The paper introduces symmetry-based SymNet with group-axiom objectives and Relative Moving Distance recognition, achieving state-of-the-art performance on compositional zero-shot learning benchmarks while relaxing strict associativity in practice.

  • Problem

    Existing attribute-object transformation methods lack an axiomatic foundation incorporating symmetry, such as preserving an object when adding an attribute it already has or removing one it lacks.

  • Method

    SymNet uses keep, add, and remove transformations implemented by Coupling and Decoupling Networks, trained with group-axiom and symmetry objectives, and applies Relative Moving Distance for recognition.

  • Results

    SymNet achieves state-of-the-art performance on compositional zero-shot learning tasks and outperforms prior methods on two benchmarks.

  • Takeaways & Limitations

    Symmetry provides a principled framework for learning attribute-object transformations and supports compositional zero-shot learning.

  • Takeaways & Limitations

    Associativity is not enforced in practice because the framework defines operations between transformations and objects, but not between transformations themselves.

Abstract

from arXiv · show

Attributes and objects can compose diverse compositions. To model the compositional nature of these general concepts, it is a good choice to learn them through transformations, such as coupling and decoupling. However, complex transformations need to satisfy specific principles to guarantee the rationality. In this paper, we first propose a previously ignored principle of attribute-object transformation: Symmetry. For example, coupling peeled-apple with attribute peeled should result in peeled-apple, and decoupling peeled from apple should still output apple. Incorporating the symmetry principle, a transformation framework inspired by group theory is built, i.e. SymNet. SymNet consists of two modules, Coupling Network and Decoupling Network. With the group axioms and symmetry property as objectives, we adopt Deep Neural Networks to implement SymNet and train it in an end-to-end paradigm. Moreover, we propose a Relative Moving Distance (RMD) based recognition method to utilize the attribute change instead of the attribute pattern itself to classify attributes. Our symmetry learning can be utilized for the Compositional Zero-Shot Learning task and outperforms the state-of-the-art on widely-used benchmarks. Code is available at https://github.com/DirtyHarryLYL/SymNet.

1. Introduction

The paper argues that attribute-object transformations need a symmetry principle in addition to compositionality and contextuality. It introduces SymNet, a group-theory-inspired framework with coupling, decoupling, and identity transformations, plus Relative Moving Distance recognition for compositional zero-shot learning.

  • Symmetry: Symmetry requires adding an attribute an object already has, or removing one it lacks, to leave the object unchanged.Examples include adding peeled to peeled-apple and removing peeled from apple.
  • Motivation: Conventional attribute recognition performs poorly because attributes are context-dependent and cannot be expressed well independently of objects.Earlier work modeled attributes as transformations, but the paper identifies that this add-remove system lacks an axiomatic foundation.
  • Method: SymNet models keep, add, and remove transformations through Coupling and Decoupling Networks inspired by group theory.The framework uses group-theoretic principles to provide a more principled account of attribute-object transformations.
  • Method: Relative Moving Distance recognizes attributes from how objects move under parallel add and remove transformations in latent space.For an object already possessing an attribute, the added result should remain close to the original input under the symmetry principle.
  • Results: SymNet achieves substantial improvements on attribute-object composition zero-shot learning tasks.The paper presents symmetry learning and Relative Moving Distance as contributions for Compositional Zero-Shot Learning.

2. Related Work

Related work treats attributes as useful representations for visual concept understanding and zero-shot learning, while highlighting that standard recognition often ignores their compositional and contextual properties. Later approaches model attribute-object relationships or attributes as transformations.

  • Visual Attribute: Visual attributes reduce the gap between visual patterns and object concepts and support recognition, zero-shot learning, captioning, and other vision tasks.The related work describes attribute recognition as a fundamental problem for visual concept understanding.
  • Visual Attribute: Standard attribute recognition uses multi-label discriminative models like object classifiers but ignores attribute compositionality and contextuality.The paper contrasts this approach with methods exploiting attribute-attribute or attribute-object correlations.
  • Visual Attribute: Prior methods model attributes through correlations, linear transformations of object embeddings, or projections into model weight space.These approaches aim to obtain better representations while accounting for relationships among attributes and objects.

3. Approach

SymNet models attribute-object composition as transformations constrained by symmetry and group-theoretic objectives. It implements identity, coupling, and decoupling with neural networks, then uses Relative Moving Distance to recognize attributes for compositional zero-shot learning.

  • Group Definition: SymNet defines identity, coupling, and decoupling transformations and applies them to object embeddings for attribute-object composition.The operation acts on objects rather than directly composing attribute transformations.
  • Group Axioms as Objectives: Group-theoretic axioms and the symmetry property provide training objectives for the transformation framework.The framework addresses closure, identity, invertibility, and related constraints, while relaxing associativity in practice.
  • Group Implementation: Coupling and Decoupling Networks independently transform object embeddings conditioned on attribute embeddings while preserving object-category semantics.The networks use attribute-conditioned inputs and classification losses for object identity and attribute changes.
  • Symmetry: Symmetry requires adding an attribute already present, or removing an absent attribute, to leave the object embedding semantically unchanged.For example, adding peeled to a peeled egg should not change its state, and removing broken from an unbroken cup should preserve it.
  • Relative Moving Distance: Relative Moving Distance classifies attributes by comparing embedding movements under coupling and decoupling rather than relying only on fixed latent-space decision boundaries.The method processes candidate attributes in parallel and defines a relative distance from the resulting movements.

4. Experiment

Experiments evaluate SymNet on compositional zero-shot learning, generalized CZSL, attribute learning, retrieval after manipulation, latent-space transformations, and ablations. SymNet outperforms prior methods, retrieves manipulated compositions, satisfies transformation objectives, and degrades when key principles or modules are removed.

  • Datasets and Evaluation: MIT-States and UT-Zappos use non-overlapping train/test composition pairs, evaluating unseen attribute-object combinations with Top-1, 2, and 3 accuracies.MIT-States uses 1,262 training pairs and 700 test pairs; UT-Zappos uses 83 training pairs and 33 test pairs.
  • Compositional Zero-Shot Learning: 2.1% and 3.8% improvements over the state-of-the-art are achieved on MIT-States and UT-Zappos, respectively, in CZSL.SymNet also exceeds the Visual Product baseline by 2.2% on UT-Zappos and significantly outperforms prior methods under generalized CZSL.
  • Image Retrieval after Attribute Manipulation: SymNet retrieves correct samples among the top-5 neighbors after removing one attribute and adding another, especially on fine-grained UT-Zappos.The retrieval procedure manipulates image embeddings with DeCoN and CoN before nearest-neighbor search.
  • Visualization in Latent Space: SymNet robustly operates transformations while satisfying closure, invertibility, commutativity, and symmetry objectives in latent-space visualizations.The relative moving-distance rules are reported as satisfied in the t-SNE analysis.
  • Ablation Study: Removing group-axiom or symmetry constraints causes obvious performance degradation, supporting their role in the transformation framework.The ablation study evaluates objectives derived from group axioms and the core symmetry principle.
  • Ablation Study: Removing attention drops accuracy by 1.9% and 3.6% on the two benchmarks, while L1 and cosine distances perform much worse than L2.These results identify attention and the distance metric as important implementation components.

5. Conclusion

The paper proposes symmetry as a principle for attribute-object composition transformations and implements it through a group-theory-inspired framework. Applied to CZSL, the method achieves state-of-the-art performance, while future work considers transformations with varying attribute degrees and GAN-related applications.

  • Conclusion: Symmetry requires adding an attribute already present or removing an absent attribute to leave the object unchanged.The framework couples and decouples attribute-object compositions using group axioms and symmetry as learning objectives.
  • Conclusion: The group-theory-inspired framework uses coupling and decoupling transformations to learn attribute-object composition.The paper identifies CZSL as an application of the learned transformations.
  • Conclusion: The method achieves state-of-the-art performance on compositional zero-shot learning.Future work considers varying transformation degrees, such as not-peeled, half-peeled, and totally-peeled, and GAN-related tasks.

A. Image Retrievals

SymNet is evaluated for attribute and composition retrieval on in-domain MIT-States and UT-Zappos data and out-of-domain Visual Genome data. The method retrieves queried attributes and pairs robustly across domains.

  • The evaluation covers in-domain attribute or unseen-composition retrieval on MIT-States and UT-Zappos, plus out-of-domain retrieval on Visual Genome.The experiments follow separate training and querying settings for in-domain and out-of-domain evaluation.
  • SymNet performs robustly on both in-domain and out-of-domain retrievals.
  • Top-5 retrievals can identify queried attributes across varied objects, including fresh-egg, fresh-milk, and fresh-flower for fresh.
  • On Visual Genome, SymNet returns correct out-of-domain retrievals such as dark objects and unripe lemon despite not seeing those images during training.

B. Visualized Transformations

The visualizations show that SymNet's transformations operate attribute-object compositions while satisfying the group-axiom and relative-moving-distance objectives. Figures 8 and 9 visualize these transformation and symmetry properties.

  • Visualized Transformations: The transformations {Te, T+, T−} robustly operate attribute-object compositions in the embedding space.
  • Visualized Transformations: The axiom objectives and Relative Moving Distance rules are well satisfied during embedding transformations.
  • Visualized Transformations: Figure 8 visualizes transformations used to verify the group axioms, with same-colored points in each dotted box expected to be close.

C. Analysis of Dataset

The dataset analysis identifies noisy, insufficient data and near-synonymous attributes as important evaluation factors. Treating near-synonyms as equivalent improves both attribute and CZSL accuracy, while the synonym problem remains more pronounced for SymNet than AttrOperator.

  • Dataset Factors: MIT-States accuracy is much lower than UT-Zappos because it has more object and attribute categories, noisy samples, and data insufficiency.
  • Dataset Factors: Near-synonymous attributes can be visually difficult to distinguish yet remain separate labels in the benchmark, as with ancient and old.
  • Synonym Analysis: 3.03% improvement on attribute accuracy and 0.66% improvement on CZSL accuracy result when near-synonyms are treated as equivalent.
  • Synonym Analysis: 2.25% improvement on attribute recognition and 0.28% improvement on CZSL recognition result for AttrOperator under the same near-synonym strategy.
  • Synonym Analysis: Compared with AttrOperator, SymNet suffers more from the synonym problem.
Loading 2004.00587v1…