Skip to main content
Springer logoLink to Springer
. 2022 May 18;87(4):1422–1438. doi: 10.1007/s11336-022-09859-5

Procrustes Analysis for High-Dimensional Data

Angela Andreella 1, Livio Finos 2,
PMCID: PMC9636303  PMID: 35583747

Abstract

The Procrustes-based perturbation model (Goodall in J R Stat Soc Ser B Methodol 53(2):285–321, 1991) allows minimization of the Frobenius distance between matrices by similarity transformation. However, it suffers from non-identifiability, critical interpretation of the transformed matrices, and inapplicability in high-dimensional data. We provide an extension of the perturbation model focused on the high-dimensional data framework, called the ProMises (Procrustes von Mises–Fisher) model. The ill-posed and interpretability problems are solved by imposing a proper prior distribution for the orthogonal matrix parameter (i.e., the von Mises–Fisher distribution) which is a conjugate prior, resulting in a fast estimation process. Furthermore, we present the Efficient ProMises model for the high-dimensional framework, useful in neuroimaging, where the problem has much more than three dimensions. We found a great improvement in functional magnetic resonance imaging connectivity analysis because the ProMises model permits incorporation of topological brain information in the alignment’s estimation process.

Supplementary Information

The online version contains supplementary material available at 10.1007/s11336-022-09859-5.

Keywords: functional alignment, functional magnetic resonance imaging, high-dimensional data, Procrustes analysis, Von Mises–Fisher distribution


The Procrustes problem is aimed at matching matrices using similarity transformations by minimizing their Frobenius distance. It allows comparison of matrices with dimensions defined in an arbitrary coordinate system. This method raised the interest of applied researchers hence highlighting its potentiality through a plethora of applications in several fields, such as ecology (Saito et al., 2015), biology (Rohlf & Slice, 1990), analytical chemometrics (Andrade et al., 2004), and psychometrics (Green, 1952; McCrae et al., 1996).

The interest of a large audience from applied fields stimulates, in parallel, the growth of a vast body of literature. Despite this, essentially all applications comprise spatial coordinates (i.e., two- or three-dimensional). Haxby et al. (2011) first introduced the use of this approach into a different context: align functional Magnetic Resonance Images (fMRI). The coordinates are hence substituted by voxels (i.e., three-dimensional pixels), and the problem becomes inherently high-dimensional. The approach rapidly grew in popularity in the neuroimaging community because of its effectiveness. However, the proposed solution is naive; the extension from the spatial context to a more general and high-dimensional one is a theoretical challenge that needs adequate attention.

The most serious concern is the results’ interpretability. In most cases, Procrustes methods turn into an ill-posed problem. It is a barely noticeable problem with spatial coordinates because the solution is unique up to rotations; hence, the user has the freedom to choose the point of view that provides the nicest picture. When the dimensions do not have a spatial meaning, any rotation completely changes the interpretation of the results.

To tackle this problem, we revise the perturbation model (Goodal, 1991), which rephrases the Procrustes problem as a statistical model. The matrices are defined as a random perturbation of a reference matrix plus an error term. The perturbation is expressed by rotation, scaling, and translation, and the matrix normal distribution (Gupta & Nagar, 2018) is assumed for the error terms. Like Green and Mardia (2013) and Mardia et al. (2006), we assume that the orthogonal matrix parameter follows the von Mises–Fisher distribution. We prove that the proposed prior distribution is conjugate, making the estimation process quite fast. Indeed, the maximum a posterior estimate of the orthogonal matrix parameters results in a minor modification of the original solution because the prior information enters into the pairwise cross-product of the matrices to be aligned. The prior distribution plays the role of regularizing term, resolving the non-identifiability of the orthogonal matrix parameter. In the application to fMRI data in Sect. 4, we further show that specification of a prior distribution permits the integration of functional and topological aspects, which largely improves the results’ interpretability. We then propose a comprehensive approach to the Procrustes problem: the ProMises (Procrustes von Mises–Fisher) model.

The second problem raised by the extension to the high-dimensional framework is computational. The estimation algorithm of a Procrustes-based method involves a series of singular value decompositions of m×m matrices (m dimensions). In a typical fMRI data set, the subjects (i.e., the matrices to be aligned) have a few hundred (observations/rows) n and hundreds of thousands of voxels (dimensions/columns) m. We prove that the minimization problem can be solved by a series of singular value decompositions of n×n matrices, reducing the computation burden and making the ProMises model applicable to matrices with virtually any number of columns. We denote this approach as the Efficient ProMises model.

We emphasize here that the problem of aligning fMRI data is not three-dimensional as it could appear at first glance, although it is high-dimensional: Each voxel is one dimension of the problem. Nevertheless, in such conditions, three critical issues arise: The first is that the Procrustes method combines any voxel inside the brain without distinguishing between adjacent and distant anatomical locations. This can be questionable because the voxels have a spatial organization, and, despite the inter-subject variability, we expect some degree of spatial similarity between subjects in their functional organization. Therefore, we want the subjects’ voxels of a given location to be more likely to contribute to the construction of voxels with the same location in the common space. The second issue revolves around the non-identifiability of orthogonal transformations Ri, where i indexes the subjects. The Procrustes method does not return a unique solution of the maximum likelihood estimate for Ri: Given a solution (i.e., a three-dimensional image), any linear combination that mixes the voxels’ values is an equivalent solution to the problem. The solutions are equivalent only from a mathematical point of view because the practical consequence is the loss of results’ topological interpretability. The third issue is the computational load: applying the Procrustes-based alignment to the whole brain implies the decomposition of many square matrices of dimensions roughly equal to 200.000 (i.e., the number of voxels.)

The Efficient ProMises model resolves all these three issues. The use of a properly chosen prior shrinks the estimate to the anatomical solution (i.e., no rotation), hence making the solution unique and interpretable from an anatomical point of view. Finally, as mentioned before, the Efficient implementation permits performing functional alignment on high-dimensional data such as fMRI data.

The paper is organized as follows. Section 1 introduces the perturbation model (Goodall, 1991), stressing its critical issues. Section 2 illustrates the ProMises model and its challenges: identifiability, interpretability, and flexibility. Section 3 defines the Efficient version of the ProMises model, which permits application of the functional alignment to high-dimensional data. Finally, the presented model is evaluated by analyzing task-related fMRI data in Sect. 4. The entire code used is available in https://github.com/angeella/ProMisesModel using the programming language Python (Van Rossum and Drake Jr, 1995) and in https://github.com/angeella/alignProMises using the R (R Core Team, 2018) package alignProMises. We report the proofs of the main lemmas here, whereas the remaining proofs are included in the supplementary material.

Perturbation Model

Background

Let {XiIRn×m}i=1,,N be a set of matrices to be aligned. The Procrustes-based method uses similarity transformations to match each matrix to the target one as closely as possible, according to the Frobenius distance.

Each matrix Xi could be then assumed to be a similarity transformation of a shared matrix MIRn×m, which contains the common reference space’s coordinates, plus a random error matrix EiIRn×m. The perturbation model proposed by Goodall (1991) is then reported.

Definition 1

(Goodall, 1991) Let {XiIRn×m}i=1,,N be a set of matrices to be aligned and O(m) the orthogonal group in dimension m. The perturbation model is defined as

Xi=αi(M+Ei)Ri+1ntisubject toRiO(m),

where EiMNn,m(0,Σn,Σm) —i.e., the matrix normal distribution with ΣnIRn×n and ΣmIRm×m scale parameters— MIRn×m is the shared matrix, αiIR+ is the isotropic scaling, tiIR1×m defines the translation vector, and 1nIR1×n is a vector of ones.

To simplify the problem, the column-centered Xi are considered. The distribution is

vec(CnXi|Ri,αi,M,Σm,Σn)Nnm(vec(αiCnMRi),RiΣmRiαi2CnΣnCn),

where Cn=In-1nJn, InIRn×n is the identity matrix, Jn is a n×n matrix of ones, and vec(A) the vectorization of the matrix A. Let the singular value decomposition of Cn=ΓΔΓ, where ΓIRn×(n-1), then:

vec(ΓCnXi|Ri,αi,M,Σm,Σn)N(n-1)m(vec(αiΓCnMRi),RiΣmRiαi2ΓCnΣnCnΓ).

The Γ transformation leads to independence between the rows of Ei without affecting the estimation of Ri. ΓCnXi and ΓCnM have now n-1 rows; however, we can simply re-project them on IRn×m using Γ. Because we can always write X~i=ΓΓCnXi, M~=ΓΓCnM, and Σ~n=ΓΓCnΣnCnΓΓ without loss of generality, we can re-write Definition 1 as follows:

Definition 2

Xi=αi(M+Ei)Risubject toRiO(m), 1

where EiMNnm(0,Σn,Σm). This way, we obtain the following:

vec(Xi|Ri,αi,M,Σm,Σn)Nnm(vec(αiMRi),RiΣmRiαi2Σn). 2

The following notation is also adopted: ||·|| to indicate the Frobenius norm and <·,·> for the Frobenius inner product (Golub & van Loan, 2013).

The main objective of this work is comparing the shapes Xi instead of the form’s analysis of the matrices. For that, the parameters of interest are Ri and αi, whereas M, Σn, and Σm are considered as nuisance parameters for each i=1,,N. The estimation of the unknown parameters changes if these nuisance parameters are known. Section 1.2 initially presents the estimates under this assumption and then provides the more realistic case of unknown nuisance parameters.

Estimation of the Perturbation Model

We formalize some results from Theobald and Wuttke (2006) in the case of known nuisance parameters M, Σm, and Σn, with Σn and Σm positive definite matrices by the following theorem:

Theorem 1

(Theobald & Wuttke 2006) Consider the perturbation model described in Definition 2, and the singular value decomposition XiΣn-1MΣm-1=UiDiVi. The maximum likelihood estimators equal R^i=UiVi, and αi^R^i=||Σm-1/2R^iXiΣn-1/2||2/tr(Di).

Now consider N independent observations X1,,XN. The joint log-likelihood is simply the sum of N log-likelihoods.

In the case of unknown nuisance parameters M, Σm, and Σn, the joint likelihood cannot be written as product of separated likelihoods, one for each Xi, because each of the unknown parameters is a function of the others. The solution must be found by an iterative algorithm. In particular, the two covariance matrices Σm and Σn can be estimated by a two-stage algorithm defined in Dutilleul (1999), where Σ^n={i=1N(Xi-M^)Σ^m-1(Xi-M^)}/Nm and Σ^m={i=1N(Xi-M^)Σ^n-1(Xi-M^)}/Nn are maximum likelihood estimators.

The necessary and sufficient condition for the existence of Σ^n and Σ^m is Nmn+1, assuming Σm and Σn are positive definite matrices. In real applications, this assumption could be problematic. For example, in fMRI data analysis, m roughly equals 200, 000, and n approximately equals 200; therefore, the researcher would have to analyzing at least 1, 001 subjects, which is virtually impossible because fMRI is costly.

Various solutions can be found in the literature: Theobald and Wuttke (2006) proposed a regularization for the covariance matrix, whereas Lele (1993) estimated Σn using the distribution of XiXi. In this work, we maintain a general formulation of the estimator for Σ^m=g(Σ^n,M^,Xi) and Σ^n=g(Σ^m,M^,Xi), because we aim to find a proper estimate of Ri rather than Σn and Σm. The shared matrix M is estimated by the element-wise arithmetic mean of {X^i}i=1,,N, where X^i=α^R^i-1XiR^i. We then modified the iterative algorithm of Gower (1975) (i.e., generalized Procrustes analysis), to estimate Ri.graphic file with name 11336_2022_9859_Figa_HTML.jpg

Groisser (2005) proved the convergence of the generalized Procrustes analysis algorithm. However, it leads to non-identifiable estimators of Ri, i=1,,N, proved by the following lemma:

Lemma 1

Let {R^i}i=1,,N be the maximum likelihood solutions for {Ri}i=1,,N with M, Σn, and Σm as unknown parameters. If ZO(m), then {R^iZ}i=1,,N are still valid maximum likelihood solutions for {R^i}i=1,,N.

Proof

Consider ZO(m), and

1αiXiRiZ-MZ=EiZMN(0,Σn,ZΣmZ).

Consider the proof of Theorem 1 placed in the supplementary material, we have

maxRiO(m)i=1N<Ri,XiΣn-1MΣm-1>=maxRiO(m)i=1Ntr(ZRiXiΣn-1MZZΣm-1Z). 3

Since ZZ=ZZ=Im, the solutions {R^iZ}i=1,,N are still valid solutions for the maximization (3).

To sum up, in the more realistic case, when we must estimate the nuisance parameters, the Procrustes solutions are infinite in general, in both in the high-dimensional case and the low-dimensional by Lemma 1. We emphasize here that, to resolve the non-identifiability of Ri, the proposed ProMises model imposes a prior distribution for the parameter Ri.

ProMises Model

Background

In the previous section, we justified how the perturbation model could be problematic because Lemma 1 proves the non-identifiability of the parameter Ri in the realistic case of unknown nuisance parameters. This scenario returns to be critical in several applications, where the m columns of the matrix Xi do not express the three-dimensional spatial coordinates, such as in the fMRI data framework illustrated in Sect. 4. In the high-dimensional case, the final orientations of the aligned data can be relevant for interpretation purposes.

For that, we propose its Bayesian approach: the ProMises model. We stress here that a proper prior distribution leads to a closed-form and interpretable, unique point estimate of Ri. The specification of the prior parameters is essential, especially in our high-dimensional context.

Interpretation of the Prior Parameters

Because RiO(m), a proper prior distribution must take values in the Stiefel manifold Vm(IRm). The matrix von Mises–Fisher distribution is a non-uniform distribution on Vm(IRm), which describes a rigid configuration of m distinct directions with fixed angles. It was proposed by Downs (1972) and investigated by many authors (e.g., Chikuse, 1979; Jupp & Mardia 2003).

We report below the formal definition of the von Mises–Fisher distribution.

Definition 3

(Downs, 1972) The von Mises–Fisher distribution for RiO(m) is

f(Ri)=C(F,k)exp{tr(kFRi)}, 4

where C(F,k) is a normalizing constant, FIRm×m is the location matrix parameter, and kIR+ is the concentration parameter.

The parameter k defined in (4) balances the amount of concentration of the distribution around F. If k0, the prior distribution is near a uniform distribution (i.e., unconstrained). If k+, the prior distribution tends toward a Dirac distribution (i.e., maximum constraint).

A proper specification of the prior distribution leads to improved estimation of Ri. Therefore, the core of the ProMises model is the specification of F defined in (4). Consider the polar decomposition and singular value decomposition of F=PK=LΣB=LBBΣB, where P,L,BO(m), and KIRm×m are symmetric positive semi-definite matrices, and ΣIRm×m diagonal matrix with non-negative real numbers on the diagonal. The mode of the density defined in (4) equals P (Jupp & Mardia, 1979), so the most plausible rotation matrix depends on the orientation characteristic of F. Merging the two decompositions, P=LB describes the orientation part of F, and K=BΣB defines the concentration part. The mode is specified by the product of the left and right singular vectors of F. These decompositions are useful to understand when the density (4) is uni-modal. If F has full rank, Σ does too, the polar decomposition is unique, and thus the mode of the density (i.e., P is the global maximum). Let F be a full rank matrix, then the maximum equals maxRiO(m)tr(FRi)=tr{LBBΣB(LB)}=tr(Σ).

To sum up, the prior specification allows us to include a priori information about the optimal orientation in the perturbation model. We anticipate here the result of Lemma 3: If F is defined as a full rank matrix, the maximum a posteriori solution R^i will be unique with the orientation structure of F.

Two simple examples of F are delineated below.

Example 1

The most simple definition of F is Im (Lee, 2018). The eigenvalues are all 1, and L and B are equal to e1,,em, where ei is the standard basis forming an orthonormal basis of IRm. The prior distribution shrinks the possible solutions for Ri toward orthogonal matrices that consider only the combination of variables with the same location.

Alternatively, considering the fMRI scenario, the hyperparameter F can be defined as an Euclidean similarity matrix using the 3D anatomical coordinates x, y, and z of each voxel:

F=[exp{-(xi-xj)2+(yi-yj)2+(zi-zj)2}],

where i,j=1,m. In this way, F is a symmetric matrix with ones in the diagonal, which means that voxels with the same spatial location are combined with weights equalling 1, and the weights decrease as the voxels to be combined are more spatially distant.

Example 2

Consider N matrices, one for each plant, describing the three-dimensional spatial trajectories of a climbing plant, Pisum sativum, having wooden support as a stimulus (Guerra et al., 2019) across time. The spatiotemporal trajectories of the plants are analyzed until they come to grasp the stick. The aim is to functionally align the three time series, one for each coordinate (x, y, z); then, we have m=3. In this case, we could suppose that the rotation along the z axis is not of interest because the functional misalignment between plants can be along the x-axis and y-axis with the z-axis being the one that reflects the growth of the plants and the x-axis and y-axis describing the elliptical movement (circumnutation) of the plants (Guerra et al., 2019). Therefore, the F location matrix parameter can be described as follows:

F=0.50.500.50.50001. 5

The axes x and y have the same probability of entering in the calculation of the first two dimensions of the final common space, whereas the z axis is not considered.

We use the kinematic plant data from Guerra et al. (2019), consisting of five matrices/plants. Figure 1 shows the elliptical movement expressed by the axes x and y, in the case of unaligned and aligned plant trajectories. The rotation transformations are estimated by the ProMises model with F expressed as (5). We do not go into detail about the meaning of the results because we have introduced this example to explain the usefulness of F. However, we can note how the ProMises model aligns the final coordinates of the tendrils (i.e., when the plant touches the wooden support).

Fig. 1.

Fig. 1

Left panel: Unaligned spatial trajectories of the tendrils of two plants. Right panel: Aligned spatial trajectories of the tendrils of two plants.

Von Mises–Fisher Conjugate Prior

The von Mises–Fisher distribution (4) was proved by Khatri and Mardia (1977) to be a member of the standard exponential family (Barndorff–Nielsen, 2014). Green and Mardia (2006) mentioned that the von Mises–Fisher distribution is a conjugate prior for the matrix normal distribution, which we formally prove in the following lemma under the perturbation model’s assumptions.

Lemma 2

Consider the perturbation model of Definition 2, with Ri distributed according to (4), then the posterior distribution f(Ri|k,F,Xi) is a conjugate distribution to the von Mises–Fisher prior distribution with location posterior parameter equalling the following:

F=XiΣn-1MΣm-1+kF. 6

The posterior location parameter is the sum of XiΣn-1MΣm-1 and the prior location parameter F multiplied by k. Consider the singular value decomposition of XiΣn-1MΣm-1:

XiΣn-1MΣm-1=UiDiVi=UiViViDiVi. 7

The right part of (7) ViDiVi is the elliptical part of XiΣn-1MΣm-1, which is a measure of variation relative to the decomposition UiVi (i.e., the maximum likelihood estimator of Ri). Focus on the right part of (6), F=PK, which is the polar decomposition of F, where P is the mode of the von Mises–Fisher distribution, and K is its measure of variation. Therefore, F is expressed as a combination of the maximum likelihood estimate R^i=UiVi and the prior mode P, multiplied by corresponding measures of variation.

Thanks to the conjugacy, the estimation process remains simple; with a small modification we keep the previous algorithm without increasing the computational burden.

Estimation of the ProMises Model

This section delineates the estimation process for Ri using the ProMises method. First of all, f(Xi|αi,Ri) depends only on the product αiRi, we thus refer to the distribution f(Xi|αiRi) instead of f(Xi|αi,Ri) defined in (2). The following density is then considered as prior distribution for the product αiRi:

f(αiRi)exp{kαitr(FRi)}αi-1. 8

The following theorem delineates the estimation of Ri with known nuisance parameters:

Theorem 2

The ProMises model is defined as the perturbation model specified in Definition 2 imposing the prior distribution (8) for αiRi. Let the singular value decomposition of XiΣn-1MΣm-1+kF be UiDiVi. Then, the maximum a posteriori estimators equal R^i=UiVi and αi^R^i=||Σm-1/2R^iXiΣn-1/2||2/tr(Di).

The prior information about Ri’s structure is directly entered in the singular value decomposition step; the maximum a posteriori estimator turns out to be a slight modification of the solution given in Theorem 1. We decompose XiΣn-1MΣm-1+kF instead of XiΣn-1MΣm-1.

Let {XiIRn×m}i=1,,N be a set of independent matrices. Then, the joint posterior distribution is simply the product of the single posterior distribution.

If M, Σn, and Σm are unknown, the maximization problem has no closed-form solution, like in Sect. 1.2. Because we proved that the prior specification modifies only the singular value decomposition step of Theorem 1, we then modify the Line 5 of Algorithm 1, as follows:graphic file with name 11336_2022_9859_Figb_HTML.jpg

On the Choice of the Parameter of the von Mises–Fisher Distribution

We choose the von Mises–Fisher distribution as prior distribution for Ri for its useful and practical properties. First, as shown, it is a conjugate prior distribution, leading to a direct calculation and interpretation of R^i. Second, it expresses the orthogonality constraint imposed by the Procrustes problem. Finally, the definition of F does not require strong assumptions (Downs, 1972); nevertheless, if we specify it as a full-rank matrix, we guarantee solution’s uniqueness. This permits formulation of the below lemma.

Lemma 3

If F has full rank, the maximum a posteriori estimates for Ri given by Theorem 2 are unique.

Proof

Consider the proof of Lemma 1. Multiplying by Z leads to the following maximization:

i=1Ntr(ZRi(XiΣn-1MZZΣm-1Z+kF))i=1Ntr(Ri(XiΣn-1MΣm-1+kF))

since the cyclic permutation invariance property of the trace does not work as Lemma 1 having the additional term ktr(FRi).

In addition, recalling Lemma 4, the solution for Ri is unique if and only if XiΣn-1MΣm-1+kF has full rank. If F is defined with full rank, so X~iM~+kF, and the solution for Ri is unique. Furthermore, recalling Jupp and Mardia (1979), the mode of the von Mises–Fisher is the orientation part of location matrix parameter. Because the polar decomposition of F is unique, the maximum a posteriori estimate is unique.

To sum up, the ProMises model enables resolving the non-identifiability of Ri that characterizes the perturbation model. The prior information inserted in the model permits guidance of the estimation process, computing a unique and interpretable data orthogonal transformation. Finally, all these properties are reached without complicating the estimation process of the perturbation model; we only modify the singular value decomposition step of Algorithm 1.

Efficient ProMises Model

The framework depicted above can be applied both in low- and high-dimensional settings. However, the extension to the high-dimensional case does not come for free if the perturbation model is used. When n<m, rank equals n, the identifiability of the solution is lost even when the nuisance parameters are known. The lemma below formally states:

Lemma 4

Consider XiIRn×m, if n<m, then the maximum likelihood estimate for Ri defined in Theorem 1 is not unique.

Although the ProMises model provides unique solutions even in high-dimensional frameworks, a second issue remains prominent: the computational load. At each step, the presented algorithms perform N singular values decompositions of m×m matrices, which have a polynomial-time complexity O(m3). When m becomes large, as in fMRI data where m is a few hundred thousands, the computation runtime, and the required storing memory, becomes inadmissible.

This section proposes the Efficient ProMises model, which resolves the two above points. The method is efficient in terms of space and time complexity and fixes the non-identifiability of Ri. The algorithm allows a faster and more accessible shape analysis without loss of information in the case of nm. It essentially merges the thin singular value decomposition (Bai et al., 2000) with the Procrustes problem.

In practice, the Efficient ProMises approach projects the matrices Xi into an n-lower-dimensional space using a specific semi-orthogonal transformation (Abadir & Magnus, 2005; Groß et al., 1999) Qi, with dimensions m×n, which preserve all the data’s information. It aligns, then, the reduced n×n matrices {XiQiIRn×n}i=1,,N by the perturbation or ProMises model. Finally, it projects the aligned matrices back to the original n×m-size matrices {XiIRn×m}i=1,,N using the transpose of {Qi}i=1,,N.

The following theorem proves that the maximum defined in Eq. (3) using {XiQiIRn×n}i=1,,N equals the original maximum because the Procrustes problem analyzes the first n×n dimensions of Ri. The maximum remains the same if we multiply {XiIRn×m}i=1,,N by Qi.

Theorem 3

Consider the perturbation model in Definition 2 with Σm=σ2Im and the thin singular value decompositions of Xi=LiSiQi for each i=1,,N, where Qi has dimensions m×n. The following holds

maxRiO(m)tr(RiXiΣn-1XjΣm-1)=maxRiO(n)tr(RiQiXiΣn-1XjΣm-1Qj).

Additionally, the condition for the existence of Σ^n by Dutilleul (1999) is satisfied because Xi now has dimensions n×n, and the functional alignment needs at least N=2 observations.

So, Theorem 3 is used to define an Efficient version of the ProMises model.

Lemma 5

Consider the assumptions of Theorem 3, then

maxRiO(m)tr(RiXiΣn-1XjΣm-1+kF)=maxRiO(n)tr{Ri(QiXiΣn-1XjΣm-1Qj+kF)},

where FIRm×m and F=QiFQjIRn×n.

Proofs of Theorem 3 and Lemma 5 are shown in the supplementary material, whereas here, we make some further considerations about the proposed method.

At first glance, the assumption Σm=σ2Im may dilute the resul’s impact. However, this assumption does not imply that the data are column-wise independent because this dependence is modeled by Ri. Additionally, the joint and accurate estimate of Σm, Σn and Ri requires a large number of observations. So, it is common in real applications to set Σm and Σn to be proportional to the identities in Procrustes-like problems (Haxby et al., 2020). When the model is high-dimensional, this problem becomes even more pronounced because of the huge number of parameters to be estimated.

The Efficient ProMises approach reaches the same maximum while working in the reduced space of the first n eigenvectors, which contains all the information, instead of the full data set. Therefore, the original problem estimates orthogonal matrices of size m×m: RiO(m), whereas the Efficient solution provides a set of orthogonal matrices of size n×n: RiO(n). Even when the solution is projected back into the m×m space through QiRiQi, the rank remains n, whereas the matrices of the original solutions have rank m. This should clarify that the Efficient approach reaches the same fit to the data under a different set of constraints that is n×n orthogonal matrices instead of m×m matrices; hence, the solutions of the two algorithms will not be identical.

Then, we add on Algorithm 1 the lines used to reduce the dimensions of Xi, and we modify Line 5 to insert the prior information:graphic file with name 11336_2022_9859_Figc_HTML.jpg

The Efficient approach reduces the time complexity from O(m3) to O(mn2) and the space complexity from O(m2) to O(mn).

Functional Magnetic Resonance Imaging Data Application

Motivation

The alignment problem is recognized in fMRI multi-subject studies because the brain’s anatomical and functional structures vary across subjects. The most used anatomical alignments are the Talairach normalization (Talairach & Tournoux, 1988) and the Montréal Neurological Institute (MNI) space normalization (Jenkinson et al., 2002), where the brain images are aligned to an anatomical template by affine transformations using a set of major anatomical landmarks. However, this alignment does not explore the between-subjects variability in anatomical positions of the functional loci. The functional brain regions are not consistently placed on the anatomical landmarks defined by the Talairach and MNI templates. The anatomical alignment is then an approximate inter-subject registration of the functional cortical areas. Haxby et al. (2011) proved that functional brain anatomy exhibits a regular organization at a fine spatial scale shared across subjects.

Therefore, we can assume that anatomical and functional structures are subject-specific (Conroy et al., 2009; Sabuncu et al., 2010) and that the neural activities in different brains are noisy rotations of a common space (Haxby et al., 2011). Functional alignments (e.g., Procrustes methods) attempt to rotate the neural activities to maximize similarity across subjects.

Specifically, each subject’s brain activation can be represented by a matrix, where the rows represent the stimuli/time points, and the columns represent the voxels. The stimuli are time-synchronized among subjects, so we have correspondence among the matrices’ rows. However, the columns are not assumed to be in correspondence among subjects, as explained before. Each time series of brain activation (i.e., each of the matrices’ columns) represents the voxels’ functional characteristics that the anatomical normalization fails to align. We aim to represent the neural responses to stimuli into a common high-dimensional space, rather than in a canonical anatomical space that does not consider the variability of functional topographies loci.

Figure 2 shows three voxels’ neural activities (i.e., v1, v2, and v3) three columns of the data matrix in two subjects recorded across time. The functional pattern of v2 is equal across subjects, whereas v1 and v3 are swapped. A rotation matrix can resolve this misalignment, with the swap being a particular case of the rotation matrix. For further details about the motivation in using functional Procrustes-based alignment in fMRI studies, see Haxby et al. (2020).

Fig. 2.

Fig. 2

Illustration of functional misalignment between fMRI images, where three voxels’ time series are plotted considering two subjects. The time series of voxels v1 and v3 of the second subject are swapped with respect to the first subject.

Data Description

We apply the proposed method to data from Pernet et al. (2015), available at https://openneuro.org/datasets/ds000158/versions/1.0.0. The study consists of neural activations of 218 subjects passively listening to vocal (i.e., speech) and nonvocal sounds. Because the application has had a mere illustrative purpose, we choose to use a small number of subjects (18) to facilitate the example’s reproducibility by the readers. We preprocessed the data using the Functional MRI of the Brain Software Library (FSL) (Jenkinson et al., 2012) using a standard processing procedure (i.e., high-pass filtering, brain extraction, spatially smoothing, registration to standard MNI space, dealing with motion and differences in slice acquisition time). Anatomical and functional alignment (based on the ProMises model) is compared, having images preprocessed in the same way, but in one case, the functional alignment is applied, while in the other case not. For details about the experimental design and data acquisition, please see Pernet et al. (2015).

Functional Connectivity

We performed region of interest and seed-based correlation analysis (Cordes et al., 2000). The seed-based correlation map shows the level of functional connectivity between a seed and every voxel in the brain, whereas the region of interest analysis expresses the functional correlation between predefined regions of interest coming from a standard atlas. The analysis process is defined as follows: First, the subject images are aligned using Algorithm 3, then the element-wise arithmetic mean across subjects is calculated, and finally, the functional connectivity analysis is developed on this average matrix.

We take the frontal pole as seed, being a region with functional diversity (Liu et al., 2013). The anatomical alignment considered here refers to the MNI space normalization (Jenkinson et al., 2002). Figure 3 shows the correlation values between the seed and each voxel in the brain using data without functional alignment (top of Fig. 3) and with functional alignment using the Efficient ProMises model (bottom of Fig. 3). The first evidence is that the functional alignment produces more interpretable maps, where the various regions, such as the superior temporal gyrus, are delineated by marked spatial edges, while the non-aligned map produces more spread regions, hence being less interpretable. It is interesting to evaluate the regions more correlated with the frontal pole, for example, the superior temporal gyrus. This region is associated with the processing of auditory stimuli. The correlation of the superior temporal gyrus with the seed is clear in the bottom part of Fig. 3, where functionally aligned images are used.

Fig. 3.

Fig. 3

Seed-based correlation map for M, using data only aligned anatomically (top figure), and data also functionally aligned by the Efficient ProMises model (bottom figure). The black point refers to the seed used (i.e., frontal pole with MNI coordinates (0, 64, 18)). So, the brain map indicates the level of correlation between each voxel and the frontal pole.

In contrast, the region of interest correlations analysis shows the integration mechanisms between specialized brain areas. Figure 4 indicates the correlation matrices of time-series extracted from the 39 main regions of the atlas of Varoquaux et al. (2011). Using functionally aligned data (right side of Fig. 4), we can see delineated blocks of synchronized regions that can be interpreted as large-scale functional networks. Instead, using data without functional alignment (left side of Fig. 4) the distinctions between blocks are clearly worse. Using functionally aligned data, the left and right visual systems, composed of the dorsolateral prefrontal cortex (DLPFC), frontal pole (Front pol), and parietal (Par), are clearly visible, whereas in the analysis using functionally nonaligned data, this distinction is hidden by noise.

Fig. 4.

Fig. 4

Correlation matrix for M, using data only aligned anatomically (left figure) and data also functionally aligned by the Efficient ProMises model (right figure). The cells of the matrix represent the correlation between the regions (represented by the row/column labels) of the Varoquaux et al. (2011)’s atlas.

The preprocessed data are available on the GitHub repository: http://github.com/angeella/fMRIdata, as well as the code used to perform functional connectivity: http://github.com/angeella/ProMisesModel/Code/Auditory.

Discussion

The ProMises model provides a methodologically grounded approach to the Procrustes problem allowing functional alignment on high-dimensional data in a computationally efficient way. The issues of the perturbation model (Goodall, 1991)—non-uniqueness, critical interpretation, and inapplicability when nm—are completely surpassed thanks to our Bayesian extension. Indeed, the ProMises method returns unique and interpretable orthogonal transformations, and its efficient approach extends the applicability to high-dimensional data. The presented method is particularly useful in fMRI data analysis because it allows the functional alignment of images having roughly 200× 200,000 dimensions, obtaining a unique representation of the aligned images in the brain space and a unique interpretation of the related results.

In the application example presented in Sect. 4, a subsample was analyzed. However, the algorithm has a linear growth in N, and therefore, it is not a problem to work with larger samples. Also, the algorithm permits a parallel computation for the subjects.

The Bayesian framework gives the user the advantage and the duty to insert prior information into the model through k and F. The parameter k plays the role of regularization parameter, which is rarely known a priori. We estimated it by cross-validation, although it may be interesting to adapt approximations-based methods (e.g., generalized cross-validation) to reduce the computational burden. Alternatively, we could assume a prior distribution taking values in R+ for the regularization parameter k and proceed to jointly estimate this parameter as well. More interestingly, the matrix F addresses the estimate of the optimal rotations, which is favorable in the analysis of fMRI data because, in this context, the variables have a spatial anatomical location. In the example in Sect. 4, our definition of F favors the combination of voxels with equal location. However, a more thoughtful specification can entirely exploit the voxels’ specific spatial position in the anatomical template. This opens up the possibility to explore various specifications of F and will be the subject of further research.

Supplementary Information

Below is the link to the electronic supplementary material.

11336_2022_9859_MOESM1_ESM.pdf (231.3KB, pdf)

Supplementary Materials: Supplementary material includes the proofs of theorems and lemmas. (pdf 232KB)

Acknowledgements

The authors thank the Editor, the Associate Editor as well as the two anonymous referees for helpful comments that greatly improved the paper. Angela Andreella gratefully acknowledges funding from the grant BIRD2020/SCAR_ASEGNIBIRD2020_01 of the University of Padova, Italy, and PON 2014-2020/DM 1062 of the Ca’ Foscari University of Venice, Italy. Some of the computational analyses done in this manuscript were carried out using the University of Padova Strategic Research Infrastructure Grant 2017: “CAPRI: Calcolo ad Alte Prestazioni per la Ricerca e l’Innovazione”, http://capri.dei.unipd.it. The authors thank Prof. Umberto Castiello and Dr. Silvia Guerra for sharing the cinematic plant data.

Funding

Open access funding provided by Università degli Studi di Padova within the CRUI-CARE Agreement.

Footnotes

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Contributor Information

Angela Andreella, Email: angela.andreella@unive.it.

Livio Finos, Email: livio.finos@unipd.it.

References

  1. Abadir KM, Magnus JR. Matrix algebra. Cambridge: Cambridge University Press; 2005. [Google Scholar]
  2. Andrade JM, Gómez-Carracedo MP, Krzanowski W, Kubista M. Procrustes rotation in analytical chemistry, a tutorial. Chemometrics and Intelligent Laboratory Systems. 2004;72(2):123–132. doi: 10.1016/j.chemolab.2004.01.007. [DOI] [Google Scholar]
  3. Bai, Z., Demmel, J., Dongarra, J., Ruhe, A., & van der Vorst, H. (2000). Templates for the solution of algebraic eigenvalue problems: a practical guide. Society for Industrial and Applied Mathematics.
  4. Barndorff-Nielsen O. Information and exponential families: In statistical theory. New York: Wiley; 2014. [Google Scholar]
  5. Chikuse Y. Statistics on special manifolds. Berlin: Springer; 2003. [Google Scholar]
  6. Conroy BR, Singer BD, Haxby JV, Ramadge PJ. Fmri-based inter-subject cortical alignment using functional connectivity. Advances in Neural Information Processing systems. 2009;22:378. [PMC free article] [PubMed] [Google Scholar]
  7. Cordes D, Haughton VM, Arfanakis K, Wendt GJ, Turski PA, Moritz CH, Quigley MA, Meyerand ME. Mapping functionally related regions of brain with functional connectivity mr imaging. American Journal of Neuroradiology. 2000;21(9):1636–1644. [PMC free article] [PubMed] [Google Scholar]
  8. Downs TD. Orientation statistics. Biometrika. 1972;59(3):665–676. doi: 10.1093/biomet/59.3.665. [DOI] [Google Scholar]
  9. Dutilleul P. The mle algorithm for the matrix normal distribution. Journal of Statistical Computation and Simulation. 1999;64(2):105–123. doi: 10.1080/00949659908811970. [DOI] [Google Scholar]
  10. Golub, G. H., & Van Loan, C. F. (2013). Matrix computations. Johns Hopkins studies in the mathematical sciences. Johns Hopkins University Press.
  11. Goodall C. Procrustes methods in the statistical analysis of shape. Journal of the Royal Statistical Society: Series B (Methodological) 1991;53(2):285–321. [Google Scholar]
  12. Gower JC. Generalized procrustes analysis. Psychometrika. 1975;40(1):33–51. doi: 10.1007/BF02291478. [DOI] [Google Scholar]
  13. Green BF. The orthogonal approximation of an oblique structure in factor analysis. Psychometrika. 1952;17(4):429–440. doi: 10.1007/BF02288918. [DOI] [Google Scholar]
  14. Green PJ, Mardia KV. Bayesian alignment using hierarchical models, with applications in protein bioinformatics. Biometrika. 2006;93(2):235–254. doi: 10.1093/biomet/93.2.235. [DOI] [Google Scholar]
  15. Groisser D. On the convergence of some procrustean averaging algorithms. Stochastics an International Journal of Probability and Stochastic Processes. 2005;77(1):31–60. doi: 10.1080/17442500512331341059. [DOI] [Google Scholar]
  16. Groß J, Trenkler G, Troschke SO. On semi-orthogonality and a special class of matrices. Linear Algebra and its Applications. 1999;289(1–3):169–182. [Google Scholar]
  17. Guerra, S., Peressotti, A., Peressotti, F., Bulgheroni, M., Baccinelli, W., D’Amico, E., et al. (2019). Flexible control of movement in plants. Scientific Reports,9(1), 1–9. [DOI] [PMC free article] [PubMed]
  18. Gupta, A. K., & Nagar, D. K. (2018). Matrix variate distributions (Vol. 104). Chapman and Hall/CRC.
  19. Haxby JV, Guntupalli JS, Connolly AC, Halchenko YO, Conroy BR, Gobbini MI, Hanke M, Ramadge PJ. A common, high-dimensional model of the representational space in human ventral temporal cortex. Neuron. 2011;72(2):404–416. doi: 10.1016/j.neuron.2011.08.026. [DOI] [PMC free article] [PubMed] [Google Scholar]
  20. Haxby JV, Guntupalli JS, Nastase SA, Feilong M. Hyperalignment: modeling shared information encoded in idiosyncratic cortical topographies. Elife. 2020;9:e56601. doi: 10.7554/eLife.56601. [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Jenkinson M, Bannister P, Brady M, Smith S. Improved optimization for the robust and accurate linear registration and motion correction of brain images. Neuroimage. 2002;17(2):825–841. doi: 10.1006/nimg.2002.1132. [DOI] [PubMed] [Google Scholar]
  22. Jenkinson, M., Beckmann, C. F., Behrens, T. E., Woolrich, M. W., & Smith, S. M. (2012). Fsl. Neuroimage,62(2), 782–790. [DOI] [PubMed]
  23. Jupp PE, Mardia KV. Maximum likelihood estimators for the matrix von mises-fisher and bingham distributions. The Annals of Statistics. 1979;7(3):599–606. doi: 10.1214/aos/1176344681. [DOI] [Google Scholar]
  24. Khatri C, Mardia KV. The von mises-fisher matrix distribution in orientation statistics. Journal of the Royal Statistical Society: Series B (Methodological) 1977;39(1):95–106. [Google Scholar]
  25. Lee T. Bayesian attitude estimation with the matrix fisher distribution on so(3) IEEE Transactions on Automatic Control. 2018;63(10):3377–3392. doi: 10.1109/TAC.2018.2797162. [DOI] [Google Scholar]
  26. Lele S. Euclidean distance matrix analysis (edma): Estimation of mean form and mean form difference. Mathematical Geology. 1993;25(5):573–602. doi: 10.1007/BF00890247. [DOI] [Google Scholar]
  27. Liu H, Qin W, Li W, Fan L, Wang J, Jiang T, Yu C. Connectivity-based parcellation of the human frontal pole with diffusion tensor imaging. Journal of Neuroscience. 2013;33(16):6782–6790. doi: 10.1523/JNEUROSCI.4882-12.2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
  28. Mardia KV, Fallaize CJ, Barber S, Jackson RM, Theobald DL. Bayesian alignment of similarity shapes. The Annals of Applied Statistics. 2013;7(2):989. doi: 10.1214/12-AOAS615. [DOI] [PMC free article] [PubMed] [Google Scholar]
  29. McCrae R, Zonderman A, Costa P, Bond M, Paunonen S. Evaluating replicability of factors in the revised neo personality inventory: Confirmatory factor analysis versus procrustes rotation. Journal of Personality and Social Psychology. 1996;70(3):552–566. doi: 10.1037/0022-3514.70.3.552. [DOI] [Google Scholar]
  30. Pernet CR, McAleer P, Latinus M, Gorgolewski KJ, Charest I, Bestelmeyer PE, Watson RH, Fleming D, Crabbe F, Valdes-Sosa M, Belin P. The human voice areas: Spatial organization and inter-individual variability in temporal and extra-temporal cortices. Neuroimage. 2015;119:164–174. doi: 10.1016/j.neuroimage.2015.06.050. [DOI] [PMC free article] [PubMed] [Google Scholar]
  31. R Core Team. (2018). R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing.
  32. Rohlf FJ, Slice D. Extensions of the procrustes method for the optimal superimposition of landmarks. Systematic Biology. 1990;39(1):40–59. [Google Scholar]
  33. Sabuncu MR, Singer BD, Conroy B, Bryan RE, Ramadge PJ, Haxby JV. Function-based intersubject alignment of human cortical anatomy. Cerebral Cortex. 2010;20(1):130–140. doi: 10.1093/cercor/bhp085. [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Saito VS, Fonseca-Gessner AA, Siqueira T. How should ecologists define sampling effort? the potential of procrustes analysis for studying variation in community composition. Biotropica. 2015;47(4):399–402. doi: 10.1111/btp.12222. [DOI] [Google Scholar]
  35. Talairach, J. J., & Tournoux, P. (1988). Co-planar stereotaxic atlas of the human brain 3-dimensional proportional system: An approach to cerebral imaging. Thieme Medical Publishers.
  36. Theobald DL, Wuttke DS. Empirical Bayes hierarchical models for regularizing maximum likelihood estimation in the matrix Gaussian procrustes problem. Proceedings of the National Academy of Sciences. 2006;103(49):18521–18527. doi: 10.1073/pnas.0508445103. [DOI] [PMC free article] [PubMed] [Google Scholar]
  37. Van Rossum, G. & Drake Jr, F. L. (1995). Python reference manual. Centrum voor Wiskunde en Informatica Amsterdam.
  38. Varoquaux, G., Gramfort, A., Pedregosa, F., Michel, V., & Thirion, B. (2011). Multi-subject dictionary learning to segment an atlas of brain spontaneous activity. In Biennial international conference on information processing in medical imaging (pp. 562–573). Springer. [DOI] [PubMed]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

11336_2022_9859_MOESM1_ESM.pdf (231.3KB, pdf)

Supplementary Materials: Supplementary material includes the proofs of theorems and lemmas. (pdf 232KB)


Articles from Psychometrika are provided here courtesy of Springer

RESOURCES