Skip to main content
QUICK REVIEW

[Paper Review] DARE-GRAM : Unsupervised Domain Adaptation Regression by Aligning Inverse Gram Matrices

Ismail Nejjar, Qin Wang|arXiv (Cornell University)|Mar 23, 2023
Domain Adaptation and Few-Shot LearningComputer Science3 citations
TL;DR

DARE-GRAM proposes a novel unsupervised domain adaptation regression method that aligns the inverse Gram matrices of source and target features instead of the original feature embeddings. By leveraging the low-rank structure of the pseudo-inverse Gram matrix to align scale and angle in a shared subspace, it achieves state-of-the-art performance on three regression benchmarks, outperforming existing methods in minimizing mean absolute error.

ABSTRACT

Unsupervised Domain Adaptation Regression (DAR) aims to bridge the domain gap between a labeled source dataset and an unlabelled target dataset for regression problems. Recent works mostly focus on learning a deep feature encoder by minimizing the discrepancy between source and target features. In this work, we present a different perspective for the DAR problem by analyzing the closed-form ordinary least square~(OLS) solution to the linear regressor in the deep domain adaptation context. Rather than aligning the original feature embedding space, we propose to align the inverse Gram matrix of the features, which is motivated by its presence in the OLS solution and the Gram matrix's ability to capture the feature correlations. Specifically, we propose a simple yet effective DAR method which leverages the pseudo-inverse low-rank property to align the scale and angle in a selected subspace generated by the pseudo-inverse Gram matrix of the two domains. We evaluate our method on three domain adaptation regression benchmarks. Experimental results demonstrate that our method achieves state-of-the-art performance. Our code is available at https://github.com/ismailnejjar/DARE-GRAM.

Motivation & Objective

  • To address the limitations of existing unsupervised domain adaptation regression (DAR) methods that focus solely on aligning original feature spaces.
  • To investigate whether aligning the inverse Gram matrix—central to the closed-form ordinary least squares (OLS) solution—can lead to better generalization in domain adaptation.
  • To develop a method that improves regressor calibration across domains by explicitly aligning the structural properties of feature correlations captured in the inverse Gram matrix.
  • To ensure training stability and robustness through novel regularization terms on scale and angle of the inverse Gram matrix.

Proposed method

  • The method formulates domain adaptation regression by analyzing the closed-form OLS solution, which involves the inverse of the Gram matrix $ (Z^T Z)^{-1} $, highlighting its role in regressor learning.
  • It introduces a novel alignment objective that targets the pseudo-inverse Gram matrix rather than the raw features, focusing on a selected low-rank subspace.
  • The approach enforces alignment of the scale and angle of the inverse Gram matrices using two regularization terms: one for cosine similarity of principal components and one for scale normalization.
  • It leverages the low-rank property of the pseudo-inverse to efficiently align the most informative subspace of feature correlations between source and target domains.
  • The method uses a shared deep feature encoder followed by a linear regressor, with domain alignment applied via the inverse Gram matrix in the latent space.
  • Ablation studies confirm that both scale and angle alignment components are essential, with the full method outperforming ablated variants.

Experimental results

Research questions

  • RQ1Can aligning the inverse Gram matrix of features lead to better performance in unsupervised domain adaptation for regression compared to direct feature alignment?
  • RQ2How does the structure of the inverse Gram matrix, particularly its low-rank subspace, influence regressor calibration across domains?
  • RQ3Does aligning the scale and angle of the inverse Gram matrix improve generalization and training stability in domain adaptation?
  • RQ4How sensitive is the proposed method to hyperparameters such as the cosine similarity weight and threshold for truncation?
  • RQ5Can inverse Gram matrix alignment lead to better feature alignment in the original space, even when the original features are not directly aligned?

Key findings

  • DARE-GRAM achieves state-of-the-art performance on three domain adaptation regression benchmarks, with a mean absolute error (MAE) of 0.20 on the C→S task and 0.25 on the N→S task from the dSprites dataset.
  • The ablation study shows that combining both scale and angle alignment yields the best performance, with the full method outperforming ablated versions.
  • The method is robust to hyperparameter choices, as shown by minimal performance variation across different values of $\alpha_{\text{cos}}$, $\gamma_{\text{scale}}$, and threshold $T$.
  • Larger batch sizes improve performance, with DARE-GRAM achieving lower MAE at batch size 256, unlike RSD which suffers numerical instability beyond 64.
  • Empirical results confirm that aligning the inverse Gram matrix leads to better-aligned original features, validating the method’s indirect but effective feature alignment.
  • The inverse Gram matrix alignment outperforms direct feature alignment (e.g., RSD), demonstrating that structural correlation alignment is more effective than raw feature space alignment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.