---
title: "A Log-Euclidean Framework for Statistics on Diffeomorphisms"
description: "Arsigny and colleagues use logarithms of invertible deformations to average brain registrations and test the accuracy of the numerical method."
canonical: "https://research.elamur.ai/free/en/papers/arsigny-2006-log-euclidean-framework-statistics-diffeomorphisms/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/arsigny-2006-log-euclidean-framework-statistics-diffeomorphisms/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2006](https://md.research.elamur.ai/free/en/papers/2006/) / A Log-Euclidean Framework for Statistics on Diffeomorphisms

# A Log-Euclidean Framework for Statistics on Diffeomorphisms

Paper · 2006 · Vincent Arsigny, Olivier Commowick, Xavier Pennec et al.

**Authors:** [Vincent Arsigny](https://md.research.elamur.ai/free/en/authors/vincent-arsigny/), [Olivier Commowick](https://md.research.elamur.ai/free/en/authors/olivier-commowick/), [Xavier Pennec](https://md.research.elamur.ai/free/en/authors/xavier-pennec/) and [Nicholas Ayache](https://md.research.elamur.ai/free/en/authors/nicholas-ayache/) · **Year:** 2006 · **Venue:** Lecture notes in computer science · **Licence:** No open licence stated (free-to-read copy; rights reserved) — text kept private

Lecture notes in computer science

- [PDF](https://link.springer.com/content/pdf/10.1007/11866565_113.pdf)
- [DOI 10.1007/11866565_113](https://doi.org/10.1007/11866565_113)

## Summary

When several brain images are aligned to an atlas, each alignment gives a map from the atlas to an individual brain. An average of those maps could show how the atlas would need to change to resemble the group. The difficulty is that an alignment can be reversible even when the average of its point-by-point displacements is not. If the average sends distinct locations to the same place, their original positions cannot be recovered. Arsigny and colleagues propose doing the averaging in a representation from which a reversible map can be reconstructed.

The representation is a stationary velocity field. At each location, it specifies a direction and a speed. A point moves through the field, picking up the velocity at its current location as it goes. Following all the points for a fixed interval produces a deformation, which the authors call the exponential of the field. The logarithm works in the other direction. It recovers the field that generates a given deformation, when the map lies in the range where the principal logarithm can be defined. In this representation the fields can be averaged by ordinary addition and scalar multiplication. Exponentiating the result returns a mean deformation. Reversing each input map changes the sign of its logarithm, so the same construction then returns the inverse of the original mean.

The paper develops numerical algorithms for both conversions. To compute an exponential, it estimates a very short motion and repeatedly composes the resulting map with itself. To compute a logarithm, it repeatedly finds square roots of the input map, so that the final root is small enough for its displacement to approximate its logarithm. On synthetic deformations sampled on a 40 × 40 grid, the exponential algorithm reaches a mean relative discrepancy of about 0.3% with 7 squarings against a fixed-step integration reference. The logarithm algorithm reaches about 3% mean relative discrepancy with 6 successive square roots when recovering the fields used to generate its test inputs.

The application averages nonlinear registrations from an artificial BrainWeb atlas to 9 T1 MR brain images. The Log-Euclidean mean expands the atlas ventricles, which are smaller than those in the group. The mean is broadly similar to a direct displacement average in this example, with local relative differences of the order of 30% in areas of large mean deformation, including the ventricles. The paper thereby demonstrates a way to compute an invertible mean in a dense registration problem. Its mathematical argument motivates a logarithm near the identity and leaves the precise infinite-dimensional existence and uniqueness proof open.

## Deep dive: A Log-Euclidean Framework for Statistics on Diffeomorphisms

Arsigny and colleagues use logarithms of invertible deformations to average brain registrations and test the accuracy of the numerical method. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Why a mean registration is harder than it looks

An image registration gives a rule for matching positions in one image to positions in another. For the application in this paper, the common starting image is a brain atlas. Each registration tells where an atlas location is sent in an individual image. Because the starting coordinates are shared, the registrations can be compared point by point. This makes it possible to ask where the atlas would move under a typical registration, where the individual registrations differ, and whether a registration method produces deformations consistent with an observed group.

The deformations of interest are diffeomorphisms. A diffeomorphism is a smooth geometric map that pairs locations reversibly, with an inverse that is also smooth. The inverse matters because it lets the same correspondence be used in either direction. A region can move, stretch, or contract as the map acts. Recovering its original coordinates still requires its points to remain distinguishable. The paper takes this property as a constraint on the result of a statistical calculation, just as a registration algorithm can take it as a constraint on each of its outputs.

A displacement field is one way to store a diffeomorphism on a grid. At each sampled location, the field records the vector from that location to its destination. With several such fields on the same grid, an arithmetic mean assigns each location the average of its displacement vectors. The arithmetic is well defined, and the result is easy to interpret locally. Reversibility, however, depends on the joint action of the map across locations. Averaging the vectors is a separate calculation at each location, and the resulting endpoints need not preserve the one-to-one correspondences of the original maps. Starting with registrations that are individually invertible does not give a general invertibility guarantee for their displacement mean.

This is a problem of representation as much as a problem of averaging. A dense displacement field can express a wide variety of maps, while the collection of fields representing diffeomorphisms does not support unrestricted Euclidean arithmetic. A useful statistical representation would make it possible to combine observations with familiar operations and then turn the result back into a deformation. For dense image registration it would also need enough flexibility to retain motion that varies across the anatomy. A representation chosen for compactness may make the statistics straightforward while reducing what can be represented.

The authors motivate statistics on whole deformations in part through their potential to assess or constrain registration algorithms. They refer to earlier work that used local deformation statistics. A statistic of entire maps has a different object as its output. Its mean is a proposed registration from the common coordinates to a group geometry, and its variation concerns changes to such registrations across the domain. Preserving the structure of a map matters whenever that output is to be used as a geometric transformation.

#### The earlier ways of representing deformations

The paper describes registration methods that already produce dense, invertible transformations and store them as displacement fields. Their guarantees concern how each transformation is obtained. A later calculation on those stored fields has to satisfy its own conditions. The authors extend the same concern to an approach that uses B-spline parameters. Changing to spline coefficients gives another way to describe displacement, but Euclidean statistics on those parameters are still problematic when invertibility is required.

Another approach described in the paper uses control points for geodesic interpolating splines. The statistical calculations operate on a lower-dimensional collection of parameters, and the construction turns the results into invertible transformations. The authors question whether this parameterization is suitable for the variety of deformations encountered in medical imaging. The issue is the relationship between the deformation encoded by the controls and the dense transformations that the registration procedure actually produces. A guarantee for reconstructed maps and the range of maps that the representation can conveniently handle are separate considerations.

The paper also discusses work that starts directly from the group structure of diffeomorphisms. Composition is the natural operation for this group. Applying a map and then applying another produces a new map, and a diffeomorphism can be undone by applying its inverse. Earlier approaches describe dense transformations through velocity fields that vary with time and integrate their action to obtain a map. During this integration the velocity at a location may change, so the representation describes the evolution of the motion as well as its endpoint.

One proposal uses the initial momenta of geodesics in such a space as linear coordinates for statistics. The initial momentum encodes the start of a path selected by the geometry of the deformation space. The authors describe this proposal as having been illustrated for landmark matching, where the correspondences are between designated points. They were unaware of an application of that statistical framework to general dense deformations. They also point to the iterative calculation of a mean in that setting and the numerical stability it requires. The paper presents these observations as motivation for a different representation.

The distinction between a time-varying field and a stationary one is central to that choice. In the stationary case, each location has the same assigned velocity throughout the motion. A moving point can still speed up, slow down, or change direction because it visits places with different velocities. This leaves considerable room for nonlinear motion while making the generating quantity a spatial field. A statistical calculation can then act on these fields in a shared coordinate system.

The authors take their cue from a Log-Euclidean framework they had already proposed for tensors. In the earlier construction, logarithms provide coordinates for Euclidean calculations, and an exponential takes the result back to the original type of object. The underlying analogy here is between multiplying matrices and composing deformations. Simply borrowing a matrix formula would leave a gap, because the objects are maps of space and the relevant linear coordinates are fields. The paper addresses that gap by identifying the motion associated with a map exponential and by proposing a way to recover that motion from a sampled map.

#### The role of proximity to the identity

The identity map leaves every point where it is. It is the natural origin for reasoning about deformation because composing with it changes nothing. In the paper's framework, the corresponding origin for velocity fields is the zero field. The local question is whether a map sufficiently near the identity comes from a uniquely determined field sufficiently near zero. A principal logarithm would give a consistent answer by choosing the solution on this local branch.

This scope matters for the statistical problem. A displacement field can be read directly from any input map, whereas the logarithmic representation presupposes that the map admits the required stationary description. In the atlas application, global alignment precedes the estimation of the dense nonlinear maps. The statistics then concern the residual nonlinear registrations. The setup gives the authors a way to test the representation on deformations produced by a registration workflow, while the mathematical question of where the logarithm exists remains distinct from that test.

### The method, step by step

#### From a velocity field to a deformation

Imagine a field of arrows drawn through the space being deformed. An arrow gives the velocity of a point that happens to be at its location. Starting a point at a known location and following its motion for a chosen time determines a destination. Starting a point at every location turns the collection of trajectories into a map. This map is the flow at that time. The velocity field is stationary when the arrows themselves stay fixed throughout the process.

```
ẋ = V(x)
```

Here `x` is a point's current position, and `ẋ` is its derivative with respect to time. `V` is the stationary velocity field, and `V(x)` is its vector at the current position. The ordinary differential equation says that the point's trajectory has that instantaneous velocity. Smoothness of the field is part of the setup used for a well-defined flow.

The notation for the flow keeps the moving point and the full map separate. At a fixed starting location, varying the time traces a trajectory. At a fixed time, varying the starting location gives a deformation of space. The initial condition for the trajectory is also the identity condition for the entire flow.

```
Φᵥ(x₀, 0) = x₀
```

Here `Φᵥ` denotes the flow generated by `V`, the velocity field. Its first argument `x₀` is the initial location. The time argument `0` is the start of the motion, at which the trajectory is at `x₀`. The subscript on `Φᵥ` identifies which velocity field is being used.

Because the field is stationary, advancing through one interval and then another is equivalent to advancing through the combined interval. The motion starts the second interval at the first interval's endpoint. The rule for continuing depends on that position alone, so it does not matter whether the integration is described as a continuous run or as a succession of flow maps. This is the property that makes repeated composition a useful numerical shortcut later in the method.

#### Why the exponential and logarithm describe the flow

The paper introduces the general idea through a one-parameter subgroup. Such a family contains an identity element at its reference time. The group operation on two members of the family corresponds to adding their time parameters.

```
g(0) = e
```

Here `g` assigns a group element to each time parameter. The argument `0` is the zero parameter, and `e` denotes the identity element of the group. For deformations that element is the map that leaves locations fixed.

```
g(s) · g(t) = g(s + t)
```

Here `s` and `t` are real parameters. `g(s)` and `g(t)` are the group elements at those parameters, and `·` denotes the group's operation. `g(s + t)` is the element at the sum of the parameters. For matrices, the operation can be multiplication. For deformations, it is composition.

In the finite-dimensional Lie group analogy used by the authors, a continuous one-parameter subgroup can be differentiated at the identity. That derivative is its infinitesimal generator. A matrix generator, for example, describes the initial direction of a curve whose entire progression is obtained with the matrix exponential.

```
g(s) = exp(sM)
```

Here `g(s)` is the group element at parameter `s`, `M` is a matrix generator in the group's tangent space at the identity, and `sM` is scalar multiplication of that generator. `exp` in this expression is the matrix exponential. The authors use the correspondence between continuous one-parameter subgroups and their generators to identify the analogous objects for deformations.

For the stationary equation, the flow plays the role of `g`, and the field itself is the generator. At every starting point the derivative at the initial time gives precisely the velocity assigned there. Choosing the endpoint at time `1` defines the exponential of the whole field.

```
exp(V)(x) = Φᵥ(x, 1)
```

Here `exp(V)` is the deformation obtained from the field `V`. The argument `x` is an arbitrary starting location, `Φᵥ` is the corresponding flow, and `1` is the endpoint time used to define the exponential. The formula assigns each `x` the destination reached at that time.

A logarithm answers the inverse question. The input is a deformation, and the desired output is a stationary field whose trajectories end at the specified destinations. On the principal branch envisioned by the paper, one seeks a field near zero for a map near the identity.

```
log(Φ) = V   when   exp(V) = Φ
```

Here `Φ` denotes the given deformation, `V` is its generating velocity field on the local branch, and `log` denotes the principal logarithm. `exp` is the flow construction above. Equality on the right means that both maps assign the same destination to each starting point. For a general deformation a point's displacement gives only its net motion. The field must explain how the motion continues as the point passes through different locations.

#### What supports the local inverse

The authors examine the effect of a very small scalar multiple of a field. Scaling the field by a scalar and flowing it to time `1` has the same effect as using the original field for the corresponding amount of time. This follows by changing the time variable in the stationary equation. For very small time the initial velocity therefore describes how the resulting map departs from the identity.

```
limₜ→₀ [exp(tV)(x) − exp(0)(x)] / t = V(x)
```

Here `t` is a non-zero real scalar that tends to `0`, `V` is a regular velocity field, and `tV` is the field rescaled by `t`. `exp(tV)(x)` is the destination of `x` under that scaled field. `exp(0)(x)` is the destination under the zero field, which is `x` itself. The bracketed difference divided by `t` is a difference quotient, and its pointwise limit is the vector `V(x)`.

This calculation gives the expected directional derivative. Infinitesimally, a perturbation of the zero velocity field is visible as the same perturbation in the displacement of the map. In a finite-dimensional setting the corresponding identity derivative can be used in a local inverse argument once the required differentiability is established. The paper uses the calculation to motivate the same conclusion here and explicitly identifies the remaining work. The smoothness conditions on the fields have to be made precise, and differentiability of the exponential has to be established in the relevant infinite-dimensional setting. Pointwise behavior of the difference quotient alone leaves that step open.

The same calculation explains a numerical approximation used by both algorithms. For a sufficiently short motion, the velocity at the starting point predicts the displacement to first order. Going from field to map, the approximation adds a small multiple of the velocity to the identity. Going from map to field, it subtracts the identity from a map already reduced to a short motion. The two algorithms use the flow's composition property to keep most of their calculation away from a direct first-order approximation of the full motion.

#### How scaling and squaring computes the exponential

For a map, squaring means composing it with itself. If a particular map advances a flow for a short time, applying it to a point and then applying it again at the resulting location advances the flow for twice that time. The second evaluation can use a different part of the spatial field because the point is now somewhere else. This is how repeated composition retains spatially varying motion.

The algorithm begins by scaling the available field down. The authors then use a first-order explicit step to estimate the deformation generated by that smaller field. On a grid, the calculation takes each sampled location and advances it by the scaled velocity there.

```
exp(V / 2ᴺ)(x) ≈ x + V(x) / 2ᴺ
```

Here `V` is the full velocity field, `x` is a grid location, and `N` is the chosen number of squarings. The factor `2ᴺ` divides the velocity so that the initial motion is small. `exp(V / 2ᴺ)(x)` is the exact flow destination for the scaled field, and `≈` marks its first-order approximation by the right-hand side. The vector `V(x) / 2ᴺ` is evaluated at `x`.

The algorithm then repeatedly replaces the current sampled map by its self-composition. The exact identity behind the procedure says that the map at the shorter time, composed the appropriate number of times, gives the map at full time.

```
exp(V) = [exp(V / 2ᴺ)]^(2ᴺ)
```

Here `exp(V)` is the desired endpoint map, and `exp(V / 2ᴺ)` is the map of the scaled field. The exponent `2ᴺ` outside the brackets denotes a composition power, so it counts applications of the shorter map. `N` is the number of times the scaling-and-squaring algorithm squares its current map. The caret indicates the power in this notation.

The full composition power calls for only `N` self-compositions because each operation doubles the duration represented by the current map. After a self-composition, the result is stored on the grid and can act as the map for the next doubling. This differs from fixed-step integration carried out separately along every trajectory. The algorithm builds a succession of maps valid at the sampled locations throughout the domain.

Composition requires interpolation. Even if a map starts at a sampled location, its destination will generally lie between samples. To apply the same map again, the algorithm evaluates it at that intervening destination using bilinear interpolation in the planar case or trilinear interpolation in the volumetric case. This supplies continuous interpolated values with a simple rule. It also means that the numerical result depends on the grid representation as well as on the accuracy of the starting short step.

#### How inverse scaling and squaring computes the logarithm

With a deformation as input, the problem is to find a short motion that can be repeated to produce it. The reverse of squaring is taking a composition square root. Such a root is a map that, when applied twice, reproduces the input. On the branch associated with a stationary flow, that root represents the same motion for a shorter duration. Continuing to take roots brings the map toward the identity, where the displacement is a first-order estimate of the logarithm.

```
log(Φ) = 2ᴺ log(Φ^(2⁻ᴺ))
```

Here `Φ` is the input deformation and `N` is the number of successive square roots. `Φ^(2⁻ᴺ)` denotes the map reached by the repeated rooting procedure, and `log` is the flow logarithm on the relevant local branch. The factor `2ᴺ` multiplies the vector field obtained from the short map. The identity expresses that the short map's generator gives the same stationary motion at a reduced scale.

The algorithm estimates the last logarithm by taking a displacement. This is the step in which proximity to the identity becomes a practical requirement. The location shift over the short motion stands in for the field over that interval, and multiplying by the scaling factor restores the original magnitude.

```
log(Φ) ≈ 2ᴺ [Φ^(2⁻ᴺ) − Id]
```

Here `Φ` is the original map, `Φ^(2⁻ᴺ)` is its last calculated root, and `N` is the rooting depth. `Id` denotes the identity map, so subtracting it gives the last root's pointwise displacement. `2ᴺ` is the scalar used to rescale that displacement. The approximation reflects the use of a first-order displacement in place of the short map's exact logarithm. Numerical errors in the estimated roots can also affect the returned field.

Taking a square root here is itself a numerical problem. The unknown is a map, and the paper seeks it by minimizing the discrepancy between its self-composition and the target. Described in terms of displacement, the initial trial uses half the target's displacement. This choice follows the short-motion approximation. As a trial map moves points through a spatially varying deformation, its self-composition gives the actual residual used to improve it.

```
Eₛᵩᵣₜ(T) = ½ ∫Ω ‖(T ∘ T)(x) − Φ(x)‖² dx
```

Here `Eₛᵩᵣₜ` is the square-root objective, `T` is a trial root, `∘` means map composition, and `Φ` is the target map for the current rooting step. `Ω` is the spatial domain, and `x` is the position integrated over with spatial volume element `dx`. The double bars enclose the length of the vector difference, and the superscript `²` squares that length. The prefactor `½` scales the energy. The objective is small when applying `T` twice gives destinations close to those prescribed by `Φ` throughout the domain.

The gradient has contributions from both uses of the trial map. A change to the inner use moves the position fed into the outer use, so the outer map's spatial derivative enters that part. A change to the outer use acts at positions already moved by the inner map. Expressing that contribution over the original domain calls for an inverse map and a change-of-variables factor.

```
∇Eₛᵩᵣₜ(T) = [(DT)ᵀ ∘ T] · (T ∘ T − Φ)
             + |det D(T⁻¹)| (T − Φ ∘ T⁻¹)
```

Here `∇Eₛᵩᵣₜ(T)` denotes the gradient of the square-root energy with respect to the trial map `T`, using the paper's spatial `L²` inner product. That inner product pairs vector perturbations through their dot products integrated over the domain. `D` is the spatial derivative, so `DT` and `D(T⁻¹)` are Jacobian matrices of the indicated maps. `ᵀ` transposes a matrix, and `[(DT)ᵀ ∘ T]` evaluates that transposed Jacobian after applying `T`. The middle dot multiplies the resulting matrix by the residual vector from the composed map and target `Φ`. The symbol `T⁻¹` denotes the inverse map, `det` takes a matrix determinant, and the vertical bars take its absolute value. The factor `|det D(T⁻¹)|` multiplies the second vector residual and accounts for the local volume change in rewriting the gradient.

The need for `T⁻¹` gives the logarithm calculation another numerical task. To invert a given map, the paper again uses gradient descent. For this separate objective, `Φ` stands for the map to be inverted, and `T` now stands for an inverse candidate. The starting displacement is the negative of the displacement of the map to be inverted. It is a natural short-motion estimate because a small forward move can be approximately undone by applying the opposite move.

```
Eᵢₙᵥ(T) = ½ ∫Ω ‖(Φ ∘ T)(x) − Id(x)‖² dx
```

Here `Eᵢₙᵥ` is the inversion objective, `T` is the candidate inverse, and `Φ` is the map for which the inverse is sought. `∘` means composition, with `T` applied first. `Id(x)` is the starting location `x`, `Ω` is the domain, and `dx` is the spatial volume element. The squared norm measures how far the composed map is from returning each location to itself, and `½` is the energy's prefactor. For an exact inverse the composition in the residual is the identity everywhere.

The logarithm computation therefore involves more than running the exponential algorithm backwards. Even a single square-root estimate is found by refining a map to meet a composition constraint, with inverse estimation needed for its gradient. The result of that refinement becomes the input for the next square-root estimate. Only after the prescribed series of roots has been calculated does the algorithm read off the small displacement and rescale it into a velocity field.

#### Turning the logarithms into a mean

Once the fields have been recovered, the statistical calculation can use vector arithmetic. The entire workflow begins with a set of corresponding registration maps. Each is converted to its own field, the fields are combined at shared positions, and the combined field generates the output registration. The following sequence describes the averaging procedure used for the atlas maps.

Computing a Log-Euclidean mean of atlas registrations The steps in order.

The paper defines a distance by measuring the difference between the two logarithms. The choice of field norm determines how to measure the size of that difference. For instance, the distance answers how far apart the stationary velocities are as whole fields, rather than how far apart the endpoint displacements are at an individual location.

```
dist(Φ₁, Φ₂) = ‖log(Φ₁) − log(Φ₂)‖
```

Here `Φ₁` and `Φ₂` are deformations with defined logarithms, `log` returns their generating fields, and `‖ · ‖` is a norm on vector fields. `dist` denotes the resulting distance. The subtraction takes place in the linear space of fields, and the subscripts distinguish the input maps.

When the norm comes from a Hilbert space inner product, the weighted least-squares mean in the linear coordinates is the weighted average. Exponentiating that average gives the Log-Euclidean mean in deformation coordinates.

```
Φ̄ = exp(Σᵢ wᵢ log(Φᵢ))
```

Here `Φ̄` is the mean deformation, `exp` maps a generating field to its flow endpoint, and `Φᵢ` is the deformation indexed by `i`. The notation `Σᵢ` sums over the input deformations, and `wᵢ` gives each input's weight in the weighted average. `log(Φᵢ)` is the field used for that input. Averaging these fields gives the least-squares representative in the logarithmic coordinates, with the interpretation as a mean under the stated distance applying where those coordinates are defined.

Two properties follow from how a stationary flow handles negative time and half time. Running the flow in the reverse direction changes the sign of its generator. Accordingly, comparing two maps after inverting both gives the same distance, and averaging their inverses returns the inverse of their mean.

```
log(Φ⁻¹) = −log(Φ)
```

Here `Φ⁻¹` is the inverse of the map `Φ`, `log` is taken on the corresponding branch, and `−` reverses the sign of the velocity field. In the distance formula this reverses the sign of the difference as a whole. A norm gives the same value for a field and its negative. In the mean formula the sign reversal carries through the weighted sum, and exponentiating the negative mean field reverses the average flow.

```
log(Φ^(½)) = ½ log(Φ)
```

Here `Φ^(½)` denotes the square root obtained along the same flow, and `½` is the half-time factor. The logarithm of that root is the original generator multiplied by the factor. Taking these roots before averaging scales all the fields in the same way. The resulting mean is the corresponding square root of the mean of the original maps.

The paper also identifies principal component analysis as an operation that could be carried out on the logarithms. It would describe variation among the input velocity fields in linear coordinates. The atlas application stays with the mean, which is sufficient to show the end-to-end procedure. There is no training stage for this average. The registrations are the observations, the gradient descents solve numerical subproblems for individual maps, and the mean is computed from their recovered fields.

### Experiments and results

#### Synthetic motions with known generating fields

In the synthetic experiments, the numerical conversions are tested using random planar deformations sampled on a regular grid of 40 × 40 points. The authors begin by drawing random displacement vectors on a coarser 11 × 11 regular grid. They use Gaussian white noise with a standard deviation of 0.2, with grid-point coordinates in [−5, 5]. Bilinear interpolation transfers the coarse vectors to the finer grid. This gives the fine-grid field spatial structure inherited from the coarse samples. Nearby fine-grid locations can draw on some of the same coarse vectors.

The synthetic design supplies an original field before either conversion has been run. This is important because a displacement map usually does not come with an independently specified generating velocity field. Here the experimenters can choose a field, generate a map from it, and compare a recovered logarithm with the original. They can also compare different numerical ways of generating the endpoint map while keeping the field fixed. The forward and reverse tests thus answer related questions with distinct reference quantities.

For the exponential test, the authors use classical fixed-step integration of the stationary differential equation as the reference. They integrate from each grid point using a step of 2⁻⁸ and treat the resulting endpoint transformation as a highly accurate numerical approximation. They then evaluate the relative discrepancy of the scaling-and-squaring transformation against this reference. This comparison tests how closely composition of sampled short maps reproduces a more finely stepped integration of the same field. The reference is itself a numerical estimate of the continuous motion.

With 7 squarings, the paper reports a typical average relative discrepancy of about 0.3% for the exponential on these random fields. The accuracy plot shows the relative discrepancy leveling near that value as the scaling depth increases. The visual examples show the last stages at a scaling of 2⁸. They illustrate how doubling the time represented by the current map makes the visible deformation grow while reusing a map on the same grid.

The logarithm test begins by creating an input map from the random field with the paper's exponential algorithm, using 8 squarings. The logarithm algorithm is then asked to recover the original velocity field from that map. The authors use 10 iterations for each gradient descent. The reported relative discrepancy compares the recovered field with the original field that generated the input. The average is about 3% with 6 successive square-root computations, and the accuracy curve tends toward that level. The visual display of the field and the recovery difference uses a rooting depth of `N = 8`, where `N` is the number of roots.

Mean relative discrepancy for two conversion tasks on the synthetic random deformations The forward map calculation has the smaller reported discrepancy, and the tasks use different reference quantities.

**The numbers**

| System or setting | % |
| --- | --- |
| Exponential with 7 squarings versus fixed-step integration (this paper) | 0.3 |
| Logarithm with 6 square roots versus the generating field | 3 |

Both rows report mean relative discrepancy for the same synthetic setup, with different objects in the comparisons. The first measures a difference in endpoint transformations. The second measures a difference in velocity fields, after map generation and recovery. The values characterize the two numerical stages under the paper's test conditions. Their ordering alone cannot show how they would compare under a common error definition.

There is also a difference in the independence of the references. The forward test compares the paper's method with a fixed-step scheme. In the inverse test, the input to be inverted was produced using the paper's forward method. The field used as the reference is known, but its correspondence with the discrete test map is mediated by a numerical exponential. The recovery discrepancy therefore characterizes the field-to-map-to-field calculation as set up in the experiment. It does not isolate the error from each numerical operation inside the logarithm.

#### Dense atlas-to-brain registrations

For the volumetric example the authors use an artificial T1 MR brain image from BrainWeb as an atlas. It is sampled on a 256 × 256 × 60 grid. The comparison group contains 9 T1 MR images. A robust block-matching algorithm first performs an affine alignment between each image and the atlas. This stage aligns the images globally. A dense nonlinear registration then finds the finer correspondence using a method that guarantees invertible global transformations. The objects entering the average are the nonlinear maps from atlas coordinates to the individual geometries.

This direction of the maps determines the meaning of the mean. Applied to the atlas, it moves atlas locations toward a geometry representative of the group. Since each input map starts from the atlas, each recovered field is also expressed relative to that common spatial domain. Averaging fields at a location therefore combines registrations of the same atlas location. The initial affine alignment is part of obtaining those registrations, while the calculation reported for the mean uses the transformations from the nonlinear stage.

Both conversions in the volumetric experiment use a scaling of 2⁸. Each gradient descent has a maximum of 10 iterations. On the 256 × 256 × 60 grid, the paper gives a typical time of 30s for an exponential and 60 minutes for a logarithm using an Intel M processor at 2.13GHz with 1 Go of RAM. These timings refer to the numerical conversion of a field or map, respectively. They put the main cost of the averaging procedure in obtaining logarithms from the supplied registrations, rather than in generating a map after the fields have been averaged.

The authors display the mean by showing how it deforms a regular grid. They also show a Jacobian map and a map of the magnitude of the mean deformation. The grid indicates the geometric effect of the deformation in space. The Jacobian describes how the map changes small neighborhoods, and its determinant indicates local volume change. The magnitude image shows where the average carries points far from their starting locations. Volume change and displacement magnitude capture different effects. A neighborhood can move appreciably while changing little in volume, and a local expansion depends on the pattern of nearby displacements.

The largest mean deformations appear in the ventricles, on the cortex, and near the skull. The authors relate these regions to differences between the artificial atlas and the group. In the ventricles the Jacobian map shows pronounced expansion, which is consistent with the ventricles being smaller in the atlas than in the other images on average. The result gives a spatially interpretable account of what the mean is doing to the atlas.

The comparison mean is calculated directly from the displacement fields of the same registrations. With these particular maps, it is broadly close to the Log-Euclidean mean. The authors show a map of the magnitude of the difference between the two mean deformations, and report local relative differences of the order of 30% in areas with large mean motion, such as the ventricles. The 30% describes a local difference between mean deformation estimates. It is neither a registration accuracy score nor a whole-volume discrepancy. There is no independently known mean deformation in this experiment against which to score either estimate.

The anatomical observation and the baseline comparison answer separate questions. The expansion of the ventricles shows that the Log-Euclidean mean yields an effect the authors can interpret using the atlas and the group. The comparison shows where the choice of averaging representation materially changes the estimated motion. Since the input registrations are the same for both means, the comparison does not depend on switching the upstream registration procedure. It also does not establish that the displacement mean actually lost invertibility on these images. The mathematical concern is that it has no general guarantee of preserving it.

### What the ablations show

The paper reports no component-removal ablations, but it varies the scaling depth in the synthetic conversions and compares the two averaging procedures on the same brain registrations.

#### What changes with the scaling depth

In the exponential experiment, changing the depth changes the duration of the starting step and the number of times the estimated map is subsequently squared. A shorter starting step is closer to the regime where the first-order approximation follows directly from the initial velocity. More squarings are then needed to obtain the full endpoint map. The paper's curve measures the combined effect of those changes on the sampled synthetic deformations. The mean discrepancy levels near 0.3%, with approximately that result already reported for 7 squarings.

This experiment varies an operational setting that controls the approximation. It provides evidence for the depth at which the chosen calculation approaches its reported accuracy on that grid. Each increase in depth changes both the initial approximation and the number of map compositions. The experiment therefore leaves open how much of the residual discrepancy is due to interpolation, finite spatial sampling, the approximation of the short flow, or numerical error in the reference integration. The plateau indicates the range of accuracy observed in the experiment, without assigning a cause to it.

For the logarithm, more roots mean that the last root represents a shorter motion. This makes its displacement a better candidate for a first-order logarithm, provided the intermediate roots are calculated with sufficient accuracy. The curve approaches about 3% mean relative discrepancy, and the authors report that level with 6 roots. Each additional rooting step also adds a numerical optimization and leads to a larger rescaling of the final displacement. The curve tests the outcome of those operations together.

The logarithm experiment keeps the gradient descent budget fixed at 10 iterations for each descent. It therefore gives no separate estimate of how the recovery changes when the descent is allowed to run longer. Nor does it compare forms of root initialization or alternative procedures for inverse estimation. Its controlled variable is the depth of the inverse scaling procedure. Its evidence concerns how the full calculation behaves as that depth changes under the specified budget.

#### What changing the averaging coordinates reveals

The brain example changes the representation used to compute a mean while keeping the source registrations fixed. In one calculation the average is taken over displacement vectors and converted into a map by adding the identity. In the other calculation the registrations are first represented as generators of stationary flows, and the average generator is converted to a map by integration. This is a comparison of complete procedures. It combines the difference in how the mean is defined with the approximations used to recover and exponentiate the fields.

The overall agreement is compatible with the first-order connection between a small map's displacement and its logarithm. The paper does not test that explanation by varying the magnitude of the input registrations in a controlled way. It directly shows where the two final estimates agree or diverge. Local relative differences of the order of 30% in some areas of large mean deformation indicate that the choice can matter most visibly in parts of the anatomy that move substantially in the resulting average.

The comparison also separates mathematical and empirical evidence about reversibility. In the Log-Euclidean construction the mean comes from the flow of an averaged field. This is the basis for its invertibility in the continuous setting. In the experiment the differences between mean maps are observed as spatial patterns. Those patterns neither provide a discrete invertibility audit nor establish that one mean is anatomically more accurate. They show that even when the estimates are broadly similar, the representation can change the average assigned to a region.

### Limitations

#### Limits the authors state

The authors present the logarithm as a local construction around the identity. Their directional calculation shows how a small change in a field produces an equally small change in the map at first order. They expressly leave open the full argument in the infinite-dimensional setting, including the regularity needed of the field and differentiability of the exponential. The paper therefore motivates the local existence and uniqueness claim and demonstrates numerical behavior on selected data. It does not identify a precise neighborhood in which all the required conclusions hold.

This qualification matters when interpreting a stationary velocity as a representation of a supplied map. The algorithms can attempt to take roots and return a field. Establishing that the field is the principal logarithm calls for a suitable branch on which the exponential can be inverted, with the root choices consistent with that branch. The authors suggest from preliminary experience with three-dimensional registration that practical trouble may be confined to very large deformations. This suggestion comes from their numerical experience. They do not specify a deformation size that guarantees the existence of the logarithm or show how to detect such a threshold on new inputs.

The application also has a delimited purpose. The paper demonstrates computation of a mean from the nonlinear maps in an atlas experiment. The authors mention uses in comparing or constraining registration procedures, and in studying image and shape variation while preserving topology. They leave those applications as prospects. Principal component analysis is likewise described through the possibility of applying it in the linear coordinates, without an experimental analysis of principal components.

#### Limits visible in the experimental setup

The synthetic tests draw on a particular family of spatially interpolated random fields. The coarse-grid sampling and interpolation prescribe the kind of variation the solver encounters on the finer grid. The reported mean discrepancies give a sense of performance for those fields. They do not show how errors change with different grid resolutions, spatial patterns, or deformation magnitudes, and the reported averages do not establish how much individual cases vary. A small mean discrepancy can coexist with spatially concentrated errors, which an average alone cannot locate.

The exponential comparison uses a finely stepped numerical reference, so the relative discrepancy is measured against that estimate of the endpoint transformation. The logarithm comparison uses an input obtained by the fast exponential, which means the recovery result inherits the accuracy of the map-generation step. The experiments do not provide independent error estimates for every square-root solve or for the map inversions used to compute the square-root gradients. This matters when using the figures to diagnose failures. The curves can show that the final answer changes with depth while leaving the source of a particular error unidentified.

Regular-grid evaluation also has a different status from the continuous flow argument. The analytical reason for reversibility is that following a regular stationary flow backwards undoes its forward action. The computed exponential is assembled from a first-order start and interpolated compositions. The use of continuous interpolation gives values between grid points, but continuity of the interpolated map alone cannot establish that it is one-to-one. The paper displays a Jacobian map for the mean and interprets its expansion in the ventricles. It does not establish a general guarantee for every numerical map under the discretization, across the whole domain and for all fields considered by the framework.

Likewise, the least-squares interpretation of the mean depends on the logarithmic coordinates and the Hilbert norm. Once observations have usable coordinates, their field average is a well-defined vector-space calculation. Applying the statistical interpretation to the reconstructed map assumes the relevant logarithmic branch is available for that result. The paper gives the construction and its symmetry properties in their intended domain. Its local argument does not settle how large a set of registrations that domain can accommodate or how one should handle collections that extend beyond it.

The anatomical example is based on one artificial atlas and a group of 9 T1 images. The shared affine alignment and the subsequent registration method shape the maps that enter the analysis. The mean therefore summarizes deformations relative to that atlas and those registration choices. The observed ventricular expansion has a rationale in the dataset, but the study does not establish how the same analysis would behave with another atlas, a different population, or different registrations. The comparison with displacement averaging reports discrepancies between estimates and supplies no independent target anatomy with which to adjudicate those discrepancies.

Finally, the timings show that computational practicality depends on which direction of conversion is needed. The volumetric experiment reports a much longer calculation for a logarithm than for an exponential. A statistic built from already available logarithms would face a different cost from a statistic built from sampled endpoint maps. The paper reports timings for its own grid and hardware configuration. It supplies no scaling study over volume sizes, solver budgets, or groups of registrations, so those numbers characterize the demonstrated computation without establishing a general runtime prediction.

### What came after

The paper's proposed extensions give the direction of its follow-on questions. In registration evaluation, a collection of maps from a common atlas could be compared through their generating fields. The logarithmic distance would give a way to quantify differences, and the mean would describe systematic deformation while retaining the flow construction. Using the resulting statistics to constrain a registration would require a further experiment that relates field variation to registration behavior. The authors identify that possibility without demonstrating such a constraint.

They also point towards image and shape statistics that preserve topology. A field computed from statistics on several deformations generates a reversible transformation when the continuous flow construction applies. This is what makes the representation relevant to generating shape variation while keeping correspondences with a reference. The paper's suggestion of principal component analysis belongs to this line of work. It would move the analysis from an average deformation to directions of variation among the recovered fields, with the exponential supplying the connection back to changes in geometry.

No subsequent citing studies are identified for this account. These directions are the authors' proposals, and the demonstrated result is the mean of the atlas-to-subject registrations.

## Cite

Cite as Vincent Arsigny, Olivier Commowick, Xavier Pennec and Nicholas Ayache. 2006. A Log-Euclidean Framework for Statistics on Diffeomorphisms. Lecture notes in computer science.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1007/11866565_113](https://doi.org/10.1007/11866565_113)

```bibtex
@inproceedings{arsigny2006log,
  title = {{A Log-Euclidean Framework for Statistics on Diffeomorphisms}},
  author = {Vincent Arsigny, Olivier Commowick, Xavier Pennec and Nicholas Ayache},
  booktitle = {Lecture notes in computer science},
  year = {2006},
  doi = {10.1007/11866565\_113},
  url = {https://doi.org/10.1007/11866565_113}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
