Arxiv:2005.02178V2 [Cs.CL] 4 Feb 2021

Total Page:16

File Type:pdf, Size:1020Kb

Arxiv:2005.02178V2 [Cs.CL] 4 Feb 2021 IsoBN: Fine-Tuning BERT with Isotropic Batch Normalization Wenxuan Zhou, Bill Yuchen Lin, Xiang Ren Department of Computer Science, University of Southern California, Los Angeles, CA fzhouwenx, yuchen.lin, [email protected] Abstract Fine-tuning pre-trained language models (PTLMs), such as BERT and its better variant RoBERTa, has been a common practice for advancing performance in natural language un- Classifier derstanding (NLU) tasks. Recent advance in representation PTLM learning shows that isotropic (i.e., unit-variance and uncor- related) embeddings can significantly improve performance on downstream tasks with faster convergence and better gen- eralization. The isotropy of the pre-trained embeddings in Figure 1: Illustration of the isotropic batch normalization PTLMs, however, is relatively under-explored. In this paper, (IsoBN). The [CLS] embedding is normalized by standard we analyze the isotropy of the pre-trained [CLS] embeddings deviation and pairwise correlation coefficient to get a more of PTLMs with straightforward visualization, and point out isotropic representation. two major issues: high variance in their standard deviation, and high correlation between different dimensions. We also propose a new network regularization method, isotropic batch 1 normalization (IsoBN) to address the issues, towards learning to transform input features into normalized , uncorrelated more isotropic representations in fine-tuning by dynamically representations for faster convergence and better generaliza- penalizing dominating principal components. This simple yet tion ability. effective fine-tuning method yields about 1.0 absolute incre- It, however, remains an open question that how isotropic ment on the average of seven NLU tasks. the representations of PTLMs are. Particularly, we want to understand the isotropy of pre-trained [CLS] embeddings in 1 Introduction PTLMs, and how we can improve it towards better fine-tuning for downstream tasks. In this paper, we first argue the rea- Pre-trained language models (PTLMs), such as BERT (De- son why we want more isotropic embeddings for the [CLS] vlin et al. 2019) and RoBERTa (Liu et al. 2019b), have tokens (Section 2). Our analysis revels that the dominating revolutionized the area of natural language understanding principle components largely hinder the fine-tuning process (NLU). Fine-tuning PTLMs has advanced performance on to use knowledge in other components, due to the lack of many benchmark NLU datasets such as GLUE (Wang et al. isotropy. Then, we analyze the isotropy of the pre-trained 2018a). The most common fine-tuning method is to continue [CLS] embeddings. There are two essential aspects of an training pre-trained model parameters together with a few isotropic embedding space: unit-variance and uncorrelated- additional task-specific layers. The PTLMs and task-specific ness. Thus, we start our analysis by visualizing the standard [CLS] arXiv:2005.02178v2 [cs.CL] 4 Feb 2021 layers are usually connected by the embeddings of deviation and Pearson correlation coefficient of pre-trained tokens, which are regarded as sentence representations. [CLS] embeddings in BERT and RoBERTa on several NLU Recent works on text representation (Arora, Liang, and Ma datasets. 2016; Mu, Bhat, and Viswanath 2018; Gao et al. 2019; Wang Our visualization and quantitative analysis in Section 3 et al. 2020) have shown that regularizing word embeddings to finds that: 1) the [CLS] embeddings have very different isotropic be more (i.e., rotational invariant) can significantly variance (Sec. 3.1); 2) the [CLS] embeddings construct a improve their performance on downstream tasks. An ideally few large clusters of dimensions that are highly correlated isotropic embedding space has two major merits: a) all di- with each other (Sec. 3.2). Both findings indicate that pre- same variance mensions have the and b) all dimensions are trained contextualized word embeddings are far from being uncorrelated with each other. These findings align with con- isotropic, i.e., normalized and uncorrelated. Therefore, these feature normalization ventional techniques (Cogswell et al. undesired prior bias from PTLMs may result in sub-optimal 2015; Ioffe and Szegedy 2015; Huang et al. 2018), which aim performance in fine-tuning for target tasks. Copyright © 2021, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved. 1We use ‘normalized’ to refer unit-variance in this paper. Given that pre-trained [CLS] embeddings are very CoLA MRPC RTE anisotropic, a natural research question is then: how can we regularize the fine-tuning process towards more isotropic cos(Winit, W) ||Winit W||2 / ||Winit||2 embeddings? There are two common methods for improving 1.0000 3% the isotropy of feature representations: whitening transfor- 0.9999 mation and batch normalization (Ioffe and Szegedy 2015). 2% However, both are not practically suitable in the scenario 0.9998 of fine-tuning PTLMs. Whitening transformation requires 0.9997 1% calculating the inverse of the covariance matrix, which are 0.9996 ill-conditioned in PTLMs’ embeddings. Unfortunately, cal- 0% culating the inverse is thus numerically unstable, computa- 0 2000 4000 0 2000 4000 tionally expensive, and incompatible in half-precision train- Step ing. Batch normalization is proposed to alleviate the inverse- Figure 2: Average cosine similarity and L2 distance of computation issue by assuming that the covariance matrix is fine-tuned weight W to the initialized weight W dur- diagonal, which in turn completely ignores the influence of init ing the entire training process. Both measures suggest that correlation between dimensions. the change of weight is very subtle. Motivated by the research question and limitations of exist- ing works, we propose a new network regularization method, isotropic batch normalization (IsoBN) in Section 4. As shown d×c in Fiure 1, the proposed method is based on our observa- where W 2 R is a random-initialized learnable param- tion that the embedding dimensions can be seen as several eter. It learns towards mapping the underlying features ex- groups of highly-correlated dimensions. Our intuition is thus tracted by PTLMs into target classes for input examples. to assume that the absolute correlation coefficient matrix is Previous work (Dodge et al. 2020) has shown that initial- a block-diagonal binary matrix, instead of only a diagonal ized weight Winit of classifier has a large impact on the model matrix. The dimensions of the same group have an absolute performance. We further find that the final converged weights correlation coefficient of 1 (duplicate of each other), and nearly remain the same to be the initialization after fine- dimensions in different group of 0 (uncorrelated). tuning. We visualize this surprising phenomenon in Figure 2. This method greatly reduces the computation efforts in We first project both Winit and W to the subspace spanned calculating the inverse, and better models the characteris- by the top 10 eigenvectors of Cov (h) to remove the unim- tics of the pre-trained [CLS] embeddings. Our experiments portant components, then use two similarity metrics (cosine (Sec. 5) show that the IsoBN indeed improves both BERT and similarity and L2 distance) to measure the difference between RoBERTa in fine-tuning, yielding about 1.0 absolute incre- the initialized weight Winit and the fine-tuned weight W . We ment on average of a wide range of 7 GLUE benchmark tasks. observe that the cosine similarity between Winit and W is We also empirically analyze the isotropy increment brought extremely close to 1, and their L2 distance is close to 0. It by IsoBN via explained variance, which clearly shows that suggests that the weight W of the classifier in the fine-tuned IsoBN produces much more isotropic embeddings than con- model is almost determined in initialization. For example, ventional batch normalization method. there is a 0.9997 cosine similarity between initialized and fine-tuned weights on COLA with RoBERTa. To the best of our knowledge, this work is the first one in studying the isotropy of the pre-trained [CLS] embeddings. Dominating Principle Components. Knowing that the We believe our findings and the proposed IsoBN method will weight of classifier is nearly fixed, we infer that the classifier inspire interesting future research directions in improving may not capture the discriminative information for classifica- pre-training language models as well as better fine-tuning tion during fine-tuning. We measure the informativeness of towards more isotropy of PTLMs. each principal component, by comparing the variance of log- its produced by it (between the fine-tuned classifier and the [CLS] optimal classifier). Specifically, we fit a logistic regression 2 Why isotropic embeddings? model on the entire training data using the scikit-learn (Pe- We formally show our analysis on the principle components dregosa et al. 2011) framework to get the optimal classifier. th of the [CLS] embeddings. Our findings reveal that with ran- The variance Vari of logits by the i principal component T 2 dom weight initialization, the first few principle components (wi; vi) is calculated by: Vari = wi ·(W vi) , where wi, vi usually take the majority of contributions for the prediction are the ith eigenvalue and eigenvector. Intuitively, a decent results. classifier should maximize the variance along informative principal components and minimize irrelevant ones. We show Background knowledge. For text classification, the in- the average proportion of variance in Figure 3. put text
Recommended publications
  • Robust Data Whitening As an Iteratively Re-Weighted Least Squares Problem
    Robust Data Whitening as an Iteratively Re-weighted Least Squares Problem Arun Mukundan, Giorgos Tolias, and Ondrejˇ Chum Visual Recognition Group Czech Technical University in Prague {arun.mukundan,giorgos.tolias,chum}@cmp.felk.cvut.cz Abstract. The entries of high-dimensional measurements, such as image or fea- ture descriptors, are often correlated, which leads to a bias in similarity estima- tion. To remove the correlation, a linear transformation, called whitening, is com- monly used. In this work, we analyze robust estimation of the whitening transfor- mation in the presence of outliers. Inspired by the Iteratively Re-weighted Least Squares approach, we iterate between centering and applying a transformation matrix, a process which is shown to converge to a solution that minimizes the sum of `2 norms. The approach is developed for unsupervised scenarios, but fur- ther extend to supervised cases. We demonstrate the robustness of our method to outliers on synthetic 2D data and also show improvements compared to conven- tional whitening on real data for image retrieval with CNN-based representation. Finally, our robust estimation is not limited to data whitening, but can be used for robust patch rectification, e.g. with MSER features. 1 Introduction In many computer vision tasks, visual elements are represented by vectors in high- dimensional spaces. This is the case for image retrieval [14, 3], object recognition [17, 23], object detection [9], action recognition [20], semantic segmentation [16] and many more. Visual entities can be whole images or videos, or regions of images corresponding to potential object parts. The high-dimensional vectors are used to train a classifier [19] or to directly perform a similarity search in high-dimensional spaces [14].
    [Show full text]
  • Arxiv:2106.04413V1 [Cs.CV] 3 Jun 2021 Improve the Generalization [8, 24, 15]
    Stochastic Whitening Batch Normalization Shengdong Zhang1 Ehsan Nezhadarya∗1 Homa Fashandi∗1 Jiayi Liu#2 Darin Graham1 Mohak Shah2 1Toronto AI Lab, LG Electronics Canada 2America R&D Lab, LG Electronics USA {shengdong.zhang, ehsan.nezhadarya, homa.fashandi, jason.liu, darin.graham, mohak.shah}@lge.com Abstract Batch Normalization (BN) is a popular technique for training Deep Neural Networks (DNNs). BN uses scaling and shifting to normalize activations of mini-batches to ac- celerate convergence and improve generalization. The re- cently proposed Iterative Normalization (IterNorm) method improves these properties by whitening the activations iter- Figure 1: The SWBN diagram shows how whitening parameters and atively using Newton’s method. However, since Newton’s task parameters inside an SWBN layer are updated in a decoupled method initializes the whitening matrix independently at way. Whitening parameters (in blue rectangles) are updated only each training step, no information is shared between con- in the forward phase, and are fixed in the backward phase. Task secutive steps. In this work, instead of exact computation of parameters (in red rectangles) are fixed in the forward phase, and whitening matrix at each time step, we estimate it gradually are updated only in the backward phase. during training in an online fashion, using our proposed Stochastic Whitening Batch Normalization (SWBN) algo- Due to the change in the distribution of the inputs of DNN rithm. We show that while SWBN improves the convergence layers at each training step, the network experiences Internal rate and generalization of DNNs, its computational over- Covariate Shift (ICS) as defined in the seminal work of [17].
    [Show full text]
  • Robust Differentiable SVD
    ACCEPTED BY IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE ON 31 MARCH 2021 1 Robust Differentiable SVD Wei Wang, Zheng Dang, Yinlin Hu, Pascal Fua, Fellow, IEEE, and Mathieu Salzmann, Member, IEEE, Abstract—Eigendecomposition of symmetric matrices is at the heart of many computer vision algorithms. However, the derivatives of the eigenvectors tend to be numerically unstable, whether using the SVD to compute them analytically or using the Power Iteration (PI) method to approximate them. This instability arises in the presence of eigenvalues that are close to each other. This makes integrating eigendecomposition into deep networks difficult and often results in poor convergence, particularly when dealing with large matrices. While this can be mitigated by partitioning the data into small arbitrary groups, doing so has no theoretical basis and makes it impossible to exploit the full power of eigendecomposition. In previous work, we mitigated this using SVD during the forward pass and PI to compute the gradients during the backward pass. However, the iterative deflation procedure required to compute multiple eigenvectors using PI tends to accumulate errors and yield inaccurate gradients. Here, we show that the Taylor expansion of the SVD gradient is theoretically equivalent to the gradient obtained using PI without relying in practice on an iterative process and thus yields more accurate gradients. We demonstrate the benefits of this increased accuracy for image classification and style transfer. Index Terms—Eigendecomposition, Differentiable SVD, Power Iteration, Taylor Expansion. F 1 INTRODUCTION process. When only the eigenvector associated to the largest eigenvalue is needed, this instability can be addressed using the In this paper, we focus on the eigendecomposition of symmetric Power Iteration (PI) method [20].
    [Show full text]
  • Non-Gaussian Component Analysis by Derek Merrill Bean a Dissertation
    Non-Gaussian Component Analysis by Derek Merrill Bean A dissertation submitted in partial satisfaction of the requirements for the degree of Doctor of Philosophy in Statistics in the Graduate Division of the University of California, Berkeley Committee in charge: Professor Peter J. Bickel, Co-chair Professor Noureddine El Karoui, Co-chair Professor Laurent El Ghaoui Spring 2014 Non-Gaussian Component Analysis Copyright 2014 by Derek Merrill Bean 1 Abstract Non-Gaussian Component Analysis by Derek Merrill Bean Doctor of Philosophy in Statistics University of California, Berkeley Professor Peter J. Bickel, Co-chair Professor Noureddine El Karoui, Co-chair Extracting relevant low-dimensional information from high-dimensional data is a common pre-processing task with an extensive history in Statistics. Dimensionality reduction can facilitate data visualization and other exploratory techniques, in an estimation setting can reduce the number of parameters to be estimated, or in hypothesis testing can reduce the number of comparisons being made. In general, dimension reduction, done in a suitable manner, can alleviate or even bypass the poor statistical outcomes associated with the so- called \curse of dimensionality." Statistical models may be specified to guide the search for relevant low-dimensional in- formation or \signal" while eliminating extraneous high-dimensional \noise." A plausible choice is to assume the data are a mixture of two sources: a low-dimensional signal which has a non-Gaussian distribution, and independent high-dimensional Gaussian noise. This is the Non-Gaussian Components Analysis (NGCA) model. The goal of an NGCA method, accordingly, is to project the data onto a space which contains the signal but not the noise.
    [Show full text]
  • 10.1109 LGRS.2012.2233711.Pdf
    © 2013 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works. Title: A Feature-Metric-Based Affinity Propagation Technique for Feature Selection in Hyperspectral Image Classification This paper appears in: Geoscience and Remote Sensing Letters, IEEE Date of Publication: Sept. 2013 Author(s): Chen Yang; Sicong Liu; Bruzzone, L.; Renchu Guan; Peijun Du Volume: 10, Issue: 5 Page(s): 1152-1156 DOI: 10.1109/LGRS.2012.2233711 1 A Feature-Metric-Based Affinity Propagation Technique for Feature Selection in Hyper- spectral Image Classification Chen Yang, Member, IEEE, Sicong Liu, Lorenzo Bruzzone, Fellow, IEEE, Renchu Guan, Member, IEEE and Peijun Du, Senior Member, IEEE Abstract—Relevant component analysis (RCA) has shown effective in metric learning. It finds a transformation matrix of the feature space using equivalence constraints. This paper explores the idea for constructing a feature metric (FM) and develops a novel semi-supervised feature selection technique for hyperspectral image classification. Two feature measures referred to as band correlation metric (BCM) and band separability metric (BSM) are derived for the FM. The BCM can measure the spectral correlation among the bands, while the BSM can assess the class discrimination capability of the single band. The proposed feature-metric-based affinity propagation (FM-AP) technique utilize an exemplar-based clustering, i.e. affinity propagation (AP) to group bands from original spectral channels with the FM.
    [Show full text]
  • Robust Data Whitening As an Iteratively Re-Weighted Least Squares Problem
    Robust Data Whitening as an Iteratively Re-weighted Least Squares Problem B Arun Mukundan( ), Giorgos Tolias, and Ondˇrej Chum Visual Recognition Group, Czech Technical University in Prague, Prague, Czech Republic {arun.mukundan,giorgos.tolias,chum}@cmp.felk.cvut.cz Abstract. The entries of high-dimensional measurements, such as image or feature descriptors, are often correlated, which leads to a bias in similarity estimation. To remove the correlation, a linear transforma- tion, called whitening, is commonly used. In this work, we analyze robust estimation of the whitening transformation in the presence of outliers. Inspired by the Iteratively Re-weighted Least Squares approach, we iter- ate between centering and applying a transformation matrix, a process which is shown to converge to a solution that minimizes the sum of 2 norms. The approach is developed for unsupervised scenarios, but fur- ther extend to supervised cases. We demonstrate the robustness of our method to outliers on synthetic 2D data and also show improvements compared to conventional whitening on real data for image retrieval with CNN-based representation. Finally, our robust estimation is not limited to data whitening, but can be used for robust patch rectification, e.g. with MSER features. 1 Introduction In many computer vision tasks, visual elements are represented by vectors in high-dimensional spaces. This is the case for image retrieval [3,14], object recog- nition [17,23], object detection [9], action recognition [20], semantic segmen- tation [16] and many more. Visual entities can be whole images or videos, or regions of images corresponding to potential object parts. The high-dimensional vectors are used to train a classifier [19] or to directly perform a similarity search in high-dimensional spaces [14].
    [Show full text]
  • Understanding Generalized Whitening and Coloring Transform for Universal Style Transfer
    Understanding Generalized Whitening and Coloring Transform for Universal Style Transfer Tai-Yin Chiu University of Texas as Austin [email protected] Abstract while having remarkable results, it suffers from computa- tional inefficiency. To overcome this issue, a few methods Style transfer is a task of rendering images in the styles [10, 13, 20] that use pre-computed neural networks to ac- of other images. In the past few years, neural style transfer celerate the style transfer were proposed. However, these has achieved a great success in this task, yet suffers from methods are limited by only one transferrable style and can- either the inability to generalize to unseen style images or not generalize to other unseen styles. StyleBank [1] ad- fast style transfer. Recently, an universal style transfer tech- dresses this limit by controlling the transferred style with nique that applies zero-phase component analysis (ZCA) for style filters. Whenever a new style is needed, it can be whitening and coloring image features realizes fast and ar- learned into filters while holding the neural network fixed. bitrary style transfer. However, using ZCA for style transfer Another method [3] proposes to train a conditional style is empirical and does not have any theoretical support. In transfer network that uses conditional instance normaliza- addition, other whitening and coloring transforms (WCT) tion for multiple styles. Besides these two, more methods than ZCA have not been investigated. In this report, we [2, 7, 21] to achieve arbitrary style transfer are proposed. generalize ZCA to the general form of WCT, provide an an- However, they partly solve the problem and are still not able alytical performance analysis from the angle of neural style to generalize to every unseen style.
    [Show full text]
  • Independent Component Analysis
    1 Introduction: Independent Component Analysis Ganesh R. Naik RMIT University, Melbourne Australia 1. Introduction Consider a situation in which we have a number of sources emitting signals which are interfering with one another. Familiar situations in which this occurs are a crowded room with many people speaking at the same time, interfering electromagnetic waves from mobile phones or crosstalk from brain waves originating from different areas of the brain. In each of these situations the mixed signals are often incomprehensible and it is of interest to separate the individual signals. This is the goal of Blind Source Separation (BSS). A classic problem in BSS is the cocktail party problem. The objective is to sample a mixture of spoken voices, with a given number of microphones - the observations, and then separate each voice into a separate speaker channel -the sources. The BSS is unsupervised and thought of as a black box method. In this we encounter many problems, e.g. time delay between microphones, echo, amplitude difference, voice order in speaker and underdetermined mixture signal. Herault and Jutten Herault, J. & Jutten, C. (1987) proposed that, in a artificial neural network like architecture the separation could be done by reducing redundancy between signals. This approach initially lead to what is known as independent component analysis today. The fundamental research involved only a handful of researchers up until 1995. It was not until then, when Bell and Sejnowski Bell & Sejnowski (1995) published a relatively simple approach to the problem named infomax, that many became aware of the potential of Independent component analysis (ICA).
    [Show full text]
  • Independent Component Analysis Using the ICA Procedure
    Paper SAS2997-2019 Independent Component Analysis Using the ICA Procedure Ning Kang, SAS Institute Inc., Cary, NC ABSTRACT Independent component analysis (ICA) attempts to extract from observed multivariate data independent components (also called factors or latent variables) that are as statistically independent from each other as possible. You can use ICA to reveal the hidden structure of the data in applications in many different fields, such as audio processing, biomedical signal processing, and image processing. This paper briefly covers the underlying principles of ICA and then discusses how to use the ICA procedure, available in SAS® Visual Statistics 8.3 in SAS® Viya®, to perform independent component analysis. INTRODUCTION Independent component analysis (ICA) is a method of finding underlying factors or components from observed multivariate data. The components that ICA looks for are both non-Gaussian and as statistically independent from each other as possible. ICA is one of the most widely used techniques for performing blind source separation, where “source” means an original signal or independent component, and “blind” means that the mixing process of the source signals is unknown and few assumptions about the source signals are made. You can use ICA to analyze the multidimensional data in many fields and applications, including image processing, biomedical imaging, econometrics, and psychometrics. Typical examples of multidimensional data are mixtures of simultaneous speech signals that are recorded by several microphones; brain imaging data from fMRI, MEG, or EEG studies; radio signals that interfere with a mobile phone; or parallel time series that are obtained from some industrial processes. This paper first defines ICA and discusses its underlying principles.
    [Show full text]
  • Optimal Spectral Shrinkage and PCA with Heteroscedastic Noise
    Optimal spectral shrinkage and PCA with heteroscedastic noise William Leeb∗ and Elad Romanovy Abstract This paper studies the related problems of prediction, covariance estimation, and principal compo- nent analysis for the spiked covariance model with heteroscedastic noise. We consider an estimator of the principal components based on whitening the noise, and we derive optimal singular value and eigenvalue shrinkers for use with these estimated principal components. Underlying these methods are new asymp- totic results for the high-dimensional spiked model with heteroscedastic noise, and consistent estimators for the relevant population parameters. We extend previous analysis on out-of-sample prediction to the setting of predictors with whitening. We demonstrate certain advantages of noise whitening. Specifically, we show that in a certain asymptotic regime, optimal singular value shrinkage with whitening converges to the best linear predictor, whereas without whitening it converges to a suboptimal linear predictor. We prove that for generic signals, whitening improves estimation of the principal components, and increases a natural signal-to-noise ratio of the observations. We also show that for rank one signals, our estimated principal components achieve the asymptotic minimax rate. 1 Introduction Singular value shrinkage and eigenvalue shrinkage are popular methods for denoising data matrices and covariance matrices. Singular value shrinkage is performed by computing a singular value decomposition of the observed matrix Y , adjusting the singular values, and reconstructing. The idea is that when Y = X + N, where X is a low-rank signal matrix we wish to estimate, the additive noise term N inflates the singular values of X; by shrinking them we can move the estimated matrix closer to X, even if the singular vectors remain inaccurate.
    [Show full text]
  • Discriminative Decorrelation for Clustering and Classification⋆
    Discriminative Decorrelation for Clustering and Classification? Bharath Hariharan1, Jitendra Malik1, and Deva Ramanan2 1 Univerisity of California at Berkeley, Berkeley, CA, USA fbharath2,[email protected] 2 University of California at Irvine, Irvine, CA, USA [email protected] Abstract. Object detection has over the past few years converged on using linear SVMs over HOG features. Training linear SVMs however is quite expensive, and can become intractable as the number of categories increase. In this work we revisit a much older technique, viz. Linear Dis- criminant Analysis, and show that LDA models can be trained almost trivially, and with little or no loss in performance. The covariance matri- ces we estimate capture properties of natural images. Whitening HOG features with these covariances thus removes naturally occuring correla- tions between the HOG features. We show that these whitened features (which we call WHO) are considerably better than the original HOG fea- tures for computing similarities, and prove their usefulness in clustering. Finally, we use our findings to produce an object detection system that is competitive on PASCAL VOC 2007 while being considerably easier to train and test. 1 Introduction Over the last decade, object detection approaches have converged on a single dominant paradigm: that of using HOG features and linear SVMs. HOG fea- tures were first introduced by Dalal and Triggs [1] for the task of pedestrian detection. More contemporary approaches build on top of these HOG features by allowing for parts and small deformations [2], training separate HOG detec- tors for separate poses and parts [3] or even training separate HOG detectors for each training exemplar [4].
    [Show full text]
  • Learning Deep Architectures Via Generalized Whitened Neural Networks
    Learning Deep Architectures via Generalized Whitened Neural Networks Ping Luo 1 2 Abstract approximation of the identity matrix. This is an appeal- ing property, as training WNN using stochastic gradient Whitened Neural Network (WNN) is a recent descent (SGD) mimics the fast convergence of natural advanced deep architecture, which improves con- gradient descent (NGD) (Amari & Nagaoka, 2000). The vergence and generalization of canonical neural whitening transformation also improves generalization. As networks by whitening their internal hidden rep- demonstrated in (Desjardins et al., 2015), WNN exhib- resentation. However, the whitening transforma- ited superiority when being applied to various network tion increases computation time. Unlike WNN architectures, such as autoencoder and convolutional neural that reduced runtime by performing whitening network, outperforming many previous works including every thousand iterations, which degenerates SGD, RMSprop (Tieleman & Hinton, 2012), and BN. convergence due to the ill conditioning, we present generalized WNN (GWNN), which has Although WNN is able to reduce the number of training three appealing properties. First, GWNN is iterations and improve generalization, it comes with a price able to learn compact representation to reduce of increasing training time, because eigen-decomposition computations. Second, it enables whitening occupies large computations. The runtime scales up when transformation to be performed in a short period, the number of hidden layers that require whitening trans- preserving good conditioning. Third, we propose formation increases. We revisit WNN by breaking down a data-independent estimation of the covariance its performance and show that its main runtime comes matrix to further improve computational efficien- from two aspects, 1) computing full covariance matrix cy.
    [Show full text]