Lemma 1. A complex square matrix Wis unitary if and
only if it has an eigendecomposition of the form W=
VDV, wheredenotes the conjugate transpose. Here,
V;D2Cnnare complex matrices, where Vis unitary,
andDis a diagonal such that jDj;jj= 1. Furthermore, W
is a real orthogonal matrix if and only if for every eigenvalue Dj;j=jwith eigenvector vj, there is also a complex conjugate eigenvalue k=jwith corresponding
eigenvectorvk=vj.
Writingj=eiwjwithwj2R, a naive method to learn a
unitary matrix would be to ﬁx a basis of eigenvectors V2
Cnnand set
W=VDV; (5)
where Dis a diagonal such that Dj;j=j.
Lemma 1 informs us how to construct a real orthogonal
matrix, W. We must (i) ensure the columns of Vcome
in complex conjugate pairs, vk=vj, and (ii) tie weights
Recurrent neural networks (RNNs) are notoriously difficult to train. When the
eigenvalues of the hidden to hidden weight matrix deviate from absolute value
1, optimization becomes difficult due to the well studied issue of vanishing
and exploding gradients, especially when trying to learn long-term
dependencies. To circumvent this problem, we propose a new architecture that
learns a unitary weight matrix, with eigenvalues of absolute value exactly 1.
The challenge we address is that of parametrizing unitary matrices in a way
that does not require expensive computations (such as eigendecomposition) after
each weight update. We construct an expressive unitary weight matrix by
composing several structured matrices that act as building blocks with
parameters to be learned. Optimization with this parameterization becomes
feasible only when considering hidden states in the complex domain. We
demonstrate the potential of this architecture by achieving state of the art
results in several hard tasks involving very long-term dependencies.
Martin Arjovsky Amar Shah Yoshua Bengio