text
stringlengths 0
643k
⌀ | meta
stringlengths 137
151
⌀ |
---|---|
# Introduction
Lie conformal (super)algebras, originally introduced by Kac in, encode an axiomatic description for the singular part of the operator product expansion of chiral fields in two-dimensional conformal field theory. They are very closely related to vertex algebras (cf. ) by the same way as Lie algebras correspond to their universal enveloping algebras. On the other hand, the theory of Lie conformal (super)algebras give us powerful tools for the study of infinite-dimensional Lie (super)algebras and associative algebras satisfying the locality property described in. The conformal (super)algebras have drawn much attention in branches of physics and mathematics since the introduction. The structure theory, representation theory and cohomology theory of finite (i.e., finitely generated as \(\C[\pa]\)-modules) Lie conformal algebras have been well developed (cf. ), and finite simple Lie conformal superalgebras were classified in and their representation theories were developed in. The object investigated in this paper is a Lie conformal superalgebra closed related to the loop super-Virasoro algebra \(\mathfrak{sl}\) whose structures were studied in. It is defined as a infinite-dimensional Lie superalgebra with a basis \(\{L_{\al,i}, G_{\mu,j}\mid \al,i,j\in\Z, \mu\in \frac12+\Z\}\) satisfying the following commutation relations: \[\begin{aligned}
\label{p2.1} [L_{\al,i},L_{\beta,j}]=(\al-\beta)L_{\al+\beta,i+j},\ [L_{\al,i},G_{\mu,j}]=(\frac{\al}{2}-\mu)G_{\al+\mu,i+j},\ [G_{\mu,i},G_{\nu,j}]=2L_{\mu+\nu,i+j}, \end{aligned}\] the even and odd parts of which are \(\mathfrak{sl}^{\bar{0}}={\rm span}\{L_{\al,i}\mid\al,i\in\Z\}\) and \(\mathfrak{sl}^{\bar{1}}={\rm span}\{G_{\mu,j}\mid j\in\Z,\mu\in \frac12+\Z\}\), respectively. Clearly, \(\mathfrak{sl}^{\bar{0}}\) is just the loop Virasoro algebra (cf. ) and \(\mathfrak{sl}^{\bar{1}}\) is its module. Hence, the loop super-Virasoro algebra can be seen as a super extension of the loop Virasoro algebra. Motivated by the idea from we associate a Lie conformal superalgebra with the loop super-Virasoro algebra. It is called the *loop super-Virasoro conformal superalgebra*, denoted by \(\mathfrak{cls}\), which is a \(\C[\pa]\)-module \(\mathfrak{cls}=(\bigoplus_{i\in\Z}\C[\pa]L_i)\oplus(\bigoplus_{i\in\Z}\C[\pa]G_i)\) with a \(\C[\partial]\)-basis \(\{L_i,G_i\mid i\in\Z\}\) satisfying the following \(\lambda\)-brackets: \[\begin{aligned}
&&[L_{i\ \lambda} L_j]=(\partial+2\lambda) L_{i+j},\ [L_{i\ \lambda} G_j]=(\partial+\frac32\lambda) G_{i+j},\label{d1.2}\\ \ &&[G_{i\ \lambda} L_j]=(\frac12\partial+\frac32\lambda) G_{i+j}, \ [G_{i\ \lambda} G_j]=2L_{i+j}, \forall i,j\in\Z. \label{d1.3} \end{aligned}\] Note that this is an infinite simple Lie conformal superalgebra, containing the loop Virasoro Lie conformal algebra \(\mathfrak{clv}=\bigoplus_{i\in\Z}\C[\pa]L_i\) (see ) as its subalgebra. As pointed out previously, the theory of finite simple Lie conformal (super)algebras were well developed, but so far there is no systematic theory for the infinite case. So it is interesting and necessary to develop the theory for infinite simple Lie conformal superalgebras. This is one of our motivations for studying the loop super-Virasoro conformal superalgebra. We shall study the superderivation algebra of \(\mathfrak{cls}\) and free (\(\Z\)-graded) \(\mathfrak{cls}\)-modules of rank \(\leq2\). One interesting aspect is that free (\(\Z\)-graded) \(\mathfrak{cls}\)-modules of rank 1 are trivial, which is totally different from the loop Virasoro Lie conformal algebra case (all \(V_{a,b}\) and \(V_{A,b}\) are its nontrivial conformal modules of rank one); and the other interesting aspect is that the even or odd part of a \(\Z\)-grade free \(\mathfrak{cls}\)-module of rank two has the form \(V_{A,b}\) if and only if the other part is \(A_{\frac12,b}\). We remark that an important strategy frequently used in the present paper is to pass modules over \(\mathfrak{cls}\) to modules over \(\mathfrak{clv}\). This paper is organized as follows. In Sect. 2, we collect some facts and notions related to Lie conformal superalgebras. In Sect. 3, we determinate conformal superderivations of \(\mathfrak{cls}\). The Sect. 4 is devoted to giving the classification of all nontrivial free \(\mathfrak{cls}\)-modules of rank less than two. We also determine the irreducibility of these modules and therefore classify all inequivalent irreducible free \(\mathfrak{cls}\)-modules of rank two. And free \(\Z\)-graded \(\mathfrak{cls}\)-modules of rank less than or equal to two are classified in Sect. 5. Moreover, all irreducible submodules of free \(\Z\)-graded \(\mathfrak{cls}\)-modules of rank two are completely determined. Throughout this paper, all vector spaces are assumed to be over the complex field \(\C\) and all linear maps are \(\C\)-linear. The main results of this paper are summarized in Theorems [\[main3\]](#main3){reference-type="ref" reference="main3"}, [\[freeofranktwo\]](#freeofranktwo){reference-type="ref" reference="freeofranktwo"}, [\[main4-2\]](#main4-2){reference-type="ref" reference="main4-2"} and [\[main5\]](#main5){reference-type="ref" reference="main5"}.
# Preliminaries
In this section, we recall some notions related to Lie conformal superalgebras and conformal modules from. We say that a vector space \(U\) is \(\Z_2\)-graded if \(U=U^{\bar0}\oplus U^{\bar1}\), and \(x\in U^{\bar i}\) is called \(\Z_2\)-homogenous and write \(|x|= i\). For any two \(\Z_2\)-graded vector spaces \(U\) and \(V\), a linear map \(f: U\rightarrow V\) is called homogenous of degree \(\bar i\in\Z_2\) if \(f(U^{\bar j})\subseteq V^{\overline{i+j}}\) for all \(\bar j\in\Z_2\).
It follows from the axioms in ([\[m2.2\]](#m2.2){reference-type="ref" reference="m2.2"}) that \[\begin{aligned}
=f(-\lambda)[a_\lambda b]\ \mbox{and}\ [a_\lambda (f(\partial)b)]=f(\partial+\lambda)[a_\lambda b],\quad \forall f(\pa)\in\C[\pa]. \end{aligned}\]
The rank of an \(\mathcal A\)-module \(V\) is defined to be the rank of \(V\) as \(\C[\partial]\)-module.
Note that the loop super-Virasoro conformal superalgebra \(\mathfrak{cls}=(\mathfrak{cls})^{\bar0}\oplus(\mathfrak{cls})^{\bar1}\) is \(\Z_2\)-graded with \((\mathfrak{cls})^{\bar 0}=\oplus_{i\in\Z}\C[\partial]L_i\) and \((\mathfrak{cls})^{\bar1}=\oplus_{i\in\Z}\C[\partial]G_i\) such that \([{(\mathfrak{cls})^{\alpha}} \ _\lambda (\mathfrak{cls})^{\beta}]\subseteq (\mathfrak{cls})^{\alpha+\beta}[\lambda]\) for any \(\alpha,\beta\in\Z_2\), and on the other hand \(\mathfrak{cls}=\oplus_{i\in\Z}(\mathfrak{cls})_i\) is also \(\Z\)-graded with \((\mathfrak{cls})_i=\C[\partial]L_i\oplus\C[\partial]G_i\) for each \(i\) in the sense of Definition [\[intermod\]](#intermod){reference-type="ref" reference="intermod"}.
# Conformal superderivations
A homogenous linear map \(D_\lambda:\mathcal{A}\rightarrow \mathcal{A}[\lambda]\) of degree \(\bar i\in\Z_2\) is called a *homogeneous conformal superderivation of degree* \(\bar{i}\) if the following conditions hold: \[\begin{aligned}
D_\lambda(\partial a)=(\partial+\lambda)D_\lambda a,\ D_\lambda[a_\mu b]=[[D_\lambda a]_{\lambda+\mu} b]+(-1)^{i|a|}[a_\mu [D_\lambda b]],\quad \forall a,b\in \mathcal A. \end{aligned}\] And we write \(D\) instead of \(D_\lambda\) for simplicity. Denote the set of all conformal superderivations of degree \(\alpha\in\Z_2\) by \({\rm CDer}^\alpha(\mathcal{A})\). Then we call \({\rm CDer(\mathcal{A})}={\rm CDer^{\bar0}(\mathcal{A})}\oplus {\rm CDer^{\bar1}(\mathcal{A})}\) the conformal superdirivation algebra of \(\mathcal A\) and each element of \({\rm CDer(\mathcal A)}\) a superderivation of \(\mathcal A\). For any \(a\in \mathcal{A}\), one can see easily that the linear map \(({\rm ad}_a)_\lambda: \mathcal{A}\rightarrow \mathcal{A}[\lambda]\) given by \(({\rm ad}_a)_\lambda b=[a_\lambda b]\) for \(b\in \mathcal{A}\) is a conformal superderivation, which is called an *inner conformal superderivation* of \(\mathcal A\). Denote the set of all inner conformal superdirivations of \(\mathcal A\) by \({\rm CInn(\mathcal A)}\). Now we are ready to give the main result of this section, which establishes the equality between the two sets \({\rm CDer}(\mathfrak{cls})\) and \({\rm CInn}(\mathfrak{cls})\).
In this case, assume that \[D_\lambda^c(L_i)=f_i(\partial,\lambda)L_{i+c}\quad {\rm and}\quad D_\lambda^c(G_i)=g_i(\partial,\lambda)G_{i+c}\]for some \(f(\partial, \lambda), g_i(\partial, \lambda)\in\C[\partial,\lambda]\). Applying \(D^c_{\lambda}\) to \([L_{0\ \mu} L_i]=(\partial+2\mu) L_{i}\) and comparing the coefficients of \(L_{i+c}\) give \[(\partial+\lambda+2\mu)f_i(\partial,\lambda)=(\partial +2\lambda+2\mu)f_0(-\lambda-\mu,\lambda)+(\partial+2\mu)f_i(\partial+\mu,\lambda)\] Setting \(\mu=0\) in the formula above, we get \[f_i(\partial,i)=(\partial+2\lambda)\frac{f_0(-\lambda,\lambda)}\lambda.\] Similarly, it follows from \([L_{0\ \mu} G_j]=(\partial+\frac32\mu) G_{j}\) that \[\label{m4.1} (\partial+\lambda+\frac32\mu)g_{j}(\partial,\lambda)=(\partial+\frac{3(\lambda+\mu)}2)f_0(-\lambda-\mu,\lambda) +(\partial+\frac{3\mu}2)g_j(\partial+\mu,\lambda).\] Setting \(\mu=0\) in ([\[m4.1\]](#m4.1){reference-type="ref" reference="m4.1"}), one has \[g_j(\partial,\lambda)=(\partial+\frac{3\lambda}2)\frac{f_0(-\lambda,\lambda)}{\lambda}.\] Thus, \(D^c_\lambda={\rm ad}_{\frac{f_0(\partial,-\partial)}{-\partial}L_c}\).
Assume that \(D^c_\lambda(L_i)=g_i(\partial,\lambda)G_{i+c}\), \(D^c_\lambda(G_i)=f_i(\partial,\lambda)L_{i+c}\). It follows from applying \(D^c_{\lambda}\) to \([L_{0\ \mu} L_i]=(\partial+2\mu) L_{i}\) that \[\begin{aligned}
(\partial+\lambda+2\mu)g_i(\partial,\lambda) =g_0(-\lambda-\mu,\lambda)(\frac12\partial+\frac32(\lambda+\mu))G_{i+c}+g_i(\partial+\mu,\lambda)(\partial+\frac{3\mu}2), \end{aligned}\] from which by setting \(\mu=0\) one has \[g_i(\partial,\lambda)=(\frac12\partial+\frac32\lambda)\frac{g_0(-\lambda,\lambda)}{\lambda}.\] Using \([{L_0}\ _\mu G_i]=(\partial+\frac32\mu)G_i\), one has \[\begin{aligned}
(\partial+\lambda+\frac{3\mu}2)f_i(\partial,\lambda) =\big(2g_0(-\lambda-\mu,\lambda)-f_i(\partial+\mu,\lambda)(\partial+2\mu)\big). \end{aligned}\] from which by choosing \(\mu=0\) gives \[f_i(\partial,\lambda)=\frac{2g_0(-\lambda,\lambda)}{\lambda}.\] Whence one can see that \[D^c_\lambda={\rm ad}_{\frac{g_0(\partial,-\partial)}{-\partial}G_c}.\] So in either case, we see that \(D^c={\rm ad}_{x_c}\) for some \(x_c\in (\mathfrak{cls})_c\), is inner, completing the assertion. Note from the definition of \(D^c\) we see that \(D=\sum_{c\in\Z}D^c\). In particular, \[D(L_0)=\sum_{c\in\Z}{\rm ad}_{x_c}(L_0)=\sum_{c\in\Z, x_c\neq 0}{\rm ad}_{x_c}(L_0)=\sum_{c\in\Z, x_c\neq 0}{\rm ad}_{x_c}(L_0),\] which must be a finite sum by the fact that \(D\) is a linear map from \(\oplus_{i\in\Z}(\mathfrak{cls})_i\) to \(\oplus_{i\in\Z}(\mathfrak{cls})_i[\lambda]\). Now it follows from the fact \(0\neq {\rm ad}_{y_c}(L_0)\in (\mathfrak{cls})_c\) for any \(0\neq y_c\in (\mathfrak{cls})_c\) that all but finitely many \(x_c\) are zero, and therefore \(\sum_{c\in\Z}x_c\in\mathfrak{cls}\). This implies \(D=\sum_{c\in\Z}{\rm ad}_{x_c}={\rm ad}_{\sum_{c\in\Z}x_c}\) is an inner conformal superderivation. ◻
The aim of this section is to classify all free \(\mathfrak{cls}\)-modules of rank two. In fact, the two classes of \(\mathfrak{cls}\)-modules constructed as above exhaust all free \(\mathfrak{cls}\)-modules of rank two.
Let \(V=V^{\bar{0}}\oplus V^{\bar{1}}\) be a nontrivial free \(\mathfrak{cls}\)-module of rank two. Then both \(V^{\bar 0}\) and \(V^{\bar 1}\) are nontrivial. To see this, suppose on the contrary that \(V^{\bar i}=0\), then \(G_j\ _\lambda V^{\overline {i+1}}=0\) and hence \(L_j\ _\lambda V^{\overline {i+1}}=0\) for any \(j\in\Z\). So in this case \(V\) is a trivial \(\mathfrak{cls}\)-module, a contradiction. Hence both \(V^{\bar{0}}=\C[\partial]x\ {\rm and}\ V^{\bar{1}}=\C[\partial]y\) are \(\C[\partial]\) and hence \(\mathfrak{clv}\)-modules of rank one. Observe that \(V\) cannot be a trivial \(\mathfrak{clv}\)-module, since the relations \([L_{i\ \lambda} G_j]=(\partial+\frac32\lambda) G_{i+j}\) for any \(i,j\in\Z\) would imply the actions of \(G_i\) on \(V\) are all trivial. Now it follows from that there exist \(a, a^\prime, b, b^\prime, c,d\in\C\) such that \[L_i\ _\lambda x=c^i(\pa+a\lambda+b)x,\ L_i \ _\lambda y={d}^i(\pa+a^\prime\lambda+b^\prime)y, \ \forall i\in\Z.\] Note that at least one of \(c\) and \(d\) is nonzero, without loss of generality, we assume that \(c\neq 0\). In order to determine the module structure of \(\mathfrak{cls}\) on \(V\) we only need to give the explicit actions of \(G_i\) on \(x\) and \(y\). Assume \[\begin{aligned}
G_i\ _\lambda x=c^ig_i(\partial,\lambda)y\quad {\rm and} \quad G_i\ _\lambda y=c^ig^\prime_i(\partial,\lambda)x\quad {\rm for\ some}\ g_i(\partial,\lambda), g^\prime_i(\partial,\lambda)\in\C[\pa,\lambda]. \end{aligned}\] It follows from \([G_i\ _\lambda G_j]_{\lambda+\mu}x=2L_{i+j}\ _{\lambda+\mu}x\) that \[\begin{aligned}
&&g_i(\pa+\lambda, \mu)g^{\pr}_j(\pa,\lambda)+g_i(\pa+\mu,\lambda)g^{\pr}_j(\pa,\mu)=\pa+a(\lambda+\mu)+b,\quad \forall i,j\in\Z.\label{d4.5} \end{aligned}\] In particular, setting \(\lambda=\mu\) and \(i=j\) in above formula one has \[\label{m4.7} g_i(\pa+\lambda,\lambda)g^{\pr}_i(\pa,\lambda)=\pa+2a\lambda+b,\]which immediately implies \[g_i(\pa,\lambda)\neq 0,\ g^{\pr}_i(\pa,\lambda)\neq 0,\ \forall i\in\Z.\] This together with \([G_i\ _\lambda G_j]_{\lambda+\mu}y=2L_{i+j}\ _{\lambda+\mu}y\) forces \(d\neq 0\). So we have arrived at the following lemma.
Using this lemma, we now can give the proof of the theorem above. Note that for any \(i\in\Z\) by [\[m4.7\]](#m4.7){reference-type="eqref" reference="m4.7"} either \({\rm deg}_{\partial}g_{i}(\partial,\lambda)=1\) and \({\rm deg}_{\partial}g_{i}^\prime(\partial,\lambda)=0\) or \({\rm deg}_{\partial}g_{i}(\partial,\lambda)=0\) and \({\rm deg}_{\partial}g_{i}^\prime(\partial,\lambda)=1\).
It follows from \([L_j\ _\lambda G_i]_{\lambda+\mu}x=(\pa+\frac32\lambda)G_{j+i}\ _{\lambda+\mu} x\) for any \(i,j\in\Z\) that \[\begin{aligned}
g_i(\pa+\lambda,\mu)(d/c)^j(\pa+a^\prime\lambda+b^\prime)-g_i(\pa,\mu)(\pa+\mu+a\lambda+b) =(\frac12\lambda-\mu)g_{j+i}(\pa,\lambda+\mu).\label{d4.4} \end{aligned}\] Now view terms on both sides of [\[d4.4\]](#d4.4){reference-type="eqref" reference="d4.4"} as polynomials in the variable \(\partial\) with coefficients in \(\C[\lambda,\mu]\), then the coefficient of \(\partial^2\) in the left hand side must be zero, since \({\rm deg}_{\partial} g_{i+j}(\partial, \lambda+\mu)\leq 1\). This forces \(d=c\) and hence [\[d4.4\]](#d4.4){reference-type="eqref" reference="d4.4"} turns out to be \[\begin{aligned}
g_i(\pa+\lambda,\mu)(\pa+a^\prime\lambda+b^\prime)-g_i(\pa,\mu)(\pa+\mu+a\lambda+b)=(\frac12\lambda-\mu)g_{j+i}(\pa,\lambda+\mu).\label{d4.41}\end{aligned}\] Furthermore, by choosing \(\lambda=0\) in [\[d4.41\]](#d4.41){reference-type="eqref" reference="d4.41"} and comparing the coefficients of \(\partial\mu\) one can see that \({\rm deg}_{\partial}g_j(\partial,\lambda)=1\) for all \(j\in\Z\). This allows us for each \(i\in\Z\) to write \[\begin{aligned}
g_i(\partial,\lambda)=\partial s_i(\lambda)+t_i(\lambda)\quad{\rm for\ some}\ s_i(\lambda),t_i(\lambda)\in\C[\lambda].\end{aligned}\] Using these expressions, [\[d4.41\]](#d4.41){reference-type="eqref" reference="d4.41"} is equivalent to \[\begin{aligned}
& s_i(\mu)\big((a^\prime-a)\lambda+b^\prime-b-\mu\big)+\lambda s_i(\mu)=(\frac12\lambda-\mu)s_{i+j}(\lambda+\mu)\label{eq-4.42}\\ &{\rm and} \quad t_i(\mu)\big((a^\prime-a)\lambda+b^\prime-b-\mu\big)+\lambda(a^\prime\lambda+b^\prime) s_i(\mu)=(\frac12\lambda-\mu)t_{i+j}(\lambda+\mu)\label{eq-4.43}. \end{aligned}\] It is not hard to observe from [\[eq-4.42\]](#eq-4.42){reference-type="eqref" reference="eq-4.42"} that all \(s_i(\lambda)\) are equal to a nonzero constant \(\gamma\), and also that \(a^\prime=a-\frac12\), \(b^\prime=b\). Moreover, replacing \(y\) by \(\gamma y\) we may assume that \(\gamma=1\). At this very moment, [\[eq-4.43\]](#eq-4.43){reference-type="eqref" reference="eq-4.43"} can be rewritten as \[\label{eq-4.43-1}-(\frac12\lambda+\mu)t_i(\mu)+(a-\frac12)\lambda^2+b\lambda =(\frac12\lambda-\mu)t_{i+j}(\lambda+\mu),\] from which one can see that \({\rm deg}t_i(\lambda)\leq 1\) and thus has the form \(t_i(\lambda)=\alpha_i\lambda+\beta_i\) for any \(i\in\Z\) and some \(\alpha_i,\beta_i\in\C.\) Substituting these explicit expressions into [\[eq-4.43-1\]](#eq-4.43-1){reference-type="eqref" reference="eq-4.43-1"} and carrying a direct computation show that \(t_i(\lambda)=(2a-1)\lambda+b\) for any \(i\in\Z\). To sum up, so far under the assumption \[L_i\ _\lambda x=c^i(\pa+a\lambda+b)x\] we have obtained the following actions\[\begin{aligned}
L_i\ _\lambda y=c^i(\pa+(a-\frac12)\lambda+b)y\quad {\rm and}\quad G_i\ _\lambda x=c^i(\pa+(2a-1)\lambda+b)y. \end{aligned}\] Then by the remark at the very beginning of this proof, \(g_i^\prime(\lambda):=g_i^\prime(\partial,\lambda)\in\C[\lambda]\). It follows from \([G_i\ _\lambda G_j] \ _{\lambda+\mu}y=2L_{i+j}\ _{\lambda+\mu}y\) that \[(\partial+(2a-1)\lambda+b)g_j^\prime(\mu)+(\partial+(2a-1)\mu+b)g_i^\prime(\lambda)=2\big(\partial+(a-\frac12)(\lambda+\mu)+b\big),\] which gives immediately rise to \(g^\prime_i(\lambda)=1\) for all \(i\in\Z\). Whence \(V\cong M^\prime_{a,b,c}.\)
For this case, similar arguments as for the previous one can be adopted to show that \(V\cong M_{a,b,c}.\) We conclude this section with the following classification result, which is a consequence of Proposition [\[prop-5.1\]](#prop-5.1){reference-type="ref" reference="prop-5.1"} and Theorem [\[freeofranktwo\]](#freeofranktwo){reference-type="ref" reference="freeofranktwo"}.
# Free \(\Z\)-graded modules of rank \(\leq 2\)
Let us first collect some results concerning nontrivial free \(\Z\)-graded \(\mathfrak{clv}\)-modules of rank one. Two classes of such modules were introduced on the free \(\C[\partial]\)-module \(\oplus_{i\in\Z}\C[\partial]v_i\) in :
- Denote by \(V_{a,b}\) when \(\oplus_{i\in\Z}\C[\partial]v_i\) is equipped with the \(\mathfrak{clv}\)-module structure given by \[L_i\ _\lambda v_j=(\pa+a\lambda+b)v_{i+j},\quad \forall i\in\Z,\] where \(a,b\in\C\);
- Denote by \(V_{A,b}\) when \(\oplus_{i\in\Z}\C[\partial]v_i\) is equipped with the \(\mathfrak{clv}\)-module structure given by \[L_i\ _\lambda v_j=\begin{cases}(\pa+b)v_{i+j},&\mbox{ if}\ (a_j,a_{i+j})=(0,0),\\ (\pa+\lambda+b)v_{i+j},&\mbox{ if}\ (a_j,a_{i+j})=(1,1),\\ v_{i+j},&\mbox{ if}\ (a_j,a_{i+j})=(0,1),\\ (\pa+b)(\pa+\lambda+b)v_{i+j},&\mbox{ if}\ (a_j,a_{i+j})=(1,0), \end{cases}\]
where \(A=(a_i)_{i\in\Z}\) is an element of the product \(\prod_{i\in\Z}\Z_2\) of \(\{\Z_2\}_{i\in\Z}\). Note that \(V_{\{0\}_{i\in\Z},b}\) coincides with \(V_{0,b}\) and \(V_{\{1\}_{i\in\Z},b}\) coincides with \(V_{1,b}.\) We cite the classification result of nontrivial free \(\Z\)-graded \(\mathfrak{clv}\)-modules of rank one from as a lemma here.
Let \(\{x_i\mid i\in\Z\}\) and \(\{y_i\mid i\in\Z\}\) be two \(\C[\partial]\)-linearly independent sets, and form the \(\C[\partial]\)-module \(V=\bigoplus_{i\in\Z}(\C[\partial]x_i\oplus\C[\partial]y_i)\). For any \(a,b\in\C\) and \(A\in\prod_{i\in\Z}\Z_2\), we next give four different actions of \(\mathfrak{cls}\) on \(V\) such that \(\oplus_{i\in\Z}\C[\partial]x_i\) and \(\oplus_{i\in\Z}\C[\partial]y_i\) have the form \(V_{a,b}\) or \(V_{A,b}\) as \(\mathfrak{clv}\)-modules: \[\begin{aligned}
\label{m6.3} \noindent{\rm (i)}&&\ L_i\ _\lambda x_j=(\pa+a\lambda+b)x_{i+j},\quad\quad\quad\quad L_i\ _\lambda y_j=(\pa+(a-\frac12)\lambda+b)y_{i+j},\nonumber\\ &&\ G_i\ _\lambda x_j=(\pa+(2a-1)\lambda+b)y_{i+j},\quad G_i\ _\lambda y_j=x_{i+j}; \\ {\rm (ii)} &&L_i\ _\lambda x_j=(\pa+a\lambda+b)x_{i+j},\quad\quad \quad \quad ~ L_i\ _\lambda y_j=(\pa+(a+\frac12)\lambda+b)y_{i+j},\nonumber\\ && G_i\ _\lambda x_j=y_{i+j}, \quad\quad\quad \quad\quad\quad \quad\quad\quad~ ~ G_i\ _\lambda y_j=(\pa+2a\lambda+b)x_{i+j};\\ {\rm (iii)}&& L_i\ _\lambda x_j=(\pa+\frac12\lambda+b)x_{i+j}\quad({\rm the\ case}\ a=\frac12);\nonumber\\ &&L_i\ _\lambda y_j=\begin{cases}(\pa+b)y_{i+j},&\mbox{ if}\ (a_j,a_{i+j})=(0,0),\\ (\pa+\lambda+b)y_{i+j},&\mbox{ if}\ (a_j,a_{i+j})=(1,1),\\ y_{i+j},&\mbox{ if}\ (a_j,a_{i+j})=(0,1),\\ (\pa+b)(\pa+\lambda+b)y_{i+j},&\mbox{ if}\ (a_j,a_{i+j})=(1,0);\nonumber\\ \end{cases}\\ && G_i\ _\lambda x_j=\begin{cases}(\pa+b)y_{i+j},&\mbox{ if}\ (a_j,a_{i+j})\in\{(0,0),(1,0)\},\\ y_{i+j},&\mbox{ if}\ (a_j,a_{i+j})\in\{(1,1),(0,1)\};\\ \end{cases}\\ && G_i\ _\lambda y_j=\begin{cases}(\pa+\lambda+b)x_{i+j},&\mbox{ if}\ (a_j,a_{i+j})\in\{(1,1),(1,0)\},\\ x_{i+j},&\mbox{ if}\ (a_j,a_{i+j})\in\{(0,0),(0,1)\}.\nonumber \end{cases} \end{aligned}\] \[\begin{aligned}
{\rm (iv)} &&L_i\ _\lambda x_j=\begin{cases}(\pa+b)x_{i+j},&\mbox{ if}\ (a_j,a_{i+j})=(0,0),\\ (\pa+\lambda+b)x_{i+j},&\mbox{ if}\ (a_j,a_{i+j})=(1,1),\\ x_{i+j},&\mbox{ if}\ (a_j,a_{i+j})=(0,1),\\ (\pa+b)(\pa+\lambda+b)x_{i+j},&\mbox{ if}\ (a_j,a_{i+j})=(1,0);\nonumber \end{cases}\\ && L_i\ _\lambda y_j=(\pa+\frac12\lambda+b)y_{i+j}\quad({\rm the\ case}\ a=\frac12);\nonumber\\ && G_i\ _\lambda x_j=\begin{cases}(\pa+\lambda+b)y_{i+j},&\mbox{ if}\ (a_j,a_{i+j})\in\{(1,1),(1,0)\},\\ y_{i+j},&\mbox{ if}\ (a_j,a_{i+j})\in\{(0,0),(0,1)\};\nonumber \end{cases}\\ && G_i\ _\lambda y_j=\begin{cases}(\pa+b)x_{i+j},&\mbox{ if}\ (a_j,a_{i+j})\in\{(0,0),(1,0)\},\\ x_{i+j},&\mbox{ if}\ (a_j,a_{i+j})\in\{(1,1),(0,1)\};\\ \end{cases}\\ \end{aligned}\] Denote \(V\) by \(M_{a,b}\), \(M^\prime_{a,b}\), \(M_{A,b}\), \(M^\prime_{A,b}\) in the cases (i)-(iv), respectively. One can verify under the given actions, \(M_{a,b}\), \(M^\prime_{a,b}\), \(M_{A,b}\) and \(M^\prime_{A,b}\) becomes \(\mathfrak{cls}\)-modules. Note that they are all \(\Z_2\)-graded with the even part \(\oplus_{i\in\Z}\C[\partial]x_i\) and the odd part \(\oplus_{i\in\Z}\C[\partial]y_i\), and also \(\Z\)-graded with \(\C[\partial]x_i\oplus\C[\partial]y_i\) as their \(i\)-th gradation. So the four classes of modules above are all free \(\Z\)-graded \(\mathfrak{cls}\)-modules of rank two.
Assume that \(V^{\bar0}=V_{a,b}\). This entails us to write explicitly the expressions of \(f_{i,j}(\partial,\lambda)\) as: \[f_{i,j}(\partial,\lambda)=\pa+a\lambda+b.\] It follows from \([G_i\ _\lambda G_j]_{\lambda+\mu}x_k=2L_{i+j}\ _{\lambda+\mu}x_k\) that \[\begin{aligned}
g_{j,k}(\pa+\lambda, \mu)g^{\pr}_{i,j+k}(\pa,\lambda)+g_{i,k}(\pa+\mu,\lambda)g^{\pr}_{j,i+k}(\pa,\mu)=2\big(\pa+a(\lambda+\mu)+b\big),\ \forall\ i,j\in\Z.\label{m5.5} \end{aligned}\] Setting \(j=i\) and \(\mu=\lambda\) in ([\[m5.5\]](#m5.5){reference-type="ref" reference="m5.5"}) gives \[\label{m5.4-1} g_{i,k}(\pa+\lambda,\lambda)g^{\pr}_{i,i+k}(\pa,\lambda)=\pa+2a\lambda+b,\ \forall i, k\in\Z,\] from which it is not hard to see that for any \(i,k\in\Z,\[\)\begin{aligned}
&{\rm either}\ g_{i,k}(\pa,\lambda):=\mathfrak g_{i,k} \ {\rm is\ a\ constant} \ {\rm and}\ g^{\pr}_{i,i+k}(\pa,\lambda)=\mathfrak g_{i,k}^{-1}(\pa+2a\lambda+b)\nonumber\\ & {\rm or}\ g^\prime_{i,i+k}(\pa,\lambda):= \mathfrak g_{i,i+k}\ {\rm is\ a\ constant}\ {\rm and}\ g_{i,k}(\pa,\lambda)={\mathfrak g^\prime}^{-1}_{i,i+k}(\pa+(2a-1)\lambda+b).\label{analysis}\end{aligned}\]
Note that there are four different expressions for \(f^\prime_{i,j}(\pa,\lambda).\) We will check it case by case. There exist some \(p,q\in\Z\) such that \(f^\prime_{p,q}(\partial,\lambda)=(\partial+\beta)(\partial+\lambda+\beta)\). Choosing \(i=p\), \(k=q-j\) and using \(f_{i,k}(\partial,\lambda)=\pa+a\lambda+b\) in [\[m5.6\]](#m5.6){reference-type="eqref" reference="m5.6"} we have \[\begin{aligned}
&&g_{j,q-j}(\pa+\lambda,\mu)(\partial+\beta)(\partial+\lambda+\beta)-g_{j,p+q-j}(\pa,\mu)(\pa+\mu+a\lambda+b)\nonumber\\ &=&(\frac12\lambda-\mu)g_{p+j,q-j}(\pa,\lambda+\mu), \quad\forall j\in\Z.\label{m5.6-1} \end{aligned}\]Combining this with [\[analysis\]](#analysis){reference-type="eqref" reference="analysis"}, then we must have\[\begin{aligned}
& \beta=b, a=\frac12, \mathfrak g_{j,q-j}=g_{j, q-j}(\pa+\lambda,\mu)\in\C^*,\\ & g_{j,p+q-j}(\pa,\mu)=\mathfrak g_{j,q-j}(\pa+b) \ {\rm and}\ g_{p+j,q-j}(\pa,\lambda+\mu)=\mathfrak g_{j,q-j}(\partial+b).\end{aligned}\] It can be also observed from [\[m5.6-1\]](#m5.6-1){reference-type="eqref" reference="m5.6-1"} that all the leading coefficients of \(g_{k,l}(\pa,\lambda)\) are equal (here we regard \(g_{k,l}(\pa,\lambda)\) as polynomials in \(\partial\) with coefficients in \(\C[\lambda]\)). By rescaling the basis \(\{y_i\mid i\in\Z\}\) we may assume that all the leading coefficients of \(g_{k,l}(\pa,\lambda)\) are equal 1. Hence, \[\begin{aligned}
g_{j, q-j}(\pa,\lambda)=1\quad {\rm and}\quad g_{j,p+q-j}(\pa,\lambda)=\pa+b,\quad \forall j\in\Z, \end{aligned}\] which in turn by using [\[analysis\]](#analysis){reference-type="eqref" reference="analysis"} forces \[g_{j, q}^\prime(\pa,\lambda)=\pa+\lambda+b\quad {\rm and}\quad g^\prime_{j, p+q}(\pa,\lambda)=1,\quad\forall j\in\Z.\] In particular, \[g_{p,q}(\pa,\lambda)=\pa+b\quad{\rm and}\quad g^\prime_{p,q}(\pa,\lambda)=\pa+\lambda+b.\] Similarly, for any \(j\in\Z\) we have: \(g_{p,q}(\pa,\lambda)=\pa+b, g^\prime_{p,q}(\pa,\lambda)=1\) if \(f^\prime_{p,q}(\partial,\lambda)=\pa+b\);\
\(g_{p,q}(\pa,\lambda)=1, g^\prime_{p,q}(\pa,\lambda)=\pa+\lambda+b\) if \(f^\prime_{p,q}(\partial,\lambda)=\pa+\lambda+b\);\
\(g_{p,q}(\pa,\lambda)= g^\prime_{p,q}(\pa,\lambda)=1\) if \(f^\prime_{p,q}(\partial,\lambda)=1\).\
This is exactly the module \(M_{A,b}\), completing Case [\[c-1\]](#c-1){reference-type="ref" reference="c-1"}.
In this case \(f_{i,j}^\prime(\pa,\lambda)=\pa+\alpha\lambda+\beta\). So [\[m5.6\]](#m5.6){reference-type="eqref" reference="m5.6"} now becomes \[\begin{aligned}
&&g_{j,k}(\pa+\lambda,\mu)(\pa+\alpha\lambda+\beta)-g_{j,i+k}(\pa,\mu)(\pa+\mu+a\lambda+b)\nonumber\\ &=&(\frac12\lambda-\mu)g_{i+j,k}(\pa,\lambda+\mu),\forall i,j,k\in\Z. \end{aligned}\]Observe from this formula that the coefficients of \(\pa\) in \(g_{j,i+k}(\pa+\lambda,\lambda)\), \(g_{j,k}(\pa,\mu)\) and \(g_{i+j,k}(\pa,\) \(\lambda+\mu)\) are equal, which may be assumed to be 1 for convenience. Moreover, the degree of \(g_{j,k}(\pa,\lambda)\) for any \(j,k\in\Z\) is a constant, i.e, deg\(_\pa g_{j,k}(\pa,\lambda)=1\) for all \(j,k\in\Z\) or deg\(_\pa g_{j,k}(\pa,\lambda)=0\) for all \(j,k\in\Z.\) In the former case, \[g_{j,k}(\pa,\lambda)=\pa+(2a-1)\lambda+b, g^\prime_{j,k}(\pa,\lambda)=1, \beta=b\quad {\rm and}\quad \alpha=a-\frac12,\] that is, \(V=M_{a,b}\); while in the later case, \[g_{j,k}(\pa,\lambda)=1, g^\prime_{j,k}(\pa,\lambda)=\pa+2a\lambda+b, \beta=b\quad{\rm and}\quad \alpha=a+\frac12,\] that is, \(V=M_{a,b}^\prime\).
Suppose on the contrary that \(V^{\bar{0}}= V_{A,b}\) and \(V^{\bar{1}}= V_{B,\beta}\). Choosing \(i=\mu=0\) in ([\[m5.6\]](#m5.6){reference-type="ref" reference="m5.6"}), one has \[\begin{aligned}
g_{j,k}(\pa+\lambda,0)f^{\pr}_{0,k}(\pa,\lambda)-g_{j,k}(\pa,0)f_{0,k}(\pa,\lambda)=\frac12\lambda g_{j,k}(\pa,\lambda). \end{aligned}\] While by definition of the actions of \(\mathfrak{clv},\) \[\begin{aligned}
\label{m5.07}f_{0,k}(\pa,\lambda)=\pa+r_k\lambda+b,\ f^{\prime}_{0,k}(\pa,\lambda)=\pa+t_k\lambda+\beta,\quad{\rm where}\ r_k,t_k\in\Z_2.\end{aligned}\] Combining these two formulae gives \[\begin{aligned}
\label{m5.8} g_{j,k}(\pa+\lambda,0)(\pa+t_k\lambda+b^{\prime})-g_{j,k}(\pa,0)(\pa+r_k\lambda+b)=\frac12\lambda g_{j,k}(\pa,\lambda). \end{aligned}\] Then \(b^{\prime}=b\), by choosing \(\lambda=0\). Now we put ([\[m5.8\]](#m5.8){reference-type="ref" reference="m5.8"}) in the following form: \[\begin{aligned}
g_{j,k}(\pa,\lambda)=2(\pa+b)\frac{g_{j,k}(\pa+\lambda,0)-g_{j,k}(\pa,0)}{\lambda}+2rg_{j,k}(\pa+\lambda,0)-2tg_{j,k}(\pa,0). \end{aligned}\]Taking the operation \(\lim_{\lambda\rightarrow 0}\) on both sides of the above formula we see that \(g_{j,k}(\partial,0)\) is solutions of the ordinary differential equation \[2(\pa+b)\frac{d\phi}{d\pa}=(1-2(r_k-t_k))\phi.\] It is well-known that the general solution of this differential equation is of the form \(c(\pa+b)^{\frac{1-2(r_k-t_k)}{2}}\) with \(c\in\C\). Thus \(g_{j,k}(\pa,0)\in\C[\pa]\cap\C(\pa+b)^{\frac{1-2(r_k-t_k)}{2}}=0\), since \(\frac{1-2(r_k-t_k)}{2}\) is not an integer. Hence, \(g_{j,k}(\pa,0)=0\) and thereby \(g_{j,k}(\pa,\lambda)=0\) by ([\[m5.8\]](#m5.8){reference-type="ref" reference="m5.8"}), a contradiction.
By Claim [\[clai\--2\]](#clai--2){reference-type="ref" reference="clai--2"}, \(V^{\bar1}=V_{\alpha,\beta}\) as \(\mathfrak{clv}\)-modules for some \(\alpha,\beta\in\C\). Now it follows from proof of Case [\[c-1\]](#c-1){reference-type="ref" reference="c-1"} that \(V^{\bar1}=V_{\frac12,b}\) and thereby \(V=M^\prime_{A,b}\). ◻ | {'timestamp': '2016-07-19T02:03:16', 'yymm': '1607', 'arxiv_id': '1607.04715', 'language': 'en', 'url': 'https://arxiv.org/abs/1607.04715'} |
# Introduction {#Introduction}
Equiangular tight frames (ETF) define regular geometrical structures in Hilbert spaces. An ETF composed of \(N\) normalized vectors \(\{\varphi_1,\dots,\varphi_N\}\) minimizes the highest possible coherence \(\max_{j\neq k}|\langle\varphi_j|\varphi_k\rangle|\). These frames, which are also known as *Grassmannian frames*, are thus typically related with optimal solutions of practical problems in communications, coding theory and sparse approximation. In particular, ETF provide an error-correcting code which is maximally robust against two erasures. ETF are also closely related to strongly regular graphs, difference sets and Steiner systems. A special class of ETF consisting of \(d^2\) vectors in \(\mathbb{C}^d\) is known in quantum mechanics as *Symmetric Informationally Complete Positive Operator Valued Measure* (SIC-POVM). From considering rank-one SIC-POVM measurements it is possible to reconstruct any quantum state. Moreover, SIC-POVM are optimal measurements in the sense that the redundancy of information provided by any pair of outcomes of the POVM is minimized. Along the years, many important results have been derived for real and complex ETF. A summary of the current state of the art can be found in a recent work of M. Fickus and D. Mixon. However, the theory is still far from being complete. To illustrate this fact, let us mention that the full classification of complex ETF is only known in dimensions \(d=2\) and \(d=3\). The aim of the present work is to shed new light on ETF by establishing a connection with unistochastic matrices theory. The paper is organised as follows: In Section [2](#S2){reference-type="ref" reference="S2"} we review basic properties of equiangular tight frames. Section [3](#S3){reference-type="ref" reference="S3"} is devoted to establishing the connection between ETF and unistochastic matrices. We study some fundamental properties and present new inequivalent classes of complex ETF in infinitely many dimensions. In Section [4](#S4){reference-type="ref" reference="S4"} we present a method to introduce free parameters in a given real or complex ETF. In Section [5](#S5){reference-type="ref" reference="S5"} we define an iterative procedure to find the unitary matrix underlying a unistochastic matrix. In Section [5](#S5){reference-type="ref" reference="S5"} we summarize the results and pose some open questions. In Appendix [\[Ap1\]](#Ap1){reference-type="ref" reference="Ap1"} we explicitly derive a \(6\)-parametric family of complex ETF stemming from the real ETF(\(6,16\)). Finally, Appendix [\[Ap2\]](#Ap2){reference-type="ref" reference="Ap2"} contains all the proofs of our propositions.
# Equiangular tight frames {#S2}
A complex ETF(\(d,N\)) is a set of \(N\) vectors \(\{\varphi_k\}_{k=1,\dots,N}\) in \(\mathbb{C}^d\) such that they are:
1. Normalized: \(\|\varphi_j\|=1\) for every \(j=1,\dots,N\).
2. Equiangular: \(|\langle\varphi_j,\varphi_l\rangle|=\frac{1}{\alpha}\) for every \(j\neq l=1,\dots,N\) and a fixed \(\alpha>0\).
3. Tight frame: \(\frac{d}{N}\sum_{j=1}^N\langle\varphi_j,\phi\rangle\varphi_j=\phi\) for every \(\phi\in\mathbb{C}^d\).
If the set of vectors forming the ETF belongs to \(\mathbb{R}^d\), then we have a real ETF. It is easy to prove that the parameter \(\alpha>0\) in property 2, which is called *inverse coherence*, satisfies \(\alpha=\sqrt{\frac{d(N-1)}{N-d}}\) (Welch bound). In quantum mechanics, the third property (tight frame) is equivalent to the fact that the rank-one projectors \(\{\Pi_j=\langle\varphi_j,\cdot\rangle\,\varphi_j\}_{j=1,\dots,N}\) satisfy \(\frac{d}{N}\sum_{j=1}^N\Pi_j=\mathbb{I}\), where \(\mathbb{I}\) denotes the identity matrix, i.e., the projectors form a *Positive Operator Valued Measure* (POVM). The ETF problem can be equivalently posed in terms of Gram matrices \(G_{jk}=\langle\varphi_j,\varphi_k\rangle\). A Gram matrix \(G\in\mathbb{C}^{N\times N}\) is associated with an ETF(\(d,N\)) if the following properties hold:
where \(\sigma(G)\) is the spectrum of \(G\). It is easy to prove that the eigenvalues \(N/d\) and \(0\) of \(G\) have multiplicities \(d\) and \(N-d\), respectively. When property [\[iii\]](#iii){reference-type="eqref" reference="iii"} is replaced by the weaker property \(\mathrm{Rank}(G)=d\), the conditions [\[Gram\]](#Gram){reference-type="eqref" reference="Gram"} define a set of \(N\) *equiangular lines* in dimension \(d\). We recall that the vectors forming an ETF can be explicitly found from the Gram matrix by considering the *Cholesky decomposition*, which can be efficiently implemented (see ).
# ETF and unistochastic matrices {#S3}
A bistochastic matrix \(B\) is a square matrix of size \(N\) having non-negative real entries such that \[\sum_{i=0}^{N-1}B_{ik}=1\hspace{0.3cm}\mbox{and}\hspace{0.3cm}\sum_{j=0}^{N-1}B_{kj}=1,\] for every \(k=0,\dots N-1\). The matrix \(B\) is called unistochastic if there exists a unitary matrix \(U\) such that \(B_{ij}=|U_{ij}|^2\), for every \(i,j=0,\dots N-1\). If \(U\) is a real orthogonal matrix then \(B\) is called orthostochastic. Full set of unistochastic matrices is simple to derive for \(N=2\) and it has been fully characterised also for \(N=3\). The problem for \(N=4\) is still open. A detailed explanation on unistochastic matrices and their applications can be found e.g. in Ref.. From now on we will restrict our attention to a particular type of unistochastic matrices, denoted \(\mathcal{B}_N(\theta)\). Namely, \(\mathcal{B}_N(\theta)\) are unistochastic matrices such that there exists a unitary hermitian matrix \(U_N(\theta)\) having a real and non-negative constant diagonal such that \[\label{bisto} \mathcal{B}_N(\theta)_{ij}=|U_N(\theta)_{ij}|^2=\left\{\begin{array}{cl} \cos^2(\theta) & \mbox{ if } i=j;\\ \frac{1}{N-1}\sin^2(\theta) & \mbox{ if } i\neq j, \end{array}\right.\] where \(\theta\in[0,\pi/2]\) for convenient reasons (see caption of Fig.[\[Fig1\]](#Fig1){reference-type="ref" reference="Fig1"}). We are now in position to establish the connection existing between ETF and unistochastic matrices \(\mathcal{B}_N(\theta)\).
Proofs of propositions can be found in Appendix [\[Ap2\]](#Ap2){reference-type="ref" reference="Ap2"}. Unitary matrices having prescribed moduli of the entries have been previously studied. However, those approaches are only marginally related to our problem because hermiticity of the underlying unitary matrix and uniformity of the main diagonal are fundamental assumptions to connect ETF with unistochastic matrices. Hermitian complex Hadamard matrices have a remarkable property, namely \(U_{N_1}(\theta_{N_1})\otimes U_{N_2}(\theta_{N_2})=U_{N_1N_2}(\theta_{N_1N_2})\), where \(\otimes\) denotes the Kronecker product. This property allows us to derive a wide range of inequivalent equiangular tight frames:
Our approach based on unistochastic matrices enables us to address another interesting problem in the ETF theory, namely, the possibility to have the off-diagonal entries in the Gram matrix proportional to roots of unity. In Proposition [\[Prop3\]](#Prop3){reference-type="ref" reference="Prop3"} below, we show that for a given value of \(N\) only certain \(m\)-th roots of unity are allowed.
Using relation \(d=N\sin^2(\theta/2)\), derived in Proposition [\[Prop1\]](#Prop1){reference-type="ref" reference="Prop1"}, one can express \(\cot(\theta)\) in terms of \(N\) and \(d\). Hence we obtain \[\label{k} k=\frac{N-2d}{2}\sqrt{\frac{N-1}{d(N-d)}}.\] Proposition [\[Prop3\]](#Prop3){reference-type="ref" reference="Prop3"} implies in particular that if \(2k\) is not an integer number, then the normalized off-diagonal entries of the Gram matrix cannot be roots of unity. Note that for a real ETF the number \(k\) is always integer. In order to illustrate the result, let us consider \(N=64\) and fourth roots of unity. According to Proposition [\[Prop3\]](#Prop3){reference-type="ref" reference="Prop3"}, for \(m=2^2\) we have \(2k+64-2=2x_1\). The only ETF compatible with this equation and equation [\[k\]](#k){reference-type="eqref" reference="k"} are ETF(32,64), ETF(28,64) and ETF(8,64). Let us note that ETF(8,64) is a special kind of SIC-POVM known as *Hoggar lines*. In general, the following restriction holds for SIC-POVM.
The proof is staightforward from the fact that \(2k\) has to be integer (see Prop. [\[Prop3\]](#Prop3){reference-type="ref" reference="Prop3"}) combined with equation [\[k\]](#k){reference-type="eqref" reference="k"}. Concerning the existence of SIC-POVM having Gram matrix composed by roots of unity up to dimension \(d=100\), we have:
- \(d=2,\hspace{0.1cm}3,\hspace{0.1cm} 8\): the existence of SIC-POVM confirmed with 4th, 6th and 4th roots of unity in the off-diagonal entries of the Gram matrix, respectively;
- \(d=15,\hspace{0.1cm} 24,\hspace{0.1cm} 35,\hspace{0.1cm} 48\): SIC-POVM exist, but the possibility of having roots of unity in the off-diagonal entries is open;
- \(d=63,\hspace{0.1cm} 80,\hspace{0.1cm} 99\): the existence of SIC-POVM is open.
# Free parameters for ETF {#S4}
In this section, we present a simple method to construct a parametric family of complex ETF stemming from a given ETF in dimension \(d=(N-\sqrt{N})/2\). The construction is based on the following idea, introduced in Ref.: Two vectors \(v,w\in\mathbb{C}^N\) are called *equivalent to real (ER) pair* if \(v\circ w^*\in\mathbb{R}^N\), where the circle and asterisk denote the Hadamard (entrywise) product and complex conjugation, respectively. Let \(C_A\) and \(C_B\) be two columns of a complex Hadamard matrix that form an ER pair. Note that the entries of the vector \(C_A\circ C_B^*\) are \(\pm1\). We introduce a parameter \(\alpha\in[0,2\pi)\) in vectors \(C_A(\alpha)\) and \(C_B(\alpha)\) as follows:
- If \((C_A\circ C_B^*)_j=-1\), we set \((C_A(\alpha))_j=e^{i\alpha}(C_A)_j\) and \((C_B(\alpha))_j=e^{i\alpha}(C_B)_j\);
- if \((C_A\circ C_B^*)_j=1\), we set \((C_A(\alpha))_j=(C_A)_j\) and \((C_B(\alpha))_j=(C_B)_j\).
Columns \(C_A(\alpha)\) and \(C_B(\alpha)\) are orthogonal for any \(\alpha\in[0,2\pi)\) and they belong to the plane defined by \(C_A(0)\) and \(C_B(0)\), i.e., they are orthogonal to the rest of the columns of the Hadamard matrix. Therefore, if we replace columns \(C_A\) and \(C_B\) in the original Hadamard matrix with \(C_A(\alpha)\) and \(C_B(\alpha)\), respectively, we obtain a family of complex Hadamard matrices parametrized by \(\alpha\). Note that real pairs of columns form trivially ER pairs, thus they always allow to introduce a free parameter. In order to illustrate the procedure, let us consider the Hadamard matrix \[H=\left(\begin{array}{rrrr}-1&1&1&1\\ 1&-1&1&1\\ 1&1&-1&1\\ 1&1&1&-1 \end{array}\right).\] Let \(C_A=(1,1,-1,1)^T\) and \(C_B=(1,1,1,-1)^T\) be the third and the fourth column of \(H\). Since \(C_A\circ C_B^*=(1,1,-1,-1)^T\), we set \(C_A(\alpha)=(1,1,-e^{i\alpha},e^{i\alpha})^T\) and \(C_B(\alpha)=(1,1,e^{i\alpha},-e^{i\alpha})^T\). Then \[\label{Ht} H(\alpha)=\left(\begin{array}{rrrr}-1&1&1&1\\ 1&-1&1&1\\ 1&1&-e^{i\alpha}&e^{i\alpha}\\ 1&1&e^{i\alpha}&-e^{i\alpha} \end{array}\right)\] is a 1-parametric family of complex Hadamard matrices. As we have mentioned in Section [3](#S3){reference-type="ref" reference="S3"}, real and complex Hadamard matrices of size \(N\) are associated with real and complex ETF\(((N-\sqrt{N})/2,N)\), respectively. The technique of introducing free parameters in a Hadamard matrix can be thus used for constructing parametric families of ETF\(((N-\sqrt{N})/2,N)\), cf. Fig. [\[Fig2\]](#Fig2){reference-type="ref" reference="Fig2"}. It is important to remark that our method has to be applied to both columns and rows in order to obtain a Hermitian matrix. That is, the ER pair of columns \(\{C_A(\alpha),C_B(\alpha)\}\) has to be complemented with the associated ER pair of rows \(\{R_A(-\alpha),R_B(-\alpha)\}\), where the parameter \(\alpha\) is reflected due to the requirement of hermiticity. Let us add some clarifying remarks:
- In the special case \(N=4\), a hermitian family of complex Hadamard matrices cannot be constructed from a real symmetric Hadamard matrix with constant diagonal, because introducing rows \(\{R_A(-\alpha),R_B(-\alpha)\}\) in addition to columns \(\{C_A(\alpha),C_B(\alpha)\}\) in Eq.([\[Ht\]](#Ht){reference-type="ref" reference="Ht"}) leads to the matrix \(H(0)\). Equivalently, a family of ETF(3,4) does not exist.
- Hermitian families exist for every real symmetric Hadamard matrix having constant diagonal 1 of even square size \(N>4\), as ER pairs always exist for such cases. The first hermitian family stemming from a real Hadamard occurs for \(N=16\). The 6-parametric family is presented in Appendix [\[Ap1\]](#Ap1){reference-type="ref" reference="Ap1"}. It is worth noting that this method allows us to introduce up to \(N/2-1\) free parameters.
- We can also introduce \(N/2-1\) free parameters for hermitian Fourier matrices when \(N\) is even. For other hermitian complex Hadamard matrices of even square size \(N\) the method cannot be applied for the reason that ER pairs do not exist.
Now we are ready to formulate the main result of this section, which is based on the considerations above.
Proof follows from Theorem 3.1 in Ref.. For odd values of \(N\), free parameters cannot be introduced by using our method. This is so because ER pairs do not exist if \(N\) is odd. Given that ER pairs is the most general method to introduce free parameters in pair of columns (see ) we conclude that the rotation of two vectors of any ETF\(((N-\sqrt{N})/2,N)\) cannot generate a family of ETF for any odd \(N\).
# Entanglement in equiangular tight frames {#S5}
Equiangular tight frames have important applications in quantum mechanics, as they represent symmetric POVM quantum measurements. It is therefore interesting to study entanglement of the symmetric vectors forming a POVM, which could be important for some theoretical and experimental implementation purposes. In this section we discuss average entanglement properties of both SIC-POVM and the 6-parametric family of ETF(6,16), defined in Appendix [\[Ap1\]](#Ap1){reference-type="ref" reference="Ap1"}. Before proceeding forward let us recall that purity of a quantum state \(\rho\) is given by \(P=\mathrm{Tr}(\rho^2)\). It quantifies how close is a quantum state to the surface of pure states, i.e, the surface of rank one-projectors: if \(\rho\) is defined in dimension \(d\), then \(1/d\leq P\leq 1\), where \(P=1/d\) holds for the maximally mixed state \(\rho=\mathbb{I}/d\) and \(P=1\) for any pure state \(\rho=|\phi\rangle\langle\phi|\). For example, the entire set of quantum states for qubit systems satisfying \(P=1\) determine the surface of the Bloch sphere (Poincaré sphere for mathematicians), whereas the center of the sphere represents the maximally mixed state. An ETF(\(d,d^2\)), i.e. SIC-POVM in dimension \(d\), defined for a bipartite system \(d=d_A\times d_B\) has a fixed average purity of reductions: \[\label{avpuSIC} \frac{1}{d_Ad_B}\sum_{j=1}^{d_Ad_B}\mathrm{Tr}(\rho^2_{A_j})=(d_A + d_B)/(d_Ad_B + 1).\] Here, \(\rho_{A_j}=\mathrm{Tr}_B(|\psi_j\rangle\langle\psi_j|)\) is the reduction to the first subsystem \(A\) and \(|\psi_j\rangle\) is the \(j\)th element of the SIC-POVM. The symbol \(\mathrm{Tr}_B\) means partial trace over the second subsystem \(B\). Eq.([\[avpuSIC\]](#avpuSIC){reference-type="ref" reference="avpuSIC"}) also holds for the average purity of reductions to subsystem \(B\), as the bipartite states forming the POVM are pure. The key property required to derive Eq.([\[avpuSIC\]](#avpuSIC){reference-type="ref" reference="avpuSIC"}) is the fact that SIC-POVM are 2-designs. Other classes of ETF are only 1-designs and, therefore, it is expected that similar results do not hold. As a novel contribution, here we show that the average purity of reductions for the 6-parametric family of ETF(6,16), presented in Appendix [\[Ap1\]](#Ap1){reference-type="ref" reference="Ap1"} depends on the parameters, and we present approximate lower and upper bounds. This family of symmetric POVM is defined for a qubit-qutrit system (\(d=6=d_A\times d_B=2\times 3\)). The average purity for the qubit subsystem (A) seems to lie in the range \[\label{bounds} 0.576737\lessapprox\frac{1}{16}\sum_{j=1}^{16}\mathrm{Tr}(\rho^2_{A_j})\lessapprox0.804885,\] where the approximate lower (LB) and upper (UB) bounds are attained for parameters \[\vec{\alpha}_{LB}=\{0.0970, 0.0957, 0.4536, 0.7275, 0.7287, 0.2258\},\] and \[\vec{\alpha}_{UB}=\{2.2222,2.2233,3.1401,0.4173,2.9043,2.6317\},\] respectively. The approximate bounds given in Eq.([\[bounds\]](#bounds){reference-type="ref" reference="bounds"}) were obtained from considering numerical optimizations in Mathematica. An analytic derivation of the bounds seems to be a hard problem. As an interesting consequence of Eq.([\[bounds\]](#bounds){reference-type="ref" reference="bounds"}), we noted that the 16 vectors forming the ETF(6,16) can be neither fully separable nor maximally entangled, because the average purity of reductions can attain neither the value \(UB=1\) nor the value \(LB=1/2\). In general, for \(N\) vectors defining an ETF in dimension \(d\gg \sqrt{N}\) it is reasonable to expect weak restrictions on the average purity of reductions. Indeed, vectors forming an ETF(\(d,d\)), i.e. an orthonormal basis in dimension \(d\), can be fully separable (e.g., tensor product basis in dimension \(d=2^N\) for an \(N\) qubit system) or maximally entangled (e.g. generalized Bell basis in dimension \(d=d'\times d'\) for a two-qudit system having \(d'\) internal levels each).
# Algorithm to find the underlying unitary matrix {#S6}
In this section we present an iterative algorithm that efficiently finds the underlying unitary matrix \(U\) existing behind a unistochastic matrix \(B\). The algorithm works as follows: 1. \[Seed\]: Start from a random matrix \(A^{(0)}\) of size \(N\). 2. \[Bistochasticity\]: \(A^{(0)}_{i,j}\,\rightarrow\,A^{(1)}_{i,j}=\frac{A_{i,j}}{|A_{i,j}|}\sqrt{B_{i,j}}\). 3. \[Unistochasticity\]: Apply the Schmidt orthogonalization to columns of \(A^{(1)}\). The iteration of steps 2 and 3 generate a sequence of matrices that converges to a unitary matrix \(U\) such that \(B_{ij}=|U_{ij}|^2\), for a suitable choice of the seed in step 1. Indeed, unistochastic matrices are attractive fixed points of the composed non-linear operators \(T=T_3T_2\), where \(T_2\) and \(T_3\) are the non-linear operators associated to the mappings defined in steps 2 and 3, respectively. A solution is found when the seed belongs to the basin of attraction of a unistochastic matrix \(B\). The additional steps: \(2^{\prime}\). \[Hermiticity\]: \(A\,\rightarrow\,(A+A^{\dag})/2\), \(2^{\prime\prime}\). \[Constant diagonal\]: \(A_{i,i}\,\rightarrow \cos(\theta)\), where \(d=N\sin^2(\theta/2)\), generate the unitary hermitian matrix \(U_N(\theta)\) having constant diagonal and, consequently, the unistochastic matrix \(\mathcal{B}_N(\theta)\), where \(d=N\sin^2(\theta/2)\). In this way, we determine a complex ETF(\(d,N\)). A similar procedure can be applied to generate a real ETF. In the case that the imposed matrix \(B\) is bistochastic but not unistochastic, the algorithm exhibit oscillations without converging. We have implemented the above described procedure for matrices of size \(N=4,\dots,22\). Up to dimension \(d=19\) we were able to reproduce all known classes of complex ETF by considering \(10^3\) seeds. This number of seeds was no more sufficient in dimension \(d=20\), where \(10^4\) seeds were required to find ETF(10,20). In dimension \(d=22\) we focused our attention on the existence of the complex ETF(11,22), which is still open. Such case would have associated an hermitian complex conference matrix \(U_{22}(\pi/2)\). Our simulations considered \(10^6\) random seeds and we could not find a single successful convergence of our iterative procedure, which suggests that an hermitian complex conference matrix of size 22 does not exist. On the other hand, note that a real symmetric conference matrix of size 22 does not exist, which excludes the existence of a real ETF(11,22). This is so because the number 22 is not the sum of two integer squares.
# Conclusions {#S7}
We have introduced a one-to-one connection between complex equiangular tight frames (ETF) and a special kind of unistochastic matrices \(\mathcal{B}_N(\theta)\), defined in Eq.([\[bisto\]](#bisto){reference-type="ref" reference="bisto"}). The connection has been established in Prop. [\[Prop1\]](#Prop1){reference-type="ref" reference="Prop1"}. As a direct consequence, we have found new classes of complex ETF (see Prop. [\[Prop2\]](#Prop2){reference-type="ref" reference="Prop2"}). Furthermore, we presented new integrality restrictions for some classes of equiangular tight frames, i.e., for those having Gram matrix whose off-diagonal entries are proportional to roots of unity (see Prop. [\[Prop3\]](#Prop3){reference-type="ref" reference="Prop3"}). In particular, the only possible SIC-POVM of such kind may only exist in dimension \(d=2\) or when \(d+1\) is a square number (see Corol. [\[Corol1\]](#Corol1){reference-type="ref" reference="Corol1"}). We also proposed a method to introduce non-trivial free parameters in real and complex ETF (see Prop. [\[Prop5\]](#Prop5){reference-type="ref" reference="Prop5"}). To illustrate our method, we explicitly derived a 6-parametric family of complex ETF stemming from the real ETF(6,16) (see Appendix [\[Ap1\]](#Ap1){reference-type="ref" reference="Ap1"}). Moreover, we studied the average purity of reductions (\(P\)) for this family, which defines a symmetric POVM for a qubit-qutrit quantum system. As consequence, we have found that \(P\) can be neither maximal (\(P=1\) for separable states) nor minimal (\(P=1/2\) for maximally entangled states). Lower and upper bounds for \(P\) were derived (see Section [6](#S6){reference-type="ref" reference="S6"}). Furthermore, we presented an efficient algorithm to find unistochastic matrices, which is simple to implement in a computer language. By introducing a refinement of this procedure, we can also find the unitary hermitian matrices relying behind unistochastic matrices \(\mathcal{B}_N(\theta)\), which allows to find an ETF(\(d,N\)), where \(d=N\sin^2(\theta/2)\). By using this procedure, we calculated all the parameters (\(d,N\)) for which a complex ETF(\(d,N\)) exists, up to \(N=19\). The results are consistent with known classes described in the literature. Additionally, we exhaustively studied the existence of the complex ETF(11,22), which seems not to exist. This result would imply that an hermitian complex conference matrix of size 22 does not exist. We conclude the paper with two important open questions: (*i*) Find integrality restrictions for a general complex ETF, and (*ii*) Solve the Fickus conjecture [^1]: Consider the three numbers \(d\), \(N-1\) and \(N-d\). If a complex ETF(\(d,N\)) exists then one of these three numbers divides the product of the other two. Our numerical simulations up to \(N=19\), as well as all solutions presented in the most complete catalog of ETF, Ref., are consistent with the conjecture. | {'timestamp': '2017-02-08T02:04:22', 'yymm': '1607', 'arxiv_id': '1607.04528', 'language': 'en', 'url': 'https://arxiv.org/abs/1607.04528'} |
# Introduction
The interest in studying rare \(B\) decays is immense. This is due to the circumstance that these decays, such as \(b \to (s,d) \;\gamma, \; b \to (s,d ) \; \ell^+\ell^-\), are flavour-changing-neutral-current (FCNC) processes, involving the quantum number transitions \(| \Delta B |=1, |\Delta Q |=0\). In the SM, they are not allowed at the tree level, but are induced by loops and are governed by the GIM (Glashow-Iliopoulos-Maiani) mechanism, which imparts them sensitivity to higher masses, \((m_t, m_W)\). As a consequence, they determine the CKM (Cabibbo-Kobayashi-Maskawa) matrix elements. Of these, the elements in the third row, \(V_{td}\), \(V_{ts}\) and \(V_{tb}\) are of particular interest. While \(\vert V_{tb}\vert\) has been measured in the production and decays of the top quarks in hadronic collisions, the first two are currently not yet directly accessible. In the SM, these CKM matrix elements have been indirectly determined from the \(B^0\)-\(\bar{B}^0\) and \(B_s^0\)-\(\bar{B}_s^0\) mixings. Rare \(B\)-decays provide independent measurements of the same quantities. In theories involving physics beyond the SM (BSM), such as the 2-Higgs doublet models or supersymmetry, transitions involving the FCNC processes are sensitive to the masses and couplings of the new particles. Precise experiments and theory are needed to establish or definitively rule out the BSM effects. Powerful calculation techniques, such as the heavy quark effective theory (HQET) and the soft collinear effective theory (SCET) have been developed to incorporate power \(1/m_c\) and \(1/m_b\) corrections to the perturbative QCD estimates. More importantly, they enable a better theoretical description by separating the various scales involved in \(B\) decays and in establishing factorisation of the decay matrix elements. In exclusive decays, one also needs the decay form factors and a lot of theoretical progress has been made using the lattice QCD and QCD sum rule techniques , often complementing each other, as they work best in the opposite \(q^2\)-ranges. It is this continued progress in QCD calculational framework, which has taken us to the level of sophistication required to match the experimental advances. In this paper, I review what, in my view, are some of the key measurements in the radiative, semileptonic and leptonic rare \(B\)-decays and confront them with the SM-based calculations, carried out with the theoretical tools just mentioned. However, this is not a comprehensive review of this subject, but the hope is that the choice of topics reflects both the goals achieved in explaining some landmark measurements and focus on open issues. In section 2, I review the inclusive and some exclusive radiate rare \(B\)-decays.There are no burning issues in this area-at least not yet. In section 3, the corresponding inclusive and exclusive semileptonic decays are taken up. Again, there are no open issues in the inclusive semileptonic decays, but experimental precision is limited currently, which is bound to improve significantly at Belle II. There are, however, a lot of open issues in the exclusive semileptonic decays, in particular in \(R_K\), the ratio of the decay widths for \(B \to K \mu^+ \mu^-\) and \(B \to K e^+ e^-\), hinting at the possible breakdown of lepton universality, the linchpin of the SM, reviving the interest in low-mass leptoquarks. One should also mention here similar issues in tree-level semileptonic decays, such as \(R^{\tau/\ell}_D\) and \(R^{\tau/\ell}_{D^*}\), the ratios involving the decays \(B \to D^{(*)} \tau \nu_\tau\) and \(B \to D^{(*)} \ell \nu_\ell\) (\(\ell= e, \mu\)). There are also other dissenting areas, which go by the name of \(P_5^\prime\)-anomaly, which is a certain coefficient in the angular description of the decay \(B \to K^* \mu^+ \mu^-\), which presumably need a better theoretical (read QCD) description than is available at present. They are discussed in section 3. In section 4, we discuss the CKM-suppressed \(b \to d \ell^+ \ell^-\) decays, which is a new experimental frontier initiated by the LHCb measurements of the branching fraction and the dimuon invariant mass distribution in the decay \(B^\pm \to \pi^\pm \mu^+ \mu^-\). Finally, the rarest \(B\)-and \(B_s\)-decays measured so far, \(B \to \mu^+ \mu^-\) and \(B_s \to \mu^+ \mu^-\), are taken up in section 5. Current measurements also show some (mild) deviations in their branching ratios versus the SM. A representative global fit of the data on the semileptonic and leptonic rare \(B\)-decays in terms of the Wilson coefficients from possible new physics is shown in section 6. Some concluding remarks are made in section 7.
# Rare Radiative \(B\)-decays in the SM and Experiments
In 1993, the CLEO collaboration at the Cornell \(e^+e^-\) collider measured the decay \(B \to K^* \gamma\), initiating the field of rare \(B\)-decays, followed two years later by the measurement of the inclusive decay \(B \to X_s \gamma\) . The branching ratio \({\cal}(B \to K^* \gamma) = (4.5 \pm 1.5 \pm 0.9)\times 10^{-5}\) was in agreement with the SM estimates, but theoretical uncertainty was large. Measuring the Inclusive process \(B \to X_s \gamma\) was challenging, but as the photon energy spectrum in this process was already calculated in 1990 by Christoph Greub and me, this came in handy for the CLEO measurements shown in Fig. [\[fig:belle-celo-bsgama\]](#fig:belle-celo-bsgama){reference-type="ref" reference="fig:belle-celo-bsgama"} (left frame) and compared with the theoretical prediction, Since then, a lot of experimental and theoretical effort has gone in the precise measurements and in performing higher order perturbative and non-perturbative calculations. As a consequence, \(B \to X_s \gamma\) has now become the standard candle of FCNC processes, with the measured branching ratio and the precise higher order SM-based calculation providing valuable constraints on the parameters of BSM physics. The impact of the \(B\)-factories on this measurement can be judged by the scale in Fig. [\[fig:belle-celo-bsgama\]](#fig:belle-celo-bsgama){reference-type="ref" reference="fig:belle-celo-bsgama"} (right frame), which is due to the Belle collaboration. The next frontier of rare \(B\)-decays involves the so-called electroweak penguins, which govern the decays of the inclusive processes \(B \to (X_s, X_d) \ell^+ \ell^-\) and the exclusive decays such as \(B \to (K,K^*, \pi) \ell^+ \ell^-\). These processes have rather small branching ratios and hence they were first measured at the \(B\)-factories. Inclusive decays remain their domain, but experiments at the LHC, in particular, LHCb, are now at the forefront of exclusive semileptonic decays. Apart from these, also the leptonic \(B\)-decays \(B_s \to \mu^+\mu^-\) and \(B_d \to \mu^+\mu^-\) have been measured at the LHC. I will review some of the key measurements and the theory relevant for their interpretation. This description is anything but comprehensive, for which I refer to some recent excellent references and resources, such as HFAG and FLAG .
## Inclusive decays \(B \to X_s \gamma\) at NNLO in the SM
The leading order diagrams for the decay \(b \to s \gamma\) are shown are shown in Fig. [\[fig:leading-bsgamma-diag\]](#fig:leading-bsgamma-diag){reference-type="ref" reference="fig:leading-bsgamma-diag"}, including also the tree diagram for \(b \to u \bar{u} s \gamma\), which yields a soft photon. The first two diagrams are anyway suppressed due to the CKM matrix elements, as indicated. The charm-and top-quark contributions enter with opposite signs, and the relative contributions indicted are after including the leading order (in \(\alpha_s\)) QCD effects. A typical diagram depicting perturbative QCD corrections due to the exchange of a gluon is also shown. The QCD logarithms \(\alpha_s \ln M_W^2/m_b^2\) enhance the branching ratio \({\cal B}(B \to X_s \gamma)\) by more than a factor 2, and hence such logs have to be resummed. This is done using an effective field theory approach, obtained by integrating out the top quark and the \(W^\pm\) bosons. Keeping terms up to dimension-6, the effective Lagrangian for \(B \to X_s \gamma\) and \(B \to X_s \ell^+ \ell^-\) reads as follows: \[\begin{aligned}
{\cal L} \;= \;\; {\cal L}_{QCD \times QED}(q,l) \;\;+ \frac{4 G_F}{\sqrt{2}} V_{ts}^* V_{tb} \sum_{i=1}^{10} C_i(\mu) O_i \nonumber \end{aligned}\] (\(q=u,d,s,c,b\), \(l = e,\mu, \tau\)) \[\begin{aligned}
O_i = \left\{ \begin{array}{lll} (\bar{s} \Gamma_i c)(\bar{c} \Gamma'_i b), & i=1, (2), & C_i(m_b) \sim-0.26 ~(1.02)\\[4mm] (\bar{s} \Gamma_i b) {\Sigma}_q (\bar{q} \Gamma'_i q), & i=3,4,5,6,~ & |C_i(m_b)| < 0.08\\[4mm] \frac{e m_b}{16 \pi^2} \bar{s}_L \sigma^{\mu \nu} b_R F_{\mu \nu}, & i=7, & C_7(m_b) \sim-0.3\\[4mm] \frac{g m_b}{16 \pi^2} \bar{s}_L \sigma^{\mu \nu} T^a b_R G^a_{\mu \nu}, & i=8, & C_8(m_b) \sim-0.16\\[4mm] \frac{e^2}{16 \pi^2} (\bar{s}_L \gamma_{\mu} b_L) (\bar{l} \gamma^{\mu} {(\gamma_5)} l), & i=9,{(10)} & C_i(m_b) \sim 4.27~ (-4.2) \end{array} \right. \nonumber \end{aligned}\] Here, \(G_F\) is the Fermi coupling constant, \(V_{ij}\) are the CKM matrix elements, \(O_i\) are the four-Fermi and dipole operators, and \(C_i(\mu)\) are the Wilson coefficients, evaluated at the scale \(\mu\), which is taken typically as \(\mu=m_b\), and their values in the NNLO accuracy are given above for \(\mu=4.8\) GeV. Variations due to a different choice of \(\mu\) and uncertainties from the upper scale-setting \(m_t/2 \leq \mu_0 \leq 2 m_t\) can be seen elsewhere. There are three essential steps of the calculation:
- [Matching]{.ul}: Evaluating \(C_i(\mu_0)\) at \(\mu_0 \sim M_W\) by requiring the equality of the SM and the effective theory Green functions.
- [Mixing]{.ul}: Deriving the effective theory renormalisation group equation (RGE) and evolving \(C_i(\mu)\) from \(\mu_0\) to \(\mu_b \sim m_b\).
- [Matrix elements]{.ul}: Evaluating the on-shell amplitudes at \(\mu_b \sim m_b\).
All three steps have been improved in perturbation theory and now include the next-to-next-to-leading order effects (NLLO), i.e., contributions up to \(O(\alpha_s^2(m_b))\). A monumental theoretical effort stretched well over a decade with the participation of a large number of theorists underlies the current theoretical precision of the branching ratio. The result is usually quoted for a threshold photon energy to avoid experimental background from other Bremsstrahlung processes. For the decay with \(E_\gamma > 1.6\) GeV in the rest frame of the \(B\) meson, the result at NNLO accuracy is \[{\cal B}(B \to X_s \gamma)= (3.36 \pm 0.23) \times 10^{-4},\] where the dominant SM uncertainty is non-perturbative. This is to be compared with the current experimental average of the same \[{\cal B}(B \to X_s \gamma)= (3.43 \pm 0.21 \pm 0.07) \times 10^{-4},\] where the first error is statistical and the second systematic, yielding a ratio \(1.02 \pm 0.08\), providing a test of the SM to an accuracy better than 10%. The CKM-suppressed decay \(B \to X_d \gamma\) has also been calculated in the NNLO precision. The result for \(E_\gamma > 1.6\) GeV is \[{\cal B}(B \to X_d \gamma)= (1.73 ^{+0.12}_{-0.22}) \times 10^{-5}.\] This will be measured precisely at Belle II. The constraints on the CP asymmetry are not very restrictive, but the current measurements are in agreement with the SM expectation. For further details, see HFAG.
## Bounds on the charged Higgs mass from \({\cal B}(B \to X_s \gamma)\)
As the agreement between the SM and data is excellent, the decay rate for \(B \to X_s \gamma\) provides constraints on the parameters of the BSM theories, such as supersymmetry and the 2 Higgs-doublet models (2HDM). In calculating the BSM effects, depending on the model, the SM operator basis may have to be enlarged, but in many cases one anticipates additive contributions to the Wilson coefficients in the SM basis. In the context of \(B \to X_s \gamma\), it is customary to encode the BSM effects in the Wilson coefficients of the dipole operators \(C_7(\mu)\) and \(C_8(\mu)\), and the constraints from the branching ratio on the additive coefficients \(\Delta C_7\) and \(\Delta C_8\) then takes the numerical form \[{\cal B}(B \to X_s \gamma) \times 10^4 = (3.36 \pm 0.23) -8.22 \Delta C_7-1.99 \Delta C_8.\] To sample the kind of constraints that can be derived on the parameters of the BSM models, the 2HDM is a good case, as the branching ratio for the decay \(B \to X_s \gamma\) in this model has been derived to the same theoretical accuracy.The Lagrangian for the 2HDM is \[{\cal L}_{H^+}= (2\sqrt{2} G_F)^{1/2}\Sigma_{i,j=1}^{3} \bar{u}_i (A_u m_{u_i} V_{ij}P_L-A_d m_{d_j}V_{ij} P_R) d_j H^* + h.c.,\] where \(V_{ij}\) are the CKM matrix elements and \(P_{L/R}=(1 \mp \gamma_5)/2\). The 2HDM contributions to the Wilson coefficients are proportional to \(A_iA_j^*\), representing the contributions from the up-type \(A_u\) and down-type \(A_d\) quarks. They are defined in terms of the ratio of the vacuum expectation values, called \(\tan \beta\), and are model dependent.
- 2HDM of type-I: \(A_u=A_d=\frac{1}{\tan \beta},\)
- 2HDM of type-II: \(A_u=-1/A_d=\frac{1}{\tan \beta}\).
Examples of Feynman diagrams contributing to \(B \to X_s \gamma\) in the 2HDM are shown in Fig. [\[fig:2HDM-bsgamma-diag\]](#fig:2HDM-bsgamma-diag){reference-type="ref" reference="fig:2HDM-bsgamma-diag"}. Apart from \(\tan \beta\), the other parameter of the 2HDM is the mass of the charged Higgs \(M_H^\pm\). As \({\cal B}(B \to X_s \gamma)\) becomes insensitive to \(\tan \beta\) for larger values, \(\tan \beta>2\), the 2HDM contribution depends essentially on \(M_H^\pm\). The current measurements and the SM estimates then provide constraints on \(M_H^\pm\), as shown in Fig. [\[fig:2HDM-Steinhauser\]](#fig:2HDM-Steinhauser){reference-type="ref" reference="fig:2HDM-Steinhauser"}, [^1] updated using , yielding \(M_H^\pm > 480\) GeV (90% C.L.) and \(M_H^\pm > 358\) GeV (99% C.L.). These constraints are competitive to the direct searches of the \(H^\pm\) at the LHC.
[^1]: I thank Matthias Steinhauser for providing this figure. | {'timestamp': '2016-07-19T02:08:59', 'yymm': '1607', 'arxiv_id': '1607.04918', 'language': 'en', 'url': 'https://arxiv.org/abs/1607.04918'} |
null | null |
null | null |
# Introduction {#intro}
A Carnot group (Definition [\[Carnotdef\]](#Carnotdef){reference-type="ref" reference="Carnotdef"}) is a simply connected Lie group whose Lie algebra admits a stratification. Carnot groups have translations, dilations, Haar measure and points are connected by horizontal curves (Definition [\[horizontalcurve\]](#horizontalcurve){reference-type="ref" reference="horizontalcurve"}), which are used to define the Carnot-Carathéodory (CC) distance (Definition [\[ccdistance\]](#ccdistance){reference-type="ref" reference="ccdistance"}). With so much structure, the study of analysis and geometry in Carnot groups is an active and interesting research area. Many interesting geometric and analytic problems have been studied in the context of Carnot groups. For example, a geometric notion of intrinsic Lipschitz function between subgroups of a general Carnot group was introduced in to study rectifiable sets and minimal surfaces. Moreover, Carnot groups have been applied to study degenerate equations, control theory and potential theory. These problems are highly non-trivial due to the complexity of the geometry of Carnot groups. For instance, any Carnot group (except for Euclidean spaces themselves) contains no subset of positive measure that is bi-Lipschitz equivalent to a subset of a Euclidean space. This follows from Pansu's theorem (Theorem [\[PansuThm\]](#PansuThm){reference-type="ref" reference="PansuThm"}), a generalization of Rademacher's theorem asserting that Lipschitz maps between Carnot groups are differentiable almost everywhere. A set in a metric space is (upper) porous (Definition [\[def_porous\]](#def_porous){reference-type="ref" reference="def_porous"}) if each of its points sees nearby relatively large holes in the set on arbitrarily small scales. A set is \(\sigma\)-porous if it is a countable union of porous sets. Properties and applications of porous sets are surveyed in. Porous sets have applications to differentiability in the linear setting. For example, they were recently used in to show that if \(n>1\) then there exists a Lebesgue null set \(N\subset \mathbb{R}^{n}\) such that every Lipschitz map \(f\colon \mathbb{R}^{n}\to \mathbb{R}^{n-1}\) is differentiable at a point of \(N\). Applications of porosity to differentiability also exist in the non-linear setting of Carnot groups. For instance, showed that if \(\mathbb{G}\) is a Carnot group and \(f\colon \mathbb{G} \to \mathbb{R}\) is a Lipschitz map, then there exists a \(\sigma\)-porous set \(A\) such that if \(f\) is differentiable at \(x\in \mathbb{G}\setminus A\) in all horizontal directions then \(f\) is Pansu differentiable at \(x\). Hence it is also interesting to study porous sets and their applications in Carnot groups. In Section [3](#porousproperties){reference-type="ref" reference="porousproperties"} we investigate the structure of porous sets themselves in Carnot groups. Every \(\sigma\)-porous set in a metric space is of first category, which means it is a countable union of nowhere dense sets. In \(\mathbb{R}^{n}\), \(\sigma\)-porous sets also have Lebesgue measure zero. However, proving a set is \(\sigma\)-porous gives a stronger result than proving it is of first category or has measure zero: in \(\mathbb{R}^{n}\) there exists a closed nowhere dense set of Lebesgue measure zero which is not \(\sigma\)-porous. We show there is a natural analogue of this result in Carnot groups (Theorem [\[poroussmall\]](#poroussmall){reference-type="ref" reference="poroussmall"}). Any Carnot group can be represented in coordinates as a Euclidean space \(\mathbb{R}^n\) equipped with some additional structure. Hence one can compare porosity with respect to the CC and Euclidean distances. We show that, at least in the first Heisenberg group, the two notions differ: for each distance, one can construct a set which is porous with respect to the given distance but not porous with respect to the other distance (Proposition [\[enotcc\]](#enotcc){reference-type="ref" reference="enotcc"} and Proposition [\[ccnote\]](#ccnote){reference-type="ref" reference="ccnote"}). This does not follow immediately from the fact that the two distances are not Lipschitz equivalent: if \((M,d)\) is a metric space then the fractal metric \(d^{\varepsilon}\), \(0<\varepsilon<1\), need not be Lipschitz equivalent to \(d\) but gives the same family of porous sets (Remark [\[sameporoussets\]](#sameporoussets){reference-type="ref" reference="sameporoussets"}). In Section [4](#porousnondifferentiability){reference-type="ref" reference="porousnondifferentiability"} we give another connection between porosity and differentiability in Carnot groups. We adapt Euclidean arguments from to show that for any \(\sigma\)-porous set \(P\) in a Carnot group \(\mathbb{G}\), one can find a real-valued Lipschitz function on \(\mathbb{G}\) which is not even Pansu subdifferentiable on \(P\) (Proposition [\[nonsubdiff\]](#nonsubdiff){reference-type="ref" reference="nonsubdiff"}). As a consequence, a universal differentiability set in a Carnot group cannot be \(\sigma\)-porous (Corollary [\[udsnotporous\]](#udsnotporous){reference-type="ref" reference="udsnotporous"}). Universal differentiability sets are sets which contain a point of differentiability for every real-valued Lipschitz function. Such sets were investigated in in Euclidean spaces and in in the Heisenberg group. In Section [5](#gradientproblem){reference-type="ref" reference="gradientproblem"} we use the above mentioned non-differentiable functions and arguments from to investigate the horizontal gradient. The horizontal gradient is defined like the ordinary gradient in Euclidean spaces, but using only horizontal directional derivatives. We show that, as in the Euclidean case, the preimage of an open set under the horizontal gradient mapping is either empty or far from being porous (Theorem [\[gradienttheorem\]](#gradienttheorem){reference-type="ref" reference="gradienttheorem"}). In the Euclidean case this result is related to the so-called *gradient problem*. Assume \(n\geq 2\), \(\Omega\subset \mathbb{R}^n\) is an open set and \(f: \Omega\to \mathbb{R}\) is an everywhere differentiable function. The gradient problem asks whether it is true or not that fixed \(\tilde\Omega\subset\mathbb{R}^n\) open, the set \(\{p\in\Omega\ |\ \nabla f(p)\in \tilde\Omega\}\) is either empty or of positive \(n\)-dimensional Lebesgue measure. It is known that the answer is affirmative for \(n=1\) and negative in higher dimensions. We are not aware of any result of this type in the context of Carnot groups. **Acknowledgement.** Part of this work was carried out while A. P. was a postdoctoral researcher at the University of Bologna and G. S. was supported by a Taft Summer Research Fellowship from the Charles Phelps Taft Research Center. The project was finalized when A. P. visited the Department of Mathematical Sciences of the University of Cincinnati. A.P. wishes to express his gratitude to the University of Cincinnati for the stimulating atmosphere and the excellent working conditions. The authors thank helpful referees for valuable remarks and corrections.
# Preliminaries {#prelim}
In this section we define Carnot groups and porous sets. We refer the interested reader to for an introduction to Carnot groups and for information about porosity.
## Carnot Groups
## Coordinates on Carnot Groups
The *exponential map* \(\exp \colon \mathfrak{g}\to \mathbb{G}\) is defined by \(\exp(X)=\gamma(1)\), where \(\gamma \colon[0,1]\to \mathbb{G}\) is the unique solution to the initial value problem: \[\gamma'(t)=X(\gamma(t)),\qquad \gamma(0)=0.\] The exponential map \(\exp\colon \mathfrak{g}\to \mathbb{G}\) is a diffeomorphism. Throughout the paper we fix a basis \(X_{1}, \ldots, X_{n}\) of \(\mathfrak{g}\) adapted to the stratification, in which a basis of \(V_{i+1}\) follows a basis of \(V_{i}\) for each \(i\). Define \(m=\dim(V_1)\) and notice \(X_{1}, \ldots, X_{m}\) is then a basis of \(V_1\). Any \(x\in \mathbb{G}\) can be written uniquely as \[x=\exp(x_{1}X_{1}+\ldots +x_{n}X_{n})\] for some \(x_{1},\ldots, x_{n}\in \mathbb{R}\). We identify \(x\) with \((x_{1},\ldots, x_{n})\in \mathbb{R}^{n}\) and \(\mathbb{G}\) with \((\mathbb{R}^{n},\cdot)\), where the group operation on \(\mathbb{R}^{n}\) is determined by the Baker-Campbell-Hausdorff formula on \(\mathfrak{g}\). This is known as *exponential coordinates of the first kind*. With this identification the Lebesgue measure \(\mathcal{L}^{n}\) on \(\mathbb{R}^n\) is a *Haar measure* on \(\mathbb{G}\) For any \(\lambda>0\), the *dilation* \(\delta_{\lambda}\colon \mathfrak{g}\to \mathfrak{g}\) is defined as the linear map satisfying \(\delta_{\lambda}(X)=\lambda^{i}X\) whenever \(X\in V_{i}\). Dilations are extended to \(\mathbb{G}\) so as to satisfy the equality \(\exp \circ \delta_{\lambda} = \delta_{\lambda}\circ \exp\). Dilations satisfy the equality \(\delta_{\lambda}(xy)=\delta_{\lambda}(x)\delta_{\lambda}(y)\) for \(x, y\in \mathbb{G}\) and \(\lambda>0\). Define the *projection* \(p\colon \mathbb{R}^{n} \to \mathbb{R}^{m}\) by \(p(x_1,\ldots, x_n)=(x_{1}, \ldots, x_{m})\).
## Carnot-Carathéodory Distance
The Chow-Rashevskii Theorem implies that any two points of \(\mathbb{G}\) can be connected by horizontal curves. It follows that the CC distance is indeed a distance on \(\mathbb{G}\). The following identities hold for \(x, y, z\in \mathbb{G}\) and \(r>0\): \[d_{c}(zx,zy)=d_{c}(x,y), \qquad d_{c}(\delta_{r}(x),\delta_{r}(y))=rd_{c}(x,y).\] For brevity we write \(d_{c}(x)\) instead of \(d_{c}(x,0)\). Since \(\mathbb{G}\) is identified with \(\mathbb{R}^{n}\), we may compare the CC distance \(d_{c}\) with the Euclidean distance \(d_{e}\). These distances induce the same topology on \(\mathbb{R}^{n}\) but are not Lipschitz equivalent.
## Pansu Differentiability and Directional Derivatives
If the map \(L\) in the definition of Pansu differentiability exists then it is unique, called the *Pansu differential*, and we denote it by \(df(x_{0})\). For simplicity we now state the celebrated Pansu theorem for scalar targets, though a similar result holds when the target is any Carnot group.
We define horizontal directional derivatives of a Lipschitz function by composition with horizontal lines.
If \(x\in \mathbb{G}\) and \(X\in V_{1}\) is horizontal, the map \(t\mapsto x\exp(tX)\) is Lipschitz. Hence if \(f\colon \mathbb{G}\to \mathbb{R}\) is Lipschitz, the composition \(t\mapsto f(x\exp(tX))\) is a Lipschitz mapping from \(\mathbb{R}\) to \(\mathbb{R}\) so is differentiable almost everywhere. Thus Lipschitz functions have directional derivatives along each horizontal line, at almost every point and in the direction of the line. It follows from the definition of \(d_{c}\) that if \(f\colon \mathbb{G} \to \mathbb{R}\) is Lipschitz then \(|X_{i}f(x)|\leq \mathrm{Lip}(f)\) whenever \(1\leq i\leq m\) and \(X_{i}f(x)\) exists. Here we recall that \(X_{1},\ldots, X_{m}\) is our fixed basis of \(V_1\), which we used to define horizontal length and CC distance.
As observed in, if \(f\) is Pansu differentiable at \(x_0\) then \(X_{i}f(x)\) exists for every \(1\leq i\leq m\) and \[\label{gradform}df(x_0)(h)=\langle \nabla_{H}f(x_0), p(h) \rangle.\] Here \(\langle \cdot, \cdot \rangle\) denotes the Euclidean inner product on \(\mathbb{R}^{m}\).
## Porous Sets
When a metric space is clear from the context, we denote the open ball of centre \(x\) and radius \(r>0\) by \(B(x,r)\).
Porous sets in metric spaces are nowhere dense and \(\sigma\)-porous sets in metric spaces are of first category, which means they can be written as a countable union of nowhere dense sets. However, in any non-empty topologically complete metric space without isolated points, there exists a closed nowhere dense set which is not \(\sigma\)-porous. Unless otherwise stated, porosity in a Carnot group will mean porosity with respect to the CC distance (or a Lipschitz equivalent distance).
# Geometry of Porous Sets in Carnot Groups {#porousproperties}
In this section we compare CC porosity with Euclidean porosity and other notions of smallness of sets.
## Measure and Porosity in Carnot Groups
We begin by observing that porous sets in Carnot groups have measure zero. The simple proof does not depend on the structure of Carnot groups; it is known that porous sets have measure zero in any metric space equipped with a doubling measure.
Proposition [\[porousnull\]](#porousnull){reference-type="ref" reference="porousnull"} implies that the collection of \(\sigma\)-porous sets is contained in the collection of first category measure zero sets. In \(\mathbb{R}^{n}\) there exists a closed nowhere dense set of Lebesgue measure zero which is not \(\sigma\)-porous. We now prove a similar statement in Carnot groups.
Before proving Theorem [\[poroussmall\]](#poroussmall){reference-type="ref" reference="poroussmall"} we prove the following lemma.
## Comparison of Euclidean and CC Porosity
Recall that \(\mathbb{G}\) is identified with \(\mathbb{R}^{n}\) in coordinates, so on \(\mathbb{G}\) we can consider both the CC distance and the Euclidean distance. We next show that if \(\mathbb{G}\) is the first Heisenberg group then these two distances give incomparable families of porous sets.
The Koranyi distance is Lipschitz equivalent to the CC distance on \(\mathbb{H}^{1}\), so a set is porous with respect to the Koranyi distance if and only if it is porous with respect to the CC distance. When necessary, we use the notation \(B_{e}(a,r)\) and \(B_{k}(a,r)\) to distinguish between balls in \(\mathbb{R}^{3}\) with respect to the Euclidean or Koranyi distance. The following estimate is clear from [\[Koranyi\]](#Koranyi){reference-type="eqref" reference="Koranyi"}: \[\label{simpleest} d_{k}(x,y,t)\geq \max \left( |(x,y)|,\sqrt{|t|} \right).\] Let \(C\) be the middle third Cantor set. Note \(C\) is \((1/3)\)-porous as a subset of \([0,1]\) with the Euclidean distance. If \(\alpha, \beta \in \mathbb{R}\) and \(S\subset \mathbb{R}\), then we define \(\alpha +\beta S=\{\alpha+\beta s \colon s\in S\}\). If \(S\subset \mathbb{R}\) is porous then \(\alpha +\beta S\) is also porous, with the same porosity constant as \(S\).
We prove Proposition [\[enotcc\]](#enotcc){reference-type="ref" reference="enotcc"} in Claim [\[enotccclaim1\]](#enotccclaim1){reference-type="ref" reference="enotccclaim1"} and Claim [\[enotccclaim2\]](#enotccclaim2){reference-type="ref" reference="enotccclaim2"}.
We prove Proposition [\[ccnote\]](#ccnote){reference-type="ref" reference="ccnote"} in Claim [\[ccnoteclaim1\]](#ccnoteclaim1){reference-type="ref" reference="ccnoteclaim1"} and Claim [\[ccnoteclaim2\]](#ccnoteclaim2){reference-type="ref" reference="ccnoteclaim2"}.
# Non-differentiability on a \(\sigma\)-Porous Set {#porousnondifferentiability}
In this section we construct a Lipschitz function which is subdifferentiable at no point of a given \(\sigma\)-porous set in a Carnot group (Theorem [\[nonsubdiff\]](#nonsubdiff){reference-type="ref" reference="nonsubdiff"}). We first give basic properties of (Pansu) subdifferentiability (Definition [\[subdiff\]](#subdiff){reference-type="ref" reference="subdiff"}), which are simple adaptations of similar statements in Banach spaces.
The following lemma will be used in Section [5](#gradientproblem){reference-type="ref" reference="gradientproblem"}. There is no similar statement if \(\mathbb{R}\) is replaced by \(\mathbb{R}^n\) (\(n>1\)) or \(\mathbb{H}^{n}\): these spaces admit measure zero sets containing points of (Pansu) differentiability for every real-valued Lipschitz function.
In Banach spaces which admit a suitable bump function, one can construct a Lipschitz function which is differentiable at no point of any given \(\sigma\)-porous set. We show that the same is true in a general Carnot group. Our proof is a modification of. The next lemma is, where the set is assumed to be 'uniformly porous'. In the present paper 'uniformly porous' simply means 'porous', since our definition of porosity already requires the relative size of holes (i.e. the parameter \(\lambda\) in Definition [\[def_porous\]](#def_porous){reference-type="ref" reference="def_porous"}) to be uniform over the porous set. We denote the closed ball of center \(x\) and radius \(r>0\) in a metric space by \(\overline{B}(x,r)\).
A universal differentiability set in \(\mathbb{G}\) is a subset \(A\subset \mathbb{G}\) such that every Lipschitz function \(f\colon \mathbb{G}\to \mathbb{R}\) is Pansu differentiable at a point of \(A\). Theorem [\[nonsubdiff\]](#nonsubdiff){reference-type="ref" reference="nonsubdiff"} gives the following corollary showing that, as in the Euclidean case, universal differentiability sets are far from being porous.
# The Horizontal Gradient {#gradientproblem}
We next use Theorem [\[nonsubdiff\]](#nonsubdiff){reference-type="ref" reference="nonsubdiff"} and arguments from to prove Theorem [\[gradienttheorem\]](#gradienttheorem){reference-type="ref" reference="gradienttheorem"}. Roughly, this states that preimages of open sets under the horizontal gradient are far from being \(\sigma\)-porous. We first prove a useful lemma. Recall that \(m\) is the dimension of the horizontal layer \(V_{1}\) of \(\mathbb{G}\). | {'timestamp': '2017-07-25T02:08:58', 'yymm': '1607', 'arxiv_id': '1607.04681', 'language': 'en', 'url': 'https://arxiv.org/abs/1607.04681'} |
null | null |
# Introduction and Summary
Industry classifications such as GICS, BICS, ICB, NAICS, SIC, etc.[^1] are widely used in quantitative trading. They group stocks into baskets, e.g., industries, i.e., based on some kind of a similarity criterion. On general grounds one then expects (or hopes) that stocks within such baskets on average should be relatively highly correlated. This is valuable information and can be used in various ways. E.g., one can build a simple mean-reversion statistical arbitrage strategy whereby one assumes that stocks in a given industry move together, cross-sectionally demeans stock returns within said industry, shorts stocks with positive residual returns and goes long stocks with negative residual returns, with some generally nonuniform weights.[^2] Industries can also be used as risk factors in multifactor risk models.[^3] The aforementioned "fundamental\" industry classifications are based on grouping companies together based on fundamental/economic data (see Section [2](#sec2){reference-type="ref" reference="sec2"}), which is expected to add value on longer holding horizons. What about shorter holding horizons relevant to quantitative trading strategies? Other than a large number of market players using such industry classifications to arbitrage mispricings,[^4] how do we know that they are competitive with purely statistical methods at short horizons? It is no secret that modern quantitative trading heavily relies on statistical methods such as data mining, machine learning, clustering algorithms, etc. However, after all, quantitative trading is a secretive field and resources on how things are done in practice are at best scarce.[^5] The purpose of these notes is to discuss a systematic quantitative framework--in what is intended to be a "pedagogical\" fashion--for building what we refer to as *statistical industry classifications*, solely based on stock returns and no additional extraneous data. Under the hood we have clustering algorithms. However, picking a clustering algorithm--and we will see that some work better than others--is insufficient. E.g., what should we cluster? Correlations? Returns? The answer turns out to be neither and stems from quantitative trading intuition, which is not something one expects to find in machine learning books. We discuss various nuances in constructing statistical industry classifications, and it is those nuances that make a sizable difference. Quant trading is all about detail. One motivation for considering statistical industry classifications--apart from the evident, to wit, the fact that they differ from "fundamental\" industry classifications and are widely used in quant trading--is scenarios where "fundamental\" industry classifications are unavailable (or are of subpar quality). This could be in emerging or smaller markets, or even in the U.S. if the underlying trading portfolios are relatively small and a "fundamental\" industry classification produces too fragmented a grouping. However, perhaps an equally--if not more--important motivation is application of these methods to returns for "instruments\" other than stocks, e.g., quantitative trading alphas, for which there is no analog of a "fundamental\" industry classification. We will keep this in mind below.[^6] In Section [2](#sec2){reference-type="ref" reference="sec2"} we briefly review some generalities of (binary) "fundamental\" industry classifications to set up the framework for further discussion. Next, in Section [3](#sec.stat.clust){reference-type="ref" reference="sec.stat.clust"} we address the issue of what to cluster. We discuss why clustering correlations is suboptimal, and why so is directly clustering returns. We argue that returns should be normalized before clustering and give an explicit prescription for such normalization. We then discuss how to construct single-level and multilevel (hierarchical--e.g., BICS has 3 levels: sectors, industries and sub-industries) statistical industry classifications together with some tweaks (e.g., cross-sectionally demeaning returns at less granular levels). Many clustering algorithms such as k-means are not deterministic. This can be a nuisance. We give an explicit prescription for aggregating classifications from multiple samplings, which in fact improves stability and performance. We discuss algorithms for "bottom-up\" (most granular to least granular level), "top-down\" (least granular to most granular level) and "relaxation\" (hierarchical agglomerative) clustering, together with their "pros\" and "cons\". In Section [4](#sec.backtests){reference-type="ref" reference="sec.backtests"} we discuss detailed backtests of the various algorithms in Section [3](#sec.stat.clust){reference-type="ref" reference="sec.stat.clust"} and subsequent sections utilizing the intraday alphas and backtesting procedure described in by using the resultant multilevel statistical industry classifications for building heterotic risk models. The backtests unequivocally suggest that there is structure in the return time series beyond what is captured by simple principal component analysis and clustering adds value. However, clustering still cannot compete with "fundamental\" industry classifications in terms of performance due to inherent out-of-sample instabilities in any purely statistical algorithm. In Section [5](#sec.dyn){reference-type="ref" reference="sec.dyn"} we take it a step further and give a prescription for fixing the number of clusters at each level using the methods discussed in, including eRank (effective rank) defined in. We also discuss a heuristic for fixing the number of levels, albeit we empirically observe that the number of levels is not as influential as the number of clusters, at least in our backtests. We take this even further in Section [6](#sec.hybrid){reference-type="ref" reference="sec.hybrid"}, where we give an algorithm for improving a "fundamental\" industry classification via further clustering large sub-industries (using BICS nomenclature) at the most granular level via statistical industry classification algorithms we discuss here thereby increasing granularity and improving performance. We briefly conclude in Section [7](#sec.concl){reference-type="ref" reference="sec.concl"} and outline some ideas. We give the R source code for our algorithms in Appendix [\[app.A\]](#app.A){reference-type="ref" reference="app.A"} (multilevel "bottom-up\" clustering, dynamical cluster numbers), Appendix [\[app.B\]](#app.B){reference-type="ref" reference="app.B"} (multilevel "top-down\" clustering) and Appendix [\[app.C\]](#app.C){reference-type="ref" reference="app.C"} ("relaxation\" clustering). Appendix [\[app.D\]](#app.D){reference-type="ref" reference="app.D"} contains legalese.
# Industry Classification {#sec2}
An industry classification is based on a similarity criterion: stocks' membership in "groups\" or "clusters\" such as sectors, industries, sub-industries, etc.--the nomenclature varies from one industry classification scheme to another. Commonly used industry classifications such as GICS, BICS, ICB, NAICS, SIC, etc., are based on fundamental/economic data (such as companies' products and services and more generally their revenue sources, suppliers, competitors, partners, etc.). Such industry classifications are essentially independent of the pricing data and, if well-built, tend to be rather stable out-of-sample as companies seldom jump industries.[^7] An industry classification can consist of a single level: \(N\) tickers labeled by \(i=1,\dots,N\) are grouped into \(K\) "groups\"--let us generically call them "clusters\"--labeled by \(A=1,\dots,K\). So, we have a map \(G:\{1,\dots,N\}\mapsto\{1,\dots,K\}\) between stocks and "clusters\".[^8] More generally, we can have a hierarchy with multiple levels. We can schematically represent this via: Stocks \(\rightarrow\) Level-1 "Clusters\" \(\rightarrow\) Level-2 "Clusters\" \(\rightarrow \dots \rightarrow\) Level-\(P\) "Clusters\". Let us label these \(P\) levels by \(\mu = 1,\dots, P\). Level-1 is the most granular level with \(N\) stocks grouped into \(K_1\) "clusters\". The Level-1 "clusters\" are in turn grouped into \(K_2\) Level-2 "clusters\", where \(K_2 < K_1\), and so on, Level-\(P\) being least granular.[^9] Thus, consider BICS[^10] as an illustrative example, which has a 3-level hierarchy: Stocks \(\rightarrow\) Sub-industries \(\rightarrow\) Industries \(\rightarrow\) Sectors. (Here "Sub-industries\" is the most granular level, while "Sectors\" is the least granular level.) So, we have: \(N\) stocks labeled by \(i=1,\dots,N\); \(K\) sub-industries labeled by \(A=1,\dots,K\); \(F\) industries labeled by \(a=1,\dots,F\); and \(L\) sectors labeled by \(\alpha=1,\dots,L\). Let \(G\) be the map between stocks and sub-industries, \(S\) be the map between sub-industries and industries, and \(W\) be the map between industries and sectors: \[\begin{aligned}
\label{G.map} &&G:\{1,\dots,N\}\mapsto\{1,\dots,K\}\\ &&S:\{1,\dots,K\}\mapsto\{1,\dots,F\}\label{S.map}\\ &&W:\{1,\dots,F\}\mapsto\{1,\dots,L\}\label{W.map} \end{aligned}\] The beauty of such "binary\" industry classifications (generally, with \(P\) levels) is that the "clusters\" (in the case of BICS, sub-industries, industries and sectors) can be used to identify blocks (sub-matrices) in the sample correlation matrix \(\Psi_{ij}\) of stock returns.[^11] E.g., for sub-industries the binary matrix \(\delta_{G(i), A}\) defines such blocks.
# Statistical Clustering {#sec.stat.clust}
What if we do not have access to industry classifications based on fundamental data[^12] or one is unavailable for the stock universe we wish to trade? Can we build an industry classification from pricing data, i.e., directly from stock returns? After all, intuitively, the time series of returns contains information about how correlated the stocks are. Can we extract it and transform it into an industry classification? The answer is yes, but it is tricky. The key issue is that correlations between stocks typically are highly unstable out-of-sample. A naive attempt at constructing an industry classification based on stock returns may produce an industry classification with subpar performance. Our goal here is to discuss how to mitigate the out-of-sample instability by building statistical industry classifications based on clustering quantities other than returns. But first let us discuss clustering itself.
## K-means
A popular clustering algorithm is k-means, ,, ,, ,. The basic idea behind k-means is to partition \(N\) observations into \(K\) clusters such that each observation belongs to the cluster with the nearest mean. Each of the \(N\) observations is actually a \(d\)-vector, so we have an \(N \times d\) matrix \(X_{is}\), \(i=1,\dots,N\), \(s=1,\dots,d\). Let \(C_a\) be the \(K\) clusters, \(C_a = \{i| i\in C_a\}\), \(a=1,\dots,K\). Then k-means attempts to minimize \[\label{k-means} g = \sum_{a=1}^K \sum_{i \in C_a} \sum_{s=1}^d \left(X_{is}-Y_{as}\right)^2\] where \[\label{centers} Y_{as} = {1\over n_a} \sum_{i\in C_a} X_{is}\] are the cluster centers (i.e., cross-sectional means),[^13] and \(n_a = |C_a|\) is the number of elements in the cluster \(C_a\). In ([\[k-means\]](#k-means){reference-type="ref" reference="k-means"}) the measure of "closeness\" is chosen to be the Euclidean distance between points in \({\bf R}^d\), albeit other measures are possible. One "drawback\" of k-means is that it is not a deterministic algorithm. Generically, there are copious local minima of \(g\) in ([\[k-means\]](#k-means){reference-type="ref" reference="k-means"}) and the algorithm only guarantees that it will converge to a local minimum, not the global one. Being an iterative algorithm, k-means starts with a random or user-defined set of the centers \(Y_{as}\) at the initial iteration. However, as we will see, this "drawback\" actually adds value.
## What to Cluster?
So, what should we cluster to construct statistical industry classifications? I.e., what should we pick as our matrix \(X_{is}\) in ([\[k-means\]](#k-means){reference-type="ref" reference="k-means"})? It is tempting to somehow use pair-wise stock correlations. However, the sample correlation matrix \(\Psi_{ij}\) computed based on the time series of stock returns is highly unstable out-of-sample.[^14] So, what if we identify \(X_{is}\) with the time series of the underlying stock returns? Let \(R_{is}\) be these stock returns, where \(s = 1,\dots,d\) now is interpreted as labeling the observations in the time series (e.g., trading days). Further, for definiteness, let \(s=1\) correspond to the most recent observation. Now we can build a statistical industry classification by applying k-means to \(X_{is} = R_{is}\). Intuitively this makes sense: we are clustering stocks based on how close the returns are to the centers (i.e., within-cluster cross-sectional means) of the clusters they belong to. However, this is a suboptimal choice. Indeed, this can be understood by observing that, in the context of stock returns, a priori there is no reason why the centers \(Y_{as}\) in ([\[centers\]](#centers){reference-type="ref" reference="centers"}) should be computed with equal weights. We can think of the clusters \(C_a\) as portfolios of stocks, and \(Y_{as}\) as the returns for these portfolios. Therefore, based on financial intuition, we may wish to construct these portfolios with nonuniform weights. Furthermore, upon further reflection, it become evident that clustering returns make less sense than it might have appeared at first. Indeed, stock volatility is highly variable, and its cross-sectional distribution is not even quasi-normal but highly skewed, with a long tail at the higher end--it is roughly log-normal. Clustering returns does not take this skewness into account and inadvertently we might be clustering together returns that are not at all highly correlated solely due to the skewed volatility factor. A simple solution is to cluster the normalized returns \({\widetilde R}_{is} = R_{is} / \sigma_i\), where \(\sigma_i^2 = \mbox{Var}(R_{is})\) is the serial variance. This way we factor out the skewed volatility factor. Indeed, \(\mbox{Cov}({\widetilde R}_i, {\widetilde R}_j) = \mbox{Cor}(R_i, R_j) = \Psi_{ij}\) (we suppress the index \(s\) in the serial covariance Cov and correlation Cor) is the sample correlation matrix with \(|\Psi_{ij}| \leq 1\). However, as we will see below, clustering \({\widetilde R}_{is}\), while producing better results than clustering \(R_{is}\), is also suboptimal. Here are two simple arguments why this is so. Clusters \(C_a\) define \(K\) portfolios whose weights are determined by what we cluster. When we cluster \(X_{is} = R_{is}\), the centers are \(Y_{as} = \mbox{Mean}(R_{is}|i\in C_a)\), i.e., we have equal weights \(\omega_i\equiv 1\) for the aforesaid \(K\) portfolios, and we group \(R_{is}\) (at each iterative step in the k-means algorithm) by how close these returns are to these equally-weighted portfolios. However, equally-weighted portfolios themselves are suboptimal. So are portfolios weighted by \(\omega_i\equiv 1/\sigma_i\), which is what we get if we cluster \(X_{is} = {\widetilde R}_{is}\), where the centers are \(Y_{as} = \mbox{Mean}(R_{is}/\sigma_i|i\in C_a)\). Thus, portfolios that maximize the Sharpe ratio are weighted by inverse variances:[^15] \(\omega_i=1/\sigma_i^2\). We get such portfolios if we cluster \(X_{is} = {\widehat R}_{is}\), where \({\widehat R}_{is} = R_{is}/\sigma_i^2\), so the centers are \(Y_{as} = \mbox{Mean}(R_{is}/\sigma_i^2|i\in C_a)\). Clustering \({\widehat R}_{is}\), as we will see, indeed outperforms clustering \({\widetilde R}_{is}\). Can we understand this in a simple, intuitive fashion? By clustering \({\widetilde R}_{is} = R_{is}/\sigma_i\), we already factor out the volatility dependence. So, why would clustering \({\widehat R}_{is} = R_{is}/\sigma_i^2\) work better? Clustering \({\widetilde R}_{is}\) essentially groups together stocks that are (to varying degrees) highly correlated in-sample. However, there is no guarantee that they will remain as highly correlated out-of-sample. Intuitively, it is evident that higher volatility stocks are more likely to get uncorrelated with their respective clusters. This is essentially why suppressing by another factor or \(\sigma_i\) in \({\widehat R}_{is}\) (as compared with \({\widetilde R}_{is}\)) leads to better performance: inter alia, it suppresses contributions of those volatile stocks into the cluster centers \(Y_{is}\).
### A Minor Tweak {#sub.norm.ret}
So, we wish to cluster \({\widehat R}_{is} = R_{is}/\sigma_i^2\). There is a potential hiccup with this in practice. If some stocks have very low volatilities, we could have large \({\widehat R}_{is}\) for such stocks. To avoid any potential issues with computations, we can "smooth\" this out via (MAD = mean absolute deviation):[^16] \[\begin{aligned}
\label{tweak} &&{\widehat R}_{is} = {R_{is} \over {\sigma_i u_i}}\\ &&u_i = {\sigma_i\over v_i}\\ &&v_i = \exp(\mbox{Median}(\ln(\sigma_i))-3~\mbox{MAD}(\ln(\sigma_i))) \end{aligned}\] and for all \(v_i < 1\) we set \(v_i \equiv 1\). This is the definition of \({\widehat R}_{is}\) we use below (unless stated otherwise). Furthermore, Median(\(\cdot\)) and MAD(\(\cdot\)) above are cross-sectional.
## Multilevel Clustering
If we wish to construct a single-level statistical industry classification, we can simply cluster \({\widehat R}_{is}\) defined in ([\[tweak\]](#tweak){reference-type="ref" reference="tweak"}) into \(K\) clusters via k-means. What if we wish to construct a multilevel statistical industry classification (see Section [2](#sec2){reference-type="ref" reference="sec2"})? We discuss two approaches here, which we can refer to as "bottom-up\" and "top-down\".[^17]
### Bottom-Up Clustering {#sub.bottomup}
Say we wish to construct a \(P\)-level classification. We can construct it as a sequence: \(K_1 \rightarrow K_2 \rightarrow \dots \rightarrow K_P\) (\(K_1 > K_2 > \dots > K_P\)), where we first construct the most granular level with \(K_1\) clusters, then we cluster these \(K_1\) clusters into fewer \(K_2\) clusters and so on, until we reach the last and least granular level with \(K_P\) clusters. Given[^18] the integers \(K_1,\dots,K_P\), the question is what to use as the returns at each step. Let these returns be \([R(\mu)]_{i(\mu), s}\) (i.e., we cluster \([R(\mu)]_{i(\mu), s}\) into \(K_\mu\) clusters via k-means), where \(\mu =1,\dots,P\), \(i(\mu) = 1,\dots,K_{\mu-1}\), and we have conveniently defined \(K_0 = N\), so \(i(1)\) is the same index as \(i\). As above, we can take \([R(1)]_{is} = {\widehat R}_{is}\). What about \([R(\mu)]_{i(\mu), s}\) at higher levels \(\mu > 1\)? We have some choices here. Let \(C_{a(\mu)} = \{i(\mu)| i(\mu)\in C_{a(\mu)}\}\), \(a(\mu)=1,\dots,K_\mu\) be the clusters at each level \(\mu\). I.e., the index \(a(\mu)\) is the same as the index \(i(\mu+1)\) for \(0 < \mu < P\). Then we can take (in the second line below \(2 < \mu \leq P\)) \[\begin{aligned}
&&[R(2)]_{i(2), s} = \mbox{Mean}(R^\prime_{is}| i \in \{1,\dots,N\})\\ &&[R(\mu)]_{i(\mu), s} = \mbox{Mean}([R^\prime(\mu-1)]_{i(\mu-1),s}| i(\mu-1) \in C_{a(\mu-1)})\label{Rmu} \end{aligned}\] where we can take (i) \(R^\prime_{is} = R_{is}\) and \([R^\prime(\mu)]_{i(\mu),s} = [R(\mu)]_{i(\mu),s}\), or (ii) \(R^\prime_{is} = {\widehat R}_{is}\) and \([R^\prime(\mu)]_{i(\mu),s} = [{\widehat R}(\mu)]_{i(\mu),s}\), where (Var(\(\cdot\)) below is the serial variance) \[\begin{aligned}
&&[{\widehat R}(\mu)]_{i(\mu),s} = {[R(\mu)]_{i(\mu),s} \over \sigma_{i(\mu)}^2}\\ &&\sigma_{i(\mu)}^2 = \mbox{Var}([R(\mu)]_{i(\mu),s}) \end{aligned}\] These two definitions produce very similar results in our backtests (see below).
### Another Minor Tweak {#sub.demean}
In the bottom-up clustering approach we just discussed above, the higher level clusters tend to be highly correlated with each other. I.e., the corresponding cluster returns have a prominent "market\" (or "overall\") mode[^19] component in them. That is, averages of pair-wise (\(i(\mu)\neq j(\mu)\)) serial correlations \([\Psi(\mu)]_{i(\mu),j(\mu)} = \mbox{Cor}([R(\mu)]_{i(\mu), s}, [R(\mu)]_{j(\mu), s})\) at higher levels \(\mu > 1\) are substantial.[^20] To circumvent this, we can simply cross-sectionally demean the returns at higher levels, i.e., for \(\mu > 1\) we substitute \([R(\mu)]_{i(\mu), s}\) by \([R(\mu)]_{i(\mu), s}-\mbox{Mean}([R(\mu)]_{i(\mu), s} | i(\mu)\in C_a(\mu))\). However, cross-sectional demeaning at level-1 (\(\mu = 1\)) leads to worse performance. Intuitively, we can understand this as follows. Demeaning at the most granular level removes the "market\" mode.[^21] Unlike higher-level returns \([R(\mu)]_{i(\mu), s}\), \(\mu > 1\), the level-1 returns are not all that highly correlated with each other, so it pays to keep the "market\" mode intact as, e.g., high-beta stocks statistically are expected to cluster together, while low-beta stocks are expected to cluster differently. So, the upshot is that we demean the returns at higher levels, but not level-1 returns.
### Aggregating Multiple Samplings {#sub.aggr}
As mentioned above, k-means is not a deterministic algorithm. Unless the initial centers are preset, the algorithm starts with random initial centers and converges to a different local minimum in each run. There is no magic bullet here: trying to "guess\" the initial centers is not any easier than "guessing\" where, e.g., the global minimum is. So, what is one to do? One possibility is to simply live with the fact that every run produces a different answer. The question then one must address in a given context is whether the performance in an actual application is stable from one such random run to another, or if it is all over the place. As we will see below, in our backtests, happily, the performance is extremely stable notwithstanding the fact that each time k-means produces a different looking industry classification. So, this could be the end of the story here. However, one can do better. The idea is simple. What if we *aggregate* different industry classifications from multiple runs (or samplings) into one? The question is how. Suppose we have \(M\) runs (\(M \gg 1\)). Each run produces an industry classification with \(K\) clusters. Let \(\Omega^r_{ia} = \delta_{G^r(i),a}\), \(i=1,\dots,N\), \(a=1,\dots,K\) (here \(G^r:\{1,\dots,N\} \mapsto \{1,\dots,K\}\) is the map between the stocks and the clusters),[^22] be the binary loadings matrix from each run labeled by \(r=1,\dots,M\). Here we are assuming that somehow we know how to properly order (i.e., align) the \(K\) clusters from each run. This is a nontrivial assumption, which we will come back to momentarily. However, assuming, for a second, that we know how to do this, we can aggregate the loadings matrices \(\Omega^r_{ia}\) into a single matrix \({\widetilde \Omega}_{ia} = \sum_{r=1}^M \Omega^r_{ia}\). Now, this matrix does not look like a binary loadings matrix. Instead, it is a matrix of occurrence counts, i.e., it counts how many times a given stock was assigned to a given cluster in the process of \(M\) samplings. What we need to construct is a map \(G\) such that one and only one stock belongs to each of the \(K\) clusters. The simplest criterion is to map a given stock to the cluster in which \({\widetilde\Omega}_{ia}\) is maximal, i.e., where said stock occurs most frequently. A caveat is that there may be more than one such clusters. A simple criterion to resolve such an ambiguity is to assign said stock to the cluster with most cumulative occurrences (i.e., we take \(q_a = \sum_{i=1}^N {\widetilde\Omega}_{ia}\) and assign this stock to the cluster with the largest \(q_a\), if the aforesaid ambiguity occurs). In the unlikely event that there is still an ambiguity, we can try to do more complicated things, or we can simply assign such a stock to the cluster with the lowest value of the index \(a\)--typically, there is so much noise in the system that dwelling on such minutiae simply does not pay off. However, we still need to tie up a loose end, to wit, our assumption that the clusters from different runs were somehow all aligned. In practice each run produces \(K\) clusters, but i) they are not the same clusters and there is no foolproof way of mapping them, especially when we have a large number of runs; and ii) even if the clusters were the same or similar, they would not be ordered, i.e., the clusters from one run generally would be in a different order than clusters from another run. So, we need a way to "match\" clusters from different samplings. Again, there is no magic bullet here either. We can do a lot of complicated and contrived things with not much to show for it at the end. A simple pragmatic solution is to use k-means to align the clusters from different runs. Each run labeled by \(r=1,\dots,M\), among other things, produces a set of cluster centers \(Y^r_{as}\). We can "bootstrap\" them by row into a \((KM) \times d\) matrix \({\widetilde Y}_{{\widetilde a}s} = Y^r_{as}\), where \({\widetilde a} = a + (r-1)K\) takes values \({\widetilde a}=1,\dots,(KM)\). We can now cluster \({\widetilde Y}_{{\widetilde a}s}\) into \(K\) clusters via k-means. This will map each value of \({\widetilde a}\) to \(\{1,\dots,K\}\) thereby mapping the \(K\) clusters from each of the \(M\) runs to \(\{1,\dots,K\}\). So, this way we can align all clusters. The "catch\" is that there is no guarantee that each of the \(K\) clusters from each of the \(M\) runs will be uniquely mapped to one value in \(\{1,\dots,K\}\), i.e., we may have some empty clusters at the end of the day. However, this is fine, we can simply drop such empty clusters and aggregate (via the above procedure) the smaller number of \(K^\prime < K\) clusters. I.e., at the end we will end up with an industry classification with \(K^\prime\) clusters, which might be fewer than the target number of clusters \(K\). This is not necessarily a bad thing. The dropped clusters might have been redundant in the first place. Another evident "catch\" is that even the number of resulting clusters \(K^\prime\) is not deterministic. If we run this algorithm multiple times, we will get varying values of \(K^\prime\). However, as we will see below, the aggregation procedure improves performance in our backtests and despite the variability in \(K^\prime\) is also very stable from run to run. In Appendix [\[app.A\]](#app.A){reference-type="ref" reference="app.A"} we give the R source code for bottom-up clustering with various features we discuss above, including multilevel industry classification, the tweaks, and aggregation.[^23]
### Top-Down Clustering {#sub.topdown}
Above we discussed bottom-up clustering. We can go the other way around and do top-down clustering. I.e., we can construct a \(P\)-level classification as a sequence \(K_P \rightarrow K_{P-1} \rightarrow \dots \rightarrow K_2 \rightarrow K_1\) (as before, \(K_1 > K_2 > \dots > K_P\)). More conveniently, we start with the entire universe of stocks and cluster \({\widehat R}_{is}\), \(i=1,\dots,N\), into \(L_P = K_P\) clusters. At level-\((P-1)\), we cluster each level-\(P\) cluster \(C_{a(P)} = \{i|i\in C_{a(P)}\}\), \(a(P) = 1,\dots,K_P\), into \(L_{P-1}\) clusters. We do this by clustering the returns \({\widehat R}_{is}\), \(i\in C_{a(P)}\) via k-means into \(L_{P-1}\) clusters.[^24] At level-\((P-2)\), we cluster each level-\((P-1)\) cluster \(C_{a(P-1)} = \{i|i\in C_{a(P-1)}\}\), \(a(P-1) = 1,\dots,K_{P-1}\), into \(L_{P-2}\) clusters. We do this by clustering the returns \({\widehat R}_{is}\), \(i\in C_{a(P-1)}\) via k-means into \(L_{P-2}\) clusters. And so on.[^25] In the zeroth approximation, \(K_{P-1} = L_{P-1} K_P\), \(K_{P-2} = L_{P-2} K_{P-1}\), and so on, so \(K_1 = K_* = \prod_{\mu=1}^P L_\mu\). However, if at some level-\(\mu\) we have some cluster \(C_{a(\mu)}\) with \(n_a(\mu) \leq L_\mu\), then we leave this cluster intact and do not cluster it, i.e., we "roll it\" forward unchanged. Therefore, we can have \(K_1 < K_*\) at the most granular level-1. Also, instead of simply clustering via a single-sampling k-means, as above we can aggregate multiple samplings. Then at any level-\(\mu\) we can end up clustering a given cluster \(C_{a(\mu)}\) into \(L_\mu\) or fewer clusters. Note, since here we work directly with the returns \({\widehat R}_{is}\), in contrast to the bottom-up approach, no cross-sectional demeaning is warranted at any level. In Appendix [\[app.B\]](#app.B){reference-type="ref" reference="app.B"} we give the R source code for top-down clustering, including with aggregation over multiple samplings.
### Relaxation Clustering {#relax}
Instead of k-means, which is nondeterministic, we can use other types of clustering, e.g., hierarchical agglomerative clustering. Let us focus on a 1-level classification here as we can always generalize it to multilevel cases as above. So, we have \(N\) stocks, and we wish to cluster them into \(K\) clusters. If \(K\) is not preset, we can use SLINK, etc. (see, e.g., ). If we wish to preset \(K\), then we can use a similar approach, except that it must be tweaked such that all observations are somehow squeezed into \(K\) clusters. We give the R code for one such algorithm in Appendix [\[app.C\]](#app.C){reference-type="ref" reference="app.C"}. Basically, it is a relaxation algorithm which, as above, clusters \({\widehat R}_{is}\) (not \(R_{is}\)). The distance \(D(i,j)\) between two \(d\)-vectors \({\widehat R}_{is}\) and \({\widehat R}_{js}\) is simply the Euclidean distance in \({\bf R}^d\). The initial cluster contains \(i_1\) and \(j_1\) with the smallest distance. If some \(i_2\) and \(j_2\) (such that \(i_2\neq i_1\), \(i_2\neq j_1\), \(j_2\neq i_1\) and \(j_2\neq j_1\)) are such that \(D(i_2,j_2)\) is smaller than the lesser of \(D(i_1, \ell)\) and \(D(j_1, \ell)\) for all \(\ell\) (\(\ell\neq i_1\) and \(\ell\neq j_1\)), then \(i_2\) and \(j_2\) form the second cluster. Otherwise \(\ell\) that minimizes \(D(i_1, \ell)\) or \(D(j_1, \ell)\) is added to the first cluster. This is continued until there are \(K\) clusters. Once we have \(K\) clusters, we can only add to these clusters.[^26]
# Backtests {#sec.backtests}
Let us backtest the above algorithms for constructing statistical industry classification by utilizing the same backtesting procedure as in. The remainder of this subsection very closely follows most parts of Section 6 thereof.[^27]
## Notations
Let \(P_{is}\) be the time series of stock prices, where \(i=1,\dots,N\) labels the stocks, and \(s=1,2,\dots\) labels the trading dates, with \(s=1\) corresponding to the most recent date in the time series. The superscripts \(O\) and \(C\) (unadjusted open and close prices) and \(AO\) and \(AC\) (open and close prices fully adjusted for splits and dividends) will distinguish the corresponding prices, so, e.g., \(P^C_{is}\) is the unadjusted close price. \(V_{is}\) is the unadjusted daily volume (in shares). Also, for each date \(s\) we define the overnight return as the previous-close-to-open return: \[\label{c2o.ret} E_{is} = \ln\left({P^{AO}_{is} / P^{AC}_{i,s+1}}\right)\] This return will be used in the definition of the expected return in our mean-reversion alpha. We will also need the close-to-close return \[\label{c2c.ret} R_{is} = \ln\left({P^{AC}_{is} / P^{AC}_{i,s+1}}\right)\] An out-of-sample (see below) time series of these returns will be used in constructing the risk models. All prices in the definitions of \(E_{is}\) and \(R_{is}\) are fully adjusted. We assume that: i) the portfolio is established at the open[^28] with fills at the open prices \(P^O_{is}\); ii) it is liquidated at the close on the same day--so this is a purely intraday alpha--with fills at the close prices \(P^C_{is}\); and iii) there are no transaction costs or slippage--our aim here is not to build a realistic trading strategy, but to test relative performance of various statistical industry classifications. The P&L for each stock \[\Pi_{is} = H_{is}\left[{P^C_{is}\over P^O_{is}}-1\right]\] where \(H_{is}\) are the *dollar* holdings. The shares bought plus sold (establishing plus liquidating trades) for each stock on each day are computed via \(Q_{is} = 2 |H_{is}| / P^O_{is}\).
## Universe Selection {#sub.univ}
For the sake of simplicity,[^29] we select our universe based on the average daily dollar volume (ADDV) defined via (note that \(A_{is}\) is out-of-sample for each date \(s\)): \[\label{ADDV} A_{is}= {1\over m} \sum_{r=1}^m V_{i, s+r}~P^C_{i, s+r}\] We take \(m=21\) (i.e., one month), and then take our universe to be the top 2000 tickers by ADDV. To ensure that we do not inadvertently introduce a universe selection bias, we rebalance monthly (every 21 trading days, to be precise). I.e., we break our 5-year backtest period (see below) into 21-day intervals, we compute the universe using ADDV (which, in turn, is computed based on the 21-day period immediately preceding such interval), and use this universe during the entire such interval. We do have the survivorship bias as we take the data for the universe of tickers as of 9/6/2014 that have historical pricing data on http://finance.yahoo.com (accessed on 9/6/2014) for the period 8/1/2008 through 9/5/2014. We restrict this universe to include only U.S. listed common stocks and class shares (no OTCs, preferred shares, etc.) with BICS (Bloomberg Industry Classification System) sector assignments as of 9/6/2014.[^30] However, as discussed in detail in Section 7 of, the survivorship bias is not a leading effect in such backtests.[^31]
## Backtesting {#sub.back}
We run our simulations over a period of 5 years (more precisely, 1260 trading days going back from 9/5/2014, inclusive). The annualized return-on-capital (ROC) is computed as the average daily P&L divided by the intraday investment level \(I\) (with no leverage) and multiplied by 252. The annualized Sharpe Ratio (SR) is computed as the daily Sharpe ratio multiplied by \(\sqrt{252}\). Cents-per-share (CPS) is computed as the total P&L in cents (not dollars) divided by the total shares traded.
## Optimized Alphas {#sub.opt}
The optimized alphas are based on the expected returns \(E_{is}\) optimized via Sharpe ratio maximization using heterotic risk models based on statistical industry classifications we are testing.[^32] We compute the heterotic risk model covariance matrix \(\Gamma_{ij}\) every 21 trading days (same as for the universe). For each date (we omit the index \(s\)) we maximize the Sharpe ratio subject to the dollar neutrality constraint: \[\begin{aligned}
&&{\cal S} = {\sum_{i=1}^N H_i~E_i\over {\sqrt{\sum_{i,j=1}^N {\Gamma}_{ij}~H_i~H_j}}} \rightarrow \mbox{max}\\ &&\sum_{i=1}^N H_i = 0\label{d.n.opt} \end{aligned}\] In the absence of bounds, the solution is given by \[\label{H.opt} H_i =-\eta \left[\sum_{j = 1}^N {\Gamma}^{-1}_{ij}~E_j-\sum_{j=1}^N {\Gamma}^{-1}_{ij}~{{\sum_{k,l=1}^N {\Gamma}^{-1}_{kl}~E_l}\over{\sum_{k,l = 1}^N {\Gamma}^{-1}_{kl}}}\right]\] where \({\Gamma}^{-1}\) is the inverse of \({\Gamma}\), and \(\eta > 0\) (mean-reversion alpha) is fixed via (we set the investment level \(I\) to \\(20M in our backtests) \[\sum_{i=1}^N \left|H_i\right| = I\] Note that ([\[H.opt\]](#H.opt){reference-type="ref" reference="H.opt"}) satisfies the dollar neutrality constraint ([\[d.n.opt\]](#d.n.opt){reference-type="ref" reference="d.n.opt"}). In our backtests we impose position bounds (which in this case are the same as trading bounds as the strategy is purely intraday) in the Sharpe ratio maximization: \[\label{liq} |H_{is}| \leq 0.01~A_{is}\] where \)A_{is}\( is ADDV defined in ([\[ADDV\]](#ADDV){reference-type="ref" reference="ADDV"}). In the presence of bounds computing \)H_i$ requires an iterative procedure and we use the R code in Appendix C of.
## Simulation Results
Table [\[table.try1.100.30.10\]](#table.try1.100.30.10){reference-type="ref" reference="table.try1.100.30.10"} summarizes simulation results for 11 independent runs for the "bottom-up\" 3-level statistical industry classification with \(K_1 = 100\), \(K_2 = 30\) and \(K_3 = 10\) (see Subsection [3.3.1](#sub.bottomup){reference-type="ref" reference="sub.bottomup"}). Despite the nondeterministic nature of the underlying k-means algorithm, pleasantly, the backtest results are very stable. Table [\[table.try100.100\]](#table.try100.100){reference-type="ref" reference="table.try100.100"} summarizes simulation results for 11 independent runs for the "bottom-up\" single-level statistical industry classification with the target number of clusters \(K=100\) based on aggregating 100 samplings (so the actual number of resultant clusters \(K^\prime\) can be smaller than \(K\)--see Subsection [3.3.3](#sub.aggr){reference-type="ref" reference="sub.aggr"}). Again, the backtest results are very stable. Table [\[table.try100.100.30.10\]](#table.try100.100.30.10){reference-type="ref" reference="table.try100.100.30.10"} summarizes simulation results for 23 independent runs for the "bottom-up\" 3-level statistical industry classification with the target number of clusters \(K_1=100\), \(K_2 = 30\) and \(K_3 = 10\) based on aggregating 100 samplings (so the actual number of resultant clusters \(K_\mu^\prime\) can be smaller than \(K_\mu\), \(\mu=1,2,3\)--see Subsection [3.3.3](#sub.aggr){reference-type="ref" reference="sub.aggr"}). The first 15 (out of 23) runs correspond to `norm.cl.ret = F` (this corresponds to choice (i) after Equation ([\[Rmu\]](#Rmu){reference-type="ref" reference="Rmu"}) in Subsection [3.3.1](#sub.bottomup){reference-type="ref" reference="sub.bottomup"}), while the other 8 runs correspond to `norm.cl.ret = T` (this corresponds to choice (ii) after said Equation); see the function `qrm.stat.ind.class.all()` in Appendix [\[app.A\]](#app.A){reference-type="ref" reference="app.A"}. The aforesaid stability persists to these cases as well. Table [\[table.num.clust\]](#table.num.clust){reference-type="ref" reference="table.num.clust"} summarizes the number of actual clusters in a statistical industry classification obtained via aggregating 100 samplings. The target numbers of clusters in a 3-level hierarchy are \(K_1 = 100\), \(K_2 = 30\) and \(K_3 = 10\), as in Table [\[table.try100.100.30.10\]](#table.try100.100.30.10){reference-type="ref" reference="table.try100.100.30.10"}. Table [\[table.try1.topdown\]](#table.try1.topdown){reference-type="ref" reference="table.try1.topdown"} summarizes simulation results for "top-down\" 3-level statistical industry classifications obtained via a single sampling in each run, with 3 runs for each \(L_\mu\). The 3-vector \(L_\mu\), \(\mu=1,2,3\), is defined in Subsection [3.3.4](#sub.topdown){reference-type="ref" reference="sub.topdown"}. Recall that in the zeroth approximation the number of clusters at the most granular level-1 is \(K_1 = L_1 L_2 L_3\); however, the actual value can be lower due to the reasons explained in Subsection [3.3.4](#sub.topdown){reference-type="ref" reference="sub.topdown"}. Here too we observe substantial stability. Table [\[table.try100.topdown\]](#table.try100.topdown){reference-type="ref" reference="table.try100.topdown"} summarizes simulation results for "top-down\" 3-level statistical industry classifications obtained via aggregating 100 samplings in each run, with 3 runs for each \(L_\mu\). Stability persists. From the above results it is evident that aggregating multiple samplings on average improves both performance and stability. Furthermore, not surprisingly, decreasing granularity worsens the Sharpe ratio. 3-level classifications outperform single-level classifications.[^33] Above we mentioned that clustering \({\widehat R}_{is} = R_{is}/\sigma_i^2\) outperforms clustering \({\widetilde R}_{is} = R_{is}/\sigma_i\), which in turn outperforms clustering \(R_{is}\). Thus, a random run for the "bottom-up\" 3-level classification with \(K_1 = 100\), \(K_2 = 30\) and \(K_3 = 10\) based on clustering \(R_{is}\) using a single sampling produced a typical performance with ROC = 41.885%, SR = 15.265 and CPS = 1.889 (cf. Table [\[table.try1.100.30.10\]](#table.try1.100.30.10){reference-type="ref" reference="table.try1.100.30.10"}). A random run for the "bottom-up\" 3-level classification with \(K_1 = 100\), \(K_2 = 30\) and \(K_3 = 10\) based on clustering \({\widetilde R}_{is}\) using a single sampling produced a typical performance with ROC = 42.072%, SR = 15.840 and CPS = 1.973 (cf. Table [\[table.try1.100.30.10\]](#table.try1.100.30.10){reference-type="ref" reference="table.try1.100.30.10"}).[^34] In contrast to nondeterministic k-means based algorithms, the relaxation algorithm (Subsection [3.3.5](#relax){reference-type="ref" reference="relax"}) is completely deterministic. We run it using the code in Appendix [\[app.C\]](#app.C){reference-type="ref" reference="app.C"} to obtain a 3-level classification with the target numbers of clusters \(K_1 = 100\), \(K_2 = 30\) and \(K_3 = 10\) (as in the "bottom-up\" cases, we cross-sectionally demean the level-2 and level-3 returns, but not the level-1 returns). The simulation results are sizably worse than for k-means based algorithms: ROC = 41.266%, SR = 15.974 and CPS = 1.990. How come? Intuitively, this is not surprising. All such relaxation mechanisms (hierarchical agglomerative algorithms) start with a "seed\", i.e., the initial cluster picked based on some criterion. In Subsection [3.3.5](#relax){reference-type="ref" reference="relax"} this is the first cluster containing the pair \((i_1,j_1)\) that minimized the Euclidean distance. However, generally this choice is highly unstable out-of-sample, hence underperformance. In contrast, k-means is much more "statistical\", especially with aggregation.
# How to Fix Cluster Numbers? {#sec.dyn}
Thus far we have picked the number of clusters \(K_\mu\) as well as the number of levels \(P\) "ad hoc\".[^35] Can we fix them "dynamically\"? If we so choose, here we can do a lot of complicated things. Instead, our approach will be based on pragmatism (rooted in financial considerations) and simplicity.[^36] As can be surmised from Tables [\[table.try100.100\]](#table.try100.100){reference-type="ref" reference="table.try100.100"} and [\[table.try100.100.30.10\]](#table.try100.100.30.10){reference-type="ref" reference="table.try100.100.30.10"}, the number of levels does not make it or break it in our context. What is more important is the number of clusters. So, suppose we have a given number of levels \(P > 1\). Let us start by asking, what should \(K_1\) (most granular level) and \(K_P\) (least granular level) be? In practice, the number of stocks \(N>d-1\), so the sample correlation matrix \(\Psi_{ij}\) is singular. (In fact, in most practical applications \(N\gg d-1\).) We can model it via statistical risk models. These are factor models obtained by truncating the spectral decomposition of \(\Psi_{ij}\) \[\Psi_{ij} = \sum_{a = 1}^{d-1} \lambda^{(a)}~V_i^{(a)}~V_j^{(a)}\] via the first \(d-1\) principal components \(V_i^{(a)}\) (only \(d-1\) eigenvalues \(\lambda^{(a)}\) are positive, \(\lambda^{(1)} > \lambda^{(2)} > \dots, \lambda^{(d-1)} > 0\), while the rest of the eigenvalues \(\lambda^{(a)} \equiv 0\), \(a\geq d\)) to the first \(F\) principal components (\(F < d-1\)) and compensating the deficit on the diagonal (as \(\Psi_{ii}\equiv 1\)) by adding diagonal specific (idiosyncratic) variance \(\begin{equation} \Gamma_{ij} = \end{equation} I.e., we approximate\)\_ij\((which is singular) via\)\_ij\((which is positive-definite as all\)
## Effective Rank
Thus, we simply set (here \(\mbox{Round}(\cdot)\) can be replaced by \(\mbox{floor}(\cdot) = \lfloor\cdot\rfloor\)) \[\label{eq.eRank} F = \mbox{Round}(\mbox{eRank}(\Psi))\] Here \(\mbox{eRank}(Z)\) is the effective rank of a symmetric semi-positive-definite (which suffices for our purposes here) matrix \(Z\). It is defined as \[\begin{aligned}
&&\mbox{eRank}(Z) = \exp(H)\\ &&H =-\sum_{a=1}^L p_a~\ln(p_a)\\ &&p_a = {\lambda^{(a)} \over \sum_{b=1}^L \lambda^{(b)}} \end{aligned}\] where \(\lambda^{(a)}\) are the \(L\) *positive* eigenvalues of \(Z\), and \(H\) has the meaning of the (Shannon a.k.a. spectral) entropy ,. The meaning of \(\mbox{eRank}(Z)\) is that it is a measure of the effective dimensionality of the matrix \(Z\), which is not necessarily the same as the number \(L\) of its positive eigenvalues, but often is lower. This is due to the fact that many returns can be highly correlated (which manifests itself by a large gap in the eigenvalues) thereby further reducing the effective dimensionality of the correlation matrix.
## Fixing \(K_\mu\) {#sub.dyn}
There is no magic bullet here. It just has to make sense. Intuitively, it is natural to identify the number of clusters \(K_P\) at the least granular level with the number of factors \(F\) in the context of statistical risk models.[^37] In the following, we will therefore simply take \[K_P = \mbox{Round}(\mbox{eRank}(\Psi))\] Adding more granular levels explores deeper substructures in the time series of returns based on the closeness criterion. In this regard, we can fix the number of clusters \(K_1\) at the most granular level as follows. The average number of stocks per cluster at level-1 is \(N_1 = N/K_1\) (we are being cavalier with rounding). Assume for a second that the number of stocks in each cluster is the same and equal \(N_1\). If \(N_1 > d-1\), then the sub-matrices \(\Psi_{ij}\), \(i,j\in C_{a(1)}\) (recall that \(C_{a(1)}\), \(a(1) = 1,\dots,K_1\), are the level-1 clusters) are singular. For \(N_1 \leq d-1\) they are nonsingular. Therefore, intuitively, it is natural to fix \(K_1\) by requiring that \(N_1 = d-1\). Restoring rounding, in the following we will set \[K_1 = \mbox{Round}(N / (d-1))\] What about \(K_\mu\), \(1 < \mu < P\)? Doing anything overly complicated here would be overkill. Here is a simple prescription (assuming \(K_1 > K_P\)):[^38] \[K_\mu = \left[K_1^{P-\mu}~K_P^{\mu-1}\right]^{1\over{P-1}},~~~\mu=1,\dots,P\] We give the R source code for building "bottom-up\" statistical industry classifications using this prescription in Appendix [\[app.A\]](#app.A){reference-type="ref" reference="app.A"}. Table [\[table.dyn\]](#table.dyn){reference-type="ref" reference="table.dyn"} summarized simulation results for \(P =2,3,4,5\). It is evident that the number of levels is not a driver here. The results are essentially the same as for \(K_1 = 100\) (recall that \(N = 2000\) and \(d = 21\) in our case) in Tables [\[table.try100.100\]](#table.try100.100){reference-type="ref" reference="table.try100.100"} and [\[table.try100.100.30.10\]](#table.try100.100.30.10){reference-type="ref" reference="table.try100.100.30.10"}. Table [\[table.try100.K\]](#table.try100.K){reference-type="ref" reference="table.try100.K"} isolates the \(K\) dependence and suggests that the performance peaks around \(K = 100\). Again, there is no magic bullet here.[^39]
## Comparisons
Let us compare the (very stable) results we obtained for statistical industry classifications with two "benchmarks\": statistical risk models and heterotic risk models with BICS used as the industry classification. More precisely, statistical risk models in were built based on the sample correlation matrix \(\Psi_{ij}\), which is equivalent to basing them on normalized returns \({\widetilde R}_{is} = R_{is}/\sigma_i\). If we use the eRank based algorithm for fixing the number of statistical risk factors \(F\), then the performance is ROC = 40.777%, SR = 14.015 and CPS = 1.957.[^40] However, as we argued above, it makes more sense to build models using \({\widehat R}_{is} = R_{is}/\sigma_i^2\). So, we should compare our results here with the statistical risk models based on \({\widehat R}_{is}\). To achieve this, we can simply replace the line `tr <-apply(ret, 1, sd)` in the R function `qrm.erank.pc(ret, use.cor = T)` in Appendix A of by `tr <-apply(ret, 1, sd) / apply(qrm.calc.norm.ret(ret), 1, sd)`, where the R function `qrm.calc.norm.ret()` is given in Appendix [\[app.A\]](#app.A){reference-type="ref" reference="app.A"} hereof. The performance is indeed better: ROC = 40.878%, SR = 14.437 and CPS = 2.018. So, the k-means based clustering algorithms still outperform statistical risk models, which implies that going beyond the \(F\) statistical factors adds value, i.e., there is more structure in the data than is captured by the principal components alone. However, statistical industry classifications still sizably underperform heterotic risk models based on BICS :[^41] ROC = 49.005%, SR = 19.230 and CPS = 2.365. Clearly, statistical industry classifications are not quite on par with industry classifications such as BICS, which are based on fundamental/economic data (such as companies' products and services and more generally their revenue sources, suppliers, competitors, partners, etc.). Such industry classifications are essentially independent of the pricing data and, if well-built, tend to be rather stable out-of-sample as companies seldom jump industries. In contrast, statistical industry classifications by nature are less stable out-of-sample. However, they can add substantial value when "fundamental\" industry classifications are unavailable, including for returns other than for stocks, e.g., quantitative trading alphas. Finally, before we close this section, let us discuss the "top-down\" classifications with dynamically determined numbers of clusters \(K_\mu\). More precisely, recall that in this case we work with the vector \(L_\mu\) (see Subsection [3.3.4](#sub.topdown){reference-type="ref" reference="sub.topdown"}). The code we used in the "bottom-up\" case (Appendix [\[app.A\]](#app.A){reference-type="ref" reference="app.A"}) can be used in this case as well (via a parameter choice). A random (and typical) run with \(P=3\) gives ROC = 41.657%, SR = 15.897 and CPS = 2.079, while another such run with \(P=4\) gives ROC = 41.683%, SR = 15.697 and 2.073. These results are in line with our results in Table [\[table.try100.topdown\]](#table.try100.topdown){reference-type="ref" reference="table.try100.topdown"}.
# Hybrid Industry Classification {#sec.hybrid}
One application of a statistical industry classification is to use it as a means for improving a "fundamental\" industry classification such as BICS, GICS, etc. Thus, a "fundamental\" classification at the most granular level can have overly large sub-industries, using the BICS nomenclature for definiteness. One way to deal with such large sub-industries is to further cluster them using statistical industry classification methods discussed above. Let us illustrate this using BICS as an example. Table [\[table.bics.summary\]](#table.bics.summary){reference-type="ref" reference="table.bics.summary"} summarizes top 10 most populous (by stock counts) sub-industries in one of our 2000 stock backtesting portfolios. For comparison, the stock count summary across all 165 sub-industries in this sample is Min = 1, 1st Qu. = 3, Median = 8, Mean = 12.12, 3rd Qu. = 15, Max = 94, StDev = 14.755, MAD = 8.896 (see Table [\[table.num.clust\]](#table.num.clust){reference-type="ref" reference="table.num.clust"} for notations). So, we have some "large\" sub-industries, which are outliers. We can further split these large sub-industries into smaller clusters using our "bottom-up\" clustering algorithm. In fact, it suffices to split them using a single-level algorithm. We give the R code for improving an existing "fundamental\" industry classification using our statistical industry classification algorithm in Appendix [\[app.A\]](#app.A){reference-type="ref" reference="app.A"}. The idea is simple. Let us label the sub-industries (the most granular level) in the "fundamental\" industry classification via \(A = 1,\dots, K_*\). Let \(N_A\) be the corresponding stock counts. Let \[\kappa_A = \mbox{Round}(N_A / (d-1))\] We then split each sub-industry with \(\kappa_A > 1\) into \(\kappa_A\) clusters. Table [\[table.improve\]](#table.improve){reference-type="ref" reference="table.improve"} summarizes the simulation results for 14 runs. This evidently improves performance. Table [\[table.ind.counts\]](#table.ind.counts){reference-type="ref" reference="table.ind.counts"} gives summaries of top 10 most populous sub-industries before and after statistical clustering based on 60 datapoints at the end of each 21-trading-day interval in our backtests (recall that we have \(1260 = 60 \times 21\) trading days--see Section [4](#sec.backtests){reference-type="ref" reference="sec.backtests"}). The average numbers of sub-industries are 165.45 before and 184.1 after clustering.
# Concluding Remarks {#sec.concl}
In this paper we discuss all sorts of nuances in constructing statistical industry classifications. Under the hood we have clustering algorithms. However, it is precisely those nuances that make a sizable difference. E.g., if we naively cluster \(R_{is}\), we get a highly suboptimal result compared with clustering \({\widetilde R}_{is} = R_{is}/\sigma_i\), which in turn underperforms clustering \({\widehat R}_{is} = R_{is}/\sigma_i^2\). In this regard, let us tie up a "loose end\" here: what if we cluster \({\overline R}_{is} = R_{is}/\sigma_i^3\)? It underperforms clustering \({\widehat R}_{is}\). Thus, a typical run for a 3-level "bottom-up\" classification with target cluster numbers \(K_1 = 100\), \(K_2 = 30\) and \(K_3 = 10\) based on clustering \({\overline R}_{is}\) and aggregating 100 samplings produces the following: ROC = 40.686, SR = 15.789 and CPS = 2.075. So, suppressing returns \(R_{is}\) by \(\sigma_i^2\) indeed appears to be optimal--for the intuitive reasons we discussed above. We saw the same in the context of statistical risk models. In this regard, it would be interesting to explore this avenue in the context of heterotic risk models and the more general (heterotic CAPM) construction of. In the latter framework, it would be interesting to utilize an aggregated (non-binary) matrix \({\widetilde \Omega}_{ia}\) (see Subsection [3.3.3](#sub.aggr){reference-type="ref" reference="sub.aggr"}). These ideas are outside of the scope hereof and we hope to return to them elsewhere.
[^1]: Hereinafter we will refer to these as "fundamental\" industry classifications (see below).
[^2]: More generally, one employs a weighted regression instead of demeaning, and there are various ways of fixing the aforesaid weights. For a pedagogical discussion, see, e.g.,.
[^3]: For a discussion and literature on multifactor risk models, see, e.g.,.
[^4]: This very relevant reason should not to be underestimated, despite its "behavioral\" nature.
[^5]: Thus, we are unaware of another paper discussing the material herein at short horizons.
[^6]: Optimizing weights in alpha portfolios has its own nuances; however, the methods we discuss here are readily portable to alpha returns as they are purely statistical. Here we backtests them (see below) on stock returns as the historical data is readily available. Alpha return time series are highly proprietary, so publishing backtests is not feasible.
[^7]: However, there is variability in the performance of different industry classifications.
[^8]: Here we are assuming that each stock belongs to one and only one "cluster\". Generally, this assumption can be relaxed thereby allowing for "conglomerates\" that belong to multiple sub-industries, industries, sectors, etc. However, this is not required for our purposes here.
[^9]: The branches in this hierarchy tree are assumed to have equal lengths. More generally, we can have branches of nonuniform lengths. However, shorter branches can always be extended to the length of the longest branch(es) by allowing single-element (including single-stock) "clusters\".
[^10]: Bloomberg Industry Classification System.
[^11]: And this is useful in constructing risk models for portfolio optimization.
[^12]: Commercially available industry classifications such as GICS and ICB come at nontrivial cost. The underlying SIC data is available from SEC for free, albeit only by company names, not by ticker symbols. It takes considerable effort to download this data and transform it into an actual industry classification. Alternatively, it can be purchased from commercial providers.
[^13]: Throughout this paper "cross-sectional\" refers to "over the index \(i\)\".
[^14]: The sample correlation matrix contains less information than the underlying time series of returns. Thus, it knows nothing about serial means of returns, only deviations from these means.
[^15]: More precisely, this is the case in the approximation where the sample covariance matrix is taken to be diagonal. In the context of clustering it makes sense to take the diagonal part of the sample covariance matrix as the full sample covariance matrix is singular for clusters with \(n_a > d-1\). Even for \(n_a \leq d-1\) the sample covariance matrix, while invertible, has highly out-of-sample unstable off-diagonal elements. In contrast, the diagonal elements, i.e., sample variances \(\sigma_i^2\), are much more stable, even for short lookbacks. So it makes sense to use them in defining \(\omega_i\).
[^16]: This is one possible tweak. Others produce similar results.
[^17]: W.r.t. classification levels; "bottom-up\" should not be confused with agglomerative clustering.
[^18]: We will discuss what these cluster number "should\" be below.
[^19]: See, e.g., ,.
[^20]: Consequently, there is a large gap between the first \([\lambda(\mu)]^{(1)}\) and higher \([\lambda(\mu)]^{(p)}\), \(p>1\), eigenvalues of \([\Psi(\mu)]_{i(\mu),j(\mu)}\); the eigenvalues are ordered decreasingly: \([\lambda(\mu)]^{(1)} > [\lambda(\mu)]^{(2)} > \dots\)
[^21]: This essentially drops the 1st principal component from the spectral decomposition of \(\Psi_{ij}\).
[^22]: For terminological definiteness here we focus on the level-1 clusters; it all straightforwardly applies to all levels. Also, the superscript \(r\) in \(\Omega^r_{ia}\) and \(G^r(i)\) is an index, not a power.
[^23]: The source code in Appendix [\[app.A\]](#app.A){reference-type="ref" reference="app.A"}, Appendix [\[app.B\]](#app.B){reference-type="ref" reference="app.B"} and Appendix [\[app.C\]](#app.C){reference-type="ref" reference="app.C"} hereof is not written to be "fancy\" or optimized for speed or in any other way. Its sole purpose is to illustrate the algorithms described in the main text in a simple-to-understand fashion. See Appendix [\[app.D\]](#app.D){reference-type="ref" reference="app.D"} for some legalese.
[^24]: More generally, we can nonuniformly cluster each level-\(P\) cluster with its own \([L(a(P))]_{P-1}\).
[^25]: Note that, in contrast to bottom-up clustering, because here we are going "backwards\", it is convenient to label the elements of each cluster at each level using the index \(i\), which labels stocks.
[^26]: A brute force algorithm where at each step rows and columns are deleted from the matrix \(D(i,j)\) is too slow. The R source code we give in Appendix [\[app.C\]](#app.C){reference-type="ref" reference="app.C"} is substantially more efficient than that. However, it is still substantially slower than the k-means based algorithms we discuss above.
[^27]: We "rehash\" it here not to be repetitive but so that our presentation here is self-contained.
[^28]: This is a so-called "delay-0\" alpha: the same price, \(P^O_{is}\) (or adjusted \(P^{AO}_{is}\)), is used in computing the expected return (via \(E_{is}\)) and as the establishing fill price.
[^29]: In practical applications, the trading universe of liquid stocks typically is selected based on market cap, liquidity (ADDV), price and other (proprietary) criteria.
[^30]: The choice of the backtesting window is intentionally taken to be exactly the same as in to simplify various comparisons, which include the results therefrom.
[^31]: Here we are after the *relative outperformance*, and it is reasonable to assume that, to the leading order, individual performances are affected by the survivorship bias approximately equally as the construction of all alphas and risk models is "statistical\" and oblivious to the universe.
[^32]: In BICS is used for the industry classification. Here we simply plug in the statistical industry classification instead of BICS. In the case of a single-level industry classification, we can either add the second level consisting of the "market\" with the \(N\times 1\) unit matrix as the loadings matrix; or, equivalently, we can use the option `mkt.fac = T` in the R function `qrm.het()` in Appendix B of, which accomplishes this internally.
[^33]: Also, "bottom-up\" by construction uses more information than and outperforms "top-down\".
[^34]: Table [\[table.try1.100.30.10\]](#table.try1.100.30.10){reference-type="ref" reference="table.try1.100.30.10"} is based on clustering \({\widehat R}_{is}\) defined via ([\[tweak\]](#tweak){reference-type="ref" reference="tweak"}). However, clustering \({\widehat R}^*_{is} = R_{is}/\sigma^2_i\) produces essentially the same results. Thus, a random run for the "bottom-up\" 3-level classification with \(K_1 = 100\), \(K_2 = 30\) and \(K_3 = 10\) based on clustering \({\widehat R}^*_{is}\) via aggregating 100 samplings produced a typical performance with ROC = 41.707%, SR = 16.220 and CPS = 2.091 (cf. Table [\[table.try100.100.30.10\]](#table.try100.100.30.10){reference-type="ref" reference="table.try100.100.30.10"}).
[^35]: Here we focus on the k-means based "bottom-up\" and "top-down\" algorithms. As discussed above, the relaxation algorithm underperforms the k-means based algorithms.
[^36]: A variety of methods for fixing the number of clusters have been discussed in other contexts. See, e.g.,, ,, ,.
[^37]: The number of factors \(F\) essentially measures the effective number of degrees of freedom in the underlying time series of returns \(R_{is}\). Hence identification of \(K_P\) with this number.
[^38]: I.e., \(K_\mu\) are (up to rounding) equidistant on the log scale. For \(P=3\) the "midpoint\" \(K_2 = \sqrt{K_1 K_P}\) is simply the geometric mean. With this prescription, we can further fix \(P\) via some heuristic, e.g., take maximal \(P\) such that the difference \(K_{P-1}-K_P\geq \Delta\), where \(\Delta\) is preset, say, \(\Delta = K_P\). For \(K_1 = 100\) and \(K_P = 10\), this would give us \(P=4\) with \(K_2 = 46\) and \(K_3 = 22\).
[^39]: Note from Table [\[table.try100.K\]](#table.try100.K){reference-type="ref" reference="table.try100.K"} that too little granularity lowers the Sharpe ratio due to insufficient coverage of the risk space, while too much granularity lowers cents-per-share due to overtrading.
[^40]: In rounding is to 2 decimals, while here we round to 3 decimals.
[^41]: Here we use the results from, which slightly differ from those in, where rounding down (as opposed to simply rounding) was employed. | {'timestamp': '2017-01-25T02:03:38', 'yymm': '1607', 'arxiv_id': '1607.04883', 'language': 'en', 'url': 'https://arxiv.org/abs/1607.04883'} |
# Introduction and Statement of Results
Let \(f \in S_k(\Gamma_0(N),\chi)\) be a newform of weight \(k\), level \(N\), and nebentypus \(\chi\). Associated to \(f\) is an \(L\)-function \(L(s, f)\), which can be normalized so that the completed \(L\)-function \[\Lambda(s, f) := N^{s/2} \int_0^\infty f(iy)y^{s-1} dy = \left(\frac{\sqrt{N}}{2\pi}\right)^s \Gamma(s) L(s, f)\] satisfies the functional equation \[\label{fe} \Lambda(s, f) = \epsilon(f) \Lambda(k-s, \bar{f})\] for some \(\epsilon(f) \in \mathbb C\) with \(|\epsilon(f)| = 1.\) The *period polynomial* associated to \(f\) is the degree \(k-2\) polynomial defined by \[\label{defnperiod} r_f(z) \defeq \int_0^{i \infty} f(y)(y-z)^{k-2} dy.\] By the binomial theorem, we have \[\begin{aligned}
r_f(z) &= i^{k-1}N^{-\frac{k-1}{2}} \sum_{n = 0}^{k-2} \binom{k-2}{n}(\sqrt{N}iz)^n \Lambda(k-1-n, f), \\ &=-\frac{(k-2)!}{(2\pi i)^{k-1}}\sum_{n = 0}^{k-2} \frac{(2\pi iz)^n}{n!} L(k-1-n,f). \end{aligned}\] Thus, \(r_f(z)\) is the generating function for the special values \(L(1,f), L(2,f) \ldots, L(k-1,f)\) of the \(L\)-function associated to \(f\). For background on period polynomials, we refer the reader to [@period1; @period2; @period3; @period4; @period5]. When \(k \ge 3\), the period polynomial \(r_f(z)\) is nonconstant, so one can consider where the roots of \(r_f(z)\) are located. To this end, we use the functional equation [\[fe\]](#fe){reference-type="eqref" reference="fe"} to observe that \[\overline{r_f(z)} =-(\sqrt{N}i\overline z)^{k-2} \epsilon(f)^{-1}r_f\left(\frac{1}{N\overline{z}}\right).\] Thus, if \(\rho\) is a root of \(r_f(z)\), then \(\frac{1}{N\bar\rho}\) is also a root. Much like the behavior of the nontrivial zeroes of \(L(s, f)\) predicted by the Generalized Riemann Hypothesis, one can consider whether all the roots of \(r_f(z)\) lie on the curve of symmetry of the roots: in this case, the circle \(|\rho| = 1/\sqrt N\). It is natural to expect the following conjecture, which is supported by extensive numerical evidence.
El-Guindy and Raji proved this for Hecke eigenforms on \(SL_2(\mathbb Z)\) with full level (\(N=1\), for which the circle of symmetry is \(|z| = 1\)). They were inspired by the work of Conrey, Farmer, and İmamoğlu , who showed an analogous result for the odd parts of these period polynomials, again with full level. Recent work by Jin, Ma, Ono, and Soundararajan proved the conjecture for all newforms of even weight \(k \ge 4\) and trivial nebentypus. They also showed that the roots of \(r_f(z)\) are equidistributed on the circle of symmetry for sufficiently large \(N\) or \(k\). Using similar methods, Löbrich, Ma, and Thorner proved an analogous result for polynomials generating special values of \(L(s,\mathcal M)\) for a sufficiently well-behaved class of motives \(\mathcal M\) with odd weight and even rank. In this paper, we generalize the methods of to prove the conjecture for all but possibly finitely many newforms.
We also show that the roots of \(r_f(z)\) are equidistributed on the circle of symmetry for sufficiently large \(N\) or \(k\).
In Section [2](#sec:prelims){reference-type="ref" reference="sec:prelims"}, we introduce notation and lemmas that we will be using in our proof. In Section [3](#sec:lowweight){reference-type="ref" reference="sec:lowweight"}, we will prove our main results for \(k=3, 4,\) and \(5\) using ad hoc arguments. For larger \(k\), we prove Theorem [\[thm:main\]](#thm:main){reference-type="ref" reference="thm:main"} in Section [4](#sec:evenweight){reference-type="ref" reference="sec:evenweight"} (the case of \(k\) even) and Section [5](#sec:oddweight){reference-type="ref" reference="sec:oddweight"} (the case of \(k\) odd), and we prove Theorem [\[thm:equi\]](#thm:equi){reference-type="ref" reference="thm:equi"} in Section [6](#sec:equi){reference-type="ref" reference="sec:equi"}. Finally, in Section [7](#sec:numerical){reference-type="ref" reference="sec:numerical"}, we detail our Sage computations suggesting that the roots of the period polynomial of the newform \[f(\tau) = q+10q^3+64q^4+74q^5+O(q^6) \in S_7\left(\Gamma_0(11),\left(\frac{-11}{\bullet}\right)\right)\] are all on the circle \(|z|=1/\sqrt{11}\). This newform \(f\) is in our finite set \(\mathcal S\) of possible exceptions, which suggests that Theorem [\[thm:main\]](#thm:main){reference-type="ref" reference="thm:main"} should be true even for newforms in \(\mathcal S\).
# Preliminaries {#sec:prelims}
Throughout this section, we assume that \(f \in S_k(\Gamma_0(N), \chi)\) is a newform of weight \(k \ge 3\), level \(N\), and arbitrary nebentypus \(\chi.\) We note that the nebentypus character will be essentially invisible throughout our proof, other than the fact that it determines the level of \(f\). We now define some notation related to \(r_f(z)\) and prove lemmas about the values of \(\Lambda(s,f)\) and \(L(s,f)\) along the real line. The lemmas will be very similar in spirit to those proven in. Define \(\delta\) to satisfy \(\delta^2 = \epsilon(f)^{-1}.\) Now, define \[\label{tpoly} t_f(z) = i^{-k+1}N^\frac{k-1}{2}z^{-\frac{k-2}{2}}\delta \cdot r_f\left(\frac{z}{i\sqrt{N}}\right) = \sum_{n = 0}^{k-2} \binom{k-2}{n}z^{n-\frac{k-2}{2}} \delta\Lambda(k-1-n, f),\] where \(z^\frac{1}{2}\) denotes \(r^\frac{1}{2}e^{\theta i/2}\) for \(z = re^{\theta i}\) and \(0 \le \theta < 2\pi.\) Using [\[fe\]](#fe){reference-type="eqref" reference="fe"}, one can compute \[\overline{t_f(z)} = t_f\left(\frac{1}{\bar{z}}\right).\] Therefore, if \(t_f(z) = 0\), then \(t_f\left(\frac{1}{\bar{z}}\right) = 0.\) Additionally, for \(|z| = 1\), we also have \(\overline{t_f(z)} = t_f(z)\), so \(t_f(z)\) is real for \(|z| = 1.\) Note that \(t_f(z) = 0\) if and only if \(r_f(\frac{z}{i\sqrt{N}}) = 0.\) Therefore, to prove Theorems [\[thm:main\]](#thm:main){reference-type="ref" reference="thm:main"} and [\[thm:equi\]](#thm:equi){reference-type="ref" reference="thm:equi"}, it suffices to show that all roots of \(t_f(z)\) lie on the circle \(|z| = 1\) and are equidistributed. We will require the following monotonicity result.
We also prove a useful inequality on ratios of \(L\)-function values.
Finally, we show a lemma that serve as our main means of proving Theorem [\[thm:main\]](#thm:main){reference-type="ref" reference="thm:main"} for period polynomials.
# Proof for Weights 3, 4, and 5 {#sec:lowweight}
Here we prove Theorem [\[thm:main\]](#thm:main){reference-type="ref" reference="thm:main"} and [\[thm:equi\]](#thm:equi){reference-type="ref" reference="thm:equi"} for \(k = 3, 4,\) and \(5.\)
## The weight 3 case
For \(k = 3,\) ([\[tpoly\]](#tpoly){reference-type="ref" reference="tpoly"}) gives that \[t_f(z) = \delta z^{-\frac{1}{2}}(\Lambda(2, f) + z\Lambda(1, f)).\] By [\[fe\]](#fe){reference-type="eqref" reference="fe"}, we know that \[|\Lambda(2, f)| = |\Lambda(1, f)|,\] so the root of \(t_f(z)\) lies on the unit circle.
## The weight 4 case
For \(k = 4\), we have \[t_f(z) = \delta(z^{-1}\Lambda(3, f) + 2\Lambda(2, f) + z\Lambda(1, f)).\] Now, note that for \(|z| = 1\), it follows that \[\frac{1}{2}t_f(z) = \on{Re}(\delta(\Lambda(2, f) + z\Lambda(1, f))) = \on{Re}(\delta\Lambda(2, f)) + \on{Re}(\delta z\Lambda(1, f)).\] By Lemma [\[mono\]](#mono){reference-type="ref" reference="mono"}, we have that \[|\on{Re}(\delta\Lambda(2, f))| \le |\Lambda(2, f)| < |\Lambda(3, f)| = |\Lambda(1, f)|,\] so there exist \(2\) values of \(z\) with \(|z| = 1\) such that \[\on{Re}(\delta z\Lambda(1, f)) =-\on{Re}(\delta\Lambda(2, f)),\] as desired. In order to prove Theorem [\[thm:equi\]](#thm:equi){reference-type="ref" reference="thm:equi"}(iii), we need to bound \(|\Lambda(2, f)| / |\Lambda(1, f)|\). First, note that \[|\Lambda(1, f)| = |\Lambda(3, f)| \gg N^{\frac{3}{2}}.\] In order to bound \(|\Lambda(2, f)|\), we appeal to the Phragmén-Lindelöf Principle; specifically, see and apply [\[deligne23\]](#deligne23){reference-type="eqref" reference="deligne23"}. This allows to obtain for any \(\epsilon > 0\) \[|\Lambda(2, f)| \le \max_{t \in \mathbb{R}} |\Lambda(5/2 + \epsilon + it, f)| = \max_{t \in \mathbb{R}} N^{\frac{5}{4} +\half\epsilon}|L(5/2 + \epsilon + it, f)| \ll_{\epsilon} N^{\frac{5}{4}+\epsilon},\] Thus, we have that \[\frac{|\Lambda(2, f)|}{|\Lambda(1, f)|} \ll N^{-\frac{1}{4}+\epsilon}\] and the values of \(z\) satisfying \(t_f(z) = 0\) satisfy \[\arg z = \pm \frac{\pi}{2} + \arg(\overline{\delta \Lambda(1, f)}) + O(N^{-\frac{1}{4}+\epsilon})\]
## The weight 5 case
For \(k = 5\), we have \[t_f(z) = \delta(z^{-\frac{3}{2}}\Lambda(4, f) + 3z^{-\frac{1}{2}}\Lambda(3, f) + 3z^\frac{1}{2}\Lambda(2, f) + z^\frac{3}{2}\Lambda(1, f)).\] Once again, for \(|z| = 1\), we have \[\frac{1}{2}t_f(z) = \on{Re}(\delta(3z^\frac{1}{2}\Lambda(2, f) + z^\frac{3}{2}\Lambda(1, f))) = \on{Re}(3\delta z^\frac{1}{2}\Lambda(2, f)) + \on{Re}(\delta z^\frac{3}{2}\Lambda(1, f)).\] There exist three reals \(0 \le \theta_1 < \theta_2 < \theta_3 < 2\pi\) such that \(|\on{Re}(\delta (e^{i\theta_j})^\frac{3}{2} \Lambda(1, f))| = |\Lambda(1, f)|\) for \(1 \le j \le 3\), and \(\on{Re}(\delta (e^{i\theta_j})^\frac{3}{2} \Lambda(1, f))\) alternates in sign. Thus, by Lemma [\[ivt\]](#ivt){reference-type="ref" reference="ivt"}, we are done if we are able to show that \[|\on{Re}(3\delta z^\frac{1}{2}\Lambda(2, f))| < |\Lambda(1, f)|,\] which is equivalent to proving \[\frac{|\Lambda(3, f)|}{|\Lambda(4, f)|} < \frac{1}{3}.\] Let \(0 < \epsilon < 1.\) By Lemmas [\[mono\]](#mono){reference-type="ref" reference="mono"} and [\[lratio\]](#lratio){reference-type="ref" reference="lratio"}, it follows that \[\frac{|\Lambda(3, f)|}{|\Lambda(4, f)|} \le \frac{|\Lambda(3+\epsilon, f)|}{|\Lambda(4, f)|} = \frac{|L(3+\epsilon, f)|}{|L(4, f)|} \left(\frac{2\pi}{\sqrt{N}}\right)^{1-\epsilon} \frac{\Gamma(3+\epsilon)}{\Gamma(4)} \le \frac{\zeta(1+\epsilon)^2}{\zeta(2)^2} \left(\frac{2\pi}{\sqrt{N}}\right)^{1-\epsilon} \frac{\Gamma(3+\epsilon)}{\Gamma(4)}.\] Choosing \(\epsilon = 2/5\), the last expression is less than \(\frac{1}{3}\) for \(N \ge 10332\), which completes the proof for \(k = 5.\) To show the desired equidistribution property, define \(\theta_1\) and \(\theta_2\) as above. Now let \(\theta_{\pm} = (\theta_1 + \theta_2)/2 \pm \varepsilon\), for \(\varepsilon > 0\) to be chosen later. Then, we see that \[|\on{Re} (\delta (e^{\theta_{\pm} i})^{\frac{3}{2}} \Lambda(1, f)| = |\Lambda(1, f)| \sin \Big(\frac{3}{2}\varepsilon\Big)\] with the sign of \(\on{Re} (\delta (e^{i\theta_{\pm}})^{\frac{3}{2}} \Lambda(1, f)\) being different for \(\varepsilon > 0\) and \(\varepsilon < 0\). If we can show that \[|\on{Re} (3\delta z^{\half} \Lambda(2, f)| \le \Big|\sin \Big(\frac{3}{2}\varepsilon\Big)\Big|\cdot|\Lambda(1, f)|\] then Lemma [\[ivt\]](#ivt){reference-type="ref" reference="ivt"} will show that the root has an argument lying between \(\theta_{-}\) and \(\theta_{+}\). By the bounding above, we only require \[\frac{\zeta(1+\epsilon)^2}{\zeta(2)^2} \left(\frac{2\pi}{\sqrt{N}}\right)^{1-\epsilon} \frac{\Gamma(3+\epsilon)}{\Gamma(4)} < \frac{1}{3} \sin \Big(\frac{3}{2}\varepsilon\Big).\] Choosing \(\varepsilon = O(N^{-\half + \epsilon})\) suffices.
# Proof for Remaining Even Weights {#sec:evenweight}
In this section, we will show Theorem [\[thm:main\]](#thm:main){reference-type="ref" reference="thm:main"} for all even weights \(k \ge 6.\) Throughout the section, we will restrict our attention to those \(z\) such that \(|z| = 1.\) For simplicity, let \(m = \frac{k-2}{2}\), and define \[\begin{aligned}
P_f(z) &= \frac{1}{2} \binom{2m}{m} \Lambda(m+1, f) + \sum_{n = 0}^{m-1} \binom{k-2}{n} z^{m-n} \delta \Lambda(n+1, f) \nonumber \\ \label{pfeven} &= \frac{1}{2} \binom{2m}{m} \Lambda(m+1, f) + (2m)!\left(\frac{\sqrt{N}}{2\pi}\right)^{2m+1} \delta^{-1} z^m \sum_{n = 0}^{m-1} \frac{1}{n!}\left(\frac{2\pi}{z\sqrt{N}}\right)^n \overline{L(2m+1-n, f)}. \end{aligned}\] This satisfies \[t_f(z) = P_f(z) + \overline{P_f(z)} = 2 \on{Re}(P_f(z)).\] Next, define \[\begin{aligned}
Q_f(z) &= \frac{1}{(2m)!} \left(\frac{2\pi}{\sqrt{N}}\right)^{2m+1}P_f(z) \\ &= \frac{1}{2(m!)^2}\left(\frac{2\pi}{\sqrt{N}}\right)^{2m+1} \Lambda(m+1, f) + \delta^{-1}z^m \sum_{n = 0}^{m-1}\frac{1}{n!}\left(\frac{2\pi}{z\sqrt{N}}\right)^n \overline{L(2m+1-n, f)}. \end{aligned}\] Note that \(\on{sgn}(Q_f(z)) = \on{sgn}(P_f(z)).\) As in, rewrite \[Q_f(z) = \delta^{-1} \overline{L(2m+1, f)} z^m \exp\left(\frac{2\pi}{z\sqrt{N}}\right) + S_1(z) + S_2(z) + S_3(z),\] where we define \[\begin{aligned}
&S_1(z) = \delta^{-1} \overline{L(2m+1, f)} z^m \sum_{n = 0}^{m-1} \frac{1}{n!} \left(\frac{2\pi}{z\sqrt{N}}\right)^n \left(\overline{\left(\frac{L(2m+1-n, f)}{L(2m+1, f)}\right)}-1 \right) \\ &S_2(z) =-\delta^{-1} \overline{L(2m+1, f)} z^m \sum_{n \ge m} \frac{1}{n!} \left(\frac{2\pi}{z\sqrt{N}}\right)^n \\ &S_3(z) = \frac{1}{2(m!)^2} \left(\frac{2\pi}{\sqrt{N}}\right)^{2m+1} \Lambda(m+1, f). \end{aligned}\] For \(z = e^{i\theta}\), note that \[\label{defC} \arg\left(\delta^{-1} \overline{L(2m+1, f)} z^m \exp\left(\frac{2\pi}{z\sqrt{N}}\right)\right) = C + m\theta-\frac{2\pi \sin\theta}{\sqrt{N}},\] where \(C\) is a fixed constant depending on \(\delta\) and \(L(2m+1, f).\) Therefore, we can pick \(k\) values of \(z\) on the circle \(|z| = 1\) such that the previous expression has argument \(\ell\pi\) for integers \(\ell.\) The value of \(Q_f(z)\) at these points have alternating positive and negative real part with magnitude at least \(|L(2m+1, f)|\exp\left(-\frac{2\pi}{\sqrt{N}}\right)\). By Lemma [\[ivt\]](#ivt){reference-type="ref" reference="ivt"}, it suffices to show that \[|S_1(z)| + |S_2(z)| + |S_3(z)| < |L(2m+1, f)|\exp\left(-\frac{2\pi}{\sqrt{N}}\right).\] To bound \(S_1(z)\), we use Lemma [\[lratio\]](#lratio){reference-type="ref" reference="lratio"} in the form \(\Big|\frac{L(2m+1-n, f)}{L(2m+1, f)} \Big| \le \zeta(\frac{1}{2}+m-n)^2-1.\) This gives \[|S_1(z)| \le |L(2m+1, f)| \sum_{n = 1}^{m-1} \frac{1}{n!} \left(\frac{2\pi}{\sqrt{N}}\right)^n (\zeta(1/2+m-n)^2-1).\] For the term \(n = m-1\) in the above expression, we use the bound \(\zeta(3/2)^2-1 \le 35/6\). For \(0 \le n \le m-2\), note that \(2^x(\zeta(1/2+x)^2-1)\) is decreasing for \(x \ge 2.\) Therefore, for \(0 \le n \le m-2\), we find that \[\zeta(1/2 + m-n)^2-1 \le 2^{n-m}\cdot 4(\zeta(5/2)^2-1) \le \frac{16}{5}2^{n-m}.\] Now, we combine the above estimates with \(S_2(z)\) to obtain \[\begin{aligned}
\frac{|S_1(z)| + |S_2(z)|}{|L(2m+1, f)|} &\le \frac{16}{5}\sum_{n = 1}^{m-1} \frac{1}{n!} \left(\frac{2\pi}{\sqrt{N}}\right)^n \frac{2^n}{2^m} + \frac{17}{4} \frac{1}{(m-1)!} \left(\frac{2\pi}{\sqrt{N}}\right)^{m-1} + \sum_{n \ge m} \frac{1}{n!} \left(\frac{2\pi}{\sqrt{N}}\right)^n \nonumber \\ \label{s12} &\le \frac{16}{5}2^{-m} \left(\exp\left(\frac{4\pi}{\sqrt{N}}\right)-1\right) + \frac{17}{4} \frac{1}{(m-1)!} \left(\frac{2\pi}{\sqrt{N}}\right)^{m-1}. \end{aligned}\] To finish, we estimate \(|S_3(z)|\) using Lemma [\[mono\]](#mono){reference-type="ref" reference="mono"} and then [\[lratio\]](#lratio){reference-type="ref" reference="lratio"}. \[\begin{aligned}
|S_3(z)| &\le \frac{1}{2(m!)^2} \left(\frac{2\pi}{\sqrt{N}}\right)^{2m+1} |\Lambda(m+1, f)| \le \frac{1}{2(m!)^2} \left(\frac{2\pi}{\sqrt{N}}\right)^{2m+1} |\Lambda(m+2, f)| \nonumber \\ &\le \frac{m+1}{2m!} \left(\frac{2\pi}{\sqrt{N}}\right)^{m-1} |L(m+2, f)| \le \frac{m+1}{2m!} \left(\frac{2\pi}{\sqrt{N}}\right)^{m-1} |L(2m+1, f)| \zeta(3/2)^2 \nonumber \\ \label{s3} &\le \frac{7}{2} \frac{m+1}{m!} \left(\frac{2\pi}{\sqrt{N}}\right)^{m-1} |L(2m+1, f)|. \end{aligned}\] By using ([\[s12\]](#s12){reference-type="ref" reference="s12"}) and ([\[s3\]](#s3){reference-type="ref" reference="s3"}), it suffices to verify \[\label{finaleven} \frac{16}{5}2^{-m} \left(\exp\left(\frac{4\pi}{\sqrt{N}}\right)-1\right) + \frac{17}{4} \frac{1}{(m-1)!} \left(\frac{2\pi}{\sqrt{N}}\right)^{m-1} + \frac{7}{2} \frac{m+1}{m!} \left(\frac{2\pi}{\sqrt{N}}\right)^{m-1} < \exp\left(-\frac{2\pi}{\sqrt{N}}\right).\] For each value of \(m\) in the first row on the following table, the value \(N(m)\) is such that inequality [\[finaleven\]](#finaleven){reference-type="eqref" reference="finaleven"} holds for all \(N\ge N(m)\). Note that the case \(m = 1\) was done in Section [3](#sec:lowweight){reference-type="ref" reference="sec:lowweight"}.
Therefore, for all \(m \ge 29\), \(N(m) = 1\). This completes our proof of Theorem [\[thm:main\]](#thm:main){reference-type="ref" reference="thm:main"} for \(k\) even.
# Proof for Remaining Odd Weights {#sec:oddweight}
In this section, we will show Theorem [\[thm:main\]](#thm:main){reference-type="ref" reference="thm:main"} for all odd weights \(k \ge 7.\) As in the above section, we will restrict our attention to those \(z\) such that \(|z| = 1.\) For simplicity, let \(m = \frac{k-3}{2}\), and define \[\begin{aligned}
P_f(z) &= \sum_{n = 0}^{m} \binom{k-2}{n} z^{m-n+\frac{1}{2}} \delta \Lambda(n+1, f) \nonumber \\ \label{pfodd} &= (2m+1)! \left(\frac{\sqrt{N}}{2\pi}\right)^{2m+2}\delta^{-1} z^{m+\frac{1}{2}} \sum_{n = 0}^m \frac{1}{n!}\left(\frac{2\pi}{z\sqrt{N}}\right)^n \overline{L(2m+2-n, f)}, \end{aligned}\] so \(t_f(z) = 2\on{Re}(P_f(z))\) As in the above section, define \[\begin{aligned}
Q_f(z) &= \frac{1}{(2m+1)!} \left(\frac{2\pi}{\sqrt{N}}\right)^{2m+2} P_f(z) = \delta^{-1} z^{m+\frac{1}{2}} \sum_{n = 0}^m \frac{1}{n!}\left(\frac{2\pi}{z\sqrt{N}}\right)^n \overline{L(2m+2-n, f)} \\ &= \overline{L(2m+2, f)}\delta^{-1}z^{m+\frac{1}{2}} \exp\left(\frac{2\pi}{z\sqrt{N}}\right) + S_1(z) + S_2(z) + S_3(z), \end{aligned}\] where \(S_1(z), S_2(z)\), and \(S_3(z)\) are defined as follows. \[S_1(z) = \overline{L(2m+2, f)}\delta^{-1}z^{m+\frac{1}{2}} \sum_{n = 0}^{m-1} \frac{1}{n!}\left(\frac{2\pi}{z\sqrt{N}}\right)^n\left(\overline{\left(\frac{L(2m+2-n, f)}{L(2m+2, f)}\right)}-1\right),\] \[S_2(z) =-\overline{L(2m+2, f)}\delta^{-1}z^{m+\frac{1}{2}} \sum_{n \ge m} \frac{1}{n!} \left(\frac{2\pi}{z\sqrt{N}}\right)^n,\] \[S_3(z) = \delta^{-1}z^{m+\frac{1}{2}} \frac{1}{m!} \left(\frac{2\pi}{z\sqrt{N}}\right)^m \overline{L(m+2, f)}.\] As in Section [4](#sec:evenweight){reference-type="ref" reference="sec:evenweight"}, it suffices to show that \[|S_1(z)| + |S_2(z)| + |S_3(z)| < |L(2m+2, f)|\exp\left(-\frac{2\pi}{\sqrt{N}}\right).\] The proof of this will proceed in a very similar way to that of the above section. Note that the function \(2^x(\zeta(1+x)^2-1)\) is decreasing for \(x \ge 1.\) By Lemma [\[lratio\]](#lratio){reference-type="ref" reference="lratio"}, for \(0 \le n \le m-1\), we can bound \[\Big|\frac{L(2m+2-n, f)}{L(2m+2, f)}-1 \Big| \le \zeta(1+m-n)^2-1 \le 2^{n-m} \cdot 2(\zeta(2)^2-1) \le 2^{n-m} \cdot \frac{7}{2}.\] By Lemma [\[lratio\]](#lratio){reference-type="ref" reference="lratio"}, we have \[\label{s12odd} \frac{|S_1(z)| + |S_2(z)|}{|L(2m+2, f)|} \le \frac{7}{2}2^{-m} \sum_{n = 1}^{m-1} \frac{1}{n!} \left(\frac{4\pi}{\sqrt{N}}\right)^n + \sum_{n \ge m} \frac{1}{n!} \left(\frac{2\pi}{\sqrt{N}}\right)^n \frac{2^n}{2^m} \le \frac{7}{2}2^{-m} \left(\exp\left(\frac{4\pi}{\sqrt{N}}\right)-1\right).\] Now we use Lemma [\[mono\]](#mono){reference-type="ref" reference="mono"} to bound \(|L(m+2, f)|\). \[|L(m+2, f)| \le \frac{1}{(m+1)!}\left(\frac{2\pi}{\sqrt{N}}\right)^{m+2} |\Lambda(m+2, f)| \le (m+2) \left(\frac{2\pi}{\sqrt{N}}\right)^{-1} |L(m+3, f)|.\] Therefore, we have that \[\label{s3odd} |S_3(z)| \le \frac{m+2}{m!}\left(\frac{2\pi}{\sqrt{N}}\right)^{m-1}|L(m+3, f)| \le \frac{m+2}{m!}\left(\frac{2\pi}{\sqrt{N}}\right)^{m-1} \zeta(2)^2|L(2m+2, f)|,\] after applying Lemma \(\ref{lratio}.\) Finally, by using ([\[s12odd\]](#s12odd){reference-type="ref" reference="s12odd"}) and ([\[s3odd\]](#s3odd){reference-type="ref" reference="s3odd"}), it suffices to show that \[\label{finalodd} \frac{7}{2}2^{-m} \left(\exp\left(\frac{4\pi}{\sqrt{N}}\right)-1\right) + \frac{m+2}{m!}\left(\frac{2\pi}{\sqrt{N}}\right)^{m-1} \zeta(2)^2 < \exp\left(-\frac{2\pi}{\sqrt{N}}\right).\] For each value of \(m\) in the first row on the following table, the value \(N(m)\) is such that inequality [\[finalodd\]](#finalodd){reference-type="eqref" reference="finalodd"} holds for all \(N\ge N(m)\). Note that the cases \(m = 0, 1\) was done in Section [3](#sec:lowweight){reference-type="ref" reference="sec:lowweight"}.
Therefore, for \(m \ge 31\), \(N(m) = 1\). This completes the proof of Theorem [\[thm:main\]](#thm:main){reference-type="ref" reference="thm:main"} for \(k\) odd.
# Equidistribution of Roots for Large Weights {#sec:equi}
Let \(k \ge 6.\) For even \(k\), set \(m = \frac{k-2}{2}\). Then, the arguments in the previous sections show that for \(z = e^{i\theta}\), then \[Q_f(z) = |L(2m+1, f)| \left(\exp\left(i(m\theta+C) + \frac{2\pi}{\sqrt{N}}e^{-i\theta}\right) + O\Big(\frac{1}{2^m \sqrt{N}}\Big) \right)\] for some real constant \(C\) is defined in [\[defC\]](#defC){reference-type="eqref" reference="defC"}. Therefore, \[\on{Re}(Q_f(z)) = |L(2m+1, f)|\left(\exp\left(\frac{2\pi}{\sqrt{N}} \cos \theta\right) \cos\left(m\theta+C-\frac{2\pi}{\sqrt{N}} \sin \theta \right) + O\Big(\frac{1}{2^m \sqrt{N}}\Big) \right).\] Consider the \(\theta_\ell\) such that \(m\theta_\ell+C-\frac{2\pi}{\sqrt{N}} \sin \theta_\ell = \frac{\pi}{2} + \ell \pi.\) Then it is simple to verify that for some constant \(D\), the two values \(\theta_\ell \pm \frac{D}{2^m \sqrt{N}}\), \(\on{Re}(Q_f(z))\) has different signs. This completes the proof for even \(k\). For odd \(k\), set \(m = \frac{k-3}{2}.\) Then, the arguments in the previous section show that for \(z = e^{\theta i}\), \[Q_f(z) = |L(2m+2, f)| \left(\exp\left(i\Big(\Big(m+\frac{1}{2}\Big)\theta+C\Big) + \frac{2\pi}{\sqrt{N}}e^{-\theta i}\right) + O\Big(\frac{1}{2^m \sqrt{N}}\Big) \right).\] Therefore, it follows that \[\on{Re}(Q_f(z)) = |L(2m+2, f)| \left(\exp\left(\frac{2\pi}{\sqrt{N}} \cos \theta\right)\cos\left(\Big(m+\frac{1}{2}\Big)\theta + C-\frac{2\pi}{\sqrt{N}} \sin \theta\right) + O\left(\frac{1}{2^m \sqrt{N}}\right) \right).\] Now, consider the values \(\theta_\ell\) such that \((m+1/2)\theta_\ell + C-\frac{2\pi}{\sqrt{N}} \sin \theta_\ell = \frac{\pi}{2} + \ell\pi.\) Once again, one can verify that for the values \(\theta_\ell \pm \frac{D}{2^m \sqrt{N}},\) \(\on{Re}(Q_f(z))\) has opposite signs. This completes the proof of Theorem [\[thm:equi\]](#thm:equi){reference-type="ref" reference="thm:equi"}.
# A Numerical Example {#sec:numerical}
Consider the newform \(f \in S_7\left(\Gamma_0(11),\left(\frac{-11}{\bullet}\right)\right)\) whose \(q\)-series is given by \[q+10q^3+64q^4+74q^5+O(q^6).\] All the coefficients of \(f\) are real, and we have \(\epsilon(f) = 1\). In light of the functional equation \(L(s,f)=L(k-1-s,f)\), we can use Sage to compute the critical values of \(L(s,f)\) and thereby obtain \(r_f(z)\). We calculate that the roots of \(r_f(z)\) are \[z_1 \approx-0.294570496142963-0.0643219535709181 i,\] \[z_2 \approx-0.204098252273756 + 0.221930156418385i,\] \[z_3 \approx 0.301511344577764 i,\] \[z_4 \approx 0.204098252273756 + 0.221930156418385i,\] and \[z_5 \approx 0.294570496142963-0.0643219535709181i.\] All five roots have absolute value \(\approx 0.301511344577764 \approx 1/\sqrt{11}\), as expected given the statement of Theorem [\[thm:main\]](#thm:main){reference-type="ref" reference="thm:main"}. | {'timestamp': '2016-08-16T02:09:35', 'yymm': '1607', 'arxiv_id': '1607.04699', 'language': 'en', 'url': 'https://arxiv.org/abs/1607.04699'} |
null | null |
# Background
## Notation
Let \(I_t: \mathbb R^2\mapsto \mathbb R\) refer to an image captured at time \(t\) treated as a function of real values using sub pixel interpolation for non integral locations. The patch corresponding to the tracked object's location in \(I_t\) is denoted by \(\mathbf{I_t}(\mathbf{x_t}) \in \mathbb R^N\) where \(\mathbf{x_t}=[\mathbf{x_{1t}}..., \mathbf{x_{Nt}}]\) with \(\mathbf{x_{kt}}=[x_{kt}, y_{kt}]^T \in \mathbb R^2\) being the Cartesian coordinates of pixel \(k\). Further, \(\mathbf{w}(\mathbf{x}, \mathbf{p_s}): \mathbb{R}^2 \times \mathbb{R}^S\mapsto \mathbb{R}^2\) denotes a warping function of \(S\) parameters that represents the set of allowable image motions of the tracked object by specifying the deformations that can be applied to \(\mathbf{x_0}\) to align \(\mathbf{I_t}(\mathbf{w}(\mathbf{x_0},\mathbf{p_{st}}))\) with \(\mathbf{I_0}(\mathbf{x_0})\). Finally \(f(\mathbf{I^*}, \mathbf{I^c},\mathbf{p_a} ): \mathbb{R}^N \times \mathbb{R}^N \times \mathbb{R}^A\mapsto \mathbb{R}\) is a function of \(A\) parameters that measures the similarity between two patches-the reference or template patch \(\mathbf{I^*}\) and a candidate patch \(\mathbf{I^c}\). For brevity, \(\mathbf{I_t}(\mathbf{w}(\mathbf{x_0}, \mathbf{p_{st}}))\) and \(\mathbf{I_0}(\mathbf{x_0})\) will also be denoted as \(\mathbf{I_t}\) and \(\mathbf{I_0}\) respectively.
## Decomposing registration based tracking {#decompose_registration_tracking}
Using this notation, RBT can be formulated as a search problem whose aim is to find the optimal parameters \(\mathbf{p_t}=[\mathbf{p_{st}}, \mathbf{p_{at}}]\in\mathbb{R}^{S+A}\) that maximize the similarity, given by \(f\), between \(\mathbf{I^*} = \mathbf{I_0}\) and \(\mathbf{I^c}=\mathbf{I_t}\), that is, \[\begin{aligned} \label{reg_tracking} \mathbf{p_t} = \underset{\mathbf{p_s},\mathbf{p_a} } {\mathrm{argmax}} ~f(\mathbf{I_0}(\mathbf{x_0}),\mathbf{I_t}(\mathbf{w}(\mathbf{x_0},\mathbf{p_s})), \mathbf{p_a}) \end{aligned}\] This formulation gives rise to an intuitive way to decompose the tracking task into three sub modules-the similarity metric \(f\), the warping function \(\mathbf{w}\) and the optimization approach. These can be designed to be semi independent in the sense that any given optimizer can be applied unchanged to several combinations of methods for the other two modules which in turn interact only through a well defined and consistent interface. In this work, these sub modules are respectively referred to as AM, SSM and SM. A more detailed description with examples follows.
### Appearance Model {#appearanceModel}
This is the image similarity metric defined by \(f\) in Eq. [\[reg_tracking\]](#reg_tracking){reference-type="ref" reference="reg_tracking"} that the SM uses to compare different warped patches from \(I_t\) to find the closest match with \(\mathbf{I^*}\). It may be noted that \(\mathbf{I^*}\) is not constrained to be fixed but may be updated during tracking as in. Examples of \(f\) with \(A=0\) include sum of squared differences (**SSD**), sum of conditional variance (**SCV**), reversed SCV (**RSCV**), normalized cross correlation (**NCC**), mutual information (**MI**) and cross cumulative residual entropy (**CCRE**). There has also been a recent extension to SCV called **LSCV** that claims to handle localized intensity changes better. Finally, it has been shown that SSD performs better when applied to z-score normalized images which makes it equivalent to NCC. The resultant formulation is considered here as a distinct AM called Zero Mean NCC (**ZNCC**). These AMs can be divided into 2 categories-those that use some form of the L2 norm as \(f\)-SSD, SCV, RSCV, LSCV and ZNCC-and those that do not-MI, CCRE and NCC. The latter are henceforth called robust AMs after. The two AMs introduced here-SSIM and SPSS-too fall into this category. To the best of our knowledge, the only AMs with \(A\neq 0\) introduced thus far in literature are those with an illumination model (**ILM**), where \(f\) is expressed as \(f(\mathbf{I^*}, g(\mathbf{I^c},\mathbf{p_a}))\) with \(g: \mathbb{R}^N \times \mathbb{R}^A \mapsto \mathbb{R}^N\) accounting for differences in lighting conditions under which \(I_0\) and \(I_t\) were captured. These include gain & bias (**GB**) and piecewise gain & bias (**PGB**) with the latter comprising surface modeling with radial basis function (**RBF**) too. Though there have also been AMs that incorporate online learning, they are not compatible with all SMs used here and so have not been tested.
### State Space Model {#stateSpace}
This is the warping function \(\mathbf{w}\) that represents the deformations that the tracked patch can undergo. It therefore defines the set of allowable image motions of the corresponding object and can be used to place constraints on the search space of \(\mathbf{p_s}\) to make the optimization more robust or efficient. Besides the DOF of allowed motion, SSM also includes the actual parameterization of \(\mathbf{w}\). For instance, even though both represent 8 DOF motion, \(\mathbb{SL}(3)\) is considered as a different SSM than standard homography that uses actual entries of the corresponding matrix. This work uses 7 SSMs including 5 from the standard hierarchy of geometrical transformations-translation, isometry, similitude, affine and homography-along with two alternative parameterizations of homography-\(\mathbb{SL}(3)\) and corner based (i.e. using x,y coordinates of the bounding box corners). More complex SSMs to handle non rigid objects have also been proposed in literature like thin plate splines, basis splines and quadric surfaces. However, these are not tested here as the datasets used only feature rigid objects so these cannot be fairly evaluated. Extensions like incorporation of 3D pose and camera parameters to \(\mathbf{w}\) are also excluded.
### Search Method {#searchMethod}
This is the optimization procedure that searches for the warped patch in \(I_t\) that best matches \(\mathbf{I^*}\). There have been two main categories of SMs in literature-gradient descent (GD) and stochastic search. The former category includes the four variants of the classic Lucas Kanade (LK) tracker-forward additive (**FALK**), inverse additive (**IALK**), forward compositional (**FCLK**) and inverse compositional (**ICLK**)-that have been shown to be equivalent to first order terms. Here, however, we show experimental results (Sec. [4.4.3](#res_sm){reference-type="ref" reference="res_sm"}) proving that they perform differently in practice. A more recent approach of this type is the Efficient Second order Minimization (**ESM**) technique that uses gradients from both \(I_0\) and \(I_t\) to make the best of ICLK and FCLK. Several extensions have also been proposed to these SMs to handle specific challenges like motion blur, resolution degradation, better Taylor series approximation and optimal subset selection. Though these can be fit within our framework, either as distinct SMs or as variants thereof, they are not considered here for lack of space. There are three main stochastic SMs in literature-approximate nearest neighbor (**NN**), particle filters (**PF**) and random sample consensus (**RANSAC**). Though less prone to getting stuck in local maxima than GD, their performance depends largely on the number and quality of random samples used and tends to be rather jittery and unstable due to the limited coverage of the search space. One approach to obtain better precision is to combine them with GD methods where results from the former are used as starting points for the latter. Three such combinations have been tested here as examples of hybrid or composite SMs-NN+ICLK (**NNIC**), PF+FCLK (**PFFC**) and RANSAC+FCLK (**RKLT**).
# Conclusions
We presented two new similarity measures for registration based tracking and also formulated a novel way to decompose trackers in this domain into three sub modules. We tested many different combinations of methods for each sub module to gain interesting insights into their strengths and weaknesses. Several surprising results were obtained that proved previously published theoretical analysis to be somewhat inaccurate in practice, thus demonstrating the usefulness of this approach. Finally, the open source tracking framework used for generating these results was made publicly available so these can be easily reproduced.
# Introduction
Visual tracking is an important field in computer vision with diverse application domains including robotics, surveillance, targeting systems, autonomous navigation and augmented reality. Registration based tracking (**RBT**), also known in literature as direct visual tracking, is a sub field thereof where the object is tracked by warping each image in a sequence to align the object patch with the template. Trackers of this type are especially popular in robotics and augmented reality applications both because they estimate the object pose with greater precision and are significantly faster than online learning and detection based trackers (**OLT**s). However, OLTs are better suited to general purpose tracking as RBTs are prone to failure when the object undergoes significant appearance changes due to factors like occlusions and lighting variations or when completely novel views of the object are presented by deformations or large pose changes. As a result, OLTs are more popular in literature and have been the subject of several recent studies. The scope of such studies is usually limited to finding the trackers that work best under challenging conditions by testing them on representative sequences with little to no analysis provided regarding *why* specific trackers work better than others for given challenges. This is understandable since such trackers differ widely in design and have little in common that may be used to relate them to each other and perform comparative analysis from a design perspective. As we show in this work, however, RBTs do not have this drawback and can be decomposed into three sub modules-appearance model (**AM**), state space model (**SSM**) and search method (**SM**) (Sec. [1.2](#decompose_registration_tracking){reference-type="ref" reference="decompose_registration_tracking"})-that makes their systematic analysis feasible. Though this decomposition is somewhat obvious and indeed has been observed before, it has never been explored systematically or used to improve the study of this paradigm of tracking. It is the intent of this work to fill this gap by unifying the myriad of contributions made in this domain since the original Lucas Kanade (LK) tracker was introduced. Most of these works have presented novel ideas for only one of these submodules while using existing methods, often selected arbitrarily, for the rest. For instance, Hager & Belheumer, Shum & Szeliski, Baker & Matthews and Benhimane & Malis all introduced new variants of the Newton type SM used in but only tested these with SSD[^1] AM. Similarly, Dick et. al and Zhang et. al only combined their stochastic SMs with RSCV and SSD respectively. Conversely, Richa et. al, Scandaroli et. al and Dame et. al introduced SCV, MI and NCC as AMs but combined these only with a single SM-ESM in the former and ICLK in the other two. Even more recent works that use illumination models (**ILM**) (Sec. [1.2.1](#appearanceModel){reference-type="ref" reference="appearanceModel"}), including Bartoli, Silvera & Malis and Silvera, have combined their respective ILMs with only a single SM in each case. Finally, most SMs and AMs have been tested with only one SSM-either homography or affine. In fact, Benhimane & Malis mentioned that their SM only works with \(\mathbb{SL}(3)\) SSM though experiments (Sec. [4.4](#results){reference-type="ref" reference="results"}) showed that it works equally well with others. Such limited testing might not only give false indications about a method's capability but might also prevent it from achieving its full potential. For instance, an AM that outperforms others with a given SM might not do so with other SMs and an SM may perform better with an AM other than the one it is tested with. In such cases, our decomposition can be used to experimentally find the optimal combination of methods for any contribution while also providing novel insights about its workings. We demonstrate its practical applicability by comparing several existing methods for these sub modules not only with each other but also with two new AMs based on structural similarity (**SSIM**) that we introduce here and fit within this framework. SSIM is a popular measure for evaluating the quality of image compression algorithms by comparing the compressed image with the original one. Since it measures the information loss in the former-essentially a slightly distorted or damaged version of the latter-it makes a suitable metric for comparing candidate warped patches with the template to find the one with the minimum loss and thus most likely to represent the same object. Further, it has been designed to capture the perceptual similarity of images and is known to be robust to illumination and contrast changes. It is reasonable, therefore, to expect it to perform well for tracking under challenging conditions too. As such, it has indeed been used for tracking before with particle filters, gradient ascent and hybrid SMs. All of these trackers, however, used imprecise SSMs with low degrees of freedom (DOF)-estimating only translation and scaling of the target patch. To the best of our knowledge, no attempt has been made to use SSIM for high DOF RBT within the LK framework. This work aims to fill this gap too. To summarize, following are the main contributions of this work:
- Adapt a popular image quality measure-SSIM-for high precision RBT and introduce a simpler but faster version called SPSS (Sec. [\[sec_ssim\]](#sec_ssim){reference-type="ref" reference="sec_ssim"}).
- Evaluate these models comprehensively by comparing against 8 existing AMs using 11 SMs and 7 SSMs. Experiments are done using 4 large datasets with over 100,000 frames in all to ensure their statistical significance.
- Compare low DOF RBTs against state of the art OLTs to validate the suitability of the former for fast and high precision tracking applications.
- Provide an open source tracking framework[^2] called MTF using which all results can be reproduced and which, owing to its efficient C++ implementation, can also serve as a practical tracking solution.
Rest of this paper is organized as follows-section [1](#background){reference-type="ref" reference="background"} describes the decomposition, section [\[sec_ssim\]](#sec_ssim){reference-type="ref" reference="sec_ssim"} presents details about SSIM and section [4](#experiments){reference-type="ref" reference="experiments"} provides results and analysis.
# Results and Analysis {#experiments}
## Datasets
Following four publicly available datasets have been used to analyze the trackers:
1. Tracking for Manipulation Tasks (**TMT**) dataset that contains videos of some common tasks performed at several speeds and under varying lighting conditions. It has 109 sequences with 70592 frames.
2. Visual Tracking Dataset provided by **UCSB** that has 96 short sequences with a total of 6889 frames. These are more challenging than TMT but also somewhat artificial as they were created to represent specific challenges rather than realistic tasks.
3. **LinTrack** dataset that has 3 long sequences with a total of 12477 frames. These are more realistic than those in UCSB but also more difficult to track.
4. A collection of 28 challenging planar tracking sequences from several significant works in literature. We call this the **PAMI** dataset after from where several of the sequences originate. There are 16511 frames in all.
All of these datasets except PAMI have full pose (8 DOF) ground truth data which makes them suitable for evaluating high precision trackers that are the subject of this study. For PAMI, this data was generated using a combination of very high precision tracking and manual refinement.
## Evaluation Measures
**Alignment Error** (\(E_{AL}\)) has been used as the metric to compare tracking result with the ground truth since it accounts for fine misalignments of pose better than other measures like center location error and Jaccard index. A tracker's overall accuracy is measured through its **success rate** (SR) which is defined as the fraction of total frames where \(E_{AL}\) is less than a threshold of \(t_p\) pixels. Formally, \(SR = |S|/|F|\) where \(S = \{f^{i} \in F: E_{AL}^{i} < t_p \}\), \(F\) is the set of all frames and \(E_{AL}^{i}\) is the error in the \(i^{th}\) frame \(f^{i}\). Since there are far too many sequences to present results for each, an overall summary of performance is reported instead by averaging the SR over all sequences in the four datasets. In addition, to better utilize frames that follow a tracker's first failure in any sequence, we initialize trackers at \(10\) different evenly spaced frames in each sequence. Therefore the SR plots represent accumulated tracking performance over a total of \(|F| = 589380\) frames, out of which \(106469\) are unique. Finally, the SR is evaluated for several values of \(t_p\) ranging from 0 to 20 and the resulting SR vs. \(t_p\) plot is studied to get an overall idea of how precise and robust a tracker is. As an alternative measure for robustness, reinitialization tests were also conducted where a tracker is reinitialized after skipping 5 frames every time its \(E_{AL}\) exceeds 20 and the number of such reinitialization is counted. Due to space constraints, these results are presented in the supplementary (available on MTF website).
## Parameters Used
All results were generated using a fixed sampling resolution of \(50{\times}50\) irrespective the tracked object's size. Input images were smoothed using a Gaussian filter with a \(5{\times}5\) kernel before being fed to the trackers. Iterative SMs were allowed to perform a maximum of \(30\) iterations per frame but only as long as the L2 norm of the change in bounding box corners in each iteration exceeded \(0.0001\). Implementation details of NN, PF and RANSAC were taken from, and respectively. NN was run with 1000 samples and PF with 500 particles. For RANSAC and RKLT, a \(10{\times} 10\) grid of sub patches was used and each sub patch was tracked by a 2 DOF FCLK tracker with a sampling resolution of \(25{\times} 25\). As in, SSIM parameters are computed as \(C_1=(K_1L)^2\) and \(C_2=(K_2L)^2\) with \(K_1 =0.01\), \(K_2 =0.03\) and \(L=255\). Learning based trackers (Sec. [4.4.2](#res_ssm){reference-type="ref" reference="res_ssm"}) were run using default settings provided by their respective authors. Speed tests were performed on a 4 GHz Intel Core i7-4790K machine with 16 GB of RAM.
## Results
The results presented in this section are organized into three sections corresponding to the three sub modules. In each, we present and analyze results comparing different methods for the respective sub module.
### Appearance Models {#res_am}
Fig. [\[fig_am\]](#fig_am){reference-type="ref" reference="fig_am"} shows the SR curves for all AMs using different SMs and homography SSM with plot legends also indicating the areas under the respective curves which are equivalent to the average SR over this range of \(t_p\). Fig. [\[fig_speed_esm_pf\]](#fig_speed_esm_pf){reference-type="ref" reference="fig_speed_esm_pf"} shows the speeds of these AMs with ESM and PF as representatives of GD and stochastic SMs respectively. LSCV is excluded to reduce clutter as it was found to perform very similarly to SCV. Its results are in the supplementary instead along with those for the ILMs. Further, RANSAC and RKLT do not include CCRE and MI results since both are far too slow for 100 of them to be run simultaneously in real time. Also, both perform *very* poorly with these SMs, probably because the small sub patches used there do not have sufficient information to be represented well by the joint histograms employed by these AMs. Several observations can be made here. Firstly, NCC is the best performer with all SMs except IALK and NN-IALK performs poorly with all robust AMs (Sec. [4.4.3](#res_sm){reference-type="ref" reference="res_sm"}) while NN performs best with MI. Nevertheless, SSIM is usually equivalent to NCC or a close second showing that the latter is among the best AMs known. Also, as expected, SSIM is much better than SPSS with all SMs, with the latter only managing to match the performance of SSD on average. Further, though ZNCC is claimed to be equivalent to NCC and also has a wider basin of convergence due to its SSD like formulation, it usually does *not* perform as well as NCC. Secondly, in spite of being the most sophisticated and computationally expensive AM, CCRE is the worst performer with GD SMs and even MI is only slightly better than SSD on average. However, MI and CCRE are actually the best performing AMs with NN and MI is so with NNIC too. This shows that their poor performance with GD SMs is likely to be due to their narrower basin of convergence rather than an inherent weakness in the AMs themselves. This also explains MI's significant lead over CCRE with these SMs though the two differ only in the latter using a cumulative joint histogram. It seems likely that the additional complexity of CCRE along with the resultant invariance to appearance changes further *reduces* its basin of convergence. This discrepancy in performance between GD and stochastic SMs demonstrates the inadequacy of evaluating an AM with only one SM. Thirdly, SCV outperforms RSCV with both inverse GD SMs-ICLK and IALK-though the reverse is true with both the forward ones-FCLK and FALK. This pattern also holds for stochastic and composite SMs-SCV is better with NN/NNIC where samples are generated from \(I_0\) but worse with PF/PFFC where these come from \(I_t\). Also, their performance is very similar with ESM where information from both \(I_0\) and \(I_t\) is used. This is probably because SCV performs likelihood substitution with \(\mathbf{I_0}\) while RSCV does so with \(\mathbf{I_t}\). Fourthly, the separation between AMs is narrower with RANSAC than other SMs as this SM depends more on the *number* of sub patches used than on the tracker used for each. Conversely, PF shows maximum variation between AMs, thus indicating its strong reliance on \(f\). Finally, SPSS is not much faster than SSIM with either SM though it has lower computational complexity. This is partly due to SSIM finding convergence in fewer iterations with GD SMs and partly due to the way Eigen optimizes matrix multiplications, many of which are used for computing \(f_{ssim}\) and its derivatives while those of \(f_{spss}\) have to be computed pixel by pixel. The same holds for SSD too.
### State Space Models {#res_ssm}
Results in this section follow a slightly different format from the other two due to the difference in the motivations for using low DOF SSMs-they are more robust due to reduced search space and faster due to the gradients of \(\mathbf{w}\) being less expensive to compute. Limiting the DOF also makes them directly comparable to OLTs which too have low DOF. As a result, 2 DOF RBTs were also tested with 8 state of the art OLTs-DSST, KCF, CMT, RCT, TLD, Struck, FRG and GOTURN. Lastly, in order to make the evaluations fair, *lower DOF ground truth* has been used for all accuracy results in this section. This was generated for each SSM using least squares optimization to find the warp parameters that, when applied to the initial bounding box, will produces a warped box whose \(E_{AL}\) with respect to the 8 DOF ground truth is as small as it is possible to achieve given the constraints of that SSM. Fig. [\[fig_lt_with_ssim_2r\]](#fig_lt_with_ssim_2r){reference-type="ref" reference="fig_lt_with_ssim_2r"} shows the results of these tests in terms of both accuracy and speed. As expected, all the OLTs have low SR for smaller \(t_p\) since they are less precise in general. What is more interesting, however, is that none of them, with the exception of DSST and perhaps Struck, managed to surpass the best RBTs even for larger \(t_p\). The superiority of DSST and Struck over other OLTs is consistent with results on VOT dataset. However, the very poor performance of GOTURN, which is one of the best trackers on that dataset, indicates a fundamental difference in the challenges involved in the two paradigms of tracking. The speed plot shows another reason why OLTs are not suitable for high speed tracking applications-they are \(10\) to \(30\) times slower than RBTs except PF and RANSAC that are not implemented efficiently yet. It is not surprising that tracking based SLAM systems like SVO use registration based trackers as they need to track hundreds of patches per frame. To conclude the analysis in this section, we tested the performance of different SSMs against each other and the results are reported in the bottom right subplot of Fig. [\[fig_am\]](#fig_am){reference-type="ref" reference="fig_am"} using ESM with SSIM. Contrary to expectations, lower DOF SSMs are not better except perhaps affine and similitude that have slightly higher SR than homography for larger \(t_p\). In fact, the SR curves of all low DOF SSMs approach those of homography as \(t_p\) increases which does indicate their higher robustness-though not as precise as homography, they tend to be more resistant to complete failure. Also, all three parameterizations of homography have almost identical performance, with their plots showing near perfect overlap. This suggests that the theoretical justification for using ESM only with \(\mathbb{SL}(3)\) has little practical significance.
### Search Methods {#res_sm}
SR plots comparing different SMs for each AM are presented in the supplementary to save space as they contain the same data as Fig. [\[fig_am\]](#fig_am){reference-type="ref" reference="fig_am"}. First fact to observe is that the four variants of LK do not perform identically. Though FCLK and FALK are indeed evenly matched, both ICLK and IALK are significantly worse, with ICLK being notably better than IALK. This is especially true for CCRE where it outperforms both additive SMs. This contradicts the equivalence between these variants that was reported in and justified there using both theoretical analysis and experimental results. The latter, however, were only performed on synthetic images and even the former used several approximations. Therefore, it is perhaps not surprising that this equivalence does not hold under real world conditions. Secondly, ESM fails to outperform FCLK for any AM except SCV and ZNCC and even there it does not lead by much. This fact too emerges in contradiction to the theoretical analysis in where ESM was shown to have second order convergence and so should be better than first order methods like FCLK. Thirdly, both additive LK variants, and especially IALK, fare worse against compositional ones when using robust AMs compared to SSD-like AMs. This is probably because the Hessian after convergence approach used for extending Newton's method to these AMs does not make as much sense for additive formulations. Lastly, PFFC is the best performing SM followed by NNIC and RKLT which proves the efficacy of composite SMs.
# Structural Similarity
[\[sec_ssim\]]{#sec_ssim label="sec_ssim"} SSIM was originally introduced to assess the loss in image quality incurred by compression methods like JPEG. It has been very popular in this domain since it closely mirrors the approach adopted by the human visual system to subjectively evaluate the quality of an image. SSIM between \(\mathbf{I_0}\) and \(\mathbf{I_t}\) is defined as a product of 3 components: \[\begin{aligned}
\label{eq_ssim_complete} f_{ssim} = \left( \dfrac{2\mu_t\mu_0+C_1}{\mu_t ^2+\mu_0^2+C_1}\right)^\alpha \left(\dfrac{2\sigma_{t}\sigma_{0}+C_2}{\sigma_t ^2 + \sigma_0^2 + C_2}\right)^\beta \left(\dfrac{\sigma_{t0}+C_3}{\sigma_{t}\sigma_{0}+C_3}\right)^\gamma \end{aligned}\] where \(\mu_t\) is the mean and \(\sigma_{t}\) is the sample standard deviation of \(\mathbf{I_t}\) while \(\sigma_{t0}\) is the sample *covariance* between \(\mathbf{I_t}\) and \(\mathbf{I_0}\). The three components of \(f_{ssim}\) from left to right are respectively used for luminance, contrast and structure comparison between the two patches. The positive constants \(\alpha,\beta,\gamma\) are used to assign relative weights to these components while \(C_1\), \(C_2\), \(C_3\) are added to ensure their numerical stability with small denominators. Here, as in most practical implementations, it is assumed that \(\alpha = \beta = \gamma = 1\) and \(C_3 = \dfrac{C_2}{2}\) so that Eq. [\[eq_ssim_complete\]](#eq_ssim_complete){reference-type="ref" reference="eq_ssim_complete"} simplifies to: \[\begin{aligned}
\label{eq_ssim} f_{ssim} = \dfrac{ \left(2\mu_t\mu_0+C_1\right) \left(2\sigma_{t0}+C_2\right) } { \left(\mu_t ^2+\mu_0^2+C_1\right) \left(\sigma_t ^2 + \sigma_0^2 + C_2\right) } \end{aligned}\]
## Newton's Method with SSIM
[\[newton_ssim\]]{#newton_ssim label="newton_ssim"} Using SSIM with NN and PF is straightforward since these only need \(f_{ssim}\) to be computed between candidate patches. However, GD SMs also require its derivatives as they solve Eq [\[reg_tracking\]](#reg_tracking){reference-type="ref" reference="reg_tracking"} by estimating an incremental update \(\Delta\mathbf{p_t}\) to \(\mathbf{p_{t-1}}\) using some variant of Newton's method as: \[\begin{aligned}
\label{eq_nwt_method} \Delta\mathbf{p}_t=-\hat{\mathbf{H}}^{-1}\hat{\mathbf{J}}^T \end{aligned}\] where \(\hat{\mathbf{J}}\) and \(\hat{\mathbf{H}}\) respectively are estimates for Jacobian \(\mathbf{J} = \partial f/\partial \mathbf{p}\) and Hessian \(\mathbf{H} = \partial^2 f/\partial \mathbf{p}^2\) of \(f\) w.r.t. \(\mathbf{p}\). These can be further decomposed using chain rule as: \[\begin{gathered}
\label{eq_jac_basic} \mathbf{J} = \dfrac{\partial f}{\partial \mathbf{I}} \dfrac{\partial I}{\partial \mathbf{p}} = \dfrac{\partial f}{\partial \mathbf{I}} \nabla \mathbf{I} \dfrac{\partial \mathbf{w}}{\partial \mathbf{p}}\\ \label{eq_hess_basic} \mathbf{H} = \dfrac{\partial \mathbf{I}}{\partial \mathbf{p}}^T \dfrac{\partial^2 f}{\partial \mathbf{I}^2} \dfrac{\partial \mathbf{I}}{\partial \mathbf{p}} + \dfrac{\partial f}{\partial \mathbf{I}} \dfrac{\partial^2 \mathbf{I}}{\partial \mathbf{p}^2} \end{gathered}\] Of the right hand side terms in Eqs. [\[eq_jac_basic\]](#eq_jac_basic){reference-type="ref" reference="eq_jac_basic"} and [\[eq_hess_basic\]](#eq_hess_basic){reference-type="ref" reference="eq_hess_basic"}, only \(\partial f/\partial \mathbf{I}\) and \(\partial^2 f/\partial \mathbf{I}^2\) depend on \(f\) so the relevant expressions for \(f_{ssim}\) are presented below-general formulations corresponding to \(\mathbf{J}\) and \(\mathbf{H}\) in Eqs. [\[eq_ssim_grad_final\]](#eq_ssim_grad_final){reference-type="ref" reference="eq_ssim_grad_final"} and [\[eq_ssim_hess_final\]](#eq_ssim_hess_final){reference-type="ref" reference="eq_ssim_hess_final"} respectively, followed by specializations for \(\hat{\mathbf{J}}\) and \(\hat{\mathbf{H}}\) used by specific SMs. Detailed derivations are presented in the supplementary. \[\begin{aligned}
\label{eq_ssim_grad_final} \dfrac{\partial f_{ssim}}{\partial \mathbf{I_t}} = \mathbf{f'} = \dfrac{2}{cd} \left[ \left(\dfrac{a\mathbf{\bar{I}_0}-cf\mathbf{\bar{I}_t}}{N-1} + \dfrac{\mu_0b-\mu_tfd}{N} \right) \right] \end{aligned}\] \[\begin{aligned}
\label{eq_ssim_hess_final} \dfrac{\partial^2 f_{ssim}}{\partial \mathbf{I_t}^2} &= \dfrac{2}{cd} \bigg[ \dfrac{1}{N} S_N \left( \dfrac{4}{N-1} \left( \mu_0\mathbf{\bar{I}_0}-\mu_tf\mathbf{\bar{I}_t} \right)- \dfrac{3\mu_td}{2}\mathbf{f'}- \dfrac{fd}{N} \right)\notag\\ &- \dfrac{c}{N-1} \left( \dfrac{3}{2}\mathbf{f'}^T\mathbf{\bar{I}_t} + f\mathbb{I} \right) \bigg] \end{aligned}\] with \(\mathbf{\bar{I}_t} = \mathbf{I_t}-\mu_t, a=2\mu_t\mu_0+C_1\), \(b=2\sigma_{t0}+C_2\), \(c=\mu_t ^2+\mu_0^2+C_1, d=\sigma_t ^2 + \sigma_0^2 + C_2, f=f_{ssim}\) and \(S_n\left(\mathbf{K}\right)\) denoting an \(n{\times} k\) matrix formed by stacking the \(1\times k\) vector \(\mathbf{K}\) into rows. The form of \(\partial f/\partial \mathbf{I}\) used by the four variants of LK is identical except that ICLK requires the differentiation to be done w.r.t. \(\mathbf{I_0}\) instead of \(\mathbf{I_t}\)-the expressions for this are trivial to derive since SSIM is symmetrical. ESM was originally formulated as using the mean of \(\nabla \mathbf{I_0}\) and \(\nabla \mathbf{I_t}\) to compute \(\mathbf{J}\) but, as this formulation is only applicable to SSD, a generalized version is considered here that uses the *difference* between FCLK and ICLK Jacobians. It is generally assumed that the second term of Eq. [\[eq_hess_basic\]](#eq_hess_basic){reference-type="ref" reference="eq_hess_basic"} is too costly to compute and too small near convergence to matter and so is omitted to give the Gauss Newton Hessian: \[\begin{aligned}
\label{eq_hess_basic_gn} \mathbf{H}_{gn} = \dfrac{\partial \mathbf{I}}{\partial \mathbf{p}}^T \dfrac{\partial^2 f}{\partial \mathbf{I}^2} \dfrac{\partial \mathbf{I}}{\partial \mathbf{p}} \end{aligned}\] Though \(\mathbf{H}_{gn}\) works very well for SSD (and in fact even better than \(\mathbf{H}\) ), it is well known to *not* perform well with other AMs like MI, CCRE and NCC and we can confirm that the latter is true for SSIM and SPSS too. For these AMs, an approximation to \(\mathbf{H}\) *after convergence* has to be used instead by assuming perfect alignment between the patches or \(\mathbf{I^c}=\mathbf{I^*}\). This approximation is here referred to as the **Self Hessian** and, as this substitution can be made by setting either \(\mathbf{I^c} = \mathbf{I_0}\) or \(\mathbf{I^*} = \mathbf{I_t}\), we get two forms which are respectively deemed to be ICLK and FCLK Hessians: \[\begin{gathered}
\label{eq_hess_iclk} \hat{\mathbf{H}}_{ic} = \mathbf{H}_{self}^\mathbf{*} = \dfrac{\partial \mathbf{\mathbf{I_0}}}{\partial \mathbf{p}}^T \dfrac{\partial^2 f(\mathbf{I_0}, \mathbf{I_0})}{\partial \mathbf{I}^2} \dfrac{\partial \mathbf{\mathbf{I_0}}}{\partial \mathbf{p}} + \dfrac{\partial f(\mathbf{I_0}, \mathbf{I_0})}{\partial \mathbf{I}} \dfrac{\partial^2 \mathbf{\mathbf{I_0}}}{\partial \mathbf{p}^2}\\ \label{eq_hess_fclk} \hat{\mathbf{H}}_{fc} = \mathbf{H}_{self}^\mathbf{c} = \dfrac{\partial \mathbf{\mathbf{I_t}}}{\partial \mathbf{p}}^T \dfrac{\partial^2 f(\mathbf{I_t}, \mathbf{I_t})}{\partial \mathbf{I}^2} \dfrac{\partial \mathbf{\mathbf{I_t}}}{\partial \mathbf{p}} + \dfrac{\partial f(\mathbf{I_t}, \mathbf{I_t})}{\partial \mathbf{I}} \dfrac{\partial^2 \mathbf{\mathbf{I_t}}}{\partial \mathbf{p}^2} \end{gathered}\] It is interesting to note that \(\mathbf{H}_{gn}\) has the exact same form as \(\mathbf{H}_{self}\) for SSD (since \(\partial f_{ssd}(\mathbf{I_0}, \mathbf{I_0})/\partial \mathbf{I} = \partial f_{ssd}(\mathbf{I_t}, \mathbf{I_t})/\partial \mathbf{I} = \mathbf{0}\)) so it seems that interpreting Eq. [\[eq_hess_basic_gn\]](#eq_hess_basic_gn){reference-type="ref" reference="eq_hess_basic_gn"} as the first order approximation of Eq. [\[eq_hess_basic\]](#eq_hess_basic){reference-type="ref" reference="eq_hess_basic"} for SSD as in is incorrect and it should instead be seen as a special case of \(\mathbf{H}_{self}\). Setting \(\mathbf{I_0} = \mathbf{I_t}\) simplifies Eq. [\[eq_ssim_hess_final\]](#eq_ssim_hess_final){reference-type="ref" reference="eq_ssim_hess_final"} to: \[\begin{aligned}
\dfrac{\partial^2 f_{ssim}(\mathbf{I_t}, \mathbf{I_t})}{\partial \mathbf{I_t}^2} = \dfrac{-2}{\bar{c}\bar{d}} \left[ \dfrac{\bar{d}}{N^2} + \dfrac{\bar{c}}{N-1}\mathbb{I} \right] \end{aligned}\] with \(\bar{c}=2\mu_t^2 + C_1\) and \(\bar{d}=2\sigma_t^2 + C_2\). Finally, FALK and IALK use the same form of \(\partial^2 f/\partial \mathbf{I}^2\) as FCLK while ESM uses the *sum* of \(\hat{\mathbf{H}}_{fc}\) and \(\hat{\mathbf{H}}_{ic}\).
## Simplifying SSIM with pixelwise operations
In the formulation described so far, SSIM has been computed over the *entire* patch-i.e. \(\mu_t\), \(\sigma_t\) and \(\sigma_{t0}\) have been computed over all \(N\) pixels in \(\mathbf{I_t}\) and \(\mathbf{I_0}\). In its original form, however, the expression in Eq. [\[eq_ssim\]](#eq_ssim){reference-type="ref" reference="eq_ssim"} was applied to several corresponding *sub windows* within the two patches-for instance \(8\times 8\) sub windows that are moved pixel-by-pixel over the entire patch-and the *mean* of all resultant scores taken as the overall similarity score. For tracking applications, such an approach is not only impracticable from speed perspective, it presents another issue for GD SMs-presence of insufficient texture in these small sub windows may cause Eq. [\[eq_nwt_method\]](#eq_nwt_method){reference-type="ref" reference="eq_nwt_method"} to become ill posed if \(\mathbf{J}\) and \(\mathbf{H}\) are computed for each sub window and then averaged. As a result, the formulation used here considers only one end of the spectrum of variation of size and number of sub windows-a single sub window of the same size as the patch. Now, if the *other* end of the spectrum is considered-\(N\) sub windows of size \(1\times 1\) each-then a different AM is obtained that may provide some idea about the effect of window wise operations while also being much simpler and faster. The resultant model is termed as **Sum of Pixelwise Structural Similarity** or **SPSS**. When considered pixel wise, \(\sigma_t\) and \(\sigma_{t0}\) become null while \(\mu_t\) becomes equal to the pixel value itself so that Eq. [\[eq_ssim\]](#eq_ssim){reference-type="ref" reference="eq_ssim"} simplifies to: \[\begin{aligned}
\label{eq_spss} f_{spss} = \sum\limits_{i=1}^{N} \dfrac{ 2\mathbf{I_t}(\mathbf{x}_\mathbf{it}) \mathbf{I_0}(\mathbf{x}_\mathbf{i0}) + C_1 } { \mathbf{I_t}(\mathbf{x}_\mathbf{it})^2 + \mathbf{I_0}(\mathbf{x}_\mathbf{i0})^2 + C_1 } \end{aligned}\] Similar to SSD, contributions from different pixels to \(f_{spss}\) are independent of each other so that each entry of \(\partial f_{spss}/\partial \mathbf{I_t}\) has contribution only from the corresponding pixel. This also holds true for each entry of the principal diagonal of \(\partial^2 f_{spss}/\partial \mathbf{I_t}^2\) (which is a diagonal matrix). Denoting the contributions of the \(i^{th}\) pixel to \(f_{spss}\), \(\partial f_{spss}/\partial \mathbf{I_t}\) and \(\partial^2 f_{spss}/\partial \mathbf{I_t}^2\) respectively as \(f_i\), \(f'_i\) and \(f''_i\), we get: \[\begin{aligned}
\label{eq_spss_grad} f'_i &= \dfrac{ 2 (\mathbf{I_0}(\mathbf{x}_\mathbf{i0})- \mathbf{I_t}(\mathbf{x}_\mathbf{it}) f_{i} ) } { \mathbf{I_t}(\mathbf{x}_\mathbf{it})^2 + \mathbf{I_0}(\mathbf{x}_\mathbf{i0})^2 + C_1 }\\ \label{eq_spss_hess} f''_i &= \dfrac{-2( f_{i} + 3\mathbf{I_t}(\mathbf{x}_\mathbf{it})f'_{i} ) } { \mathbf{I_t}(\mathbf{x}_\mathbf{it})^2 + \mathbf{I_0}(\mathbf{x}_\mathbf{i0})^2 + C_1 }\\ \label{eq_spss_self_hess} f''_i(\mathbf{I_t}, \mathbf{I_t}) &= \dfrac{-2} { 2\mathbf{I_t}(\mathbf{x}_\mathbf{it})^2 + C_1 } \end{aligned}\]
[^1]: refer Sec. [1.2](#decompose_registration_tracking){reference-type="ref" reference="decompose_registration_tracking"} for acronyms
[^2]: available at <http://webdocs.cs.ualberta.ca/~vis/mtf/> | {'timestamp': '2017-01-31T02:09:50', 'yymm': '1607', 'arxiv_id': '1607.04673', 'language': 'en', 'url': 'https://arxiv.org/abs/1607.04673'} |
# Introduction
In this paper, we study the boundary value problem of the fourth order curl operator of type \[\label{eq:bvpA} {\bf(A)}\quad\left\{ \begin{array}{rl} (\nabla\times)^4\undertilde{u}=\undertilde{f},&\mbox{in}\ \Omega; \\ \nabla\cdot\undertilde{u}=0 & \mbox{in}\ \Omega; \\ \undertilde{u}\times\mathbf{n}=\undertilde{0},\ (\nabla\times \undertilde{u})\times \mathbf{n}=\undertilde{0} & \mbox{on}\ \partial\Omega, \end{array} \right.\] where \({\rm div}\undertilde{f}=0\), and of variant type \[\label{eq:bvpB} {\bf(B)}\quad\left\{ \begin{array}{rl} (\nabla\times)^4\undertilde{u}+\undertilde{u}=\undertilde{f},&\mbox{in}\ \Omega; \\ \undertilde{u}\times\mathbf{n}=\undertilde{0},\ (\nabla\times \undertilde{u})\times \mathbf{n}=\undertilde{0} & \mbox{on}\ \partial\Omega. \end{array} \right.\] For [\[eq:bvpB\]](#eq:bvpB){reference-type="eqref" reference="eq:bvpB"}, it is not necessary that \({\rm div}\undertilde{f}=0\). But evidently, \({\rm div}\undertilde{u}=0\) when \({\rm div}\undertilde{f}=0\). The boundary value problem of fourth order curl operator \((\nabla\times)^4\) arises in different applications, like in magnetohydrodynamics(MHD) and in the inverse electromagnetic scattering theory. In MHD, \((\nabla\times)^4\bf{B}\) is involved in the resistive system where \(\bf{B}\) is the magnetic field as a primary variable, and in the inverse electromagnetic scattering theory, \((\nabla\times)^4\) appears in computing the transmission eigenvalue. Some more applications of \((\nabla\times)^4\) can be found in the sequel works. The divergence free condition and the boundary conditions as in [\[eq:bvpA\]](#eq:bvpA){reference-type="eqref" reference="eq:bvpA"} are generally used. The two types of equations as above were discussed in, e.g., and, respectively. There have been works devoted to the discretization of the model problems. For the primal variational formulation, two kinds of not-conforming discretizations are discussed in literature, including a nonconforming element constructed in Zheng-Hu-Xu, and discretizations given in Hong-Hu-Shu-Xu with standard high order Nedelec elements in the framework of discontinuous Galerkin method. So far, no curl-curl-conforming other than the \(H^2\)-conforming finite element is known to us. An alternative approach is to introduce and deal with mixed/order-reduced formulation. It is natural to consider possibly the operator splitting technique which introduces an intermediate variable and then reduce the original problem to a system of second order equations. This is the way adopted by Sun. The associated eigenvalue problem is also discussed therein. Beyond these discussions, few results on the discretisation are known to us. The operator \((\nabla\times)^4\) is of fourth order and not completely symmetric; this makes the model problems bear complicated intrinsic structure. Primarily, the multiple high stiffness effects the property of the problems. Very recently, Nicaise studies the boundary value problem [\[eq:bvpA\]](#eq:bvpA){reference-type="eqref" reference="eq:bvpA"}, and proves that the solution does not generally belong to \(\undertilde{H}^3(\Omega)\) on polyhedons, and the \(\undertilde{H}^2(\Omega)\) regularity of the solution of [\[eq:bvpA\]](#eq:bvpA){reference-type="eqref" reference="eq:bvpA"} is still open even on convex polyhedrons. The multiple high stiffness also makes the concentrative construction of finite element functions difficult. Moreover, the structure of the finite element spaces are very complicated, which makes designing optimal solvers/multilevel methods difficult; there has been no discussion along this line. The order-reduced discretisation scheme by enables to utilise the existing edge element to solve the original problem; this scheme can be viewed as an analogue of the Ciarlet-Raviart's scheme for biharmonic equation in the context of fourth order curl problem. However, the structure has not become friendlier with this formulation. The stability analysis has not been presented in, and thus the intrinsic topology is not clear and the convergence analysis is constructed in quite a technical way there. Further, the internal structure of the finite element space is not yet clear either, and thus designing optimal solvers/multilevel methods for the scheme is also difficult. At the current situation, in this paper, we introduce new mixed formulations to figure out and utilise a clear and amiable structure. By bringing in auxiliary variables for the problems **(A)** and **(B)**, we present mixed formulations which are stable in Babuška-Brezzi's sense on the spaces of \(L^2\), \(H({\rm curl})\) and \(H^1\) types. Also, we establish the regularity results for the mixed formulations on convex polyhedral domains. As the mixed formulations are equivalent to the primal ones, the \(\undertilde{H}{}^2(\Omega)\) regularity of \(\undertilde{u}\) and \(\nabla\times\undertilde{u}\) are confirmed for [\[eq:bvpA\]](#eq:bvpA){reference-type="eqref" reference="eq:bvpA"} and [\[eq:bvpB\]](#eq:bvpB){reference-type="eqref" reference="eq:bvpB"} on convex polyhedrons, and the assumptions adopted in and are confirmed. The mixed formulations admit amiable discretisation with finite element spaces corresponding to \(L^2\), \(H({\rm curl})\) and \(H^1\) under some mild conditions, and the theoretical convergence analysis can be done in a standard friendly way. Several finite element examples are presented which can exploit the regularity of the solutions to an optimal extent. As the structures of the dicsretized \(L^2\), \(H({\rm curl})\) and \(H^1\) spaces have been well-studied, the newly-developed discretisation scheme can be solved optimally by the aid of some existing optimal preconditioners. Moreover, it is easy to find finite element spaces that are nested on nested grids, both algebraically and topologically with respect to the mixed formulation; this can bring convenience in designing further high-efficiency algorithms. We would emphasize the new variational problems [\[eq:nvpA\]](#eq:nvpA){reference-type="eqref" reference="eq:nvpA"}(for [\[eq:bvpA\]](#eq:bvpA){reference-type="eqref" reference="eq:bvpA"}) and [\[eq:nvpB\]](#eq:nvpB){reference-type="eqref" reference="eq:nvpB"}(for [\[eq:bvpB\]](#eq:bvpB){reference-type="eqref" reference="eq:bvpB"}) are the starting point of what we are going to do and what we are able to do. These new primal formulations arise from configurating the essential boundary conditions that should be satisfied by the solutions, and they differ from traditional ones, like ones discussed in, or. The variational formulation [\[eq:nvpB\]](#eq:nvpB){reference-type="eqref" reference="eq:nvpB"} is similar to the one used in, but the original boundary condition discussed in is different from that of [\[eq:bvpB\]](#eq:bvpB){reference-type="eqref" reference="eq:bvpB"}. The new variational formulations possess enough capacity for the essential boundary conditions, and make the sequel analysis smoother. The remaining of the paper is organised as follows. In Section [2](#sec:pre){reference-type="ref" reference="sec:pre"}, we present some preliminaries and the model problems in the primal formulation. We will particularly figure out the appropriate spaces of the model problem by clarifying the boundary conditions and specify the space whose capacity is big enough for the boundary condition and the variational form. In Section [3](#sec:mf){reference-type="ref" reference="sec:mf"}, the mixed formulation of the model problems are given with stability analysis. Section [4](#sec:dis){reference-type="ref" reference="sec:dis"} is then devoted to the discretizations, including general discussion on the conditions to be satisfied, and also some specific examples. Finally in Section [5](#sec:con){reference-type="ref" reference="sec:con"}, concluding remarks are given.
# Model problems: New primal formulations {#sec:pre}
## Preliminaries: Sobolev spaces and finite elements
Let \(\Omega\subset\mathbb{R}^3\) be a simply connected polyhedral domain, with boundary \(\Gamma=\partial\Omega\), and unit outward norm vector \(\mathbf{n}\). In this paper, we use the bold symbol for a vector in \(\mathbb{R}^3\), and a subscript \(\undertilde{~}\) for a vector valued function. We assume \(\Gamma\) is also connected. We use \(L^2(\Omega)\) and \(H^t_{(0)}(\Omega)\) for \(t=1,2,\dots\) for the standard Lebesque space and Sobolev spaces. Denote \[\begin{aligned}
H^s({\rm curl},\Omega):=\{\undertilde{v}\in (L^2(\Omega))^3:{\rm curl}^j\undertilde{v}\in (L^2(\Omega))^3,\ 1\leqslant j\leqslant t\},\ t=1,2,\dots, \end{aligned}\] equipped with the inner product \((\undertilde{u},\undertilde{v})_{H^t({\rm curl},\Omega)}=(\undertilde{u},\undertilde{v})+\sum_{j=1}^t({\rm curl}^j\undertilde{u},{\rm curl}^j\undertilde{v}),\) and the corresponding norm \(\|\cdot\|_{H^t({\rm curl},\Omega)}\). Particularly, \(H^1({\rm curl},\Omega)=H({\rm curl},\Omega)\), and \(\|\cdot\|_{H({\rm curl},\Omega)}=\|\cdot\|_{{\rm curl},\Omega}\). Similarly, define \[H({\rm curl}^2,\Omega):=\{\undertilde{v}\in (L^2(\Omega))^3:{\rm curl}\curl\undertilde{v}\in(L^3(\Omega))^2\},\] equipped with the inner product \((\undertilde{u},\undertilde{v})_{H({\rm curl}^2,\Omega)}=(\undertilde{u},\undertilde{v})+({\rm curl}\curl\undertilde{u},{\rm curl}\curl\undertilde{v})\) and the corresponding norm. Corresponding to the boundary condition, define \(H^2_0({\rm curl},\Omega):=\{\undertilde{v}\in H^2({\rm curl},\Omega):\undertilde{v}\times\mathbf{n}=\undertilde{0}\ \mbox{and}\ ({\rm curl}\undertilde{v})\times\mathbf{n}=\undertilde{0}\ \mbox{on}\ \Gamma\}\). Define \(H({\rm div},\Omega)=\{\undertilde{v}\in (L^2(\Omega))^3:{\rm div}\undertilde{v}\in L^2(\Omega)\}\), and \(H_0({\rm div},\Omega)=\{\undertilde{v}\in H({\rm div},\Omega):\undertilde{v}\cdot\mathbf{n}=0\,\mbox{on}\,\Gamma\}\). In the sequel, we use \(\nabla\times\) for \({\rm curl}\) in equations.
Let \(\Omega\) be subdivided to tetrahedrons which form a grid \(\mathcal{G}_h\). We impose the shape regularity assumption on \(\mathcal{G}_h\). On the grid can finite element spaces be constructed. We refer to for the context of finite element methods. We only recall these familiar finite element spaces:
- continuous Lagrangian element space of \(k\)-th degree: subspace of \(H^1(\Omega)\), consist of piecewise \(k\)-th-degree polynomials; denoted by \(\mathcal{L}^k_{h(0)}\), without or with respect to the \(H^1_0(\Omega)\) boundary condition;
- Nedelec edge element of first family of \(k\)-th degree: subspace of \(H({\rm curl},\Omega)\), consist of piecewise polynomials of the form \(\undertilde{u}+\undertilde{v}\), with \(\undertilde{u}\in (P_{k-1})^3\) and \(\undertilde{v}\in \undertilde{x}\times(\hat{P}_{k-1})^3\), where \(P_{k-1}\) is the space of \((k-1)\)-th degree polynomials, and \(\hat{P}_{k-1}^3\) is the space of homogeneous \((k-1)\)-th degree polynomials; denoted by \(N^k_{h(0)}\), without or with respect to the \(H_0({\rm curl},\Omega)\) boundary condition.
Particularly, \(\mathcal{L}^0_{h}\) denotes the space of piecewise constant, and \(\mathcal{L}^0_{h0}=\mathcal{L}^0_{h}\cap L^2_0(\Omega)\). The fact below is well known.
## New primal formulation
The variational formulations of the boundary value problem are used in literature:
- for **(A)** (, e.g.,): given \(\undertilde{f}\) with \({\rm div}\undertilde{f}=0\), find \(\undertilde{u}\in H^2_0({\rm curl},\Omega)\) and \({\rm div}\undertilde{u}=0\), such that \[\label{eq:vfA} (\nabla\times\nabla\times \undertilde{u},\nabla\times\nabla\times\undertilde{v})=(\undertilde{f},\undertilde{v}),\ \forall\,\undertilde{v}\in H^2_0({\rm curl},\Omega);\]
- for **(B)** (, e.g.,): given \(\undertilde{f}\), to find \(\undertilde{u}\in H^2_0({\rm curl},\Omega)\), such that \[\label{eq:vfB} (\nabla\times\nabla\times \undertilde{u},\nabla\times\nabla\times\undertilde{v})+(\undertilde{u},\undertilde{v})=(\undertilde{f},\undertilde{v}),\ \forall\,\undertilde{v}\in H^2_0({\rm curl},\Omega).\]
The well-posedness of the two variational problems is guaranteed by Lemmas [\[lem:picurl\]](#lem:picurl){reference-type="ref" reference="lem:picurl"} and [\[lem:hongetal\]](#lem:hongetal){reference-type="ref" reference="lem:hongetal"}. Note that \(\nabla\times\undertilde{u}\in H_0({\rm div},\Omega)\) for \(\undertilde{u}\in H_0({\rm curl},\Omega)\), and thus the boundary control of \(\nabla\times\undertilde{u}\) is more than the capacity of boundary condition of \(H_0({\rm curl},\Omega)\). This way, we set up the variational form on another Sobolev space. We begin with the fact below.
Now, define \(\undertilde{H}{}^1_0({\rm curl},\Omega):=\{\undertilde{v}\in H_0({\rm curl},\Omega):\nabla\times\undertilde{v}\in \undertilde{H}{}^1_0(\Omega)\}\). The observation below is crucial.
Moreover, \((\nabla\nabla\times\undertilde{u},\nabla\nabla\times\undertilde{v})=(\nabla\times\nabla\times\undertilde{u},\nabla\times\nabla\times\undertilde{v})\) on \(\undertilde{H}{}^1_0({\rm curl},\Omega)\). Therefore, we establish the variational form of the primal model problems as:
1. Given \(\undertilde{f}\) with \({\rm div}\undertilde{f}=0\), find \(\undertilde{u}\in \undertilde{H}{}^1_0({\rm curl},\Omega)\), \({\rm div}\,\undertilde{u}=0\), such that \[\label{eq:nvpA} (\nabla\nabla\times\undertilde{u},\nabla\nabla\times \undertilde{v})=(\undertilde{f},\undertilde{v}),\ \ \forall\,\undertilde{v}\in \undertilde{H}{}^1_0({\rm curl},\Omega).\]
2. Given \(\undertilde{f}\), find \(\undertilde{u}\in \undertilde{H}{}^1_0({\rm curl},\Omega)\), such that \[\label{eq:nvpB} (\nabla\nabla\times\undertilde{u},\nabla\nabla\times \undertilde{v})+(\undertilde{u},\undertilde{v})=(\undertilde{f},\undertilde{v}),\ \ \forall\,\undertilde{v}\in \undertilde{H}{}^1_0({\rm curl},\Omega).\]
# Mixed formulation of model problems {#sec:mf}
In this section, we present mixed problems that are equivalent to **(A\('\))** and **(B\('\))**, thus to **(A)** and **(B)**, respectively. The stability and regularity of the mixed problems are given.
## Mixedization of Problem **(A \('\))**
We start with the observations below. Let \(\undertilde{u}\) be the solution of **(A\('\))** (thus **(A)**). Define \(\undertilde{\varphi}:=\nabla\times\undertilde{u}\), then \(\undertilde{\varphi}\in\undertilde{H}{}^1_0(\Omega)\), and \({\rm div}\undertilde{\varphi}=0\). On the other hand, given \(\undertilde{\varphi}\in\undertilde{H}{}^1_0(\Omega)\), \(\undertilde{\varphi}={\rm curl}\undertilde{u}\) for \(\undertilde{u}\in H_0({\rm curl},\Omega)\) iff \(({\rm div}\undertilde{\varphi},q)=0\) for any \(q\in L^2_0(\Omega)\) and \((\undertilde{\varphi},\nabla\times\undertilde{s})=(\nabla\times\undertilde{u},\nabla\times\undertilde{s})\) for any \(\undertilde{s}\in H_0({\rm curl},\Omega)\). Also, \(\undertilde{u}\) is uniquely determined by the divergence free condition, which reads equivalently \((\undertilde{u},\nabla h)=0\) for any \(h\in H_0(\Omega)\). Now define \[V:=H^1_0(\Omega)\times H_0({\rm curl},\Omega)\times\undertilde{H}{}^1_0(\Omega)\times L^2_0(\Omega)\times H_0({\rm curl},\Omega)\times H^1_0(\Omega).\] The mixed formulation of **(A)** is to find \((m,\undertilde{u},\undertilde{\varphi},p,\undertilde{r},g)\in V\), such that for \(\forall\,(n,\undertilde{v},\undertilde{\psi},q,\undertilde{s},h)\in V\), \[\label{eq:mxdvfA'} \left\{ \begin{array}{ccccccll} &&&&(\undertilde{r},\nabla n)&& = 0, \\ &&&&-(\nabla\times\undertilde{r},\nabla\times\undertilde{v})&+(\nabla g,\undertilde{v})& =(\undertilde{f},\undertilde{v}), \\ &&(\nabla\undertilde{\varphi},\nabla\undertilde{\psi})&+(p,{\rm div}\undertilde{\psi}) &+(\nabla\times\undertilde{r},\undertilde{\psi})& & =0, \\ &&({\rm div}\undertilde{\varphi},q)&&&&=0, \\ (\nabla m,\undertilde{s})&-(\nabla\times\undertilde{u},\nabla\times\undertilde{s})& (\undertilde{\varphi},\nabla\times\undertilde{s}) & &&&=0, \\ &(\undertilde{u},\nabla h)&&&&&=0. \end{array} \right.\]
The theorem below constructs the regularity of the mixed system.
We postpone the proof of Theorem [\[thm:regA\]](#thm:regA){reference-type="ref" reference="thm:regA"} after some technical lemmas.
The lemma below is a smoothened analogue of Lemma [\[lem:GRembd\]](#lem:GRembd){reference-type="ref" reference="lem:GRembd"}, and we adopt the version in. From this point onwards, \(\lesssim\), \(\gtrsim\), and \(\raisebox{-1.5mm}{\)\;\stackrel{\raisebox{-3.9mm}{=}}{{\sim}}\;\(}\) respectively denote \(\leqslant\), \(\geqslant\), and \(=\) up to a constant. The hidden constants depend on the domain, and, when triangulation is involved, they also depend on the shape-regularity of the triangulation, but they do not depend on \(h\) or any other mesh parameter.
#### **Proof of Theorem [\[thm:regA\]](#thm:regA){reference-type="ref" reference="thm:regA"}**
By Lemma [\[lem:decomp\]](#lem:decomp){reference-type="ref" reference="lem:decomp"}, we will show the regularity result by dealing with the systems [\[eq:subA-1\]](#eq:subA-1){reference-type="eqref" reference="eq:subA-1"}, [\[eq:subA-2\]](#eq:subA-2){reference-type="eqref" reference="eq:subA-2"} and [\[eq:subA-3\]](#eq:subA-3){reference-type="eqref" reference="eq:subA-3"} sequentially. Since \({\rm div}\undertilde{f}=0\), by [\[eq:subA-1\]](#eq:subA-1){reference-type="eqref" reference="eq:subA-1"}, it holds that \(g=0\), and \((\nabla\times\undertilde{r},\nabla\times\undertilde{v})=(\undertilde{f},\undertilde{v})\) for any \(\undertilde{v}\in H_0({\rm curl},\Omega)\). Thus \(\nabla\times\nabla\times\undertilde{r}=\undertilde{f}\in \undertilde{L}^2(\Omega)\), namely \(\nabla\times\undertilde{r}\in H({\rm curl},\Omega)\). Also, \(\nabla\times\undertilde{r}\in H_0({\rm div},\Omega)\), and it follows that \(\nabla\times\undertilde{r}\in H({\rm curl},\Omega)\cap H_0({\rm div},\Omega)\subset \undertilde{H}{}^1(\Omega)\). Note that by [\[eq:subA-1\]](#eq:subA-1){reference-type="eqref" reference="eq:subA-1"}, \({\rm div}\undertilde{r}=0\), thus by Lemma [\[lem:CWZZlem3.2\]](#lem:CWZZlem3.2){reference-type="ref" reference="lem:CWZZlem3.2"}, \(\undertilde{r}\in \undertilde{H}^2(\Omega)\). This proves [\[eq:regAr\]](#eq:regAr){reference-type="eqref" reference="eq:regAr"} and [\[eq:regAg\]](#eq:regAg){reference-type="eqref" reference="eq:regAg"}. Substitute \(\nabla\times\undertilde{r}\) into the system [\[eq:subA-2\]](#eq:subA-2){reference-type="eqref" reference="eq:subA-2"}, standardly we obtain the estimate [\[eq:regAphi\]](#eq:regAphi){reference-type="eqref" reference="eq:regAphi"} and [\[eq:regAp\]](#eq:regAp){reference-type="eqref" reference="eq:regAp"}. We refer to for the regularity analysis of the 3D Stokes problem. Further, substitute \(\undertilde{\varphi}\) into the system [\[eq:subA-3\]](#eq:subA-3){reference-type="eqref" reference="eq:subA-3"}, we obtain \(m=0\), \({\rm div}\undertilde{u}=0\), \(\undertilde{u}\in \undertilde{H}{}^1(\Omega)\cap H_0({\rm curl},\Omega)\) and \({\rm curl}\undertilde{u}\in \undertilde{H}{}^1(\Omega)\). By Lemma [\[lem:CWZZlem3.2\]](#lem:CWZZlem3.2){reference-type="ref" reference="lem:CWZZlem3.2"} again, it holds that \(\undertilde{u}\in\undertilde{H}{}^2(\Omega)\). Moreover, \(\nabla\times\undertilde{u}=\undertilde{\varphi}\); this leads to \(\nabla\times\undertilde{u}\in\undertilde{H}{}^2(\Omega)\). Summing all above completes the proof. 0◻
## Mixedization of Problem (B\('\))
We simply repeat the procedure for Problem **(A\('\))**. Define \[U:=H^1_0(\Omega)\times H_0({\rm curl},\Omega)\times \undertilde{H}{}^1_0(\Omega)\times H_0({\rm curl},\Omega)\times L^2_0(\Omega).\] The mixed variational problem is to find \((m,\undertilde{u},\undertilde{\varphi},\undertilde{u},p)\in U\), such that \[\label{eq:mxdvpB'} \left\{ \begin{array}{ccccccll} &&&(\undertilde{r},\nabla n)&&& = 0, & n\in H^1_0(\Omega) \\ &(\undertilde{u},\undertilde{v})&&-(\nabla\times\undertilde{r},\nabla\times\undertilde{v})&& &=(\undertilde{f},\undertilde{v}),& \undertilde{v}\in H_0({\rm curl},\Omega) \\ &&(\nabla\undertilde{\varphi},\nabla\undertilde{\psi})&+(\nabla\undertilde{r},\undertilde{\psi})& &+(p,{\rm div}\undertilde{\psi}) & =0, & \undertilde{\psi}\in \undertilde{H}{}^1_0(\Omega) \\ (\nabla m,\undertilde{s})&-(\nabla\times\undertilde{u},\nabla\times\undertilde{s})& (\undertilde{\varphi},\nabla\times\undertilde{s}) & &&&=0, & \undertilde{s}\in H_0({\rm curl},\Omega) \\ &&({\rm div}\undertilde{\varphi},q)&&&&=0, &q\in L^2_0(\Omega). \end{array} \right.\]
Similar to Lemma [\[lem:equiv\]](#lem:equiv){reference-type="ref" reference="lem:equiv"}, we can obtain the equivalence result below.
# Finite element discretizations of the mixed formulations {#sec:dis}
For simplicity, we only consider the conforming finite element discretizations. Namely, we choose finite element spaces \(H^1_{h0}\subset H^1_0(\Omega)\), \(H_{h0}({\rm curl})\subset H_0({\rm curl},\Omega)\), \(\undertilde{H}{}^1_{h0}\subset \undertilde{H}{}^1_0(\Omega)\) and \(L^2_{h0}\subset L^2_0(\Omega)\), and use them to replace the respective Sobolev spaces when existing in the mixed variational form to generate a discretisation scheme. Particularly, the spaces \(H^1_0(\Omega)\) and \(H_0({\rm curl},\Omega)\) may appear more than once in the mixed formulation; this hints us to use different \(H^{1,a}_{h0}\) and \(H^{1,b}_{h0}\) and different \(H^a_{h0}({\rm curl})\) and \(H^b_{h0}({\rm curl})\) as their respective discretisation when convenient. In this section, we present some conditions of the well-posed-ness of the discretised system, construct generally its convergence analysis, and give some examples.
## Discretize Problem (A\('\))
Let \(H^{1,a}_{h0}\times H^a_{h0}({\rm curl})\) and \(H^{1,b}_{h0}\times H^b_{h0}({\rm curl})\), identical or not, be two finite element subspaces of \(H^1_0(\Omega)\times H_0({\rm curl},\Omega)\), and finite element space \(\undertilde{H}{}^1_{h0}\times L^2_{h0}\subset \undertilde{H}{}^1_0(\Omega)\times L^2_0(\Omega)\). Define \(V_h:=H^{1,a}_{h0}\times H^a_{h0}({\rm curl})\times \undertilde{H}{}^1_{h0}\times L^2_{h0}\times H^b_{h0}({\rm curl})\times H^{1,b}_{h0}\), and \(V_h':=H^{1,b}_{h0}\times H^b_{h0}({\rm curl})\times \undertilde{H}{}^1_{h0}\times L^2_{h0}\times H^a_{h0}({\rm curl})\times H^{1,a}_{h0}\). The discretized formulation of **(A\('\))** is to find \((m_h,\undertilde{u}{}_h,\undertilde{\varphi}{}_h,p_h,\undertilde{r}{}_h,g_h)\in V_h\), such that, for any \((n_h,\undertilde{v}{}_h,\undertilde{\psi}{}_h,q_h,\undertilde{s}{}_h,h_h)\in V_h'\), \[\label{eq:dismxdvfA' \left\{ \begin{array}{lll} a(( m_h,\undertilde{u}{}_h,\undertilde{\varphi}{}_h),( n_h,\undertilde{v}{}_h,\undertilde{\psi}{}_h))&+b(( p_h,\undertilde{r}{}_h, g_h),(n_h,\undertilde{v}{}_h,\undertilde{\psi}{}_h)) &= (\undertilde{f},\undertilde{v}{}_h), \\ b(( m_h,\undertilde{u}{}_h,\undertilde{\varphi}{}_h), ( q_h,\undertilde{s}{}_h, h_h)) &&=0, \end{array} \right.\] where \(a(\cdot,\cdot)\) and \(b(\cdot,\cdot)\) follows the definitions [\[eq:aforA\]](#eq:aforA){reference-type="eqref" reference="eq:aforA"} and [\[eq:bforA\]](#eq:bforA){reference-type="eqref" reference="eq:bforA"}. The system is symmetric indefinite when \(V_h=V_h'\), and unsymmetric otherwise. For the well-posedness of the discretised system, we set up some assumptions below.
A1
: The exact relation holds: \(\nabla H^{1,\alpha}_{h0}=\{\undertilde{s}{}_h\in H_{h0}^\alpha({\rm curl}):{\rm curl}\undertilde{s}{}_h=0\},\ \alpha=a,b.\)
A2
: The Poincaré inequality holds: \(\|\undertilde{s}{}_h\|_{0,\Omega}\leqslant C\|\nabla\times\undertilde{s}{}_h\|_{0,\Omega}\) for \(\undertilde{s}{}_h\in (\nabla H^{1,\alpha}_{h0})^\perp\). Here \((\nabla H^{1,\alpha}_{h0})^\perp\) is the orthogonal completion of \((\nabla H^{1,\alpha}_{h0})\) in \(H_{h0}^\alpha({\rm curl})\) in \(L^2\) inner product, \(\alpha=a,b\).
A3
: The inf-sup condition holds: \(\displaystyle\inf_{q_h\in L^2_{h0}\setminus\{0\}}\sup_{\undertilde{\psi}{}_h\in \undertilde{H}{}^1_{h0}\setminus\{\undertilde{0}\}}\frac{({\rm div}\undertilde{\psi}{}_h,q_h)}{\|q_h\|_{0,\Omega}\|\undertilde{\psi}{}_h\|_{1,\Omega}}\geqslant C\).
The convergence of the scheme is surveyed in the lemma below.
## Discretize Problem (B\('\))
Define \(U_h:=H^1_{h0}\times H_{h0}({\rm curl})\times\undertilde{H}{}^1_{h0}\times H_{h0}({\rm curl})\times L^2_{h0}\). The discretized mixed formulation is to find \((m_h,\undertilde{u}{}_h,\undertilde{\varphi}{}_h,\undertilde{r}{}_h,p_h)\in U_h\), such that, for any \((n_h,\undertilde{v}{}_h,\undertilde{\psi}{}_h,\undertilde{s}{}_h,q_h)\in U_h\), \[\label{eq:dismxdvpB'} \left\{ \begin{array}{ccccccll} &&&(\undertilde{r}{}_h,\nabla n_h)&&& = 0 & \\ &(\undertilde{u}{}_h,\undertilde{v}{}_h)&&-(\nabla\times\undertilde{r}{}_h,\nabla\times\undertilde{v}{}_h)&& &=(\undertilde{f},\undertilde{v}{}_h) \\ &&(\nabla\undertilde{\varphi}{}_h,\nabla\undertilde{\psi}{}_h)&+(\nabla\times\undertilde{r}{}_h,\undertilde{\psi}{}_h)& &+(p_h,{\rm div}\undertilde{\psi}{}_h) & =0 & \\ (\nabla m_h,\undertilde{s}{}_h)&-(\nabla\times\undertilde{u}{}_h,\nabla\times\undertilde{s}{}_h)& (\undertilde{\varphi}{}_h,\nabla\times\undertilde{s}{}_h) & &&&=0 & \\ &&({\rm div}\undertilde{\varphi}{}_h,q_h)&&&&=0. \end{array} \right.\] The stability and the convergence of the scheme are surveyed in the two lemmas below.
Lemma [\[lem:errB\]](#lem:errB){reference-type="ref" reference="lem:errB"} reveals that the error \(\|\undertilde{u}-\tilde{\undertilde{u}}{}_h\|_{{\rm curl},\Omega}+\|\undertilde{r}-\tilde{\undertilde{r}}{}_h\|_{{\rm curl},\Omega}\) can be comparable with \(\|\undertilde{\varphi}-\undertilde{\varphi}{}_h\|_0\). This hints us to use some bigger \(H_{h0}({\rm curl})\) to expect higher accuracy of \(\undertilde{u}\) and \(\undertilde{r}\) than that of \(\undertilde{\varphi}\) and \(p\) for smooth \(\undertilde{u}\) and \(\undertilde{r}\).
## Examples of finite element quartos
### Problem **(A\('\))**
For problem **(A\('\))**, we choose \[H^{1,a}_{h0}:=\mathcal{L}^2_{h0},\, H^a_{h0}({\rm curl}):=N^2_{h0},\, \undertilde{H}{}^1_{h0}:=(\mathcal{L}^2_{h0})^2,\, H^{1,b}_{h0}:=\mathcal{L}^1_{h0},\, H^b_{h0}({\rm curl}):=N^1_{h0},\, L^2_{h0}:=\mathcal{L}^1_{h}\cap L^2_0(\Omega).\] The assumptions **A1**\(\sim\)**A3** can be verified. Particularly, **A1** and **A3** can be found in, and **A2** can be found in. Its convergence then follows from Lemma [\[lem:errA\]](#lem:errA){reference-type="ref" reference="lem:errA"}. We here present a specific estimate on convex polyhedrons.
### Problem **(B\('\))**
For problem **(B\('\))**, we choose \[H^1_{h0}:=\mathcal{L}^2_{h0},\, H_{h0}({\rm curl}):=N^2_{h0},\, \undertilde{H}{}^1_{h0}:=(\mathcal{L}^2_{h0})^2,\, L^2_{h0}:=\mathcal{L}^1_{h}\cap L^2_0(\Omega).\] The assumptions **A1**\(\sim\)**A3** can be verified. For the convergence rate, we have the lemma below.
# Concluding remarks {#sec:con}
In this paper, we study the fourth order curl problem, and develop for them amiable mixed schemes. We construct equivalent mixed formulation of the two variant model problems; the mixed formulations are stable on standard \(H({\rm curl})\) and \(H^1\) spaces. Regularity results are constructed for the mixed formulations, and then the primal ones. Existing finite element quartos that satisfy quite mild assumptions can then lead to stable and convergent discretisation scheme of the model problem. Some finite element examples which are optimal with respect to the regularity are given. The newly developed schemes are friendly in building, analysing and designing optimal solvers. The scheme can be implemented with various familiar finite element packages. In the derivation of the equivalent formulations, we figure out the boundary condition that \(\nabla\times\undertilde{u}\) has to satisfy. Particularly, \((\nabla\times\undertilde{u})\cdot\mathbf{n}=0\) is a condition which should be satisfied by the variable \(\nabla\times\undertilde{u}\) essentially; also the condition can not be imposed weakly with the duality operated on \(H({\rm curl},\Omega)\). This forces us to bring \(\undertilde{H}{}^1_0(\Omega)\) which has bigger capacity for boundary conditions into discussion, and Lemma [\[lem:h=cd\]](#lem:h=cd){reference-type="ref" reference="lem:h=cd"} guarantees the equivalence. As only spaces of low smoothness and of low degrees are involved, it is possible to construct finite element discretizations that are nested algebraically and topologically on nested grids; this will provide convenience in designing multilevel methods, and can be utilised in practice (c.f., e.g.,). In this paper, we only consider two familiar variants boundary value problems. In many contexts, second order operators also appear in the boundary value problem, and parameters of various scale may appear in front of operators of different orders; see the model problem in. Designing parameter-robust discretisation is interesting and practically important, and will be discussed in future. Also, we focus ourselves on source problems in the present paper. The utilisation of the mixed scheme presented in this paper onto eigenvalue computation and analysis, especially in designing multilevel algorithm (c.f. ), will be discussed in future. | {'timestamp': '2016-07-19T02:09:12', 'yymm': '1607', 'arxiv_id': '1607.04923', 'language': 'en', 'url': 'https://arxiv.org/abs/1607.04923'} |
null | null |
null | null |
# Introduction
Nonequilibrium systems can display phase transitions, with a number of well understood universality classes. Some features not observed in equilibrium systems can occur if detailed balance is not fulfilled, e.g., correlations with a power law decay far from criticality and phase transitions with short range interactions in one dimension. Examples of nonequilibrium phase transitions include boundary induced phase transitions, phase transitions into absorbing states, real space condensation, and a transition to collective motion in active systems. The production of entropy is a signature of systems out of equilibrium. This entropy production can be defined for many nonequilibrium models, which can be related to quite different phenomena. Such a feature makes the investigation of the critical behavior of entropy production appealing. It is intriguing to wonder whether nonequilibrium phase transitions can be classified with respect to the critical behavior of the entropy production. The critical behavior of the entropy production rate has been analyzed in the majority vote model, in a two-dimensional Ising model in contact with two heat baths, and in a model for nonequilibrium wetting. For the first two models, the first derivative of the entropy production rate with respect to the control parameter was found to diverge at the critical point. For the third model the first derivative of the entropy production rate was found to be discontinuous at criticality. This discontinuity in the first derivative was also found within a mean-field approximation of the first model. Furthermore, the entropy production rate of a model for population dynamics with a non-equilibrium phase transition has also been analyzed in. In this paper we investigate the critical behavior of the entropy production rate in an Ising model driven by a magnetic field that oscillates deterministically in time. This model displays a phase transition characterized by an order parameter given by the magnetization integrated over a period. For the mean-field model, the phase transition can be either first or second-order, depending on the field amplitude and frequency. For the two dimensional model, the same kind of phase diagram with first and second-order phase transitions has been observed. However, a more careful numerical analysis indicates that for the two dimensional model the transition is always second-order, with critical exponents compatible with the Ising universality class. In contrast to the models listed in the previous paragraph, this model is driven by an external protocol and, therefore, reaches a periodic steady state. We analyze both a mean-field Ising model where all spins interact with each other and a two-dimensional Ising model with nearest neighbors interactions. Within the mean-field approximation, the entropy production rate is found to have a kink at the critical point for a second-order phase transition and is found to be discontinuous at criticality for a first-order phase transition. For the two-dimensional model the first derivative of the entropy production rate is found to diverge at the critical point, independent of the the frequency and amplitude of the field, which is in agreement with the absence of a first-order phase transition in two dimensions. An Ising model with a field that changes at stochastic time-intervals between two values is also considered. The critical behavior of the entropy production rate does not change in relation to the one observed in the model with a deterministic field. However, this model allows for a further perspective related to the relation between information and thermodynamics. The field can be seen as a signal and the system as a sensor that follows this signal. An information theoretic observable that quantifies the rate at which the system obtains information about the field is the learning rate. This learning rate appears in a second law inequality for bipartite systems, being bounded by the thermodynamic entropy production rate that quantifies heat dissipation. We study the critical behavior of the learning rate. Specifically, we introduce a lower bound on the learning rate that can be calculated in numerical simulations. Its first derivative with respect to the temperature is found to be discontinuous at the critical point. The paper is organized in the following way. In Sec. [2](#sec2){reference-type="ref" reference="sec2"} we calculate the entropy production rate for the mean-field model. The two-dimensional model with a deterministic field is analyzed in Sec. [3](#sec3){reference-type="ref" reference="sec3"}. In Sec. [4](#sec4){reference-type="ref" reference="sec4"} we introduce the model with a field that changes at stochastic time-intervals and investigate the critical behavior of the learning rate. We conclude in Sec. [5](#sec5){reference-type="ref" reference="sec5"}.
# Mean-field approximation {#sec2}
## Model definition and phase diagram
We consider a Curie-Weiss mean-field Ising model of \(L^2\) spins \(s_i=\pm 1\) that is subjected to a time-dependent external field of strength \(h(t)\). The time-dependent Hamiltonian is given by \[H(t)\equiv-\frac{J}{L^2}\sum_{ ij} s_is_j-h(t)\sum_i{s_i},\] where the first term on the right hand side involves a sum over all spins. The size-dependent pre-factor in this first term makes the Hamiltonian extensive. The external field varies periodically with time as \[h(t)\equiv h_0 \cos(\omega t), \label{eqfield}\] i.e., the field oscillates with an amplitude \(h_0\) and a frequency \(\omega\). We consider a model with Markovian dynamics. The transition rate from configuration \((s_1,\ldots,s_i,\ldots,s_{L^2})\) to configuration \((s_1,\ldots,-s_i,\ldots,s_{L^2})\) is denoted by \(w_i(s_i)\). The probability of an state \(\mathbf{s}=(s_1,\ldots,s_i,\ldots,s_{L^2})\) at time \(t\) is denoted \(P_\mathbf{s}(t)\). The average magnetization at time \(t\) is given by \[m(t)\equiv \sum_\mathbf{s} s_iP_\mathbf{s}(t),\] where the above definition is independent of \(i\) due to homogeneity. Even though the model does not reach an equilibrium state due to the periodic variation of the external protocol, the transition rates at a fixed time \(t\) fulfill the detailed balance condition \[\frac{w_i(s_i)}{w_i(-s_i)}= \textrm{e}^{-2 h_i(t)s_i/T},\] where \(T\) is the temperature, Boltzmann constant is \(k_B=1\) throughout, and \[h_i(t)\equiv \frac{J}{L^2}\sum_js_j+h(t).\] Assuming Glauber transition rates, i.e., \[w_i(s_i)= \frac{1}{2\tau}[1-s_i \tanh( h_i/T)],\] where \(\tau\) sets the time-scale for a spin flip, it is possible to show that the magnetization follows the equation \[\tau \frac{dm}{dt}=-m(t)+\langle\tanh[h_i(t)/T]\rangle. \label{eqmag1}\] In the thermodynamic limit \(L\to \infty\) this equation is simplified by the relation \(\sum_js_j/L^2\to m(t)\). Hence, in this limit, Eq. ([\[eqmag1\]](#eqmag1){reference-type="ref" reference="eqmag1"}) becomes \[\tau \frac{dm}{dt}=-m(t)+\tanh[Jm(t)/T+h(t)/T]. \label{eqmag2}\] The solution of Eq. ([\[eqmag2\]](#eqmag2){reference-type="ref" reference="eqmag2"}) reaches a periodic steady state, i.e., \(m(t)=m(t+2\pi/\omega)\), that is independent of the initial condition. This model has a phase transition at a critical temperature \(T_c\) that depends on the amplitude of the field \(h_0\) and the frequency \(\omega\). The order parameter of this transition is the magnetization integrated over a period in the periodic steady state \[M\equiv \frac{\omega}{2\pi}\int_{0}^{2\pi/\omega}m(t)dt. \label{magdef}\] Below (above) the critical temperature the magnetization is \(M\neq0\) (\(M=0\)). A phase diagram obtained with numerical integration of Eq. ([\[eqmag2\]](#eqmag2){reference-type="ref" reference="eqmag2"}) is shown in Fig. [\[fig1\]](#fig1){reference-type="ref" reference="fig1"}. This phase diagram has been obtained in and is shown here for illustrative purposes. Depending on \(h_0\) and \(\omega\) the phase transition can be first-order with a discontinuity in \(M\), or second-order.
## Heat and Work
Taking the time derivative of the internal energy per spin \(u(t)\equiv H/L^2\), we obtain \[\frac{du}{dt}= \frac{du}{dm}\frac{dm}{dt}+\frac{du}{dh}\frac{dh}{dt}.\] Following the standard definition of work in stochastic thermodynamics, we identify the rate of work done on the system as \[\dot{w}(t)\equiv \frac{du}{dh}\frac{dh}{dt}. \label{eqmfw}\] The expression for the dissipated heat follows from the first law \[\dot{q}(t)\equiv \dot{w}(t)-\frac{du}{dt}=-\frac{du}{dm}\frac{dm}{dt}.\] Since \(u(t)\) is periodic, we obtain \[\int_0^{2\pi/\omega}\dot{w}(t)dt= \int_0^{2\pi/\omega}\dot{q}(t)dt, \label{eqmfwq}\] i.e., the average work done on the system in one period equals the average dissipated heat in one period. The entropy production rate in the periodic steady state is defined as \[\sigma\equiv \frac{1}{T}\frac{\omega}{2\pi}\int_{0}^{2\pi/\omega}\dot{q}(t)dt=\frac{1}{T}\frac{\omega}{2\pi}\int_{0}^{2\pi/\omega}\dot{w}(t)dt, \label{eqmfsig}\] where we used the first law ([\[eqmfwq\]](#eqmfwq){reference-type="ref" reference="eqmfwq"}) in the second equality. We solved equation ([\[eqmag2\]](#eqmag2){reference-type="ref" reference="eqmag2"}) numerically and calculated the entropy production rate \(\sigma\) with Eqs. ([\[eqmfw\]](#eqmfw){reference-type="ref" reference="eqmfw"}) and ([\[eqmfsig\]](#eqmfsig){reference-type="ref" reference="eqmfsig"}). The results are shown in Fig. [\[fig2\]](#fig2){reference-type="ref" reference="fig2"}, where we plot \(\sigma\) as a function of the temperature \(T\) for two different values of the amplitude \(h_0\) and fixed frequency \(\omega\). If \(h_0\) is such that the phase transition is second-order, the entropy production rate has a kink at the critical point, indicating that the first derivative of \(\sigma\) with respect to \(T\) has a discontinuity at criticality. If the phase transition is first-order, the entropy production rate itself is discontinuous at the critical point. Hence, within the mean-field model the critical behavior of the entropy production rate is different in the two different regions of the phase diagram. We note that a discontinuity in the first derivative of \(\sigma\) with respect to the control parameter has also been observed in a mean-field approximation of the majority vote model and in a model for nonequilibrium wetting.
# Two-dimensional Ising model {#sec3}
## Model definition
For the two-dimensional Ising model with nearest neighbors interactions, a configuration \(\mathbf{s}=(s_1,s_2,\ldots,s_{L^2})\) at time \(t\) has energy \[E_{\mathbf{s}}(t)\equiv-J\sum_{ \langle ij\rangle} s_is_j-h(t)\sum_i{s_i},\] where the first sum is over nearest neighbors, \(h(t)\) is given by ([\[eqfield\]](#eqfield){reference-type="ref" reference="eqfield"}), and we consider periodic boundary conditions. The Binder cumulant is defined as \[U_L\equiv1-\langle M^4\rangle/(3\langle M^2\rangle^2),\] where \(M\) represents the magnetization integrated over a period and the brackets denote an average over stochastic trajectories. We calculated this Binder Cumulant with numerical simulations, which are explained below. The critical temperatures are determined from the crossing points of the Binder Cumulant in Fig. [\[fignew\]](#fignew){reference-type="ref" reference="fignew"}. The lack of a minimum of the Binder cumulant that crosses from 2/3 to 0 in Fig. [\[fignewa\]](#fignewa){reference-type="ref" reference="fignewa"} is an indicator of a second-order phase transition. The minimum of the Binder cumulant at a negative value in Fig. [\[fignewb\]](#fignewb){reference-type="ref" reference="fignewb"} is an indicator of a first-order phase transition, and this transition has been interpreted to be first-order from this kind of numerical result. However, this minimum has been shown to be finite size effect with a solid theoretical argument and extensive numerical simulations that show that the minimum disappears for large enough systems (see Fig. [\[fignewb\]](#fignewb){reference-type="ref" reference="fignewb"}). The basic idea of the theoretical argument is that for small systems the temperature at which the system crossover from the multiple droplet to the single droplet regime is above the critical temperature, leading to major differences in the probability distribution of the order parameter. Hence, convincing numerical evidence supports that in two dimensions the transition is always second-order, independent of \(h_0\) and \(\omega\). Our numerical results in Fig. [\[fignewb\]](#fignewb){reference-type="ref" reference="fignewb"} indicate a minimum that decreases with system size, in agreement with the results from. The system reaches a periodic steady state characterized by the probability \(P_\mathbf{s}(t)\), which has a period \(2\pi/\omega\). The entropy production rate per spin in this periodic steady state is defined as \[\sigma_L\equiv \frac{1}{L^2}\frac{\omega}{2\pi}\int_0^{2\pi/\omega}dt\left(\sum_{\mathbf{s}\mathbf{s}'}w_{\mathbf{s}\mathbf{s}'}(t)P_\mathbf{s}(t)\frac{E_{\mathbf{s}}(t)-E_{\mathbf{s}'}(t) }{T}\right),\] where \(w_{\mathbf{s}\mathbf{s}'}(t)\) is the transition rate from state \(\mathbf{s}\) to state \(\mathbf{s}'\) at time \(t\). These transition rates are nonzero only if the configurations \(\mathbf{s}\) and \(\mathbf{s}'\) differ by one spin flip and they fulfill the detailed balance relation \(w_{\mathbf{s}\mathbf{s}'}(t)/w_{\mathbf{s}'\mathbf{s}}(t)=\textrm{e}^{[E_{\mathbf{s}}(t)-E_{\mathbf{s}'}(t)]/T}\). The factor \(L^{-2}\) makes \(\sigma_L\) finite in the thermodynamic limit, where \[\sigma\equiv\lim_{L\to \infty}\sigma_L.\] The rate of dissipated heat is \(\dot{q}=T\sigma\), which is equal to the rate of work done on the system due to the first law. Numerical simulations were performed with the following procedure. The initial condition is a random configuration of spins, corresponding to \(T\to \infty\). The time \(t\) is discretized with the integer variable \(n\), in such a way that for \(n=L^2\) we have \(t=1\), i.e., the time \(t\) is in units of Monte Carlo steps. We use the standard metropolis rule for flipping a spin. A randomly chosen spin \(s_i\) may flip depending on the energy difference \[\Delta E_i(n/L^2)= 2s_i[J\sum_js_j+h(n/L^2)],\] where the sum in \(j\) is over the four nearest neighbors. If this energy difference is negative the spin flips with probability one, and if it is positive, the spin flips with probability \(\textrm{e}^{-\Delta E_i(n/L^2)/T}\). The entropy production rate \(\sigma_L\) was computed in the following way. After a certain transient the system reaches a periodic steady state and we compute the change in the entropy of the external medium \(\Delta S\) from time \(0\), after the transient, to time \(\mathcal{T}\), which corresponds to several periods \(2\pi/\omega\). If the system jumps from a configuration \(\mathbf{s}\) to a configuration \(\mathbf{s}'\) the entropy \(\Delta S\) changes by an amount \([E_{\mathbf{s}}(t)-E_{\mathbf{s}'}(t)]/T\). The entropy production rate per spin is then given by \[\sigma_L=\Delta S/(\mathcal{T}L^2). \label{entsim}\]
## Critical behavior of the entropy production
In Fig. [\[fig3\]](#fig3){reference-type="ref" reference="fig3"} we plot the entropy production rate \(\sigma_L\) as a function of the temperature \(T\) for two different values of \(h_0\). In both cases the entropy production rate has a maximum above \(T_c\). At the critical point, the entropy production rate seems to have an inflection, indicating a divergence of the first derivative of \(\sigma_L\) at the critical point, i.e., \[d_T\sigma\sim |T-T_c|^{-\alpha}.\] Direct numerical evaluation of the exponent \(\alpha\) with off-critical simulations turn out to be difficult. As shown in Fig. [\[fig4\]](#fig4){reference-type="ref" reference="fig4"}, the first derivative \(d_T\sigma_L\) for a finite system has a maximum that increases with \(L\), in agreement with the expectation that \(d_T\sigma\) diverges at criticality. Plotting this maximum \(d_T\sigma_L^{\textrm{max}}\) as a function of system size in Fig [\[fig5\]](#fig5){reference-type="ref" reference="fig5"}, we obtain \[d_T\sigma_L^{\textrm{max}}\sim \ln L. \label{entcri}\] The exponent \(\alpha\) is related to an exponent \(\psi\), defined by \(d_T\sigma_L^{\textrm{max}}\sim L^{\psi}\), through the scaling relation \(\alpha=\psi\nu\), where \(\nu\) is the critical exponent characterizing the divergence of the correlation length at criticality (\(\nu\simeq 1.1\) ). Relation ([\[entcri\]](#entcri){reference-type="ref" reference="entcri"}) implies \(\psi=0\), and, therefore, \(\alpha=0\). The critical behavior of the entropy production rate is the same in both plots shown in Fig. [\[fig5\]](#fig5){reference-type="ref" reference="fig5"}. This result provides further support for a second-order phase transition also for the amplitude \(h_0=2.8\), for which the Binder cumulant for small systems shows a minimum in Fig [\[fignewb\]](#fignewb){reference-type="ref" reference="fignewb"}, in the sense that with a first-order phase transition the system would explore different regions of the phase-space, which could lead to a discontinuity in the entropy production at \(T_c\). However, the lack of a jump in \(\sigma\) cannot be taken as a demonstration that the transition is not first-order: a relation connecting the average magnetization integrated over a period with the entropy production is not known, and, therefore, a discontinuity in the order parameter does not necessarily imply a discontinuity in the entropy production. The same kind of critical behavior of the first derivative of the entropy production, characterized by a logarithmic divergence, has been observed in a majority vote model and in a Ising model in contact with two heat baths.
# Critical behavior of the learning rate {#sec4}
## Stochastic external field
We now consider a two-dimensional Ising model with a magnetic field that changes at stochastic times. A similar model has been considered in. This magnetic field changes at a rate \(\Gamma\) between the values \(h_0\) and \(-h_0\). The system and external field together form a bipartite Markov process, which has \(2\times 2^{L^2}\) states. A state of this bipartite process is characterized by the vector \(\mathbf{s}\) and a binary variable \(x=\pm 1\) that indicates whether the external field is \(h_0\) or \(-h_0\). The transition rate from an state \((\mathbf{s},x)\) to a state \((\mathbf{s}',x')\) is \[w_{\mathbf{s}\mathbf{s}'}^{xx'}\equiv \cases{ w^{xx'}_{\mathbf{s}}=\Gamma\qquad\textrm{if \(x\neq x'\) and \(\mathbf{s}= \mathbf{s}'\) }\\ w^{x}_{\mathbf{s}\mathbf{s}'}=\chi_{\mathbf{s}\mathbf{s}'}/(1+\textrm{e}^{(E^x_{\mathbf{s}'}-E^x_\mathbf{s})/T})\qquad\textrm{if \(x= x'\) and \(\mathbf{s}\neq \mathbf{s}'\) }\\ 0 \qquad\textrm{if \(x\neq x'\) and \(\mathbf{s}\neq \mathbf{s}'\),} }\] where \(\chi_{\mathbf{s}\mathbf{s}'}\) is \(1\) if both configurations differ by a single spin flip and \(0\) otherwise. The energy \(E^x_\mathbf{s}\) is given by \[E^x_\mathbf{s}\equiv -J\sum_{ \langle ij\rangle} s_is_j-xh_0\sum_i{s_i}.\] A bipartite Markov process has two kinds of jumps, internal ones that lead to a spin flip and external ones that change the external field. The dissipated heat is related to the internal jumps, whereas the external jumps are related to work. Hence, only internal jumps appear in the entropy production rate per spin \(\sigma_L\), which is defined as \[\sigma_L\equiv\frac{1}{L^2}\sum_x\sum_{\mathbf{s}\mathbf{s}'}P_\mathbf{s}^{x}w^x_{\mathbf{s}\mathbf{s}'}\frac{(E^x_\mathbf{s}-E^x_{\mathbf{s}'})}{T},\] where \(P_\mathbf{s}^{x}\) is the stationary distribution. We have performed continuous-time Monte Carlo simulations of this model, using a method related to the method introduced in. The main difference is that we also have to account for jumps that lead to a change in the magnetic field. In our algorithm, at each jump, there is a probability \(1-p^{spin}\), which depends on the state of the system, that the magnetic field changes. A spin flip happens with probability \(p^{spin}\), and is executed with the procedure explained in. The parameter \(\Gamma\) is written as \(\Gamma=\gamma L^2\), where for different system sizes \(\gamma\) is kept fixed. The parameter \(\Gamma\) must scale as \(L^2\) for the following reason. The escape rate of an state \((\mathbf{s},x)\) is \(r_{\mathbf{s}x}=r^{spin}_{\mathbf{s}x}+\Gamma\), where \(r^{spin}_{\mathbf{s}x}\) is the sum of all transition rates that lead to a spin flip. Since there are \(L^2\) spins that can be flipped, the parameter \(\Gamma\) has to scale with \(L^2\) for the probability of a change in the field \(1-p^{spin}=\Gamma/(r^{spin}_{\mathbf{s}x}+\Gamma)\) to be conserved with a change in system size. The entropy production is calculated by adding \((E^x_\mathbf{s}-E^x_{\mathbf{s}'})/T\) to \(\Delta S\) every time a jump from \((x,\mathbf{s})\) to \((x,\mathbf{s}')\) occurs. If the simulation runs for a time \(\mathcal{T}\), after some transient, the entropy production rate per spin is calculated with expression ([\[entsim\]](#entsim){reference-type="ref" reference="entsim"}). The critical point is again determined with the Binder cumulant \[U_L=1-\langle m^4\rangle/(3\langle m^2\rangle^2),\] where the brackets denote an average over stochastic trajectories and \(m= \sum_is_i/L^2\). The Binder cumulant in Fig. [\[fig6a\]](#fig6a){reference-type="ref" reference="fig6a"} indicates a second-order phase transition. The critical behavior of the entropy production rate is the same as in the previous model, as shown in Fig. [\[fig6b\]](#fig6b){reference-type="ref" reference="fig6b"}, where the maximum of the first derivative of the entropy production rate follows the behavior in Eq. ([\[entcri\]](#entcri){reference-type="ref" reference="entcri"}).
## Learning rate
The Ising model with a stochastic field allows us to consider a further aspect related to information theory. The external field can be interpreted as a stochastic signal and the system of spins as a sensor that follows the signal. It turns out that there is a quantity, called learning rate, that characterizes the rate at which the system obtains information about the signal. Technically, this learning rate is a time derivative of the mutual information between system and external field. In the stationary state, the learning rate (per spin) \(\lambda_L\) is given by \[\lambda_L= \frac{\Gamma}{L^2}\sum_{\mathbf{s}}(P^{+1}_\mathbf{s}-P^{-1}_\mathbf{s})\ln\frac{P^{+1}_\mathbf{s}}{P^{-1}_\mathbf{s}}.\] The second law for a sensor following a signal reads \[\lambda_L\le \sigma_L. \label{inelearn}\] The learning rate \(\lambda_L\) that quantifies how much information the system obtains about the signal is bounded by \(\sigma_L\), which quantifies heat dissipation. This inequality allows for the definition of the informational efficiency \(\eta= \lambda_L/\sigma_L\). In Fig. [\[fig7\]](#fig7){reference-type="ref" reference="fig7"} we plot the learning rate \(\lambda_L\) and the entropy production rate \(\sigma_L\) as functions of temperature \(T\) for \(L=2,3\). They both have maxima at some intermediate values of \(T\). These figures were obtained with the exact calculation of the eigenvector of the stochastic matrix that is associated with the eigenvalue \(0\), which lead to the stationary distribution \(P^x_{\mathbf{s}}\). For larger values of \(L\) we have to use Monte Carlo simulations. The problem that arises for the calculation of \(\lambda_L\) in simulations is that the increment in the learning rate after a jump depends on the nonequilibrium stationary probability \(P^{x}_{\mathbf{s}}\), which is not known. We propose the following lower bound on the learning rate. Instead of the microscopic configuration \(\mathbf{s}\) we consider some mesoscopic variable \(a\). In particular, we consider a variable that gives the "class" of the spin in the continuous-time simulation. This variable takes the orientation of a spin and its nearest neighbors into account and has \(10\) possible outcomes: for each spin orientation the number of nearest neighbors with \(s_j=1\) can go from \(0\) to \(4\). The lower bound is then written as \[\lambda_L^{lb}\equiv \frac{\Gamma}{L^2}\sum_{a}(P^{+1}_a-P^{-1}_a)\ln\frac{P^{+1}_a}{P^{-1}_a}. \label{learnlb}\] This lower bound fulfills \(\lambda_L^{lb}\le \lambda_L\), which is illustrated in Fig. [\[fig7b\]](#fig7b){reference-type="ref" reference="fig7b"}, due to the log sum inequality. The probability \(P^{x}_a\) can be calculated in a Monte Carlo simulation by calculating the density of spins in each one of the ten classes in the steady state. It turns out that the lower bound \(\lambda_L^{lb}\) scales as \(L^{-4}\), going to zero in the limit of infinite system size. This scaling can be understood with the following heuristic argument. The probability of changing the magnetic field in a transition, instead of flipping a spin, is conserved as \(L\) is increased. Therefore, after a change in the field, the average number of spin flips before the next change in the external field is conserved for increasing \(L\). However, the number of spins flips to equilibrate the system is proportional to \(L^2\). As the number of spin flips is constant and the number of spin flips necessary for equilibration scale as \(L^2\), it is reasonable to expect that the difference \(|P^{+1}_a-P^{-1}_a|\sim L^{-2}\), which we have confirmed numerically. From the expression ([\[learnlb\]](#learnlb){reference-type="ref" reference="learnlb"}) we obtain \(\lambda_L^{lb}\sim L^{-4}\). In Fig. [\[fig8\]](#fig8){reference-type="ref" reference="fig8"} we plot the scaled learning rate \(\lambda_L^{lb}L^{4}\) as a function of the temperature \(T\). For large \(L\), this lower bound seems to have a kink, in the form of a local minimum, at the critical point. Hence, our results indicated that the first derivative of \(\lambda_L^{lb}\) with respect to \(T\) is discontinuous in the limit \(L\to \infty\). The critical behavior of the lower bound on the learning rate is then different from that of the entropy production. We note that the lower bound on the efficiency \(\lambda_L^{lb}/\sigma_L\le\eta\) goes to zero in the thermodynamic limit due to the different scaling of \(\lambda_L^{lb}\) in relation to \(\sigma_L\).
# Conclusion {#sec5}
We have analyzed the critical behavior of the entropy production rate of a nonequilibrium Ising model subjected to a time-dependent periodic field. For the mean-field model, this entropy production rate is found to have a jump at criticality if the transition is first-order. However, if the transition is second-order, the entropy production rate is continuous but its first derivative is discontinuous at criticality. For the two-dimensional model, for which the transition is second-order, the first derivative of the entropy production rate has a logarithmic divergence at the critical point. The novelty of our results in relation to previous studies on the critical behavior of entropy production rate are the following. The models analyzed here are driven by an external periodic protocol, in contrast to previous studies that consider models driven by a fixed thermodynamic force; the entropy production rate was found to have a jump at criticality for the mean-field model in the region with a first-order phase transition, which is a critical behavior that has not been observed in previous studies. Furthermore, the results for the deterministic field support the lack of a first-order phase transition in two-dimensions. We have also investigated the critical behavior of the learning rate for the model with an external field that changes at stochastic time-intervals between two values. It turns out that the calculation of the learning rate within numerical simulations would require the unknown nonequilibrium stationary distribution. We introduced a lower bound on the learning rate that can be calculated within numerical simulations. Our numerics indicates that the critical behavior of this lower bound is different from the one of the entropy production: it has a local minimum at the critical point and its first derivative seems to be discontinuous. Our results on the Ising model with a stochastic field offers two fresh perspectives. First, most studies on the relation between information and thermodynamics consider small systems. However, the inequalities for bipartite processes are also valid for macroscopic systems with a large number of states, as explicitly illustrated here. For example, it would be interesting to build a model of a macroscopic Maxwell's demon using the framework for bipartite systems. Second, this model allows for the definition of an informational efficiency. However, the lower bound on the efficiency, which is the quantity we could calculate, turned out to go to zero in the thermodynamic limit. Analyzing the critical behavior of efficiency in nonequilibrium models is also an interesting perspective. This work and the few previous studies on the critical behavior of entropy production demonstrate that the average entropy production can be a useful observable to determine the critical point of a generic nonequilibrium phase transition. As an interesting direction for future work, higher order moments of the fluctuating entropy production could be even more effective for a precise determination of the critical point. While the entropy production has been found to display three distinct behaviors at the critical line, i.e., a logarithmic divergence on its first derivative, a discontinuity on its first derivative, and a discontinuity, the deeper question whether entropy production can be used to classify nonequilibrium phase transitions in a meaningful way remains open. **Acknowledgements**We thank Shamik Gupta for carefully reading the manuscript and Per Arne Rikvold for pointing out. | {'timestamp': '2016-12-07T02:05:03', 'yymm': '1607', 'arxiv_id': '1607.04602', 'language': 'en', 'url': 'https://arxiv.org/abs/1607.04602'} |
# Introduction
A difficult question regarding the simple modules over a simple, simply connected algebraic group \(G\) over an algebraically closed field of positive characteristic \(\Bbbk\) is to find an explicit formula for their characters. A formula involving the action of the corresponding affine Weyl group was proposed by Lusztig in 1980. Subsequently this formula was shown to hold in large characteristic by the combined efforts of Kazhdan-Lusztig, Kashiwara-Tanisaki, Lusztig and Andersen-Jantzen-Soergel. More recently Williamson found many counter-examples to the expected bounds in this conjecture. A different approach to character formula with emphasis in the Steinberg decomposition for algebraic groups is given in. Around 1990 Lusztig started to study quantum groups \(U_\lambda(\g)\) at a primitive root of unity \(\lambda\) of order \(\ell\) in order to have algebras over the complex numbers whose representation theory resembles those of simply connected semisimple algebraic groups over algebraically closed fields of positive characteristic. In particular he conjectured a similar formula for the character of simple modules, which holds in this case by a hard proof of Kazhdan-Lusztig. A remarkable fact about \(U_\lambda(\g)\) is that it fits into a Hopf algebra extension of the corresponding small quantum group \(\u_\lambda(\g)\) by the enveloping algebra \(U(\g)\); each simple module satisfies a kind of Steinberg decomposition: it is written as a tensor product of a simple module of \(\u_\lambda(\g)\) with a simple module \(U(\g)\), viewed as \(U_\lambda(\g)\)-module via a (kind of) Frobenius map. A fundamental difference, however, between the representation theory of the algebraic group and the corresponding quantum group at a root of unity is the form of the Steinberg (resp. Lusztig) tensor product theorem: for the algebraic group the theorem involves an arbitrary number of iterations of the Frobenius twist, whereas for the quantum group only one Frobenius twist occurs. It has been proposed by Soergel and Lusztig that there might exist analogues of the quantum group which parallel to a greater and greater extent the representation theory of the algebraic group. Such an object has the potential to deepen our understanding of the representation theory of algebraic groups. The purpose of this paper is to propose such an object for \(\Sl_2\). More precisely, we introduce a family of finite dimensional algebras \(\{\Dl{N}{\Sl_2}\}_{N\in\N_0}\) over the complex numbers to mimic the filtration of the algebra of distributions of \(\SL_2\) as a filtration by finite-dimensional subalgebras. This filtration is deeply motivated by the approach proposed in. The main objective is to find a \(\C\)-algebra whose representation category *behaves* as that of simple, simply connected algebraic groups over algebraically closed fields of positive characteristic, even more similar than \(U_\lambda(\g)\).
- Each algebra \(\Dl{N}{\Sl_2}\) is presented by generators and relations; the relations in Definition [\[defn:Dlambda\]](#defn:Dlambda){reference-type="ref" reference="defn:Dlambda"} resemble those defining finite dimensional subalgebras of the algebra of distributions of \(\SL_2\).
- The first step corresponds to the small quantum group: \(\Dl{0}{\Sl_2}\simeq \u_\lambda(\Sl_2)\). If \(M<N\), then \(\Dl{M}{\Sl_2}\) is a subalgebra of \(\Dl{N}{\Sl_2}\), and at the same time there exists a surjective map \(\Dl{N}{\Sl_2} \twoheadrightarrow \Dl{M}{\Sl_2}\), see Lemma [\[lemma:proj over uqsl2\]](#lemma:proj over uqsl2){reference-type="ref" reference="lemma:proj over uqsl2"}. Thus there exists a surjective map \(\Dl{N}{\Sl_2} \twoheadrightarrow \u_\lambda(\Sl_2)\), a kind of *Frobenius map*.
- For the algebra of distributions, there exist extensions of Hopf algebras between consecutive terms of a filtration by (finite dimensional) Hopf subalgebras, see Proposition [\[prop:extn Hopf algs\]](#prop:extn Hopf algs){reference-type="ref" reference="prop:extn Hopf algs"}. In this case, \(\Dl{N-1}{\Sl_2} \subset \Dl{N}{\Sl_2}\) is a \(\u_\lambda(\Sl_2)\)-cleft extension for all \(N\in\N\), see Proposition [\[prop:cleft-ext\]](#prop:cleft-ext){reference-type="ref" reference="prop:cleft-ext"}.
- Each \(\Dl{N}{\Sl_2}\) admits a *triangular decomposition* into a positive, a zero and a negative part, see Proposition [\[prop:basis, triang decomp\]](#prop:basis, triang decomp){reference-type="ref" reference="prop:basis, triang decomp"}. Reasonably each simple module is a *highest weight module*, see Proposition [\[prop:simple-modules\]](#prop:simple-modules){reference-type="ref" reference="prop:simple-modules"}.
- Each simple \(\Dl{N}{\Sl_2}\)-module admits a *Steinberg decomposition* as the tensor product of a simple \(\Dl{N-1}{\Sl_2}\)-module and a simple \(\u_\lambda(\Sl_2)\)-module as stated in Theorem [\[thm:simple-modules-tensor-decomp\]](#thm:simple-modules-tensor-decomp){reference-type="ref" reference="thm:simple-modules-tensor-decomp"}.
The next step is to define families of algebras \(\Dl{N}{\g}\) for any semisimple Lie algebra \(\g\). This will be the content of a forthcoming paper, where the first step includes the definition of *Lusztig's isomorphisms at level \(N\)*: that is, to consider Lusztig's isomorphisms for small quantum groups, which induce maps for \(\Dl{N}{\g}\). Hence \(\Sl_2\) is a key step to prove the existence of a PBW basis labeled by the roots of \(\g\). As the simple modules of these algebras satisfy a Steinberg tensor product decomposition, we hope to attack the modular case from the approach established by Lusztig in.
## Notation
Let \(H\) be a Hopf algebra with counit \(\epsilon\) and antipode \(\cS\). \(H^+\) is the augmentation ideal, i.-e. the kernel of \(\epsilon\). The left adjoint action of \(H\) on itself is \(\Ad(a)b=a_1 b \cS(a_2)\), \(a,b\in H\). A Hopf subalgebra \(A\) is (left) normal if it is stable by the (left) adjoint action. Given \(\pi:H\to K\) a Hopf algebra map, \[\begin{aligned}
H^{\co \pi} &= \{h\in H: (\id \ot \pi)\Delta(h)=h\ot 1\}, \ ^{\co \pi} H = \{h\in H: (\pi \ot \id)\Delta(h)=1\ot h\}, \end{aligned}\] are the sets of left, respectively right, coinvariant elements. Let \(A\) be a right \(H\)-comodule algebra; that is, an \(H\)-comodule such that the coaction map \(\rho:A\to A\ot H\) is an algebra map. Let \[\begin{aligned}
B:=A^{\co H} &= \{a\in A: \rho(h)=a\ot 1\}, \end{aligned}\] the subalgebra of coinvariant elements. Then \(B\subset A\) is a cleft extension if there exists an \(H\)-colinear convolution-invertible map \(\gamma:H\to A\); we refer to [@Mo Section 7] for more information. A sequence of Hopf algebra maps \[\begin{aligned}
\end{aligned}\] is *exact* if the following conditions hold: \[\begin{aligned}
\iota&\text{ is injective,} & \pi&\text{ is surjective,} & \ker\pi &= C \iota(A^{+}), & \iota(A) &= C^{\co \pi}. \end{aligned}\]
# Algebras of Distributions of reductive groups {#section:dist alg}
Let \(\Bbbk\) be an algebraically closed field, \(p=\ch \Bbbk\). Let \(G\) be a simply connected semisimple algebraic group with Cartan matrix \(A=(a_{ij})_{1\le i,j \le\theta}\), \(\g=\operatorname{Lie} G\). Following we recall some definitions concerning algebraic groups. Then we give some results which illustrate those results we want to mimic for the quantum counterpart studied later.
## The algebra of distributions
Let \(I_e=\{f\in\Bbbk[G]| f(e)=0\}\). A *distribution* on \(G\) (with support on \(e\)) of order \(n\in\N_0\) is a linear map \(\mu:\Bbbk[G]\to\Bbbk\) such that \(\mu_{|I_e^{n+1}}\equiv 0\). Let \(\Dis{n}{G}\) be the set of all distributions of order \(n\), which is a \(\Bbbk\)-vector space. Now \[\begin{aligned}
\Di{G}= \bigcup_{n\geq 0} \Dis{n}{G} = \{ \mu \in \Bbbk[G]^{\ast} | \mu_{|I_e^{n+1}}\equiv 0 \text{ for some } n\in\N\} \end{aligned}\] is the set of all distributions, which is a \(\Bbbk[G]\)-module. Then \(\Di{G}\) is a Hopf subalgebra of \(\Bbbk[G]^{\ast}\), called the *algebra of distributions* (or the *hyperalgebra*) of \(G\). As algebra and coalgebra, it is filtered: \[\begin{aligned}
\Dis{m}{G} \cdot \Dis{n}{G} &\subset \Dis{m+n}{G} & \text{for all } & m,n \in\N_0. \end{aligned}\] We describe now two basic examples. We refer to for more details.
By the algebra \(\Di{G}\) is presented by generators \(H_i\at{n}\), \(X_i\at{n}\), \(Y_i\at{n}\), \(1\le i\le\theta\), \(n\in\N_0\), where \(H_i\at{0} = X_i\at{0}=Y_i\at{0}=1\), and relations \[\begin{aligned}
\label{eq:rels dist-alg-1} H_i(t) H_i(u) &= H_i(t+u+tu), \\ \label{eq:rels dist-alg-2} H_i(t) H_j(u) &= H_j(u)H_i(t), \\ \label{eq:rels dist-alg-3} X_i(t) X_i(u) &= X_i(t+u), \\ \label{eq:rels dist-alg-4} Y_i(t) Y_i(u) &= Y_i(t+u), \\ \label{eq:rels dist-alg-5} X_i(t) Y_i(u) &= Y_i\left(\frac{u}{1+tu}\right) H_i(tu) X_i\left(\frac{t}{1+tu}\right), \\ \label{eq:rels dist-alg-6} X_i(t) Y_j(u) &= Y_j(u)X_i(t), \\ \label{eq:rels dist-alg-7} H_i(t) X_j(u) &= X_j\left( (1+t)^{a_{ij}} u \right) H_i(t), \\ \label{eq:rels dist-alg-8} H_i(t) Y_j(u) &= Y_j\left( (1+t)^{-a_{ij}} u \right) H_i(t), \\ \label{eq:rels dist-alg-9} \ad \left( X_i\at{n}\right)\left( X_j\at{m}\right) &= \sum_{k=0}^n (-1)^k X_i\at{n-k}X_j\at{m}X_i\at{k}=0, & n &>-ma_{ij}, \\ \label{eq:rels dist-alg-10} \ad \left( Y_i\at{n}\right)\left( Y_j\at{m}\right) &= \sum_{k=0}^n (-1)^k Y_i\at{n-k}Y_j\at{m}Y_i\at{k}=0, & n &>-ma_{ij}. \end{aligned}\] for \(1\le i\neq j \le \theta\), where we consider the following elements of \(\Di{G}[[t]]\): \[\begin{aligned}
H_i(t) &= \sum_{n=0}^\infty t^n H_i\at{n}, & X_i(t) &= \sum_{n=0}^\infty t^n X_i\at{n}, & Y_i(t) &= \sum_{n=0}^\infty t^n Y_i\at{n}. \end{aligned}\] From [\[eq:rels dist-alg-2\]](#eq:rels dist-alg-2){reference-type="eqref" reference="eq:rels dist-alg-2"} we have \(H_i\at{m}H_j\at{n} = H_j\at{n}H_i\at{m}\) for \(i\neq j\), and from [\[eq:rels dist-alg-1\]](#eq:rels dist-alg-1){reference-type="eqref" reference="eq:rels dist-alg-1"}, \[\begin{aligned}
\label{eq:reln Hn Hm} H_i\at{m}H_i\at{n} &= \sum\limits_{\ell=0}^{\min\{m,n\} } \binom{m+n-\ell}{m}\binom{m}{\ell} H_i\at{m+n-\ell}. \end{aligned}\] From [\[eq:rels dist-alg-3\]](#eq:rels dist-alg-3){reference-type="eqref" reference="eq:rels dist-alg-3"} and [\[eq:rels dist-alg-4\]](#eq:rels dist-alg-4){reference-type="eqref" reference="eq:rels dist-alg-4"}, \[\begin{aligned}
\label{eq:reln Xn Xm} X_i\at{m}X_i\at{n} &= \binom{m+n}{m} X_i\at{m+n}, & Y_i\at{m}Y_i\at{n} &= \binom{m+n}{m} Y_i\at{m+n}. \end{aligned}\] From these formulas, the \(H_i\at{n}\)'s generate a copy of \(\Di{G_m}\), while the \(X_i\at{n}\)'s, respectively the \(Y_i\at{n}\)'s, generate a copy of \(\Di{G_a}\), see Examples [\[ex:additive-group\]](#ex:additive-group){reference-type="ref" reference="ex:additive-group"} and [\[ex:multiplicative-group\]](#ex:multiplicative-group){reference-type="ref" reference="ex:multiplicative-group"}. From [\[eq:rels dist-alg-6\]](#eq:rels dist-alg-6){reference-type="eqref" reference="eq:rels dist-alg-6"} we have \(X_i\at{m}Y_j\at{n} = Y_j\at{n}X_i\at{m}\) for \(i\neq j\), and from [\[eq:rels dist-alg-5\]](#eq:rels dist-alg-5){reference-type="eqref" reference="eq:rels dist-alg-5"}, \[\begin{aligned}
\sum_{n,m} t^n u^m X_i\at{n}Y_i\at{m} &= \sum_{a,b,c} \frac{u^{a+b}t^{b+c}}{(1+tu)^{a+c}} Y_i\at{a}H_i\at{b}X_i\at{c} \\ &= \sum_{a,b,c,d} (-1)^d \binom{a+c+d}{d} u^{a+b+d}t^{b+c+d} Y_i\at{a}H_i\at{b}X_i\at{c}. \end{aligned}\] Thus, \[\begin{aligned}
\label{eq:reln Xn Ym} X_i\at{n}Y_i\at{m} = \sum_{\ell=0}^{\min\{m,n\} } \sum_{k=0}^\ell (-1)^{\ell-k} \binom{m+n-\ell-k}{\ell-k} Y_i\at{m-\ell}H_i\at{k}X_i\at{n-\ell}. \end{aligned}\] A particular case of this formula is the following \[\begin{aligned}
\label{eq:reln Xn Ym, case} [X_i\at{p^n},Y_i\at{p^m}] &= \sum_{\ell=1}^{\min \{p^m, p^n\}} Y_i\at{p^m-\ell} \left( \sum_{k=0}^\ell \binom{\ell+k}{\ell-k} H_i\at{k} \right) X_i\at{p^n-\ell}. \end{aligned}\] From [\[eq:rels dist-alg-7\]](#eq:rels dist-alg-7){reference-type="eqref" reference="eq:rels dist-alg-7"} and [\[eq:rels dist-alg-8\]](#eq:rels dist-alg-8){reference-type="eqref" reference="eq:rels dist-alg-8"} we have \[\begin{aligned}
\label{eq:reln Hn Xm} [H_i\at{p^m}, X_j\at{p^n}] & = \delta_{n,m} a_{ij} X_i\at{p^n}, & [H_i\at{p^m}, Y_j\at{p^n}] & = -\delta_{n,m} a_{ij} Y_i\at{p^n}. \end{aligned}\]
## Hopf algebra extensions from \(\Di{G}\)
Let \(\cD_n G:=\Dis{p^n}G\). As a consequence of these formulas we have the following result.
\(\cD_{n+1}{G}\) is generated as an algebra by \(X_i\at{p^k}\), \(Y_i\at{p^k}\), \(H_i\at{p^k}\), \(0\le k\le n\), so it is enough to prove that \(\cD_{n}{G}\) is stable by the adjoint action of \(X_i\at{p^n}\), \(Y_i\at{p^n}\), \(H_i\at{p^n}\) since the remaining generators belong to \(\cD_{n}{G}\), and \(\cD_{n}{G}\) is a Hopf subalgebra. As \(X_i\at{p^n}\) is primitive, \(\Ad X_i\at{p^n} = \ad X_i\at{p^n}\). If \(m<n\), then \(\ad (X_i\at{p^n})Y_i\at{p^m}\), \(\ad (X_i\at{p^n})H_i\at{p^m}\in \cD_{n}{G}\), and \(\ad (X_i\at{p^n})X_i\at{p^m}=0\). Let \(j\neq i\). Note that \(\ad (X_i\at{p^n})X_j\at{p^m}=\ad (X_i\at{p^n})Y_j\at{p^m}=0\) since they commute, and from [\[eq:reln Hn Xm\]](#eq:reln Hn Xm){reference-type="eqref" reference="eq:reln Hn Xm"}, \(\ad (X_i\at{p^n})H_j\at{p^m}=0\). Therefore \(\ad (X_i\at{p^n})\cD_{n}{G}\subset \cD_{n}{G}\) Analogous computations show that \(\ad (Y_i\at{p^n})\cD_{n}{G}\), \(\ad (H_i\at{p^n})\cD_{n}{G}\subset \cD_{n}{G}\). Now define \(\pi_k:\cD_{k+1}{G}\to \cD_{1}{G}=\Ur(\g)\) as follows \[\begin{aligned}
\label{eq:defn pi n} \pi_k(X_i\at{n}) &= \begin{cases} X_i\at{n'}, & \mbox{if }n=p^k n', \\ 0, & \mbox{otherwise}, \end{cases} & \pi_k(H_i\at{n}) &= \begin{cases} H_i\at{n'}, & \mbox{if }n=p^k n', \\ 0, & \mbox{otherwise}. \end{cases} \\ \notag \pi_k(Y_i\at{n}) &= \begin{cases} Y_i\at{n'}, & \mbox{if }n=p^k n', \\ 0, & \mbox{otherwise}. \end{cases} \end{aligned}\]
First we have to check that \(\pi_k\) is well defined; i.-e. that the map defined from the free algebra on generators \(X_i\at{n}\), \(Y_i\at{n}\) and \(H_i\at{n}\) annihilates the defining relations. We check easily that for all \(i\neq j\), and \(m,n\in \N_0\), \[\begin{aligned}
\pi_k(H_i\at{m}H_j\at{n}-H_j\at{n}H_i\at{m})&=\pi_k(X_i\at{m}Y_j\at{n}-Y_j\at{n}X_i\at{m})=0. \end{aligned}\] For [\[eq:reln Hn Hm\]](#eq:reln Hn Hm){reference-type="eqref" reference="eq:reln Hn Hm"}, \(\pi_k\) annihilates both sides of the equation if \(p^k\) does not divides \(m\) since either \(\pi_k(H_i\at{m+n-\ell})=0\) or else \(\binom{m+n-\ell}{m}=0\). Now set \(m=p^k m'\), \(n=p^k n'\) \[\begin{aligned}
H_i\at{m}H_i\at{n} &= \sum\limits_{\ell=0}^{\min\{m,n\} } \binom{m+n-\ell}{m}\binom{m}{\ell} H_i\at{m+n-\ell} \\ &= \sum\limits_{\ell'=0}^{\min\{m',n'\} } \binom{p^k(m'+n'-\ell')}{p^km'}\binom{p^k m'}{p^k\ell'} H_i\at{p^k(m'+n'-\ell')} \\ &= \sum\limits_{\ell'=0}^{\min\{m',n'\} } \binom{m'+n'-\ell'}{m'}\binom{m'}{\ell'} H_i\at{p^k(m'+n'-\ell')}, \end{aligned}\] since \(\binom{m}{\ell}=0\) when \(p^k\) does not divide \(\ell\), so \(\pi_k\) applies [\[eq:reln Hn Hm\]](#eq:reln Hn Hm){reference-type="eqref" reference="eq:reln Hn Hm"} to 0. For [\[eq:reln Xn Xm\]](#eq:reln Xn Xm){reference-type="eqref" reference="eq:reln Xn Xm"}, if \(p^k\) does not divide \(m+n\), then both sides of the equality are annihilated by \(\pi_k\). If \(p^k\) divides \(m+n\) but does not divide \(m\), then again \(\pi_k\) annihilates both sides of [\[eq:reln Xn Xm\]](#eq:reln Xn Xm){reference-type="eqref" reference="eq:reln Xn Xm"} since \(\binom{m+n}{m}\equiv 0 \, (\mod p)\). Finally, if \(p^k\) divides \(m\) and \(n\), then \(m=p^km'\), \(n=p^kn'\) and \[\begin{aligned}
\pi_k\Big( X_i\at{m}X_i\at{n} &-\binom{m+n}{m}X_i\at{m+n} \Big)= X_i\at{m'}X_i\at{n'}-\binom{p^k(m'+n')}{p^km'}X_i\at{m'+n'} \\ &= X_i\at{m'}X_i\at{n'}-\binom{m'+n'}{m'}X_i\at{m'+n'}=0. \end{aligned}\] The proof for the \(Y_i\at{m}\)'s is analogous. Notice that \(\pi_k(X_i\at{m}Y_j\at{n}-Y_j\at{n}X_i\at{m})=0\) if \(i\neq j\). For [\[eq:reln Xn Ym\]](#eq:reln Xn Ym){reference-type="eqref" reference="eq:reln Xn Ym"}, it is enough to verify that [\[eq:reln Xn Ym, case\]](#eq:reln Xn Ym, case){reference-type="eqref" reference="eq:reln Xn Ym, case"} is annihilated since \(X_i\at{M}\), \(Y_i\at{N}\) can be written as products of \(X_i\at{p^m}\), \(Y_j\at{p^n}\). If either \(m<k\) or else \(n<k\), then \(\pi_k\) annihilates both sides of the equality. Let \(m=n=k\). Then \[\begin{aligned}
\pi_k\Big( [X_i\at{p^k},Y_i\at{p^k}] &-\sum_{\ell=1}^{p^k} Y_i\at{p^k-\ell} \left( \sum_{t=0}^\ell \binom{\ell+t}{\ell-t} H_i\at{t} \right) X_i\at{p^k-\ell}\Big) \\ &= [X_i,Y_i]-H_i=0. \end{aligned}\] Now \(\pi_k\) annihilates both equations of [\[eq:reln Hn Xm\]](#eq:reln Hn Xm){reference-type="eqref" reference="eq:reln Hn Xm"} by direct computation. For [\[eq:rels dist-alg-9\]](#eq:rels dist-alg-9){reference-type="eqref" reference="eq:rels dist-alg-9"}, \(\pi_k\) annihilates the left hand side if \(p^k\) does not divide either \(m\) or else \(n\). If \(m=p^km'\), \(n=p^kn'\) with \(n>-ma_{ij}\), then \(n'>-m'a_{ij}\) and \[\begin{aligned}
\pi_k \left( \ad \left( X_i\at{n}\right)\left( X_j\at{m}\right)\right) = \ad \left( X_i\at{n'}\right)\left( X_j\at{m'}\right)=0. \end{aligned}\] Finally [\[eq:rels dist-alg-10\]](#eq:rels dist-alg-10){reference-type="eqref" reference="eq:rels dist-alg-10"} follows analogously. Hence \(\pi_k\) is an algebra map. To see that \(\pi_k\) is a Hopf algebra map, it remains to prove that \(\pi_k\) is a coalgebra map. But it follows since the elements \(X_i\at{p^j}\), \(Y_i\at{p^j}\), \(H_i\at{p^j}\), \(0\le j\le k\), which are primitive elements and generate \(\cD_{k+1}{G}\) as an algebra, are applied to primitive elements of \(\cD_{1}{G}\). The map \(\pi_k\) fits in an exact sequence of Hopf algebras.
By Lemmas [\[lemma:normal Hopf subalg\]](#lemma:normal Hopf subalg){reference-type="eqref" reference="lemma:normal Hopf subalg"} and [\[lemma:surj Hopf alg map\]](#lemma:surj Hopf alg map){reference-type="eqref" reference="lemma:surj Hopf alg map"}, it remains to prove that
- \(\ker \pi_k= \cD_{k+1}{G}(\cD_{k}{G})^+\), and
- \(\cD_{k}{G}=\cD_{k+1}{G}^{\co \pi_k}=\{x\in\cD_{k+1}{G}: (\id\otimes\pi_k)\Delta(x)=x\otimes 1 \}\).
Note that \(\cD_{k+1}{G}(\cD_{k}{G})^+ \subseteq \ker\pi_k\) since \((\cD_{k}{G})^+\) is spanned by \(X_i\at{k}\), \(Y_i\at{k}\), \(H_i\at{k}\), \(1\le k\le p^{n-1}\); the equality follows because both subspaces have the same dimension, \(\dim\cD_{k+1}{G}-\dim\cD_{k}{G}\). Now \(\cD_{k+1}{G}^{\co \pi_k} \supseteq \cD_{k}{G}\), and the equality follows by.
## Steinberg decomposition for simple modules
The purpose of this section is to introduce the Steinberg's tensor product Theorem. We will prove an analogous result for our quantum version of algebra of distributions of \(SL_2\). In order to state this result, we fix some notation. Let \(T\leq G\) be a maximal split torus and \(X = X(T)\) be the group of characters of \(T\). \(R\) is the associated root system, \(S\) is a fixed basis of \(R\) and \(R^+\) is the set of positive roots corresponding to \(S\). For each \(\alpha\in R\), let \(\alpha^{\vee}\) be the associated coroot, and \(\langle\beta,\alpha^{\vee}\rangle\) denotes the natural pairing, with the normalization \(\langle \alpha, \alpha^{\vee} \rangle = 2\) for all \(\alpha\in S\). We consider the following subsets of \(X\): \[\begin{aligned}
X_+ &= \{\lambda\in X\mid \langle \lambda,\alpha^{\vee} \rangle \geq 0, \ \forall \alpha\in R^+\}, \mbox{ the set of dominant weights,} \\ X_r &= \{\lambda\in X_+\mid \langle\lambda,\alpha^{\vee}\rangle < p^r, \ \forall \alpha\in S\}, \text{ the set of \(r\)-restricted weights}, \ r\geq 1. \end{aligned}\] Recall that the assignment \(\lambda\mapsto L(\lambda)\) establishes a bijection between \(X^+\) and the simple \(G\)-modules up to isomorphism. Let \(B\leq G\) be the Borel subgroup containing \(T\) corresponding to \(R^-=-R^+\). Given \(\lambda\in X_+\) and \(M\) a (rational) \(G\)-module, we set
- \(M_{\lambda} = \{m\in M\mid t.m = \lambda(t)m\mbox{ for all }t\in T\}\) is the \(\lambda\)-weight space;
- \(\nabla(\lambda) = \ind_B^G(\lambda)\), the costandard module of highest weight \(\lambda\);
- \(L(\lambda) = \soc_G\nabla(\lambda)\), the simple module with highest weight \(\lambda\).
Let \(\cF: G\to G\) be the Frobenius morphism: it arises from the map \(\Bbbk\to \Bbbk\), \(x\mapsto x^p\). Then \(M^{[r]}\) is the \(G\)-module over the underlying additive group \(M\) with \(G\)-action obtained up to compose the original \(G\)-action with \(\cF^r\).
# Some cleft extensions of \(\u_\lambda(\Sl_2)\)
We introduce the algebras \(\Dl{N}{\Sl_2}\), \(N\in\N_0\), and prove some properties about their algebra structure which mimic §[2](#section:dist alg){reference-type="ref" reference="section:dist alg"}.
## \(q\)-numbers
We use the following \(q\)-numbers as in , \[\begin{aligned}
\label{eq:def qbinomial} [m]_\lambda&:= \frac{\lambda^m-\lambda^{-m}}{\lambda-\lambda^{-1}}, & \fac{m} &= (m)_\lambda (m-1)_\lambda \dots (1)_\lambda, \\ \bic{m}{n} &:= \prod_{j=1}^n \frac{\lambda^{m-j+1}-\lambda^{-m+j-1}}{\lambda^j-\lambda^{-j}}, & 0 & \leq n <\ell. \end{aligned}\] Let \(\lambda\) a primitive root of unity of order \(\ell\); we assume that \(\ell>1\) is odd. Now we need \(q\)-*binomial numbers* associated to the \(\ell\)-expansion. Set \[\begin{aligned}
\label{eq:def gen qbinomial} \bil{m}{n} &:= \prod_{i\geq 0} \bic{m_i}{n_i}, & m &=\sum_{i\geq0}m_i \ell^i, \, n=\sum_{i\geq0}n_i \ell^i, \, 0\leq m_i,n_i<\ell. \end{aligned}\]
For [\[eq:prop qbil-1\]](#eq:prop qbil-1){reference-type="eqref" reference="eq:prop qbil-1"}, if \(m_i+n_i<\ell\) for all \(i\), then \((m+n)_i=m_i+n_i\) and \[\bil{m+n}{m} = \prod_{i\geq 0} \bic{m_i+n_i}{n_i} = \bil{m+n}{n}.\] Otherwise there exists \(i\geq 0\) such that \(m_i+n_i\geq\ell\), we assume \(i\) is minimal with this property. Thus \((m+n)_i=m_i+n_i-\ell< m_i,n_i\), and both sides are 0. For [\[eq:prop qbil-2\]](#eq:prop qbil-2){reference-type="eqref" reference="eq:prop qbil-2"}, if \(m_i+n_i+p_i<\ell\) for all \(i\), then \((m+n+p)_i=m_i+n_i+p_i\) and \[\bil{m+n}{n}\bil{m+n+p}{p} = \prod_{i\geq 0} \frac{\fac{m_i+n_i+p_i}}{\fac{m_i}\fac{n_i}\fac{p_i}} = \bil{n+p}{n}\bil{m+n+p}{m}.\] Otherwise there exists \(i\geq 0\) such that \(m_i+n_i+p_i\geq\ell\), we assume \(i\) is minimal with this property.
- If \(m_i+n_i, n_i+p_i\geq \ell\), then \(\bil{m+n}{n}=\bil{n+p}{n}=0\) since \((m+n)_i=m_i+n_i-\ell<n_i\), \((n+p)_i=n_i+p_i-\ell<n_i\).
- If \(m_i+n_i\geq \ell>n_i+p_i\), then \(\bil{m+n}{n}=\bil{m+n+p}{m}=0\) since \((m+n)_i=m_i+n_i-\ell<n_i\), \((n+p)_i=n_i+p_i\), \((m+n+p)_i=m_i+n_i+p_i-\ell<m_i\).
- Finally, if \(m_i+n_i, n_i+p_i<\ell\), then \(\bil{m+n+p}{p}=\bil{m+n+p}{m}=0\).
In all the cases, both sides of [\[eq:prop qbil-2\]](#eq:prop qbil-2){reference-type="eqref" reference="eq:prop qbil-2"} are 0.
## The Hopf algebra \(\u_\lambda(\Sl_2)\)
Throughout this work \(\u_\lambda(\Sl_2)\) denotes the algebra presented by generators \(E\), \(K\), \(F\), and relations \[\begin{aligned}
\label{eq:defn-rels-uqsl2-1} & K^\ell=1, & & KF=\lambda^{-2} \, FK, & & \\ \label{eq:defn-rels-uqsl2-2} &E^\ell=F^\ell=0, & & KE=\lambda^2 \, EK, & & EF-FE = \frac{K-K^{-1}}{\lambda-\lambda^{-1}}. \end{aligned}\] It is slightly different from the small quantum group appearing in. Then \(\u_\lambda(\Sl_2)\) is a Hopf algebra with coproduct: \[\begin{aligned}
\Delta(K) &= K\ot K, & \Delta(E)&=E\ot 1+K\ot E, & \Delta(F)=F\ot K^{-1} + 1\ot F. \end{aligned}\] Let \(\u_\lambda^+(\Sl_2)\), respectively \(\u_\lambda^0(\Sl_2)\), \(\u_\lambda^-(\Sl_2)\), be the subalgebra spanned by \(E\), respectively \(K\), \(F\). Then \(\u_\lambda^0(\Sl_2) \simeq \Bbbk \Z/\ell\Z\) while \(\u_\lambda^{\pm}(\Sl_2)\) are isomorphic to \(\Bbbk[x]/<x^\ell>\). The multiplication induces a linear isomorphism \[\u_\lambda^-(\Sl_2) \otimes \u_\lambda^0(\Sl_2) \otimes \u_\lambda^+(\Sl_2) \simeq \u_\lambda(\Sl_2).\] Thus \(\{F^a K^b E^c | 0\le a,b,c<\ell \}\) is a basis of \(\u_\lambda(\Sl_2)\) and \(\dim \u_\lambda(\Sl_2)=\ell^3\). To simplify the notation in forthcoming computations, let \[\begin{aligned}
E\at{a} &= \frac{E^a}{\fac{a}}, & F\at{a}&= \frac{F^a}{\fac{a}}, & \bic{K;s}{a}&= \prod_{j=1}^a \frac{\lambda^{s-j+1}K-\lambda^{-s+j-1}K^{-1} }{\lambda^j-\lambda^{-j}}. \end{aligned}\] By direct computation, \[\begin{aligned}
\label{eq:conmut-En-Fn} E\at{m}F\at{n} &= \sum_{i=0}^{\min\{ m,n\} } F\at{n-i} \bic{K;2i-m-n}{i} E\at{m-i}, & 0\le & m,n <\ell. \end{aligned}\] Let \(\u_\lambda^{\ge 0}(\Sl_2)\) be the subalgebra spanned by \(E\) and \(K\). For each \(0\le z<\ell\) the 1-dimensional representation \(\Bbbk_z\) of \(\u_\lambda^0(\Sl_2) \simeq \Bbbk \Z/\ell\Z\) given by \(K\mapsto \lambda^z\) can be extended to \(\u_\lambda^{\ge 0}(\Sl_2)\) by \(E\mapsto 0\). Let \(\cM(z)= \u_\lambda(\Sl_2)\otimes_{\u_\lambda^{\ge 0}(\Sl_2)} \Bbbk_z\): it is a \(\u_\lambda(\Sl_2)\)-module with basis \(v_j:= F\at{j}\otimes 1\), \(0\le j<\ell\), such that for all \(0\le m,n<\ell\) \[\begin{aligned}
\label{eq:verma-uqsl2-Fm-vn} F\at{m} \cdot v_n &= \bic{m+n}{m} v_{m+n}, & K\cdot v_n &=\lambda^{z-2n} v_n, \\ \label{eq:verma-uqsl2-Em-vn} E\at{m} \cdot v_n &= \bic{z+m-n}{m} v_{n-m}. \end{aligned}\] Here \(v_n=0\) if either \(n<0\) or \(n\ge \ell\). Each module \(\cM(z)\) has a maximal proper submodule \(\cN(z)\). The quotient \(\cL(z)=\cM(z)/\cN(z)\) is simple, and has dimension \(z+1\): indeed \((v_i)_{0\le i\le z}\) is a basis of \(\cL(z)\). Moreover, the family \(\{\cL(z)\}_{0\le z<\ell}\) is a set of representatives of the classes of simple modules up to isomorphism.
## The cleft extensions \(\Dl{N}{\Sl_2}\)
We mimic the definition by generators and relations of the algebra of distributions, but in a *quantized* context.
Straightforward. Let \(\Dp{N}{\Sl_2}\), resp. \(\Dm{N}{\Sl_2}\), \(\Dz{N}{\Sl_2}\), be the subalgebras generated by \(E\atb{i}\), resp. \(F\atb{i}\), \(K\atb{i}\), \(0\le i\le N\). Let \(\Dge{N}{\Sl_2}\), resp. \(\Dle{N}{\Sl_2}\), be the subalgebras generated by \(E\atb{i}\) and \(K\atb{i}\), resp. \(F\atb{i}\) and \(K\atb{i}\).
We simply check that \(E\atb{i}, F\atb{i}, K\atb{i}\in\End M(z)\), \(0\le i\le N\), satisfy relations [\[eq:rel D-comm K\]](#eq:rel D-comm K){reference-type="eqref" reference="eq:rel D-comm K"}--[\[eq:rel D-bracket E,F\]](#eq:rel D-bracket E,F){reference-type="eqref" reference="eq:rel D-bracket E,F"}. First equation of [\[eq:rel D-comm K\]](#eq:rel D-comm K){reference-type="eqref" reference="eq:rel D-comm K"} holds since \(K\atb{i} K\atb{j}\cdot v_t=\lambda^{z_i+z_j-2t_i-2t_j} v_t\), while the second follows since \(\lambda^\ell=1\). For the first relation in [\[eq:rel D-act K over E,F\]](#eq:rel D-act K over E,F){reference-type="eqref" reference="eq:rel D-act K over E,F"}, both sides annihilate \(v_t\) if \(t_j=0\); for \(t_j\neq 0\), \((t-\ell^j)_i=t_i-\delta_{ij}\), so \[\begin{aligned}
K\atb{i} E\atb{j}\cdot v_t &= \bra{z_j+1-t_j} \lambda^{z_i-2(t-\ell^j)_i} v_{t-\ell^j}= \lambda^{2\delta_{ij}} E\atb{j}K\atb{i} \cdot v_t. \end{aligned}\] For the second relation, both sides annihilate \(v_t\) if \(t_j=\ell-1\); for \(t_j<\ell-1\), \[\begin{aligned}
K\atb{i} F\atb{j}\cdot v_t &= \bra{t_j+1} \lambda^{z_i-2(t+\ell^j)_i} v_{t+\ell^j}= \lambda^{-2\delta_{ij}} F\atb{j}K\atb{i} \cdot v_t, \end{aligned}\] since \((t+\ell^j)_i=t_i+\delta_{ij}\). For the first equation in [\[eq:rel D-comm E-comm F\]](#eq:rel D-comm E-comm F){reference-type="eqref" reference="eq:rel D-comm E-comm F"}, if \(t_it_j\neq 0\), \(i\neq j\), then \[\begin{aligned}
E\atb{i} E\atb{j}\cdot v_t &= \bra{z_j-t_j+1} \bra{z_i-(t-\ell^j)_i+1} v_{t-\ell^i-\ell^j} \\ & = \bra{z_j-t_j+1} \bra{z_i-t_i+1} v_{t-\ell^i-\ell^j} = E\atb{j} E\atb{i} \cdot v_t, \end{aligned}\] while for \(t_it_j=0\), both sides are \(0\). The second equation follows similarly. For the first part of [\[eq:rel D-powers E,F\]](#eq:rel D-powers E,F){reference-type="eqref" reference="eq:rel D-powers E,F"}, \((E\atb{i})^{t_i+1}\cdot v_t=(F\atb{i})^{\ell-t_i}\cdot v_t=0\), so \((E\atb{i})^{\ell}\), \((F\atb{i})^{\ell}\) are 0 as operators on \(M(z)\). For the second equality, fix \(i\neq j\). If \(t_i=0\), then either \((t+\ell^j)_i=t_i\) or else \(t_j=\ell-1\); in any case, \(E\atb{i}F\atb{j}\cdot v_t=0=F\atb{j}E\atb{i}\cdot v_t\). If \(t_j=\ell-1\), then again both sides are \(0\). Finally set \(t_i\neq 0\), \(t_j\neq \ell-1\). Hence, \[\begin{aligned}
E\atb{i}F\atb{j}\cdot v_t &= \bra{t_j+1} \bra{z_i-(t+\ell^j)_i+1} v_{t-\ell^i+\ell^j} \\ & = \bra{(t-\ell^i)_j+1} \bra{z_i-t_i+1} v_{t-\ell^i+\ell^j} = F\atb{j}E\atb{i} \cdot v_t, \end{aligned}\] It remains to consider [\[eq:rel D-bracket E,F\]](#eq:rel D-bracket E,F){reference-type="eqref" reference="eq:rel D-bracket E,F"}, which can be written as \[\label{eq:rel D-bracket E,F-v2} E\atb{j}F\atb{j}-F\atb{j}E\atb{j}-\frac{K\atb{j}-K\atb{-j}}{\lambda-\lambda^{-1}} = \sum_{s=1}^{\ell^j-1} F\at{\ell^j-s} \bik{K;2s}{s} E\at{\ell^j-s}.\] If \(1\le s\le \ell^j-1\), then there exists \(i<j\) such that \(s_i\neq 0\). If \(t_i\geq \ell-s_i\), then \[\begin{aligned}
\bic{K\atb{i};2s_i}{s_i} (E\atb{i})^{\ell-s_i}\cdot v_t &= \prod_{k=1}^{\ell-s_i} \bra{z_i-t_i+k} \prod_{k=1}^{s_i} \bra{z_i-t_i+k} v_{t-(\ell-s_i)\ell^i}=0. \end{aligned}\] If \(t_i<\ell-s_i\), then \((E\atb{i})^{\ell-s_i}\cdot v_t=0\). In any case, \(\bik{K;2s}{s} E\at{\ell^j-s} \cdot v_t=0\), so the right-hand side of [\[eq:rel D-bracket E,F-v2\]](#eq:rel D-bracket E,F-v2){reference-type="eqref" reference="eq:rel D-bracket E,F-v2"} acts by 0 on each \(v_t\). For the left-hand side, \[\begin{gathered}
\left( E\atb{j}F\atb{j}-F\atb{j}E\atb{j}-\frac{K\atb{j}-K\atb{-j}}{\lambda-\lambda^{-1}}\right) \cdot v_t \\ = \left( \bra{t_j+1}\bra{z_j-t_j}-\bra{z_j-t_j+1}\bra{t_j}-\bra{z_j-2t_j} \right) v_t=0, \end{gathered}\] when \(t_j\neq 0,\ell-1\). If \(t_j=0\), then \[\begin{gathered}
\left( E\atb{j}F\atb{j}-F\atb{j}E\atb{j}-\frac{K\atb{j}-K\atb{-j}}{\lambda-\lambda^{-1}}\right) \cdot v_t = E\atb{j}\cdot v_{t+\ell^j}-0-\bra{z_j} v_t=0, \end{gathered}\] and finally if \(t_j=\ell-1\), then \[\begin{aligned}
\left( E\atb{j}F\atb{j}-F\atb{j}E\atb{j}-\frac{K\atb{j}-K\atb{-j}}{\lambda-\lambda^{-1}}\right) \cdot v_t =-\bra{z_j+2}\left( F\atb{j}\cdot v_{t-\ell^j}+ v_t\right)=0. \end{aligned}\] In any case, the left-hand side of [\[eq:rel D-bracket E,F-v2\]](#eq:rel D-bracket E,F-v2){reference-type="eqref" reference="eq:rel D-bracket E,F-v2"} also acts by 0 on each \(v_t\).
Let \(\F\) be the free algebra generated by \(E\atb{i}\), \(F\atb{i}\), \(K\atb{i}\), and \(\widetilde\rho_N:\F\to \u_\lambda(\Sl_2)\otimes \Dl{N}{\Sl_2}\) the map defined on the generators as \(\rho_N\). We check that \(\widetilde\rho_N\) annihilates each defining relation of \(\Dl{N}{\Sl_2}\) so it induces the algebra map \(\rho_N\). For each relation \(\mathtt{r}\) involving only generators \(E\atb{i}\), \(F\atb{i}\), \(K\atb{i}\), \(0\le i< N\) we have that \(\widetilde\rho_N(\mathtt{r})=1\otimes \mathtt{r}=0\), so we consider those relations involving at least one of the generators \(E\atb{N}\), \(F\atb{N}\), \(K\atb{N}\). For [\[eq:rel D-comm K\]](#eq:rel D-comm K){reference-type="eqref" reference="eq:rel D-comm K"}, \(\widetilde\rho_N \left( (K\atb{N}) ^{\ell} \right)= K^{\ell}\otimes (K\atb{N})^{\ell} = 1 \otimes 1\) and for \(i<N\), \[\widetilde\rho_N \left( K\atb{i} K\atb{N}-K\atb{N}K\atb{i} \right)= K\otimes \left( K\atb{i} K\atb{N}-K\atb{N}K\atb{i} \right)=0.\] For [\[eq:rel D-act K over E,F\]](#eq:rel D-act K over E,F){reference-type="eqref" reference="eq:rel D-act K over E,F"} and [\[eq:rel D-comm E-comm F\]](#eq:rel D-comm E-comm F){reference-type="eqref" reference="eq:rel D-comm E-comm F"}, if \(i<N\), then \[\begin{aligned}
\widetilde\rho_N (K\atb{i} E\atb{N} &-E\atb{N}K\atb{i})= K\otimes (K\atb{i} E\atb{N}-E\atb{N}K\atb{i})=0, \\ \widetilde\rho_N (K\atb{N} E\atb{i} &-E\atb{i}K\atb{N})= K\otimes (K\atb{N} E\atb{i}-E\atb{i}K\atb{N})=0, \\ \widetilde\rho_N (K\atb{N} E\atb{N} &-\lambda^2 E\atb{N}K\atb{N})= (KE-\lambda^2 EK)\otimes K\atb{N} \\ & \qquad + K^2\otimes (K\atb{N} E\atb{N}-\lambda^2 E\atb{N}K\atb{N})=0, \\ \widetilde\rho_N(E\atb{i} E\atb{N} &-E\atb{N}E\atb{i})= K\otimes (E\atb{i} E\atb{N}-E\atb{N}E\atb{i})=0. \end{aligned}\] The formulas with \(F\) in place of \(E\) follow analogously. For [\[eq:rel D-powers E,F\]](#eq:rel D-powers E,F){reference-type="eqref" reference="eq:rel D-powers E,F"}, \[\begin{aligned}
\widetilde\rho_N \left( (E\atb{N})^{\ell}\right) &= \sum_{j=0}^\ell \bil{\ell}{j} E^{\ell-j} K^j\otimes (E\atb{N})^{j}=0, \end{aligned}\] and analogously \(\widetilde\rho_N \left( (F\atb{N})^{\ell}\right) =0\). Finally, for [\[eq:rel D-bracket E,F\]](#eq:rel D-bracket E,F){reference-type="eqref" reference="eq:rel D-bracket E,F"} set \(\mathtt{r}_{N}\) as the difference between the two sides of this equation, see also [\[eq:rel D-bracket E,F-v2\]](#eq:rel D-bracket E,F-v2){reference-type="eqref" reference="eq:rel D-bracket E,F-v2"}. By direct computation, \[\begin{aligned}
\widetilde\rho_N ( \mathtt{r}_{N} ) & = K \otimes \mathtt{r}_{N}+ \Big(EF-FE-\frac{K-K^{-1}}{\lambda-\lambda^{-1}} \Big) \otimes K\atb{-N} =0. \end{aligned}\] Then \(\rho_N\) is a well defined algebra map, and gives a left \(\u_\lambda(\Sl_2)\)-coaction.
Let \(\gamma:\u_\lambda(\Sl_2)\to \Dl{N}{\Sl_2}\) be the linear map such that \[\begin{aligned}
\label{eq:section} \gamma(F\at{a} K^b E\at{c})&=\frac{(F\atb{N})^a}{\fac{a}} (K\atb{N})^b \frac{(E\atb{N})^c}{\fac{c}}, & 0\le & a,b,c<\ell. \end{aligned}\] By direct computation, \[\begin{aligned}
(\id\otimes\gamma)\circ \Delta(F\at{a} K^b E\at{c}) &= \sum_{i,j} F\at{a-i} K^{b+i+j} E\at{c-j}\otimes \frac{(F\atb{N})^i}{\fac{i}} (K\atb{N})^b \frac{(E\atb{N})^j}{\fac{j}} \\ &= \rho\circ\gamma (F^a K^b E^c), \end{aligned}\] so \(\gamma\) is map of \(\u_\lambda(\Sl_2)\)-comodules. We claim that \(\gamma\) is convolution invertible. By , it is enough to restrict \(\gamma\) to the coradical of \(\u_\lambda(\Sl_2)\), that is, to \(\u^0_\lambda(\Sl_2)\). Now \(\kappa:\u^0_\lambda(\Sl_2)\to \Dl{N}{\Sl_2}\), \(\kappa(K^b)= (K\atb{N})^{-b}\), \(0\le b<\ell\) is the inverse of \(\gamma_{|\u^0_\lambda(\Sl_2)}\) and the claim follows. Let \(B_N:=\{ F\at{m} K\at{n} E\at{p} | 0\le m,n,p < \ell^{N+1} \}\). We claim that \(\Dl{N}{\Sl_2}\) is spanned by \(B_N\)[^1]. Let \(I\) be the subspace spanned by \(B_N\). Note that \(I\) is a left ideal, since it is stable by left multiplication by \(F\atb{n}\), \(K\atb{n}\) and \(E\atb{n}\) by [\[eq:rel D-comm K\]](#eq:rel D-comm K){reference-type="eqref" reference="eq:rel D-comm K"}-[\[eq:rel D-bracket E,F\]](#eq:rel D-bracket E,F){reference-type="eqref" reference="eq:rel D-bracket E,F"}. Thus \(I=\Dl{N}{\Sl_2}\) since \(1\in I\), so \(\Dl{N}{\Sl_2}\) is spanned by \(B_N\). As \[F\at{m} K\at{n} E\at{p}=F\at{m'} K\at{n'} E\at{p'} \frac{(F\atb{N})^{m_N}}{\fac{m_N}} (K\atb{N})^{n_N} \frac{(E\atb{p_N})^c}{\fac{p_N}},\] where \(0\le m'=m-m_N\ell^N, n'=n-n_N\ell^N, p'=p-p_N\ell^N <\ell^N\), and \(F\at{m'} K\at{n'} E\at{p'}\in \iota_N(\Dl{N-1}{\Sl_2})\), we have that \[\dim \Dl{N}{\Sl_2}\le \dim \iota_N(\Dl{N-1}{\Sl_2}) \ell^3.\] As we have a cleft extension, \(\Dl{N}{\Sl_2}\simeq ^{\co\rho_N} \Dl{N}{\Sl_2}\otimes \u_\lambda(\Sl_2)\); using this fact and that \(\iota_N(\Dl{N-1}{\Sl_2}) \subset ^{\co\rho_N} \Dl{N}{\Sl_2}\) since \(\iota_N\) sends each generator of \(\Dl{N-1}{\Sl_2}\) to a coinvariant element, we have that \[\dim \Dl{N}{\Sl_2} = \dim ^{\co\rho_N} \Dl{N}{\Sl_2}\ell^3 \ge \dim \iota_N(\Dl{N-1}{\Sl_2}) \ell^3.\] Hence \(\dim ^{\co\rho_N} \Dl{N}{\Sl_2} = \dim \iota_N(\Dl{N-1}{\Sl_2})\), which means that these two subalgebras of \(\Dl{N}{\Sl_2}\) coincide.
The algebra \(\left(\u_\lambda(\Sl_2)\right)^{N+1}\) is generated by \(\Et_i\), \(\Ft_i\), \(\Kt_i\), \(0\le i\le N\), where each 3-uple \(\Et_i\), \(\Ft_i\), \(\Kt_i\) satisfy [\[eq:defn-rels-uqsl2-1\]](#eq:defn-rels-uqsl2-1){reference-type="eqref" reference="eq:defn-rels-uqsl2-1"}, [\[eq:defn-rels-uqsl2-2\]](#eq:defn-rels-uqsl2-2){reference-type="eqref" reference="eq:defn-rels-uqsl2-2"}, and generators with different subindex commute. There are algebra maps \(\Phi^{\ddagger}:\left(\u_\lambda^{\ddagger}(\Sl_2)\right)^{N+1}\to \mathcal{D}_{\lambda,N}^{\ddagger}(\Sl_2)\), \(\ddagger\in\{\pm,0,\ge 0,\le 0\}\), where \(\Et_i\mapsto E\atb{i}\), \(\Ft_i\mapsto F\atb{i}\), \(\Kt_i\mapsto K\atb{i}\), depending on each case. For \(0\le z<\ell^{N+1}\), let \(\Psi_z:\Dl{N}{\Sl_2}\to\End M(z)\) be the algebra map of Lemma [\[lemma:Verma-modules\]](#lemma:Verma-modules){reference-type="ref" reference="lemma:Verma-modules"}. Notice that \(\Psi_z\Phi^-\) is injective, and then \(\Phi^-\) is so; thus \(\Dm{N}{\Sl_2} \simeq \left(\u_\lambda^{-}(\Sl_2)\right)^{N+1}\). The map \(\Phi^{0}:\Bbbk(\Z_\ell)^{N+1} \to \Dz{N}{\Sl_2}\), \(\alpha_i\mapsto K_i\) is surjective. The action of \(\Bbbk(\Z_\ell)^{N+1}\) over \(v_0\) is given by character \(K_i\mapsto \lambda^{z_i}\). Thus \(\Bbbk(\Z_\ell)^{N+1} \simeq \Dz{N}{\Sl_2}\). From here we derive that \(\Phi^{\le 0}\) is also an isomorphism. The remaining isomorphisms in [\[item:pos-neg-zero-parts\]](#item:pos-neg-zero-parts){reference-type="ref" reference="item:pos-neg-zero-parts"} follow by using the antiautomorphism \(\phi\). For [\[item:PBW-basis\]](#item:PBW-basis){reference-type="ref" reference="item:PBW-basis"}, we have to prove that \(B_N\) is linearly independent since we have proved that \(\Dl{N}{\Sl_2}\) is spanned by \(B_N\) in the proof of Proposition [\[prop:cleft-ext\]](#prop:cleft-ext){reference-type="ref" reference="prop:cleft-ext"}. We invoke Diamond Lemma. Indeed, the lexicographical order for words written with letters \(\{F\atb{i}, K\atb{i},E\atb{i}\}_{0\le i\le N}\) such that \[F\atb{0}< \dots< F\atb{N} < K\atb{0}< \dots< K\atb{N} <E\atb{0}< \dots< E\atb{N}\] is *compatible* (in the notation of loc. cit.) with the reduction system. Each element of \(B_N\) is *irreducible*, so \(B_N\) is contained in a basis of \(\Dl{N}{\Sl_2}\). Thus \(B_N\) is a linearly independent set. Finally [\[item:triang-decomp\]](#item:triang-decomp){reference-type="ref" reference="item:triang-decomp"} follows [\[item:pos-neg-zero-parts\]](#item:pos-neg-zero-parts){reference-type="ref" reference="item:pos-neg-zero-parts"} and [\[item:PBW-basis\]](#item:PBW-basis){reference-type="ref" reference="item:PBW-basis"}.
# Finite-dimensional irreducible \(\Dl{N}{\Sl_2}\)-modules
Next we study simple modules for the algebras \(\Dl{N}{\Sl_2}\). We prove that they are highest weight modules as we can expect, and obtain a decomposition related with the inclusion \(\iota_{N-1,N}:\Dl{N-1}{\Sl_2}\to \Dl{N}{\Sl_2}\) and the *Frobenius map* \(\pi_{N}:\Dl{N}{\Sl_2}\to \u_\lambda(\Sl_2)\). The tensor product decomposition can be seen as an analogous of Steinberg decomposition, c.f. Theorem [\[thm:Steinberg\]](#thm:Steinberg){reference-type="ref" reference="thm:Steinberg"}.
## Highest weight modules
Now we mimic what is done for simple modules of quantum groups, e. g.. For the sake of completeness we include the proofs. Let \(V\) be a finite dimensional \(\Dl{N}{\Sl_2}\)-module. As \(\Dz{N}{\Sl_2}\) is the group algebra of \(\Z_\ell^{N+1}\), \(V\) decomposes as the direct sum of eigenspaces: each \(K\atb{i}\) acts by a scalar \(\lambda^{p_i}\), \(0\le p_i<\ell\). Hence we may encode the data saying that \(V=\oplus_{0\le p<\ell^{N+1}} V_p\), where \[\begin{aligned}
\label{eq:defn-weight-sp} V_p&:= \{ v\in V | K\atb{i}\cdot v=\lambda^{p_i} v \mbox{ for all } 0\le i\le N \}, & p&=\sum_{i=0}^{N}p_i\ell^i. \end{aligned}\]
Given \(0\leq p<\ell^{N+1}\), let \(\Bbbk_p\) be the 1-dimensional representation of \(\Dge{N}{\Sl_2}\simeq \left(\u_\lambda^{\ge 0}(\Sl_2)\right)^{N+1}\) such that \(K\atb{i}\cdot 1 =\lambda^{p_i}\) and \(E\atb{i}\cdot 1=0\). Let \[\begin{aligned}
\verma{N}{p} &=\Ind{\Dge{N}{\Sl_2}}{\Dl{N}{\Sl_2}} \Bbbk_p \simeq \Dl{N}{\Sl_2}\otimes_{\Dge{N}{\Sl_2}} \Bbbk_p. \end{aligned}\] Notice that \(v_0:= 1\otimes 1\in \verma{N}{p}\) is a primitive vector, and moreover \(\verma{N}{p}\) is a highest weight module with highest weight \(p\).
[\[item:trivial-action-E\]](#item:trivial-action-E){reference-type="ref" reference="item:trivial-action-E"} Let \(v\in\irr{N}{p}-0\) be such that \(E\atb{i}v=0\) for all \(0\le i\le N\). We may assume that \(v\) has weight \(t\) for some \(0\le t<\ell^{N+1}\), since \(E\atb{i}\) applies each eigenspace of the \(\Dz{N}{\Sl_2}\) to another. Thus \(v=a\, v_n\) for some \(a\in\Bbbk^\times\) and some \(0\le n<\ell^{N+1}\), since each 1-dimensional summand in the decomposition \(\verma{N}{p}=\oplus_{0\le n<\ell^{N+1}} \Bbbk v_n\) corresponds to a different eigenspace for the action of \(\Dz{N}{\Sl_2}\simeq \Bbbk (\Z_\ell)^{N+1}\). As \(\irr{N}{p}\) is simple, \(\irr{N}{p}=\Dl{N}{\Sl_2}v\), but \[\begin{aligned}
\Dl{N}{\Sl_2} v = \Dle{N}{\Sl_2} v = \Dle{N}{\Sl_2} v_n \subseteq \oplus_{n\le m<\ell^{N+1}} \Bbbk v_m. \end{aligned}\] Hence \(n=p\) and the claim follows. [\[item:classif-simple-modules\]](#item:classif-simple-modules){reference-type="ref" reference="item:classif-simple-modules"} Let \(\cL\) be a simple \(\Dl{N}{\Sl_2}\)-module. As a \(\Dz{N}{\Sl_2}\)-module, \(\cL=\oplus \cL_t\). We pick \(v\in\cL_t-0\). We may assume that \(E\atb{i}v=0\) for all \(0\le i\le N\). Indeed, if \(E\atb{j}v=0\) for \(j=0,\dots, i-1\) but \(E\atb{i}v\neq 0\), let \(n\geq 0\) be such that \(w:=(E\atb{i})^n v\neq 0\), \((E\atb{i})^{n+1}v=0\). Then \(n<\ell\) since \((E\atb{i})^\ell=0\), and \(w\) satisfies \(E\atb{j}w=0\) for \(j=0,\dots, i\) since \(E\atb{j}E\atb{i}=E\atb{i}E\atb{j}\). Now there exists a \(\Dge{N}{\Sl_2}\)-linear map \(\widetilde{\phi}:\Bbbk_t\to\cL\), \(1\mapsto v\), which induces a \(\Dl{N}{\Sl_2}\)-linear map \(\phi:\verma{N}{t}\to\cL\) such that \(1\mapsto v\). As \(\cL\) is simple, \(\Dl{N}{\Sl_2}v=\cL\), so \(\phi\) is surjective. Hence \(\ker \phi\neq 0\) is a proper submodule of \(\verma{N}{t}\) and \(\cL\simeq \verma{N}{t}/\ker\phi\) is simple. Thus \(\cL\simeq \irr{N}{t}\). By [\[item:trivial-action-E\]](#item:trivial-action-E){reference-type="ref" reference="item:trivial-action-E"}, \(\irr{N}{p}\not\simeq\irr{N}{t}\) if \(p\neq t\), and the claim follows.
## A tensor product decomposition
[\[item:restriction-simple-pN=0\]](#item:restriction-simple-pN=0){reference-type="ref" reference="item:restriction-simple-pN=0"} By the first equation of [\[eq:Verma-modules-action-1\]](#eq:Verma-modules-action-1){reference-type="eqref" reference="eq:Verma-modules-action-1"}, \(E\atb{i}v_{\ell^N}=0\) for all \(0\le i\le N\), so \(\Dl{N}{\Sl_2}v_{\ell^N}=\Dle{N}{\Sl_2}v_{\ell^N}=\oplus_{n\ge \ell^N}\Bbbk v_n\) is a proper submodule of \(\verma{N}{p}\). Hence \(v_n=0\) in \(\irr{N}{p}\) for all \(n\ge\ell^N\), and \(\irr{N}{p}\) is spanned by (the image of) \((v_m)_{0\le m<\ell^N}\). Thus [\[eq:extension-N-1-to-N\]](#eq:extension-N-1-to-N){reference-type="eqref" reference="eq:extension-N-1-to-N"} follows by this fact and [\[eq:Verma-modules-action-1\]](#eq:Verma-modules-action-1){reference-type="eqref" reference="eq:Verma-modules-action-1"}-[\[eq:Verma-modules-action-2\]](#eq:Verma-modules-action-2){reference-type="eqref" reference="eq:Verma-modules-action-2"}. By [\[eq:extension-N-1-to-N\]](#eq:extension-N-1-to-N){reference-type="eqref" reference="eq:extension-N-1-to-N"}, \(W\subset \irr{N}{p}\) is a \(\Dl{N-1}{\Sl_2}\)-submodule if and only if \(W\) is a \(\Dl{N}{\Sl_2}\)-submodule. Hence \(\irr{N}{p}\) is simple as \(\Dl{N-1}{\Sl_2}\)-module and the last statement follows. [\[item:extension-simple-pN=0\]](#item:extension-simple-pN=0){reference-type="ref" reference="item:extension-simple-pN=0"} We have to check all the defining relations [\[eq:rel D-comm K\]](#eq:rel D-comm K){reference-type="eqref" reference="eq:rel D-comm K"}-[\[eq:rel D-bracket E,F\]](#eq:rel D-bracket E,F){reference-type="eqref" reference="eq:rel D-bracket E,F"} of \(\Dl{N}{\Sl_2}\). Those not involving \(E\atb{N}\), \(F\atb{N}\), \(K\atb{N}\) follow since \(\irr{N-1}{p}\) is a \(\Dl{N-1}{\Sl_2}\)-module, and relations \(E\atb{N}\), \(F\atb{N}\), \(K\atb{N}\) follow easily except [\[eq:rel D-bracket E,F\]](#eq:rel D-bracket E,F){reference-type="eqref" reference="eq:rel D-bracket E,F"} for \(j=N\). It is equivalent to [\[eq:rel D-bracket E,F-v2\]](#eq:rel D-bracket E,F-v2){reference-type="eqref" reference="eq:rel D-bracket E,F-v2"}, whose left-hand side acts by \(0\) on each \(v_t\). For the right-hand side, if \(1\le s\le \ell^N-1\), then there exists \(i<N\) such that \(s_i\neq 0\), and as in the proof of Lemma [\[lemma:Verma-modules\]](#lemma:Verma-modules){reference-type="ref" reference="lemma:Verma-modules"}, \(\bik{K;2s}{s} E\at{\ell^j-s} \cdot v_t=0\), so the right-hand side of [\[eq:rel D-bracket E,F-v2\]](#eq:rel D-bracket E,F-v2){reference-type="eqref" reference="eq:rel D-bracket E,F-v2"} acts by 0 on each \(v_t\). Now \(\irr{N-1}{p}\) is a highest weight module as \(\Dl{N}{\Sl_2}\)-module, with highest weight \(p\), and simple at the same time, so \(\irr{N-1}{p} \simeq \irr{N}{p}\) as \(\Dl{N}{\Sl_2}\)-modules.
As \(\pi_N\) is surjective, \(W\) is a \(\Dl{N}{\Sl_2}\)-submodule of \(\cL(p_N)\) if and only if \(W\) is a \(\u_\lambda(\Sl_2)\)-submodule. Thus \(\cL(p_N)\) is a simple \(\Dl{N}{\Sl_2}\)-module. Now \[\begin{aligned}
E\atb{i}v_0&=0, & K\atb{i}v_0&=\lambda^{p_N\delta_{iN}}v_0, & \mbox{for all }& 0\leq i\le N. \end{aligned}\] Hence \(v_0\in\cL(p_N)-0\) is a highest weight vector of weight \(p=p_N\ell^N\) and the Lemma follows by Proposition [\[prop:simple-modules\]](#prop:simple-modules){reference-type="ref" reference="prop:simple-modules"}
Finally we use Remark [\[rem:Dl-ul-tensor-modules\]](#rem:Dl-ul-tensor-modules){reference-type="ref" reference="rem:Dl-ul-tensor-modules"} to describe a *tensor product decomposition* of simple \(\Dl{N}{\Sl_2}\)-modules.
Let \(v_0'\), \(v_0''\) be highest weight vectors of \(\cL(p_N)\), \(\irr{N}{\widehat{p}}\), respectively. We denote \(L=\cL(p_N)\otimes \irr{N}{\widehat{p}}\). As \(\cL(p_N)\) is generated by \(\{v_t'|0\le t<\ell\}\) as in [\[eq:verma-uqsl2-Fm-vn\]](#eq:verma-uqsl2-Fm-vn){reference-type="eqref" reference="eq:verma-uqsl2-Fm-vn"}, and \(\irr{N}{\widehat{p}}\) is generated by \(\{v_t''=F\atb{t}v_0''|0\le t<\ell^N\}\), see Proposition [\[prop:simple-module-trivial\]](#prop:simple-module-trivial){reference-type="ref" reference="prop:simple-module-trivial"}, \(L\) is generated by \(\{v_t=v_{t_N}'\otimes v_{\widehat{t}}'' | 0\le t=\widehat{t}+t_N\ell^N <\ell^{N+1}\}\). Given \(F\at{m} K\at{n} E\at{p}\in B_N\), \(0\le m,n,p < \ell^{N+1}\), we may write \[\begin{aligned}
F\at{m} K\at{n} E\at{p}&=F\at{m_N\ell^N} K\at{n_N\ell^N} E\at{p_N\ell^N}F\at{m'} K\at{n'} E\at{p'}, & 0\le &m',n',p'<\ell^N. \end{aligned}\] Here, \(F\at{m'} K\at{n'} E\at{p'}\in \Dl{N-1}{\Sl_2}= ^{\co\rho_N} \Dl{N}{\Sl_2}\), cf. Proposition [\[prop:cleft-ext\]](#prop:cleft-ext){reference-type="ref" reference="prop:cleft-ext"}. Thus \[\begin{aligned}
F\at{m} K\at{n} E\at{p}(y\otimes z) & = F\at{m_N}K\at{n_N}E\at{p_N}y \otimes F\at{m'} K\at{n'} E\at{p'} z, \end{aligned}\] for all \(y\in \cL(p_N)\), \(z\in\irr{N}{\widehat{p}}\), where we use [\[eq:extension-N-1-to-N\]](#eq:extension-N-1-to-N){reference-type="eqref" reference="eq:extension-N-1-to-N"}. From here, \(v_0=v_{0}'\otimes v_{0}''\) is a primitive vector, and \(L\) is a highest weight module of highest weight \(p\). Thus it suffices to prove that \(L\) is simple. Let \(W\) be a submodule of \(L\). In particular, \(W\) is a \(\Dz{N}{\Sl_2}\)-submodule, so it decomposes as a direct sum of eigenspaces; each \(v_t\), \(0\le t<\ell^{N+1}\), spans the eigenspace of weight \(t\), so we may assume that \(v_t\in W\) for some \(t\). Let \(t\) be minimal. Hence \[\begin{aligned}
0&=E\atb{N}v_t=E \, v_{t_N}'\otimes v_{\widehat{t}}'', & 0&=E\atb{j}v_t=v_{t_N}'\otimes E\atb{j}v_{\widehat{t}}'', \, 0\le j<N, \end{aligned}\] so \(E \, v_{t_N}'=0=E\atb{j}v_{\widehat{t}}''\), \(0\le j<N\). From here, \(t_N=\widehat{t}=0\), and then \(W=L\). | {'timestamp': '2017-05-29T02:07:26', 'yymm': '1607', 'arxiv_id': '1607.04869', 'language': 'en', 'url': 'https://arxiv.org/abs/1607.04869'} |
null | null |
# Background
This section will very briefly review definitions from Baker and Bowler's paper (), but only as a reminder to the reader who has already read the more complete treatment there.
## Tracts and hyperfields
We often refer to the set \(F=G\cup\{0\}\) as the tract, and for \(g\in G\) we often denote \(\eta g\) as \(-g\). If \(a_1, \ldots, a_k\in F\) then \(a_1\boxplus\cdots \boxplus a_k\) (or \(\bighplus_{j=1}^k a_j\)) denotes \(\{b\in F:-b+\sum\limits_{j=1}^k a_j\in N_G\}\). The canonical example of a tract is when \(F\) is a field, \(G=F-\{0\}\), and \(N_G\) is the set of all formal sums of elements of \(F\) which add to 0 in \(F\). In this case the set \(\bighplus_{j=1}^k a_j\) has exactly one element, the actual sum of the \(a_j\). A particularly interesting class of tracts arise from *hyperfields*, which we now define.
As in , all hyperoperations in this paper will be commutative and associative, with identity \(0\). Thus for any finite \(S\subseteq R\) the sum \({\bighplus_{s\in S} s}\) is well-defined, with \({\bighplus_{s\in \emptyset} s}\) defined to be \(\{0\}\). Note that the \(\boxplus\) defined for a tract is not necessarily a hyperoperation, since for elements \(a,b\) in a tract, \(a\boxplus b\) might be the empty set.
If \(F\) is a hyperfield then let \(G=F-\{0\}\) and let \(N_G=\{\sum\limits_{j=1}^k a_j: 0\in\bighplus_{j=1}^k a_j\}\). Then \(G\) and \(N_G\) define a tract whose associated operation \(\boxplus\) coincides with the hyperaddition in \(F\). If \(F\) is a tract and \(X,Y\in F^E\) then we define \[X\boxplus Y:=\{Z: \forall e\ Z(e)\in X(e)\boxplus Y(e)\}.\] \(F\) acts on \(F^E\) by componentwise multiplication. (If \(F\) is a hyperfield then \(F^E\) is an \(F\)-module in the sense of .)
We'll also use \(f\) to denote the extension \((F=G\cup\{0\})\to (F'=G'\cup\{0\})\) sending 0 to 0, and we'll use \(f\) to denote the componentwise map \(F^E\to (F')^E\). If \(F\) and \(F'\) are hyperfields then a homomorphism of the corresponding tracts amounts to a function \(f: F\to F'\) such that \(f(xy)=f(x)f(y)\) and \(f(x\boxplus y)\subseteq f(x)\boxplus f(y)\) for all \(x\) and \(y\).
We will always view a tract as being equipped with \(c\). When no \(c\) is specified, we will take \(c=\mathrm{id}\).
## Matroids over tracts
The following is part of Theorem 2.24 in .
A **strong \(F\)-matroid** is the information encoded in a set \(\mathcal{C}\) satisfying Definition [\[strongcircaxs\]](#strongcircaxs){reference-type="ref" reference="strongcircaxs"}. Thus a strong \(F\)-matroid \(\mathcal{M}\) has an associated pair \((\mathcal{C}(\mathcal{M}),\mathcal{C}^*(\mathcal{M}))\). \(\mathcal{C}(M)\) is the set of **\(F\)-circuits of \(\mathcal{M}\)**, and \(\mathcal{C}^*(\mathcal{M})\) is the set of **\(F\)-cocircuits of \(\mathcal{M}\)**. The strong \(F\)-matroid with \(F\)-circuit set \(\mathcal{C}^*(\mathcal{M})\) and \(F\)-cocircuit set \(\mathcal{C}(\mathcal{M})\) is called the **dual** to \(\mathcal{M}\) and is denoted \(\mathcal{M}^*\).
# Main Theorem: \(F\)-vectors
This section introduces our new axiomatization of strong \(F\)-matroids. The idea is to generalize the following vision of subspaces of a vector space: let \(K\) be a field and \(V\) the row space of a matrix \(M\) over \(K\) with columns indexed by \(E\). A subset \(B\) of \(E\) is a basis of the \(K\)-matroid corresponding to \(V\) if and only if the set of columns indexed by \(B\) is a basis for the column space. In this case \(M\) is equivalent by row operations to a matrix \(M_B\) such that the submatrix of \(M_B\) with columns indexed by \(B\) is an identity matrix. We call \(M_B\) a *reduced row-echelon form for \(M\) with respect to \(B\)*. A necessary condition for an element \(X\) of \(K^E\) to be in \(V\) is that \(X\) must be a linear combination of the rows of \(M_B\). (Of course, because \(K\) is a field this is also a sufficient condition, but for general tracts, and even hyperfields, this will take more thought.) Let \(\{R_j:j\in B\}\) denote the set of rows of \(M_B\), where \(R_j\) is the unique element of \(V\) such that for all \(k\in B\), \(R_j(k)=\delta_{jk}\). (Here \(\delta_{jk}\) denotes the Kronecker delta.) The above condition for \(X\) to be in \(V\) can be rephrased as \[\label{eqn:rref} X=\sum_{j\in B} X(j)R_j\] Our generalization of rows in reduced-row-echelon-form matrices is \(F\)-cocircuits, and our definition of \(F\)-covectors is vectors satisfying Equation ([\[eqn:rref\]](#eqn:rref){reference-type="ref" reference="eqn:rref"}) (with hypersum \(\boxplus\) in place of sum) with respect to every basis. In order to get a stand-alone definition of \(F\)-vectors and \(F\)-covectors, we first need to define bases without reference to circuits or cocircuits.
In other words, a reduced row-echelon form is a nearly reduced row-echelon form \(\{S_j:j\in B\}\) such that \(S_j(j)=1\) for every \(j\). A reduced row-echelon form with respect to \(B=\{b_1, \ldots, b_r\}\) is a subset \(\{R_{b_j}:j\in[r]\}\) of \(\mathcal{W}\) such that, if \((b_1, \ldots, b_r)\) is extended to an ordering \((b_1, \ldots, b_n)\) of \(E\), then \(\{R_{b_j}:j\in[r]\}\) of \(\mathcal{W}\) is the set of rows of a matrix with columns indexed by \(E\) of the form \((I|A)\).
The proof is straightforward.
This follows from the following lemma, which introduces the idea of **fundamental \(F\)-circuit \(FC(e,B)\)** and **fundamental \(F\)-cocircuit \(FC^*(e,B)\)**. The reduced row-echelon form promised by Lemma [\[lem:circrref\]](#lem:circrref){reference-type="ref" reference="lem:circrref"} is \(\{FC^*(j,B):j\in B\}\).
The following is clear but is important enough to be a lemma:
We now arrive at the axiomatization of \(F\)-vectors of \(F\)-matroids.
We make this the definition for the sake of brevity, but it is easy to verify the following equivalent characterization:
For any subset \(\mathcal S\) of \(F^E\) for which reduced-row-echelon forms are unique, we will use \(\{R_j:j\in B\}\) to denote the reduced row-echelon form for \(\mathcal S\) with respect to a basis \(B\).
We now begin to relate Definition [\[def:vectorax\]](#def:vectorax){reference-type="ref" reference="def:vectorax"} to \(F\)-matroids.
The following is obvious, but useful enough to state as a lemma.
In particular (see Lemma [\[lem:fundcirc\]](#lem:fundcirc){reference-type="ref" reference="lem:fundcirc"}), for an \(F\)-matroid \(\mathcal{M}\), to show that an \(X\in F^E\) is in \(\mathcal{C}(\mathcal{M})^\perp\), it is enough to show that \(X\perp FC(e,B)\) for every \(B\) and \(e\).
The characterization of strong \(F\)-matroids by \(F\)-covectors solidifies the assertion from the introduction that "the concept of matroids over a tract generalizes the concept of linear subspaces of a vector space\". Previously this assertion rested on Grassmann-Plücker functions (), but the discussion at the beginning of this section justifies the following.
Thus when \(K\) is a field the Grassmann-Plücker function \(\varphi_\mathcal{M}\) of a \(K\)-matroid \(\mathcal{M}\) can be viewed as an element of \(\mathbb P(\bigwedge^r K^{E\choose r})\) of the form \([v_1\wedge\cdots\wedge v_r]\), where \(\{v_1, \ldots, v_r\}\) is a basis for the vector space \(\mathcal{V}^*(\mathcal{M})\). The algebraic structure of the exterior algebra \(\bigwedge^r K^{E\choose r}\) gives a lovely relationship between \(\varphi_\mathcal{M}\) and the vector space \(\mathcal{V}^*(\mathcal{M})\): \[X\in\mathcal{V}^*(\mathcal{M})\Leftrightarrow X\wedge \varphi_\mathcal{M}=0.\] This begs for generalization to other tracts, and such a generalization has been accomplished for tracts arising from an idempotent semifield by Jeffrey and Noah Giansiracusa . The tracts \(\mathbb K\) and \(\mathbb T\triangle\) are examples. Their paper is not written in the language of matroids over tracts, but the characterization of \(F\)-matroids via Grassmann-Plücker functions in allows one to characterize Proposition 4.2.1 in as: for a tract \(F\) arising from an idempotent semifield and a rank \(r\) \(F\)-matroid \(\mathcal{M}\), there is an associated graded "tropical Grassmann algebra\" \(\bigwedge\mathcal{M}\) such that \(\varphi_\mathcal{M}\in\mathbb P(\bigwedge^r\mathcal{M})\) and, for all \(X\in F^E\), \[X\in\mathcal{C}(\mathcal{M})^\perp\Leftrightarrow X\wedge\varphi_\mathcal{M}=0.\]
# Proof of Theorem [\[thm:cryptom\]](#thm:cryptom){reference-type="ref" reference="thm:cryptom"}
We begin by proving that if \(\mathcal{W}\) is an \(F\)-vector set then \(\mathrm{Minsupp}(\mathcal{W}-\{\mathbf 0\})\) satisfies the \(F\)-circuit axioms.
We now complete the proof of Theorem [\[thm:cryptom\]](#thm:cryptom){reference-type="ref" reference="thm:cryptom"}.
# Basic properties
## Duality {#sec:duality}
Our results so far show that \(\mathcal{V}^*(\mathcal{M})=\mathcal{C}(\mathcal{M})^\perp\supseteq\mathcal{V}(\mathcal{M})^\perp\). If \(F\) is a field then the inclusion \(\mathcal{V}^*(\mathcal{M})\supseteq\mathcal{V}(\mathcal{M})^\perp\) is an equality: this is just ordinary orthogonality of vector spaces. This is also the case if \(F=\mathbb S\) (the oriented matroid case)--see Example [\[ex:OMcomp\]](#ex:OMcomp){reference-type="ref" reference="ex:OMcomp"}. *However, in general \(\mathcal{V}(\mathcal{M})^\perp\) might be a proper subset of \(\mathcal{V}(\mathcal{M})^*\).* This will be shown by an example with \(F=\mathbb P\) in Section [5.4.4](#sec:dualitycounterex){reference-type="ref" reference="sec:dualitycounterex"}.
In Baker and Bowler give various conditions which guarantee that a tract is perfect.
## Deletion and contraction {#sec:delcontr}
Deletion and contraction of \(F\)-matroids are defined in a way consistent with matroid and oriented matroid definitions:
It turns out that the covector interpretations of deletion and contraction are more problematic. In contrast to the situation with matroids and oriented matroids, *it is not always true that \(\mathcal{V}^*(\mathcal{M}\backslash e)=\{X\backslash e: X\in\mathcal{V}^*(\mathcal{M})\}\), nor that \(\mathcal{V}^*(M/e)=\{X\backslash e: X\in\mathcal{V}^*(\mathcal{M}), X(e)=0\}\).* This is illustrated by examples in Sections [5.4.5](#sec:nodel){reference-type="ref" reference="sec:nodel"} and [5.4.6](#sec:nocontr){reference-type="ref" reference="sec:nocontr"}. The best we can say is the following two propositions.
It would be interesting to find direct characterizations of \(\mathcal{V}^*(\mathcal{M}\backslash e)\) and \(\mathcal{V}^*(\mathcal{M}/e)\) in terms of \(\mathcal{V}^*(\mathcal{M})\) for arbitrary matroids over tracts, and to characterize the tracts \(F\) such that, for all \(F\)-matroids \(\mathcal{M}\) and elements \(e\) of \(\mathcal{M}\), \(\mathcal{V}^*(\mathcal{M}\backslash e)=\{X\backslash e: X\in\mathcal{V}^*(\mathcal{M})\}\) and \(\mathcal{V}^*(M/e)=\{X\backslash e: X\in\mathcal{V}^*(\mathcal{M}), X(e)=0\}\).
## Morphisms of tracts {#sec:morph}
In general, equality will not hold. For instance, consider the inclusion \(\eta:\mathbb R\to\mathbb C\) and an \(\mathbb R\)-matroid \(\mathcal{M}\) with \(\mathcal{V}(\mathcal{M})\) a two-dimensional subspace of \(\mathbb R^n\) spanned by \(\{v,w\}\). Then \(\{\alpha\eta(X): X\in\mathcal{V}(\mathcal{M}), \alpha\in \mathbb C-\{0\}\}\) has topological dimension 3 in \(\mathbb C^n\), but \(\mathcal{V}(\eta_*(\mathcal{M}))\) is the complexification of \(\mathcal{V}(\mathcal{M})\), hence is a rank 2 linear subspace of \(\mathbb C^n\), hence has topological dimension 4. A bit more surprisingly, equality need not hold even when the morphism of tracts is surjective:
## Loops and coloops
# Examples
## Rank 1 \(F\)-matroids
Rank 1 weak \(F\)-matroids are also strong \(F\)-matroids.
This follows immediately from the definitions of the various objects and the crytomorphisms in ().
## Matroids
Another explanation for this equality can be given by the Inflation Property (Section [7.2.1](#sec:absorp){reference-type="ref" reference="sec:absorp"}).
## Oriented matroids
## Phased matroids
Phased matroids (i.e., \(\mathbb P\)-matroids) seem to be where conjectures on this subject go to die. This section will give examples to show that various properties satisfied by \(F\)-covector sets when \(F\) is a field or \(F=\mathbb S\) fail to hold when \(F=\mathbb P\).
### Topological closure
Each of the tracts of Example [\[ex:tracts\]](#ex:tracts){reference-type="ref" reference="ex:tracts"} has a topology as subspaces of \(\mathbb R\) or \(\mathbb C\), and hence the \(F\)-covector sets of matroids over each of these \(F\) have topologies as subspaces of \(F^E\). In contrast to the situation in topological vector spaces, \(\mathcal{V}^*(\mathcal{M})=\mathcal{C}(\mathcal{M})^\perp\) does *not* imply that \(\mathcal{V}^*(\mathcal{M})\) is topologically closed. For instance, consider \(\mathbb P\) with topology as a subspace of \(\mathbb C\). If \(\mathcal{M}\) is the \(\mathbb C\)-matroid with \[\mathcal{V}^*(\mathcal{M})=\mathop{\rm Row}\left(\begin{array}{ccc} 1&0&i\\ 0&1&1 \end{array}\right)\] and \(\mathcal{M}'=\operatorname{ph}_*(\mathcal{M})\) then it is a straightforward exercise to check that \(\mathcal{V}^*(\mathcal{M}')=\{(\alpha, \beta, \gamma)\in\mathbb P^3:\gamma\in (i\cdot\alpha)\boxplus \beta\}\). Note that \(i\boxplus 1=\{\exp(i\theta):0<\theta<\pi/2\}\). Thus \((1,1,i)\) is in the topological closure of \(\mathcal{V}^*(\mathcal{M}')\) but is not in \(\mathcal{V}^*(\mathcal{M}')\).
### Linear independence counterexample {#sec:lincomb}
Let \(\mathcal{M}_1\) and \(\mathcal{M}_2\) be as in Example [\[ex:morph\]](#ex:morph){reference-type="ref" reference="ex:morph"}, and let \(\mathcal{M}=\operatorname{ph}_*(\mathcal{M}_1)=\operatorname{ph}_*(\mathcal{M}_2)\). This \(\mathcal{M}\) will shoot down the hope for a simpler characterization of \(F\)-vector sets expressed in Remark [\[rem:simpledef\]](#rem:simpledef){reference-type="ref" reference="rem:simpledef"}.
Linear independence behaves badly. Not all maximal linearly independent subsets of a \(\mathbb P\)-vector set need have the same size. In our example, \((2+i, 1+4i, 1,1)\in\mathcal{V}^*(\mathcal{M}_1)\) and \((2+i, 1+5i, 1,1)\in\mathcal{V}^*(\mathcal{M}_2)\), and so \(X_1:=\operatorname{ph}(2+i, 1+4i, 1,1)\) and \(X_2:=\operatorname{ph}(2+i, 1+5i, 1,1)\) are elements of \(\mathcal{V}^*(\mathcal{M})\). Each reduced row-echelon form for \(\mathcal{V}^*(\mathcal{M})\) is a maximal linearly independent set of size 2, but also \(\mathcal{V}^*(\mathcal{M})\) contains \(S:=\{X_1, X_2, \operatorname{ph}(1, 1+i, 1,0)\}\), which is linearly independent. Further, the element \(\operatorname{ph}(1+i, 3i,0,1)\) of \(\mathcal{V}^*(\mathcal{M})\) can be expressed as a linear combination of \(S\) both as \[\operatorname{ph}(1+i, 3i,0,1)\in (-1)X_1\boxplus 0X_2\boxplus \operatorname{ph}(1, 1+i, 1,0)\] and as \[\operatorname{ph}(1+i, 3i,0,1)\in 0X_1\boxplus (-1)X_2\boxplus \operatorname{ph}(1, 1+i, 1,0)\] thus killing the simpler characterization of \(F\)-vector sets hoped for in Remark [\[rem:simpledef\]](#rem:simpledef){reference-type="ref" reference="rem:simpledef"}.
### Phase diagrams
This section introduces a visualization tool that will be helpful in later counterexamples. We will depict \(X\in (S^1\cup\{0\})^n\) by labelled points on a picture of \(S^1\). (If \(X(f)=0\) then the label \(f\) is not used.) We call this the **phase diagram** for \(X\). Thus, for instance, the leftmost circle in Figure [\[fig:vperpex\]](#fig:vperpex){reference-type="ref" reference="fig:vperpex"} depicts \((1,0,\exp(i\pi/2),\exp(-i\pi/2))\). It is easy to see from the phase diagram, for instance, whether \(X\in \mathbb P^n\) or \(X\in{\mathbb T}\P^n\) is orthogonal to \((1,1,\ldots, 1)\):
1. In \(\mathbb P^n\), \(X\neq\mathbf 0\) is orthogonal to \((1,1,\ldots, 1)\) if and only either the phase diagram has only two points (possibly with multiple labels), which are antipodal to each other, or the points in the phase diagram for \(X\) do not all lie in a common closed half-circle.
2. In \({\mathbb T}\P^n\), \(X\neq\mathbf 0\) is orthogonal to \((1,1,\ldots, 1)\) if and only if the points in the phase diagram for \(X\) do not all lie in a common open half-circle.
### Duality counterexample {#sec:dualitycounterex}
Now we give the example promised in Section [4.1](#sec:duality){reference-type="ref" reference="sec:duality"}, showing that for some \(\mathbb P\)-matroids \(\mathcal{M}\), \(\mathcal{V}^*(\mathcal{M})\neq\mathcal{V}(\mathcal{M})^\perp\). Let \[V=\mathop{\rm Row}\left(\begin{array}{cccc} 1&0&1+i&1-i\\ 0&1&1-i&1+i \end{array}\right) =\mathop{\rm Row}\left(\begin{array}{cccc} 1-i&1+i&1&0\\ 1+i&1-i&0&1 \end{array}\right).\] Let \(\mathcal{M}_V\) denote the \(\mathbb C\)-matroid with \(\mathcal{V}^*(\mathcal{M}_V)=V\), and let \(\mathcal{M}:=\operatorname{ph}_*(\mathcal{M}_V)\). We can read off our four \(S^1\)-orbits of \(\mathbb P\)-cocircuits of \(\mathcal{M}\) from these four row vectors: one representative from each orbit is shown in Figure [\[fig:vperpex\]](#fig:vperpex){reference-type="ref" reference="fig:vperpex"}. From the figure it's clear that any element of \((S^1)^4\) sufficiently close to \((1,1,-1,-1)\) will be orthogonal to each of these \(\mathbb P\)-cocircuits, hence will be in \(\mathcal{V}(\mathcal{M})\). For a concrete example, \(X:=(1,1,\exp({i(\pi+.01)}),\exp({i(\pi+.01)}))\in\mathcal{V}(\mathcal{M})\). But also \((1,1,2,2)\in V=\mathcal{V}^*(\mathcal{M}_V)\), and so by Proposition [\[prop:pushforward\]](#prop:pushforward){reference-type="ref" reference="prop:pushforward"} \(\operatorname{ph}(1,1,2,2)=(1,1,1,1)\in\mathcal{V}^*(\mathcal{M})\). But \(X\not\perp (1,1,1,1)\).
### Deletion counterexample {#sec:nodel}
Here is the horrible example promised in Section [4.2](#sec:delcontr){reference-type="ref" reference="sec:delcontr"}, showing that \(\mathcal{V}^*(\mathcal{M}\backslash e)\) need not be \(\{X\backslash e: X\in\mathcal{V}^*(\mathcal{M})\}\).
### Contraction counterexample {#sec:nocontr}
This section gives an example of a rank 3 \(\mathbb P\)-matroid \(\mathcal{M}'\) on elements \([6]\) such that \(\mathcal{V}^*(\mathcal{M}'/6)\supsetneq \{X\backslash 6: X\in\mathcal{V}^*(\mathcal{M}'), X(6)=0\}\). Let \[W:=\mathop{\rm Row} \left(\begin{array}{cccccc} 3&0&0&1&1&-3\\ 0&3&0&1&1&3+3i\\ 0&0&3&1&1&3-3i \end{array}\right).\] Thus \[W^\perp:=\mathop{\rm Row} \left(\begin{array}{cccccc} 1&-1+i&-1-i&0&0&1\\ 1&1&1&0&-3&0\\ 1&1&1&-3&0&0 \end{array}\right).\] Let \(\mathcal{M}_W\) be the \(\mathbb C\)-matroid with \(\mathcal{V}^*(M_W)=W\), and thus \(\mathcal{C}(\mathcal{M}_W)=\mathrm{Minsupp}(W^\perp-\{\mathbf 0\})\). From the second matrix above we can find a representative from each \((\mathbb C-\{0\})\) orbit of \(\mathcal{C}(\mathcal{M}_W)\), as follows. \[\begin{array}{rccccccl} (&1,&-1+i,&-1-i,&0,&0,&1&)\\ (&2+i,&2i,&0,&-3-3i,&0,&1&)\\ (&2-i,&0,&-2i,&-3+3i,&0,&1&)\\ (&0,&2-i,&2+i,&-3,&0,&-1&)\\ (&2+i,&2i,&0,&0,&-3-3i,&1&)\\ (&2-i,&0,&-2i,&0,&-3+3i,&1&)\\ (&0,&2-i,&2+i,&0,&-3,&-1&)\\[12pt] (&1,&1,&1,&0,&-3,&0&)\\ (&1,&1,&1,&-3,&0,&0&)\\ (&0,&0,&0,&1,&-1,&0&)\\ \end{array}\] Let \(\mathcal{M}'=\operatorname{ph}(\mathcal{M}_W)\). Thus the phases of the elements of the above list give us a list of representatives for the \((\mathbb C-\{0\})\) orbits in \(\mathcal{C}(\mathcal{M}')\). Since \(\mathcal{C}(\mathcal{M}'/6)=\mathrm{Minsupp}\{X\backslash 6: X\in\mathcal{C}(\mathcal{M})\}\), the phases of the first seven elements of the above list, with their sixth components removed, gives us the elements of \(\mathcal{C}(\mathcal{M}'/6)\). By drawing phase diagrams we check that any element of \((S^1)^5\) sufficiently close to \((1,1,1,1,1)\) is orthogonal to each of these 7 elements of \(\mathcal{C}(\mathcal{M}'/6)\), hence is in \(\mathcal{V}^*(\mathcal{M}'/6)\). For instance, if \(\beta\in S^1\) is close to but not equal to 1, then \((1,1,1,1,\beta)\in\mathcal{V}^*(\mathcal{M}/6)\). But certainly \((1,1,1,1,\beta,0)\not\in\mathcal{V}^*(\mathcal{M}')\), since \((1,1,1,1,\beta,0)\) is not orthogonal to the element \((0,0,0,1,-1,0)\) of \(\mathcal{C}(\mathcal{M}')\).
# Sum properties {#sec:elim}
When \(K\) is a field and \(\mathcal{M}\) is a \(K\)-matroid, then \(\mathcal{V}^*(\mathcal{M})\) is a vector space, hence is closed under (hyper)addition. In contrast, even for an \(\mathbb S\)-matroid \(\mathcal{M}\), if \(X,Y\in\mathcal{V}^*(\mathcal{M})\) then \(X\boxplus Y\) is not necessarily a subset of \(\mathcal{V}^*(\mathcal{M})\). However, matroids over fields, \(\mathbb K\), and \(\mathbb S\) all satisfy the following weaker versions of additive closure.
It would be interesting to characterize the tracts whose matroids satisfy each of these properties. If \(F\) is a tract and \(x,y\in F\) with \(x\boxplus y=\emptyset\), then a rank 1 \(F\)-matroid with 1 element will not satisfy the Weak Closure Property. Examples of such tracts are given in .
Chris Eppolito has recently found an example of a matroid over a hyperfield violating the Elimination Property. As a small contribution to the study of \(X\boxplus Y\), we have the following.
This follows immediately from Lemma [\[lem:tropadd\]](#lem:tropadd){reference-type="ref" reference="lem:tropadd"}.
# Flats and Composition {#sec:flatcompos}
When we think of oriented matroids as matroids with extra structure, the signed covector set of an oriented matroid can be thought of as extra structure on the lattice of flats of the underlying matroid. That every flat underlies some signed covector follows from the Composition Axiom for oriented matroids. For general \(F\)-matroids, this falls apart: for instance, for an \(\mathbb F_2\)-matroid \(\mathcal{M}\), not every flat need arise as the underlying flat of an element of \(\mathcal{V}^*(\mathcal{M})\). Section [7.1](#sec:flats){reference-type="ref" reference="sec:flats"} will sketch the relationship between flats and \(F\)-covectors, and Section [7.2](#sec:compos){reference-type="ref" reference="sec:compos"} will propose a general notion of a "composition operation\", defined for a particular tract \(F\), so that existence of a composition operation implies the same relationship between flats and \(F\)-covector sets as we have in the case of oriented matroids. We will then explore composition operations on some particular tracts.
## Flats {#sec:flats}
As always, when we refer to matroid properties of an \(F\)-matroid we mean properties of the underlying matroid.
It would be interesting to characterize the tracts for which \(\{X^0:X\in\mathcal{V}^*(\mathcal{M})\}\) is not always the set of flats of an \(F\)-matroid \(\mathcal{M}\), and to better understand the extent to which these tracts "behave like finite fields\". This is one motivation for looking at *composition operations*, the subject of Section [7.2](#sec:compos){reference-type="ref" reference="sec:compos"}. Proposition [\[prop:compflat\]](#prop:compflat){reference-type="ref" reference="prop:compflat"} will prove that if a tract \(F\) admits a composition operation then \(\{X^0:X\in\mathcal{V}^*(\mathcal{M})\}\) is the set of flats of \(\mathcal{M}\) for every \(F\)-matroid \(\mathcal{M}\). We'll then find composition operations for all of the tracts introduced in Example [\[ex:tracts\]](#ex:tracts){reference-type="ref" reference="ex:tracts"} except \(\mathbb P\). We do not know a composition operation for \(\mathbb P\), and we do not know if every flat of a \(\mathbb P\)-matroid is the 0 set of a \(\mathbb P\)-covector.
## Composition operations {#sec:compos}
The usual axioms for signed vectors of oriented matroids includes a *Composition Property*, which says that if \(X,Y\in \mathcal{V}(\mathcal{M})\) then \(X\circ Y\in \mathbb S^E\) defined by \[X\circ Y(e)=\left\{\begin{array}{ll} X(e)&\mbox{ if \(X(e)\neq 0\)}\\ Y(e)&\mbox{ otherwise} \end{array}\right.\] is also in \(\mathcal{V}(\mathcal{M})\).
In other words, a composition operation associates to each \(X,Y\in F^E\) a nonempty subset of \((X^\perp\cap Y^\perp)^\perp\cap\{Z: \underline{Z}=\underline{X}\cup\underline{Y}\}\). When \(| X_1\circ_F X_2|=1\) for all \(X_1\) and \(X_2\), we will often treat \(\circ_F\) as a binary operation--as we already do for the usual composition for oriented matroids.
It would be interesting to characterize the tracts \(F\) with some notion of composition (possibly with the additional constraints of Remark [\[rem: compos\]](#rem: compos){reference-type="ref" reference="rem: compos"}) such that every \(F\)-vector of an \(F\)-matroid \(\mathcal{M}\) is contained in a composition of \(F\)-circuits of \(\mathcal{M}\). by Proposition [\[prop:compflat\]](#prop:compflat){reference-type="ref" reference="prop:compflat"}.2, such tracts are perfect.
### The Inflation Property {#sec:absorp}
### \(\mathbb T\)-composition
Throughout the remaining sections \(+\) and \(\sum\) denote ordinary addition in \(\mathbb R\).
The proof is easy. Now we can prove Proposition [\[prop:t-composition\]](#prop:t-composition){reference-type="ref" reference="prop:t-composition"}:
### \(\epsilon\)-composition
This section gives a \(\mathbb T\)-analog to the operation of Example [\[ex:realcomp\]](#ex:realcomp){reference-type="ref" reference="ex:realcomp"}.
Many thanks to Matt Baker, Emanuele Delucchi, and Thomas Zaslavsky for helpful discussions. Chris Eppolito contributed the idea of the Inflation Property. Thanks also to Ting Su for comments and corrections. | {'timestamp': '2018-01-08T02:16:37', 'yymm': '1607', 'arxiv_id': '1607.04868', 'language': 'en', 'url': 'https://arxiv.org/abs/1607.04868'} |
null | null |
null | null |
# INTRODUCTION {#sec:introduction}
Medical imaging provides a mechanism to study *in vivo* physiological properties of the human body, and thus plays an important role in the diagnosis, prognosis, and assessment of treatment response of different diseases. To facilitate decision-making in clinical practice, quantitative imaging (QI), i.e., the extraction of numerical or statistical features from medical images, is being actively investigated. QI has demonstrated substantial promise in multiple clinical applications. These include the quantification of metabolic tumor volume from oncological positron emission tomography (PET) for predicting clinical outcomes, quantification of dopamine transporter uptake from single-photon emission computed tomography (SPECT) to assess the severity of Parkinson disease, and quantification of regional uptake from PET and SPECT for dosimetry in targeted radionuclide therapy. Given the significant interest in QI, multiple methods have been and are being developed for QI. For clinical translation of QI, it is essential that the measurements made by those methods are reliable. Thus, there is an important need for objective evaluation of the reliability of measurements obtained using QI methods. Typically, such evaluation requires the presence of either the true value of the quantitative parameter or a reference standard. Such true values or reference standards can be available in realistic simulation and physical phantom studies. While these studies are important for the initial development of QI methods, there is an important need for techniques that can perform objective evaluation of QI methods directly with patient data. Such evaluation then requires the presence of gold-standard quantitative values. These are typically time-consuming, expensive, and tedious to obtain. Further, even when an approximate gold standard is available, it could suffer from the lack of reliability. Thus, techniques that can objectively evaluate QI methods in the absence of a gold standard are much needed. To objectively evaluate QI methods without the knowledge of a gold standard, a regression-without-truth (RWT) technique was proposed in a set of seminal papers. The RWT technique assumes that the true and measured values are linearly related by a slope, bias, and Gaussian-distributed noise term. It was demonstrated that even in the absence of a gold standard, the values of the slope, bias, and the standard deviation of the noise term for all the considered QI methods can be estimated using a maximum-likelihood (ML) approach. These estimated parameters can then be used to rank different QI methods on the basis of precision. The efficacy of the RWT technique was demonstrated in evaluating segmentation methods on the task of estimating the apparent diffusion coefficient from diffusion-weighted magnetic resonance imaging (MRI) scans, and on the task of estimating the left ventricular ejection fraction from cardiac cine MRI sequences. The RWT technique was then advanced further and the efficacy of the resultant no-gold-standard evaluation (NGSE) technique was demonstrated in objectively evaluating reconstruction methods for SPECT on the task of quantifying regional uptake. Further, the technique was applied to clinical oncological PET images to evaluate segmentation methods on the task of measuring metabolic tumor volume. While the findings from these studies are encouraging, an important assumption in these existing evaluation techniques is that the noise between measurements obtained using different QI methods is independent of each other. The noise with different QI methods arises in the process of measuring the same true value, and then can be correlated. Thus, this assumption is often violated. To address this issue, we propose an advanced NGSE technique that accounts for the presence of such correlated noise. We start by presenting the theory of this technique.
# METHODS
## Theory {#sec:methods(theory)}
Consider a clinical scenario where a total of \(P\) patients are being scanned by an imaging system. From the acquired data of each patient, a set of \(K\) QI methods are used to measure certain quantitative values. Such quantitative values can be the mean activity concentration within different organs of interest. Our objective is to estimate the parameters that can describe the relationship between the true and measured values, without access to a gold standard. These estimated parameters can then be used to rank the QI methods. We assume that there exists a linear stochastic relationship between the true and measured values. This relationship is parameterized by a slope, bias, and Gaussian-distributed noise term. We note that this noise arises in the process of measuring the same true values but with different methods. Thus, the noise is expected to be correlated. We model this correlated noise by a zero-mean multi-variate Gaussian distribution denoted by \(\mathcal{N}(0, \mathbf{C})\). Specifically, the diagonal elements of \(\mathbf{C}\), i.e., \(\{ \sigma_k^2 \}\), denote the variance of the noise of each method. The off-diagonal elements of \(\mathbf{C}\), i.e., \(\{ \sigma_{k,k'} \}\), denote the covariance of the noise between methods \(k\) and \(k'\). For the \(p^\mathrm{th}\) patient, denote the true value by \(a_p\) and the estimated value using the \(k^\mathrm{th}\) method by \(\hat{a}_{p,k}\). Additionally, denote the slope and bias of the \(k^\mathrm{th}\) method by \(u_k\) and \(v_k\), respectively. For the \(p^\mathrm{th}\) patient, we can then write the relationship between the true and measured values as \[\begin{aligned}
\left[ \begin{array}{c} \hat{a}_{p,1} \\ \hat{a}_{p,2} \\ \vdots \\ \hat{a}_{p,K} \end{array} \right] = \begin{bmatrix} u_1 & v_1 \\ u_2 & v_2 \\ \vdots & \vdots \\ u_K & v_K \end{bmatrix} \left[ \begin{array}{c} a_p \\ 1 \end{array} \right] + \mathcal{N}(0, \mathbf{C}). \label{eq: rel. btw. true and meas. in matrix notation} \end{aligned}\] Denote the vector \(\left[ \hat{a}_{p,1}, \hat{a}_{p,2}, \dots, \hat{a}_{p,K} \right]^T\) by \(\boldsymbol{\hat{A}}_p\), the matrix containing \(\{u_k\}\) and \(\{v_k\}\) by \(\boldsymbol{\Theta}\), and the vector \(\left[a_p, 1\right]^T\) by \(\boldsymbol{A}_p\). Based on Eq. [\[eq: rel. btw. true and meas. in matrix notation\]](#eq: rel. btw. true and meas. in matrix notation){reference-type="eqref" reference="eq: rel. btw. true and meas. in matrix notation"}, obtaining the probability of observing \(\boldsymbol{\hat{A}}_p\) given the knowledge of \(\{\boldsymbol{A}_p, \boldsymbol{\Theta}, \mathbf{C}\}\) depends on the true values, which are unknown. To address this issue, we next assume that the true values are sampled from a four-parameter beta distribution (FPBD) parameterized by a vector \(\boldsymbol{\mathit{\Omega}}\). This FPBD incorporates the fact that the true values lie within a certain range. Additionally, the FPBD provides the capability to model a wide variety of the ranges and shapes of the true distribution. Let \(\boldsymbol{\mathcal{\hat{A}}} = \{\boldsymbol{\hat{A}}_p, \ p = 1, 2, \dots, P\}\) denote the collection of measurements made by all the \(K\) methods from all the \(P\) patients. The NGSE technique uses an ML approach to estimate the values of \(\{\boldsymbol{\Theta}, \mathbf{C}, \boldsymbol{\mathit{\Omega}}\}\) that maximize the probability of observing \(\boldsymbol{\mathcal{\hat{A}}}\). The ML estimate of \(\{\boldsymbol{\Theta}, \mathbf{C}, \boldsymbol{\mathit{\Omega}}\}\) is given by \[\begin{aligned}
\left\{\hat{\boldsymbol{\Theta}},\hat{\mathbf{C}},\hat{\boldsymbol{\mathit{\Omega}}}\right\}_{\mathrm{ML}} = \underset{\boldsymbol{\Theta}, \mathbf{C}, \boldsymbol{\mathit{\Omega}}}{\mathrm{arg~max}} \left\{ \mathrm{pr}(\boldsymbol{\mathcal{\hat{A}}} | \boldsymbol{\Theta}, \mathbf{C}, \boldsymbol{\mathit{\Omega}}) \right\}, \label{eq: ML estimates} \end{aligned}\] where \(\mathrm{pr}(\boldsymbol{\mathcal{\hat{A}}} | \boldsymbol{\Theta}, \mathbf{C}, \boldsymbol{\mathit{\Omega}})\) denotes the probability of observing \(\boldsymbol{\mathcal{\hat{A}}}\) given the knowledge of \(\{\boldsymbol{\Theta}, \mathbf{C}, \boldsymbol{\mathit{\Omega}}\}\). We note that obtaining this probability does not require any knowledge of the true values. The expression for \(\mathrm{pr}(\boldsymbol{\mathcal{\hat{A}}} | \boldsymbol{\Theta}, \mathbf{C}, \boldsymbol{\mathit{\Omega}})\) was determined to obtain the ML estimates using a constrained optimization technique based on the interior-point algorithm. From the estimated parameters, we used the slope terms \(\{\hat{u}_k\}\) and noise standard deviation terms \(\{\hat{\sigma}_k\}\), i.e., the square root of the diagonal elements of the covariance matrix, to compute the noise-to-slope ratio (NSR) for each method. For the \(k^\mathrm{th}\) method, the NSR is given by \[\begin{aligned}
\text{NSR}_k = \frac{\hat{\sigma}_k}{\hat{u}_k}. \end{aligned}\] The NSR evaluates QI methods on the basis of precision, and a lower value indicates a more precise estimation performance.
## Evaluating the NGSE technique using numerical experiments {#sec:methods(evaluation)}
We evaluated the performance of the NGSE technique using multiple numerical experiments. In each experiment, \(P = 200\) true values were sampled from a known FPBD. From these true values, noisy measured values were generated for \(K = 3\) hypothetical QI methods. Each method yielded outputs that were linearly related to the true values by a slope of \(u_k\) and bias of \(v_k\). The variance of the noise of each method was characterized by the diagonal elements of the covariance matrix \(\mathbf{C}\). Additionally, the covariance of the noise between different methods were characterized by the off-diagonal elements of \(\mathbf{C}\). These noisy measurements were then input to the NGSE technique to estimate \(\{\boldsymbol{\Theta}, \mathbf{C}, \boldsymbol{\mathit{\Omega}}\}\). From these estimated parameters, we used the slope terms \(\{\hat{u}_k\}\) and the noise standard deviation terms \(\{\hat{\sigma}_k\}\) to compute the NSR for all methods to rank them based on precision, as described in Sec. [2.1](#sec:methods(theory)){reference-type="ref" reference="sec:methods(theory)"}. In this evaluation, we sampled the \(200\) true values from FPBD for \(4\) combinations of \(\boldsymbol{\mathit{\Omega}}\) such that different ranges and shapes of the true distribution were modeled. To evaluate the sensitivity of the NGSE technique to correlated noise, we generated two sets of QI methods for each combination of \(\boldsymbol{\mathit{\Omega}}\). The first set of methods had lower correlated noise with \(\{\sigma_{1,2}, \sigma_{1,3}, \sigma_{2,3}\} = \{0.004,0.008,0.012\}\). In contrast, the second set of methods had higher correlated noise with \(\{\sigma_{1,2}, \sigma_{1,3}, \sigma_{2,3}\} = \{0.015,0.02,0.03\}\). For both sets, the values of slope \(\{u_k\}\), bias \(\{v_k\}\), and variance of the noise \(\{\sigma_k^2\}\) of the three methods were set to \(\{1.1,0.9,1.05\}\), \(\{0.1,0.2,0.3\}\), and \(\{0.04, 0.09, 0.2025\}\), respectively. Finally, for each combination of \(\{\boldsymbol{\Theta}, \mathbf{C}, \boldsymbol{\mathit{\Omega}}\}\), we repeated the experiment for \(20\) different noise realizations. Thus, we evaluated the performance of the NGSE technique for a total of \(4\times2\times20=160\) trials.
# Results
We first present the performance of the NGSE technique for the set of hypothetical QI methods that had lower correlated noise. The means and standard deviations of the estimated slope \(\{\hat{u}_k\}\), noise standard deviation \(\{\hat{\sigma}_k\}\), and resultant NSR for all considered methods are reported in Table [\[tab: Results (numerical): low correlated noise\]](#tab: Results (numerical): low correlated noise){reference-type="ref" reference="tab: Results (numerical): low correlated noise"}. As described in Sec. [2.2](#sec:methods(evaluation)){reference-type="ref" reference="sec:methods(evaluation)"}, these statistics were computed from a total of \(80\) trials. In each trial, we considered either a different combination of \(\{\boldsymbol{\Theta}, \mathbf{C}, \boldsymbol{\mathit{\Omega}}\}\) or a different noise realization of the synthetic measurements given the true values. We observe that the NGSE technique reliably estimated the slope, noise standard deviation, and consequently the NSR values. From the estimated NSR values, the NGSE technique accurately ranked the methods for \(78\%\) of the \(80\) trials. Further, the technique correctly identified method \(1\) as the most precise method for \(97\%\) of the \(80\) trials.
We then present in Table [\[tab: Results (numerical): high correlated noise\]](#tab: Results (numerical): high correlated noise){reference-type="ref" reference="tab: Results (numerical): high correlated noise"} the results for the set of methods that had higher correlated noise. We again observe that the NGSE technique reliably estimated the slope, noise standard deviation, and resultant NSR. For \(87\%\) of the \(80\) trials, the technique yielded accurate rankings of the considered methods. Further, the technique correctly identified that method \(1\) was the most precise for \(97\%\) of the \(1,600\) trials.
# Discussion and Conclusion
For clinical translation of QI, there is an important need for techniques that can objectively evaluate QI methods with patient data. In this context, existing statistical techniques assume that the noise between measurements obtained using different methods is independent of each other. However, this assumption can often be violated since the noise arises in the process of measuring the same true value. To address this issue, we developed an NGSE technique that models this correlated noise by a multi-variate Gaussian distribution. Our results from the numerical experiments (Tables [\[tab: Results (numerical): low correlated noise\]](#tab: Results (numerical): low correlated noise){reference-type="ref" reference="tab: Results (numerical): low correlated noise"} and [\[tab: Results (numerical): high correlated noise\]](#tab: Results (numerical): high correlated noise){reference-type="ref" reference="tab: Results (numerical): high correlated noise"}) showed that the NGSE technique yielded reliable estimates of slope, noise standard deviation, and consequently the NSR for all hypothetical QI methods. Additionally, the technique yielded accurate rankings of these methods for \(83\%\) of the total \(160\) trials. Further, the technique was able to identify the most precise method for \(97\%\) of the cases. This observation is especially important since when evaluating different QI methods, the objective is typically to find the method that yields the most reliable performance. All these results demonstrated that in controlled settings, where the true and measured values were linearly related by design, the NGSE technique was able to reliably rank QI methods without access to any knowledge of the ground truth. The results motivate further evaluation of the proposed technique with QI methods that are developed for clinical applications. These include methods developed for reconstruction, post-reconstruction processing, segmentation, and quantification. Often, such methods are evaluated using strategies that rely on the availability of a ground truth. Further, this ground truth may not be relevant to the clinical task. For example, segmentation methods are evaluated using metrics such as the Dice score and Hausdorff distance, which quantify spatial overlap and shape similarity, respectively, between the estimated segmentation and a certain ground-truth segmentation. Such evaluation then requires access to the true segmentation, which is typically unavailable. Usually manual segmentations are used as a surrogate for the ground truth, but these can be erroneous and suffer from intra-and inter-reader variability. Similarly, denoising methods for low-dose images are evaluated by comparing the denoised image to a certain normal-dose image using metrics of structural similarity index and root mean square error. However, the normal-dose image is also noisy, and thus provides a limited measure of ground truth. More importantly, it is unclear whether the evaluation based on those conventional metrics correlates with the clinical task. Thus, these methods should preferably be evaluated based on clinical-task performance. The proposed NGSE technique provides a mechanism to perform evaluation on clinically relevant quantitative tasks and without access to the ground truth. One limitation of the proposed technique is that the true and measured values are assumed to be linearly related. This linear relationship is desirable in QI since it ensures that the measured quantitative value is linearly related to the biological effect. However, this assumption of linearity may not always hold true in QI. To address this issue, one strategy is to check whether the measurements made by different methods are linearly related to each other. This will increase the confidence that the measured values are also linearly related to the ground truth. A second limitation is that the NGSE technique requires many patient images since multiple parameters need to be estimated. One way to reduce the required number of input images is to incorporate the prior information of the parameters to be estimated. Thus, extending the proposed technique to incorporate such prior knowledge is an important research direction. In conclusion, our study demonstrated the ability of the proposed NGSE technique to accurately rank different QI methods in the presence of correlated noise, and without the need for any knowledge of the ground truth. The results motivate further evaluation of the technique with realistic simulation studies and patient data. | {'timestamp': '2022-03-07T02:03:09', 'yymm': '2203', 'arxiv_id': '2203.02010', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02010'} |
null | null |
null | null |
# Introduction
Experimental biologists and clinicians seek a deeper understanding of biological processes and their link with disease phenotypes by characterizing cell behavior. Gene expression offers a fruitful avenue for insights into cellular traits and changes in cellular state. Advances in technology that enable the measurement of RNA levels for individual cells via Single-cell RNA sequencing (scRNA-seq) significantly increase the potential to advance our understanding of the biology of disease by capturing the heterogeneity of expression at the cellular level. Gene differential expression analysis, which contrasts the marginal expression levels of genes between groups of cells, is the most commonly used mode of analysis to interrogate cellular heterogeneity. By contrast, the relational patterns of gene expression have received far less attention. The most intuitive relational effect is gene co-expression, a synchronization between gene expressions, which can vary dramatically among cells. Converging evidence has revealed the importance of co-expression among genes. When looking at a collection of highly heterogeneous cells, such as cells from multiple cell types, significant gene co-expression may indicate rich cell-level structure. Alternatively, when looking at a batch of highly homogeneous cells, gene co-expression could imply gene cooperation through gene co-regulation. Biochemistry offers a complementary motivation for the advantages of studying co-expression in addition to marginal expression levels of genes. The biological system of a cell is generally described by a non-linear dynamical system in which gene expression is variable. Therefore, the observed gene expression level varies by time and condition, even within the same cell, while the cooperation between genes is more stable over time and condition. For this reason, it can be argued that co-expression may more reliably characterize the biological system or state of the cell. scRNA-seq, allows us to investigate gene co-expression at different resolutions, to understand not only how genes interact with each other within different cells, but also how the interactions relate to cell heterogeneity. The recent work by attempts an ambitious task: characterizing the gene co-expression at a single cell level (termed "cell-specific network" CSN). Specifically, for a pair of genes and a target cell, construct a 2-way \(2\times2\) contingency table test by binning all the cells based on whether they are in the marginal neighborhoods of the target cell and assigning the test results as a binary indicator of gene association in the target cell. Viewed over all gene pairs, the result is a cell-specific gene network. Forgoing interpretation of the detected associations, they utilize the CSN to obtain a data transformation. Specifically, they replace the transcript counts in the gene-by-cell matrix with the degree sequence of each cell-specific network. Although this data transformation shows encouraging success in various downstream tasks, such as cell clustering, it remains unclear what the detected "cell-specific" gene association network really represents. The implementation details and interpretation of the results are presented at a heuristic level, making it difficult for others to appreciate and generalize this line of work. In a follow-up paper, take the first steps to capitalize on the CSN approach by redirecting the concept to obtain an estimator of co-expression. Specifically, they propose averaging the "cell specific\" gene association indicators over cells in a class to recover a global measure of gene association (avgCSN). The resulting measure performs remarkably well in certain simulations and detailed empirical investigations of brain cell data. Compared to Pearson's correlation, the avgCSN gene co-expression appears less noisy and provides more accurate edge estimation in simulations. It is also more powerful in a test to uncover differential gene networks between diseased and control brain cells. Finally, it provides biologically meaningful gene networks in developing cells. The empirical success of avgCSN likely lies in the nature of gene expression data: often noisy, sparse and heterogeneous, meaning not all cells exhibit co-expression at all times due to cellular state and conditions. For this reason, a successful method must be robust and sensitive to local patterns of dependencies. Being an average of a series of binary local contingency table tests, the error in each entry of avgCSN is limited, meanwhile the non-negative summands ensure that local patterns are not cancelled out. By contrast, measures like Pearson's correlation can have both negative and positive summands, and therefore the final value can be small even if the dependence structure is clear for a subset of the cells. To make the method more stable, proposed some heuristic and practical techniques to compute avgCSN, for which we would like to have more principled insights. Examples are the choice of window size in defining neighborhoods in the local contingency table test, the choice of thresholding in constructing an edge, and the range of cells to aggregate over. Many natural questions emerge: how does avgCSN relate to other gene co-expression measures and the full range of general univariate dependence measures, and why does it perform well in practice? Through theoretical analysis and extensive experimental evaluations, we address these questions, revealing that avgCSN is an empirical estimator of a new dependency measure, which enjoys various advantages over the existing measures. For comparison, we briefly review the related work in gene co-expression measures and general univariate dependence. Since the work by, Pearson's correlation has been the most popular gene co-expression measure for its simple interpretation and fast computation. However, Pearson's correlation fails to detect non-linear relationships and is sensitive to outliers. Another class of co-expression methods is based on mutual information (MI). The computation of MI involves discretizing the data and tuning parameters, and the dependence measure does not have an interpretable scale. proposed the maximal information coefficient (MIC) as an extension of MI, but MIC was shown to be over-sensitive in practice. More comparisons of different co-expression measures and the constructed co-expression networks can be found in. In the broader statistical literature, the problem of finding gene co-expression is closely related to that of detecting univariate dependence between two random variables. Specifically, for a pair of univariate random variables \(X, Y\), how to measure the dependence between them has been a long-standing problem. The problem is often described as finding a function \(\delta(X,Y)\), which measures the discrepancy between the joint distribution \(F_{XY}\) and product of marginal distribution \(F_{X}F_{Y}\). Numerous solutions to this problem have been provided: include the Renyi correlation measuring the correlation between two variables after suitable transformations; various regression-based techniques; Hoeffding's D, distance correlation (dCor), kernel-based measure like HSIC and rank based measure like Kendall's \(\tau\) and the refinement later, \(\tau^\star\). Most of these methods have not yet been widely adopted in genetics applications. Aside from avgCSN, the methods mentioned so far do not specifically target dependence relationships that are local and often assume the data are random samples from a common distribution (in contrast with a mixture distribution) in the theoretical analysis. However, real gene interactions may change as the intrinsic cellular state varies and may only exist under specific cellular conditions. Furthermore, with data integration now being a routine approach to combat the curse of dimensionality, samples from different experimental conditions or tissue types are likely to possess different gene relationships and thus create more complex situations for detecting gene interactions. In this setting, much like avgCSN, an ideal measure accumulates subtle local dependencies, possibly only observed in a subset of the cells. A co-expression measure that aims to detect local patterns, developed by, counts the proportion of matching patterns of local expression ranks as the measure of gene co-expression. Specifically, they aggregate the gene interactions across all subsamples of size \(k\). However, despite its promising motivation, it has low power to detect non-monotone relationships. MIC and HHG are also measures that attempt to account for local patterns of dependencies. In this paper, we first give a detailed review of the related methods in . Then in , we show that avgCSN is indeed an empirical estimate of a valid dependence measure, which we define as averaged Local Density Gap (aLDG). In and , we formally establish its statistical properties, including estimation consistency and robustness. We also investigate data-adaptive hyperparameter selection to justify and refine the heuristic choices in application in . Finally, we provide a systematic comparison of aLDG and its competitors via both simulation and real data examples in .
# A brief review of dependence and association measures {#sec:aLDGintr}
Before starting on the description of the various dependence measures, let us remark that proposed that a measure of dependence between two stochastic variables \(X\) and \(Y\), \(\delta(X,Y)\), should ideally have the following properties:
1. \(\delta(X,Y)\) is defined for any \(X,Y\) neither of which is constant with probability \(1\).
2. \(\delta(X,Y)\)=\(\delta(Y,X)\).
3. \(0\leq \delta(X,Y) \leq 1\).
4. \(\delta(X,Y)=0\) if and only if \(X\) and \(Y\) are independent.
5. \(\delta(X,Y)=1\) if either \(X=g(Y)\) or \(Y=f(X)\), where \(f\) anf \(g\) are measurable functions.
6. If the Borel-measurable functions \(f\) and \(g\) map the real axis in a one-to-one way to itself, then \(\delta(f(X),g(Y))=\delta(X,Y)\).
Particularly, a measure satisfying (iv) is called a strong dependence measure. Apart from the above properties, there are two more properties that are particularly useful in single-cell data analysis. Single-cell data often contain a significant amount of noise, among which outliers account for a non-negligible fraction. Therefore *robustness* is a desirable property in a dependence measure. Specifically, keeping with previous literature, by robustness we mean that the value of the measure does not change much when a small contamination point mass, far away from the main population, is added. A formal description and corresponding evaluation metric will be described later. Another often overlooked property is *locality*, which is a relatively novel concept and has not been properly defined to the best of our knowledge. Nevertheless, this concept has been catching attention over the recent decade, especially in work motivated by genetic data analysis. *Locality* targets a special kind of dependence relationship that is generally restricted to a particular neighborhood in the sample space. A natural example is dependence that occurs in some, but not necessarily all of the components in a finite mixture. Another is dependence within a moving time window in a time series. Generally speaking, the interactions change as the hidden condition varies, or only exist under a specific hidden condition. A dependence measure that is *local* should be able to accumulate dependence in the local regions. No measure has all of the properties mentioned above, as far as we know. Our new measure possesses all but properties (v) and (vi). In the following, we review a selected list of univariate dependence measures in more details.
## Moment based measures
The first class of methods is based on various moment calculations. The main advantage is fast computation and minimum tuning, while the main drawback is non-robustness to outliers from their moment-based nature.
#### Pearson's correlation {#pearsons-correlation .unnumbered}
The simplest measure is the classical Pearson's correlation: \[\text{Pearson's}\ \rho(X,Y):= \frac{\text{Cov}(X,Y)}{\sqrt{\text{Var}(X)\text{Var}(Y)}}.\] Plugin the sample estimation of covariance and variance, consistency and asymptotic normality can be proven using law of large numbers and the central limit theorem, respectively. Pearson's \(\rho\) has been, and probably still is, the most extensively employed measure in statistics, machine learning, and real-world applications, due to its simplicity. However, it is known to detect only linear relationships. Also, as is the case for regression, it is well known that the product-moment estimator is sensitive to outliers: even just a single outlier may have substantial impact on the measure.
#### Maximal correlation {#maximal-correlation .unnumbered}
The maximal correlation (MC) is based on Pearson's \(\rho\). It is constructed to avoid the problem that Pearson's \(\rho\) can easily be zero even if there is strong dependence. first propose MC as \[\text{MC}(X,Y) := \sup_{f,g} \rho(f(X),g(X)).\] Here the supremum is taken over all Borel-measurable functions \(f,g\) with finite and positive variance for \(f(X)\) and \(g(Y)\). The measure MC can detect non-linear relationships, and in fact, it is a strong dependence measure. However, often MC cannot be evaluated explicitly except in special cases, because there does not always exist functions \(f_0\) and \(g_0\) such that \(\text{MC} = \rho(f_0(X), g_0(Y))\). Also, it has been found to be overly "sensitive", i.e. it gives high value for distributions arbitrarily "close" to independence in practice.
#### Distance correlation {#distance-correlation .unnumbered}
A recent surge of interests has been placed on using distance metrics to achieve consistent independence testing against all dependencies. A notable example is the distance correlation (dCor) proposed by: \[\begin{aligned}
\text{dCor} (X,Y)& := \frac{V(X,Y)}{\sqrt{V(X,X)V(Y,Y)}}, \\ & \quad \text{where } V(X,Y)=\mathbb{E}{|X-X'||Y-Y'|} + \mathbb{E}{|X-X'|}\mathbb{E}{|Y-Y'|}\\ & \quad \quad \quad \quad \quad \quad \quad \quad \quad-2\mathbb{E}_{X,Y}\Big[{\mathbb{E}_{X'}|X-X'| \mathbb{E}_{Y'}|Y-Y'|}\Big], \nonumber \end{aligned}\] with \((X',Y')\) an i.i.d copy of \((X,Y)\). The distance correlation enjoys universal consistency against any joint distribution of finite second moments; however, in practice, it does not work well for non-monotone relationship. Also, it is not robust from its moment based nature, as proven by.
#### HSIC {#hsic .unnumbered}
Recall the definition and formula for the maximal correlation, about which we mentioned it is difficult to compute since it requires the supremum of the correlation \(\rho(f(X),g(Y))\) taken over Borel-measurable \(f\) and \(g\). In the framework of reproducing kernel Hilbert spaces (RKHS), it is possible to pose this problem and compute an analogue of MC quite easily. A state-of-the-art method in this direction is the so-called Hilbert-Schmidt Independence Criterion (HSIC). Denote the support of \(X\) and \(Y\) as \(\mathcal{X}\) and \(\mathcal{Y}\) respectively, HSIC considers \(f,g\) to be in RKHS \(\mathcal{F}\) and \(\mathcal{G}\) of functionals on sets \(\mathcal{X}\) and \(\mathcal{Y}\) respectively. Then HSIC is defined to be the Hilbert-Schmidt (HS) norm of a Hilbert-Schmidt operator. We refer the reader to for detailed description. What might be of interest is that, in many cases, HSIC is equivalent to dCor.
## Rank based measure
Another line of work based on ordinal statistics is developed in parallel to the moment-based methods. A random variable \(X\) is called ordinal if its possible values have an ordering, but no distance is assigned to pairs of outcomes. Ordinal data methods are often applied to data in order to achieve robustness.
#### Spearman's \(\rho_S\), Kendall's \(\tau\) and \(\tau^\star\) {#spearmans-rho_s-kendalls-tau-and-taustar .unnumbered}
The two most popular measures of dependence for ordinal random variables \(X\) and \(Y\) are Kendall's \(\tau\) and Spearman's \(\rho_S\). Both Kendall's \(\tau\) and Spearman's \(\rho_S\) are proportional to sign versions of the ordinary covariance, which can be seen from the following expressions for the covariance: \[\begin{aligned}
\text{Cov}(X,Y) &= \frac12\EE{(X-X')(Y-Y')} \propto \text{Kendall} \\ & =\EE{(X'-X'')(Y'-Y''')} \propto \text{Spearman}, \end{aligned}\] where \((X',Y'), (X'',Y''), (X''', Y''')\) are i.i.d replications of \((X,Y)\). Note that Kendall's \(\tau\) is simpler than Spearman's \(\rho_S\) in the sense that it can be defined using only two rather than three independent replications of \((X, Y)\), so often Kendall's \(\tau\) is preferred. A concern from certain applications is that Kendall's \(\tau\) and Spearman's \(\rho_S\) are not *strong* dependence measures, so tests based on them are inconsistent for the alternative of a general dependence. In fact, it is often observed that they have difficulty detecting nonmonotone relationship. Later, an extension \(\tau^\star\) mitigates such deficiency by modifying Kendall's \(\tau\) to a strong measure.
#### Hoeffding's D and BKR {#hoeffdings-d-and-bkr .unnumbered}
Related to the ordinal statistics-based methods, another class of methods start from the cumulative distribution function (CDF), some of which are equivalent to ordinal forms due to the relationship between CDF and ranks. The oldest example is the Hoeffing's D proposed by: \[\text{Hoeffing's D} := \mathbb{E}_{X,Y} \Big[(F_{X,Y}-F_{X}F_{Y})^2\Big],\] where \(F_X\), \(F_Y\), \(F_{X,Y}\) are the CDF of \(X\), \(Y\), \((X,Y)\) respectively. Still, Hoeffing's D is not a strong measure, while its modified version BKR: \[\text{BKR} := \mathbb{E}_{X}\mathbb{E}_{Y} \Big[(F_{X,Y}-F_{X}F_{Y})^2\Big]\] is. It turns out Hoeffding's D belongs to a more general family of coefficients, which can be formulated as \[\text{C}_{gh} := \int g(F_{X,Y}-F_{X}F_{Y}) d h(F_{XY})\] for some \(g\) and \(h\). We will abbreviate Hoeffding's D as HoeffD in the figures in the remainder of paper.
## Dependence measures aware of local patterns
Most of the methods mentioned so far do not specifically target dependence relationships that can be local in nature. In the following, we describe a few measures that were designed to capture complex relationships, whether local or not.
#### Maximal Information Coefficient {#maximal-information-coefficient .unnumbered}
The idea behind the Maximal Information Coefficient (MIC, statistic consists in computing the mutual information locally over a grid in the data set and then take as statistic the maximum value of these local information measures over a suitable choice of grid. However, several examples were given in and where MIC is clearly inferior to dCor.
#### HHG {#hhg .unnumbered}
pointed out another way to account for local patterns: that is, looking at dependence locally and then aggregating the dependence over the local regions. The local regions is simply defined as bins via partitioning the sample space. Additionally, HHG takes a multi-scale approach: multiple sample space partitions are conducted, and results are aggregated over all of them. This results in a provably consistent permutation test. However, the cost of implementation is significantly longer computation time than its competitors: it takes \(O(n^3)\) computation time while its competitors normally take at most \(O(n^2)\).
#### Matching ranks {#matching-ranks .unnumbered}
Another method that developed specifically for accounting local pattern is proposed by. Given \(n\) pair of observations of \((X,Y)\), \(\{(x_i,y_i)\}_{i=1}^n\), they propose to count the number of size \(k\) subsequences \((x_{i_1}, x_{i_2}, \dots x_{i_k})\) and \((y_{i_1}, y_{i_2}, \dots y_{i_k})\) such that their rank is matched. We refer to this measure as MR (Matching Ranks). Specifically, we write the scaled version of MR such that it is in range \[0,1\]: \[\begin{aligned}
\text{MR} := \frac{1}{2{n\choose k}}\sum_{1\leq i_1<i_2\dots<i_k \leq n} & \Big(\mathbf{1}\{ rank(x_{i_1}, x_{i_2}, \dots x_{i_k}) = rank(y_{i_1}, y_{i_2}, \dots y_{i_k})\} \\ & + \mathbf{1}\{ rank(x_{i_1}, x_{i_2}, \dots x_{i_k}) = rank(-y_{i_1},-y_{i_2}, \dots-y_{i_k})\}\Big), \end{aligned}\] where \(rank(a_1,\dots,a_k) = (r(a_1),\dots,r(a_k))\) where \(r(a_i)\) is the rank of element \(a_i\) within the sequences \((a_1,\dots,a_k)\), and the equality inside the indicator function applies element-wisely. Though claimed to be able to detect complex relationship, this measure is inferior to others in some non-monotone dependence case like quadratic relationship.
# Our method: averaged Local Density Gap {#sec:aLDGdef}
First, we elaborate on the origin of our work, which was inspired by gene co-expression analysis using single-cell data. In the context of gene co-expression analysis, the pair of random variables \(X,Y\) represents the expression level of a pair of genes, and the goal is to find the relationship between them. Pearson's correlation is one commonly used metric for this task. In light of the many shortcomings of this global measure of dependence, proposed to characterize the gene relationships for every cell. Their method takes the following approach: for the gene pair \((X,Y)\), and a target cell \(j\), partition the \(n\) samples based on whether \(|X_{\cdot}-X_j| < h_x\) and \(|Y_{\cdot}-Y_j| < h_y\), where \(h_x\) and \(h_y\) are predefined window sizes. This partition can be summarized as a \(2 \times 2\) contingency table (). Then evidence against independence in this \(2\times 2\) table can be quantified by a general contingency table test statistic. uses \[S_{X,Y}^{(j)} := \frac{ \sqrt{n} \left(n_{x,y}^{(j)}n-n_{x,\cdot}^{(j)} n_{\cdot,y}^{(j)}\right)}{\sqrt{n_{x,\cdot}^{(j)} n_{y}^{(j)} (n-n_{x,\cdot}^{(j)}) (n-n_{\cdot,y}^{(j)})}},\] and conducts a one-sided \(\alpha\) level test based on its asymptotic normality, that is \[\label{contingency_test} I_{XY}^{(j)}:= \mathbb{I}\{S_{X,Y}^{(j)} > \Phi^{-1} (1-\alpha)\}.\]
claim that \(I_{XY}{(j)}\) indicates whether or not gene pairs \(X\) and \(Y\) are dependent in cell \(j\), and refer to the detected dependence as *local dependence*. Though interesting as a novel concept, it lacks rigor and interpretability. Alternatively we propose to define \(X\) and \(Y\) as being *locally independent* at position \((x,y)\) as \[f_{XY}(x,y) = f_{X}(x)f_{Y}(y),\] then \(I_{XY}\) provides a way of assessing *local independence*. Specifically, as a one-sided test, \(I_{XY}(j)\) assesses whether or not \(f_{XY}(x,y) > f_{X}(x)f_{Y}(y)\), at position \((x,y)\) marked by cell \(j\). To assess global independence, aggregation, as proposed by, is needed. Their empirical measure can be formally written as: \[\label{avgcsn} \text{avgCSN} := \frac{1}{n} \sum_{i=1}^n I_{XY} ^{(j)}.\] Some simple approximations gives us a population correspondence of avgCSN. Assume the variables \(X,Y\) have joint density \(f_{XY}\), and marginal densities, \(f_{X}\) and \(f_{Y}\), that have common support. Let \(\widehat{f}_{XY}, \widehat{f}_{X}, \widehat{f}_{Y}\) be the estimated densities given observations of \((X,Y)\). Under the assumption that the bandwidth \(h_x, h_y\to 0\) and \(\sqrt{h_x h_y n}\to\infty\), with some simple algebra (see for detailed derivation), we see that \[\begin{aligned}
\label{deriveavgcsn} \text{avgCSN} &\approx \frac{1}{n} \sum_{i=1}^n \mathbf{1}\left\{ \frac{\widehat{f}_{X,Y}(x_{i}, y_{i})-\widehat{f}_{X}(x_{i}) \widehat{f}_{Y}(y_{i}) }{\sqrt{ \widehat{f}_{X}(x_{i})\widehat{f}_{Y}(y_{i})}} \geq t_n \right\},\quad \text{where } t_n = \frac{\Phi^{-1}(1-\alpha)}{\sqrt{n h_x h_y}}, \end{aligned}\] and \(\alpha\in[0,1]\) is some hyperparameter related to the test level of the local contingency test (usually \(\alpha\) is set to 0.05 or 0.01). Because \(t_n \downarrow 0\) as \(n\) goes to infinity, we naturally think of the following population dependence measure: \[\text{Pr}_{X,Y}\left\{ \frac{f_{X,Y}(X,Y)-f_X(X) f_{Y}(Y)}{\sqrt{f_{X}(X)f_{Y}(Y)}} > 0\right\}.\] In the remainder of this section, we formally define a generalized version of this measure in , along with its properties on the population level. Then we discuss consistent and robust estimation in and provide guidance on hyper-parameter selection in . Finally, we comment on the relationship between our measure and some of the previous work in .
## Definition and basic properties {#sec:pop}
From the definition, one can immediately realize the following lemma.
As a concrete example of the \(\text{aLDG}\) measure, the left plot of displays \(\text{aLDG}\), given different \(t\) for a bivariate Gaussian with different choices of correlation. We can see that (1) \(\text{aLDG}_t\) is non-increasing with regard \(t\) as our suggests; (2) \(\text{aLDG}_t\) equals zero at independence for all \(t\geq 0\), while \(\text{aLDG}_0\) equals zero if and only if there is no dependence, as our suggests; (3) \(\text{aLDG}_t\) increases with the dependency level, indicating that it is a sensible dependence measure. Note that, from , \(\text{aLDG}_0\) is a *strong*[^1] measure of dependence. While being strong is a desirable feature of a dependence measure, for \(\text{aLDG}\) type of measure, we find that it comes with the sacrifice of robustness under independence (). On the other hand, setting \(t>0\) could result in insensitivity under weak dependence, but with a provable guarantee of robustness (). In summary, the hyper-parameter \(t\) serves as a trade-off between robustness and sensitivity. In we will discuss the practical choice of \(t\) in more detail. For now, we treat it as a predefined non-negative constant.
## Robustness analysis {#sec:robpop}
In the following, we present a formal robustness analysis. An important tool to measure the robustness of a statistical measure is the influence function (IF). It measures the influence of an infinitesimal amount of contamination at a given value on the statistical measure. The Gross Error Sensitivity (GES) summarizes IF in a single index by measuring the maximal influence an observation could have.
Among the related work we have mentioned, only the robustness of \(\tau\), \(\tau^\star\), and \(\text{dCor}\) have been theoretically investigated to the best of our knowledge. proved that \(\text{dCor}\) is not robust while \(\tau\) and \(\tau^\star\) are. Their evaluation criteria is a bit different from ours. We investigate the limit of the ratio when the contamination mass goes to zero. They investigate the ratio limit when the contamination position goes far away, given fixed contamination mass. We argue that our analysis aligns better with the main statistical literature. In the following, we show that \(\text{aLDG}_t\) with \(t>0\) is \(B\)-robust, under some reasonable regularity conditions.
The proof of is in . The first assumption about the boundness of density is common in density based statistical analysis. The second assumption about the \(\text{aLDG}_{t}\) smoothness may look less familiar, however after a transformation, it is no more than a CDF-smoothness assumption: recall that \(T(X,Y) := \frac{f_{XY}(X)-f_{X}(X)f_{Y}(Y)}{\sqrt{f_{X}(X)f_{Y}(Y)}}\), then \[\begin{aligned}
|\text{aLDG}_{t-\epsilon}-\text{aLDG}_{t}|< L\epsilon \Longleftrightarrow \mathbb{P}\{|T(X,Y)-t|\leq \epsilon\} \leq L\epsilon, \end{aligned}\] that is, the CDF of random variable \(T(X,Y)\) is L-lipschitz around \(t\) for \(t>0\). In we show the empirical density of \(T(X,Y)\) for bivariate Gaussian of different correlation, which is generally bounded by some constant \(L\) at positive values. In the following, we show that \(\text{aLDG}_0\) is not robust under independence.
The proof of is in . The right plot in provides some empirical evidence of the non-robustness of \(\textnormal{aLDG}_0\) under independence. Specifically, we plot the population value of the ratio inside limitation [\[if\]](#if){reference-type="eqref" reference="if"}, under bivariate Gaussian with small enough contamination proportion \(\epsilon\), to approximately show that the IF value of \(\textnormal{aLDG}_t\) at independence indeed goes to infinity as \(t\) goes to zero.
## Consistent and robust estimation {#sec:emp}
In this section we investigate estimation of \(\text{aLDG}_t\) given finite samples. One natural way to estimate \(\text{aLDG}_t\) is using the following plug-in estimator: recall that \(\widehat{f}_{XY}, \widehat{f}_{X}, \widehat{f}_{Y}\) are the estimated joint and marginal densities, then given \(n\) observations \(\{(x_1,y_1),\dots,(x_n,y_n)\}\) of \((X,Y)\), \(\text{aLDG}_t\) can be estimated by \[\begin{aligned}
\label{eq:aLDGemp} \widehat{\text{aLDG}}_t & := \frac{1}{n}\sum_{i=1}^n \mathbf{1}\left\{ \widehat{T}(x_i,y_i) \geq t \right\},\quad \text{where } \widehat{T}(x_i,y_i):=\frac{\widehat{f}_{X,Y}(x_{i}, y_{i})-\widehat{f}_{X}(x_{i}) \widehat{f}_{Y}(y_{i}) }{\sqrt{ \widehat{f}_{X}(x_{i})\widehat{f}_{Y}(y_{i})}} \end{aligned}\] In the following, we establish the non-asymptotic high probability bound of the estimation error using the above simple plug-in estimator \(\widehat{\text{aLDG}}_t\). The error rate is determined by the density estimation error for variable \(X, Y\), as well as the probability estimation error for \(T(X,Y)\).
is flexible in the sense that one can plug-in any kind of density estimator and its error rate to obtain the error rate of the corresponding \(\widehat{\text{aLDG}}\) estimator. The proof of is in . Though was for fixed \(t\), we also provide similar result that holds true uniformly over all possible \(t\) in . As for a concrete example, we provide explicit results for a special class of bivariate density and a simple density estimator. Specifically, we consider the true marginal density \(f_X\), \(f_Y\) that are L-Lipschitz, and the joint density \(f_{XY}\) that are simply the product of \(f_X\), \(f_Y\); we also consider the following density estimator[^2]: \[\begin{aligned}
\label{densest} &\widehat{f}_{X}(\cdot) = \frac{1}{n} \sum_{j=1}^n K_{h_n}(\cdot, x_j), \quad \widehat{f}_{Y}(\cdot) = \frac{1}{n} \sum_{j=1}^n K_{h_n}(\cdot, y_j), \nonumber\\ & \quad \widehat{f}_{XY}(\cdot, \cdot) = \frac{1}{n} \sum_{j=1}^n K_{h_n}(\cdot, x_j)K_{h_n}(\cdot, y_j), \end{aligned}\] where \(K_{h_n}(\cdot,u):=\mathbf{1}\{|\cdot-u|\leq h_n\}/(2 h_n)\) is one-dimensional boxcar kernel smoothing function with bandwidth \(h_n\). From in , the uniform estimation error rate \(\eta_n\) in this setting is \(O(n^{-1/6}\sqrt{\log{n}})\), given the asymptotic near-optimal bandwidth \(h = O(n^{-1/6})\). Therefore, applying gives us estimation error rate of \(O(n^{-1/6}\sqrt{\log{n}})\) for \(\textnormal{aLDG}_t\). We also include robustness analysis of \(\widehat{\text{aLDG}}_t\) in . Specifically, we consider an empirical contamination model that is commonly encountered in single-cell data analysis: a small proportion of the sample points are replaced by "outliers" far away from the rest samples. We show that \(\widehat{\text{aLDG}}_t\) with and without outliers are close as long as the outlier proportion is small. This suggests that the estimator of \(\text{aLDG}_t\) preserves its robust nature.
## Selection of hyper-parameter \(t\) {#sec:chooset}
In this section, we propose two methods for selecting \(t\), each of which has merit. We also provide guidance on which one is preferable in different practice settings.
#### Uniform error method {#uniform-error-method .unnumbered}
From the results in the previous section, we learn that \(\text{aLDG}_0\) is not robust under independence. To prevent \(\widehat{\text{aLDG}}_t\) from approaching \(\text{aLDG}_0\) under independence, it is sufficient to make sure that the estimation error of \(T\) under independence is uniformly dominated by \(t\) with high-probability. To compute the uniform estimation error of \(T\) under independence, we first manually construct the independence case via random shuffle. Given \(n\) samples \(\{(x_i,y_i)\}_{i=1}^n\) of \((X,Y)\), denote the corresponding empirical joint distribution as \(\widehat{F}_{XY}\), and marginal joint distribution as \(\widehat{F}_{X}\) and \(\widehat{F}_{Y}\). Applying the random shuffle function \(\pi\) on indices of one dimension (i.e. \(Y\)), we have \[\{(x_i,y_{\pi(i)})\}_{i=1}^n \sim \widehat{F}_{X}\widehat{F}_{Y},\] that is the shuffled samples \(\{(x_i,y_{\pi(i)})\}\) now come from a different joint distribution where \((X,Y)\) are independent. We can then use the shuffled samples to compute the uniform estimation error of \(T\) under independence. Note that \(T\) under independence is exactly zero, therefore its uniform estimation error is just the uniform upper bound of its estimation. To stabilize the estimation of such upper bound, we use the median of estimated upper bound from \(\max\{\lfloor 1000/n \rfloor, 5\}\) different random shuffles as the final estimation. We call this \(t\) selection method the *uniform error* method.
#### Asymptotic norm method {#asymptotic-norm-method .unnumbered}
When using \(\textnormal{aLDG}_t\) in large-scale data analysis, choosing \(t\) using the above data-dependent choice may be undesirable because it requires additional computations. In extensive simulations we observe that a simple alternative also performs fine in terms of maintaining consistency, power and robustness: \[\label{choosetnorm} t = \Phi^{-1}\left(1-\frac{1}{n}\right)\Big/\left(\sqrt{\sigma_{X}\sigma_Y} n^{1/3}\right).\] This choice is motivated by the following heuristic. Recall our derivation of aLDG statistics from avgCSN around [\[deriveavgcsn\]](#deriveavgcsn){reference-type="eqref" reference="deriveavgcsn"}: as the sample size \(n\) goes to infinity, and \(h_x, h_y \to 0\), \(h_xh_yn\to\infty\), the empirical estimation of \(\text{aLDG}_t\) using the boxcar kernel cioncide with avgCSN. Therefore, \(t_n\) in [\[deriveavgcsn\]](#deriveavgcsn){reference-type="eqref" reference="deriveavgcsn"} could serve as a natural choice for \(t\), but one need to be extra careful about \(\alpha\), which is the test level of local contingency test [\[contingency_test\]](#contingency_test){reference-type="eqref" reference="contingency_test"} in definition towards avgCSN. We specically modify \(\alpha\) to decrease with \(n\) instead of a fixed value like \(0.05\) since we desire consistency: i.e. \(\text{aLDG}_t\) under independence should goes to zero as \(n\) goes to infinity. Finally, plugging in our choice of bandwidth \(h_x = \sigma_X n^{-1/6}\), \(h_y = \sigma_Y n^{-1/6}\) together with the new \(\alpha_n\) in place of \(\alpha\) into \(t_n\) [\[deriveavgcsn\]](#deriveavgcsn){reference-type="eqref" reference="deriveavgcsn"}, we get [\[choosetnorm\]](#choosetnorm){reference-type="eqref" reference="choosetnorm"}. We call this \(t\) selection method the *asymptotic norm* method. Empirically we find that the *asymptotic norm* method is often too conservative given the small sample size (which is expected since it is based on the asymptotic normality of a contingency table test statistic). In practice, we recommend people use *uniform error* over *asymptotic norm* when the sample size is not too big (e.g., no bigger than 200). When the sample size is big enough (e.g., bigger than 200), and the computation budget is limited, we recommend the *asymptotic norm* method. In the rest of the paper, we use the *uniform error* method when the sample size is no bigger than 200 and the *asymptotic norm* method when the sample size is bigger than 200. We admit that there could be other promising ways of selecting \(t\), for example, a geometry way we provided in . Here we only present the methods that we found working the best after a careful evaluation (see ).
## Relationships to HHG {#sec:relation}
The method that is most similar to aLDG is HHG (). Like aLDG, HHG is based on aggregation of multiple contrasts between the local joint and marginal distributions \[\begin{aligned}
HHG := \sum_{i\neq j} M(i,j),\quad M(i,j) := (n-2) \frac{\Big(p_{XY}(B_{XY}^{i,j})-p_{X}(B_{X}^{i,j})p_{Y}(B_Y^{ij})\Big)^2}{p_{X}(B_{X}^{i,j})\Big(1-p_{X}(B_{X}^{i,j})\Big)p_{Y}(B_Y^{ij})\Big(1-p_{Y}(B_Y^{ij})\Big)}, \end{aligned}\] with \(B_{X}^{i,j} = \{x: |x-x_i|\leq |x_i-x_j|\}\), \(B_{Y}^{i,j} = \{y: |y-y_i|\leq |y_i-y_j|\}\) and \(B_{XY}^{i,j} = B_{X}^{i,j} \otimes B_{Y}^{i,j}\), \(p_{XY}, p_X, p_Y\) are joint probability function for \((X,Y)\) and marginal probability function for \(X\) and \(Y\) respectively. While the two measures appear quite similar, they differ in two critical aspects.
#### The efficiency of single scale bandwidth {#the-efficiency-of-single-scale-bandwidth .unnumbered}
One notable difference between HHG and aLDG is that the former relies on a multi-scale choice of bandwidth for each sample point. Specifically, it utilizes multiple (\(O(n)\)) bandwidths for each data point. This results in a provably consistent permutation test; however, the cost of implementation is significantly longer computation time than its competitors. aLDG takes a single-scale approach, which considerably improves the computation efficiency. Moreover, the aLDG formulation provides a direct analogy to a density functional, which allows us to exploit existing work in density estimation to determine an appropriate bandwidth. This single-scale approach, though may not optimal, achieves comparable power to HHG, as shown in the upcoming simulation studies.
#### The merit of thresholding {#the-merit-of-thresholding .unnumbered}
Another difference is that empirically aLDG aggregates over thresholded summands, see [\[eq:aLDGemp\]](#eq:aLDGemp){reference-type="eqref" reference="eq:aLDGemp"}. It turns out thresholding brings implicit robustness to noise. By contrast, consider the non-thresholded version of aLDG: \[\text{aLDG}_{non}:= \EE{T(X,Y)}.\] Even with slight departures from independence, \(\text{aLDG}_{non}\) can go to infinity. For example, consider the following joint and marginal distribution that admits a kernel product density mixture: \[\begin{aligned}
& f_{XY}(x,y) = \alpha k_{0,r}(x)k_{0,r}(y) + (1-\alpha)k_{0,1}(x)k_{0,1}(y),\\ & f_{X}(x) = \alpha k_{0,r}(x) + (1-\alpha)k_{0,1}(x), \quad f_{Y}(y) = \alpha k_{0,r}(y) + (1-\alpha)k_{0,1}(y) \end{aligned}\] where \(\alpha \in (0,1)\), \(0<r\ll1\) and \(k_{\mu,r}(\cdot):=\frac{1}{r}k(\frac{\cdot-\mu}{r})\), with \(k\) as the density of 1-dim uniform distribution supported on \([-1,1]\). Note that as \(\alpha\to0\) and \(r\to 0\), the model is essentially an independence case contaminated with a small point mass. Additionally with \(\alpha/r \to \infty\), we can show that (see for details) \[\label{nonthred} \EE{T(X,Y)} \approx \frac{\alpha}{r} \to \infty,\] that is the non-thresholded version of \(\text{aLDG}\) is very large under such simple case of small departure from independence, therefore is problematic. With thresholding, however, \(\text{aLDG}\) is guaranteed to be approximately \(\alpha\), which goes to zero for small perturbations, as one would desire.
# Empirical evaluation {#sec:aLDGcompare}
## Single-cell data application {#sec:real}
In this section, we evaluate aLDG among the other measures using scRNA-seq data from two studies.
#### Chu dataset {#chu-dataset .unnumbered}
This dataset contains 1018 cells of human embryonic stem cell-derived lineage-specific progenitors. The seven cell types, including H1 embryonic stem cells (H1), H9 embryonic stem cells (H9), human foreskin fibroblasts (HFF), neuronal progenitor cells (NPC), definitive endoderm cells (DEC), endothelial cells (EC), and trophoblast-like cells (TB), were identified by fluorescence-activated cell sorting (FACS) with their respective markers. On average, 9600 genes are measured per cell. In the following, we show some special gene pairs that exhibit strong, weak, or no relational patterns and the corresponding dependence values produced by different measures. We find that only aLDG gives a high value for strong relational patterns no matter how complex the pattern composition is; maintains near-zero values for known independent cases; and avoids a spurious relationship skewed by technical noise and sparsity (Figure [\[fig:realbi\]](#fig:realbi){reference-type="ref" reference="fig:realbi"}).
#### Autism Spectrum Disorder (ASD) Brain dataset {#autism-spectrum-disorder-asd-brain-dataset .unnumbered}
includes scRNA-seq data from an ASD study that collected 105 thousand nuclei from cortical samples taken from 22 ASD and 19 control samples. Samples were matched for age, sex, RNA integrity number, and postmortem interval. In the following, we compare control and ASD groups by testing for differences in their gene co-expression matrices using the sparse-Leading-Eigenvalue-Driven (sLED) test. sLED takes the gene co-expression matrices for both control and ASD groups as input, and outputs a \(p\)-value indicating the significance of their difference. This method is particularly designed to detect differential signals attributable to a small fraction of the genes. To emphasize the contrast with differentially expressed genes, call these differential network genes. Here we compare the power of the test for various co-expression measures. We use cells classified as L2/3 excitatory neurons (414 cells from ASD samples and 358 from control samples) and a set of 50 genes chosen randomly among the top 500 genes deferentially expressed between ASD and control samples. In addition, we manually add noise by randomly swapping 10% of the control and ASD labels in the original data to see which measures detect the signal in the presence of greater noise. We omit HHG for this task as it requires too much computation time. Boxplots of \(p\)-values from sLED test across 10 independent trials (different random swapping each trial) are shown for all the remaining measures (). Among the remaining measures, we find that HSIC, \(\tau^\star\), Hoeffding's D, MIC, and aLDG perform well compared to Pearson, Spearman, Kendall, MRank and dCor. A visualization of the corresponding control versus ASD co-expression differences is displayed in , showing that the winners produce difference matrices with a few dominating entries, which is favored by the sLED test, while the others produce relatively flat and noisy patterns.
## Simulation results {#sec:simu}
In this section, we consider simulations that resembling single-cell data to gain insights underlying the behavior of aLDG relative to the other methods. Specifically, we investigate scenarios where the bivariate relationship is (1) finite mixture; (2) linear or nonlinear; (3) monotone or non-monotone. See for all the synthetic data distributions we considered. We evaluate each dependence measure from the following perspective: (1) ability to capture complex relationship; (2) ability to accumulate subtle local dependence; (3) interpretation of strength of dependence in common sense; (4) power as an independence test; and (5) computation time. In the following, we focus on one perspective in each subsection, showing selective examples that inform our conclusions, relegating other examples to supplementary materials.
#### Detecting nonlinear, non-monotone relationships
By construction, aLDG is expected to detect any non-negligible deviation from independence. Though many existing measures, such as HSIC, Hoeffding's D, dCor, \(\tau^\star\), claim to be sensitive to nonlinear, non-monotone relationships, some approaches are known to perform poorly under certain circumstances. By contrast, aLDG outperforms most of its competitors in the following standard evaluation experiment. illustrates three points: (1) at independence, except for dCor, HHG, and MIC, most measures produce negligible values, as desired; (2) for linear and monotone relationship, all measures produce high values as expected; and (3) for nonlinear non-monotone relationships only aLDG, dCor, HHG and MIC produce high values consistently. In conclusion, only aLDG can effectively detect various types of dependency relationships while maintaining near-zero value at independence. dCor, HHG, and MIC are known to be sensitive to small, artificial deviations from independence, and these simulations reveal that they are indeed too sensitive as they often produce high values at independence. A big portion of scRNA-seq data are collected over time; therefore, nonlinear, non-monotone and specifically oscillatory relationships are expected to happen. Therefore it is desirable to have a measure that is sensitive to dependence while remaining near zero of true independence, even under small perturbations.
#### Accumulating subtle local dependencies
aLDG detects the subset of the sample space that shows a pattern of dependence. In , we simulated data as a bivariate Gaussian mixture consisting of three components with a varying proportion of highly dependent components and estimated the corresponding dependence level. We find that aLDG, together with other dependence measures designed to capture local dependence (HHG and MIC) increase with the proportion of highly correlated components, indicates that these global dependence measures can also detect subtle local dependence structure. Similar results are obtained for Negative Binomial mixtures . As the finite mixture relationship is a common choice of model for scRNA-seq data, this suggests that measures able to accumulate dependencies across individual components could considerably benefit scRNA-seq data analysis.
#### Degree of dependencies
While it is hard to define the relative dependence level in general, we argue that when one random variable is a function of the other, \(Y=h(X)\), then the pair should be regarded as having the perfect dependence (and be assigned of dependence level \(1\)). Moreover, the dependence level should decrease as independent noise is added. That is, for \(Y_\epsilon = h(X) + \epsilon\), where \(\epsilon \perp X\), one should expect the dependence measure \(\delta\) to satisfy \(\delta(Y_{\epsilon},X) < \delta(Y,X)\). We checked this monotonicity property by simulating data with several bivariate relationships and varying levels of noise (). Specifically, we simulate the noise \(\epsilon\) to be standard normal, and \(Y = h(X) + c\epsilon\) where \(c\in[0,1]\) indicates the noise level. We find that aLDG, HSIC, MIC, dCor, and HHG all show a clear decreasing pattern as the noise level increases; however, aLDG shows the most consistent monotonic drop from perfect dependence as the noise level increased.
#### Power as an independence test
Dependence measures are natural candidates for tests of independence. In this context, most existing dependence measures rely on bootstrapping or permutation to determine significance; hence we adopt this practice for all the dependence measures under comparison. shows the empirical power under test level 0.05 for various types of data distribution and sample size, where we do 200 repetitions of permutations to estimate the null distribution. We observe the following outcomes: (1) almost all tests have controlled type-I error under independence; (2) Pearson's \(\rho\), Spearman's \(\rho_S\) and Kendall's \(\tau\) are powerless for testing nonlinear and non-monotone relationships; (3) aLDG, HHG, and HSIC are consistently among the top three most powerful approaches for testing both linear and nonlinear, monotone and non-monotone relationships. Similar observations can be made for tests based on Gaussian mixtures and Negative Binomial mixtures .
#### Computational comparisons
Theoretically speaking, aLDG requires \(O(n^2)\) in time of computation (where \(n\) is the number of samples), which is comparable to reported requirements for most dependence measures that can detect complex relationships. This empirically confirmed in a comparison of the computation time of aLDG with all its competitors. In we plot the time of computation versus sample size \(n\) for different dependence measures[^3]. In previous evaluations, we saw that HHG as a method motivated from capturing local dependence structure, was indeed a strong competitor to aLDG: it has high power as an independence test across almost all the data distribution we considered; however, it requires \(O(n^3)\) time of computation, and shows this large discrepancy from all the other methods, which normally takes \(O(n^2)\) time.
# Conclusion and Discussion
In this paper, we formalize the idea of averaging the *cell-specific gene association* under a general statistical framework. We show that this approach produces a novel univariate dependence measure, called aLDG, that can detect nonlinear, non-monotone relationships between a pair of variables. We then develop the corresponding theoretical properties of this estimator, including robustness and consistency. We also provide several hyper-parameter choices that are more justifiable and effective. Extensive simulations, motivated by expected scRNA-seq gene co-expression relationships and real data applications, show that this measure outperforms existing independence measures in various aspects: (1) it accumulates subtle local dependence over sub-populations; (2) it successfully interprets the relative strength of a monotonic function of dependence in the presence of noise better than many other measures that arose from independence test; (3) it is sensitive to complex relationships while robustly maintaining near-zero value at true independence, while several other measures are often overly sensitive to slight perturbations from independence and noise; (4) it computes comparatively rapidly compared to other dependence measures designed to capture complex relationships. Other measures perform well in some settings but fail in others that are highly relevant to the single-cell setting. For instance, MIC performed well as part of the sLED test for differences in co-expression matrices, but this measure tends to produce a high estimate of dependence even when the variables are independent, or nearly so (Figure [\[fig:nonlinear\]](#fig:nonlinear){reference-type="ref" reference="fig:nonlinear"} and Figure [\[fig:mono\]](#fig:mono){reference-type="ref" reference="fig:mono"}). The moment-based methods like Pearson, dCor, and HSIC perform poorly when the expression values are sparse, producing false indications of correlation (Figure [\[fig:realbi\]](#fig:realbi){reference-type="ref" reference="fig:realbi"}), and yet sparsity is the norm in most single cell data. Our method is implemented in the R package aLDG[^4], where we also include all the other methods that we have compared with. The aLDG method does have some practical challenges: as a measure based on density estimation, the hyperparameter choices such as bandwidth can affect the performance of the measure. Though we provide some asymptotically optimal choices of those hyperparameters, in practice, they can fail due to the small sample size. For any given setting, the hyperparameters can be adjusted based on realistic simulations of the actual data and a solid understanding of the scRNA-seq data distribution. Similarly, due to the reliance on density estimation, it is hard to extend this measure to a multivariate setting. The sample size required for accurate estimation grows exponentially with the dimension. In practice, this limitation has little practical importance because gene co-expression studies focus on bivariate relationships. | {'timestamp': '2022-03-07T02:02:24', 'yymm': '2203', 'arxiv_id': '2203.01990', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01990'} |
null | null |
null | null |
null | null |
# Introduction
When considering the dynamics of composite quantum systems, there are many regimes where one system can be taken to be classical and the other quantum-mechanical. For example, in quantum thermodynamics we often have a quantum system interacting with a large thermal reservoir that can be treated classically, whilst in atomic physics it is common to consider the behaviour of quantum atoms in the presence of classical electromagnetic fields. Things become more complicated when one considers classical-quantum (CQ) dynamics where the quantum system back-reacts on the classical system. This is particularly relevant in gravity, because we would like to study the back-reaction of thermal radiation being emitted from black holes on space-time, and while the matter fields can be described by quantum field theory, we only know how to treat space-time classically. Likewise in cosmology, vacuum fluctuations are a quantum effect which we believe seeds galaxy formation, while the expanding space-time they live on can only be treated classically. In addition to the need for an effective theory which treats space-time in the classical limit, there has long been a debate about whether one should quantise gravity [@cecile2011role; @Feynman:1996kb-note; @AharonovParadoxes-note; @eppley1977necessity; @unruh1984steps; @carlip2008quantum; @Mari:2015qva; @Baym3035; @belenchia2018quantum; @kent2018simple; @oppenheim_post-quantum_2018; @rydving2021gedanken]. There has even been much discussion on whether quantum-classical coupling can even be consistent. Many proposals for such dynamics are not completely positive (CP)[^1], meaning they are at best an approximation and fail outside a regime of validity. The semi-classical Einstein's equation, which replaces the quantum operator corresponding to the stress-energy tensor by its expectation value, is another attempt to treat the classical limit from an effective point of view, but it is non-linear in the state, leading to pathological behavior if quantum fluctuations are of comparable magnitude to the stress-energy tensor. This is often the precise regime we would like to understand. However, dynamics introduced in and studied in do not suffer from such problems, and lead to consistent dynamics. In particular, the master-equation shown in Equation [\[eq: cqdyngen\]](#eq: cqdyngen){reference-type="eqref" reference="eq: cqdyngen"}, is linear, preserves the division of classical degrees of freedom and quantum ones, and is completely positive (CP) and preserves normalisation. This ensures that probabilities of measurement outcomes remain positive and always add to \(1\). The dynamics is related to the GKSL or Lindblad equation , which for bounded generators of the dynamics, is the most general Markovian dynamics for an open quantum system. Likewise, Equation [\[eq: cqdyngen\]](#eq: cqdyngen){reference-type="eqref" reference="eq: cqdyngen"} is the most general Markovian classical-quantum dynamics with bounded generators . Sub-classes of this master equation along with meeasurement and feedback approaches have been discussed in the context of Newtonian models of gravity , and further developed into a spatially covariant framework so that Einstein gravity in the ADM formalism emerges as a limiting case. In this work, we move away from specific realisations of CQ dynamics, in order to discuss their common features and the experimental signatures that follow from this. An early precursor to the discussion here, is the insight of Diósi who added classical noise and quantum decoherence to the master equation of, and found the noise and decoherence trade-off required for the dynamics to become completely positive. Here we prove that the phenomena found in are generic features of all CQ dynamics; the classical-quantum interaction necessarily induces decoherence on the quantum system, and there is a generic trade-off between the rate of decoherence and the amount of diffusion in the classical phase space. The stronger the interaction between the quantum system and the classical one, the greater the trade-off. One cannot have quantum systems with long-coherence times without inducing a lot of diffusion in the classical system. One can also generalise this result to a trade-off between the rate of diffusion and the strength of more general couplings to Lindblad operators, with decoherence being a special case. This is expressed as Equations [\[eq: decdifnonham\]](#eq: decdifnonham){reference-type="eqref" reference="eq: decdifnonham"} and [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"}, which bounds the product of diffusion coefficients and Lindblad coupling constants in terms of the strength of the CQ-interaction. It is precisely this trade-off which allows the theories considered here, to evade the no-go arguments of Feynmann, Aharonov, Eppley and Hannah and others. The essence of arguments against quantum-classical interactions is that they would prohibit superpositions of quantum systems which source a classical field. Since different classical fields are perfectly distinguishable in principle, if the classical field is in a distinct state for each quantum state in the superposition, the classical field could always be used to determine the state of the quantum system, causing it to decohere instantly. By satisfying the trade-off, the quantum system preserves coherence because diffusion of the classical degrees of freedom mean that the state of the classical field does not determine the state of the quantum system. Equation [\[eq: decdifnonham\]](#eq: decdifnonham){reference-type="eqref" reference="eq: decdifnonham"} and other variants we derive, quantify the amount of diffusion required to preserve any amount of coherence. If space-time curvature is treated classically, then complete positivity of the dynamics means its interaction with quantum fields *necessarily* results in unpredictability and gravitationally induced decoherence. This trade-off between the decoherence rate and diffusion provides an experimental signature, not only of models of hybrid Newtonian dynamics such as or post-quantum theories of General Relativity such as but of any theory which treats gravity as being fundamentally classical. The metric and their conjugate momenta necessarily diffuse away from what Einstein's General Relativity predicts. This experimental signature squeezes classical-quantum theories of gravity from both sides: if one has shorter decoherence times for superpositions of different mass distributions, one necessarily has more diffusion of the metric and conjugate momenta. In Appendix [\[sec: grav diffusion\]](#sec: grav diffusion){reference-type="ref" reference="sec: grav diffusion"} we show that the latter effect causes imprecision in measurements of mass such as those undertaken in the Cavendish experiment or in measurements of Newton's constant "Big G\". The precision at which a mass can be measured in a short time, thus provides an upper bound on the amount of gravitational diffusion, as quantified by Equation [\[eq: variationForceMain\]](#eq: variationForceMain){reference-type="eqref" reference="eq: variationForceMain"}, while decoherence experiments place a lower bound on the diffusion. Our estimates suggest that experimental lower bounds on the coherence time of large molecules, combined with gravitational experiments measuring the acceleration of small masses, already place strong restrictions on theories where space time isn't quantised. In Section [11](#sec: gravity){reference-type="ref" reference="sec: gravity"} we show that several realisations of CQ-gravity are already ruled out, while other realisations produce enough diffusion away from General Relativity to be detectable by future table-top experiments. Although the absence of such deviations from General Relativity would not be as direct a confirmation of the quantum nature of gravity, such as experiments proposed in to exhibit entanglement generated by gravitons, it would effectively rule out any sensible theory which treats space-time classically. While confirmation of gravitational diffusion would suggest that space-time is fundamentally classical. The outline of this paper is as follows. In Sec. [8](#sec: cqdnamics){reference-type="ref" reference="sec: cqdnamics"} we review the general form of the CQ master equation of classical-quantum systems. The CQ-map can be represented in a manner akin to the Kraus-representation for quantum maps, with conditions for it to be Completely Positive and Trace Preserving (CPTP). We can perform a short time moment expansion of the *CQ-map* taking states at some initial time, to states at a later time. This gives us the CQ version of the Kramers-Moyal expansion . The physical meaning of the moments is discussed in Subsection [8.2](#ss:momentsmeaning){reference-type="ref" reference="ss:momentsmeaning"}. In Sec. [9](#sec: tradeoff){reference-type="ref" reference="sec: tradeoff"} we show that there is a general trade-off between decoherence of the quantum system and diffusion in the classical system. We generalize the trade-off to the case of fields in Section [10](#sec: fieldTradeOff){reference-type="ref" reference="sec: fieldTradeOff"} and in Subsection [11](#sec: gravity){reference-type="ref" reference="sec: gravity"}, we apply the inequality in the gravitational setting. The positivity constraints mean that the considerations do not depend on the specifics of the theory, only that it treats gravity classically, and be Markovian. This allows us to discuss some of the observational implications of this result and we comment on the relevant figures of merit required in interference and precision mass measurements in order to constrain theories of gravity, as they are not always readily available in published reports. In addition to table-top constraints, we consider those due to cosmological observations. We then conclude with a discussion of our results in Sec. [12](#sec: conclusion){reference-type="ref" reference="sec: conclusion"}. The Appendix collects or previews a number of technical results.
# Classical-Quantum dynamics {#sec: cqdnamics}
Let us first review the general map and master equation governing classical-quantum dynamics. The classical degrees of freedom are described by a differential manifold \(\mathcal{M}\) and we shall generically denote elements of the classical space by \(z\). For example, we could take the classical degrees of freedom to be position and momenta in which case \(\mathcal{M}= \mathbb{R}^{2}\) and \(z= (q,p)\). The quantum degrees of freedom are described by a Hilbert space \(\mathcal{H}\). Given the Hilbert space, we denote the set of positive semi-definite operators with trace at most unity as \(S_{\leq 1}(\mathcal{H})\). Then the CQ object defining the state of the CQ system at a given time is a map \(\varrho: \mathcal{M} \to S_{\leq 1}(\mathcal{H})\) subject to a normalization constraint \(\int_{\mathcal{M}} dz \Tr{\mathcal{H}}{\varrho} =1\). To put it differently, we associate to each classical degree of freedom a sub-normalized density operator, \(\varrho(z)\), such that \(\Tr{\mathcal{H}}{\varrho} = p(z) \geq 0\) is a normalized probability distribution over the classical degrees of freedom and \(\int_{\mathcal{M}} dz \varrho(z)\) is a normalized density operator on \(\mathcal{H}\). An example of such a *CQ-state* is the CQ qubit depicted as a \(2\times 2\) matrix over phase space. More generally, we can define any *CQ operator* \(f(z)\) which lives in the fibre bundle with base space \(\mathcal{M}\) and fibre \(\mathcal{H}\). Just as the Lindblad equation is the most general evolution law which maps density matrices to density matrices, we can ask, what is the most general evolution law, which preserves the quantum-classical state-space. Any such dynamics, if it is to preserve probabilities, must be completely positive, norm preserving, and linear in the CQ-state[^2]. We will also require the map to be Markovian on the combined classical-quantum system, which is equivalent to requiring that there is no hidden system which acts as a memory. This is natural if the interaction is taken to be fundamental, but is the assumption which one might want to remove if one thinks of the hybrid theory as an effective description. We thus take these as the minimal requirements that any fundamental classical-quantum theory must satisfy if it is to be consistent. The most general CQ-dynamics, which maps CQ states onto themselves can be written in the form \[\label{eq: CPmap} \varrho(z,t+ \delta t) = \int dz'\sum_{\mu \nu}\Lambda^{\mu\nu}(z|z',\delta t) L_{\mu} \varrho(z',t) L_{\nu}^{\dag}\] where the \(L_{\mu}\) are an orthogonal basis of operators and \(\Lambda^{\mu\nu}(z|z',\delta t)\) is positive semi-definite for each \(z,z'\). Henceforth, we will adopt the Einstein summation convention so that we can drop \(\sum_{\mu\nu}\) with the understanding that equal upper and lower indices are presumed to be summed over. The normalization of probabilities requires \[\label{eq: prob} \int dz \Lambda^{\mu\nu}(z|z',\delta t) L_{\nu}^{\dag}L_{\mu} =\mathbb{I}.\] The choice of basis \(L_\mu\) is arbitrary, although there may be one which allows for unique trajectories. Equation [\[eq: CPmap\]](#eq: CPmap){reference-type="eqref" reference="eq: CPmap"} can be viewed as a generalisation of the Kraus decomposition theorem. In the case where the classical degrees of freedom are taken to be discrete, Poulin used the diagonal form of this map to derive the most general form of Markovian master equation for bounded operators, which is the one introduced in . When the classical degrees of freedom are taken to live in a continuous configuration space, we need to be a little more careful, since \(\varrho(z)\) may only be defined in a distributional sense; for example, \(\varrho(z) = \delta(z, \bar{z}) \varrho( \bar{z})\). In this case [\[eq: CPmap\]](#eq: CPmap){reference-type="eqref" reference="eq: CPmap"} is completely positive if the eigenvalues of \(\Lambda^{\mu \nu}(z|z',\delta t)\), \(\lambda^{\mu}(z|z',\delta t)\), are positive so that \(\int dz dz' P_{\mu}(z,z')\lambda^{\mu}(z|z',\delta t) \geq 0\) for any vector with positive components \(P_{\mu}(z,z')\). One can derive the CQ master equation by performing a short time expansion of [\[eq: CPmap\]](#eq: CPmap){reference-type="eqref" reference="eq: CPmap"} in the case when the \(L_\mu\) are bounded. To do so, we first introduce an arbitrary basis of traceless Lindblad operators on the Hilbert space, \(L_{\mu} = \{I, L_{\alpha}\}\). Now, at \(\delta t=0\) we know [\[eq: CPmap\]](#eq: CPmap){reference-type="eqref" reference="eq: CPmap"} is the identity map, which tells us that \(\Lambda^{00} (z|z', \delta t=0) = \delta(z,z')\). Looking at the short time expansion coefficients, by Taylor expanding in \(\delta t \ll 1\), we can write \[\begin{aligned}
\label{eq: shortime} &\Lambda^{\mu \nu}(z|z',\delta t) = \delta^{\mu}_{0} \delta^{ \nu}_{0} \delta(z,z') + W^{\mu \nu}(z|z') \delta t + O(\delta t^2). \end{aligned}\] By substituting the short time expansion coefficients into [\[eq: CPmap\]](#eq: CPmap){reference-type="eqref" reference="eq: CPmap"} and taking the limit \(\delta t \to 0\) we can write the master equation in the form \[\begin{aligned}
\frac{\partial \varrho(z,t)}{\partial t} = \int dz' \ W^{\mu \nu}(z|z') L_{\mu} \varrho(z') L_{\nu}^{\dag}-\frac{1}{2}W^{\mu \nu}(z) \{ L_{\nu}^{\dag} L_{\mu}, \varrho \}_+, \label{eq: cqdyngen} \end{aligned}\] where \(\{, \}_+\) is the anti-commutator, and preservation of normalisation under the trace and \(\int dz\) defines \[W^{\mu \nu}(z) = \int \mathrm{d} z' W^{\mu \nu}(z'| z).\] We see the CQ master equation is a natural generalisation of the Lindblad equation and classical rate equation in the case of classical-quantum coupling. We give a more precise interpretation of the different terms arising when we perform the Kramers-Moyal expansion of the master equation at the end of the section. The positivity conditions from [\[eq: CPmap\]](#eq: CPmap){reference-type="eqref" reference="eq: CPmap"} transfer to positivity conditions on the master equation via [\[eq: shortime\]](#eq: shortime){reference-type="eqref" reference="eq: shortime"}. We can write the positivity conditions in an illuminating form by writing the short time expansion of the transition amplitude \(\Lambda^{\mu \nu}(z|z',\delta t)\), as defined by equation [\[eq: shortime\]](#eq: shortime){reference-type="eqref" reference="eq: shortime"}, in block form \[\label{eq: block1} \Lambda^{\mu \nu}(z|z',\delta t) = \begin{bmatrix} \delta(z,z') + \delta t W^{00}(z|z') & \delta t W^{0\beta}(z|z') \\ \delta t W^{\alpha 0}(z|z') & \delta t W^{\alpha \beta} (z|z') \\ \end{bmatrix} + O(\delta t^2)\] and the dynamics will be positive if and only if \(\Lambda^{\mu \nu}(z|z',\delta t)\) is a positive matrix. It is possible to introduce an arbitrary set of Lindblad operators \(\bar{L}_{\mu}\) and appropriately redefine the couplings \(W^{\mu \nu}(z|z')\) in [\[eq: cqdyngen\]](#eq: cqdyngen){reference-type="eqref" reference="eq: cqdyngen"}. For most purposes, we shall work with a set of Lindblad operators which includes the identity \(L_{\mu} = (I, L_{\alpha})\); this is sufficient since any CQ master equation is completely positive if and only if it can be brought to the form in [\[eq: cqdyngen\]](#eq: cqdyngen){reference-type="eqref" reference="eq: cqdyngen"}, where the matrix [\[eq: block1\]](#eq: block1){reference-type="eqref" reference="eq: block1"} is positive.
## The CQ Kramers-Moyal expansion {#sec: kramersMoyal}
In order to study the positivity conditions it is first useful to perform a moment expansion of the dynamics in a classical-quantum version of the Kramers-Moyal expansion . In classical Markovian dynamics, the Kramers-Moyal expansion relates the master equation to the moments of the probability transition amplitude and proves to be useful for a multitude of reasons. Firstly, the moments are related to observable quantities; for example, the first and second moments of the probability transition amplitude characterize the amount of drift and diffusion in the system. This is reviewed in Subsection [8.2](#ss:momentsmeaning){reference-type="ref" reference="ss:momentsmeaning"}. Secondly, the positivity conditions on the master equation transfer naturally to positivity conditions on the moments, which we can then relate to observable quantities. In the classical-quantum case, we shall perform a short time moment expansion of the transition amplitude \(\Lambda^{\mu \nu}(z|z',\delta t)\) and then show that the master equation can be written in terms of these moments. We then relate the moments to observational quantities, such as the decoherence of the quantum system and the diffusion in the classical system. We work with the form of the dynamics in [\[eq: cqdyngen\]](#eq: cqdyngen){reference-type="eqref" reference="eq: cqdyngen"}, using an arbitrary orthogonal basis of Lindblad operators \(L_{\mu} = \{\mathbb{I}, L_{\alpha}\}\). We take the classical degrees of freedom \(\mathcal{M}\) to be \(d\) dimensional, \(z= (z_1, \dots z_d)\), and we label the components as \(z_i\), \(i \in \{1, \dots d\}\). We begin by introducing the moments of the transition amplitude \(W^{\mu \nu}(z|z')\) appearing in the CQ master equation [\[eq: shortime\]](#eq: shortime){reference-type="eqref" reference="eq: shortime"} \[D^{\mu \nu}_{n, i_1 \dots i_n}(z'):= \frac{1}{n!}\int dz W^{\mu \nu}(z|z')(z-z')_{i_1} \dots (z-z')_{i_n}.\] The subscripts \(i_j \in \{1, \dots d\}\) label the different components of the vectors \((z-z')\). For example, in the case where \(d=2\) and the classical degrees of freedom are position and momenta of a particle, \(z=(z_1,z_2) = (q,p)\), then we have \((z-z') = (z_1-z'_1, z_2-z_2') = ( q-q',p-p')\). The components are then given by \((z-z')_1 = (q-q')\) and \((z-z')_2 = (p-p')\). \(M^{\mu \nu}_{n, i_1 \dots i_n} (z',\delta t)\) is seen to be an \(n\)'th rank tensor with \(d^n\) components. In terms of the components \(D^{\mu \nu}_{n, i_1 \dots i_n}\) the short time expansion of the transition amplitude \(\Lambda^{\mu \nu}(z|z')\) is given by \[\label{eq: shortimeCP} \Lambda^{\mu \nu}(z|z',\delta t) = \delta_0^{\mu} \delta_0^{\nu} \delta(z,z') + \delta t \sum_{n=0}^{\infty}D^{\mu \nu}_{n, i_1 \dots i_n}(z') \left(\frac{\partial^n }{\partial z_{i_1}' \dots \partial z_{i_n}' }\right) \delta(z,z') + O(\delta t^2),\] and the master equation takes the form \[\begin{aligned}
\label{eq: expansion}\nonumber \frac{\partial \varrho(z,t)}{\partial t} &= \sum_{n=1}^{\infty}(-1)^n \left(\frac{\partial^n }{\partial z_{i_1} \dots \partial z_{i_n} }\right) \left( D^{00}_{n, i_1 \dots i_n}(z,\delta t) \varrho(z,t) \right)\\ \nonumber & -i [H(z),\varrho(z) ] + D_0^{\alpha \beta}(z) L_{\alpha} \varrho(z) L_{\beta}^{\dag}-\frac{1}{2} D_0^{\alpha \beta} \{ L_{\beta}^{\dag} L_{\alpha}, \varrho(z) \}_+ \\ & + \sum_{\mu \nu \neq 00} \sum_{n=1}^{\infty}(-1)^n \left(\frac{\partial^n }{\partial z_{i_1} \dots \partial z_{i_n} }\right)\left( D^{\mu \nu}_{n, i_1 \dots i_n}(z) L_{\mu} \varrho(z,t) L_{\nu}^{\dag} \right), \end{aligned}\] where we define the Hermitian operator \(H(z)= \frac{i}{2}(D^{\mu 0}_0 L_{\mu}-D^{0 \mu}_0 L_{\mu}^{\dag})\) (which is Hermitian since \(D^{\mu 0}_0 = D^{0 \mu *}_0\)). We see the first line of [\[eq: expansion\]](#eq: expansion){reference-type="eqref" reference="eq: expansion"} describes purely classical dynamics, and is fully described by the moments of the identity component of the dynamics \(\Lambda^{00}(z|z')\). The second line describes pure quantum Lindbladian evolution described by the zeroth moments of the components \(\Lambda^{\alpha 0}(z|z'), \Lambda^{\alpha \beta}(z|z')\); specifically the (block) off diagonals, \(D^{\alpha 0}_0(z)\), describe the pure Hamiltonian evolution, whilst the components \(D^{\alpha \beta}_0(z)\) describe the dissipative part of the pure quantum evolution. Note that the Hamiltonian and Lindblad couplings can depend on the classical degrees of freedom so the second line describes action of the classical system on the quantum one. The third line contains the non-trivial classical-quantum back-reaction, where changes in the distribution over phase space are induced and can be accompanied by changes in the quantum state.
## Physical interpretation of the moments {#ss:momentsmeaning}
Let us now briefly review the physical interpretation of the moments which will appear in our trade-off relation. In particular, the zeroth moment determines the rate of decoherence (and Lindbladian coupling more generally), the first moment gives the force exerted by the quantum system on the classical system, and the second moment determines the diffusion of the classical degrees of freedom. For this discussion we shall take the classical degrees of freedom to live in a phase space \(\Gamma = (\mathcal{M}, \omega)\), where \(\omega\) is the symplectic form. Consider the expectation value of any CQ operator \(O(z)\), \(\langle O(z)\rangle:=\int dz \tr{O(z)\varrho}\) which doesn't have an explicit time dependence. Its evolution law can be determined via Equation [\[eq: expansion\]](#eq: expansion){reference-type="eqref" reference="eq: expansion"} \[\begin{aligned}
\frac{d\langle O\rangle}{dt}& =\int dz \tr{ O(z)\frac{\partial \varrho}{\partial t}}\nonumber\\ &= \int dz \mathrm{Tr}\varrho \left[ -i [O(z),H(z)] + D_0^{\alpha \beta}(z) L_{\beta}^{\dag}O(z) L_{\alpha}-\frac{1}{2} D_0^{\alpha \beta} \{ L_{\alpha}L_{\beta}^{\dag}, O(z) \}_+ \right.\nonumber \\ & + \left. \sum_{n=1}^{\infty} \left(\frac{\partial^n }{\partial z_{i_1} \dots \partial z_{i_n} }\right)\left( D^{\alpha\beta}_{n, i_1 \dots i_n}(z) L_{\beta}^{\dag} L_{\alpha} O(z,t) \right) \right] \label{eq Hexpansion2} \end{aligned}\] where we have used cyclicity of trace and integration by parts, to bring the equation of motion into a form which would enable us to write a CQ version of the *Heisenberg representation* for a CQ operator. If we are interested in the expectation value of phase space variables \(O(z)=z_i\mathbbm{I}\) then Equation [\[eq Hexpansion2\]](#eq Hexpansion2){reference-type="eqref" reference="eq Hexpansion2"} gives \[\begin{aligned}
\frac{d\langle z_i \rangle}{dt}= \int dz D^{\mu \nu}_{1,i}\tr{L_\nu^\dagger L_\mu \varrho(z,t)} \label{eq:semiHamiltonsequation} \end{aligned}\] with all higher order terms vanishing, and we see that \(\sum_{\mu \nu \neq 00} D^{\mu\nu}_{1,i}\langle L^\dagger_\nu L_\mu\rangle\) governs the average rate at which the quantum system moves the classical system through phase space, and with the back-reaction is quantified by the Hermitian matrix \(D_1^{\alpha \mu}:= (D_{1}^{br})^{\alpha \mu}\). The force of this back-reaction is especially apparent if the equations of motion are Hamiltonian in the classical limit as in. I.e. if we define \(H_I(z) := h^{\alpha \beta} L^{\dag}_{\beta} L_{\alpha}\) and take \(D^{\alpha\beta}_{1,i}=\omega_i^j d_j h^{\alpha\beta}\) with \(\omega\) the symplectic form and \(d_j\) the exterior derivative. Then Equation [\[eq:semiHamiltonsequation\]](#eq:semiHamiltonsequation){reference-type="eqref" reference="eq:semiHamiltonsequation"} is analogous to Hamilton's equations, and the CQ evolution equation after tracing out the quantum system has the form of a Liouville's equation to first order and in the classical limit, \[\frac{\partial \rho(z,t) }{\partial t} = \{H_c, \rho(z,t) \} + \mathrm{tr}\left(\{H_I(z), \varrho(z) \}\right) + \dots \label{eq: limit}\] with \(\rho(z):=\tr{\varrho(z)}\). The significance of the second moment is also seen via Equation [\[eq Hexpansion2\]](#eq Hexpansion2){reference-type="eqref" reference="eq Hexpansion2"} to be related to the variance of phase space variables \(\sigma_{z_{i_1}z_{i_2}}:=\langle z_{i_1}z_{i_2}\rangle-\langle z_{i_1}\rangle\langle z_{i_2}\rangle\) \[\begin{aligned}
\frac{d\sigma^2_{z_{i_1},z_{i_2}}}{dt}=2\langle D^{\alpha\beta}_{2,i_1,i_2} L^\dagger_\beta L_\alpha \rangle +\langle z_2 D^{\alpha\beta}_{1,z_{i_1}}L^\dagger_\beta L_\alpha\rangle - \langle z_{i_2}\rangle\langle D^{\alpha\beta}_{1,z_{i_1}}L^\dagger_\beta L_\alpha\rangle +\langle z_{i_1} D^{\alpha\beta}_{1,z_{i_2}} L^\dagger_\beta L_\alpha \rangle - \langle z_{i_1}\rangle \langle D^{\alpha\beta}_{1,z_{i_2}}L^\dagger_\beta L_\alpha\rangle \label{eq:variance} \end{aligned}\] In the case when \(D_{1,z_{i_1}}\) is uncorrelated with \(z_{i_2}\) and \(D_{1,z_{i_2}}\) uncorrelated with \(z_{i_1}\), then the growth of the variance only depends on the diffusion coefficient. The zeroth moment \(D^{\alpha\beta}_0\) is just the pure Lindbladian couplings. The simplest example is the case of a pure decoherence process with a single Hermitian Lindblad operator \(L\) and decoherence coupling \(D_0\). Then we can define a basis \(\{|a \rangle\}\) via the eigenvectors of \(L\) and \[\begin{aligned}
\bra{a}\frac{\partial\varrho}{\partial t}\ket{b} = -i\bra{a}[H(z),\varrho]\ket{b}-\frac{1}{2}D_0(L(a)-L(b))^2 \langle a| \varrho |b \rangle \end{aligned}\] and we see that the matrix elements of \(\varrho\) which quantify coherence between the states \(\ket{a}\),\(\ket{b}\) decay exponentially fast with a decay rate of \(D_0(L(a)-L(b))^2\). For a damping/pumping process of a quantum harmonic oscillator with Hamiltonian \(H=\omega a^\dagger a\), \(L_\downarrow=a\), \(L_\uparrow=a^\dagger\), \(a\) the creation operator, and \(D_0^{\uparrow\uparrow}\), \(D_0^{\downarrow\downarrow}\) the non-zero couplings, then standard calculations show that an initial superposition \(\frac{1}{\sqrt{2}}\ket{n+m}\) with \(n\),\(m\) large and \(n\gg m\) will initially decohere at a rate of approximately \((D_0^{\uparrow\uparrow}+D_0^{\downarrow\downarrow})(m+n)/2\), and the state will eventually thermalise to a temperature of \(\omega /\log{(D_0^{\downarrow\downarrow}/D_0^{\uparrow\uparrow})}\). So in this case, the Lindblad couplings not only determine the rate of decoherence, but also the rate at which energy is pumped into the harmonic oscillator. In the next section we will derive the trade-off between Lindblad couplings and the diffusion coefficients. Although we will sometimes refer to this as a trade-off between decoherence and diffusion, this terminology is only strictly appropriate for pure decoherence processes, while more generally, it is a trade-off between Lindblad couplings and diffusion coefficients.
# A Trade off between decoherence and diffusion {#sec: tradeoff}
In this section we use positivity conditions to prove that the trade off between decoherence and diffusion seen in models such as those of are in fact a general feature of *all* classical-quantum interactions. We shall also generalise this, and derive a trade-off between diffusion and arbitrary Lindbladian coupling strengths. The trade-off is in relation to the strength of the dynamics and is captured by Equation's [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"}, [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} and [\[eq: decdifnonham\]](#eq: decdifnonham){reference-type="eqref" reference="eq: decdifnonham"}. In section [10](#sec: fieldTradeOff){reference-type="ref" reference="sec: fieldTradeOff"} we extend the trade-off to the case where the classical and quantum degrees of freedom can be fields and use this to show that treating the metric as being classical necessarily results in diffusion of the gravitational field. There are two separate possible sources for the force (or *drift*) of the back-reaction of the quantum system on phase space--it can be sourced by either the \(D^{0 \alpha}_{1,i}\) components or the Lindbladian components \(D^{\alpha \beta}_{1,i}\). We shall deal with both sources simultaneously by considering a CQ Cauchy-Schwartz inequality which arises from the positivity of \[\label{eq: observationalpositivitycontinous} \tr{\int dz dz' \Lambda^{\mu \nu}( z|z') O_{ \mu}(z,z')\rho(z') O_{\nu}^{\dag}(z,z')}\geq 0\] for any vector of CQ operators \(O_{\mu}\). One can verify that this must be positive directly from the positivity conditions on \(\Lambda^{\mu \nu}(z|z')\) and we go through the details in appendix [\[sec: positivityCondtionsAppendix\]](#sec: positivityCondtionsAppendix){reference-type="ref" reference="sec: positivityCondtionsAppendix"}. A common choice for \(O_{\mu}\) would be the set of operators \(L_{\mu}=\{ \mathbb{I}, L_{\alpha}\}\) appearing in the master equation. The inequality in Equation [\[eq: observationalpositivitycontinous\]](#eq: observationalpositivitycontinous){reference-type="eqref" reference="eq: observationalpositivitycontinous"} turns out to be especially useful since it can be used to define a (pseudo) inner product on a vector of operators with components \(O_{\mu}\) via \[\label{eq: innerProduct} \langle \bar{O}_1,\bar{O}_2 \rangle = \int dz dz' \Tr{}{\Lambda^{\mu \nu}( z|z')O_{1 \mu} \varrho(z') O^{\dag}_{2 \nu} }\] where \(||\bar{O}|| = \sqrt{\langle \bar{O}, \bar{O} \rangle} \geq 0\) due to [\[eq: observationalpositivitycontinous\]](#eq: observationalpositivitycontinous){reference-type="eqref" reference="eq: observationalpositivitycontinous"}. Technically this is not positive definite, but this shall not be important for our purpose. Taking the combination \(O_{\mu} = ||\bar{O}_2||^2 O_{1 \mu}-\langle \bar{O}_1, \bar{O}_2 \rangle O_{2 \mu}\) for vectors \(O_{1\mu}, O_{2\mu}\), positivity of the norm gives \[||\bar{O}||^2 = \ ||\bar{O}_2||^2 \bar{O}_1-\langle \bar{O}_1, \bar{O}_2 \rangle \bar{O}_2 ||^2 = ||\bar{O}_2||^2 \left( ||\bar{O}_1||^2 ||\bar{O}_2||^2-|\langle \bar{O}_1,\bar{O}_2 \rangle |^2 \right) \geq 0,\] and as long as \(||\bar{O}_2|| \neq 0\) we have a Cauchy-Schwartz inequality \[\label{eq: continuousCauchySchwarz} ||\bar{O}_1||^2 ||\bar{O}_2||^2-|\langle \bar{O}_1,\bar{O}_2 \rangle |^2 \geq 0.\] We can use [\[eq: continuousCauchySchwarz\]](#eq: continuousCauchySchwarz){reference-type="eqref" reference="eq: continuousCauchySchwarz"} to get a trade-off between the observed diffusion and decoherence by picking \(O_{2 \mu} = \delta_{\mu}^{\alpha} L_{\alpha}\) and \(O_{1 \mu} = b^i(z-z')_i L_{\mu}\), where \(L_{\mu}=\{ \mathbb{I}, L_{\alpha}\}\) are the Lindblad operators appearing in the master equation. In this case \(||\bar{O}_2|| = \int dz \Tr{}{D^{\alpha \beta}_0 L_{\alpha} \varrho L_{\beta}^{\dag}}\) and one can verify using CQ Pawula theorem [^3] that in order to have non-trivial back-reaction on the quantum system complete positivity demands that \(||\bar{O}_2|| > 0\), meaning the Cauchy-Schwartz inequality in Equation [\[eq: continuousCauchySchwarz\]](#eq: continuousCauchySchwarz){reference-type="eqref" reference="eq: continuousCauchySchwarz"} must hold. By using the short time moment expansion of \(\Lambda^{\mu \nu}(z|z')\) defined in Equation [\[eq: shortimeCP\]](#eq: shortimeCP){reference-type="eqref" reference="eq: shortimeCP"} and using integration by parts, we then arrive at the observational trade-off between decoherence and diffusion \[\label{eq: expandedTradeOff} \int dz \Tr{}{2 b^{i *} D^{\mu \nu}_{2, ij} b^j L_{\mu} \varrho(z) L_{\nu }^{\dag} } \int dz \Tr{}{D^{\alpha \beta}_0 L_{\alpha} \varrho(z) L_{\beta}^{\dag}} \geq \left| \int dz \Tr{}{b^i D^{\mu \alpha}_{1,i} L_{\mu} \varrho(z) L_{\alpha}^{\dag} } \right|^2,\] which must hold for any positive CQ state \(\varrho(z)\). Stripping out the \(b^i\) vectors, [\[eq: expandedTradeOff\]](#eq: expandedTradeOff){reference-type="eqref" reference="eq: expandedTradeOff"} is equivalent to the matrix positivity condition \[\label{eq: decdifnonham0} 0 \preceq 2 \langle D_2 \rangle \langle D_0 \rangle-\langle D_1^{br} \rangle \langle D_1^{br} \rangle^{\dag}, \ \ \ \forall \varrho(z),\] where we define \[\label{eq: definitionExpectation} \langle D_{0} \rangle = \int dz \Tr{}{D^{\alpha \beta}_0 L_{\alpha} \varrho(z) L_{\beta}^{\dag}}, \ \langle D_1^{br} \rangle_i =\int dz \Tr{}{D^{\mu \alpha}_{1,i} L_{\mu} \varrho(z) L_{\alpha}^{\dag} } , \ \langle D_{2} \rangle_{ij} = \int dz \Tr{}{ D^{\mu \nu}_{2, ij} L_{\mu} \varrho(z) L_{\nu }^{\dag} } .\] Since [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"} holds for all states, the tightest bound is provided by the infimum over all states \[0 \preceq \inf_{\varrho(z)}\{2 \langle D_2 \rangle \langle D_0 \rangle-\langle D_1^{br} \rangle \langle D_1^{br} \rangle^{\dag}\}.\] The quantities \(\langle D_2 \rangle\) and \(\langle D_0\rangle\) appearing in Equation [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"} are related to observational quantities. In particular \(\langle D_2 \rangle\) is the expectation value of the amount of classical diffusion which is observed and \(\langle D_{0} \rangle\) is related to the amount of decoherence on the quantum system. The expectation value of the back-reaction matrix \(\langle D_{1}^{br} \rangle\) quantifies the amount of back-reaction on the classical system. In the trivial case \(D_1^{br}=0\), Equation [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"} places little restriction on the diffusion and Lindbladian rates appearing on the left hand side. We already knew from that the \(D_0^{\alpha\beta}\) must be a positive semi-definite matrix, and we also know that diffusion coefficients must be positive semi-definite. However, in the non-trivial case, the larger the back-reaction exerted by the quantum system, the stronger the trade-off between the diffusion coefficients and Lindbladian coupling. Equation [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"} gives a general trade-off between observed diffusion and Lindbladian rates, but we can also find a trade-off in terms of a theory's coupling coefficients alone. We show in appendix [\[sec: diffusionDecoherenceCouplingTradeOff\]](#sec: diffusionDecoherenceCouplingTradeOff){reference-type="ref" reference="sec: diffusionDecoherenceCouplingTradeOff"} that the general matrix trade-off \[\label{eq: generalTradeOffCouplingConstants} \ D_1^{br} D_0^{-1} D_1^{ br \dag} \preceq 2 D_2\] holds for the matrix whose elements are the couplings \(D^{\mu \nu}_{2,ij}, D^{\alpha \mu}_{1,i}, D_0^{\alpha \beta}\) for any CQ dynamics. Moreover, \((\mathbb{I}-D_0 D_0^{-1})D_1^{br} =0\), which tells us that \(D_0\) cannot vanish if there is non-zero back-reaction. Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} quantifies the required amount of decoherence and diffusion in order for the dynamics to be completely positive. In Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"}, and throughout, \(D_0^{-1}\) is the generalized inverse of \(D_0^{\alpha \beta}\), since \(D_0^{\alpha \beta}\) is only required to be positive semi-definite. In the special case of a single Lindblad operator \(\alpha=1\) and classical degree of freedom, and when the only non-zero couplings are \(D_0^{11}:=D_0\), \(D_{2,pp}^{00}:=2D_2\) and \(D_{1,q}^0=1\) this trade-off reduces to the condition \(D_2D_0\geq 1\) used in. It is also useful to try to obtain an observational trade-off in terms of the total drift due to back-reaction as calculated in Equation [\[eq:semiHamiltonsequation\]](#eq:semiHamiltonsequation){reference-type="eqref" reference="eq:semiHamiltonsequation"} \[\langle D_1^{T} \rangle_i =\sum_{\mu \nu \neq 00}\int dz \Tr{}{D^{\mu \nu}_{1,i} L_{\mu} \varrho(z) L_{\nu}^{\dag} }.\] It follows directly from Equation [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"} that when the back-reaction is sourced by either \(D_{1,i}^{0 \mu}\) or \(D_{1,i}^{\alpha \beta}\) we can arrive at the observational trade-off in terms of the total drift[^4] \[\label{eq: decdifnonham} 0 \preceq 8 \langle D_2 \rangle \langle D_0 \rangle-\langle D_1^{T} \rangle \langle D_1^{T} \rangle^{\dag}, \ \ \ \forall \varrho(z),\] where the quantities appearing in Equation [\[eq: decdifnonham\]](#eq: decdifnonham){reference-type="eqref" reference="eq: decdifnonham"} are now all observational quantities, related to drift, decoherence and diffusion as outlined in the previous subsection [8.2](#ss:momentsmeaning){reference-type="ref" reference="ss:momentsmeaning"}. In the case where the back-reaction is Hamiltonian at first order in the sense of Equation [\[eq: limit\]](#eq: limit){reference-type="eqref" reference="eq: limit"}, then [\[eq: decdifnonham\]](#eq: decdifnonham){reference-type="eqref" reference="eq: decdifnonham"} can be written as \[\label{eq: decodiff} \langle \omega \cdot \frac{\partial H_I}{ \partial \vec{z}} \rangle \langle \omega \cdot \frac{\partial H_I}{ \partial \vec{z}} \rangle^{\dag} \preceq 8 \langle D_{2} \rangle \langle D_0 \rangle, \ \ \ \forall \varrho(z).\] As a result, we can derive a trade-off between diffusion and decoherence for any theory which reproduces this classical limit and treats one of the systems classically. To summarize, whenever back-reaction of the quantum system on the classical system induces a force on the phase space, then we have a trade-off between the amount of diffusion on the classical system and the strength of decoherence on the quantum system (or more precisely the strength of the Lindbladian couplings \(D_0^{\alpha \beta}\)). This can be expressed both as a condition on the matrix of coupling co-efficients in the master equation, via Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} or in terms of observable quantities using Equation's [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"} and [\[eq: decdifnonham\]](#eq: decdifnonham){reference-type="eqref" reference="eq: decdifnonham"}. In the case when the back-reaction is Hamiltonian, we further have Equation [\[eq: decodiff\]](#eq: decodiff){reference-type="eqref" reference="eq: decodiff"}. We would like to apply this trade-off to the case of gravity in the non-relativistic, Newtonian limit. In order to do so, we will need to generalise the trade-off to the case of quantum fields interacting with classical one, which we do in Section [10](#sec: fieldTradeOff){reference-type="ref" reference="sec: fieldTradeOff"}. The goal will be to understand the implications of treating the metric (or Newtonian potential) as being classical by using the trade-off when the quantum back-reaction induces a force on the gravitational field which, on expectation, is the same as the weak field limit of general relativity.
# Trade off in the presence of fields {#sec: fieldTradeOff}
We would like to explore the trade-off in the gravitational setting and explore the consequences of treating the gravitational field as being classical and matter quantum. Since gravity is a field theory, we must first discuss classical-quantum master equations in the presence of fields. In the field theoretic case, both the Lindblad operators and the phase space degrees of freedom can have spatial dependence, \(z(x), L_{\mu}(x)\) and a general bounded CP map which preserves the classicality of the two systems can be written \[\label{eq: mapFields} \rho(z, t) = \int dz' dx dy\Lambda^{\mu \nu}(z|z',t; x,y) L_{\mu}(x, z, z') \varrho(z',0) L_{\nu}^{\dag}(y, z, z'),\] where, as is usually the case with fields, in Equation [\[eq: mapFields\]](#eq: mapFields){reference-type="eqref" reference="eq: mapFields"} it should be implicitly understood that a smearing procedure has been implemented. We elaborate on some of details when fields are introduced in appendix [\[sec: cqfieldsAppendix\]](#sec: cqfieldsAppendix){reference-type="ref" reference="sec: cqfieldsAppendix"}. The condition for [\[eq: mapFields\]](#eq: mapFields){reference-type="eqref" reference="eq: mapFields"} to be completely positive on *all* CQ states is \[\label{eq: fieldPositivityAll} \int dz dx dy A_{\mu}^*(x, z, z') \Lambda^{\mu \nu}(z|z'; x,y) A_{\nu}(y, z, z')\geq 0\] meaning that \(\Lambda^{\mu \nu}(x,y)\) can be viewed as a positive matrix in \(\mu \nu\) and a positive kernel in \(x,y\). In the field theoretic case one can still perform a Kramers-Moyal expansion and find a trade-off between the coefficients \(D_0(x,y), D_1(x,y), D_2(x,y)\) appearing in the master equation. The coefficients now have an \(x,y\) dependence, due to the spatial dependence of the Lindblad operators. The coefficients \(D_1(x,y),D_2(x,y)\) still have a natural interpretation as measuring the amount of force (*drift*) and diffusion, whilst \(D_0(x,y)\) describes the purely quantum evolution on the system and can be related to decoherence. Using the positivity condition in [\[eq: fieldPositivityAll\]](#eq: fieldPositivityAll){reference-type="eqref" reference="eq: fieldPositivityAll"} we find the same trade of between coupling constants in Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} but where now \(D_2(x,y)\) is the \((p+1)n \times (p+1)n\) matrix-kernel with elements \(D_{2,ij}^{\mu \nu}(x,y)\), \(D_{1}^{br}(x,y)\) is the \(( p+1)n \times p\) matrix-kernel with rows labeled by \(\mu i\), columns labelled by \(\beta\), and elements \(D_{1, i}^{ \mu \beta}(x,y)\), and \(D_0(x,y)\) is the \(p\times p\) decoherence matrix-kernel with elements \(D_0^{\alpha \beta}(x,y)\).[^5] In the field theoretic trade off we are treating the objects in Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} as matrix-kernels, so that for any position dependent vector \(b^i_{\mu}(x)\), \(( D_2 b )_{i}^{\mu} (x) = \int dy D^{\mu \nu}_{2,i j}(x,y) b^{j}_{\nu}(y)\), whilst for any position dependent vector \(a_{\alpha}(x)\), \(( D_0 \alpha )^{\alpha} (x) = \int dy D_{0}^{\alpha \beta}(x,y) \alpha_{\beta}(y)\). Explicitly, we find that positivity of the dynamics is equivalent to the matrix condition \[\begin{aligned}
\label{eq: generalFieldMatrixInequalityMain} \int dx dy [ b^*(x), \alpha^*(x)] \begin{bmatrix} 2 D_{2}(x,y) & D_1^{br}(x,y)\\ D^{br}_1(x,y) & D_0(x,y) \end{bmatrix} \begin{bmatrix} b(y) \\ \alpha(y) \end{bmatrix} \geq 0 \end{aligned}\] which should be positive for any position dependent vectors \(b^{i}_{\mu}(x)\) and \(a_{\alpha}(x)\). This is equivalent to trade-off between coupling constants in Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} if we view [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} as a matrix-kernel equation. Though we make no assumption on the locality of the Lindbladian and diffusion couplings, we shall hereby assume that the drift back-reaction is local, so that \(D_1^{br}(x,y) = \delta(x,y) D_1^{br}(x)\). As we shall see in the next section, this is a natural assumption if we want to have back-reaction which is given by a local Hamiltonian. However, one might not want to assume that the form of the Hamiltonian remains unchanged to arbitrarily small distances. With this locality assumption, Equation [\[eq: generalFieldMatrixInequalityMain\]](#eq: generalFieldMatrixInequalityMain){reference-type="eqref" reference="eq: generalFieldMatrixInequalityMain"} gives rise to the same trade-off of Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"}, where the trade-off is to be interpreted as a matrix kernel inequality. Writing this out explicitly we have \[\begin{aligned}
\label{eq: generalTradeOffCouplingConstants_Fields_local} \int dx dy \alpha_{\nu}^{i*}(x)D_{1,i}^{\mu \alpha}(x) (D_0^{-1})_{\alpha \beta}(x,y) D_{1,j}^{\beta \nu}(x')\alpha_{\nu}^i(x') \leq \int dx dy 2\alpha_{\mu}^{i *}(x) D_{2,ij}^{\mu \nu}(x,y) \alpha_{\nu}^j(y), \end{aligned}\] where asking that this inequality holds for all vectors \(\alpha_{\mu}^i(x)\) is equivalent to the matrix-kernel trade-off condition of Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"}. We give two examples of master Equations satisfying the coupling constant trade-off in appendix [\[app: examplesOfKernals\]](#app: examplesOfKernals){reference-type="ref" reference="app: examplesOfKernals"}. The decoherence-diffusion trade-off tells us how much diffusion and stochasticity is required to maintain coherence when the quantum system back-reacts on the classical one. If the interaction between the classical and quantum degrees of freedom is dictated by unbounded operators, such as the mass density, then there can exist states for which the back-reaction can be made arbitrarily large. This is the case for a quantum particle interacting with its Newtonian potential through its mass density at arbitrarily short distances. Hence, if one considers a particle in a superposition of two peaked mass densities, then there can be an arbitrarily large response in the Newtonian potential around those points, and either there must be an arbitrary amount of diffusion, or the decoherence must occur arbitrarily fast. The former is unphysical, while the latter turns out to be the case in simple examples of theories such as those discussed in Appendix [\[sec: decoherenceRatesAppendix\]](#sec: decoherenceRatesAppendix){reference-type="ref" reference="sec: decoherenceRatesAppendix"}. Since our goal is to experimentally constrain classical-quantum theories of gravity, we shall hereby ask that the map [\[eq: mapFields\]](#eq: mapFields){reference-type="eqref" reference="eq: mapFields"} is CP when acting on all physical states \(\rho\). If one allows for arbitrarily peaked mass distributions then the coupling constant trade-off of Equation [\[eq: generalTradeOffCouplingConstants_Fields_local\]](#eq: generalTradeOffCouplingConstants_Fields_local){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants_Fields_local"} should be satisfied. In the field theoretic case, we can similarly find an observational trade-off, relating the expected value of the diffusion matrix \(\langle D_2(x,y) \rangle\) to the expected value of the drift in a physical state \(\varrho\) as we did in Section [9](#sec: tradeoff){reference-type="ref" reference="sec: tradeoff"}. This is done explicitly in Appendix [\[sec: cqfieldsAppendix\]](#sec: cqfieldsAppendix){reference-type="ref" reference="sec: cqfieldsAppendix"}, using a field theoretic version of the Cauchy-Schwartz inequality given by Equation [\[eq: continuousCauchySchwarzField\]](#eq: continuousCauchySchwarzField){reference-type="eqref" reference="eq: continuousCauchySchwarzField"}, we find \[\label{eq: observationalTradeOffFields0} 2 \langle D_2(x,x) \rangle \int dx' dy' \langle D_0(x',y') \rangle \succeq \langle D_1^{br}(x) \rangle \langle D_1^{br}(x) \rangle^{\dag},\] where equation [\[eq: observationalTradeOffFields\]](#eq: observationalTradeOffFields){reference-type="eqref" reference="eq: observationalTradeOffFields"} is to be understood as a matrix inequality with entries \[\label{eq: fieldCoeffDefinitions} \begin{split} & \langle D_0(x,y)\rangle = \int dz \Tr{}{D_0^{\alpha \beta} L_{\alpha}(x) \varrho L_{\beta}^{\dag}(y)}, \\ & \langle D_1^{br}(x,y)\rangle_i = \int dz \Tr{}{D_{1,i}^{\mu \alpha} L_{\mu}(x) \varrho L_{\alpha}^{\dag}(x)}, \\ & \langle D_2(x,y)\rangle_{ij} = \int dz \Tr{}{D_{2,ij}^{\mu \nu} L_{\alpha}(x) \varrho L_{\beta}^{\dag}(y)}. \end{split}\] Similarly, when the back-reaction is sourced by either \(D_{1,i}^{0 \mu}\) or \(D_{1,i}^{\alpha \beta}\) it follows from Equation [\[eq: observationalTradeOffFields0\]](#eq: observationalTradeOffFields0){reference-type="eqref" reference="eq: observationalTradeOffFields0"} we can arrive at the observational trade-off in terms of the total drift due to back-reaction \[\label{eq: observationalTradeOffFields} 8 \langle D_2(x,x) \rangle \int dx' dy' \langle D_0(x',y') \rangle \succeq \langle D_1^{T}(x) \rangle \langle D_1^{T}(x) \rangle^{\dag},\] where \[\label{eq: totdriftfieldCoeffDefinition} \langle D_1^T(x)\rangle_i = \int dz \Tr{}{D_{1,i}^{0 \alpha}(x) \varrho L_{\alpha}^{\dag}(x)+ D_{1,i}^{ \alpha 0}(x) L_{\alpha} \varrho (x) + D_{1,i}^{\alpha \beta}(x) L_{\alpha}(x) \varrho L_{\beta}^{\dag}(x)}.\] We shall now use the trade-off to study the consequences of treating the gravitational field classically. We will consider the back-reaction of the mass on the gravitational field to be governed by the Newtonian interaction (or more accurately, a weak field limit of General Relativity). We shall then find that experimental bounds on coherence lifetimes for particles in superposition require large diffusion in the gravitational field in order to be maintained and this can be upper bounded by gravitational experiments. To summarise this section, we have derived the trade-off between decoherence and diffusion for classical-quantum field theories, both in terms of coupling constants of the theory and in terms of observational quantities. This trade-off puts tight observational constraints on classical theories of gravity which we now discuss.
# Physical constraints on the classicality of gravity {#sec: gravity}
In this section we apply the trade-off of Equation [\[eq: generalFieldMatrixInequalityMain\]](#eq: generalFieldMatrixInequalityMain){reference-type="eqref" reference="eq: generalFieldMatrixInequalityMain"} to the case of gravity. Since the trade-offs derived in the previous section depend only on the back-reaction, or drift term, they are insensitive to the particulars of the theory. We shall consider the Newtonian, non-relativistic limit of a classical gravitational field which we reproduce in Appendix [\[sec: cqlimit\]](#sec: cqlimit){reference-type="ref" reference="sec: cqlimit"}. It is in taking this limit where some care should be taken, since one is gauge fixing the full general relativistic theory. We denote \(\Phi\) to be the Newtonian potential and in the weak field limit of General Relativity, it has a conjugate momenta we denote by \(\pi_\Phi\). We assume
1. The theory satisfies the assumptions used to derive the master equation as in Sections [10](#sec: fieldTradeOff){reference-type="ref" reference="sec: fieldTradeOff"}; in particular that the theory be a completely positive norm-preserving Markovian map, and that we can perform a short-time Kramers-Moyal expansion as in Appendix [\[sec: cqfieldsAppendix\]](#sec: cqfieldsAppendix){reference-type="ref" reference="sec: cqfieldsAppendix"}.
2. We apply the theory to the weak field limit of General Relativity, where as recalled in Appendix [\[sec: cqlimit\]](#sec: cqlimit){reference-type="ref" reference="sec: cqlimit"} the Newtonian potential interacts with matter through its mass density \(m(x)\), \[H_I(\Phi) = \int d^3 x \Phi(x) m(x). \label{eq:interaction_ham}\] and the conjugate momentum to \(\Phi\) satisfies \[\begin{aligned}
\dot{\pi}_{\Phi} = \frac{\nabla^2 \Phi}{4 \pi G}-m(x) \label{eq:dotpi} \end{aligned}\] where in the \(c \to \infty\) limit we recover Poisson's equation for the Newtonian potential. We assume this limit of General Relativity is satisfied on expectation, at least to leading order.
3. In relating \(D_0\) to the decoherence rate of a particle in superposition, we shall assume that the state of interest is well approximated by a state living in a Hilbert space of fixed particle number. We believe this is a mild assumption: ordinary non-relativistic quantum mechanics is described via a single particle Hilbert space, and we frequently place composite massive particles in superposition and they do not typically decay into multiple particles.
4. We will assume that the diffusion kernel \(D_2(\Phi,x,x')\) does not depend on \(\pi_\Phi\) i.e. it is *minimally coupled*. This is reasonable, since in the purely classical case matter couples to the Newtonian potential and not its conjugate momenta. [\[ass:minimal\]]{#ass:minimal label="ass:minimal"}
With these assumptions, and treating the matter density as a quantum operator \(\hat{m}(x)\), this tells us that in order for the back-reaction term to reproduce the Newtonian interaction on average \[\begin{aligned}
\tr{\{H_I,\varrho\}}= \tr{\int d^3 x \ \hat{m}(x) \frac{\delta \varrho}{\delta \pi_\Phi}} =-\sum_{\mu \nu \neq 00} \tr{\int d^3 x D_{1,\pi_{\Phi}}^{\mu \nu}(\Phi, \pi_{\Phi}, x) L_{\mu}(x) \frac{\delta \varrho}{\delta \pi_\Phi} L_{\nu}^{\dag}(x)}, \label{eq:Nsemi} \end{aligned}\] then we must pick \[\label{eq: firstMomentGravity} \langle D_{1,\pi_{\phi}}^{T}(\Phi, \pi_{\Phi}, x) \rangle =-\langle \hat{m}(x) \rangle,\] meaning that the back-reaction matrix \(D_{1,\pi_{\Phi}}^{\mu \alpha}\) is non vanishing. In Appendix [\[sec: cqlimit\]](#sec: cqlimit){reference-type="ref" reference="sec: cqlimit"} we give examples of master equations for which [\[eq: firstMomentGravity\]](#eq: firstMomentGravity){reference-type="eqref" reference="eq: firstMomentGravity"} is satisfied, but their details are irrelevant since we only require the expectation of the back-reaction force to be the expectation value of the mass--a necessary condition for the theory to reproduce Newtonian gravity. As a consequence of the coupling constant and observational trade-offs derived in Equations [\[eq: generalTradeOffCouplingConstants_Fields_local\]](#eq: generalTradeOffCouplingConstants_Fields_local){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants_Fields_local"} and [\[eq: observationalTradeOffFields0\]](#eq: observationalTradeOffFields0){reference-type="eqref" reference="eq: observationalTradeOffFields0"}, a non-zero \(D_{1,\pi_{\Phi}}\) implies that there must be diffusion in the momenta conjugate to \(\pi_{\Phi}\). This diffusion is equivalent to adding a stochastic random process \(J(x,t)\) (the Langevin picture), to the equation of motion [\[eq:dotpi\]](#eq:dotpi){reference-type="eqref" reference="eq:dotpi"} to give \[\label{eq: diffusivePi} \dot{\pi}_{\Phi} = \frac{\nabla^2 \Phi}{4 \pi G}-m(x) + u(\Phi,\hat{m}) J(t,x),\] where we allow some *colouring* to the noise via a function \(u(\Phi,\hat{m})\) which can depend on \(\Phi\), and the matter distribution \(\hat{m}\) (assumption [\[ass:minimal\]](#ass:minimal){reference-type="ref" reference="ass:minimal"}). The noise process satisfies \[\label{eq: statsJ} \mathbb{E}_{m, \Phi}[u J(x,t)] =0, \ \ \ \mathbb{E}_{m, \Phi}[uJ(x,t) u J(y,t') ]= 2\langle D_2(x,y,\Phi) \rangle \delta(t,t'),\] where we have defined \(\langle D_2(x,y,\Phi) \rangle = \Tr{}{ D_{2}^{\mu \nu} (x,y, \Phi) L_{\mu}(x) \rho L^{\dag}_{\nu}(y)}\), and \(\rho\) is the quantum state for the decohered mass density. Here the \(m,\Phi\) subscripts of \(\mathbb{E}_{m,\Phi}\) allow for the possibility that the statistics of the noise process can be dependent on the Newtonian potential and mass distribution of the particle. The restriction on \(\mathbb{E}_{m, \Phi}[uJ(x,t)]\) follows from assumption (ii). If \(uJ(x,t)\) is Gaussian, Equation [\[eq: statsJ\]](#eq: statsJ){reference-type="eqref" reference="eq: statsJ"} completely determines the noise process, but in general, higher order correlations are possible, although they need not concern us here, since we are only interested in bounding the effects due to \(D_2(x,y,\Phi)\). In the non-relativistic limit, where \(c\rightarrow\infty\), we can take \(\dot{\pi}_{\Phi}\) to be small in comparison to the other terms, and we recover Poisson's equation for gravity, but with a stochastic contribution to the mass. This is precisely as expected on purely physical grounds: in order to maintain coherence of any mass in superposition, there must be noise in the Newtonian potential and this must be such that we cannot tell which element of the superposition the particle will be in, meaning the Newtonian potential should look like it is being sourced in part by a random mass distribution. In other words, the trade-off requires that the stochastic component of the coupling obscures the amount of mass \(m\) at any point. The solution to Equation [\[eq: diffusivePi\]](#eq: diffusivePi){reference-type="eqref" reference="eq: diffusivePi"} is given by \[\label{eq: poissonnoiseMain} \Phi(t,x) \approx-G \int d^3 x' \frac{[m(x',t)-u(\Phi, \hat{m})J(x',t)]}{|x-x'|},\] and a formal treatment of solutions to non-linear stochastic integrals of the form of Equation [\[eq: diffusivePi\]](#eq: diffusivePi){reference-type="eqref" reference="eq: diffusivePi"} can be found in. A higher precision calculation would involve a full simulation of CQ dynamics and in Appendix [\[sec: cqlimit\]](#sec: cqlimit){reference-type="ref" reference="sec: cqlimit"} we show in full detail the evolution the Newtonian potential looks like for general continuous CQ theories using the continuous unraveling of CQ dynamics introduced in. We find the effects are qualitatively and quantitatively the same as Equation [\[eq: poissonnoiseMain\]](#eq: poissonnoiseMain){reference-type="eqref" reference="eq: poissonnoiseMain"}. In it was shown that there are two classes of CQ dynamics, at least in the sense that there are those with continuous trajectories in phase space and those which contain discrete jumps. For the class of continuous CQ models (see and appendix [\[ss:continuous\]](#ss:continuous){reference-type="ref" reference="ss:continuous"}), we know that \(J(x,t)\) should be described by a white noise process in time, and its statistics should be independent of the mass density of the particle. We go through the full CQ calculation for the continuous models in Appendix [\[eq: newtUnrav\]](#eq: newtUnrav){reference-type="ref" reference="eq: newtUnrav"}. For the discrete class (see and Appendix [\[ss: discrete\]](#ss: discrete){reference-type="ref" reference="ss: discrete"}), \(J(x,t)\) can involve higher order moments, and will generally be described by a jump process. It's statistics can also depend on the mass density, since in general the diffusion matrix \(D^{\mu \nu}_{2,ij}\) couples to Lindblad operators. It is worth noting that the discrete CQ theories considered in generically suppress higher order moments, and often we expect that we can approximate the dynamics by a Gaussian process, but this need not be the case in general. This variation in Newtonian potential leads to observational consequences which can be used to experimentally test and constrain CQ theories of gravity for various choices of kernels appearing in the CQ master equation. One immediate consequence is that the variation in Newtonian potential leads to a variation of force experienced by a particle or composite mass via \(\vec{F}_{tot} =-\int d^3 x m(x) \nabla \Phi(x)\). We can also estimate the time averaged force via \(\frac{1}{T}\int_0^T\vec{F}_{tot}\) where \(T\) is the time over which the force is measured and is the useful quantity when comparing with experiments. Using Equation [\[eq: poissonnoiseMain\]](#eq: poissonnoiseMain){reference-type="eqref" reference="eq: poissonnoiseMain"}, in Appendix [\[sec: tabletop\]](#sec: tabletop){reference-type="ref" reference="sec: tabletop"} we find that the variance of the magnitude of the time averaged force experienced by a particle in a Newtonian potential is given by \[\label{eq: variationForceMain} \sigma_F^2 = \frac{2G^2}{T} \int d^3x d^3y d^3x' d^3y' m(x) m(y) \frac{(\vec{x}-\vec{x}') \cdot (\vec{y}-\vec{y}')}{|x-x'|^3 |y-y'|^3} \langle D_2(x',y',\Phi)\rangle,\] where the variation is averaged over a time period \(T\). We will use this to estimate the variation in precision measurements of mass, such as modern versions of the Cavendish experiement for various choices of \(\langle D_2(x',y',\Phi)\rangle\). On the other hand, experimentally measured decoherence rates can be related to \(D_0\). We explore the calculation of decoherence rates in gravity in detail in . The important point is that the decoherence rate is dominated by the background Newtonian potential \(\Phi_b\) due to the Earth. In Appendix [\[sec: decoherenceRatesAppendix\]](#sec: decoherenceRatesAppendix){reference-type="ref" reference="sec: decoherenceRatesAppendix"}, we show that for a mass whose quantum state is a superposition of two states \(|L\rangle\) and \(|R\rangle\) of approximately orthogonal mass densities \(m_L(x),m_R(x)\), and whose separation we take to be larger than the correlation range of \(D_0(x,y)\), the decoherence rate is given by \[\label{eq: decoherencerateMain} \lambda = \frac{1}{2}\int dx dy D_0^{\alpha \beta}( x,y) (\langle L | L_{\beta}^{\dag}(y) L_{\alpha}(x) |L \rangle + \langle R | L_{\beta}^{\dag}(y) L_{\alpha}(x) |R \rangle ).\] Via the coupling constant trade-off, Equations [\[eq: variationForceMain\]](#eq: variationForceMain){reference-type="eqref" reference="eq: variationForceMain"} and [\[eq: decoherencerateMain\]](#eq: decoherencerateMain){reference-type="eqref" reference="eq: decoherencerateMain"} then give rise to a double sided squeeze on the coupling \(D_2\). Equation [\[eq: variationForceMain\]](#eq: variationForceMain){reference-type="eqref" reference="eq: variationForceMain"} upper bounds \(D_2\) in terms of the uncertainty of acceleration measurements seen in gravitational torsion experiments, whilst the coupling constant trade-off Equation [\[eq: decoherencerateMain\]](#eq: decoherencerateMain){reference-type="eqref" reference="eq: decoherencerateMain"} lower bounds \(D_2\) in terms of experimentally measured decoherence rates arising from interferometry experiments. We now show this for various choices of diffusion kernel, with the details given in Appendix [\[sec: tabletop\]](#sec: tabletop){reference-type="ref" reference="sec: tabletop"}. The diffusion coupling strength will be characterized by the coupling constant \(D_2\), which we take to be a dimension-full quantity with units \(kg^2 s m^{-3}\), and is related to the rate of diffusion for the conjugate momenta of the Newtonian potential. We upper bound \(D_2\) by considering the variation of the time averaged acceleration \(\sigma_a = \frac{\sigma_F}{M}\) for a composite mass \(M\) which contains \(N\) atoms which we treat as spheres of constant density \(\rho\) with radius \(r_N\) and mass \(m_N\). We lower bound \(D_2\) via the coupling constant trade-off of Equation [\[eq: generalFieldMatrixInequalityMain\]](#eq: generalFieldMatrixInequalityMain){reference-type="eqref" reference="eq: generalFieldMatrixInequalityMain"} and then by considering bounds on the coherence time for particles with total mass \(M_{\lambda}\), which have typical length scale when in superposition \(R_{\lambda}\) and volume \(V_{\lambda}\). For continuous dynamics \(\langle D_{2}(x,y, \Phi) \rangle\) = \(D_2(x,y,\Phi)\) since the diffusion is not associated to any Lindblad operators. Let us now consider a very natural kernel, namely \(D_2(x,y;\Phi) = D_2(\Phi) \delta(x,y)\) which is both translation invariant, and does not create any correlations over space-like separated regions. In general, the squeeze will depend on the functional choice of \(D_2(\Phi)\) on the Newtonian potential. However, in the presence of a large background potential \(\Phi_b\), such as that of the Earth's, we will often be able to approximate \(D_2(\Phi) = D_2(\Phi_b)\). This is true for kernels which depend on \(\Phi\) and \(\nabla \Phi\), though the approximation does not hold for all kernels, for example \(D_2 \sim-\nabla^2 \Phi\) of Equation [\[eq: lapbeltweak\]](#eq: lapbeltweak){reference-type="eqref" reference="eq: lapbeltweak"} which creates diffusion only where there is mass density. For diffusion kernels \(D_2(\Phi_b)\) where the background potential is dominant we find the promised squeeze on \(D_2(\Phi_b)\) \[\label{eq: contLocal} \frac{\sigma_a^2 N r_N^4 T}{V_b G^2 } \geq D_2 \geq \frac{M_{\lambda}^2}{V_{\lambda} \lambda},\] where \(V_b\) is the volume of space over which the background Newtonian potential is significant. \(V_b\) enters since the variation in acceleration is found to be \[\label{eq: intD2Main} \sigma_a^2 \sim \frac{D_2 G^2 }{r_N^4 N T} \int d^3x' D_2(\Phi_b),\] where the \(d^3 x'\) integral is over all space. This immediately rules out continuous theories with noise everywhere, i.e, with a diffusion coefficient independent of the Newtonian potential since the integral will diverge. Standard Cavendish type classical torsion balance experiments measure accelerations of the order \(10^{-7}ms^{-2}\), so a very conservative bound is \(\sigma_a \sim 10^{-7}ms^{-2}\), whilst for a kg mass \(N\sim 10^{26}\) and \(r_N\sim 10^{-15} m\). Conservatively taking \(V_b \sim r_E^2 h \ m^3\) where \(r_E\) is the radius of the Earth and \(h\) is the atmospheric height gives \(D_2 \leq 10^{-41}kg^2 s m^{-3}\). The decoherence rate \(\lambda\) is bounded by various experiments . Typically, the goal of such experiments is to witness interference patterns of molecules which are as massive as possible. Taking a conservative bound on \(\lambda\), for example that arising from the interferometry experiment of which saw coherence in large organic fullerene molecules with total mass \(M_{\lambda} = 10^{-24}kg\) over a timescale of \(0.1s\), gives an upper bound on the decoherence rate \(\lambda < 10^{1} s^{-1}\). Fullerene molecules have typical size \(10^{-9}m\). After passing through the slits the molecule becomes delocalized in the transverse direction on the order of \(10^{-7}m\) before being detected. Since the interference effects are due to the superposition in the transverse \(x\) direction, which is the direction of alignment of the gratings, it seems like a reasonable assumption to take the size of the wavepacket in the remaining \(y,z\) direction to be the size of the fullerene, since we could imagine measuring the \(y,z\) directions without effecting the coherence. We therefore take the volume \(V_{\lambda} \sim 10^{-9} 10^{-9} 10^{-7}m^3 = 10^{-25}m^3\), which gives \(D_2 \geq 10^{-24} kg^2 s m^{-3}\), and suggests that classical-quantum theories of gravity with local continuous noise need to have a dependence on the Newtonian potential which will suppress the diffusion by \(20\) orders of magnitude. This happens to be the case for the kernel from Section [\[ss:lapkernel\]](#ss:lapkernel){reference-type="ref" reference="ss:lapkernel"} and whose motivation comes from the constraint algebra. On the other hand, the discrete models appear less constrained due to the suppression of the noise away from the mass density. For example consider the local discrete jumping models, such as the one given in Section [\[ss: discrete\]](#ss: discrete){reference-type="ref" reference="ss: discrete"} which have \(\langle D_2(x,y,\Phi_b)\rangle = \frac{ l_P^3 D_2(\Phi_b)}{m_P } m(x)\), where \(m_P = \sqrt{\frac{\hbar c}{G}}\) is the Planck mass and \(l_{P} = \sqrt{\frac{\hbar G}{c^3}}\) is the Planck length, required to ensure \(D_2\) has the units of \(kg^2 s m^{-3}\). We find the squeeze on \(D_2\) \[\label{eq: disLocal} \frac{ \sigma_a^2 N r_N^4 T}{ m_N G^2} \geq \frac{l_P^3}{m_P} D_2 \geq \frac{ M_{\lambda}}{\lambda},\] and plugging in the numbers tells us that discrete theories of classical gravity are not ruled out by experiment and we find \(10^{-1}kg s \geq \frac{l_P^3}{m_P} D_2 \geq 10^{-25}kg s\). We can also consider other noise kernels, with examples and some discussion given in Section [\[app: examplesOfKernals\]](#app: examplesOfKernals){reference-type="ref" reference="app: examplesOfKernals"}. A natural kernel is \(D_2(x,y,\Phi_b) =-l_P^2 D(\Phi_b) \nabla^2 \delta(x,y)\). The inverse Lindbladian kernel satisfying the coupling constants trade-off is to zeroeth order in \(\Phi(x)\), the Diosi-Penrose kernel \(D_0(x,y,\Phi_b) = \frac{D_0(\Phi_b)}{|x-y|}\). For this choice of dynamics, we find the squeeze for \(D_2\) in terms of the variation in acceleration \[\label{eq: contDP} \frac{\sigma_a^2 N r_N^3 T}{G^2} \geq l_P^2 D_2 \geq \frac{M^2_{\lambda}}{R_{\lambda} \lambda}.\] Using the same numbers as for the local continuous model, with \(R_{\lambda} \sim V_{\lambda}^{1/3}\sim10^{-9}m\) we find that classical torsion experiments upper bound \(D_2\) by \(10^{-9}kg^2 s m^{-1} \geq l_P^2 D_2\), whilst interferometry experiments bound \(D_2\) from below via \(l_P^2 D_2 \geq 10^{-40} kg^2 s m^{-1}\). Equations [\[eq: contLocal\]](#eq: contLocal){reference-type="eqref" reference="eq: contLocal"}, [\[eq: disLocal\]](#eq: disLocal){reference-type="eqref" reference="eq: disLocal"} and [\[eq: contDP\]](#eq: contDP){reference-type="eqref" reference="eq: contDP"} show that classical theories of gravity are squeezed by experiments from both ways. We have here been extremely conservative, and we anticipate that further analysis, as well as near term experiments, can tighten the bounds by orders of magnitude. There are several proposals for table-top experiments to precisely measure gravity, some of which have recently been performed, and which could give rise to tighter upper bounds on \(D_2\). Some of these experiments involve millimeter-sized masses whose gravitational coupling is measured via torsional pendula , or rotating attractors . With such devices, the gravitational coupling between small masses can be measured while limiting the amount of other sources of noise. There are proposals for further mitigating the noise due to the environment, including the inertial noise, gas particles collisions, photon scattering on the masses, and curvature fluctuations due to other sources . Other experiments are based on interference between masses; for example, atomic interferometers allow for the measurement of the curvature of space-time over a macroscopic superposition . We can get stronger lower bounds via improved coherence experiments. Typically, the goal of such experiments is to witness interference patterns of molecules which are as massive as possible, while here, we see that the experimental bound on CQ theories is generically obtained by maximizing the coherence time for massive particles with as small wave-packet size \(V_{\lambda}\). Thus far in this section we have considered local effects on particles due to the diffusion. While this enables us to rule out some types of theories, the bounds are generally weak if one wanted to rule out all of them. However, it may be possible to do so via cosmological considerations. In attempting to place experimental constraints on this diffusion, it is also worth considering other regimes, such as longer range effects which might be detected by gravitational wave detectors such as LIGO. In Appendix [\[sec: energyProduction\]](#sec: energyProduction){reference-type="ref" reference="sec: energyProduction"}, we begin a study of the cosmological effects of the diffusion by studying the observational trade-off in Equation [\[eq: observationalTradeOffFields\]](#eq: observationalTradeOffFields){reference-type="eqref" reference="eq: observationalTradeOffFields"}. For the class of CQ theories sourced by either the \(D_{1,i}^{0 \mu}\) term, or the \(D_{1,i}^{\alpha \beta}\) this gives a lower bound for the diffusion of the conjugate momentum in terms of the mass density of the particle and its decoherence rate \(\lambda\) \[\label{eq: piDispersionmain} \frac{d\sigma^2_{\pi_\Phi}(x)}{dt} \geq \frac{ |\langle m(x) \rangle|^2}{ 8 \lambda},\] which leads to an estimate of the production rate of stochastic waves in terms of their gravitational kinetic energy. This can be lower bounded in terms of experimentally decoherence rates \[\frac{d \Delta \bar{E}}{dt} \geq \int d^3 x \frac{ c^2 G \pi |\langle m(x) \rangle|^2}{12 \lambda }. \label{eq: diffusion rate trade-offmain}\] The diffusion is akin to the stochastic production of gravitational waves, but these waves need not be transverse (see Appendix [\[sec: grav diffusion\]](#sec: grav diffusion){reference-type="ref" reference="sec: grav diffusion"}). One advantage of studying this regime, is that Equation [\[eq: diffusion rate trade-offmain\]](#eq: diffusion rate trade-offmain){reference-type="eqref" reference="eq: diffusion rate trade-offmain"} is a bound which holds very generally, and which is independent of the choice of kernel, since the kinetic energy rate is lower bounded in terms of a experimentally measured decoherence rate. Since fullerene interference experiments require \(\frac{d \Delta \bar{E}}{dt} \sim 10^{-19} Js^{-1}\) over the wave-packet size of nucleons, this implies that the energy density of waves must be produced at a rate of at least \(\sim 10^{5} Js^{-1}m^{-3}\). If this was produced over all space, as required by the diffusion kernel \(D_2(x,x')=D_2\delta(x,x')\) (already ruled out by precision Cavendish experiments), this gives an apparent energy density in the ball park of \(10^{22}J/m^3\) accumulated over the age of the universe. Since the observed expansion rate of the universe puts its energy density at \(10^{-9}J/m^3\), this discrepancy would appear to rule out continuous realisations of classical gravity with the diffusion kernel \(\delta(x,x')\). This can be seen as a specific instance of diffusion kernels \(D_2(x,x')\) which diverge as \(x\rightarrow x'\), something we comment on in Section [\[app: examplesOfKernals\]](#app: examplesOfKernals){reference-type="ref" reference="app: examplesOfKernals"}. However, even here, care should be taken, partly because our estimate is non-relativistic[^6], and partly because our understanding of cosmology requires some degree of modesty--after all, quantum field theory predicts an energy density of \(10^{113} J/m^3\), and yet we do not see this reflected in the acceleration of the universe. We leave a detailed study of the effect of gravitational diffusion on LIGO to future work. It suffices to mention that the effect will again depend on the form of the kernel \(D_2(x,x')\). Our estimates suggest that local effects from table-top experiments currently place stronger bound on gravitational theories than LIGO currently does. In particular, unlike for gravitational wave measurements, which are reasonably high frequency events requiring extraordinary high precision in relative displacement of the arm length from its average, it is preferential to have a lower precision measurement, but which occurs over a longer time period to allow for the diffusion in path length to build up, and with a smaller uncertainty in the average length of the arm itself. Furthermore, since the LIGO arm is kept in a vacuum, we do not expect strong bounds on discrete models where the diffusion is associated to an energy density.
# Discussion {#sec: conclusion}
A number of direct proposals to test the quantum nature of gravity are expected to come online in the next decade or two. These are based on the detection of entanglement between mesoscopic masses inside matter-wave interferometers . For these experiments, some theoretical assumptions are needed: one requires that it is only gravitons which travel between the two masses and mediate the creation of entanglement. If this is the case, then the onset of entanglement implies that gravity is not a classical field. These can be thought of as experiments which if successful, would confirm the quantum nature of gravity (although other alternatives to quantum theory are possible ). Here, we come from the other direction, by supposing that gravity is instead classical, and then exploring the consequences. Theories in which gravity is fundamentally classical were thought to have been ruled out by various no-go theorems and conceptual difficulties. However, these no-go theorems are avoided if one allows for non-deterministic coupling as in. We have here proven that this feature is indeed necessary, and made it quantitative by exploring the consequences of complete positivity on any dynamics which couples quantum and classical degrees of freedom. Complete positivity is required to ensure the probabilities of measurement outcomes remain positive throughout the dynamics. We have shown that any theory which preserves probabilities and treats one system classically, is required to have fundamental decoherence of the quantum system, and diffusion in phase space, both of which are signatures of information loss. Using a CQ version of the Kramers-Moyal expansion, we have derived a trade-off between decoherence on the quantum system, and the system's diffusion in phase space. The trade-off is expressed in terms of the strength of the back-reaction of the quantum system on the classical one. We have derived the trade-off both in terms of coupling constants of the theory, and in terms of observational quantities that can be measured experimentally. In the case of gravity, the observational trade-off places a lower bound on the rate of diffusion of the gravitational degrees of freedom as expressed by Equation [\[eq: piDispersionmain\]](#eq: piDispersionmain){reference-type="eqref" reference="eq: piDispersionmain"} in terms of the decoherence rate of particles in superposition. We find that theories which treat gravity as fundamentally classical, are not ruled out by current experiments, however we have been able to rule out a broad parameter space of such theories. This is done partly through table-top observations via Equations [\[eq: contLocal\]](#eq: contLocal){reference-type="eqref" reference="eq: contLocal"}, [\[eq: disLocal\]](#eq: disLocal){reference-type="eqref" reference="eq: disLocal"} and [\[eq: contDP\]](#eq: contDP){reference-type="eqref" reference="eq: contDP"}. Given any diffusion kernel, we can compute the inaccuracy of mass measurements due to fluctuations in the gravitational field, and using the trade-off, we can derive a bound on the associated decoherence rate. This allows us to rule out broad classes of theories in terms of their diffusion kernel. For example, we are able to rule out a number of theories which are continuous in phase space. Then, using the trade-off of Equation [\[eq: diffusion rate trade-offmain\]](#eq: diffusion rate trade-offmain){reference-type="eqref" reference="eq: diffusion rate trade-offmain"}, we saw that there was some tension with cosmological observations and kernels such as that of Equation [\[eq: Xlocal\]](#eq: Xlocal){reference-type="eqref" reference="eq: Xlocal"} and [\[eq: lapbelt\]](#eq: lapbelt){reference-type="eqref" reference="eq: lapbelt"}, which produce diffusion over all space. However, we are not confident enough in our understanding of cosmology in CQ theories to rule these out. Any theory which treats gravity classically has fairly limited freedom to evade the effects of the trade-off. There is freedom to choose the diffusion or decoherence kernels \(D_2(x,x')\) and \(D_0(x,x')\), but the trade-off restricts one in terms of the other. Then, because of the results proven in, one can consider two classes of theory, those which are continuous realisations and whose diffusion can only depend on the gravitational degrees of freedom, and discrete theories whose diffusion can also depend directly on the matter fields. Examples of both classes of theory are given in Appendix [\[sec: cqlimit\]](#sec: cqlimit){reference-type="ref" reference="sec: cqlimit"}. Finally, one could consider theories which do not reproduce the weak field limit of General Relativity to all distances, namely we could imagine that the interaction Hamiltonian of Equation [\[eq:interaction_ham\]](#eq:interaction_ham){reference-type="eqref" reference="eq:interaction_ham"} does not hold to arbitrarily short distances, or arbitrarily high mass densities. This would correspond to modifying \(D_1(x,x')\) in some way, either by making it slightly non-local, or by disallowing arbitrarily high mass densities, or by including an additional contribution such as the friction term discussed in [\[ss:continuous\]](#ss:continuous){reference-type="ref" reference="ss:continuous"}. All of these modifications would seem to violate Lorentz invariance in some way[^7]. Here, we have only given an order of magnitude estimate of when gravitational diffusion will lead to appreciable deviations from Newtonian gravity or General Relativity. We have done so in a number of regimes. The most promising being table-top experiments which precisely measure the mass of an object. This is an area which is important from the perspective of weight standards, for example those undertaken by NIST on the 1kg mass standard K20 and K4. The increased precision and measuring time of Kibble Balances and atomic interferometers would make such measurements an ideal testing ground, both to further constrain the diffusion kernel, and to look for diffusion effects, whose dependence on the test mass is outlined in Appendix [\[sec: grav diffusion\]](#sec: grav diffusion){reference-type="ref" reference="sec: grav diffusion"}. Here, we have found that the time \(T\) over which results of the measurement are made, affects the strength of the bound, and it would be helpful if future experiments reported this value. Since we have found that CQ theories predict an uncertainty in mass measurements it is perhaps intriguing that different experiments to measure Newton's constant \(G\) yield results whose relative uncertainty differ by as much as \(5 \cdot10^{-4}\) m\(^3\)kg\(^{-1}\)s\(^{-2}\), which is more than an order of magnitude larger than the average reported uncertainty. If one were to try and explain the discrepancy in \(G\) measurements via gravitational diffusion, then for all the kernels we studied in Section [11](#sec: gravity){reference-type="ref" reference="sec: gravity"} we find that the variation in acceleration depends on \(\frac{1}{\sqrt{N}}\) the number of nucleons in the test mass, so that masses with smaller volume should yield larger uncertainty and this would be the effect to look for in measurement discrepancies. The relatively large uncertainty in such measurements, also makes it challenging for table-top experiments to place strong upper bounds on gravitational diffusion. We have also estimated the effect that this diffusion would have on the energy density of the universe, and in the production of stochastic waves in terms of gravitational kinetic energy in the weak field limit. We have found that spatially uncorrelated and continuous realisations of classical gravity which reproduce General Relativity at short distances, appear to be ruled out by cosmological considerations as well, since the energy density of the stochastic wave contribution is high enough that it should effect the expansion rate of the universe. However, this is a regime where we do not understand the theory well, and so we are cautious about making too strong a claim. We have also found that the stochastic production of gravitational kinetic energy waves is in a regime which could be detectable by LIGO, an effect which constrains the form of \(D_2(x,x')\). However, initial estimates suggest that this is less constraining than table top experiments. For this to be definitive, a more precise understanding of gauge artifacts and of the dynamics that the diffusion induces on the Newtonian potential is required, especially over longer time scales. How this diffusion might effect dynamics over galactic scales and longer times, requires a fuller General Relativistic treatment, a study which we undertake in where we find that it causes deviations from what general relativity predicts. Turning to the other side of the trade-off, improved decoherence times would further squeeze theories in which gravity remains classical. While a current experimental challenge is to demonstrate interference patterns using larger and larger mass particles, we here find that some of our bounds depend on the expectation of the particle's mass density, either in terms of \(\langle m^2(x)\rangle/\lambda\), or in ways which depend on the particular kernel. Thus interference experiments with particles of high *mass density* rather than mass can be preferable. There are also kernels, for which the relevant quantity is the expectation of the mass density, which will depend on the size of the wave-packet used in the interference experiment, a quantity which is rarely obtainable from most papers which report on such experiments. While this dependence might initially appear counter-intuitive, it follows from the fact that in order to relate the trade-off in terms of coupling constants to observational quantities, and in particular, the decoherence rate, we took expectation values of the relevant quantities to get a trade-off in terms of only averages. And indeed the decoherence rate, which is an expectation value, can easily depend on the wave-packet density, as we see from examples is Section [\[sec: decoherenceRatesAppendix\]](#sec: decoherenceRatesAppendix){reference-type="ref" reference="sec: decoherenceRatesAppendix"}. Since we here show that all theories which treat gravity classically necessarily decohere the quantum system, another constraint on theories which treat gravity classically is given by constraints on fundamental decoherence. These are usually constrained by bounds on anomalous heating of the quantum system. However, these constraints are not in themselves very strong, since fundamental decoherence effects can be made arbitrarily weak. In the simplified model in Appendix [\[sec: cqlimit\]](#sec: cqlimit){reference-type="ref" reference="sec: cqlimit"}, the strength of the decoherence depends on the strength of the gravitational field, thus, constraints due to heating can be suppressed, either by scaling the Lindbladian coupling constants, or by having strong decoherence effects more pronounced near stronger gravitational fields such as near black holes where one expects information loss to occur. The necessity for decoherence to heat the quantum system is further weaked by the fact that the dynamics are not Markovian on the quantum fields, if one integrates out the classical degrees of freedom, space-time acts as a memory. This potentially captures some of the non-Markovian features advocated in, who recognised that Markovianity is a key assumption in attempts to rule out fundamental decoherence or information loss. Here however, we see that there is less freedom than one might imagine. If the Lindbladian coupling constants are made small to reduce heating, the gravitational diffusion must be large. Thus, heating constraints which place bounds on \(D_0(x,x')\) place additional constraints on \(D_2(x,x')\). While the absence of diffusion could rule out theories where gravity is fundamentally classical, the presence of such deviations, at least on short time scales, might not by itself be a confirmation of the classical nature of gravity. Such effects could instead be caused by quantum theories of gravity whose classical limit is effectively described by or perhaps. In other words, one might expect some gravitational diffusion, because from an effective theory point of view, one is in a regime where space-time is behaving classically. However, the trade-off we have derived is a direct consequence of treating the background space-time as fundamentally classical. In a fully quantum theory of gravity, the interaction of the gravitational field with particles in a superposition of two trajectories will cause decoherence, but coherence can then be restored when the two trajectories converge. This is what happens when electrons interact with the electromagnetic field while passing through a diffraction grating, yet still form an interference pattern at the screen. This is a non-Markovian effect, and the trade-off we derived is a direct consequence of the positivity condition, which is a direct consequence of the Markovian assumption. In the non-Markovian theory where General Relativity is treated classically, one still expects the master equation to take the form found in, but without the matrix whose elements are \(D_n^{\mu\nu}\) needing to be positive semi-definite.
# Introduction
When considering the dynamics of composite quantum systems, there are many regimes where one system can be taken to be classical and the other quantum-mechanical. For example, in quantum thermodynamics we often have a quantum system interacting with a large thermal reservoir that can be treated classically, whilst in atomic physics it is common to consider the behaviour of quantum atoms in the presence of classical electromagnetic fields. Things become more complicated when one considers classical-quantum (CQ) dynamics where the quantum system back-reacts on the classical system. This is particularly relevant in gravity, because we would like to study the back-reaction of thermal radiation being emitted from black holes on space-time, and while the matter fields can be described by quantum field theory, we only know how to treat space-time classically. Likewise in cosmology, vacuum fluctuations are a quantum effect which we believe seeds galaxy formation, while the expanding space-time they live on can only be treated classically. In addition to the need for an effective theory which treats space-time in the classical limit, there has long been a debate about whether one should quantise gravity [@cecile2011role; @Feynman:1996kb-note; @AharonovParadoxes-note; @eppley1977necessity; @unruh1984steps; @carlip2008quantum; @Mari:2015qva; @Baym3035; @belenchia2018quantum; @kent2018simple; @oppenheim_post-quantum_2018; @rydving2021gedanken]. There has even been much discussion on whether quantum-classical coupling can even be consistent. Many proposals for such dynamics are not completely positive (CP)[^8], meaning they are at best an approximation and fail outside a regime of validity. The semi-classical Einstein's equation, which replaces the quantum operator corresponding to the stress-energy tensor by its expectation value, is another attempt to treat the classical limit from an effective point of view, but it is non-linear in the state, leading to pathological behavior if quantum fluctuations are of comparable magnitude to the stress-energy tensor. This is often the precise regime we would like to understand. However, dynamics introduced in and studied in do not suffer from such problems, and lead to consistent dynamics. In particular, the master-equation shown in Equation [\[eq: cqdyngen\]](#eq: cqdyngen){reference-type="eqref" reference="eq: cqdyngen"}, is linear, preserves the division of classical degrees of freedom and quantum ones, and is completely positive (CP) and preserves normalisation. This ensures that probabilities of measurement outcomes remain positive and always add to \(1\). The dynamics is related to the GKSL or Lindblad equation , which for bounded generators of the dynamics, is the most general Markovian dynamics for an open quantum system. Likewise, Equation [\[eq: cqdyngen\]](#eq: cqdyngen){reference-type="eqref" reference="eq: cqdyngen"} is the most general Markovian classical-quantum dynamics with bounded generators . Sub-classes of this master equation along with meeasurement and feedback approaches have been discussed in the context of Newtonian models of gravity , and further developed into a spatially covariant framework so that Einstein gravity in the ADM formalism emerges as a limiting case. In this work, we move away from specific realisations of CQ dynamics, in order to discuss their common features and the experimental signatures that follow from this. An early precursor to the discussion here, is the insight of Diósi who added classical noise and quantum decoherence to the master equation of, and found the noise and decoherence trade-off required for the dynamics to become completely positive. Here we prove that the phenomena found in are generic features of all CQ dynamics; the classical-quantum interaction necessarily induces decoherence on the quantum system, and there is a generic trade-off between the rate of decoherence and the amount of diffusion in the classical phase space. The stronger the interaction between the quantum system and the classical one, the greater the trade-off. One cannot have quantum systems with long-coherence times without inducing a lot of diffusion in the classical system. One can also generalise this result to a trade-off between the rate of diffusion and the strength of more general couplings to Lindblad operators, with decoherence being a special case. This is expressed as Equations [\[eq: decdifnonham\]](#eq: decdifnonham){reference-type="eqref" reference="eq: decdifnonham"} and [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"}, which bounds the product of diffusion coefficients and Lindblad coupling constants in terms of the strength of the CQ-interaction. It is precisely this trade-off which allows the theories considered here, to evade the no-go arguments of Feynmann, Aharonov, Eppley and Hannah and others. The essence of arguments against quantum-classical interactions is that they would prohibit superpositions of quantum systems which source a classical field. Since different classical fields are perfectly distinguishable in principle, if the classical field is in a distinct state for each quantum state in the superposition, the classical field could always be used to determine the state of the quantum system, causing it to decohere instantly. By satisfying the trade-off, the quantum system preserves coherence because diffusion of the classical degrees of freedom mean that the state of the classical field does not determine the state of the quantum system. Equation [\[eq: decdifnonham\]](#eq: decdifnonham){reference-type="eqref" reference="eq: decdifnonham"} and other variants we derive, quantify the amount of diffusion required to preserve any amount of coherence. If space-time curvature is treated classically, then complete positivity of the dynamics means its interaction with quantum fields *necessarily* results in unpredictability and gravitationally induced decoherence. This trade-off between the decoherence rate and diffusion provides an experimental signature, not only of models of hybrid Newtonian dynamics such as or post-quantum theories of General Relativity such as but of any theory which treats gravity as being fundamentally classical. The metric and their conjugate momenta necessarily diffuse away from what Einstein's General Relativity predicts. This experimental signature squeezes classical-quantum theories of gravity from both sides: if one has shorter decoherence times for superpositions of different mass distributions, one necessarily has more diffusion of the metric and conjugate momenta. In Appendix [\[sec: grav diffusion\]](#sec: grav diffusion){reference-type="ref" reference="sec: grav diffusion"} we show that the latter effect causes imprecision in measurements of mass such as those undertaken in the Cavendish experiment or in measurements of Newton's constant "Big G\". The precision at which a mass can be measured in a short time, thus provides an upper bound on the amount of gravitational diffusion, as quantified by Equation [\[eq: variationForceMain\]](#eq: variationForceMain){reference-type="eqref" reference="eq: variationForceMain"}, while decoherence experiments place a lower bound on the diffusion. Our estimates suggest that experimental lower bounds on the coherence time of large molecules, combined with gravitational experiments measuring the acceleration of small masses, already place strong restrictions on theories where space time isn't quantised. In Section [11](#sec: gravity){reference-type="ref" reference="sec: gravity"} we show that several realisations of CQ-gravity are already ruled out, while other realisations produce enough diffusion away from General Relativity to be detectable by future table-top experiments. Although the absence of such deviations from General Relativity would not be as direct a confirmation of the quantum nature of gravity, such as experiments proposed in to exhibit entanglement generated by gravitons, it would effectively rule out any sensible theory which treats space-time classically. While confirmation of gravitational diffusion would suggest that space-time is fundamentally classical. The outline of this paper is as follows. In Sec. [8](#sec: cqdnamics){reference-type="ref" reference="sec: cqdnamics"} we review the general form of the CQ master equation of classical-quantum systems. The CQ-map can be represented in a manner akin to the Kraus-representation for quantum maps, with conditions for it to be Completely Positive and Trace Preserving (CPTP). We can perform a short time moment expansion of the *CQ-map* taking states at some initial time, to states at a later time. This gives us the CQ version of the Kramers-Moyal expansion . The physical meaning of the moments is discussed in Subsection [8.2](#ss:momentsmeaning){reference-type="ref" reference="ss:momentsmeaning"}. In Sec. [9](#sec: tradeoff){reference-type="ref" reference="sec: tradeoff"} we show that there is a general trade-off between decoherence of the quantum system and diffusion in the classical system. We generalize the trade-off to the case of fields in Section [10](#sec: fieldTradeOff){reference-type="ref" reference="sec: fieldTradeOff"} and in Subsection [11](#sec: gravity){reference-type="ref" reference="sec: gravity"}, we apply the inequality in the gravitational setting. The positivity constraints mean that the considerations do not depend on the specifics of the theory, only that it treats gravity classically, and be Markovian. This allows us to discuss some of the observational implications of this result and we comment on the relevant figures of merit required in interference and precision mass measurements in order to constrain theories of gravity, as they are not always readily available in published reports. In addition to table-top constraints, we consider those due to cosmological observations. We then conclude with a discussion of our results in Sec. [12](#sec: conclusion){reference-type="ref" reference="sec: conclusion"}. The Appendix collects or previews a number of technical results.
# Classical-Quantum dynamics {#sec: cqdnamics}
Let us first review the general map and master equation governing classical-quantum dynamics. The classical degrees of freedom are described by a differential manifold \(\mathcal{M}\) and we shall generically denote elements of the classical space by \(z\). For example, we could take the classical degrees of freedom to be position and momenta in which case \(\mathcal{M}= \mathbb{R}^{2}\) and \(z= (q,p)\). The quantum degrees of freedom are described by a Hilbert space \(\mathcal{H}\). Given the Hilbert space, we denote the set of positive semi-definite operators with trace at most unity as \(S_{\leq 1}(\mathcal{H})\). Then the CQ object defining the state of the CQ system at a given time is a map \(\varrho: \mathcal{M} \to S_{\leq 1}(\mathcal{H})\) subject to a normalization constraint \(\int_{\mathcal{M}} dz \Tr{\mathcal{H}}{\varrho} =1\). To put it differently, we associate to each classical degree of freedom a sub-normalized density operator, \(\varrho(z)\), such that \(\Tr{\mathcal{H}}{\varrho} = p(z) \geq 0\) is a normalized probability distribution over the classical degrees of freedom and \(\int_{\mathcal{M}} dz \varrho(z)\) is a normalized density operator on \(\mathcal{H}\). An example of such a *CQ-state* is the CQ qubit depicted as a \(2\times 2\) matrix over phase space. More generally, we can define any *CQ operator* \(f(z)\) which lives in the fibre bundle with base space \(\mathcal{M}\) and fibre \(\mathcal{H}\). Just as the Lindblad equation is the most general evolution law which maps density matrices to density matrices, we can ask, what is the most general evolution law, which preserves the quantum-classical state-space. Any such dynamics, if it is to preserve probabilities, must be completely positive, norm preserving, and linear in the CQ-state[^9]. We will also require the map to be Markovian on the combined classical-quantum system, which is equivalent to requiring that there is no hidden system which acts as a memory. This is natural if the interaction is taken to be fundamental, but is the assumption which one might want to remove if one thinks of the hybrid theory as an effective description. We thus take these as the minimal requirements that any fundamental classical-quantum theory must satisfy if it is to be consistent. The most general CQ-dynamics, which maps CQ states onto themselves can be written in the form \[\label{eq: CPmap} \varrho(z,t+ \delta t) = \int dz'\sum_{\mu \nu}\Lambda^{\mu\nu}(z|z',\delta t) L_{\mu} \varrho(z',t) L_{\nu}^{\dag}\] where the \(L_{\mu}\) are an orthogonal basis of operators and \(\Lambda^{\mu\nu}(z|z',\delta t)\) is positive semi-definite for each \(z,z'\). Henceforth, we will adopt the Einstein summation convention so that we can drop \(\sum_{\mu\nu}\) with the understanding that equal upper and lower indices are presumed to be summed over. The normalization of probabilities requires \[\label{eq: prob} \int dz \Lambda^{\mu\nu}(z|z',\delta t) L_{\nu}^{\dag}L_{\mu} =\mathbb{I}.\] The choice of basis \(L_\mu\) is arbitrary, although there may be one which allows for unique trajectories. Equation [\[eq: CPmap\]](#eq: CPmap){reference-type="eqref" reference="eq: CPmap"} can be viewed as a generalisation of the Kraus decomposition theorem. In the case where the classical degrees of freedom are taken to be discrete, Poulin used the diagonal form of this map to derive the most general form of Markovian master equation for bounded operators, which is the one introduced in . When the classical degrees of freedom are taken to live in a continuous configuration space, we need to be a little more careful, since \(\varrho(z)\) may only be defined in a distributional sense; for example, \(\varrho(z) = \delta(z, \bar{z}) \varrho( \bar{z})\). In this case [\[eq: CPmap\]](#eq: CPmap){reference-type="eqref" reference="eq: CPmap"} is completely positive if the eigenvalues of \(\Lambda^{\mu \nu}(z|z',\delta t)\), \(\lambda^{\mu}(z|z',\delta t)\), are positive so that \(\int dz dz' P_{\mu}(z,z')\lambda^{\mu}(z|z',\delta t) \geq 0\) for any vector with positive components \(P_{\mu}(z,z')\). One can derive the CQ master equation by performing a short time expansion of [\[eq: CPmap\]](#eq: CPmap){reference-type="eqref" reference="eq: CPmap"} in the case when the \(L_\mu\) are bounded. To do so, we first introduce an arbitrary basis of traceless Lindblad operators on the Hilbert space, \(L_{\mu} = \{I, L_{\alpha}\}\). Now, at \(\delta t=0\) we know [\[eq: CPmap\]](#eq: CPmap){reference-type="eqref" reference="eq: CPmap"} is the identity map, which tells us that \(\Lambda^{00} (z|z', \delta t=0) = \delta(z,z')\). Looking at the short time expansion coefficients, by Taylor expanding in \(\delta t \ll 1\), we can write \[\begin{aligned}
\label{eq: shortime} &\Lambda^{\mu \nu}(z|z',\delta t) = \delta^{\mu}_{0} \delta^{ \nu}_{0} \delta(z,z') + W^{\mu \nu}(z|z') \delta t + O(\delta t^2). \end{aligned}\] By substituting the short time expansion coefficients into [\[eq: CPmap\]](#eq: CPmap){reference-type="eqref" reference="eq: CPmap"} and taking the limit \(\delta t \to 0\) we can write the master equation in the form \[\begin{aligned}
\frac{\partial \varrho(z,t)}{\partial t} = \int dz' \ W^{\mu \nu}(z|z') L_{\mu} \varrho(z') L_{\nu}^{\dag}-\frac{1}{2}W^{\mu \nu}(z) \{ L_{\nu}^{\dag} L_{\mu}, \varrho \}_+, \label{eq: cqdyngen} \end{aligned}\] where \(\{, \}_+\) is the anti-commutator, and preservation of normalisation under the trace and \(\int dz\) defines \[W^{\mu \nu}(z) = \int \mathrm{d} z' W^{\mu \nu}(z'| z).\] We see the CQ master equation is a natural generalisation of the Lindblad equation and classical rate equation in the case of classical-quantum coupling. We give a more precise interpretation of the different terms arising when we perform the Kramers-Moyal expansion of the master equation at the end of the section. The positivity conditions from [\[eq: CPmap\]](#eq: CPmap){reference-type="eqref" reference="eq: CPmap"} transfer to positivity conditions on the master equation via [\[eq: shortime\]](#eq: shortime){reference-type="eqref" reference="eq: shortime"}. We can write the positivity conditions in an illuminating form by writing the short time expansion of the transition amplitude \(\Lambda^{\mu \nu}(z|z',\delta t)\), as defined by equation [\[eq: shortime\]](#eq: shortime){reference-type="eqref" reference="eq: shortime"}, in block form \[\label{eq: block1} \Lambda^{\mu \nu}(z|z',\delta t) = \begin{bmatrix} \delta(z,z') + \delta t W^{00}(z|z') & \delta t W^{0\beta}(z|z') \\ \delta t W^{\alpha 0}(z|z') & \delta t W^{\alpha \beta} (z|z') \\ \end{bmatrix} + O(\delta t^2)\] and the dynamics will be positive if and only if \(\Lambda^{\mu \nu}(z|z',\delta t)\) is a positive matrix. It is possible to introduce an arbitrary set of Lindblad operators \(\bar{L}_{\mu}\) and appropriately redefine the couplings \(W^{\mu \nu}(z|z')\) in [\[eq: cqdyngen\]](#eq: cqdyngen){reference-type="eqref" reference="eq: cqdyngen"}. For most purposes, we shall work with a set of Lindblad operators which includes the identity \(L_{\mu} = (I, L_{\alpha})\); this is sufficient since any CQ master equation is completely positive if and only if it can be brought to the form in [\[eq: cqdyngen\]](#eq: cqdyngen){reference-type="eqref" reference="eq: cqdyngen"}, where the matrix [\[eq: block1\]](#eq: block1){reference-type="eqref" reference="eq: block1"} is positive.
## The CQ Kramers-Moyal expansion {#sec: kramersMoyal}
In order to study the positivity conditions it is first useful to perform a moment expansion of the dynamics in a classical-quantum version of the Kramers-Moyal expansion . In classical Markovian dynamics, the Kramers-Moyal expansion relates the master equation to the moments of the probability transition amplitude and proves to be useful for a multitude of reasons. Firstly, the moments are related to observable quantities; for example, the first and second moments of the probability transition amplitude characterize the amount of drift and diffusion in the system. This is reviewed in Subsection [8.2](#ss:momentsmeaning){reference-type="ref" reference="ss:momentsmeaning"}. Secondly, the positivity conditions on the master equation transfer naturally to positivity conditions on the moments, which we can then relate to observable quantities. In the classical-quantum case, we shall perform a short time moment expansion of the transition amplitude \(\Lambda^{\mu \nu}(z|z',\delta t)\) and then show that the master equation can be written in terms of these moments. We then relate the moments to observational quantities, such as the decoherence of the quantum system and the diffusion in the classical system. We work with the form of the dynamics in [\[eq: cqdyngen\]](#eq: cqdyngen){reference-type="eqref" reference="eq: cqdyngen"}, using an arbitrary orthogonal basis of Lindblad operators \(L_{\mu} = \{\mathbb{I}, L_{\alpha}\}\). We take the classical degrees of freedom \(\mathcal{M}\) to be \(d\) dimensional, \(z= (z_1, \dots z_d)\), and we label the components as \(z_i\), \(i \in \{1, \dots d\}\). We begin by introducing the moments of the transition amplitude \(W^{\mu \nu}(z|z')\) appearing in the CQ master equation [\[eq: shortime\]](#eq: shortime){reference-type="eqref" reference="eq: shortime"} \[D^{\mu \nu}_{n, i_1 \dots i_n}(z'):= \frac{1}{n!}\int dz W^{\mu \nu}(z|z')(z-z')_{i_1} \dots (z-z')_{i_n}.\] The subscripts \(i_j \in \{1, \dots d\}\) label the different components of the vectors \((z-z')\). For example, in the case where \(d=2\) and the classical degrees of freedom are position and momenta of a particle, \(z=(z_1,z_2) = (q,p)\), then we have \((z-z') = (z_1-z'_1, z_2-z_2') = ( q-q',p-p')\). The components are then given by \((z-z')_1 = (q-q')\) and \((z-z')_2 = (p-p')\). \(M^{\mu \nu}_{n, i_1 \dots i_n} (z',\delta t)\) is seen to be an \(n\)'th rank tensor with \(d^n\) components. In terms of the components \(D^{\mu \nu}_{n, i_1 \dots i_n}\) the short time expansion of the transition amplitude \(\Lambda^{\mu \nu}(z|z')\) is given by \[\label{eq: shortimeCP} \Lambda^{\mu \nu}(z|z',\delta t) = \delta_0^{\mu} \delta_0^{\nu} \delta(z,z') + \delta t \sum_{n=0}^{\infty}D^{\mu \nu}_{n, i_1 \dots i_n}(z') \left(\frac{\partial^n }{\partial z_{i_1}' \dots \partial z_{i_n}' }\right) \delta(z,z') + O(\delta t^2),\] and the master equation takes the form \[\begin{aligned}
\label{eq: expansion}\nonumber \frac{\partial \varrho(z,t)}{\partial t} &= \sum_{n=1}^{\infty}(-1)^n \left(\frac{\partial^n }{\partial z_{i_1} \dots \partial z_{i_n} }\right) \left( D^{00}_{n, i_1 \dots i_n}(z,\delta t) \varrho(z,t) \right)\\ \nonumber & -i [H(z),\varrho(z) ] + D_0^{\alpha \beta}(z) L_{\alpha} \varrho(z) L_{\beta}^{\dag}-\frac{1}{2} D_0^{\alpha \beta} \{ L_{\beta}^{\dag} L_{\alpha}, \varrho(z) \}_+ \\ & + \sum_{\mu \nu \neq 00} \sum_{n=1}^{\infty}(-1)^n \left(\frac{\partial^n }{\partial z_{i_1} \dots \partial z_{i_n} }\right)\left( D^{\mu \nu}_{n, i_1 \dots i_n}(z) L_{\mu} \varrho(z,t) L_{\nu}^{\dag} \right), \end{aligned}\] where we define the Hermitian operator \(H(z)= \frac{i}{2}(D^{\mu 0}_0 L_{\mu}-D^{0 \mu}_0 L_{\mu}^{\dag})\) (which is Hermitian since \(D^{\mu 0}_0 = D^{0 \mu *}_0\)). We see the first line of [\[eq: expansion\]](#eq: expansion){reference-type="eqref" reference="eq: expansion"} describes purely classical dynamics, and is fully described by the moments of the identity component of the dynamics \(\Lambda^{00}(z|z')\). The second line describes pure quantum Lindbladian evolution described by the zeroth moments of the components \(\Lambda^{\alpha 0}(z|z'), \Lambda^{\alpha \beta}(z|z')\); specifically the (block) off diagonals, \(D^{\alpha 0}_0(z)\), describe the pure Hamiltonian evolution, whilst the components \(D^{\alpha \beta}_0(z)\) describe the dissipative part of the pure quantum evolution. Note that the Hamiltonian and Lindblad couplings can depend on the classical degrees of freedom so the second line describes action of the classical system on the quantum one. The third line contains the non-trivial classical-quantum back-reaction, where changes in the distribution over phase space are induced and can be accompanied by changes in the quantum state.
## Physical interpretation of the moments {#ss:momentsmeaning}
Let us now briefly review the physical interpretation of the moments which will appear in our trade-off relation. In particular, the zeroth moment determines the rate of decoherence (and Lindbladian coupling more generally), the first moment gives the force exerted by the quantum system on the classical system, and the second moment determines the diffusion of the classical degrees of freedom. For this discussion we shall take the classical degrees of freedom to live in a phase space \(\Gamma = (\mathcal{M}, \omega)\), where \(\omega\) is the symplectic form. Consider the expectation value of any CQ operator \(O(z)\), \(\langle O(z)\rangle:=\int dz \tr{O(z)\varrho}\) which doesn't have an explicit time dependence. Its evolution law can be determined via Equation [\[eq: expansion\]](#eq: expansion){reference-type="eqref" reference="eq: expansion"} \[\begin{aligned}
\frac{d\langle O\rangle}{dt}& =\int dz \tr{ O(z)\frac{\partial \varrho}{\partial t}}\nonumber\\ &= \int dz \mathrm{Tr}\varrho \left[ -i [O(z),H(z)] + D_0^{\alpha \beta}(z) L_{\beta}^{\dag}O(z) L_{\alpha}-\frac{1}{2} D_0^{\alpha \beta} \{ L_{\alpha}L_{\beta}^{\dag}, O(z) \}_+ \right.\nonumber \\ & + \left. \sum_{n=1}^{\infty} \left(\frac{\partial^n }{\partial z_{i_1} \dots \partial z_{i_n} }\right)\left( D^{\alpha\beta}_{n, i_1 \dots i_n}(z) L_{\beta}^{\dag} L_{\alpha} O(z,t) \right) \right] \label{eq Hexpansion2} \end{aligned}\] where we have used cyclicity of trace and integration by parts, to bring the equation of motion into a form which would enable us to write a CQ version of the *Heisenberg representation* for a CQ operator. If we are interested in the expectation value of phase space variables \(O(z)=z_i\mathbbm{I}\) then Equation [\[eq Hexpansion2\]](#eq Hexpansion2){reference-type="eqref" reference="eq Hexpansion2"} gives \[\begin{aligned}
\frac{d\langle z_i \rangle}{dt}= \int dz D^{\mu \nu}_{1,i}\tr{L_\nu^\dagger L_\mu \varrho(z,t)} \label{eq:semiHamiltonsequation} \end{aligned}\] with all higher order terms vanishing, and we see that \(\sum_{\mu \nu \neq 00} D^{\mu\nu}_{1,i}\langle L^\dagger_\nu L_\mu\rangle\) governs the average rate at which the quantum system moves the classical system through phase space, and with the back-reaction is quantified by the Hermitian matrix \(D_1^{\alpha \mu}:= (D_{1}^{br})^{\alpha \mu}\). The force of this back-reaction is especially apparent if the equations of motion are Hamiltonian in the classical limit as in. I.e. if we define \(H_I(z) := h^{\alpha \beta} L^{\dag}_{\beta} L_{\alpha}\) and take \(D^{\alpha\beta}_{1,i}=\omega_i^j d_j h^{\alpha\beta}\) with \(\omega\) the symplectic form and \(d_j\) the exterior derivative. Then Equation [\[eq:semiHamiltonsequation\]](#eq:semiHamiltonsequation){reference-type="eqref" reference="eq:semiHamiltonsequation"} is analogous to Hamilton's equations, and the CQ evolution equation after tracing out the quantum system has the form of a Liouville's equation to first order and in the classical limit, \[\frac{\partial \rho(z,t) }{\partial t} = \{H_c, \rho(z,t) \} + \mathrm{tr}\left(\{H_I(z), \varrho(z) \}\right) + \dots \label{eq: limit}\] with \(\rho(z):=\tr{\varrho(z)}\). The significance of the second moment is also seen via Equation [\[eq Hexpansion2\]](#eq Hexpansion2){reference-type="eqref" reference="eq Hexpansion2"} to be related to the variance of phase space variables \(\sigma_{z_{i_1}z_{i_2}}:=\langle z_{i_1}z_{i_2}\rangle-\langle z_{i_1}\rangle\langle z_{i_2}\rangle\) \[\begin{aligned}
\frac{d\sigma^2_{z_{i_1},z_{i_2}}}{dt}=2\langle D^{\alpha\beta}_{2,i_1,i_2} L^\dagger_\beta L_\alpha \rangle +\langle z_2 D^{\alpha\beta}_{1,z_{i_1}}L^\dagger_\beta L_\alpha\rangle - \langle z_{i_2}\rangle\langle D^{\alpha\beta}_{1,z_{i_1}}L^\dagger_\beta L_\alpha\rangle +\langle z_{i_1} D^{\alpha\beta}_{1,z_{i_2}} L^\dagger_\beta L_\alpha \rangle - \langle z_{i_1}\rangle \langle D^{\alpha\beta}_{1,z_{i_2}}L^\dagger_\beta L_\alpha\rangle \label{eq:variance} \end{aligned}\] In the case when \(D_{1,z_{i_1}}\) is uncorrelated with \(z_{i_2}\) and \(D_{1,z_{i_2}}\) uncorrelated with \(z_{i_1}\), then the growth of the variance only depends on the diffusion coefficient. The zeroth moment \(D^{\alpha\beta}_0\) is just the pure Lindbladian couplings. The simplest example is the case of a pure decoherence process with a single Hermitian Lindblad operator \(L\) and decoherence coupling \(D_0\). Then we can define a basis \(\{|a \rangle\}\) via the eigenvectors of \(L\) and \[\begin{aligned}
\bra{a}\frac{\partial\varrho}{\partial t}\ket{b} = -i\bra{a}[H(z),\varrho]\ket{b}-\frac{1}{2}D_0(L(a)-L(b))^2 \langle a| \varrho |b \rangle \end{aligned}\] and we see that the matrix elements of \(\varrho\) which quantify coherence between the states \(\ket{a}\),\(\ket{b}\) decay exponentially fast with a decay rate of \(D_0(L(a)-L(b))^2\). For a damping/pumping process of a quantum harmonic oscillator with Hamiltonian \(H=\omega a^\dagger a\), \(L_\downarrow=a\), \(L_\uparrow=a^\dagger\), \(a\) the creation operator, and \(D_0^{\uparrow\uparrow}\), \(D_0^{\downarrow\downarrow}\) the non-zero couplings, then standard calculations show that an initial superposition \(\frac{1}{\sqrt{2}}\ket{n+m}\) with \(n\),\(m\) large and \(n\gg m\) will initially decohere at a rate of approximately \((D_0^{\uparrow\uparrow}+D_0^{\downarrow\downarrow})(m+n)/2\), and the state will eventually thermalise to a temperature of \(\omega /\log{(D_0^{\downarrow\downarrow}/D_0^{\uparrow\uparrow})}\). So in this case, the Lindblad couplings not only determine the rate of decoherence, but also the rate at which energy is pumped into the harmonic oscillator. In the next section we will derive the trade-off between Lindblad couplings and the diffusion coefficients. Although we will sometimes refer to this as a trade-off between decoherence and diffusion, this terminology is only strictly appropriate for pure decoherence processes, while more generally, it is a trade-off between Lindblad couplings and diffusion coefficients.
# A Trade off between decoherence and diffusion {#sec: tradeoff}
In this section we use positivity conditions to prove that the trade off between decoherence and diffusion seen in models such as those of are in fact a general feature of *all* classical-quantum interactions. We shall also generalise this, and derive a trade-off between diffusion and arbitrary Lindbladian coupling strengths. The trade-off is in relation to the strength of the dynamics and is captured by Equation's [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"}, [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} and [\[eq: decdifnonham\]](#eq: decdifnonham){reference-type="eqref" reference="eq: decdifnonham"}. In section [10](#sec: fieldTradeOff){reference-type="ref" reference="sec: fieldTradeOff"} we extend the trade-off to the case where the classical and quantum degrees of freedom can be fields and use this to show that treating the metric as being classical necessarily results in diffusion of the gravitational field. There are two separate possible sources for the force (or *drift*) of the back-reaction of the quantum system on phase space--it can be sourced by either the \(D^{0 \alpha}_{1,i}\) components or the Lindbladian components \(D^{\alpha \beta}_{1,i}\). We shall deal with both sources simultaneously by considering a CQ Cauchy-Schwartz inequality which arises from the positivity of \[\label{eq: observationalpositivitycontinous} \tr{\int dz dz' \Lambda^{\mu \nu}( z|z') O_{ \mu}(z,z')\rho(z') O_{\nu}^{\dag}(z,z')}\geq 0\] for any vector of CQ operators \(O_{\mu}\). One can verify that this must be positive directly from the positivity conditions on \(\Lambda^{\mu \nu}(z|z')\) and we go through the details in appendix [\[sec: positivityCondtionsAppendix\]](#sec: positivityCondtionsAppendix){reference-type="ref" reference="sec: positivityCondtionsAppendix"}. A common choice for \(O_{\mu}\) would be the set of operators \(L_{\mu}=\{ \mathbb{I}, L_{\alpha}\}\) appearing in the master equation. The inequality in Equation [\[eq: observationalpositivitycontinous\]](#eq: observationalpositivitycontinous){reference-type="eqref" reference="eq: observationalpositivitycontinous"} turns out to be especially useful since it can be used to define a (pseudo) inner product on a vector of operators with components \(O_{\mu}\) via \[\label{eq: innerProduct} \langle \bar{O}_1,\bar{O}_2 \rangle = \int dz dz' \Tr{}{\Lambda^{\mu \nu}( z|z')O_{1 \mu} \varrho(z') O^{\dag}_{2 \nu} }\] where \(||\bar{O}|| = \sqrt{\langle \bar{O}, \bar{O} \rangle} \geq 0\) due to [\[eq: observationalpositivitycontinous\]](#eq: observationalpositivitycontinous){reference-type="eqref" reference="eq: observationalpositivitycontinous"}. Technically this is not positive definite, but this shall not be important for our purpose. Taking the combination \(O_{\mu} = ||\bar{O}_2||^2 O_{1 \mu}-\langle \bar{O}_1, \bar{O}_2 \rangle O_{2 \mu}\) for vectors \(O_{1\mu}, O_{2\mu}\), positivity of the norm gives \[||\bar{O}||^2 = \ ||\bar{O}_2||^2 \bar{O}_1-\langle \bar{O}_1, \bar{O}_2 \rangle \bar{O}_2 ||^2 = ||\bar{O}_2||^2 \left( ||\bar{O}_1||^2 ||\bar{O}_2||^2-|\langle \bar{O}_1,\bar{O}_2 \rangle |^2 \right) \geq 0,\] and as long as \(||\bar{O}_2|| \neq 0\) we have a Cauchy-Schwartz inequality \[\label{eq: continuousCauchySchwarz} ||\bar{O}_1||^2 ||\bar{O}_2||^2-|\langle \bar{O}_1,\bar{O}_2 \rangle |^2 \geq 0.\] We can use [\[eq: continuousCauchySchwarz\]](#eq: continuousCauchySchwarz){reference-type="eqref" reference="eq: continuousCauchySchwarz"} to get a trade-off between the observed diffusion and decoherence by picking \(O_{2 \mu} = \delta_{\mu}^{\alpha} L_{\alpha}\) and \(O_{1 \mu} = b^i(z-z')_i L_{\mu}\), where \(L_{\mu}=\{ \mathbb{I}, L_{\alpha}\}\) are the Lindblad operators appearing in the master equation. In this case \(||\bar{O}_2|| = \int dz \Tr{}{D^{\alpha \beta}_0 L_{\alpha} \varrho L_{\beta}^{\dag}}\) and one can verify using CQ Pawula theorem [^10] that in order to have non-trivial back-reaction on the quantum system complete positivity demands that \(||\bar{O}_2|| > 0\), meaning the Cauchy-Schwartz inequality in Equation [\[eq: continuousCauchySchwarz\]](#eq: continuousCauchySchwarz){reference-type="eqref" reference="eq: continuousCauchySchwarz"} must hold. By using the short time moment expansion of \(\Lambda^{\mu \nu}(z|z')\) defined in Equation [\[eq: shortimeCP\]](#eq: shortimeCP){reference-type="eqref" reference="eq: shortimeCP"} and using integration by parts, we then arrive at the observational trade-off between decoherence and diffusion \[\label{eq: expandedTradeOff} \int dz \Tr{}{2 b^{i *} D^{\mu \nu}_{2, ij} b^j L_{\mu} \varrho(z) L_{\nu }^{\dag} } \int dz \Tr{}{D^{\alpha \beta}_0 L_{\alpha} \varrho(z) L_{\beta}^{\dag}} \geq \left| \int dz \Tr{}{b^i D^{\mu \alpha}_{1,i} L_{\mu} \varrho(z) L_{\alpha}^{\dag} } \right|^2,\] which must hold for any positive CQ state \(\varrho(z)\). Stripping out the \(b^i\) vectors, [\[eq: expandedTradeOff\]](#eq: expandedTradeOff){reference-type="eqref" reference="eq: expandedTradeOff"} is equivalent to the matrix positivity condition \[\label{eq: decdifnonham0} 0 \preceq 2 \langle D_2 \rangle \langle D_0 \rangle-\langle D_1^{br} \rangle \langle D_1^{br} \rangle^{\dag}, \ \ \ \forall \varrho(z),\] where we define \[\label{eq: definitionExpectation} \langle D_{0} \rangle = \int dz \Tr{}{D^{\alpha \beta}_0 L_{\alpha} \varrho(z) L_{\beta}^{\dag}}, \ \langle D_1^{br} \rangle_i =\int dz \Tr{}{D^{\mu \alpha}_{1,i} L_{\mu} \varrho(z) L_{\alpha}^{\dag} } , \ \langle D_{2} \rangle_{ij} = \int dz \Tr{}{ D^{\mu \nu}_{2, ij} L_{\mu} \varrho(z) L_{\nu }^{\dag} } .\] Since [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"} holds for all states, the tightest bound is provided by the infimum over all states \[0 \preceq \inf_{\varrho(z)}\{2 \langle D_2 \rangle \langle D_0 \rangle-\langle D_1^{br} \rangle \langle D_1^{br} \rangle^{\dag}\}.\] The quantities \(\langle D_2 \rangle\) and \(\langle D_0\rangle\) appearing in Equation [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"} are related to observational quantities. In particular \(\langle D_2 \rangle\) is the expectation value of the amount of classical diffusion which is observed and \(\langle D_{0} \rangle\) is related to the amount of decoherence on the quantum system. The expectation value of the back-reaction matrix \(\langle D_{1}^{br} \rangle\) quantifies the amount of back-reaction on the classical system. In the trivial case \(D_1^{br}=0\), Equation [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"} places little restriction on the diffusion and Lindbladian rates appearing on the left hand side. We already knew from that the \(D_0^{\alpha\beta}\) must be a positive semi-definite matrix, and we also know that diffusion coefficients must be positive semi-definite. However, in the non-trivial case, the larger the back-reaction exerted by the quantum system, the stronger the trade-off between the diffusion coefficients and Lindbladian coupling. Equation [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"} gives a general trade-off between observed diffusion and Lindbladian rates, but we can also find a trade-off in terms of a theory's coupling coefficients alone. We show in appendix [\[sec: diffusionDecoherenceCouplingTradeOff\]](#sec: diffusionDecoherenceCouplingTradeOff){reference-type="ref" reference="sec: diffusionDecoherenceCouplingTradeOff"} that the general matrix trade-off \[\label{eq: generalTradeOffCouplingConstants} \ D_1^{br} D_0^{-1} D_1^{ br \dag} \preceq 2 D_2\] holds for the matrix whose elements are the couplings \(D^{\mu \nu}_{2,ij}, D^{\alpha \mu}_{1,i}, D_0^{\alpha \beta}\) for any CQ dynamics. Moreover, \((\mathbb{I}-D_0 D_0^{-1})D_1^{br} =0\), which tells us that \(D_0\) cannot vanish if there is non-zero back-reaction. Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} quantifies the required amount of decoherence and diffusion in order for the dynamics to be completely positive. In Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"}, and throughout, \(D_0^{-1}\) is the generalized inverse of \(D_0^{\alpha \beta}\), since \(D_0^{\alpha \beta}\) is only required to be positive semi-definite. In the special case of a single Lindblad operator \(\alpha=1\) and classical degree of freedom, and when the only non-zero couplings are \(D_0^{11}:=D_0\), \(D_{2,pp}^{00}:=2D_2\) and \(D_{1,q}^0=1\) this trade-off reduces to the condition \(D_2D_0\geq 1\) used in. It is also useful to try to obtain an observational trade-off in terms of the total drift due to back-reaction as calculated in Equation [\[eq:semiHamiltonsequation\]](#eq:semiHamiltonsequation){reference-type="eqref" reference="eq:semiHamiltonsequation"} \[\langle D_1^{T} \rangle_i =\sum_{\mu \nu \neq 00}\int dz \Tr{}{D^{\mu \nu}_{1,i} L_{\mu} \varrho(z) L_{\nu}^{\dag} }.\] It follows directly from Equation [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"} that when the back-reaction is sourced by either \(D_{1,i}^{0 \mu}\) or \(D_{1,i}^{\alpha \beta}\) we can arrive at the observational trade-off in terms of the total drift[^11] \[\label{eq: decdifnonham} 0 \preceq 8 \langle D_2 \rangle \langle D_0 \rangle-\langle D_1^{T} \rangle \langle D_1^{T} \rangle^{\dag}, \ \ \ \forall \varrho(z),\] where the quantities appearing in Equation [\[eq: decdifnonham\]](#eq: decdifnonham){reference-type="eqref" reference="eq: decdifnonham"} are now all observational quantities, related to drift, decoherence and diffusion as outlined in the previous subsection [8.2](#ss:momentsmeaning){reference-type="ref" reference="ss:momentsmeaning"}. In the case where the back-reaction is Hamiltonian at first order in the sense of Equation [\[eq: limit\]](#eq: limit){reference-type="eqref" reference="eq: limit"}, then [\[eq: decdifnonham\]](#eq: decdifnonham){reference-type="eqref" reference="eq: decdifnonham"} can be written as \[\label{eq: decodiff} \langle \omega \cdot \frac{\partial H_I}{ \partial \vec{z}} \rangle \langle \omega \cdot \frac{\partial H_I}{ \partial \vec{z}} \rangle^{\dag} \preceq 8 \langle D_{2} \rangle \langle D_0 \rangle, \ \ \ \forall \varrho(z).\] As a result, we can derive a trade-off between diffusion and decoherence for any theory which reproduces this classical limit and treats one of the systems classically. To summarize, whenever back-reaction of the quantum system on the classical system induces a force on the phase space, then we have a trade-off between the amount of diffusion on the classical system and the strength of decoherence on the quantum system (or more precisely the strength of the Lindbladian couplings \(D_0^{\alpha \beta}\)). This can be expressed both as a condition on the matrix of coupling co-efficients in the master equation, via Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} or in terms of observable quantities using Equation's [\[eq: decdifnonham0\]](#eq: decdifnonham0){reference-type="eqref" reference="eq: decdifnonham0"} and [\[eq: decdifnonham\]](#eq: decdifnonham){reference-type="eqref" reference="eq: decdifnonham"}. In the case when the back-reaction is Hamiltonian, we further have Equation [\[eq: decodiff\]](#eq: decodiff){reference-type="eqref" reference="eq: decodiff"}. We would like to apply this trade-off to the case of gravity in the non-relativistic, Newtonian limit. In order to do so, we will need to generalise the trade-off to the case of quantum fields interacting with classical one, which we do in Section [10](#sec: fieldTradeOff){reference-type="ref" reference="sec: fieldTradeOff"}. The goal will be to understand the implications of treating the metric (or Newtonian potential) as being classical by using the trade-off when the quantum back-reaction induces a force on the gravitational field which, on expectation, is the same as the weak field limit of general relativity.
# Trade off in the presence of fields {#sec: fieldTradeOff}
We would like to explore the trade-off in the gravitational setting and explore the consequences of treating the gravitational field as being classical and matter quantum. Since gravity is a field theory, we must first discuss classical-quantum master equations in the presence of fields. In the field theoretic case, both the Lindblad operators and the phase space degrees of freedom can have spatial dependence, \(z(x), L_{\mu}(x)\) and a general bounded CP map which preserves the classicality of the two systems can be written \[\label{eq: mapFields} \rho(z, t) = \int dz' dx dy\Lambda^{\mu \nu}(z|z',t; x,y) L_{\mu}(x, z, z') \varrho(z',0) L_{\nu}^{\dag}(y, z, z'),\] where, as is usually the case with fields, in Equation [\[eq: mapFields\]](#eq: mapFields){reference-type="eqref" reference="eq: mapFields"} it should be implicitly understood that a smearing procedure has been implemented. We elaborate on some of details when fields are introduced in appendix [\[sec: cqfieldsAppendix\]](#sec: cqfieldsAppendix){reference-type="ref" reference="sec: cqfieldsAppendix"}. The condition for [\[eq: mapFields\]](#eq: mapFields){reference-type="eqref" reference="eq: mapFields"} to be completely positive on *all* CQ states is \[\label{eq: fieldPositivityAll} \int dz dx dy A_{\mu}^*(x, z, z') \Lambda^{\mu \nu}(z|z'; x,y) A_{\nu}(y, z, z')\geq 0\] meaning that \(\Lambda^{\mu \nu}(x,y)\) can be viewed as a positive matrix in \(\mu \nu\) and a positive kernel in \(x,y\). In the field theoretic case one can still perform a Kramers-Moyal expansion and find a trade-off between the coefficients \(D_0(x,y), D_1(x,y), D_2(x,y)\) appearing in the master equation. The coefficients now have an \(x,y\) dependence, due to the spatial dependence of the Lindblad operators. The coefficients \(D_1(x,y),D_2(x,y)\) still have a natural interpretation as measuring the amount of force (*drift*) and diffusion, whilst \(D_0(x,y)\) describes the purely quantum evolution on the system and can be related to decoherence. Using the positivity condition in [\[eq: fieldPositivityAll\]](#eq: fieldPositivityAll){reference-type="eqref" reference="eq: fieldPositivityAll"} we find the same trade of between coupling constants in Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} but where now \(D_2(x,y)\) is the \((p+1)n \times (p+1)n\) matrix-kernel with elements \(D_{2,ij}^{\mu \nu}(x,y)\), \(D_{1}^{br}(x,y)\) is the \(( p+1)n \times p\) matrix-kernel with rows labeled by \(\mu i\), columns labelled by \(\beta\), and elements \(D_{1, i}^{ \mu \beta}(x,y)\), and \(D_0(x,y)\) is the \(p\times p\) decoherence matrix-kernel with elements \(D_0^{\alpha \beta}(x,y)\).[^12] In the field theoretic trade off we are treating the objects in Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} as matrix-kernels, so that for any position dependent vector \(b^i_{\mu}(x)\), \(( D_2 b )_{i}^{\mu} (x) = \int dy D^{\mu \nu}_{2,i j}(x,y) b^{j}_{\nu}(y)\), whilst for any position dependent vector \(a_{\alpha}(x)\), \(( D_0 \alpha )^{\alpha} (x) = \int dy D_{0}^{\alpha \beta}(x,y) \alpha_{\beta}(y)\). Explicitly, we find that positivity of the dynamics is equivalent to the matrix condition \[\begin{aligned}
\label{eq: generalFieldMatrixInequalityMain} \int dx dy [ b^*(x), \alpha^*(x)] \begin{bmatrix} 2 D_{2}(x,y) & D_1^{br}(x,y)\\ D^{br}_1(x,y) & D_0(x,y) \end{bmatrix} \begin{bmatrix} b(y) \\ \alpha(y) \end{bmatrix} \geq 0 \end{aligned}\] which should be positive for any position dependent vectors \(b^{i}_{\mu}(x)\) and \(a_{\alpha}(x)\). This is equivalent to trade-off between coupling constants in Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} if we view [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"} as a matrix-kernel equation. Though we make no assumption on the locality of the Lindbladian and diffusion couplings, we shall hereby assume that the drift back-reaction is local, so that \(D_1^{br}(x,y) = \delta(x,y) D_1^{br}(x)\). As we shall see in the next section, this is a natural assumption if we want to have back-reaction which is given by a local Hamiltonian. However, one might not want to assume that the form of the Hamiltonian remains unchanged to arbitrarily small distances. With this locality assumption, Equation [\[eq: generalFieldMatrixInequalityMain\]](#eq: generalFieldMatrixInequalityMain){reference-type="eqref" reference="eq: generalFieldMatrixInequalityMain"} gives rise to the same trade-off of Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"}, where the trade-off is to be interpreted as a matrix kernel inequality. Writing this out explicitly we have \[\begin{aligned}
\label{eq: generalTradeOffCouplingConstants_Fields_local} \int dx dy \alpha_{\nu}^{i*}(x)D_{1,i}^{\mu \alpha}(x) (D_0^{-1})_{\alpha \beta}(x,y) D_{1,j}^{\beta \nu}(x')\alpha_{\nu}^i(x') \leq \int dx dy 2\alpha_{\mu}^{i *}(x) D_{2,ij}^{\mu \nu}(x,y) \alpha_{\nu}^j(y), \end{aligned}\] where asking that this inequality holds for all vectors \(\alpha_{\mu}^i(x)\) is equivalent to the matrix-kernel trade-off condition of Equation [\[eq: generalTradeOffCouplingConstants\]](#eq: generalTradeOffCouplingConstants){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants"}. We give two examples of master Equations satisfying the coupling constant trade-off in appendix [\[app: examplesOfKernals\]](#app: examplesOfKernals){reference-type="ref" reference="app: examplesOfKernals"}. The decoherence-diffusion trade-off tells us how much diffusion and stochasticity is required to maintain coherence when the quantum system back-reacts on the classical one. If the interaction between the classical and quantum degrees of freedom is dictated by unbounded operators, such as the mass density, then there can exist states for which the back-reaction can be made arbitrarily large. This is the case for a quantum particle interacting with its Newtonian potential through its mass density at arbitrarily short distances. Hence, if one considers a particle in a superposition of two peaked mass densities, then there can be an arbitrarily large response in the Newtonian potential around those points, and either there must be an arbitrary amount of diffusion, or the decoherence must occur arbitrarily fast. The former is unphysical, while the latter turns out to be the case in simple examples of theories such as those discussed in Appendix [\[sec: decoherenceRatesAppendix\]](#sec: decoherenceRatesAppendix){reference-type="ref" reference="sec: decoherenceRatesAppendix"}. Since our goal is to experimentally constrain classical-quantum theories of gravity, we shall hereby ask that the map [\[eq: mapFields\]](#eq: mapFields){reference-type="eqref" reference="eq: mapFields"} is CP when acting on all physical states \(\rho\). If one allows for arbitrarily peaked mass distributions then the coupling constant trade-off of Equation [\[eq: generalTradeOffCouplingConstants_Fields_local\]](#eq: generalTradeOffCouplingConstants_Fields_local){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants_Fields_local"} should be satisfied. In the field theoretic case, we can similarly find an observational trade-off, relating the expected value of the diffusion matrix \(\langle D_2(x,y) \rangle\) to the expected value of the drift in a physical state \(\varrho\) as we did in Section [9](#sec: tradeoff){reference-type="ref" reference="sec: tradeoff"}. This is done explicitly in Appendix [\[sec: cqfieldsAppendix\]](#sec: cqfieldsAppendix){reference-type="ref" reference="sec: cqfieldsAppendix"}, using a field theoretic version of the Cauchy-Schwartz inequality given by Equation [\[eq: continuousCauchySchwarzField\]](#eq: continuousCauchySchwarzField){reference-type="eqref" reference="eq: continuousCauchySchwarzField"}, we find \[\label{eq: observationalTradeOffFields0} 2 \langle D_2(x,x) \rangle \int dx' dy' \langle D_0(x',y') \rangle \succeq \langle D_1^{br}(x) \rangle \langle D_1^{br}(x) \rangle^{\dag},\] where equation [\[eq: observationalTradeOffFields\]](#eq: observationalTradeOffFields){reference-type="eqref" reference="eq: observationalTradeOffFields"} is to be understood as a matrix inequality with entries \[\label{eq: fieldCoeffDefinitions} \begin{split} & \langle D_0(x,y)\rangle = \int dz \Tr{}{D_0^{\alpha \beta} L_{\alpha}(x) \varrho L_{\beta}^{\dag}(y)}, \\ & \langle D_1^{br}(x,y)\rangle_i = \int dz \Tr{}{D_{1,i}^{\mu \alpha} L_{\mu}(x) \varrho L_{\alpha}^{\dag}(x)}, \\ & \langle D_2(x,y)\rangle_{ij} = \int dz \Tr{}{D_{2,ij}^{\mu \nu} L_{\alpha}(x) \varrho L_{\beta}^{\dag}(y)}. \end{split}\] Similarly, when the back-reaction is sourced by either \(D_{1,i}^{0 \mu}\) or \(D_{1,i}^{\alpha \beta}\) it follows from Equation [\[eq: observationalTradeOffFields0\]](#eq: observationalTradeOffFields0){reference-type="eqref" reference="eq: observationalTradeOffFields0"} we can arrive at the observational trade-off in terms of the total drift due to back-reaction \[\label{eq: observationalTradeOffFields} 8 \langle D_2(x,x) \rangle \int dx' dy' \langle D_0(x',y') \rangle \succeq \langle D_1^{T}(x) \rangle \langle D_1^{T}(x) \rangle^{\dag},\] where \[\label{eq: totdriftfieldCoeffDefinition} \langle D_1^T(x)\rangle_i = \int dz \Tr{}{D_{1,i}^{0 \alpha}(x) \varrho L_{\alpha}^{\dag}(x)+ D_{1,i}^{ \alpha 0}(x) L_{\alpha} \varrho (x) + D_{1,i}^{\alpha \beta}(x) L_{\alpha}(x) \varrho L_{\beta}^{\dag}(x)}.\] We shall now use the trade-off to study the consequences of treating the gravitational field classically. We will consider the back-reaction of the mass on the gravitational field to be governed by the Newtonian interaction (or more accurately, a weak field limit of General Relativity). We shall then find that experimental bounds on coherence lifetimes for particles in superposition require large diffusion in the gravitational field in order to be maintained and this can be upper bounded by gravitational experiments. To summarise this section, we have derived the trade-off between decoherence and diffusion for classical-quantum field theories, both in terms of coupling constants of the theory and in terms of observational quantities. This trade-off puts tight observational constraints on classical theories of gravity which we now discuss.
# Physical constraints on the classicality of gravity {#sec: gravity}
In this section we apply the trade-off of Equation [\[eq: generalFieldMatrixInequalityMain\]](#eq: generalFieldMatrixInequalityMain){reference-type="eqref" reference="eq: generalFieldMatrixInequalityMain"} to the case of gravity. Since the trade-offs derived in the previous section depend only on the back-reaction, or drift term, they are insensitive to the particulars of the theory. We shall consider the Newtonian, non-relativistic limit of a classical gravitational field which we reproduce in Appendix [\[sec: cqlimit\]](#sec: cqlimit){reference-type="ref" reference="sec: cqlimit"}. It is in taking this limit where some care should be taken, since one is gauge fixing the full general relativistic theory. We denote \(\Phi\) to be the Newtonian potential and in the weak field limit of General Relativity, it has a conjugate momenta we denote by \(\pi_\Phi\). We assume
1. The theory satisfies the assumptions used to derive the master equation as in Sections [10](#sec: fieldTradeOff){reference-type="ref" reference="sec: fieldTradeOff"}; in particular that the theory be a completely positive norm-preserving Markovian map, and that we can perform a short-time Kramers-Moyal expansion as in Appendix [\[sec: cqfieldsAppendix\]](#sec: cqfieldsAppendix){reference-type="ref" reference="sec: cqfieldsAppendix"}.
2. We apply the theory to the weak field limit of General Relativity, where as recalled in Appendix [\[sec: cqlimit\]](#sec: cqlimit){reference-type="ref" reference="sec: cqlimit"} the Newtonian potential interacts with matter through its mass density \(m(x)\), \[H_I(\Phi) = \int d^3 x \Phi(x) m(x). \label{eq:interaction_ham}\] and the conjugate momentum to \(\Phi\) satisfies \[\begin{aligned}
\dot{\pi}_{\Phi} = \frac{\nabla^2 \Phi}{4 \pi G}-m(x) \label{eq:dotpi} \end{aligned}\] where in the \(c \to \infty\) limit we recover Poisson's equation for the Newtonian potential. We assume this limit of General Relativity is satisfied on expectation, at least to leading order.
3. In relating \(D_0\) to the decoherence rate of a particle in superposition, we shall assume that the state of interest is well approximated by a state living in a Hilbert space of fixed particle number. We believe this is a mild assumption: ordinary non-relativistic quantum mechanics is described via a single particle Hilbert space, and we frequently place composite massive particles in superposition and they do not typically decay into multiple particles.
4. We will assume that the diffusion kernel \(D_2(\Phi,x,x')\) does not depend on \(\pi_\Phi\) i.e. it is *minimally coupled*. This is reasonable, since in the purely classical case matter couples to the Newtonian potential and not its conjugate momenta. [\[ass:minimal\]]{#ass:minimal label="ass:minimal"}
With these assumptions, and treating the matter density as a quantum operator \(\hat{m}(x)\), this tells us that in order for the back-reaction term to reproduce the Newtonian interaction on average \[\begin{aligned}
\tr{\{H_I,\varrho\}}= \tr{\int d^3 x \ \hat{m}(x) \frac{\delta \varrho}{\delta \pi_\Phi}} =-\sum_{\mu \nu \neq 00} \tr{\int d^3 x D_{1,\pi_{\Phi}}^{\mu \nu}(\Phi, \pi_{\Phi}, x) L_{\mu}(x) \frac{\delta \varrho}{\delta \pi_\Phi} L_{\nu}^{\dag}(x)}, \label{eq:Nsemi} \end{aligned}\] then we must pick \[\label{eq: firstMomentGravity} \langle D_{1,\pi_{\phi}}^{T}(\Phi, \pi_{\Phi}, x) \rangle =-\langle \hat{m}(x) \rangle,\] meaning that the back-reaction matrix \(D_{1,\pi_{\Phi}}^{\mu \alpha}\) is non vanishing. In Appendix [\[sec: cqlimit\]](#sec: cqlimit){reference-type="ref" reference="sec: cqlimit"} we give examples of master equations for which [\[eq: firstMomentGravity\]](#eq: firstMomentGravity){reference-type="eqref" reference="eq: firstMomentGravity"} is satisfied, but their details are irrelevant since we only require the expectation of the back-reaction force to be the expectation value of the mass--a necessary condition for the theory to reproduce Newtonian gravity. As a consequence of the coupling constant and observational trade-offs derived in Equations [\[eq: generalTradeOffCouplingConstants_Fields_local\]](#eq: generalTradeOffCouplingConstants_Fields_local){reference-type="eqref" reference="eq: generalTradeOffCouplingConstants_Fields_local"} and [\[eq: observationalTradeOffFields0\]](#eq: observationalTradeOffFields0){reference-type="eqref" reference="eq: observationalTradeOffFields0"}, a non-zero \(D_{1,\pi_{\Phi}}\) implies that there must be diffusion in the momenta conjugate to \(\pi_{\Phi}\). This diffusion is equivalent to adding a stochastic random process \(J(x,t)\) (the Langevin picture), to the equation of motion [\[eq:dotpi\]](#eq:dotpi){reference-type="eqref" reference="eq:dotpi"} to give \[\label{eq: diffusivePi} \dot{\pi}_{\Phi} = \frac{\nabla^2 \Phi}{4 \pi G}-m(x) + u(\Phi,\hat{m}) J(t,x),\] where we allow some *colouring* to the noise via a function \(u(\Phi,\hat{m})\) which can depend on \(\Phi\), and the matter distribution \(\hat{m}\) (assumption [\[ass:minimal\]](#ass:minimal){reference-type="ref" reference="ass:minimal"}). The noise process satisfies \[\label{eq: statsJ} \mathbb{E}_{m, \Phi}[u J(x,t)] =0, \ \ \ \mathbb{E}_{m, \Phi}[uJ(x,t) u J(y,t') ]= 2\langle D_2(x,y,\Phi) \rangle \delta(t,t'),\] where we have defined \(\langle D_2(x,y,\Phi) \rangle = \Tr{}{ D_{2}^{\mu \nu} (x,y, \Phi) L_{\mu}(x) \rho L^{\dag}_{\nu}(y)}\), and \(\rho\) is the quantum state for the decohered mass density. Here the \(m,\Phi\) subscripts of \(\mathbb{E}_{m,\Phi}\) allow for the possibility that the statistics of the noise process can be dependent on the Newtonian potential and mass distribution of the particle. The restriction on \(\mathbb{E}_{m, \Phi}[uJ(x,t)]\) follows from assumption (ii). If \(uJ(x,t)\) is Gaussian, Equation [\[eq: statsJ\]](#eq: statsJ){reference-type="eqref" reference="eq: statsJ"} completely determines the noise process, but in general, higher order correlations are possible, although they need not concern us here, since we are only interested in bounding the effects due to \(D_2(x,y,\Phi)\). In the non-relativistic limit, where \(c\rightarrow\infty\), we can take \(\dot{\pi}_{\Phi}\) to be small in comparison to the other terms, and we recover Poisson's equation for gravity, but with a stochastic contribution to the mass. This is precisely as expected on purely physical grounds: in order to maintain coherence of any mass in superposition, there must be noise in the Newtonian potential and this must be such that we cannot tell which element of the superposition the particle will be in, meaning the Newtonian potential should look like it is being sourced in part by a random mass distribution. In other words, the trade-off requires that the stochastic component of the coupling obscures the amount of mass \(m\) at any point. The solution to Equation [\[eq: diffusivePi\]](#eq: diffusivePi){reference-type="eqref" reference="eq: diffusivePi"} is given by \[\label{eq: poissonnoiseMain} \Phi(t,x) \approx-G \int d^3 x' \frac{[m(x',t)-u(\Phi, \hat{m})J(x',t)]}{|x-x'|},\] and a formal treatment of solutions to non-linear stochastic integrals of the form of Equation [\[eq: diffusivePi\]](#eq: diffusivePi){reference-type="eqref" reference="eq: diffusivePi"} can be found in. A higher precision calculation would involve a full simulation of CQ dynamics and in Appendix [\[sec: cqlimit\]](#sec: cqlimit){reference-type="ref" reference="sec: cqlimit"} we show in full detail the evolution the Newtonian potential looks like for general continuous CQ theories using the continuous unraveling of CQ dynamics introduced in. We find the effects are qualitatively and quantitatively the same as Equation [\[eq: poissonnoiseMain\]](#eq: poissonnoiseMain){reference-type="eqref" reference="eq: poissonnoiseMain"}. In it was shown that there are two classes of CQ dynamics, at least in the sense that there are those with continuous trajectories in phase space and those which contain discrete jumps. For the class of continuous CQ models (see and appendix [\[ss:continuous\]](#ss:continuous){reference-type="ref" reference="ss:continuous"}), we know that \(J(x,t)\) should be described by a white noise process in time, and its statistics should be independent of the mass density of the particle. We go through the full CQ calculation for the continuous models in Appendix [\[eq: newtUnrav\]](#eq: newtUnrav){reference-type="ref" reference="eq: newtUnrav"}. For the discrete class (see and Appendix [\[ss: discrete\]](#ss: discrete){reference-type="ref" reference="ss: discrete"}), \(J(x,t)\) can involve higher order moments, and will generally be described by a jump process. It's statistics can also depend on the mass density, since in general the diffusion matrix \(D^{\mu \nu}_{2,ij}\) couples to Lindblad operators. It is worth noting that the discrete CQ theories considered in generically suppress higher order moments, and often we expect that we can approximate the dynamics by a Gaussian process, but this need not be the case in general. This variation in Newtonian potential leads to observational consequences which can be used to experimentally test and constrain CQ theories of gravity for various choices of kernels appearing in the CQ master equation. One immediate consequence is that the variation in Newtonian potential leads to a variation of force experienced by a particle or composite mass via \(\vec{F}_{tot} =-\int d^3 x m(x) \nabla \Phi(x)\). We can also estimate the time averaged force via \(\frac{1}{T}\int_0^T\vec{F}_{tot}\) where \(T\) is the time over which the force is measured and is the useful quantity when comparing with experiments. Using Equation [\[eq: poissonnoiseMain\]](#eq: poissonnoiseMain){reference-type="eqref" reference="eq: poissonnoiseMain"}, in Appendix [\[sec: tabletop\]](#sec: tabletop){reference-type="ref" reference="sec: tabletop"} we find that the variance of the magnitude of the time averaged force experienced by a particle in a Newtonian potential is given by \[\label{eq: variationForceMain} \sigma_F^2 = \frac{2G^2}{T} \int d^3x d^3y d^3x' d^3y' m(x) m(y) \frac{(\vec{x}-\vec{x}') \cdot (\vec{y}-\vec{y}')}{|x-x'|^3 |y-y'|^3} \langle D_2(x',y',\Phi)\rangle,\] where the variation is averaged over a time period \(T\). We will use this to estimate the variation in precision measurements of mass, such as modern versions of the Cavendish experiement for various choices of \(\langle D_2(x',y',\Phi)\rangle\). On the other hand, experimentally measured decoherence rates can be related to \(D_0\). We explore the calculation of decoherence rates in gravity in detail in . The important point is that the decoherence rate is dominated by the background Newtonian potential \(\Phi_b\) due to the Earth. In Appendix [\[sec: decoherenceRatesAppendix\]](#sec: decoherenceRatesAppendix){reference-type="ref" reference="sec: decoherenceRatesAppendix"}, we show that for a mass whose quantum state is a superposition of two states \(|L\rangle\) and \(|R\rangle\) of approximately orthogonal mass densities \(m_L(x),m_R(x)\), and whose separation we take to be larger than the correlation range of \(D_0(x,y)\), the decoherence rate is given by \[\label{eq: decoherencerateMain} \lambda = \frac{1}{2}\int dx dy D_0^{\alpha \beta}( x,y) (\langle L | L_{\beta}^{\dag}(y) L_{\alpha}(x) |L \rangle + \langle R | L_{\beta}^{\dag}(y) L_{\alpha}(x) |R \rangle ).\] Via the coupling constant trade-off, Equations [\[eq: variationForceMain\]](#eq: variationForceMain){reference-type="eqref" reference="eq: variationForceMain"} and [\[eq: decoherencerateMain\]](#eq: decoherencerateMain){reference-type="eqref" reference="eq: decoherencerateMain"} then give rise to a double sided squeeze on the coupling \(D_2\). Equation [\[eq: variationForceMain\]](#eq: variationForceMain){reference-type="eqref" reference="eq: variationForceMain"} upper bounds \(D_2\) in terms of the uncertainty of acceleration measurements seen in gravitational torsion experiments, whilst the coupling constant trade-off Equation [\[eq: decoherencerateMain\]](#eq: decoherencerateMain){reference-type="eqref" reference="eq: decoherencerateMain"} lower bounds \(D_2\) in terms of experimentally measured decoherence rates arising from interferometry experiments. We now show this for various choices of diffusion kernel, with the details given in Appendix [\[sec: tabletop\]](#sec: tabletop){reference-type="ref" reference="sec: tabletop"}. The diffusion coupling strength will be characterized by the coupling constant \(D_2\), which we take to be a dimension-full quantity with units \(kg^2 s m^{-3}\), and is related to the rate of diffusion for the conjugate momenta of the Newtonian potential. We upper bound \(D_2\) by considering the variation of the time averaged acceleration \(\sigma_a = \frac{\sigma_F}{M}\) for a composite mass \(M\) which contains \(N\) atoms which we treat as spheres of constant density \(\rho\) with radius \(r_N\) and mass \(m_N\). We lower bound \(D_2\) via the coupling constant trade-off of Equation [\[eq: generalFieldMatrixInequalityMain\]](#eq: generalFieldMatrixInequalityMain){reference-type="eqref" reference="eq: generalFieldMatrixInequalityMain"} and then by considering bounds on the coherence time for particles with total mass \(M_{\lambda}\), which have typical length scale when in superposition \(R_{\lambda}\) and volume \(V_{\lambda}\). For continuous dynamics \(\langle D_{2}(x,y, \Phi) \rangle\) = \(D_2(x,y,\Phi)\) since the diffusion is not associated to any Lindblad operators. Let us now consider a very natural kernel, namely \(D_2(x,y;\Phi) = D_2(\Phi) \delta(x,y)\) which is both translation invariant, and does not create any correlations over space-like separated regions. In general, the squeeze will depend on the functional choice of \(D_2(\Phi)\) on the Newtonian potential. However, in the presence of a large background potential \(\Phi_b\), such as that of the Earth's, we will often be able to approximate \(D_2(\Phi) = D_2(\Phi_b)\). This is true for kernels which depend on \(\Phi\) and \(\nabla \Phi\), though the approximation does not hold for all kernels, for example \(D_2 \sim-\nabla^2 \Phi\) of Equation [\[eq: lapbeltweak\]](#eq: lapbeltweak){reference-type="eqref" reference="eq: lapbeltweak"} which creates diffusion only where there is mass density. For diffusion kernels \(D_2(\Phi_b)\) where the background potential is dominant we find the promised squeeze on \(D_2(\Phi_b)\) \[\label{eq: contLocal} \frac{\sigma_a^2 N r_N^4 T}{V_b G^2 } \geq D_2 \geq \frac{M_{\lambda}^2}{V_{\lambda} \lambda},\] where \(V_b\) is the volume of space over which the background Newtonian potential is significant. \(V_b\) enters since the variation in acceleration is found to be \[\label{eq: intD2Main} \sigma_a^2 \sim \frac{D_2 G^2 }{r_N^4 N T} \int d^3x' D_2(\Phi_b),\] where the \(d^3 x'\) integral is over all space. This immediately rules out continuous theories with noise everywhere, i.e, with a diffusion coefficient independent of the Newtonian potential since the integral will diverge. Standard Cavendish type classical torsion balance experiments measure accelerations of the order \(10^{-7}ms^{-2}\), so a very conservative bound is \(\sigma_a \sim 10^{-7}ms^{-2}\), whilst for a kg mass \(N\sim 10^{26}\) and \(r_N\sim 10^{-15} m\). Conservatively taking \(V_b \sim r_E^2 h \ m^3\) where \(r_E\) is the radius of the Earth and \(h\) is the atmospheric height gives \(D_2 \leq 10^{-41}kg^2 s m^{-3}\). The decoherence rate \(\lambda\) is bounded by various experiments . Typically, the goal of such experiments is to witness interference patterns of molecules which are as massive as possible. Taking a conservative bound on \(\lambda\), for example that arising from the interferometry experiment of which saw coherence in large organic fullerene molecules with total mass \(M_{\lambda} = 10^{-24}kg\) over a timescale of \(0.1s\), gives an upper bound on the decoherence rate \(\lambda < 10^{1} s^{-1}\). Fullerene molecules have typical size \(10^{-9}m\). After passing through the slits the molecule becomes delocalized in the transverse direction on the order of \(10^{-7}m\) before being detected. Since the interference effects are due to the superposition in the transverse \(x\) direction, which is the direction of alignment of the gratings, it seems like a reasonable assumption to take the size of the wavepacket in the remaining \(y,z\) direction to be the size of the fullerene, since we could imagine measuring the \(y,z\) directions without effecting the coherence. We therefore take the volume \(V_{\lambda} \sim 10^{-9} 10^{-9} 10^{-7}m^3 = 10^{-25}m^3\), which gives \(D_2 \geq 10^{-24} kg^2 s m^{-3}\), and suggests that classical-quantum theories of gravity with local continuous noise need to have a dependence on the Newtonian potential which will suppress the diffusion by \(20\) orders of magnitude. This happens to be the case for the kernel from Section [\[ss:lapkernel\]](#ss:lapkernel){reference-type="ref" reference="ss:lapkernel"} and whose motivation comes from the constraint algebra. On the other hand, the discrete models appear less constrained due to the suppression of the noise away from the mass density. For example consider the local discrete jumping models, such as the one given in Section [\[ss: discrete\]](#ss: discrete){reference-type="ref" reference="ss: discrete"} which have \(\langle D_2(x,y,\Phi_b)\rangle = \frac{ l_P^3 D_2(\Phi_b)}{m_P } m(x)\), where \(m_P = \sqrt{\frac{\hbar c}{G}}\) is the Planck mass and \(l_{P} = \sqrt{\frac{\hbar G}{c^3}}\) is the Planck length, required to ensure \(D_2\) has the units of \(kg^2 s m^{-3}\). We find the squeeze on \(D_2\) \[\label{eq: disLocal} \frac{ \sigma_a^2 N r_N^4 T}{ m_N G^2} \geq \frac{l_P^3}{m_P} D_2 \geq \frac{ M_{\lambda}}{\lambda},\] and plugging in the numbers tells us that discrete theories of classical gravity are not ruled out by experiment and we find \(10^{-1}kg s \geq \frac{l_P^3}{m_P} D_2 \geq 10^{-25}kg s\). We can also consider other noise kernels, with examples and some discussion given in Section [\[app: examplesOfKernals\]](#app: examplesOfKernals){reference-type="ref" reference="app: examplesOfKernals"}. A natural kernel is \(D_2(x,y,\Phi_b) =-l_P^2 D(\Phi_b) \nabla^2 \delta(x,y)\). The inverse Lindbladian kernel satisfying the coupling constants trade-off is to zeroeth order in \(\Phi(x)\), the Diosi-Penrose kernel \(D_0(x,y,\Phi_b) = \frac{D_0(\Phi_b)}{|x-y|}\). For this choice of dynamics, we find the squeeze for \(D_2\) in terms of the variation in acceleration \[\label{eq: contDP} \frac{\sigma_a^2 N r_N^3 T}{G^2} \geq l_P^2 D_2 \geq \frac{M^2_{\lambda}}{R_{\lambda} \lambda}.\] Using the same numbers as for the local continuous model, with \(R_{\lambda} \sim V_{\lambda}^{1/3}\sim10^{-9}m\) we find that classical torsion experiments upper bound \(D_2\) by \(10^{-9}kg^2 s m^{-1} \geq l_P^2 D_2\), whilst interferometry experiments bound \(D_2\) from below via \(l_P^2 D_2 \geq 10^{-40} kg^2 s m^{-1}\). Equations [\[eq: contLocal\]](#eq: contLocal){reference-type="eqref" reference="eq: contLocal"}, [\[eq: disLocal\]](#eq: disLocal){reference-type="eqref" reference="eq: disLocal"} and [\[eq: contDP\]](#eq: contDP){reference-type="eqref" reference="eq: contDP"} show that classical theories of gravity are squeezed by experiments from both ways. We have here been extremely conservative, and we anticipate that further analysis, as well as near term experiments, can tighten the bounds by orders of magnitude. There are several proposals for table-top experiments to precisely measure gravity, some of which have recently been performed, and which could give rise to tighter upper bounds on \(D_2\). Some of these experiments involve millimeter-sized masses whose gravitational coupling is measured via torsional pendula , or rotating attractors . With such devices, the gravitational coupling between small masses can be measured while limiting the amount of other sources of noise. There are proposals for further mitigating the noise due to the environment, including the inertial noise, gas particles collisions, photon scattering on the masses, and curvature fluctuations due to other sources . Other experiments are based on interference between masses; for example, atomic interferometers allow for the measurement of the curvature of space-time over a macroscopic superposition . We can get stronger lower bounds via improved coherence experiments. Typically, the goal of such experiments is to witness interference patterns of molecules which are as massive as possible, while here, we see that the experimental bound on CQ theories is generically obtained by maximizing the coherence time for massive particles with as small wave-packet size \(V_{\lambda}\). Thus far in this section we have considered local effects on particles due to the diffusion. While this enables us to rule out some types of theories, the bounds are generally weak if one wanted to rule out all of them. However, it may be possible to do so via cosmological considerations. In attempting to place experimental constraints on this diffusion, it is also worth considering other regimes, such as longer range effects which might be detected by gravitational wave detectors such as LIGO. In Appendix [\[sec: energyProduction\]](#sec: energyProduction){reference-type="ref" reference="sec: energyProduction"}, we begin a study of the cosmological effects of the diffusion by studying the observational trade-off in Equation [\[eq: observationalTradeOffFields\]](#eq: observationalTradeOffFields){reference-type="eqref" reference="eq: observationalTradeOffFields"}. For the class of CQ theories sourced by either the \(D_{1,i}^{0 \mu}\) term, or the \(D_{1,i}^{\alpha \beta}\) this gives a lower bound for the diffusion of the conjugate momentum in terms of the mass density of the particle and its decoherence rate \(\lambda\) \[\label{eq: piDispersionmain} \frac{d\sigma^2_{\pi_\Phi}(x)}{dt} \geq \frac{ |\langle m(x) \rangle|^2}{ 8 \lambda},\] which leads to an estimate of the production rate of stochastic waves in terms of their gravitational kinetic energy. This can be lower bounded in terms of experimentally decoherence rates \[\frac{d \Delta \bar{E}}{dt} \geq \int d^3 x \frac{ c^2 G \pi |\langle m(x) \rangle|^2}{12 \lambda }. \label{eq: diffusion rate trade-offmain}\] The diffusion is akin to the stochastic production of gravitational waves, but these waves need not be transverse (see Appendix [\[sec: grav diffusion\]](#sec: grav diffusion){reference-type="ref" reference="sec: grav diffusion"}). One advantage of studying this regime, is that Equation [\[eq: diffusion rate trade-offmain\]](#eq: diffusion rate trade-offmain){reference-type="eqref" reference="eq: diffusion rate trade-offmain"} is a bound which holds very generally, and which is independent of the choice of kernel, since the kinetic energy rate is lower bounded in terms of a experimentally measured decoherence rate. Since fullerene interference experiments require \(\frac{d \Delta \bar{E}}{dt} \sim 10^{-19} Js^{-1}\) over the wave-packet size of nucleons, this implies that the energy density of waves must be produced at a rate of at least \(\sim 10^{5} Js^{-1}m^{-3}\). If this was produced over all space, as required by the diffusion kernel \(D_2(x,x')=D_2\delta(x,x')\) (already ruled out by precision Cavendish experiments), this gives an apparent energy density in the ball park of \(10^{22}J/m^3\) accumulated over the age of the universe. Since the observed expansion rate of the universe puts its energy density at \(10^{-9}J/m^3\), this discrepancy would appear to rule out continuous realisations of classical gravity with the diffusion kernel \(\delta(x,x')\). This can be seen as a specific instance of diffusion kernels \(D_2(x,x')\) which diverge as \(x\rightarrow x'\), something we comment on in Section [\[app: examplesOfKernals\]](#app: examplesOfKernals){reference-type="ref" reference="app: examplesOfKernals"}. However, even here, care should be taken, partly because our estimate is non-relativistic[^13], and partly because our understanding of cosmology requires some degree of modesty--after all, quantum field theory predicts an energy density of \(10^{113} J/m^3\), and yet we do not see this reflected in the acceleration of the universe. We leave a detailed study of the effect of gravitational diffusion on LIGO to future work. It suffices to mention that the effect will again depend on the form of the kernel \(D_2(x,x')\). Our estimates suggest that local effects from table-top experiments currently place stronger bound on gravitational theories than LIGO currently does. In particular, unlike for gravitational wave measurements, which are reasonably high frequency events requiring extraordinary high precision in relative displacement of the arm length from its average, it is preferential to have a lower precision measurement, but which occurs over a longer time period to allow for the diffusion in path length to build up, and with a smaller uncertainty in the average length of the arm itself. Furthermore, since the LIGO arm is kept in a vacuum, we do not expect strong bounds on discrete models where the diffusion is associated to an energy density.
# Discussion {#sec: conclusion}
A number of direct proposals to test the quantum nature of gravity are expected to come online in the next decade or two. These are based on the detection of entanglement between mesoscopic masses inside matter-wave interferometers . For these experiments, some theoretical assumptions are needed: one requires that it is only gravitons which travel between the two masses and mediate the creation of entanglement. If this is the case, then the onset of entanglement implies that gravity is not a classical field. These can be thought of as experiments which if successful, would confirm the quantum nature of gravity (although other alternatives to quantum theory are possible ). Here, we come from the other direction, by supposing that gravity is instead classical, and then exploring the consequences. Theories in which gravity is fundamentally classical were thought to have been ruled out by various no-go theorems and conceptual difficulties. However, these no-go theorems are avoided if one allows for non-deterministic coupling as in. We have here proven that this feature is indeed necessary, and made it quantitative by exploring the consequences of complete positivity on any dynamics which couples quantum and classical degrees of freedom. Complete positivity is required to ensure the probabilities of measurement outcomes remain positive throughout the dynamics. We have shown that any theory which preserves probabilities and treats one system classically, is required to have fundamental decoherence of the quantum system, and diffusion in phase space, both of which are signatures of information loss. Using a CQ version of the Kramers-Moyal expansion, we have derived a trade-off between decoherence on the quantum system, and the system's diffusion in phase space. The trade-off is expressed in terms of the strength of the back-reaction of the quantum system on the classical one. We have derived the trade-off both in terms of coupling constants of the theory, and in terms of observational quantities that can be measured experimentally. In the case of gravity, the observational trade-off places a lower bound on the rate of diffusion of the gravitational degrees of freedom as expressed by Equation [\[eq: piDispersionmain\]](#eq: piDispersionmain){reference-type="eqref" reference="eq: piDispersionmain"} in terms of the decoherence rate of particles in superposition. We find that theories which treat gravity as fundamentally classical, are not ruled out by current experiments, however we have been able to rule out a broad parameter space of such theories. This is done partly through table-top observations via Equations [\[eq: contLocal\]](#eq: contLocal){reference-type="eqref" reference="eq: contLocal"}, [\[eq: disLocal\]](#eq: disLocal){reference-type="eqref" reference="eq: disLocal"} and [\[eq: contDP\]](#eq: contDP){reference-type="eqref" reference="eq: contDP"}. Given any diffusion kernel, we can compute the inaccuracy of mass measurements due to fluctuations in the gravitational field, and using the trade-off, we can derive a bound on the associated decoherence rate. This allows us to rule out broad classes of theories in terms of their diffusion kernel. For example, we are able to rule out a number of theories which are continuous in phase space. Then, using the trade-off of Equation [\[eq: diffusion rate trade-offmain\]](#eq: diffusion rate trade-offmain){reference-type="eqref" reference="eq: diffusion rate trade-offmain"}, we saw that there was some tension with cosmological observations and kernels such as that of Equation [\[eq: Xlocal\]](#eq: Xlocal){reference-type="eqref" reference="eq: Xlocal"} and [\[eq: lapbelt\]](#eq: lapbelt){reference-type="eqref" reference="eq: lapbelt"}, which produce diffusion over all space. However, we are not confident enough in our understanding of cosmology in CQ theories to rule these out. Any theory which treats gravity classically has fairly limited freedom to evade the effects of the trade-off. There is freedom to choose the diffusion or decoherence kernels \(D_2(x,x')\) and \(D_0(x,x')\), but the trade-off restricts one in terms of the other. Then, because of the results proven in, one can consider two classes of theory, those which are continuous realisations and whose diffusion can only depend on the gravitational degrees of freedom, and discrete theories whose diffusion can also depend directly on the matter fields. Examples of both classes of theory are given in Appendix [\[sec: cqlimit\]](#sec: cqlimit){reference-type="ref" reference="sec: cqlimit"}. Finally, one could consider theories which do not reproduce the weak field limit of General Relativity to all distances, namely we could imagine that the interaction Hamiltonian of Equation [\[eq:interaction_ham\]](#eq:interaction_ham){reference-type="eqref" reference="eq:interaction_ham"} does not hold to arbitrarily short distances, or arbitrarily high mass densities. This would correspond to modifying \(D_1(x,x')\) in some way, either by making it slightly non-local, or by disallowing arbitrarily high mass densities, or by including an additional contribution such as the friction term discussed in [\[ss:continuous\]](#ss:continuous){reference-type="ref" reference="ss:continuous"}. All of these modifications would seem to violate Lorentz invariance in some way[^14]. Here, we have only given an order of magnitude estimate of when gravitational diffusion will lead to appreciable deviations from Newtonian gravity or General Relativity. We have done so in a number of regimes. The most promising being table-top experiments which precisely measure the mass of an object. This is an area which is important from the perspective of weight standards, for example those undertaken by NIST on the 1kg mass standard K20 and K4. The increased precision and measuring time of Kibble Balances and atomic interferometers would make such measurements an ideal testing ground, both to further constrain the diffusion kernel, and to look for diffusion effects, whose dependence on the test mass is outlined in Appendix [\[sec: grav diffusion\]](#sec: grav diffusion){reference-type="ref" reference="sec: grav diffusion"}. Here, we have found that the time \(T\) over which results of the measurement are made, affects the strength of the bound, and it would be helpful if future experiments reported this value. Since we have found that CQ theories predict an uncertainty in mass measurements it is perhaps intriguing that different experiments to measure Newton's constant \(G\) yield results whose relative uncertainty differ by as much as \(5 \cdot10^{-4}\) m\(^3\)kg\(^{-1}\)s\(^{-2}\), which is more than an order of magnitude larger than the average reported uncertainty. If one were to try and explain the discrepancy in \(G\) measurements via gravitational diffusion, then for all the kernels we studied in Section [11](#sec: gravity){reference-type="ref" reference="sec: gravity"} we find that the variation in acceleration depends on \(\frac{1}{\sqrt{N}}\) the number of nucleons in the test mass, so that masses with smaller volume should yield larger uncertainty and this would be the effect to look for in measurement discrepancies. The relatively large uncertainty in such measurements, also makes it challenging for table-top experiments to place strong upper bounds on gravitational diffusion. We have also estimated the effect that this diffusion would have on the energy density of the universe, and in the production of stochastic waves in terms of gravitational kinetic energy in the weak field limit. We have found that spatially uncorrelated and continuous realisations of classical gravity which reproduce General Relativity at short distances, appear to be ruled out by cosmological considerations as well, since the energy density of the stochastic wave contribution is high enough that it should effect the expansion rate of the universe. However, this is a regime where we do not understand the theory well, and so we are cautious about making too strong a claim. We have also found that the stochastic production of gravitational kinetic energy waves is in a regime which could be detectable by LIGO, an effect which constrains the form of \(D_2(x,x')\). However, initial estimates suggest that this is less constraining than table top experiments. For this to be definitive, a more precise understanding of gauge artifacts and of the dynamics that the diffusion induces on the Newtonian potential is required, especially over longer time scales. How this diffusion might effect dynamics over galactic scales and longer times, requires a fuller General Relativistic treatment, a study which we undertake in where we find that it causes deviations from what general relativity predicts. Turning to the other side of the trade-off, improved decoherence times would further squeeze theories in which gravity remains classical. While a current experimental challenge is to demonstrate interference patterns using larger and larger mass particles, we here find that some of our bounds depend on the expectation of the particle's mass density, either in terms of \(\langle m^2(x)\rangle/\lambda\), or in ways which depend on the particular kernel. Thus interference experiments with particles of high *mass density* rather than mass can be preferable. There are also kernels, for which the relevant quantity is the expectation of the mass density, which will depend on the size of the wave-packet used in the interference experiment, a quantity which is rarely obtainable from most papers which report on such experiments. While this dependence might initially appear counter-intuitive, it follows from the fact that in order to relate the trade-off in terms of coupling constants to observational quantities, and in particular, the decoherence rate, we took expectation values of the relevant quantities to get a trade-off in terms of only averages. And indeed the decoherence rate, which is an expectation value, can easily depend on the wave-packet density, as we see from examples is Section [\[sec: decoherenceRatesAppendix\]](#sec: decoherenceRatesAppendix){reference-type="ref" reference="sec: decoherenceRatesAppendix"}. Since we here show that all theories which treat gravity classically necessarily decohere the quantum system, another constraint on theories which treat gravity classically is given by constraints on fundamental decoherence. These are usually constrained by bounds on anomalous heating of the quantum system. However, these constraints are not in themselves very strong, since fundamental decoherence effects can be made arbitrarily weak. In the simplified model in Appendix [\[sec: cqlimit\]](#sec: cqlimit){reference-type="ref" reference="sec: cqlimit"}, the strength of the decoherence depends on the strength of the gravitational field, thus, constraints due to heating can be suppressed, either by scaling the Lindbladian coupling constants, or by having strong decoherence effects more pronounced near stronger gravitational fields such as near black holes where one expects information loss to occur. The necessity for decoherence to heat the quantum system is further weaked by the fact that the dynamics are not Markovian on the quantum fields, if one integrates out the classical degrees of freedom, space-time acts as a memory. This potentially captures some of the non-Markovian features advocated in, who recognised that Markovianity is a key assumption in attempts to rule out fundamental decoherence or information loss. Here however, we see that there is less freedom than one might imagine. If the Lindbladian coupling constants are made small to reduce heating, the gravitational diffusion must be large. Thus, heating constraints which place bounds on \(D_0(x,x')\) place additional constraints on \(D_2(x,x')\). While the absence of diffusion could rule out theories where gravity is fundamentally classical, the presence of such deviations, at least on short time scales, might not by itself be a confirmation of the classical nature of gravity. Such effects could instead be caused by quantum theories of gravity whose classical limit is effectively described by or perhaps. In other words, one might expect some gravitational diffusion, because from an effective theory point of view, one is in a regime where space-time is behaving classically. However, the trade-off we have derived is a direct consequence of treating the background space-time as fundamentally classical. In a fully quantum theory of gravity, the interaction of the gravitational field with particles in a superposition of two trajectories will cause decoherence, but coherence can then be restored when the two trajectories converge. This is what happens when electrons interact with the electromagnetic field while passing through a diffraction grating, yet still form an interference pattern at the screen. This is a non-Markovian effect, and the trade-off we derived is a direct consequence of the positivity condition, which is a direct consequence of the Markovian assumption. In the non-Markovian theory where General Relativity is treated classically, one still expects the master equation to take the form found in, but without the matrix whose elements are \(D_n^{\mu\nu}\) needing to be positive semi-definite. | {'timestamp': '2022-03-07T02:01:59', 'yymm': '2203', 'arxiv_id': '2203.01982', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01982'} |
# Introduction {#sec:intro}
According to the predictions of the Einstein's Equivalence Principle (EEP) the light emitted in the stellar photospheres suffers a redshift when escaping its gravitational field, which is directly correlated to the mass-to-radius ratio of the observed star. In numbers, the measured effect is of the order of several hundred m s\(^{-1}\) for main-sequence stars and tens of times smaller for giants. For white dwarfs the gravitational effect is several tens of km s\(^{-1}\) owing to their comparatively small radius and extremely massive cores. That explains why the first attempts at detecting this relativistic effect was achieved in these types of stars by and. The proximity of the Sun allows high-quality observations that are unattainable for other stars. However, since the Sun is a main-sequence star, the gravitational effect is relatively small and the observations need to consider the shift associated with the convective nature of the photosphere. In the solar spectrum, for example, the absorption line wavelength is blueshifted by about 400 m s\(^{-1}\) after correction for the known gravitational redshift. In general, the precise amount of convective shift depends on the strength of the absorption line, i.e. stellar metallicity, surface gravity, and spectral type, or effective temperature. Several measurements have been made of the Sun, the most precise estimate being performed by, who take into account all these effects to determine the Sun's gravitational redshift at 633.1 m s\(^{-1}\) with an uncertainty of \(\sim\) 1%. Extending the test to other non-degenerate stars is of interest in order to test the EEP and the accuracy of stellar models. Nevertheless, as outlined above, such experiments are difficult: on the one hand, the hydrodynamic effect of the stellar photosphere produces a counterbalancing effect that tends to cancel out the relatively small gravitational redshift effect of the typical main-sequence star; on the other hand, obtaining data with high enough quality requires considerable effort in terms of observing time and instrumentation of high spectral resolution. These considerations explain the relatively low number of such attempts. Among these, it is worth mentioning the work by, who measured the shift of spectral lines for a sample of 144 member stars in the M67 open cluster. The aim was to measure a radial velocity shift difference between the main-sequence and giant stars. The detection was unsuccessful, so the authors conclude that the convective shift probably mimicked the gravitational effect. More recently, used *Gaia* radial velocity data to measure the redshift in the main-sequence stars and found values that are much smaller than the theoretical predictions. Again, the authors attributed this deficiency to the convective blueshift effect. A more successful attempt to detect the gravitational effect was carried out by in non-degenerate stars. These authors measured the differences in velocities between the components of pairs of co-moving stars formed by dwarf--giant binaries. Instead of assuming the stellar hydrodynamical effect, they used a parametric model to estimate the convective shift. The final results provide compelling evidence for the compatibility between observations and theoretical predictions. Actually, measuring the gravitational redshift in galaxy clusters (e.g., @1995A&A...301....6C [@2011Natur.477..567W; @2013MNRAS.435.1278K]) and quasars could also be used to test General Relativity versus alternative theories of gravitation. Nowadays, the availability of huge databases with astrometric, photometric and spectroscopic information, such as [SDSS](https://www.sdss.org) and *Gaia*, has provided sufficient objects to detect the gravitational redshift in a statistical way. By using a sample of member stars of open clusters catalogued by *Gaia*, we aim to detect the effect of stellar gravitational redshift in non-degenerate stars. The data analyzed contain several thousand non-degenerate stars covering a wide range of mass and radius that potentially allows us to detect relative variations in their gravitational redshift. Unfortunately, the relatively weak gravitational fields existing in non-degenerated stars and the accuracy of the data used in this work does not allow to discriminate between different gravitational theories. The paper is structured in a standard way. After this introduction, Section 2 describes the sample and methodology used; in Section 3 are presented the analysis, main results, and their interpretation. Finally, conclusions and planned future work are given in Section 4.
# Methodology and Sample {#sec:method}
For this study, we use a sample of stars in open clusters (OCs) of our galaxy. OCs are young stellar clusters which have been formed from the same molecular cloud, so their members share roughly the same age and metallicity. As co-moving systems bounded by mutual gravitational attraction, their the stellar peculiar velocity in the radial direction may be assumed to be random and to cancel out on average for each OC. We took advantage of the largest radial velocity (\(RV\)) catalogue for stars in OCs by . It gathers nearly 30 000 \(RV\) measurements of 1382 OC members based on *Gaia*-RVS and ground-based surveys (see references within). The complete OCs catalogue and the initial membership probability assessment came mostly from and, both based on *Gaia* DR2 astrometry. The initial 1382 OCs data were completed with stellar parameters from the *Gaia* DR2 based StarHorse catalogue. This provides estimations of photo-astrometric distances, extinctions, and other astrophysical parameters such as effective temperature (\(T_{\rm eff}\)), surface gravity (\(\log g\)) and metallicity (\[Fe/H\]). The final dataset contains 1342 OCs and 21 403 stars classified as OC members with a minimum membership probability of 0.4, a threshold estimated by the authors. That constitutes the initial data set used in this paper. In order to select an appropriate subsample for this work, only stars with uncertainties up to 2 km s\(^{-1}\) in \(RV\) measurements were considered. This first restriction removes 24% of the initial sample objects from the analysis, and was motivated by the need to discard not only objects with poor measurements but also those that are part of binary systems, whose velocities could be dominated by the binary orbit itself. To constrain the stellar membership of the host cluster provided by, radial velocities were used as an additional criterion. It was assumed that the radial velocities of the stars in a given OC correspond to a sample of a Gaussian distribution centred on \(RV_{\rm OC}\) with a standard deviation \(\sigma_{\rm OC}\). \(RV_{\rm OC}\) was estimated as the mean value of the radial velocities of the member stars through an iterative method that rejects as outliers those stars that were originally classified as OC members, but that have velocities outside the \(\pm 3 \sigma_{\rm OC}\)-clipping. It was assumed that the spectral shift corresponds entirely to the motion of the stars, i.e. any other possible contributor, such as the gravitational redshift or convective shift, was ignored at this stage. This approach is likely to produce a small bias (of a few hundred m s\(^{-1}\)) in the estimates of \(RV_{\rm OC}\) and \(\sigma_{\rm OC}\). The relevance of this minor effect is considered in the results and conclusions sections of this paper. After estimating the radial velocity for each cluster, two additional restriction were applied. First, we consider only those clusters with a minimum number of stars in order to gain confidence in our estimation of the kinematic parameters of the cluster. Several thresholds were considered and \(N_{\rm min} \geq 20\) was chosen as a good option to keep a relatively large sample. To ensure a tight gravitational binding, those clusters with \(\sigma_{\rm OC}> 3\) km s\(^{-1}\) were also discarded. With these restrictions in place, we were left with \(\sim\)`<!-- -->`{=html}42% of the original dataset. Additional properties of the clusters such as morphology, age, position within our galaxy, or the stellar type population, etc., could be also considered as efficient criteria to optimize the sample. However, we decided to ignore them to minimize the number of assumptions and to give a more general validity to the results. Neither has it been considered the information of tangential velocities that should provide a better estimation of the kinematic and dynamical state of the OC. That might constitute an additional criteria to determine the membership probability of the stars[^1]. Finally, a total sample of 86 OCs and 8899 stars was selected for further analysis (Table [\[tab:basesample\]](#tab:basesample){reference-type="ref" reference="tab:basesample"}). A subsample of 51 OCs and 4464 stars are obtained after applying the restrictions based on the hydrodynamical model to estimate the convective shift effect of the stars (see below). Figure [\[fig:histRV\]](#fig:histRV){reference-type="ref" reference="fig:histRV"} depicts the kinematic and descriptive information for both the GR (step histogram) and GR+CS (filled histogram) data samples. It is expected that the velocity distribution for each cluster follow a Gaussian form, centered on \(RV_{\rm OC}\) with a dispersion of \(\sigma_{\rm OC}\). In order to consider all the clusters, the relative radial velocity \(\Delta RV\) distribution was depicted in Figure [\[fig:histRV\]](#fig:histRV){reference-type="ref" reference="fig:histRV"} (*left panel*), subtracting the corresponding \(RV_{\rm OC}\). After combining all the clusters, the relative velocity histogram fits a single Gaussian distribution centered at 0 with \(\sigma_{\rm GR} = 1.6\) km s\(^{-1}\) and \(\sigma_{\rm GR+CS} = 1.7\) km s\(^{-1}\), respectively for GR and GR+CS data. The velocity dispersion ranges from \(-\)`<!-- -->`{=html}8.41 to 8.08 km s\(^{-1}\) that roughly corresponds to the \(\pm 3\)-sigma level of the dispersion. The *right panel* shows the histogram distribution of member stars \(N\), illustrating how populated are the clusters (\(N_{\rm OC}\)). It serves to compare quantitatively the numbers of both data samples.
## Gravitational Redshift {#subsec: GR}
To calculate a star's predicted gravitational redshift (GR) it is necessary to know its mass and radius, as \(GR \sim M/R\). As a reference value, we estimate the gravitational redshift in the vicinity of the Sun to be \({GR}_\odot = GM_\odot/cR_\odot = 636.31\)[^2] m s\(^{-1}\). Therefore, for a given star of mass \(M_*\) and radius \(R_*\), the predicted gravitational effect is given by \(GR_*=G(M_*/M_\odot)/c (R_*/R_\odot)\). The stellar masses are provided by StarHorse catalogue and their radii can be easily estimated through their surface gravity (\(\log g \sim M/R^2\)), \(\log g\) also being available for each star. The reference value for \(\log g_\odot\) is \(4.438^\mathrm{\ref{ref_units}}\). Figure [\[fig:CMD\]](#fig:CMD){reference-type="ref" reference="fig:CMD"}, *left panel*, illustrates the Hertzprung--Russell (HR) diagram for our total data sample, color-coded with the GR predictions (km s\(^{-1}\)). The GR values span a range from a minimum of 4.45 m s\(^{-1}\) for red-giant stars, gradually increasing towards the main-sequence stars with a typical value of 0.60 km s\(^{-1}\) and reaching a maximum of 1.30 km s\(^{-1}\) for stars above the main-sequence turn-off, some of these being known as blue stragglers.
## Convective Shift {#subsec: CS}
Convective shift (CS) is a hydrodynamic effect in the observed \(RV\) due to the convective motions of the stellar photosphere. It produces a net kinematic displacement that is reflected in the line-of-sight velocity shift measured for each star. To estimate the effective contribution of the CS we used the 3D hydrodynamical model developed by, which is described as a function of three stellar parameters; namely, the stellar effective temperature (\(T_{\rm eff}\)), surface gravity (\(\log g\)), and metallicity (\[Fe/H\]). The model is constrained mainly to the main-sequence (MS) and red-giant-branch (RGB) stellar parameters. The allowed parameter ranges constitute the additional restrictions on the final data set, as mentioned before. The ranges for each parameter are: \(T_{\rm eff}[K] \in [3790.0, 6730.0]\); \(\log g [dex] \in [9.184 \cdot 10^{-4}*T_{\rm eff}-2.482, 4.5]\); \[Fe/H\]\[dex\] \(\in [-3.0, 0.0]\). After the restrictions were imposed, we were left with a total of 51 clusters and 4464 member stars (see Figure [\[fig:histRV\]](#fig:histRV){reference-type="ref" reference="fig:histRV"} for comparison with the initial data set). The estimated CS contribution per star is color-coded in the *middle panel* of the HR diagram (Figure [\[fig:CMD\]](#fig:CMD){reference-type="ref" reference="fig:CMD"}). The CS results span a range from a minimum of \(-\)`<!-- -->`{=html}322.7 m s\(^{-1}\) (i.e. blueshifted) for a typical sun-like star, to a maximum of 804.9 m s\(^{-1}\) (i.e. redshifted) for the early F-type dwarfs. It is worth highlighting that less than 2% of the stars have a CS greater than 0.3 km s\(^{-1}\), in agreement with the predictions. The total *velocity shift* contribution to the observed \(RV\), estimated from the sum of the GR and CS effects, is illustrated in the *right panel* of Figure [\[fig:CMD\]](#fig:CMD){reference-type="ref" reference="fig:CMD"}. The results are clearly differentiated between the red-giant branch and the main-sequence stars, with a minimum blueshift of \(-\)`<!-- -->`{=html}50.84 m s\(^{-1}\) and a maximum redshift (for early F-type dwarfs) of 1.16 km s\(^{-1}\), respectively. The majority of the sample, namely 74% of stars, have a total predicted shift within the range of 0.2--0.7 km s\(^{-1}\).
# Analysis and Results {#sec:analysis}
The basic hypothesis taken into account is that the observed spectral shift, in a given star, is a combination of (i) the average radial velocity of its OC; (ii) the radial component of the peculiar velocity of the star within its OC; (iii) the gravitational redshift (\(z_{\rm GR}\)) which is equivalent from an observational point of view to a radial velocity \(GR = c z_{\rm GR}\), and (iv) the effect of the convective shifts (CS) due to the stellar turbulence at the photosphere. The large size and the broad range of stellar parameters in our sample allow us to consider other second-order effects (e.g., the kinematics of the outer layer, orbital motion in binary systems, etc.) as sources of random noise. The radial velocity of each OC was estimated as the average of the radial velocities of it member stars, while the peculiar velocity of each star within its own OC was also considered a source of random noise. In summary, the observed redshift (after subtracting the mean velocity of the OC) is \(\Delta RV = GR + CS + \sigma\). To test this hypothesis, the data was parameterized as \(\Delta RV = a \cdot (GR + CS) + b\), where \(a\) is the slope correlating the expected results with the observations. Values \(a \sim 1\) indicate agreement between theory and observations. Two different approaches were taken to archive our goal. The first one is based on analyzing a fictitious cluster that has been built through the combination of the stellar members of all the OCs, and analyze it as a single system (hereafter Method A). The second approach considers only the *best*-clusters to analyze them independently (hereafter Method B). In Method A, after subtracting the radial velocity of each cluster, we jointly analyze all the stars of host selected clusters with at least 20 members, i.e. those stars in the step-histograms shown in Figure 1. Method B analyzes OCs with at least 50 members independently. The individual outcome parameters \(a\) and \(b\) are later combined into a *final* result. The analysis and results for each method are described below.
## Method A
First, we ignore the CS contribution and consider our primary data set of 86 OCs and 8899 stars. The aim is to prove, even if without the CS effect, that there is a not-null result when correlating \(\Delta RV\) with the theoretical GR. Moreover, the CS algorithm was developed specifically for the *Gaia* Radial Velocity Spectrometer, while the \(RV\) data used have multiple sources (see ref. in @2021A&A...647A..19T). To avoid any possible bias from the CS algorithm, it is important first to analyze the GR contribution alone. By least-squares fitting, we perform a linear regression for the \(\Delta RV\) as a function of GR predictions. The results obtained are: \(a = 0.425 \pm 0.077\) (slope) and \(b =-0.187 \pm 0.038\) (intercept, or the bias term). This results may be interpreted as a significant correlation between the observed redshift and the \(M/R\) ratio of the stars, although the amplitude of this correlation is about half the value predicted by GRT. As in previous studies, we can associate this difference to the neglected effect of convective shift. The value of \(b\) is interpreted as the mean value of the bias associated with the estimation of the radial velocity of each cluster. In the following, we include in the analysis the CS contribution of each star using the hydrodynamic model proposed by, as explained in the previous section. Figure [\[fig:OLS1\]](#fig:OLS1){reference-type="ref" reference="fig:OLS1"} (*upper panel*) shows the histogram of the GR + CS distribution for these stars. It exhibits a bimodal shape where the peaks correspond to red-giants (left) and main-sequence stars (right). A linear regression was performed for the \(\Delta RV\) as a function of the sum of GR and CS predictions. Figure [\[fig:OLS1\]](#fig:OLS1){reference-type="ref" reference="fig:OLS1"} (*lower panel*) shows the member stars combined into a single, fictitious cluster and the regression line with a slope \(a = 0.899 \pm 0.137\), and intercept \(b =-0.359 \pm 0.058\). The value obtained for \(a\) is compatible with unity and is therefore consistent with the joint predictions of the GTR and convective shift model. The value of the \(b\) parameter may be interpreted as the shift due to the average bias in the estimates of the radial velocities of the clusters (calculated ignoring the GR + CS term of each star). In fact, the mean \(\overline{GR + CS}\) for the whole data set (4,464 objects) is \(0.383\) km s\(^{-1}\), compatible with the absolute value of \(|b| = 0.359\) km s\(^{-1}\). One of the biggest limitations of this model is the systematic bias that could arise when different types of clusters are combined; for example, combining different clusters having only one-type stellar populations (i.e., either red giants or main-sequence stars). In that case, when subtracting the \(RV_{\rm OC}\) (defined as the mean of \(RV_{i}\), for all *i*-member stars) and afterwards combining the clusters, any substantial difference between the two stellar types is ruled out. Increasing the number of stars per cluster (\(N\)) should avoid this systematic bias. Actually, performing a quick analysis varying the number of stars per combined cluster, we realized that the slope \(a\) converges to unity with increasing \(N\). A more conservative analysis would be to perform a linear fit per cluster with a higher \(N\) threshold, and then combine the slope results. This analysis has been done in the following section.
## Method B
The systematic bias introduced in the estimation of the radial velocity of each OC is a major drawback of Method A. This has motivated the following analysis in which each OC is analyzed individually by estimating the parameters \(a_j\) and \(b_j\) for each *j*-OC and then combining their results. In this analysis, the bias in the estimation of the radial velocity of each OC is absorbed in the parameter \(b_j\) and does not affect the slopes \(a_j\). Numerous tests were carried out, changing the threshold for the minimum number of stars, particularly the \(N\geq 20\) assumed in Method A. The results obtained are robust against the specific threshold adopted, although the parameters obtained for OCs with relatively low numbers of stars are very noisy and contribute little to the average value. Therefore, a higher limit was applied for this analysis. The following results correspond to a subsample of OCs with at least 50 stars (\(N \geq 50\)). This restriction reduced the original GR-sample to the *best* 47 OCs with 7713 stars. When the CS contribution is included in the analysis, the complete GR + CS sample is reduced to 28 OCs with 3779 member stars. The \(a_j\) and \(b_j\) parameters obtained in the analysis of each OC were weighted according to their respective errors \(\varepsilon_{a_j}\) and \(\varepsilon_{b_j}\). The averaged results, ignoring the CS contribution, are \(a = 0.643 \pm 0.164\) and \(b =-0.257 \pm 0.067\). The \(a\) value obtained is consistent with the non-null hypothesis at \(\sim\)\(4 \sigma\) level. Modeling the CS effect, the weighted average results are \(a = 0.977 \pm 0.218\) and \(b =-0.395 \pm 0.082\). Figure [\[fig:OLS2\]](#fig:OLS2){reference-type="ref" reference="fig:OLS2"} and Table [\[tab:results\]](#tab:results){reference-type="ref" reference="tab:results"} show the \(a_j\) results and their standard errors for each OC when considering the CS contribution (the *best*-cluster subsample). The blue-and gray-shaded regions enclose the \(a \pm \varepsilon_a\) values obtained from the cumulative mean along the increasing (blue) and decreasing (gray) \(N\) values. In both cases it is worth noting the progressive and smooth convergence to the predicted value \(a=1\). Moreover, splitting the data between the most and least populated clusters, should reproduce compatible results within the expected outcome. Combining only the first 18 OCs (\(N \leq 150\)), we get \(a = 1.14 \pm 0.32\), while the last 10 OCs (\(N > 150\)) give \(a = 1.01 \pm 0.32\). Therefore, the analysis of two independent data sets successfully reproduces the predictions. Although the results for all the OCs show compatibility within the \(\pm 3\sigma\) with the \(a=1\) value, the uncertainties in their respective estimations are relatively large and render it impossible to reject the null hypothesis in the analysis of single OCs. Interestingly, the result found in the widely analyzed M67 (NGC 2682) cluster (\(a = 1.499 \pm 0.587\), or \(1.178 \pm 0.388\) without modelling the CS contribution) is in tension with previous studies. In general, the error bars show a strong anticorrelation with the number of stellar members of each OC. However, some of the cases show comparatively higher than expected slopes with low error bars (i.e., Trumpler 5). This could be a consequence of a low ratio of dwarf or giants, kinematic segregation between types, or irregularities in their spatial or kinematic distributions. These hypothesis will require further in-depth study that is beyond the scope of this paper.
# Conclusions
The aim of this paper has been to estimate the gravitational redshift in non-degenerate stars, i.e., the light shift when photons escape the gravitational potential of the star, as predicted by the Einstein's Equivalence Principle. This was done by analyzing astrometric, photometric, and spectroscopic information provided mainly by the *Gaia* survey of more than 70 000 non-degenerate stars previously classified as members of galactic open clusters. The study also takes into account information on the spectral shift of the stars (i.e., radial velocities) provided by the ground-based surveys. Radial velocities were assumed to be a combined result of kinematic factors (motion of the OC, peculiar velocity of the stars within its own OC, and convective shift) and the gravitational redshift. When considering each OC, the membership of the stars was re-estimated on the basis of their kinematic information. To ensure the general validity of the results, a minimum number of restrictions on the properties of the OCs and their members was assumed. That gives a baseline sample that contains 86 clusters and 8899 member stars. The main conclusions of the study are the following:
- Ignoring the effect of convective shift, the estimated redshift, which depends on the M/R ratio, is lower in amplitude by roughly a factor of 1.5 than the theoretical expectations from EEP. Similar results were obtained regardless the applied method (A, B).
- By estimating the contribution of convective shift, the original sample is reduced to 51 OCs with more than 20 members each, and a total of 4464 stars. The results show a correlation between predictions and observations as quantified by a significant correlation \(a = 0.899 \pm 0.137\). This value is compatible to within 1\(\sigma\) with the predictions (i.e. \(a = 1\)).
- An improved method applied to the *best*-cluster subsample containing 28 OCs (\(N \geq 50\) each) and 3779 stars gives a correlation in accordance with the predictions; namely, \(a = 0.977 \pm 0.218\).
- When splitting the complete GR + CS sample of 28 OCs into two independent sets--(i) OCs with lower number of members (\(N \leq 150\) per cluster) and (ii) OCs with higher number of members (\(N > 150\) per cluster)--the results are \(a = 1.14 \pm 0.32\) and \(a = 1.01 \pm 0.32\), respectively. This latter approach gives further confidence in the overall results.
In summary, the result is robust since it was extensively tested on a variety of constraints and restrictions used to form the sample. This constitutes one of the widest and more conclusive estimations of gravitational redshift in non-degenerate stars. The result shows the potential of large astronomical observations in testing physical theories and is a step forward toward proving the universal character of physical laws. Potentially, incorporating information on tangential velocities jointly with the radial velocities provided by *Gaia*-DR3, and other ground-based surveys, will significantly enhance the sample. A better and wider spatial sampling will add further significance to the result of this work.
[^1]: A further analysis is possible by comparing tangential and radial velocities of the stars, which might provide an alternative way to estimate gravitational redshift.
[^2]: [\[ref_units\]]{#ref_units label="ref_units"} Calculated using [AstroPy](https://docs.astropy.org/en/stable/constants/) astrophysical constants. | {'timestamp': '2022-03-07T02:00:54', 'yymm': '2203', 'arxiv_id': '2203.01959', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01959'} |
null | null |
# Overview {#sec:Overview}
Essentially everything of astronomical interest is either part of a galaxy, or from a galaxy, or otherwise relevant to the origin or evolution of galaxies. Diverse examples are that the isotropic composition of meteorites provides clues to the history of star formation billions of years ago, and cosmological tests for the deceleration of the Universe are strongly affected by changes in the luminosities of galaxies during the lookback time sampled. The aim of this article is to review some of the vital connections that galaxy evolution makes among many astronomical phenomena. The evolution of galaxies can be broadly divided into three areas: dynamical evolution, chemical evolution, and the evolution of photometric properties. Chemical and photometric evolution are the main topics of this review, and dynamical processes will be considered only where they directly affect the others. The article is intended to be self-contained for readers with a general knowledge of astronomy and astrophysics but with no special expertise on galaxies. Because the background and literature relevant to the evolution of stars and gas in galaxies are so extensive, complete coverage cannot be attempted. Instead, comprehensive reviews and recent papers are emphasized in the references; these include detailed works in closely related fields, such as galaxy formation and nucleosynthesis, that are treated very briefly here. The history of the subject has been discussed in several recent reviews, so here the emphasis will be on current ideas. This first Section gives an overview of relevant properties of galaxies and theoretical ideas on how they formed and evolved, followed by an outline of the rest of the article.
## Stellar Populations and Chemical Composition of Galaxies {#subsec:Stellar_Populations}
Galaxies are made of stars and interstellar matter (ISM), with a variety of properties that correlate remarkably with the forms of galaxies as they appear on the sky. Introductory references to supplement the following brief outline include the classic lectures of and subsequent reviews by, ,, and. The *Hubble Atlas of Galaxies* is an essential source book for photographs and descriptions of typical galaxies, while the *Atlas of Peculiar Galaxies* illustrates a great variety of unusual forms. Most galaxies can be arranged in a natural sequence of morphological types, the Hubble sequence. The "earliest" are elliptical (E) galaxies, with apparently smooth distributions of yellow--red stars and seldom any signs of internal structure (except that individual stars and globular clusters can be resolved in the closest ones); and the "latest" are irregulars (Irr I) with no symmetry and with disorganized patches of blue stars, hot gas, and dust throughout[^1]. In between are the spirals, in order from Sa types with large nuclear bulges and tightly wound arms to Sc types with small bulges and open arms; the nuclear bulges closely resemble elliptical galaxies, while spiral arms, or more often bits of spiral arms, are traced by patchy blue stars and gas and by dark dust lanes, superposed on an underlying smoother disk of redder stars. The galaxies classified as S0 have disks but lack spiral structure and its associated young stars and gas; Hubble put them between types E and Sa, but pictures them as a sequence parallel to the spirals, ordered by bulge-to-disk ratio. Another "dimension" of the Hubble sequence is based on the presence or absence of a bar in the center, from the ends of which the spiral arms seem to emerge; there are barred spirals of types SBa with tight arms through SBc with loosely wound arms. The Hubble sequence has been elaborated by into a more detailed system indicating intermediate forms and additional structural features. Although the sequence E--S0--Sa--Sb--Sc--Irr I was defined by the shapes of galaxies, it is very much a sequence of stellar populations. The earliest galaxies show no signs of hot young stars and (usually) have undetectably little gas or dust, while the latest galaxies are undergoing active star formation and have significant amounts of ISM. The Yerkes classification system of galaxies emphasizes the correlation between forms and stellar populations of galaxies. For spirals, this system is based simply on the central concentration of light, and it is found that the highly concentrated galaxies have late-type nuclear spectra (indicating a mixture of G, K, and M stars), while those with little central concentration have early-type spectra (dominated by B stars) even in the nucleus. The Yerkes types of galaxies are correlated loosely with Hubble types, which is not surprising since the Hubble classification is based partly on the amount of light concentrated into a nuclear bulge and partly on the tightness of spiral structure. The increasing prevalence of blue, young stars as one goes from elliptical through irregular galaxies is reflected in a general progression from redder to bluer integrated colors. From studies of the integrated spectra and colors of galaxies, it is concluded that nearly all galaxies have some very old stars, and that their different proportions of red and blue stars in the light are due mainly to different current rates of star formation. Most (if not all) galaxies appear to be many billions of years old, but whereas significant star formation ceased billions of years ago in ellipticals, it has occurred at a roughly constant rate in the latest types of galaxies. Theories of galaxy formation, and of star formation within galaxies, are challenged to explain this close correlation between the forms of galaxies and their histories of star formation. Some galaxies fit nowhere into a tidy sequence of types, and they are classified as simply "peculiar" or as one of the special types of peculiars such as ring galaxies or Irr II (which are early-type galaxies in form but strewn with dust, young stars etc.). Many of the peculiar systems are interacting galaxies, distorted by tidal effects. Sometimes the colors of peculiar galaxies are so blue that any underlying old population is completely outshone by newly-formed stars, and sometimes they are so red that most of the activity must be hidden in dust clouds. Although these very peculiar galaxies are rare, they are of special interest since some of them may be undergoing the kinds of violent changes and rapid star formation that characterized normal galaxies in their youth. The chemical compositions of galaxies in general show much less diversity than their stellar populations. Few instances are known of interstellar gas that is deficient or overabundant in heavy elements by more than a factor of four relative to the Sun, and although stellar metallicities range over more than two orders of magnitude, they are usually within a factor of three of Solar[^2]. Many of the differences among chemical compositions in galaxies are systematic: metallicities of both stars and gas tend to decrease outward from the centers of galaxies, and average metallicities tend to increase with galaxy luminosity. Models for chemical evolution of galaxies aim to account for their compositions in terms of the production of elements by stars (mainly) and the mixing of stellar ejecta with interstellar gas. Gas flows often play important roles in chemical evolution, diluting the products of nucleosynthesis with unenriched material from outside the galaxy, and carrying metals from one part of the galaxy to another. Many more details are known about the stellar population in the Solar vicinity of our own galaxy than anywhere else, and some of these details contain clues to large-scale processes of galaxy formation. For example, stars with high space velocities that make them members of the halo[^3] population are metal-poor by factors of ten or more relative to the Sun, while stars with disk motions have metallicities almost entirely within a factor of three of Solar. Since the classic paper of, this difference has been interpreted as evidence that the halo stars formed first, before much chemical enrichment by deaths of massive stars had taken place. Those authors also used the kinematics of halo stars, and a model for the collapse of the Galaxy from particular initial conditions, to infer a free-fall timescale, \({\sim} 2 \times 10^{8} \: \rm yr\), for the collapse and formation of halo stars. Ages that have recently been determined for halo and disk stars now point toward a slower collapse, however; globular clusters in the Galaxy appear to have a range of ages from \({\sim} 12-16 \: \rm Gyr\), while very few disk stars near the Sun are older than \(10 \: \rm Gyr\). The picture presented by these values is of a rather slow collapse, and a very long timescale for star formation to get underway in the outer disk of the Galaxy. A very young star cluster at least \(10 \: \rm kpc\) from the Sun in the Galactic anticenter direction has recently been assigned a metallicity as low as those of halo stars, so it seems that the outermost disk is still in a very early stage of chemical evolution. In general, composition differences among the old stars of galaxies serve as frozen-in tracers of their early chemical evolution, while abundances in young stars and the ISM indicate the progress of continuing enrichment. These effects are closely tied to the history of star formation in various regions of galaxies, which relates them to factors determining photometric properties. It will be seen later in this review that the aspects of galactic evolution of greatest importance for photometric evolution and for chemical evolution, respectively, are to a large extent complementary, so the two fields of study tend to yield different types of information about the evolution of galaxies.
## Galaxy Formation and Evolution {#subsec:Galaxy_Formation}
The striking correlations between the forms and contents of galaxies, and systematic changes of content with position in galaxies, point to the importance of dynamical processes in chemical and photometric evolution. Many theoretical ideas on the formation and dynamical evolution of galaxies have been motivated by these correlations, and dynamical models in turn have led to further understanding of such properties. A brief sketch of some current theoretical views of galaxy formation and dynamical evolution will therefore be given here. A fuller non-technical introduction to the field is given by, and more technical reviews are by, ,, , and. In the conventional cosmological picture, the primeval gas emerging from the Big Bang some \(10-20 \: \rm Gyr\) ago consisted almost entirely of hydrogen and helium. There must have been large enough density perturbations in this gas for some regions to be locally bound and to collapse despite the expansion of the Universe, and the existence today of galaxies and bound clusters with a \(10^{10}\)-fold range of masses shows that there was a very wide spread of density perturbations. A favored mass scale is \({\sim} 10^{6} \: \rm M_{\odot}\), which is the Jeans mass in the Universe after (re-)combination of the primeval plasma about \(10^{6} \: \rm yr\) after the Big Bang. Maybe star formation first began in lumps of this mass, which could themselves have been part of larger-scale perturbations destined to collapse eventually into a massive galaxy. Although models for galaxy formation often start from an idealized smooth density distribution, gas in this state would be Jeans unstable on much smaller scales than the protogalaxy, and one would expect star formation to occur in regions of much higher density than average. Independently of cosmological details, a protogalaxy can be pictured as a lumpy gas cloud governed by self-gravity (and perhaps by perturbations due to neighbors) rather than by the expansion of the Universe. If no stars formed, the gaseous protogalaxy would collapse, collisions between gas clouds would dissipate the energy parallel to the net angular momentum vector, and the system would become a flat disk. (The process of "dissipation" in this context usually implies that some of the kinetic energy of the gas is lost by collisionally induced radiation). If, on the other hand, stars form in much less than the collapse time, there would be no dissipation and a spheroidal system of stars would be produced; subclustering due to the initially lumpy gas distribution would be wiped out except in regions with about the mass and density of globular clusters. A spheroidal system can also be formed in much longer than the free-fall time if dissipation takes much longer, perhaps because the gas is in clouds that collide infrequently. In general, the formation of spheroidal stellar systems--elliptical galaxies and the bulges of spirals--requires that stars form on a timescale less than that of gaseous dissipation, while the formation of a disk requires the opposite situation. The amount of disk possessed by a galaxy therefore depends on the amount of gas that remained to collapse dissipatively, after efficient star formation in the spheroidal component. This dynamical picture is consistent with the great ages, \({\sim} 10^{10} \: \rm yr\), inferred for stars in spheroidal systems, and the contrasting range of ages (including ongoing star formation) in disks. In detail, the differences between spheroidal and disk systems are not quite so clear-cut, because the formation of condensed nuclei in elliptical galaxies and the central bulges of spirals probably involved some dissipation. The enhanced metallicities of nuclear stars are thought to be due to an inward concentration of metals, as gas enriched by massive stars further out dissipated its energy and condensed toward the center. S0 galaxies appear to be intermediate systems, having disks but no young stars. One class of theories of their origin suggests that these properties are intrinsic, in that star formation efficiently used up the gas after it had collapsed to a disk. In another class of theories, S0 galaxies are former spirals that are devoid of young stars because their ISM was swept away, either in a collision with another galaxy or by an intergalactic wind due to motion of the galaxy through intergalactic gas. The high frequency of S0 galaxies in dense clusters, where intergalactic gas has been detected, suggests that at least some were formed in the latter way, but other S0 galaxies are quite isolated and may be of the "intrinsic" type. Sweeping by collisions and intracluster gas are examples of interactions with the environment that probably affect the evolution of many galaxies, including apparently normal ones and very peculiar objects. Other effects include mergers of galaxies in the centers of clusters and in close binaries, tidal disruption in close passages, and bursts of star formation due to such violent interactions among gas-rich galaxies. A spiral galaxy may also accrete gas from its surroundings during most of its life, gradually forming a more massive and more extended disk and acquiring new gas to fuel continued star formation. Various aspects of interactions between galaxies and their environment are reviewed by, , and.
## Plan of this Review {#subsec:Review_plan}
From the preceding outline, it should be clear that attempts to understand the evolution of stars and gas in galaxies inevitably get involved in very diverse aspects of astronomical theory and observation. This is not a field in which one can hope to develop a complete theory from a simple set of assumptions, because many relevant data are unavailable or ambiguous, and because galactic evolution depends on many complicated dynamical, atomic, and nuclear processes which themselves are incompletely understood. Because a logical development is inappropriate, this article treats different aspects of galactic evolution as pieces of a jigsaw puzzle that may some day be put together. Figure [\[fig:fig1\]](#fig:fig1){reference-type="ref" reference="fig:fig1"} is a very schematic diagram of relations among some of the most important factors in galactic evolution. It serves to summarize parts of the preceding outline, to suggest how a final jigsaw might be linked, and to show how the topics discussed below are related to each other. Two main sets of processes and constituents are indicated.
1. Chemical evolution depends mainly on the areas connected by solid lines, which indicate that stars form from the ISM and return some of their mass, including new products of nucleosynthesis, to the ISM at death; the composition of the ISM also depends on gas flows to and from the region under consideration.
2. Photometric properties depend mainly on the areas on the areas connected by dashed lines, indicating that the history of star formation and the evolution of individual stars determine the population at any time.
Sections [3](#sec:Aims and Methods 1){reference-type="ref" reference="sec:Aims and Methods 1"}, [4](#sec:Evolution solar neighborhood){reference-type="ref" reference="sec:Evolution solar neighborhood"}, and [5](#sec:Chemical Evolution of Galaxies){reference-type="ref" reference="sec:Chemical Evolution of Galaxies"} below are on chemical evolution and Sections [6](#sec:Approaches to Photometric Evolution){reference-type="ref" reference="sec:Approaches to Photometric Evolution"} and [7](#sec:Colors and Star Formation Rates){reference-type="ref" reference="sec:Colors and Star Formation Rates"} are on the evolution of photometric properties. Since the formation and evolution of stars are vital to all aspects of galactic evolution, these processes are reviewed first in Section [2](#sec:Star_formation){reference-type="ref" reference="sec:Star_formation"}.
# The Formation and Evolution of Stars {#sec:Star_formation}
The evolution of galaxies depends critically on properties of stars as a function of mass: their formation rates, evolution in the Hertzsprung--Russell (HR) diagram, lifetimes, and the mass and composition of material returned to the ISM. This Section reviews the properties of stars that are most relevant to later discussion of galaxy evolution.
## Basic Physical Properties of Stars {#subsec:Physical_Properties}
Table [1](#tab:table1){reference-type="ref" reference="tab:table1"} lists for reference some properties of main sequence (MS) stars with chemical compositions typical of the nearby disk population, i.e. with Solar or slightly lower metallicities. Because stars evolve in the HR diagram while still on the MS, this Table only applies to a particular stage of evolution for each mass: stars with total MS lifetimes less than \(10 \: \rm Gyr\) (masses \(\gtrsim 1 \: \rm M_{\odot}\)) are listed with the properties they have in the middle of this lifetime; less massive stars are listed at age \(5 \: \rm Gyr\) or with mean empirical properties. The theoretical properties of MS stars of a given mass and composition differ slightly in different series of calculations, and they are sensitive to the helium and heavy-element abundances, even within the range of values applicable to disk stars, so the tabulated values should not be accepted too literally. This Table is intended only to provide approximate relations between such quantities as spectral type and MS lifetime, for quick reference.
An overview of stellar evolution in the HR diagram is provided by Figures [\[fig:fig2\]](#fig:fig2){reference-type="ref" reference="fig:fig2"} and [\[fig:fig3\]](#fig:fig3){reference-type="ref" reference="fig:fig3"}. Figure [\[fig:fig2\]](#fig:fig2){reference-type="ref" reference="fig:fig2"} is a theoretical HR diagram with the zero-age MS and evolutionary tracks for stars of a few masses; the tracks are drawn lightly in regions where stellar evolution is rapid (relative to neighboring points on the same track) since few stars are observed at those stages. A given star spends only about \(10\%\) of its MS lifetime in stages of evolution beyond the MS, so the supergiant and giant regions of the HR diagram contain a relatively ephemeral population of stars. Much the same information is given empirically in Figure [\[fig:fig3\]](#fig:fig3){reference-type="ref" reference="fig:fig3"}, which is a reproduction of the composite color--magnitude diagram for open clusters of. The clusters have too few stars for the faster stages of evolution to be well represented; not only are there gaps between the MS and the giant branch, but the latest giants are absent from all but one or two clusters. Despite this problem, the diagram of gives a vivid picture of stellar evolution. Using these Figures, one can envisage the evolution of a single generation of stars in a galaxy, starting with their populations on the zero-age MS. As time passes, the top of the MS peels away and short-lived supergiants appear; the MS turnoff evolves down to mid-B spectral type in \(10^{8} \: \rm yr\), and by \(10^{9} \: \rm yr\) late A and later stars remain on the MS; between \(10^{9}\) and \(10^{10} \: \rm yr\), the turnoff evolves from late A to early G, and there is a population of evolving K and M giants. An elliptical galaxy, for example, that had no star formation for the last many billions of years, would be expected to consist only of K and M giants and the MS up to a late F or early G turnoff. In a galaxy like our own, where star formation has presumably been continuous for billions of years, the whole array of MS stars, turnoff, and giant branches can be found.
## The Initial Mass Function {#subsec:IMF}
Because the properties of stars depend strongly on their masses, the distribution of stellar masses at birth is a function vital to the photometric and chemical evolution of galaxies. Various definitions and notations for this function are used in the literature, so care is needed to avoid confusion in comparing different papers. The following notation is used here: the number of stars formed in the mass interval (\(m\), \(m + dm\)) and in the time interval (\(t\), \(t + dt\)) is \[\phi \left( m \right) \psi \left( t \right) dm \ dt, \label{eq:eq2.1}\] where \(\psi \left( t \right)\) is the total mass of stars formed per unit time, and \(\phi \left( m \right)\), which may itself be a time-dependent function, is therefore normalized so that \[\int_{0}^{\infty} m \phi \left( m \right) dm = 1. \label{eq:eq2.2}\] The function \(\psi \left( t \right)\) is called the star formation rate (SFR) and \(\phi \left( m \right)\) is called the initial mass function (IMF). It is often useful to approximate \(\phi \left( m \right)\) by a power law, at least over some range of masses, and in these cases the notation used here is \[\phi \left( m \right) \propto m^{-\left( 1 + x \right)}, \label{eq:eq2.3}\] where \(x\) is called the slope of the IMF[^4]. A comprehensive review of the IMF in the Solar neighborhood and elsewhere has recently been written by, so the following account includes only those aspects that are most relevant to the rest of this article.
### The local IMF {#subsubsec:Local IMF}
The IMF in the Solar neighborhood can be derived from counts of field stars, using principles originally derived by, and generalized to allow for a time-dependent SFR by, among others. A recent thorough rediscussion of the data and methods is given by. Stars are counted as a function of absolute magnitude, and the counts must first be reduced to the present mass distribution of stars, \(n(m)\), where \(n(m) \ dm\) will denote the present number of MS stars in the mass interval (\(m\), \(m + dm\)). Several non-trivial problems arise at this stage, including the following:
1. The number of stars in each absolute magnitude interval must be corrected for post-MS stars, which requires a knowledge of color or spectral type; these corrections can be large--e.g., near \(M_{\rm V} = +1\) there are about equal numbers per unit volume of A dwarfs and K giants.
2. Field stars of different masses have very different distributions perpendicular to the Galactic plane, the scaleheight decreasing with increasing mass. The function \(n(m)\) obtained for stars in a unit volume therefore differs systematically from the function for a unit column perpendicular to the plane. Because one is normally interested in the whole population of stars formed at all heights (or formed in the plane and accelerated to more extended orbits), near the Sun's galactocentric distance, the star counts should be reduced to the *average number per square parsec* at this distance from the Galactic center.
3. The transformation between magnitudes and masses of MS stars depends on their chemical composition.
4. Stars evolve in the HR diagram while on the MS, so there is not a unique mass--luminosity relation even for a given composition.
The papers cited above discuss how these problems can be handled, and the resulting uncertainties in \(n(m)\). Let us assume that we know the present mass distribution of MS stars per square parsec in the Solar neighborhood, \(n(m)\). This function can be used to estimate the IMF and SFR as follows. Stars with lifetimes \(\left( \tau_{\rm m} \right)\) greater than the age of the Galaxy \(\left( t_{1} \right)\) have accumulated since star formation began (\(t \equiv 0\)), so Equation ([\[eq:eq2.1\]](#eq:eq2.1){reference-type="ref" reference="eq:eq2.1"}) gives directly \[n(m) = \int_{0}^{t_{1}} \phi \left( m \right) \psi \left( t \right) dt, \: \: \tau_{\rm m} \geq t_{1}. \label{eq:eq2.4}\] If the IMF is assumed constant, this expression simplifies to \[n(m) = \phi \left( m \right) \overline{\psi}_{1} t_{1}, \: \: \tau_{\rm m} \geq t_{1}, \label{eq:eq2.5}\] where \(\overline{\psi}_{1}\) is the average past SFR; Equation ([\[eq:eq2.5\]](#eq:eq2.5){reference-type="ref" reference="eq:eq2.5"}) can be used in any case if \(\phi \left( m \right)\) is interpreted as the average past IMF. The mass with \(\tau_{\rm m} = t_{1}\) is called the present turnoff mass (\(m_{1}\)) since it defines the lowest MS turnoff point in the HR diagram for local field stars. In practice, one must consider how the mass--lifetime relation depends on metallicity, but to illustrate the principles here these effects will be ignored; approximate round numbers are \(m_{1} \simeq 1 \: \rm M_{\odot}\), \(t_{1} \simeq 10 \: \rm Gyr\). The present population of stars with \(\tau_{\rm m} < t_{1}\) includes only those that were formed at times less than \(\tau_{\rm m}\) ago, so from Equation ([\[eq:eq2.1\]](#eq:eq2.1){reference-type="ref" reference="eq:eq2.1"}) their mass distribution is \[n(m) = \int_{t_{1}-\tau_{\rm m}}^{t_{1}} \phi \left( m \right) \psi \left( t \right) dt, \: \: \tau_{\rm m} < t_{1}. \label{eq:eq2.6}\] If \(\phi(m)\) is constant, it can be taken out of the integral, but \(n(m)\) still depends on details of the past SFR. A simpler equation can be written for stars with lifetimes shorter than the present timescale for changes in \(\psi \left( t \right)\): \[n(m) = \phi \left( m \right) \psi_{1} \tau_{\rm m}, \: \: \tau_{\rm m} \ll t_{1}, \label{eq:eq2.7}\] where \(\psi_{1}\) is the present SFR. The function \(n(m)\) is supposed to be averaged over the patchy distribution of the youngest stars in the Solar neighborhood, so Equation ([\[eq:eq2.7\]](#eq:eq2.7){reference-type="ref" reference="eq:eq2.7"}) is probably a good approximation for \(m \gtrsim 2 \: \rm M_{\odot}\), i.e., for stars with lifetimes \(\lesssim 1 \: \rm Gyr\) and MS spectral types earlier than about A0; it would hold for all \(m > m_{1}\) if the SFR were constant. From the empirical function \(n(m)\), therefore, one can use Equation ([\[eq:eq2.5\]](#eq:eq2.5){reference-type="ref" reference="eq:eq2.5"}) to derive the shape of the (average) IMF for stars below about \(1 \: \rm M_{\odot}\) and Equation ([\[eq:eq2.7\]](#eq:eq2.7){reference-type="ref" reference="eq:eq2.7"}) to derive the shape of the IMF for stars above about \(2 \: \rm M_{\odot}\). These two pieces of the IMF are not determined with the same multiplicative factors, since the quantities actually determined are \(\phi \left( m \right) \overline{\psi}_{1} t_{1}\) and \(\phi \left( m \right) \psi_{1}\), respectively. In particular, the relative values of the IMF for \(1 \: \rm M_{\odot}\) and \(2 \: \rm M_{\odot}\) depend on the ratio \[T_{1} \equiv \frac{\overline{\psi}_{1} t_{1}}{\psi_{1}}, \label{eq:eq2.8}\] which is evidently a timescale for star formation in the Solar neighborhood. There is an intermediate mass interval, \(1 \lesssim m / \rm M_{\odot} \lesssim 2\), for which Equation ([\[eq:eq2.6\]](#eq:eq2.6){reference-type="ref" reference="eq:eq2.6"}) cannot be simplified, so the shape of the IMF cannot be derived independently of details of \(\psi(t)\). This gap is usually filled by assuming that the functions for higher and lower masses can be smoothly interpolated, as illustrated, for example, by. In this way, \(\phi(m)\) for the intermediate mass range is determined without too much ambiguity and constraints are set on the quantity \(T_{1}\). The IMF derived along the preceding lines by is illustrated in Figure [\[fig:fig4\]](#fig:fig4){reference-type="ref" reference="fig:fig4"}, where the quantity plotted (logarithmically) is \(m \phi(m) \psi_{1}\). The solid line is their analytical relation for the case of a constant SFR and a Galactic age \(t_{1} = 12 \: \rm Gyr\): \(m \phi(m) \psi_{1} = 3.83 \exp [-1.09 ( \log m + 1.02 )^{2} ] \: \rm pc^{-2} \ Gyr^{-1}\) (with \(m\) in solar units). The shaded area shows the range of uncertainty allowed by their analytic fits to limiting cases, based on uncertainties in the basic data and the limits for smoothly joining the low-and high-mass ends, as explained above. stress that, if one is making models for the Solar neighborhood, the choice of an IMF within the shaded area should be made consistently with the adopted SFR function, for otherwise the two functions together would not reproduce the observed star counts. Power laws are very tractable analytically, so it is tempting to fit straight lines to the IMF derived from the star counts. originally derived a famous slope \(x = 1.35\) for the local IMF, but subsequent star counts and stellar lifetimes show that a single power law for the whole mass spectrum is a poor approximation; serious systematic errors can be introduced in some applications by ignoring the increase of slope with mass in the local IMF. The four dashed straight lines in Figure [\[fig:fig4\]](#fig:fig4){reference-type="ref" reference="fig:fig4"} are intended as a compromise between the data and analytical convenience. (The discrepancy with the shaded area between \(0.4\) and \(1 \: \rm M_{\odot}\) arises because the dashed line for those masses is based on the luminosity function of, which is flatter than the function adopted by [@Miller1979TheNeighborhood Figure 1]). The equations of these four lines, which have slopes \(-x\) in the logarithmic plot (see Equation [\[eq:eq2.3\]](#eq:eq2.3){reference-type="ref" reference="eq:eq2.3"}), are: \[\begin{aligned} m \phi(m) \psi_{1} = & \ 1.00 m^{-0.25}, \: \: 0.4 < m \leq 1.0, \\ & \ 1.00 m^{-1.0}, \: \: 1.0 < m \leq 2.0, \\ & \ 1.23 m^{-1.3}, \: \: 2.0 < m \leq 10.0, \\ & \ 12.3 m^{-2.3}, \: \: 10.0 < m \leq 50.0, \label{eq:eq2.9} \end{aligned}\] in units of \(\rm pc^{-2} \ Gyr^{-1}\), with masses in solar units. (It is fortuitous that the coefficient 1.00 occurs in these equations). A slope is not given for \(m < 0.4 \: \rm M_{\odot}\) because M dwarfs contribute little to the light of any galaxy and nothing directly to chemical evolution; their contribution to the total mass can be included with the invisible objects below \(0.1 \: \rm M_{\odot}\). Integrating Equation ([\[eq:eq2.9\]](#eq:eq2.9){reference-type="ref" reference="eq:eq2.9"}) with respect to mass, we find that the present SFR for masses \(0.4-50 \: \rm M_{\odot}\) is \(3.0 \: \rm M_{\odot} \ pc^{-2} \ Gyr^{-1}\). The total SFR, \(\psi_{1}\), could be derived if we knew the contribution from objects below \(0.4 \: \rm M_{\odot}\), and \(\psi_{1}\) in turn would allow the IMF to be normalized as in Equation ([\[eq:eq2.2\]](#eq:eq2.2){reference-type="ref" reference="eq:eq2.2"}). As described in Section [2.3.1](#subsubsec:Local SFR){reference-type="ref" reference="subsubsec:Local SFR"}, find \(\psi_{1}\) in this way by defining as "stars" only objects above \(0.1 \: \rm M_{\odot}\), for which there are star counts giving the shape of the IMF. Alternatively, \(\psi_{1}\) can be estimated indirectly (see Section [2.3.1](#subsubsec:Local SFR){reference-type="ref" reference="subsubsec:Local SFR"}). The values found are within a factor of \({\sim} 2\) of \(10 \: \rm M_{\odot} \ pc^{-2} \ Gyr^{-1}\), which is several times greater than the rate for objects above \(0.4 \: \rm M_{\odot}\).
### The IMF at other times and places {#subsubsec:Other IMF}
Several questions can be asked about the constancy of the IMF. Is the IMF the same in regions other than the Solar neighborhood? Is it constant in time, locally and elsewhere? If variations occur, do they involve the shape of the IMF for stars above say \(0.4\) or \(1 \: \rm M_{\odot}\), or do they involve only the mass fraction in "inert" low-mass objects? Star clusters in the Galaxy and the Magellanic Clouds have a variety of MS luminosity functions indicating significant variations in the IMF on the scale of clusters ([@DaCosta1977TheClusters; @Freeman1977StarGalaxies]; others reviewed by [@Scalo1978TheSpectrum]); also, there are regions of the Milky Way where the only newborn stars seem to be T Tauri stars, with masses \(\lesssim 2 \: \rm M_{\odot}\), and other regions abounding in young OB stars. These observations, however, do not necessarily imply variations on galaxy-wide scales in averages over many sites of star formation. In fact, counts of field stars in nearby galaxies have not revealed any significant deviations from the local IMF. The clearest evidence for large-scale variations is the mass function for nearby halo stars of; this function has \(x \simeq 2\) for \(0.25-0.75 \: \rm M_{\odot}\), whereas local disk stars have \(x < 1\) in the same mass range. There are also some early-type spiral galaxies with widespread patches of young blue stars but a deficiency of [H ii]{.smallcaps} regions, suggesting that the IMF is deficient in O stars; examples are the Sombrero galaxy, M104, and NGC 2841. The upper part of the IMF \(\left( m > 0.4 \: \rm M_{\odot} \right)\) can be studied indirectly by comparing colors of galaxies with those of models based on various IMFs. As discussed in Section [7](#sec:Colors and Star Formation Rates){reference-type="ref" reference="sec:Colors and Star Formation Rates"}, the results are consistent with the local IMF holding (on large scales) everywhere, but in some respects the test is rather insensitive. For example, a galaxy like the Sombrero is so dominated by old yellow--red stars that the *integrated* colors at optical wavelengths would be changed negligibly by the presence or absence of stars above \(10 \: \rm M_{\odot}\) in the IMF. The red--infrared spectra of galaxies show that giant stars, rather than late dwarfs, provide most of the light at these wavelengths, and this result sets some constraints on the IMF for stars of \({\sim} 0.4-1 \: \rm M_{\odot}\): if the IMF were much steeper than the local function (say if \(x > 2\)), low-mass dwarfs would contribute much of the infrared light, contrary to the spectroscopic information. Because of this giant dominance in the infrared light, photometric observations are very insensitive to the mass fraction in stars below \(0.4 \: \rm M_{\odot}\), i.e. M dwarfs; these stars could be numerous enough to dominate the mass of the system while contributing very little light! A handle on the mass fraction in invisible stars is given by the mass-to-luminosity (\(M / L\)) ratio, which is crudely a ratio of very low-mass to more massive stars. In the Solar neighborhood, the integrated luminosity of known stars (per \(\rm pc^{3}\)), including giants, divided by the dynamically-estimated density of mass, yields a ratio \(M / L_{\rm B} \simeq 3 \: \rm M_{\odot} / L_{B \odot}\). If the IMF and proportion of invisible matter were invariant, all galaxies should have this \(M / L\) ratio, apart from a systematic increase by a factor of \({\sim} 10\) from the bluest galaxies to the reddest (because of the decreasing fraction of young blue stars), and apart from a scatter \({\sim} 10\%\) due to different mass fractions of ISM. In fact, observed \(M / L\) values show a *scatter* by a factor of 10 or more at a given color, and a tendency to increase from values of a few in the central parts of galaxies to \({\sim} 100\) in the outer regions. It appears that different proportions of hidden matter exist in different galaxies, and that the invisible mass fraction increases with radius. If this matter condensed before ordinary star formation began in galaxies, as in some pictures of the formation of heavy invisible halos, then it would have no direct effect on chemical or photometric evolution. (It would have indirect effects, because the motions of gas and stars in the galaxy would be influenced by the hidden mass). However, if there are variations in the low-mass part of the stellar IMF, chemical evolution would be affected significantly, because variable proportions of stellar matter would be returned to the ISM by evolving stars. Certain chemical properties of galaxies can be explained by invoking variations in the shape of the IMF for massive stars. For example, the extreme paucity of metal-poor dwarfs in the Solar neighborhood could be due to an initial burst of massive metal-producing stars; and variations in relative abundances of heavy elements could be due to variable proportions of the stars that synthesize such elements. But in all cases, other explanations not involving variations in the IMF are available, as discussed in Sections [4](#sec:Evolution solar neighborhood){reference-type="ref" reference="sec:Evolution solar neighborhood"} and [5](#sec:Chemical Evolution of Galaxies){reference-type="ref" reference="sec:Chemical Evolution of Galaxies"}. In summary, significant variations in the IMF may be rare enough for the assumption of a universal function (the local IMF) to be useful for many contexts. However, it is equally relevant to ask how galactic evolution would be affected by changes in both the form of the IMF for visible stars and the relative weight of very low-mass objects.
## Rates of Star Formation {#subsec:SFRs}
The rate of star formation is one of the main factors in galactic evolution. The shape of a galaxy depends on the timescale for star formation relative to collapse and dissipation timescales, the colors and luminosity depend on the age distribution of stars, and chemical evolution depends on the SFR relative to the gas flow rates and the gas mass. Various ways of estimating SFRs in galaxies are reviewed here.
### The local SFR {#subsubsec:Local SFR}
There are several ways of estimating the present SFR in the Solar neighborhood, which is the quantity in \(\rm M_{\odot} \ pc^{-2} \ Gyr^{-1}\) denoted \(\psi_{1}\) above. Stars above \({\sim} 2 \: \rm M_{\odot}\) are no problem, because they are so short-lived that their numbers scale directly with \(\psi_{1}\) (Equation [\[eq:eq2.7\]](#eq:eq2.7){reference-type="ref" reference="eq:eq2.7"}), but the ages of less massive stars are unknown, as is the mass fraction contained in objects below \(0.1 \: \rm M_{\odot}\). Most of the methods that have been suggested for overcoming these problems reduce in principle to estimating the average past SFR (\(\overline{\psi}_{1}\)) and then the ratio \(\overline{\psi}_{1} / \psi_{1}\) [^5]. The following two methods are typical.
1. A dynamical estimate of the total surface density in the Solar neighborhood, called the "Oort limit", can be derived from motions of stars perpendicular to the Galactic plane; its value is probably \({\sim} 80-100 \: \rm M_{\odot} \ pc^{-2}\). Of the total surface density, ISM in various forms accounts for \(5-10 \: \rm M_{\odot} \ pc^{-2}\), so stars are presumed to contribute \({\sim} 70-95 \: \rm M_{\odot} \ pc^{-2}\) (neglecting any possible non-stellar condensed objects). This is not the total mass of stars ever formed, because some fraction \(R\) has been ejected back to the ISM by evolving and dying stars; \(R\) depends on the IMF, whose normalization is not known without \(\psi_{1}\) itself, but all reasonable normalizations give \(R\) in the range \({\sim} 0.1-0.3\) (as shown in Section [3.1](#subsec:Assumptions){reference-type="ref" reference="subsec:Assumptions"}). The mass of stars ever formed is thus \(10\%-30\%\) greater than the mass now present; the mean past SFR is thus given by \(75 < \overline{\psi}_{1} t_{1} < 125 \: \rm M_{\odot} \ pc^{-2}\). The next step is to use the ratio \(T_{1}\) (Equation [\[eq:eq2.8\]](#eq:eq2.8){reference-type="ref" reference="eq:eq2.8"}), derived by joining smoothly the IMFs with different multiplicative factors for stars above \(2 \: \rm M_{\odot}\) and below \(1 \: \rm M_{\odot}\), respectively. Plausible values of \(T_{1}\) lie between 5 and \(20 \: \rm Gyr\), so we are left with the following range of values for \(\psi_{1}\) itself: \(1.5 < \psi_{1} < 25 \: \rm M_{\odot} \ pc^{-2} \ Gyr^{-1}\). The uncertainties at various stages of the derivation are mutually independent, and the \(20\%\) uncertainty in \(R\) is relatively unimportant. A more stringent upper limit could be obtained if one could assume that the SFR has not increased since the time the oldest disk stars formed, \({\sim} 12 \: \rm Gyr\) ago; then \(T_{1} > 12 \: \rm Gyr\) and \(\psi_{1} < 10 \: \rm M_{\odot} \ pc^{-2} \ Gyr^{-1}\). However, although the assumption of a monotonically decreasing SFR is common, recent work on the age distribution of disk stars shows that the SFR more likely *increased* between 12 and \(5 \: \rm Gyr\) ago, and was approximately constant in the last \({\sim} 5 \: \rm Gyr\). In this case, \(T_{1}\) is probably between about 5 and \(10 \: \rm Gyr\), and the above limits on \(\overline{\psi}_{1} t_{1}\) lead to \(8 < \psi_{1} < 25 \: \rm M_{\odot} \ pc^{-2} \ Gyr^{-1}\). Values only \({\sim} 10-20\%\) of these have usually been derived in the literature, on the assumption that \(\psi (t)\) has been a decreasing function for at least \(10 \: \rm Gyr\).
2. Instead of using the Oort limit to estimate the total mass of stars ever formed, one can use star counts to obtain the existing population (and to allow for the total mass of stars that have evolved away in the time since they formed) down to \({\sim} 0.1 \: \rm M_{\odot}\), and neglect any less massive objects. In this way, derive a range of values \(43 < \overline{\psi}_{1} t_{1} < 144 \: \rm M_{\odot} \ pc^{-2}\). Combining these values with appropriate limiting values of \(T_{1}\), they find self-consistent values in the range \(3 < \psi_{1} < 7 \: \rm M_{\odot} \ pc^{-2} \ Gyr^{-1}\).
Method (i) above gave larger values than those of for two reasons: the estimated mass of stars now present above \(0.1 \: \rm M_{\odot}\) falls short of estimates based on the Oort limit (although the discrepancy may not be significant), and considered both decreasing and increasing SFRs. Altogether, it is plausible to suggest that \(\psi_{1}\) lies within a factor of about two of \(10 \: \rm M_{\odot} \ pc^{-2} \ Gyr^{-1}\).
### The SFR elsewhere {#subsubsec:Elsewhere SFR}
Estimates of the SFR in other places use various indicators of the numbers of fairly massive stars, and convert these to a total SFR by means of an assumed IMF, which is usually the local function (or an assumed power-law approximation). Methods that have been used include the following.
1. The brightest individual stars, supergiants, and occasionally upper-MS stars, can be counted in nearby galaxies. Apart from complications due to differences in chemical composition, the numbers of massive stars in given stages of evolution should be directly proportional to the SFR, if the IMF is the same everywhere; their numbers relative to counts of similar stars in the Solar neighborhood thus scale fairly directly with the SFR. has applied this method to galaxies of the Local Group, using various types of stars, and several authors have used such rare objects as supernovae in the same way for more distant galaxies.
2. If hot young stars are present in a region, they generally emit most of the Lyman continuum photons that are available for ionizing interstellar hydrogen. The flux of \(\rm H \alpha\), \(\rm H \beta\), or free--free radio emission is therefore approximately proportional to the SFR. This method has been applied to external galaxies by using integrated \(\rm H \alpha\) equivalent widths, and by using \(\rm H \beta\); have studied SFRs in the Galaxy using radio emission from [H ii]{.smallcaps} regions.
3. The integrated colors of galaxies depend strongly on their relative proportions of young and old stars; as a result, UBV colors in general provide a rough estimate of the ratio (SFR) / (mass of old stars). This approach will be discussed in detail in Section [7](#sec:Colors and Star Formation Rates){reference-type="ref" reference="sec:Colors and Star Formation Rates"}.
4. Regions of star formation are often heavily obscured by dust, but even so the infrared luminosity (starlight re-radiated by dust grains) gives a measure of the SFR, as discussed in Section [7.2.2](#subsubsec:Highly reddened galaxies){reference-type="ref" reference="subsubsec:Highly reddened galaxies"}.
Most of these methods rely strongly on the assumption of a universal IMF, since they sample only the very massive stars; integrated colors can reveal large departures from an assumed IMF (Section [2.2.2](#subsubsec:Other IMF){reference-type="ref" reference="subsubsec:Other IMF"}), but even these are completely blind to stars below \({\sim} 0.5 \: \rm M_{\odot}\). Even granted the assumption of universality, important uncertainties arise in scaling from the observations to a total SFR, because the statistics of very massive stars are poor. Large systematic errors can arise from the use of a single power law for the whole IMF (a common practice), as can be clearly seen from Figure [\[fig:fig4\]](#fig:fig4){reference-type="ref" reference="fig:fig4"}. Despite the uncertainties, the results of various studies have led to a coherent picture. In the Galaxy, some \(10\%\) of the current star formation is occurring in the innermost \(1 \: \rm kpc\), and most of the remainder is concentrated in a ring between 5 and \(8 \: \rm kpc\) from the center, which is the site of most of the Galaxy's giant molecular clouds, infrared emission, and other signs of intense star formation. (There are several relevant reviews in the symposium volume edited by [@Burton1979TheGalaxy]). Morphologically normal galaxies show a systematic trend of SFR with type, which can be described as a progression from a very short timescale for star formation in the earliest types to very long in the latest. Some peculiar galaxies appear to be undergoing intense bursts of star formation. These properties will be discussed later in Section [7](#sec:Colors and Star Formation Rates){reference-type="ref" reference="sec:Colors and Star Formation Rates"}.
### Factors affecting the SFR {#subsubsec:SFR factors}
An obvious question to ask is *why* stars form at various rates in various places. Factors affecting SFRs have been reviewed by, and some salient points will be mentioned here. A popular assumption, following, is that the SFR varies as a power \(n\) of the gas density. However, attempts to determine \(n\) empirically run into two problems: \(n\) appears to vary within and among galaxies, indicating that the gas density is not the only relevant quantity; and the very definition of "gas density" is ambiguous since it depends strongly on the spatial resolution of the observations. Consequently, a power-law formula for the SFR cannot be given the status of a physical law, but it can be regarded as a useful parametrization in some circumstances (as in the later study of [@Schmidt1963TheMass.]). The physical environment needed for star formation is evidently cool, gravitationally bound gas clouds, so the main question is: under what conditions does interstellar gas clump into clouds? argues that gas compression is the key requirement for star formation, and that both large-and small-scale dynamical processes are important. On small scales, interstellar shock and ionization fronts have been widely discussed as causes of star formation. These processes can be self-sustaining, since supernovae and [H ii]{.smallcaps} regions arising from recently-formed stars may induce further star formation nearby. Large-scale compression mechanisms that may lead to star formation include gravitational settling of gas into a thin layer, density waves of bar or spiral form, high-velocity collisions between gas streams in young or interacting galaxies, and accretion of intergalactic clouds. If star formation can be self-propagating over long distances, differential rotation can spread the active regions out to produce spiral structure. Large-scale processes are especially relevant to the long-term evolution of galaxies, and since some of them involve interactions with external matter, galaxies do not necessarily evolve as independent systems. This point has been emphasized in a review by. Further discussion of star formation can be found in the reviews cited, many references therein, and in a symposium volume edited by. Although some understanding has developed of the conditions under which stars form, no formula for the SFR has emerged that can make a useful *prediction* for any galaxy. has pointed out that a proper expression for the SFR would contain so many unknown parameters as to be useless. He wrote, "This rate \(R\) (the SFR) probably depends on gas density \(\rho_{\rm g}\), gas sound speed \(c_{\rm s}\), shock frequency \(\omega_{\rm s}\), shock strength \(V_{\rm T} / c_{\rm s}\), gas rotation \(\Omega\) and shearing rate \(A\), the magnetic field strength \(\lvert \vec{B} \rvert\), the gas metal abundance \(Z\), and possibly the background star density \(\rho_{*}\). Thus \[R = R \left( \rho_{\rm g}, \ c_{\rm s}, \ \omega_{\rm s}, \ V_{\rm T} / c_{\rm s}, \ \Omega, \ A, \ \lvert \vec{B} \rvert, \ Z, \ \rho_{*} \right). \label{eq:eq2.Lynden-Bell}\] However, if we knew the true functional form of \(R\) and offered it to a galaxy builder he would probably tell us 'Oh, go and jump in the lake, that's far too complicated'." The only feasible approach to galaxy building is to be less ambitious than to want a physical formula for the SFR. Instead, schematic expressions, guided by the above ideas on relevant factors, can be tested to see how galactic evolution is affected by various parameters. Some examples already mentioned just above and in Section [1](#sec:Overview){reference-type="ref" reference="sec:Overview"} are that self-propagating star formation can lead naturally to spiral structure, and that the final shape of a galaxy depends on the ratios of the timescales for star formation, collapse, and gaseous dissipation in the protogalaxy. Many examples of schematic expressions for the SFR, in models for chemical and photometric evolution, will be considered later.
## Stellar Evolution Beyond the Main Sequence {#subsec:Beyond MS}
Late stages of stellar evolution are important to galaxies because stars burn much of their nuclear fuel after leaving the main sequence. The products of this late fuel guzzling provide most of the chemical enrichment of galaxies, and the energy liberated provides most of their integrated light. The following outline of stellar evolution and nucleosynthesis emphasizes aspects that will be relevant later in the discussion of galaxies, and necessarily only skims the surface of these topics. Further details and references can be found in the comprehensive review by, and in other papers cited below.
### Stars near Solar mass {#subsubsec:Solar mass}
Giant stars of approximately Solar metallicity and mass are especially interesting because they provide most of the light of elliptical and S0 galaxies and the nuclear bulges of spirals. The dominant old-disk population of the Solar neighborhood provides a convenient sample of such stars for detailed study; these may be somewhat younger than most stars in spheroidal systems, but evolution on the giant branch is thought to be rather insensitive to the initial stellar mass in the small range whose lifetimes are \({\sim} 5-15 \: \rm Gyr\). Figure [\[fig:fig5\]](#fig:fig5){reference-type="ref" reference="fig:fig5"} gives color--magnitude diagrams of the old open cluster M67 and a sample of field giants, which are necessary for completeness because the cluster is so poor that it contains none of the short-lived M giants. Selection effects in the field sample mean that earlier giants are badly under-represented relative to later types, and an unbiased luminosity function would show roughly a factor of two decrease in the number of stars per bolometric magnitude interval, for each magnitude increase in luminosity up the giant branch. Some relevant aspects of the stellar evolution responsible for this distribution of stars are as follows:
1. When the central \(10\%\) of hydrogen has been converted to helium, the star leaves the MS and its site of hydrogen burning moves from the center to a shell around the helium core; as the shell is established, the star moves along the subgiant branch (at \(M_{\rm bol} \simeq 2.5\) in Figure [\[fig:fig5\]](#fig:fig5){reference-type="ref" reference="fig:fig5"}) to the base of the giant branch, at which point the helium core mass is \({\sim} 0.2 \: \rm M_{\odot}\).
2. During the first ascent of the giant branch to the so-called "tip" at \(M_{\rm bol} \simeq-3\), the helium core grows to \({\sim} 0.45 \: \rm M_{\odot}\). Although this ascent occupies only about \(10\%\) of the preceding lifetime, the energy emitted, which is nearly proportional to the mass of hydrogen burned, is greater.
3. Helium ignition in the degenerate core--the "helium flash"--halts the ascent of the giant branch, and the star very quickly drops to a lower luminosity, \(M_{\rm bol} \simeq 0.5\), where it remains for about \(10^{8} \: \rm yr\) while the core helium is burned to carbon (and a little oxygen). This stage appears as the horizontal branch to the left of the giant branch in HR diagrams of globular clusters, but most metal-rich stars form a clump of early K giants superposed on the ascending giant branch; some metal-rich blue horizontal-branch stars are found in the old-disk population, and these may represent a minority that lost a large fraction of their envelopes at the helium flash. Although the total energy emitted by core-helium-burning stars is relatively small, blue horizontal-branch stars can make an important contribution to the light of galaxies whose bluest stars otherwise are at the turnoff.
4. The star then ascends the giant branch for a second time (called the asymptotic giant branch stage because it appears as an asymptote to the left of the first giant branch in the HR diagrams of globular clusters), with two shells burning hydrogen and helium respectively. The star can become brighter and cooler than the first giant branch "tip", as seen in Figure [\[fig:fig5\]](#fig:fig5){reference-type="ref" reference="fig:fig5"} but not in all HR diagrams for globular clusters.
5. The end of this stage of evolution is determined by mass loss, without which the whole star would become a carbon-oxygen white dwarf. In fact, there is much evidence that several tenths of a solar mass of envelope are lost before the burning shells reach out to consume the whole initial mass of hydrogen. For example, the average mass of white dwarfs is \({\sim} 0.7 \: \rm M_{\odot}\), well below the turnoff mass (\({\sim} 1 \: \rm M_{\odot}\)) for field stars; planetary nebulae, most of which belong to the old-disk population, represent \({\sim} 0.2 \: \rm M_{\odot}\) of ejected matter; and spectroscopic observations of M giants show that they are losing mass in a wind. The existence of both very late M giants and blue horizontal-branch stars in the old-disk population suggests that mass loss occurs at a variety of rates among stars of a given initial mass and composition. Since the average final core mass of solar-mass stars must be the white dwarf mass, \({\sim} 0.7 \: \rm M_{\odot}\), the energy liberated during the second ascent of the giant branch is comparable to that liberated on the first ascent, with the difference that most of it now appears in the near infrared from very cool stars.
Current stellar models do not predict post-MS evolution accurately enough to be used directly in synthetic galaxies. The main uncertainties are the depth of the surface convection zone, which determines the effective temperature at a given luminosity, and mass loss; a related problem is the outward mixing of products of nucleosynthesis, which are observed on the surfaces of many giants but cannot be predicted in detail. Consequently, galaxy models must rely heavily on empirical studies of giant populations. The implications of these problems for understanding photometric properties of elliptical galaxies are reviewed by. Mass loss and mixing also mean that even these low-mass stars contribute significant amounts of newly synthesized elements to the ISM, including for example carbon and nitrogen, which are often overabundant at the surfaces of giants and in planetary nebulae. The isotopes \(^{13}\)C and \(^{14}\)N are by-products of hydrogen burning by the CNO cycle, while \(^{12}\)C must be a product of core helium burning.
### Stars of \(1-4 \: \rm M_\odot\) {#subsubsec:1-4 Msun}
White dwarfs appear in open clusters where their progenitors must have been stars with initial masses up to \({\sim} 4 \: \rm M_{\odot}\). The substantial mass loss required is in agreement with stellar models that allow for winds; these models suggest that stars up to some limit \({\sim} 3-6 \: \rm M_{\odot}\) lose so much mass that they fizzle before the point of carbon ignition, which would otherwise occur (possibly explosively) when the degenerate core reached \(1.4 \: \rm M_{\odot}\). Therefore, stars with MS lifetimes in the whole range from \({\sim} 10^{8}\) to \({\sim} 10^{10} \: \rm yr\), from mid-B to early G on the MS, evolve internally similarly to the solar-mass stars discussed above, and they make similar contributions to nucleosynthesis.
### Stars above \(8 \: \rm M_\odot\) {#subsubsec:8 Msun}
Stars initially more massive than \({\sim} 8 \: \rm M_{\odot}\), which are early B and O stars on the MS, are believed to ignite carbon (quietly) in a non-degenerate core and to proceed through many stages of nuclear burning. Models acquire an onion-skin structure of successive elements, with unaltered envelope material (mostly hydrogen) on the outside, then layers of helium, carbon, oxygen, neon, magnesium, etc., with the ashes of each nuclear reaction providing fuel for the next. These stars and their contributions to nucleosynthesis are discussed by, , and, the last stressing the very important effects of mass loss. Theoretical models predict that the stars undergo core collapse after the last exoergic reaction, formation of iron-peak elements, and the event is expected to send a shock wave through the star leading to explosive nucleosynthesis of most of the less abundant elements. Because Type II supernovae are associated with the most massive stars in galaxies, they are believed to represent these explosive stellar deaths. The lower initial mass limit for stars with this fate is somewhere in the range \(6-10 \: \rm M_{\odot}\), depending on the structure of stellar cores at carbon ignition; it is sometimes suggested that there is also an upper limit for such deaths, stars above the higher limit collapsing to black holes that swallow most of the new elements. The evolution of massive stars in the HR diagram (as well as internally) must be strongly affected by mass loss, since winds of \({\sim} 10^{6} \: \rm M_{\odot} \ yr^{-1}\) are inferred from the spectra of MS O stars and much higher mass-loss rates are common in supergiants. These rates mean that the stellar mass is changing significantly on an evolutionary timescale. The evolutionary tracks of such stars in the HR diagram cannot be predicted reliably, so models for galaxies with young stars are subject to some uncertainty. Empirical illustrations of the evolutionary tracks of massive stars are provided by compilations of HR diagrams of open clusters in age groups, of which the youngest few are reproduced in Figure [\[fig:fig6\]](#fig:fig6){reference-type="ref" reference="fig:fig6"}. The general trends with age are clear, but there are obviously many uncertainties due to the small numbers of supergiants, and a scatter that may be due partly to the presence of clusters with different metallicities.
### Stars of intermediate mass {#subsubsec:Intermediate mass}
There may be some stars of mid-B type on the MS, with masses in the interval \({\sim} 4-8 \: \rm M_{\odot}\), that neither die quietly as white dwarfs nor follow the sequence of nuclear burning stages through core collapse and (Type II) supernova explosion. Such stars would be characterized by carbon ignition in a degenerate core, and it is possible that they do not exist if the upper limit for white dwarf formation exceeds the lower limit for non-degeneracy. If they do exist, their final evolution is very uncertain, since it is not known whether degenerate carbon ignition would blow a star apart or lead quietly to further burning; this problem is reviewed by. Regardless of their final fate, stars of about \(4-8 \: \rm M_{\odot}\)[^6] make important contributions to galactic enrichment in elements that are produced during hydrogen and helium burning and are mixed up to the surface. Overabundances of carbon, nitrogen, barium and other elements are seen in the spectra of many giants in this mass range, and their theoretical origin is discussed by. The evolution of stars between 4 and \(8 \: \rm M_{\odot}\) in the HR diagram is subject to the same uncertainties that beset more and less massive stars. The groups of clusters in again give a useful guide, but they are rather sparse, as seen in Figure [\[fig:fig6\]](#fig:fig6){reference-type="ref" reference="fig:fig6"}. About half of all supernovae in spiral galaxies are Type I supernovae (SNI), which, because of their sites in galaxies are associated with stars below \({\sim} 6 \: \rm M_{\odot}\). Their origin has been controversial for some time, as reviewed by, , and. This leaves a serious gap in our understanding of stellar deaths and nucleosynthesis, especially since SNI appear to eject significant quantities of iron. Alternative theories include the following.
1. SNI are exploding white dwarfs. This has long been the standard theory, because SNI occur in elliptical galaxies where only stars \({\sim} 1 \: \rm M_{\odot}\) are conventionally believed to be dying. However, the white dwarf theory conflicts with the large envelopes (of supergiant size and \(\gtrsim 1 \: \rm M_{\odot}\)) that are invoked to explain the early spectra and light curves of SNI, and with the clear association of SNI with a young stellar population in spiral and irregular galaxies.
2. SNI are stars \({\sim} 2 \: \rm M_{\odot}\) that live for ten times longer than normal by mixing completely on the MS. proposed this model to be consistent with the envelope masses, populations in elliptical galaxies, the extreme deficiency of hydrogen in SNI spectra, and some properties of the Crab nebula. Its problems are that occasional complete mixing of MS stars must be postulated ad hoc, and that often SNI are associated with a much younger stellar population.
3. SNI are stars of intermediate mass, \({\sim} 4-6 \: \rm M_{\odot}\). This was suggested by on the grounds that these stars could blow away their hydrogen-rich envelopes before dying, and by to account for the association of SNI with ongoing star formation in spiral and irregular galaxies. This hypothesis implies a rate of star formation in elliptical galaxies that should be marginally detectable.
4. There are two kinds of SNI, those from low-mass stars that appear in elliptical galaxies, and those from more massive stars that account for the frequency in spiral and irregular galaxies. While this hypothesis avoids the problems of the preceding ones, the properties of SNI (while not exactly homogeneous) do not divide naturally into two classes suggestive of very different stellar origins.
In any case, the production of iron by SNI and the red-giant nucleosynthesis mentioned above show that stars with a very wide range of masses contribute to galactic enrichment in various elements.
### Effects of initial composition {#subsubsec:Initial composition}
Stars now forming and evolving in different regions of galaxies have at least a ten-fold range of metallicities, and the first stars everywhere were presumably very metal-poor. It is therefore important to ask how stellar evolution is affected by initial composition. The evolution of stars from \({\sim} 0.7-1 \: \rm M_{\odot}\) has been widely studied as a function of metallicity (\(Z\)) and helium abundance (\(Y\)), for the interpretation of HR diagrams of globular clusters. Much less attention has been paid to more massive stars. In the largest systematic survey to date, stars up to \(7 \: \rm M_{\odot}\) with a wide range of \(Z\) and \(Y\) have been followed to the base of the giant branch; have followed some of these up the giant branch. A few more massive models have been studied by and, and have followed the evolution of stars up to \(10 \: \rm M_{\odot}\), with various \(Z\), through core helium exhaustion. The results of these calculations suggest that important systematic differences in nucleosynthesis may occur as a result of initial \(Z\) differences, but they do not go far enough to provide quantitative estimates. Models for chemical evolution usually assume that the production of primary elements--those that are made from hydrogen and helium that were initially in the star--is a function of stellar mass alone, but this assumption may be leading to systematic errors. (An exception is the study undertaken by [@Arnett1971GalacticNucleosynthesis] of explosive nucleosynthesis of certain neutron-rich primary elements which may depend systematically on the star's initial \(Z\); [@Arnett1971GalacticNucleosynthesis] showed how such effects could be tested using relative abundances of metals in metal-poor stars). Some elements are believed to be synthesized in amounts that depend *directly* on the initial composition of the star, because they are made not only from hydrogen and helium but also from heavier elements that were present initially. These are called secondary elements, and some examples are:
1. \(^{13}\)C and \(^{14}\)N are made in stellar envelopes as by-products of hydrogen burning in the CNO cycle, mainly from \(^{12}\)C that was present initially[^7].
2. Barium is made from the addition of neutrons to iron nuclei, probably in the intershell region of asymptotic-branch giants.
Because the structure of stars at different stages of evolution depends on their initial composition, these and other elements may also be affected *indirectly* by initial composition. Extensive calculations of stellar models lie ahead before the dependence of both primary and secondary nucleosynthesis on composition is adequately understood. Almost all calculations to date have used Solar relative abundances of the heavy elements (all scaled with the single initial metallicity parameter \(Z\)), and it will be important also to find out how stellar evolution and nucleosynthesis depend on variations among these relative abundances. Another set of questions concerns changes in the HR diagram that would affect the colors of galaxies with stars of different compositions. A population of low \(Z\) is in general bluer than normal for two reasons: the effective temperature of a star of a given mass and evolutionary stage is (in most cases of interest) higher at lower \(Z\), because metal-poor stars tend to have smaller radii; and most colors at a given effective temperature are bluer at lower \(Z\), because the reduced line-blanketing restores more flux at short wavelengths than at long wavelengths. These effects are partially offset when one considers populations of a given age, because the turnoff mass is lower at lower \(Z\), but this factor is relatively unimportant. Some implications of these changes will be discussed in Section [5.1](#subsec:Data2){reference-type="ref" reference="subsec:Data2"} and Section [7.1.4](#subsubsec:Variations in metallicity){reference-type="ref" reference="subsubsec:Variations in metallicity"}.
# Aims and Methods of Chemical Evolution {#sec:Aims and Methods 1}
Studies of chemical evolution aim to account for abundance distributions of the elements, including the variation of stellar metallicities with age and position in the Galaxy, abundance gradients in galaxies, variations in relative abundances of elements heavier than helium, and related observations. The main processes governing chemical evolution are indicated in Figure [\[fig:fig1\]](#fig:fig1){reference-type="ref" reference="fig:fig1"}: star formation, nucleosynthesis, mass loss from evolving and dying stars, and gas flows. Because of the importance of dynamical processes, another motivation for studying chemical evolution is that it leads to clues to the dynamical evolution of galaxies, as examples in Sections [4](#sec:Evolution solar neighborhood){reference-type="ref" reference="sec:Evolution solar neighborhood"} and [5](#sec:Chemical Evolution of Galaxies){reference-type="ref" reference="sec:Chemical Evolution of Galaxies"} will show. Details of the basic processes have been extensively reviewed elsewhere, so the emphasis here will be on methods of modeling chemical evolution, and selected applications. Reviews for further background material include, ,, ,, and others cited in Section [2](#sec:Star_formation){reference-type="ref" reference="sec:Star_formation"}. There is no clearer introduction to chemical evolution than the seminal paper by on the subject.
## Basic Assumptions and Equations {#subsec:Assumptions}
Models for chemical evolution follow, analytically or numerically, abundance changes in the ISM of a region and the resulting abundance distributions in stars. For most purposes, the region under study in a particular model can be assumed to have ISM of uniform composition and to gain or lose mass through gas flows only; complicated models for whole galaxies are generally divided up, for computation, into zones with these properties. The basic equations are then easy to derive. The total mass \(M\) of the system changes according to the net inflow rate \(f\) of gas: \[\frac{dM}{dt} = f. \label{eq:eq3.1}\] (\(f\) is often called the infall or accretion rate). The mass of stars \(M_{\rm s}\) changes via star formation and mass loss from evolving stars: \[\frac{dM_{\rm s}}{dt} = \psi-E, \label{eq:eq3.2}\] where \(\psi\) is the SFR and \(E\) is the total ejection rate from stars of all masses and ages. Similarly, the mass of ISM, called "gas" (\(M_{\rm g}\)), changes through star formation, ejection, and net inflow into the region: \[\frac{dM_{\rm g}}{dt} =-\psi + E + f, \label{eq:eq3.3}\] Since \(M = M_{\rm s} + M_{\rm g}\), the sum of Equations ([\[eq:eq3.2\]](#eq:eq3.2){reference-type="ref" reference="eq:eq3.2"}) and ([\[eq:eq3.3\]](#eq:eq3.3){reference-type="ref" reference="eq:eq3.3"}) is simply ([\[eq:eq3.1\]](#eq:eq3.1){reference-type="ref" reference="eq:eq3.1"}). The fraction of gas in the system is written \[\mu \equiv \frac{M_{\rm g}}{M}, \label{eq:eq3.4}\] so the mass of stars is obviously \[M_{\rm s} = \left( 1-\mu \right) M. \label{eq:eq3.5}\] The ejection rate can be written in terms of the IMF and SFR, Equation ([\[eq:eq2.1\]](#eq:eq2.1){reference-type="ref" reference="eq:eq2.1"}), if one makes the usual approximation that each star undergoes its entire mass loss after a well-defined lifetime. Let \(w_{\rm m}\) be the remnant mass and \(\tau_{\rm m}\) the lifetime of a star of (initial) mass \(m\); the star was therefore formed at time (\(t-\tau_{\rm m}\)) if it dies at time \(t\). Then the ejection rate at time \(t\) is \[E(t) = \int_{m_{\rm t}}^{\infty} \left( m-w_{\rm m} \right) \psi \left( t-\tau_{\rm m} \right) \phi(m) \ dm, \label{eq:eq3.6}\] where \(m_{\rm t}\) is the mass with \(\tau_{\rm m} = t\) (the turnoff mass) and \(\phi(m)\) is the IMF at time (\(t-\tau_{\rm m}\)). The approximation of sudden mass loss at the end of each star's lifetime is usually a reasonable one, since for most stars nearly all of the mass loss is thought to occur in a final small fraction of their lives; mass loss on the MS is important for O stars, however, so the approximation fails if timescales \(< 10^{7} \: \rm yr\) are of interest. For illustration, let us consider the evolution of a single "metal" abundance parameter \(Z\), where "metals" are one or all of the common primary elements (e.g., C, O, Fe), and let us assume that their production is a function only of stellar mass, not of initial composition. (The methods for calculating this schematic \(Z\) are readily adapted to more realistic cases). Let us also assume for simplicity that material ejected from stars is mixed instantly throughout the ISM in the region under study. Then the mass of metals in the gas, which is \(ZM_{\rm g}\), evolves via star formation (putting metals from the ISM into stars), ejection, and gas flows, according to the equation \[\frac{dZM_{\rm g}}{dt} =-Z \psi + E_{Z} + Z_{\rm f} f, \label{eq:eq3.7}\] where \(E_{Z}\) is the total ejection rate of metals from stars and \(Z_{\rm f}\) is the mean metal abundance in infalling gas. \(E_{Z}\) includes both newly synthesized metals and those that were in the star from birth and re-ejected. Let \(p_{\rm zm}\) be the mass fraction of a star of mass \(m\) that is converted to metals and ejected; then the rate of ejection of new metals from stars at time \(t\) is \[\int_{m_{\rm t}}^{\infty} m p_{\rm zm} \psi \left( t-\tau_{\rm m} \right) \phi(m) \ dm. \label{eq:eq3.8}\] Unprocessed material occupies a mass (\(m-w_{\rm m}-m p_{\rm zm}\)) of the ejected part of a star of mass \(m\), and the metal abundance in this region is \(Z(t-\tau_{\rm m})\). Thus the total ejection rate of old and new metals is obtained by adding the ejection rate from all masses of these unprocessed metals to the rate (Equation [\[eq:eq3.8\]](#eq:eq3.8){reference-type="ref" reference="eq:eq3.8"}): \[\begin{medsize} E_{Z}(t) = \int\limits_{m_{\rm t}}^{\infty} \left[ \left( m-w_{\rm m}-m p_{\rm zm} \right) Z \left( t-\tau_{\rm m} \right) + m p_{\rm zm} \right] \psi \left( t-\tau_{\rm m} \right) \phi(m) \ dm. \label{eq:eq3.9} \end{medsize}\] The mean metallicity of stars ever formed, denoted \(Z_{\rm s}\), can be obtained by writing an equation for the conservation of metals: a mass \(Z_{\rm s} M_{\rm s}\) of metals is stored in stars, a mass \(Z M_{\rm g}\) is in the gas, and their sum is the mass of new metals ever ejected, which is obtained by integrating Equation ([\[eq:eq3.8\]](#eq:eq3.8){reference-type="ref" reference="eq:eq3.8"}) over time. Thus \(Z_{\rm s}\) is given by \[Z_{\rm s} M_{\rm s} + Z M_{\rm g} = \int_{0}^{t} \int_{m_{\rm t^{\prime}}}^{\infty} m p_{\rm zm} \psi \left( t^{\prime}-\tau_{\rm m} \right) \phi(m) \ dt^{\prime} dm. \label{eq:eq3.10}\] It is convenient to define some integrals that depend on the IMF and parameters of stellar evolution but not on \(\psi(t)\). The *returned fraction* \(R\) is defined by the integral \[R \equiv \int_{m_{1}}^{\infty} \left( m-w_{\rm m} \right) \phi(m) \ dm, \label{eq:eq3.11}\] where \(m_{1}\) is the present turnoff mass, and is usually taken to be \(1 \: \rm M_{\odot}\) in evaluating \(R\). Because the IMF is normalized as in Equation ([\[eq:eq2.2\]](#eq:eq2.2){reference-type="ref" reference="eq:eq2.2"}), \(R\) is the fraction of mass put into stars at a given time that is thereafter returned to the ISM in the lifetime of a solar-mass star; for example, if the stars in a galaxy were all formed in a single initial burst with a total mass \(M\), then \({\sim} 10^{10} \: \rm yr\) later the mass in stellar form would be \(M(1-R)\). An estimate of \(R\) can be obtained using the local IMF as approximated in Equation ([\[eq:eq2.9\]](#eq:eq2.9){reference-type="ref" reference="eq:eq2.9"}), with a white dwarf mass of \(0.7 \: \rm M_{\odot}\) as the remnant mass \(m_{\rm w}\) for \(m \leq 4 \: \rm M_{\odot}\) and a neutron star mass of \(1.4 \: \rm M_{\odot}\) for \(m > 4 \: \rm M_{\odot}\); the result is, \(R = 0.17 \times (10 \: \rm M_{\odot} \ pc^{-2} \ Gyr^{-1} / \psi_{1})\). A second useful integral is the *yield* \(y\), which is the mass of new metals ejected (eventually) when unit mass of matter is locked into stars. The yield can be defined for any element of interest, and for the "metals" considered above it is given by \[y \equiv \frac{1}{1-R} \int_{m_{1}}^{\infty} m p_{\rm zm} \phi(m) \ dm. \label{eq:eq3.12}\] Again, if a mass \(M\) of stars were formed in a single initial burst, then \({\sim} 10^{10} \: \rm yr\) later, the mass of new metals ejected would be \(y(1-R)\). Sometimes the quantities \(p_{\rm zm}\) are called stellar yields, and \(y\) is called the net yield. Although \(R\) and \(y\) are defined with a specific lower mass limit, their values do not depend strongly on \(m_{1}\), so they turn out to be useful parameters in many situations. For example, \(R\) has been used in Section [2.3.1](#subsubsec:Local SFR){reference-type="ref" reference="subsubsec:Local SFR"} to relate the mass of stars now in the Solar neighborhood to the mass ever formed, giving a reasonable estimate even though star formation did not occur in a single burst; and the yield will prove to be a first approximation to the abundance of metals resulting from a given IMF and stellar production parameters (e.g., \(p_{\rm zm}\)), independently of the detailed history of the system. Many insights into chemical evolution can be obtained using analytical approximations to the above equations, while for detailed modeling they can be cast into forms suitable for numerical computation. These techniques will be outlined in turn.
## Analytical Approximations {#subsec:Approximations}
The equations of chemical evolution are especially easy to handle if one makes an approximation known as *instantaneous recycling*: stars are divided into two classes, those that live forever (masses less than some value \(m_{1}\)) and those that die as soon as they are born (\(m > m_{1}\)). Thus the lower mass limits in the integrals in Equations ([\[eq:eq3.6\]](#eq:eq3.6){reference-type="ref" reference="eq:eq3.6"}) -- ([\[eq:eq3.10\]](#eq:eq3.10){reference-type="ref" reference="eq:eq3.10"}) are taken to be the time-independent \(m_{1}\), and the assumed instant deaths allow the arguments (\(t-\tau_{\rm m}\)) to be replaced by simply (\(t\)). (Note that the assumption now made of death immediately after birth, so \(\tau_{\rm m} \equiv 0\), is a much stronger and less realistic assumption than the earlier one of sudden mass loss, which simply allowed \(\tau_{\rm m}\) to be well-defined for each star). Equations ([\[eq:eq3.6\]](#eq:eq3.6){reference-type="ref" reference="eq:eq3.6"}) and ([\[eq:eq3.9\]](#eq:eq3.9){reference-type="ref" reference="eq:eq3.9"}) reduce at once to the much simpler relations, \[E(t) = R \psi(t), \label{eq:eq3.13}\] \[E_{Z}(t) = R Z(t) \psi(t) + y(1-R) \left[ 1-Z(t) \right] \psi(t), \label{eq:eq3.14}\] in which all time-dependent quantities are evaluated at the current time \(t\) only. Since \(Z \ll 1\) in all situations of interest, Equation ([\[eq:eq3.14\]](#eq:eq3.14){reference-type="ref" reference="eq:eq3.14"}) can be written more simply \[E_{Z}(t) = R Z(t) \psi(t) + y(1-R) \psi(t). \label{eq:eq3.15}\] Substituting in Equations ([\[eq:eq3.2\]](#eq:eq3.2){reference-type="ref" reference="eq:eq3.2"}), ([\[eq:eq3.3\]](#eq:eq3.3){reference-type="ref" reference="eq:eq3.3"}), and ([\[eq:eq3.7\]](#eq:eq3.7){reference-type="ref" reference="eq:eq3.7"}), we have now \[\frac{dM_{\rm s}}{dt} = (1-R) \psi, \label{eq:eq3.16}\] \[\frac{dM_{\rm g}}{dt} =-(1-R) \psi + f, \label{eq:eq3.17}\] \[\frac{dZM_{\rm g}}{dt} =-Z(1-R) \psi + y(1-R) \psi + Z_{\rm f} f. \label{eq:eq3.18}\] An equation for the metal abundance \(Z\) of the gas, rather than the mass of metals it contains, is obtained by substituting Equation ([\[eq:eq3.17\]](#eq:eq3.17){reference-type="ref" reference="eq:eq3.17"}) into ([\[eq:eq3.18\]](#eq:eq3.18){reference-type="ref" reference="eq:eq3.18"}), using the identity \(M_{\rm g} dZ / dt = d(ZM_{\rm g}) / dt-Z dM_{\rm g} / dt\); the result is \[M_{\rm g} \frac{dZ}{dt} = y(1-R) \psi + \left( Z_{\rm f}-Z \right) f. \label{eq:eq3.19}\] For simplicity, let us assume that the IMF is constant. (The methods developed for a constant IMF can be adapted when necessary to more complicated cases). The quantities \(R\) and \(y\) are therefore constants. Equation ([\[eq:eq3.16\]](#eq:eq3.16){reference-type="ref" reference="eq:eq3.16"}) now gives an expression for the mass of stars at time \(t\), \[M_{\rm s} (t) = (1-R) \int_{0}^{t} \psi \left( t^{\prime} \right) \ dt^{\prime} \equiv (1-R) \overline{\psi} t. \label{eq:eq3.20}\] The mean metallicity of stars can be obtained from Equation ([\[eq:eq3.10\]](#eq:eq3.10){reference-type="ref" reference="eq:eq3.10"}), using the instantaneous recycling approximation and the assumption of a constant IMF: the integrals with respect to time and mass separate, and are simply \(M_{\rm s} / (1-R)\) and \(y(1-R)\) respectively, so the result is \(Z_{\rm s} M_{\rm s} + Z M_{\rm g} = y M_{\rm s}\), from which \[Z_{\rm s} = y-\frac{\mu}{1-\mu} Z. \label{eq:eq3.21}\] This result shows that \(Z \rightarrow y\) as \(\mu \rightarrow 0\), which simply states that, when there is no gas, all the metals ever made and ejected (\(y M_{\rm s}\)) are incorporated into later generations of stars. An estimate of the yield for the local IMF is therefore the mean metallicity of stars in the Solar neighborhood (where the gas fraction is small, \(\mu \sim 0.05\)), i.e., \(y \simeq 0.8 \: \rm Z_{\odot}\). The approximation \(y \sim \: \rm Z_{\odot}\) will be useful below. Further solutions to the above equations depend on the assumptions made about gas flows, so two extreme cases will be considered for illustration.
### A closed system, initially unenriched gas {#subsubsec:closed system}
In this case, we set \(f = 0\), and the initial values are \(M_{\rm g0} = M\), \(M_{\rm s0} = 0\), \(Z_{0} = Z_{\rm s0} = 0\). Obviously, \(M = \rm constant\). Time can be eliminated as an explicit variable if Equation ([\[eq:eq3.19\]](#eq:eq3.19){reference-type="ref" reference="eq:eq3.19"}) is divided by ([\[eq:eq3.17\]](#eq:eq3.17){reference-type="ref" reference="eq:eq3.17"}), with the result \[M_{\rm g} \frac{dZ}{dM_{\rm g}} =-y, \label{eq:eq3.22}\] i.e., \[Z = y \ln \left( \frac{M_{\rm g0}}{M_{\rm g}} \right) = y \ln \left( \frac{M}{M_{\rm g}} \right) = y \ln \left( \frac{1}{\mu} \right). \label{eq:eq3.23}\] This solution is valid as long as \(Z \ll 1\). If not, Equation ([\[eq:eq3.14\]](#eq:eq3.14){reference-type="ref" reference="eq:eq3.14"}) must be used instead of ([\[eq:eq3.15\]](#eq:eq3.15){reference-type="ref" reference="eq:eq3.15"}); the result is then \(Z = 1-\mu^{y}\), which reduces to ([\[eq:eq3.23\]](#eq:eq3.23){reference-type="ref" reference="eq:eq3.23"}) if \(Z \ll 1\), and has the limit \(Z \rightarrow 1\) as \(\mu \rightarrow 0\). (This formally correct limit is of course absurd, and is a consequence of neglecting the effects of metallicity on stellar nucleosynthesis). Original derivations of these results were given by, and Equation ([\[eq:eq3.23\]](#eq:eq3.23){reference-type="ref" reference="eq:eq3.23"}) was derived independently by. Through Equations ([\[eq:eq3.21\]](#eq:eq3.21){reference-type="ref" reference="eq:eq3.21"}) and ([\[eq:eq3.23\]](#eq:eq3.23){reference-type="ref" reference="eq:eq3.23"}), \(Z_{\rm s}\) can also be expressed as a function of \(\mu\).
### A system with infall balanced by star formation {#subsubsec:balanced system}
Here it is assumed that star formation just keeps up with the rate of infall plus stellar gas loss: \[\psi = f + R \psi, \label{eq:eq3.24}\] so that, from Equation ([\[eq:eq3.17\]](#eq:eq3.17){reference-type="ref" reference="eq:eq3.17"}), \[M_{\rm g} = {\rm constant} = M_{0}. \label{eq:eq3.25}\] The picture is that the total mass grows by infall, while star formation maintains a constant gas mass. Other initial conditions are \(M_{\rm s0} = 0\) and \(Z_{0} = Z_{\rm s0} = 0\), and the infalling gas will be assumed to be unenriched so that \(Z_{\rm f} = 0\). To eliminate time in this case, we divide Equation ([\[eq:eq3.17\]](#eq:eq3.17){reference-type="ref" reference="eq:eq3.17"}) by ([\[eq:eq3.1\]](#eq:eq3.1){reference-type="ref" reference="eq:eq3.1"}), with the result \[M_{\rm g} \frac{dZ}{dM} = y-Z. \label{eq:eq3.26}\] It is useful to solve this Equation in terms of a parameter \(\nu\) that gives the ratio of mass accreted to the initial mass: \[\nu \equiv \frac{M-M_{0}}{M_{0}} = \frac{M-M_{\rm g}}{M_{\rm g}} = \frac{1}{\mu}-1. \label{eq:eq3.27}\] Then Equation ([\[eq:eq3.26\]](#eq:eq3.26){reference-type="ref" reference="eq:eq3.26"}) has the solution \[Z = y \left(1-e^{-\nu} \right), \label{eq:eq3.28}\] a result due originally to. Equation ([\[eq:eq3.21\]](#eq:eq3.21){reference-type="ref" reference="eq:eq3.21"}) again gives \(Z_{\rm s}\). An important difference between this infall model and the preceding closed model is that here \(Z \rightarrow y\) as \(\mu \rightarrow 0\); an equilibrium is set up between the rate of infall of metal-free gas and the rate of enrichment by evolving stars.
### Generalities {#subsubsec:generalities}
Although the above two models are extremely schematic, their Equations ([\[eq:eq3.23\]](#eq:eq3.23){reference-type="ref" reference="eq:eq3.23"}) and ([\[eq:eq3.28\]](#eq:eq3.28){reference-type="ref" reference="eq:eq3.28"}) for the "metal" abundance of the gas have some common properties that are found in a wide variety of models for chemical evolution. The following generalizations are approximately true even when instantaneous recycling is a poor approximation, but they break down if the IMF is time-dependent.
1. *\(Z\) is proportional to the net yield, \(y\).* Thus any primary elements whose stellar production parameters are independent of composition will have abundances in proportion to their respective yields. The yields in turn can be calculated from Equation ([\[eq:eq3.12\]](#eq:eq3.12){reference-type="ref" reference="eq:eq3.12"}), for a given IMF, independently of any model for star formation or gas flows in the system. The utility of this result is that theories of nucleosynthesis can be tested by comparing predicted relative yields of various elements with their observed relative abundances.
2. *\(Z / y\) depends chiefly on current properties of the system*, and is insensitive to its past history. This statement is exactly true in the above models because of the assumption of instantaneous recycling (which led to the cancellation of time as an explicit variable). In numerical models that allow for finite stellar lifetimes, the same result holds approximately, and relevant current properties include the gas fraction (\(\mu\)) and the ratio of SFR to gas flow rate (\(\psi / f\)).
3. *\(Z / y\) depends rather weakly on model-dependent quantities* such as \(\mu\) and \(\psi / f\). Consequently, regions of galaxies with gas fractions differing by orders of magnitude may have interstellar abundances differing by only small factors. This prediction allows one to test whether theories of nucleosynthesis give the right absolute amounts of elements, as well as the right relative amounts; in particular, the yield of an element, calculated for the local IMF, should be in order of magnitude equal to its abundance in the Solar System or nearby stars.
## Numerical Models {#subsec:Numerical Models}
Chemical evolution is best studied numerically in cases where approximations that make the analytical approach transparent (or possible) break down. Situations in which instantaneous recycling is no longer a useful approximation include the following:
1. If the SFR is a strongly decreasing function of time, systematic errors result from setting \(\psi (t-\tau_{\rm m}) = \psi(t)\); in particular, low-mass stars formed early die later in much greater numbers (relative to massive stars) than would be predicted on the basis of the current SFR.
2. If one is interested in time-dependent abundance ratios arising from nucleosynthesis in stars of different lifetimes, the effects would be entirely lost by neglecting finite stellar lifetimes. Even if instantaneous recycling can be assumed, the analytical approach becomes intractable in models with time-dependent IMFs, or in considerations of radioactive elements with lifetimes of billions of years, except in very special cases.
For numerical computation, equations such as ([\[eq:eq3.1\]](#eq:eq3.1){reference-type="ref" reference="eq:eq3.1"}) -- ([\[eq:eq3.10\]](#eq:eq3.10){reference-type="ref" reference="eq:eq3.10"}) are expressed as differences in finite steps of time and sums over a grid of stellar masses. The programming required is little more than careful book-keeping, so the effort in models for chemical evolution goes not into techniques but into the astrophysical input. Many examples of numerical models will be found in the references cited in Sections [4](#sec:Evolution solar neighborhood){reference-type="ref" reference="sec:Evolution solar neighborhood"} and [5](#sec:Chemical Evolution of Galaxies){reference-type="ref" reference="sec:Chemical Evolution of Galaxies"}, in the discussion of particular problems.
# Chemical Evolution in the Solar Neighborhood {#sec:Evolution solar neighborhood}
The extensive data available on chemical compositions of nearby stars and [H ii]{.smallcaps} regions, and details of the isotopic composition of Solar System material, have led to many efforts to build consistent models for chemical evolution in the Solar neighborhood. In trying to explain the abundance distributions, these models also shed light on dynamical processes that have affected the local region of the Galaxy, and they set some constraints on theories of nucleosynthesis. The "neighborhood" must be carefully defined to include the range of environments occupied by nearby stars and their predecessors in their motions around the Galaxy, and to include stars that were formed near the plane but now occupy a thicker disk. A small "local swimming hole" around the Sun (in Baade's words) will not do. Instead, the Sun's "nucleogenetic pool" is usefully defined as a region about a kpc wide in the Galactic plane (to include most stellar epicyclic motions and periodic gas motions), extended around the Galaxy at the Sun's galactocentric distance (to include passages of local material through spiral arms and related small-scale patchiness), and extending about a kpc out of the plane (to include stars whose periodic motions carry them far from the plane). This region is shaped like a cylindrical shell, and quantities like the mass of stars, SFR, etc. are expressed in units per square parsec, referring to *an average column at the Solar galactocentric distance*. Spatial averages over this pool can be interpreted as short-term time averages during the history of a given small amount of material, and models generally consider explicitly only timescales longer than passages between spiral arms, etc. (Some special studies, such as the interpretation of elements with radioactive lifetimes \({\sim} 10^{6}-10^{9} \: \rm yr\), do need to consider short-term changes). Although the region has been defined to include most relevant periodic motions, it cannot be treated as a closed system, because it is probably affected by systematic radial gas flows in the disk and by infall from outside, especially at early times. Halo stars are sometimes treated as part of the "neighborhood" (in which case its extent out of the plane must be many kpc), but more often the halo is treated as a separate subsystem of the Galaxy, whose effects on the evolution of the disk are perturbations from outside. Properties of halo stars are in any case relevant to the Solar neighborhood, so they will be discussed along with the properties of disk stars.
## Outline of Relevant Data {#subsec:Data1}
Chemical abundances in the Solar neighborhood and in the Solar System have been reviewed in detail by and several authors at a recent conference at Yale University. An outline of the points most relevant to this article will be given here. Because of systematic radial gradients in chemical abundances in the Galaxy (Section [5.1](#subsec:Data2){reference-type="ref" reference="subsec:Data2"}), the following remarks apply only to stars within a few kpc of the Sun's galactocentric distance. Stars with halo kinematics are all metal-poor, with \(\rm [Fe / H] \lesssim-1\), whereas stars with disk motions nearly all have \(\rm [Fe / H] \gtrsim-0.5\). (As usual, abundance ratios in square brackets are logarithms of the ratios relative to their Solar values). Since most halo stars are probably older than most disk stars (Section [1.1](#subsec:Stellar_Populations){reference-type="ref" reference="subsec:Stellar_Populations"}), their composition differences indicate a systematic increase of metallicity with time of formation. The disk stars alone show a systematic increase of metallicity with time of formation, illustrated in Figure [\[fig:fig7\]](#fig:fig7){reference-type="ref" reference="fig:fig7"}, but the trend is only about a factor of three over the whole lifetime of the disk. Open clusters show a very weak dependence of metallicity on age, if any, because they are found at such a wide range of galactocentric distances that the radial gradient in metallicity obscures the time-dependence. A powerful tool for chemical evolution is the metallicity distribution of all stars ever formed, which is given by samples of G--M dwarfs since these stars have remained on the MS since they formed. The distribution can be roughly approximated by a log-normal function, with a mean \(\langle \left[ \rm Fe / H \right] \rangle =-0.1\) and standard deviation \(\sigma \left( \left[ \rm Fe / H \right] \right) = 0.2\), allowing for observational errors ([@Pagel1975MetalNeighbourhood; @Pagel1978a]; and references therein). Its striking characteristic is the extreme paucity of metal-poor stars: only a few percent of stars in the local cylinder (including halo stars) have \(\rm [Fe / H] <-1\). The lack of metal-poor disk stars proves to be one of the most powerful constraints on models for the Solar neighborhood, as discussed below. Stellar "metallicities" are commonly denoted \(\rm [Fe / H]\) because most photometric indices of the abundance of heavy elements are sensitive to blanketing by numerous iron lines. Detailed abundance analyses show that other elements heavier than helium usually occur in fixed proportions, so a single metallicity index is often adequate. However, the exceptions to this uniformity are often of great interest. Certain abundance variations in *evolved* stars are believed to show products of the stars' own nucleosynthesis that are mixed to the surface and lost in a stellar wind (Section [2.4](#subsec:Beyond MS){reference-type="ref" reference="subsec:Beyond MS"})--direct observational evidence for enrichment of the ISM. Some elements also show relative abundance variations in *unevolved* stars, and in these cases the anomalies must have been present in the ISM from which the star formed. Besides these interesting abundance variations, there are others that should be ignored or "corrected" for in the context of chemical evolution. Extraneous effects include depletion of metals in the diffuse interstellar gas due to their incorporation into grains; anomalous interstellar abundance ratios, especially between isotopes of the same element, caused by chemical fractionation[^8]; and large abundance variations of various elements on the surfaces of Ap and related stars, produced by differential diffusion of elements in the stellar atmospheres. Unfortunately, it is not always clear whether a particular composition anomaly is due to some such extraneous effect, to nucleosynthesis in the star observed, or to significant composition changes in the ISM.
## The "G-Dwarf Problem" {#subsec:G-Dwarf}
The metallicity distribution of long-lived disk dwarfs leads to a problem originally discovered by and: there are far fewer metal-poor stars than one predicts using the most straightforward assumptions. This contradiction is called the "G-dwarf problem", although a stellar metallicity distribution has now been confirmed for M dwarfs. The straightforward assumptions involved are the following:
1. the Solar neighborhood can be modeled as a closed system;
2. it started as \(100 \%\) metal-free gas;
3. the IMF is constant; and
4. the gas is chemically homogenous at any time.
Any model based on these assumptions is called a *"simple" model*. It is now recognized that assumptions (i) and (ii) are almost certainly false and that more realistic alternatives lead to a natural solution of the G-dwarf problem; assumptions (iii) and (iv) are probably also unrealistic, but there is less evidence for believing that they are violated sufficiently to solve the problem entirely. Although the G-dwarf problem is no longer regarded as a difficulty in chemical evolution, it will be reviewed here because of its earlier importance in motivating many models. Moreover, a review of this problem serves to emphasize that simple models cannot be used consistently in any arguments relating to chemical evolution in the Solar neighborhood--the G-dwarf metallicities are so much at variance with such models that they must ignore very important effects, and could lead to highly misleading results in other contexts. This conclusion also leads to suspicion of simple models for other regions of galaxies. The problem itself can be derived analytically, following, using the instantaneous recycling approximation and the results for a simple model in Section [3.2.1](#subsubsec:closed system){reference-type="ref" reference="subsubsec:closed system"}. Let us consider the cumulative metallicity distribution of stars ever formed (which is represented observationally by dwarfs of mid-G type and later). From Equation ([\[eq:eq3.5\]](#eq:eq3.5){reference-type="ref" reference="eq:eq3.5"}), the fraction of all stars that had been made while the gas fraction was \(\geq \mu\) is \[\frac{M_{\rm s}}{M_{\rm s1}} = \frac{1-\mu}{1-\mu_{1}}, \label{eq:eq4.1}\] where subscripts 1 denote present values. From Equation ([\[eq:eq3.23\]](#eq:eq3.23){reference-type="ref" reference="eq:eq3.23"}), these stars were formed while the metallicity of the gas was \(\leq y \ln \ \mu^{-1}\). The fraction of stars with metallicities \(\leq Z\), denoted \(S(Z)\), is therefore \[S(Z) = \frac{M_{\rm s}}{M_{\rm s1}} = \frac{1-\exp(-Z / y)}{1-\mu_{1}}. \label{eq:eq4.2}\] It is useful to eliminate the yield using the relation \(y = Z_{1} / (\ln \ \mu_{1}^{-1})\) (again Equation [\[eq:eq3.23\]](#eq:eq3.23){reference-type="ref" reference="eq:eq3.23"}), so Equation ([\[eq:eq4.2\]](#eq:eq4.2){reference-type="ref" reference="eq:eq4.2"}) can finally be written in terms of the metallicity ratio \(Z / Z_{1}\) and the present gas fraction \(\mu_{1}\): \[S(Z) = \frac{1-\mu_{1}^{Z / Z_{1}}}{1-\mu_{1}}. \label{eq:eq4.3}\] This distribution is compared in Figure [\[fig:fig8\]](#fig:fig8){reference-type="ref" reference="fig:fig8"} with a log-normal approximation to the data. (The model illustrated has \(\mu_{1} = 0.05\), and the shape of the curve is insensitive to \(\mu_{1}\) within the range of likely values). Obviously, there are far fewer metal-poor stars in the Solar neighborhood than predicted by this formula. The assumptions defining the simple model allow only two significant quantities to define a specific model: the IMF and the SFR. However, the IMF affects only the yield, which does not appear in Equation ([\[eq:eq4.3\]](#eq:eq4.3){reference-type="ref" reference="eq:eq4.3"}) because metallicities have been scaled to the present value; the SFR was eliminated in the derivation of Equation ([\[eq:eq3.23\]](#eq:eq3.23){reference-type="ref" reference="eq:eq3.23"}), and numerical models show that very nearly the same result is obtained if the approximation of instantaneous recycling is dropped. Thus the failure of the "simple" class of models is independent of the particular IMF or SFR used. It may seem at first sight that one could eliminate the problem by making the metals rapidly using a large SFR at early times; however, since there is initially unenriched gas and a constant IMF, a fixed quota of metal-poor G dwarfs must form along with the massive stars that produce metals--no matter how rapidly it all happens. Attempts to solve the G-dwarf problem have motivated numerous alternative models for the Solar neighborhood, in which one or more of the four straightforward assumptions are dropped. The following outline considers each assumption in turn, and some types of model will be developed from a different viewpoint in Section [4.3](#subsec:Effects of Galaxy Formation){reference-type="ref" reference="subsec:Effects of Galaxy Formation"}. Further details and references, on these and other models, can be found in reviews by, , and.
### Infall {#subsubsec:infall}
It is unlikely that the region called the "Solar neighborhood" has evolved as a closed system. In particular, the disk could have grown gradually by accretion, on a timescale similar to that for star formation, as proposed by and. The effect on the stellar metallicity distribution is then as follows. Suppose the disk consists initially of unenriched gas, as in the simple case, but with a very small mass (surface density). The first stars formed are metal-poor, but their numbers are proportional only to the initial disk mass; star formation substantially enriches the gas while the disk is still far below its final mass. Then further star formation continually enriches the new gas that is accreted, so ultimately the only very metal-poor stars are the few initial ones. The model in Section [3.2.2](#subsubsec:balanced system){reference-type="ref" reference="subsubsec:balanced system"} illustrates this behavior analytically. According to Equation ([\[eq:eq3.28\]](#eq:eq3.28){reference-type="ref" reference="eq:eq3.28"}), \(Z\) remains essentially constant at the yield value after the disk mass has increased to several times its initial value. The stellar metallicity distribution, \(S(Z)\), can be derived analytically for this model, and the result is a function strongly peaked at \(Z = y\), as shown in Figure [\[fig:fig8\]](#fig:fig8){reference-type="ref" reference="fig:fig8"}. Here we have a problem opposite to that of the simple model: there are too few stars in the model with \(Z < Z_{1}\)! The problem is alleviated if the width of the observed distribution is due more to errors than has been thought, but in any case this particular model is very schematic, showing effects of infall in a most extreme way, and more realistic models with infall (Section [4.3](#subsec:Effects of Galaxy Formation){reference-type="ref" reference="subsec:Effects of Galaxy Formation"}) predict metallicity distributions intermediate between the extreme and the simple cases.
### Pre-enrichment of the disk gas {#subsubsec:pre-enrichment}
If the gas that formed the disk had a significant initial metal abundance, the number of more metal-poor disk stars would obviously be zero. This idea was introduced by, who postulated a pregalactic burst of massive stars. considered the effects of massive stars in the young halo, whose ejecta enriched the gas that was condensing into a disk; the likely importance of this effect will be reviewed below (Section [4.3.1](#subsubsec:Metals from the young halo){reference-type="ref" reference="subsubsec:Metals from the young halo"}). The effects of pre-enrichment can be seen analytically by simply adding a finite initial metal abundance \(Z_{0}\) to the solution of Equation ([\[eq:eq3.22\]](#eq:eq3.22){reference-type="ref" reference="eq:eq3.22"}). Then ([\[eq:eq3.23\]](#eq:eq3.23){reference-type="ref" reference="eq:eq3.23"}) becomes \(Z = Z_{0} + y \ln \ \mu^{-1}\), and the exponent \(Z / Z_{1}\) in ([\[eq:eq4.3\]](#eq:eq4.3){reference-type="ref" reference="eq:eq4.3"}) is replaced by \((Z-Z_{0}) / (Z_{1}-Z_{0})\). Figure [\[fig:fig8\]](#fig:fig8){reference-type="ref" reference="fig:fig8"} shows the resulting stellar metallicity distribution in the case \(Z_{0} = 0.2 Z_{1}\), and there is clearly no excess of metal-poor stars. A more realistic picture will be discussed in Section [4.3](#subsec:Effects of Galaxy Formation){reference-type="ref" reference="subsec:Effects of Galaxy Formation"}.
### Variable IMF {#subsubsec:Variable IMF}
The original solution to the G-dwarf problem, proposed by, was to postulate an IMF richer in massive stars at early times; the number of long-lived stars formed before the gas reaches a given metallicity is therefore reduced. (An analytical solution illustrating this effect is given by [@Pagel1975MetalNeighbourhood]). Many alternative models with variable IMFs have been considered subsequently, but they all suffer from being ad hoc: although arguments can be offered for massive stars forming more easily at low metallicity, they are not compelling, and there is no independent way of verifying suggested changes in the IMF in the distant past.
### Metal-enhanced star formation {#subsubsec:Metal-enhanced star formation}
suggested that there are always large chemical inhomogeneities in the ISM, and that stars form preferentially in regions with above-average metallicity. has developed this idea into a physical model, in which the enhanced cooling by heavy elements favors star formation in metal-rich regions. For this process alone to solve the G-dwarf problem, it would require both very large chemical inhomogeneities and very inefficient star formation in metal-poor regions; more plausibly, metal-enhanced star formation leads only to some reduction in the proportion of metal-poor stars. In summary, none of the four assumptions underlying the simple model is likely to be strictly true, and departures from any or all of them could alter the predicted metallicity distribution in the required sense of including fewer metal-poor stars.
## Effects of Galaxy Formation {#subsec:Effects of Galaxy Formation}
In retrospect, the failure of the simple model is not surprising, because the Solar neighborhood was treated as a closed box, whereas gas flows during the formation of the Galaxy would affect chemical evolution strongly in two ways:
1. some pre-enrichment of the initial disk gas by massive stars in the young halo, and
2. later accretion of metal-poor gas.
The "formation" of the Galaxy could in the latter sense be continuing today.
### Metals from the young halo {#subsubsec:Metals from the young halo}
The amount of initial enrichment by massive halo stars can be estimated from the present mass of long-lived stars in the halo. Let \(y_{\rm h}\) be the yield during the time of halo formation. Then, by definition of the yield, a mass \(M_{\rm h}\) of surviving halo stars implies that a mass \({\sim} y_{\rm h} M_{\rm h}\) of metals was made and ejected at an early time; of these metals, a mass \(Z_{\rm h} M_{\rm h}\) remains locked in halo stars (where \(Z_{\rm h}\) is their mean metallicity), and the remaining \((y_{\rm h}-Z_{\rm h}) M_{\rm h}\) either fell to the disk or was lost from the Galaxy. suggest on geometrical grounds that about half of those metals were retained by the disk. Now the halo yield, \(y_{\rm h}\), may differ from the disk yield because the IMF for low-mass stars appears to differ between the two regions (Section [2.2.2](#subsubsec:Other IMF){reference-type="ref" reference="subsubsec:Other IMF"}), but for a very rough estimate we can consider \(y_{\rm h} \sim {\rm Z_{\odot}} \gg Z_{\rm h}\). The mass of metals falling on the disk is therefore \({\sim} 0.5 \ {\rm Z_{\odot}} M_{\rm h}\), and the initial metallicity of the disk gas is this quantity divided by the initial disk mass. The appropriate value of \(M_{\rm h}\) is not the mass of halo stars in a local cylinder, but the mass (mostly further out) from which ejected gas would fall to this part of the disk; since the surface density of halo stars is locally only a few percent of the disk value, and it decreases with increasing radius, \(M_{\rm h}\) is probably only a small fraction of the present mass of the disk in the local cylinder. However, the initial disk mass may also have been small. Altogether, it is possible that metals captured from the young halo could have been enough to have enriched the initial disk gas significantly. A value of \(Z_{0} / \rm Z_{\odot} \sim 0.2\) would completely solve the G-dwarf problem, as illustrated above. Early enrichment by halo stars appears as an important effect in the dynamical models for the formation of disk galaxies of, whose chemical evolution has been studied further by. At model radii corresponding to the Sun's position in the Galaxy, \(Z\) reaches about a third of its final value before stars with disk kinematics begin to form, and the initial disk mass in these models is about \(10\%\) of the final value. As a result, the fraction of local stars with \(Z < \rm Z_{\odot} / 3\) is no greater than observed. It may be concluded that the disk in the Solar neighborhood plausibly started with a small fraction of its present mass, in the form of gas that had been significantly enriched by massive stars in the young halo.
### Later metal-poor infall {#subsubsec:Later metal-poor infall}
In the dynamical models just mentioned, the outer disk grows on a timescale of billions of years by accretion of metal-poor gas; star formation occurs on a similar timescale, so the metallicity tends to reach a roughly constant value near the yield, as in the schematic infall model of Section [3.2.2](#subsubsec:balanced system){reference-type="ref" reference="subsubsec:balanced system"}. A significant additional factor, first suggested by, is that the ratio of SFR to infall rate (\(\psi / f\)) is unlikely to remain strictly constant in a realistic picture; its value is more likely to increase as the surrounding gas is used up, as indeed occurs in the dynamical models. An asymptotic relation between \(\psi / f\) and \(Z\) can be derived using the Equations of Section [3.2](#subsec:Approximations){reference-type="ref" reference="subsec:Approximations"} with the instantaneous recycling approximation. Let \[(1-R) \psi = kf, \label{eq:eq4.4}\] where \(k\) is a constant, so Equation ([\[eq:eq3.19\]](#eq:eq3.19){reference-type="ref" reference="eq:eq3.19"}) becomes \[M_{\rm g} = \frac{dZ}{dt} = \left( ky + Z_{\rm f}-Z \right) f. \label{eq:eq4.5}\] According to this Equation, there is an asymptotic value of \(Z\), \[Z \rightarrow ky + Z_{\rm f}, \label{eq:eq4.6}\] so the metal abundance of the gas tends toward a value \(ky\) if \(Z_{\rm f} = 0\). Thus if \(\psi / f\) increases, so does \(Z\), and there is steady enrichment rather than the constant \(Z\) obtained in Section [3.2.2](#subsubsec:balanced system){reference-type="ref" reference="subsubsec:balanced system"}. Examples of this behavior are seen in the numerical models of, in particular in the regions between \({\sim} 7\) and \(15 \: \rm kpc\) which have general properties resembling the Solar neighborhood. The slow increase of \(Z\) leads to a less peaked stellar metallicity distribution than that in the "extreme" infall model shown in Figure [\[fig:fig8\]](#fig:fig8){reference-type="ref" reference="fig:fig8"}.
### Timescales for chemical evolution {#subsubsec:Timescales for chemical evolution}
The original evidence for infall of extragalactic gas was the explanation of the high-velocity clouds of neutral hydrogen, which required an infall rate comparable to the SFR. Further evidence is given by the timescale for star formation to consume the ISM in the Solar neighborhood, as pointed out by: the local surface density of ISM is \({\sim} 8 \: \rm M_{\odot} \ pc^{-2}\) while the SFR is \({\sim} 10 \: \rm M_{\odot} \ pc^{-2} \ Gyr^{-1}\) (Section [2.3.1](#subsubsec:Local SFR){reference-type="ref" reference="subsubsec:Local SFR"}), so the ISM is being used up on a timescale \[\tau_{*} \equiv \frac{M_{\rm g}}{(1-R) \psi} \sim 1 \: \rm Gyr. \label{eq:eq4.7}\] If there is not a source of new gas, flowing in at about the SFR, we must be living very near the end of active star formation in this part of the disk. Various constraints related to interstellar pressure balance and Galactic X-ray emission allow an infall rate up to \({\sim} 1 \: \rm M_{\odot} \ pc^{-2} \ Gyr^{-1}\) in the Solar neighborhood. This is enough to extend the lifetime of the gas against total consumption by only \({\sim} 10\%\), but all of the above estimates are rather uncertain, and it is possible that \(f \sim \psi\) in the Solar neighborhood, so the gas is continually replenished. A related timescale is that for chemical enrichment, which can be written \[\tau_{\rm Z} \equiv \frac{Z}{\left| dZ / dt \right|} = \frac{Z M_{\rm g}}{\left| y(1-R) \psi + \left( Z_{\rm f}-Z \right) f \right|}, \label{eq:eq4.8}\] using Equation ([\[eq:eq3.19\]](#eq:eq3.19){reference-type="ref" reference="eq:eq3.19"}). If infall were negligible, this Equation would give \(\tau_{\rm Z} = \tau_{*} (Z / y) \simeq \tau_{*} \sim 1 \: \rm Gyr\); we would then expect to see \(Z\) increasing on a timescale of \(1 \: \rm Gyr\) now, which is not consistent with the data in Figure [\[fig:fig7\]](#fig:fig7){reference-type="ref" reference="fig:fig7"}. However, if gaseous inflow is occurring at a rate comparable to the SFR, \(\tau_{\rm Z}\) could be much longer. Other processes than infall have been suggested to account for the slow enrichment rate in the Solar neighborhood. For example, various authors beginning with have suggested a time-dependent IMF with a greater yield in the past; thus at present \(Z \gg y\), so \(\tau_{\rm Z} \gg \tau_{*}\). Whatever such additional processes may affect the evolution and distribution of metal abundance, it seems almost inevitable that gas flows related to galaxy formation have a strong influence on chemical evolution. The dynamical models discussed above were designed to reproduce the structural properties of galaxies, so it is significant that they predict both pre-enrichment of the disk gas and later metal-poor infall, which thus appear to be the most natural solutions to the G-dwarf and timescale problems of the Solar neighborhood. From these results, it is to be expected that the chemical evolution of other regions of galaxies is affected by gas flows; examples will be reviewed in Section [5](#sec:Chemical Evolution of Galaxies){reference-type="ref" reference="sec:Chemical Evolution of Galaxies"}.
## Relative Abundances of the Elements {#subsec:Relative Abundances of the Elements}
Relative abundances of elements heavier than helium provide information on both nucleosynthesis and galactic evolution, in a variety of ways that are discussed extensively in the literature (see reviews by [@Audouze1976ChemicalGalaxies.], [@Pagel1978a], and [@Trimble1975TheElements]). Here the emphasis will be on points relevant to galactic evolution.
### Primary elements from different stars {#subsubsec:Primary elements from different stars}
Stars of different masses eject new primary elements in different proportions, so if the ISM is not well mixed we expect to see some variations in relative abundances on the surfaces of unevolved stars. (Variations would arise similarly from any dependence of primary nucleosynthesis on the initial compositions of stars, Section [2.4.5](#subsubsec:Initial composition){reference-type="ref" reference="subsubsec:Initial composition"}). Until recently, most reported variations were within the uncertainties of measurement and analysis, but some trends are now emerging. The relative abundances of carbon, oxygen, and iron (for which the data are reviewed by [@Pagel1978a]) are an interesting example. All unevolved stars with reliable carbon abundances have \(\rm [C / Fe] = 0\) within the errors, i.e. a Solar abundance ratio[^9], but oxygen is systematically overabundant in metal-poor stars, a typical value being \(\rm [O / Fe] = 0.5\) in stars with \(\rm [Fe / H] <-1\). Since these stars have halo kinematics, it appears that the yield of oxygen was relatively high during the early life of the Galaxy. Oxygen is the most abundant element after H and He, so it would be more appropriate to say that the yield of iron (and perhaps carbon) was relatively low. One possible explanation is that the IMF was different, favoring massive stars, which have a higher oxygen/carbon ratio in their ejecta according to current stellar models. Another possibility is that significant fractions of iron and carbon are ejected by stars with such long lives that they die too late to enrich the halo stars. This idea agrees qualitatively with the mass dependence of stellar nucleosynthesis outlined in Section [2.4](#subsec:Beyond MS){reference-type="ref" reference="subsec:Beyond MS"}: carbon stars (and planetary nebulae) with initial masses from \({\sim} 1-8 \: \rm M_{\odot}\) indicate that carbon production takes place partly in very long-lived stars; Type I supernovae, with iron-enriched envelopes, show that iron is ejected at least partly by stars of \(\lesssim 6 \: \rm M_{\odot}\); but there is no evidence for oxygen production outside the massive stars (\(\gtrsim 10 \: \rm M_{\odot}\)) that are theoretically predicted to be its main source. Models showing the effects of nucleosynthesis in stars with such a wide range of lifetimes have been studied by. It is found that systematic variations in relative abundances arise if star formation occurs on timescales less than the lifetime of the least massive star producing significant amounts of an element of interest. For example, iron produced by stars of intermediate mass (\({\sim} 4-6 \: \rm M_{\odot}\)) is underabundant relative to oxygen if stars form on a timescale \({\sim} 10^{8} \: \rm yr\). Even if the whole time for halo formation is several billion years, as indicated by the age spread of globular clusters (Section [1.1](#subsec:Stellar_Populations){reference-type="ref" reference="subsec:Stellar_Populations"}), such variations will appear in halo stars if they were formed in a series of short bursts. A very inhomogeneous protogalaxy, with stars forming in dense lumps, has been suggested on dynamical grounds (Section [1.2](#subsec:Galaxy_Formation){reference-type="ref" reference="subsec:Galaxy_Formation"}), so it is interesting to note how chemical abundances could be affected.
### Secondary elements {#subsubsec:Secondary elements}
Secondary elements are those synthesized from "seed" elements heavier than helium that were already present in the star at birth; some examples have been mentioned in Section [2.4.5](#subsubsec:Initial composition){reference-type="ref" reference="subsubsec:Initial composition"}. The stellar yields of these elements increase with metallicity, so their abundances are expected to increase more rapidly (and to be relatively lower in metal-poor stars) than those of primary elements. As reviewed by, this prediction is borne out qualitatively by relative underabundances of nitrogen and barium in metal-poor stars, but the data are in quantitative disagreement with theoretical models. The canonical prediction for secondary abundances is that they increase as the square of primary abundances, e.g. \(\rm Ba / H \propto (Fe / H)^{2}\) or \(\rm Ba / Fe \propto Fe / H\). This prediction arises, as follows, from the conventional assumption that a star of given mass produces and ejects an amount of secondary element in direct proportion to the star's initial primary seed abundance. Let us consider a secondary element "\(s\)", with primary seed \(Z\), and let \(p_{\rm sm}\) be the mass of new \(s\) ejected by a star of mass \(m\) with initial metallicity \(\rm Z_{\odot}\); with another initial metallicity \(Z\), the amount of new \(s\) ejected is \(p_{\rm sm} (Z / \rm Z_{\odot})\). Thus the expression like ([\[eq:eq3.8\]](#eq:eq3.8){reference-type="ref" reference="eq:eq3.8"}) for the rate of ejection of new \(s\) is \[\int_{m_{\rm t}}^{\infty} mp_{\rm sm} \frac{Z \left( t-\tau_{\rm m} \right)}{\rm Z_{\odot}} \psi \left( t-\tau_{\rm m} \right) \phi(m) \ dm. \label{eq:eq4.9}\] The instantaneous recycling approximation to this expression can be written \(y_{\rm s} (Z / {\rm Z_{\odot}}) (1-R) \psi\), where \(Z\) and \(\psi\) are current values. The equation analogous to ([\[eq:eq3.19\]](#eq:eq3.19){reference-type="ref" reference="eq:eq3.19"}) for the abundance \(X_{\rm s}\) of \(s\) is therefore \[M_{\rm g} \frac{dX_{\rm s}}{dt} = y_{\rm s} \left( \frac{Z}{\rm Z_{\odot}} \right) (1-R) \psi + \left( X_{\rm sf}-X_{\rm s} \right) f. \label{eq:eq4.10}\] In the simple model of Section [3.2.1](#subsubsec:closed system){reference-type="ref" reference="subsubsec:closed system"}, the equation analogous to ([\[eq:eq3.22\]](#eq:eq3.22){reference-type="ref" reference="eq:eq3.22"}) is \[M_{\rm g} \frac{dX_{\rm s}}{dM_{\rm g}} =-y_{\rm s} \left( \frac{Z}{\rm Z_{\odot}} \right). \label{eq:eq4.11}\] Now \(Z\) is given by Equation ([\[eq:eq3.23\]](#eq:eq3.23){reference-type="ref" reference="eq:eq3.23"}), so ([\[eq:eq4.11\]](#eq:eq4.11){reference-type="ref" reference="eq:eq4.11"}) can be solved for \(X_{\rm s}\), with the result \[X_{\rm s} = \frac{1}{2} \left( \frac{y_{\rm s}}{y \rm Z_{\odot}} \right) Z^{2}, \label{eq:eq4.12}\] which is the canonical prediction \(X_{\rm s} \propto Z^{2}\) mentioned above. Since Solar abundances are near the mean disk values, they must also be approximately the yield values, so the prediction is equivalent to \(X_{\rm s} / Z \propto Z\) with a zero-point near the Solar values. Stellar nitrogen and barium abundances are plotted in Figure [\[fig:fig9\]](#fig:fig9){reference-type="ref" reference="fig:fig9"}, where the canonical relation would correspond in each case to the straight line at \(45^{\circ}\) through about the Solar values (zeros in the logarithmic notation). It can be seen that the nitrogen abundances scatter greatly about the predicted relation, mainly exceeding the predicted value in metal-poor stars; and barium abundances are almost all greater than predicted, no matter where one places this zero-point among the data for stars near Solar composition. What is wrong? There is a logical flaw in making predictions with the simple model because it is known to be untenable on account of the stellar metallicity distributions (Section [4.2](#subsec:G-Dwarf){reference-type="ref" reference="subsec:G-Dwarf"}); furthermore, instantaneous recycling may be a bad approximation for secondary elements that are made in red giants down to initial masses \({\sim} 1 \: \rm M_{\odot}\). Plausible modifications to the above theory lead to no better agreement, however, as the following examples show.
1. Numerical calculations allowing for delayed ejection by long-lived stars make the situation worse, because they predict even smaller secondary abundances in the most metal-poor stars.
2. Infall makes the situation even worse, because it predicts a steeper rise than \(X_{\rm s} / Z \propto Z^{2}\) at the metal-rich end.
The latter result can be derived simply in the extreme infall model of Section [3.2.2](#subsubsec:balanced system){reference-type="ref" reference="subsubsec:balanced system"}. Use of Equation ([\[eq:eq4.10\]](#eq:eq4.10){reference-type="ref" reference="eq:eq4.10"}), with \(X_{\rm sf} = 0\) and ([\[eq:eq3.28\]](#eq:eq3.28){reference-type="ref" reference="eq:eq3.28"}) for \(Z\), leads to a result analogous to ([\[eq:eq3.28\]](#eq:eq3.28){reference-type="ref" reference="eq:eq3.28"}), \[X_{\rm s} = \frac{y_{\rm s} y}{\rm Z_{\odot}} \left( 1-e^{-\nu}-\nu e^{-\nu} \right). \label{eq:eq4.13}\] This formula reduces to Equation ([\[eq:eq4.12\]](#eq:eq4.12){reference-type="ref" reference="eq:eq4.12"}) in the limit of low abundances, but its asymptotic limit, \(X_{\rm s} \rightarrow y_{\rm s} y / \rm Z_{\odot}\), is twice the value obtained by extrapolating ([\[eq:eq4.12\]](#eq:eq4.12){reference-type="ref" reference="eq:eq4.12"}) to the asymptotic value \(Z \rightarrow y\). Thus a plot of \(X_{\rm s} / Z\) versus \(Z\) for this model would have a slope of \(45^{\circ}\) at first, but would become steeper at the top, obviously in disagreement with the data in Figure [\[fig:fig9\]](#fig:fig9){reference-type="ref" reference="fig:fig9"}. From these results, it appears that the problem in Figure [\[fig:fig9\]](#fig:fig9){reference-type="ref" reference="fig:fig9"} is not due to a simplistic choice of model for chemical evolution, but to wrong assumptions about nucleosynthesis. For nitrogen, it has often been suggested that a primary source of nucleosynthesis could contribute significantly, and this component of the nitrogen abundance would make the ratio \(\rm N / Fe\) more nearly constant. A possible scenario for primary nitrogen production is that some carbon produced by helium burning in stars of intermediate mass gets mixed into the hydrogen-burning shell region and there converted to nitrogen; the models in illustrate this possibility. Nitrogen abundances in [H ii]{.smallcaps} regions, in our own and other galaxies, show a scatter similar to the stellar data, and primary production has again been proposed as an explanation. For barium there is no obvious solution to the discrepancy in Figure [\[fig:fig9\]](#fig:fig9){reference-type="ref" reference="fig:fig9"}, since a primary source is unlikely in terms of nuclear physics. The calculations of stellar structure and nucleosynthesis used to predict barium production are so complicated that results for Solar initial metallicities cannot be extrapolated to others; it is therefore likely that the conventional assumption, that production scales directly with the initial \(\rm Fe / H\) of a star of given mass, is wrong. Other aspects of secondary nucleosynthesis relevant to galactic evolution are discussed in the references cited at the beginning of Section [4.4](#subsec:Relative Abundances of the Elements){reference-type="ref" reference="subsec:Relative Abundances of the Elements"} and in the proceedings of a meeting on CNO isotopes in astrophysics.
### Radioactive elements {#subsubsec:Radioactive elements}
The field of nucleochronology (or cosmochronology or nucleo-cosmochronology) uses meteoritic abundances of the decay products of certain radioactive elements to derive information on the age distribution of elements in the early Solar System. This information is relevant to the rates of star formation and nucleosynthesis before the Sun formed, and to the age of the Galaxy. Nucleochronology has been reviewed recently by, , and, and its relevance to galactic evolution is discussed further by, , and in other papers referenced below. Some general principles will be outlined here. Let us consider the abundance \(X_{\rm i}\) of a radioactive nuclide with decay constant \(\lambda_{\rm i}\) and net yield \(y_{\rm i}\). The equations of chemical evolution must be modified to allow for decay in the ISM and in stellar envelopes; the equation analogous to ([\[eq:eq3.7\]](#eq:eq3.7){reference-type="ref" reference="eq:eq3.7"}) is \[\frac{d X_{\rm i} M_{\rm g}}{dt} =-X_{\rm i} \psi + E_{\rm i} + X_{\rm if} f-\lambda_{\rm i} X_{\rm i} M_{\rm g}, \label{eq:eq4.14}\] where \(E_{\rm i}\) is given, analogously to Equation ([\[eq:eq3.9\]](#eq:eq3.9){reference-type="ref" reference="eq:eq3.9"}), by \[\begin{medsize} E_{\rm i}(t) = \int\limits_{m_{\rm t}}^{\infty} \left[ \left( m-w_{\rm m}-m p_{\rm im} \right) X_{\rm i} \left( t-\tau_{\rm m} \right) e^{-\lambda_{\rm i} \tau_{\rm m}} + m p_{\rm im} \right] \psi \left( t-\tau_{\rm m} \right) \phi(m) \ dm. \label{eq:eq4.15} \end{medsize}\] The decay timescale, \(\lambda_{\rm i}^{-1}\), is of course independent of the system's timescales for star formation and infall, so straightforward analytical solutions for \(X_{\rm i}\) are possible only in special cases, even if instantaneous recycling is used. In fact, the long-lived radioactive elements are useful just *because* their abundances are sensitive to evolutionary details (such as the past SFR and the age) that cancel in the instantaneous recycling approximation and hardly affect other abundance parameters in detailed models. The simplest situation would be if all the elements formed in an initial burst. Then their decay in the ISM and stellar envelopes would lead to abundances at time \(t\) given by \(X_{\rm i}(t) = X_{\rm i0} \exp(-\lambda_{\rm i} t)\), where \(X_{\rm i0}\) is the initial abundance and is proportional to the amount of element \(i\) made, i.e. to its yield \(y_{\rm i}\). In particular, at the time \(T\) when the Solar System formed, two such elements would have an abundance ratio \[\frac{X_{\rm i}(T)}{X_{\rm j}(T)} = \frac{X_{\rm i0}}{X_{\rm j0}} \exp \left[-\left( \lambda_{\rm i}-\lambda_{\rm j} \right) T \right], \label{eq:eq4.16}\] where \(X_{\rm i0} / X_{\rm j0} = y_{\rm i} / y_{\rm j}\). The value of \(T\) could in this case be found by substituting into Equation ([\[eq:eq4.16\]](#eq:eq4.16){reference-type="ref" reference="eq:eq4.16"}) the yield ratio (given by nucleosynthesis theory) and the abundance ratio in the early Solar System (obtained from the abundances of decay products in meteorites). The age of the Galaxy, which is simply \(T\) plus the age of the Sun, could then be determined. Of course, the elements were probably synthesized continually during the period \(T\) from first star formation in the Galaxy until the Solar System condensed, so Equation ([\[eq:eq4.16\]](#eq:eq4.16){reference-type="ref" reference="eq:eq4.16"}) is unrealistic. As first shown by, one can define a useful age parameter, here denoted \(T_{\rm ij}\), analogously to the solution of ([\[eq:eq4.16\]](#eq:eq4.16){reference-type="ref" reference="eq:eq4.16"}) for \(T\): \[T_{\rm ij} \equiv \frac{1}{\lambda_{\rm i}-\lambda_{\rm j}} \ln \left[ \frac{y_{\rm i} / y_{\rm j}}{X_{\rm i}(T) / X_{\rm j} (T)} \right], \label{eq:eq4.17}\] which can, in principle, be evaluated from meteoritic and nuclear data independently of Galactic evolution. In the limit of long-lived elements, (\(\lambda_{\rm i} T \ll 1, \: \lambda_{\rm j} T \ll 1\)), \(T_{\rm ij}\) is just the mean age of elements in the gas, \(T_{Z}\), at the time when the Solar System formed. The relation between the mean age (\(T_{Z}\)) and the elapsed time (\(T\)) is model-dependent, so estimates of \(T_{\rm ij}\) for long-lived pairs of elements do not give \(T\) directly. Different possibilities include the following.
1. If essentially all nucleosynthesis of the relevant elements took place in an initial burst, then \(T = T_{Z}\).
2. The simple model for chemical evolution gives the intuitive result that the mean age is half the elapsed time, \(T_{Z} = T / 2\); however, because this model is discrepant with stellar metallicities, one cannot assume that \(T\) is given simply by \(2 T_{Z}\) in reality.
3. In extreme infall models, the ISM and heavy elements in it have a mean age \({\sim} M_{\rm g} / f\) at all times greater than \(M_{\rm g} / f\); so if chemical evolution in the disk was strongly affected by infall before the Solar System formed, the value of \(T_{Z}\) obtained from meteoritic abundances may reflect only the timescale for infall, independently of the age \(T\).
4. There are consistent models for the Solar neighborhood, with some infall and/or some early enrichment, that have values of \(T_{Z} \simeq T / 2\) (as emphasized by [@Hainebach1977CommentsNucleocosmochronology]), but since not all plausible models have this relation it cannot be used confidently (as emphasized by [@Tinsley1977b]).
In summary, there is a large uncertainty in any age estimate of the Galaxy derived from nucleochronology, except of course that the age of the Solar System is a reliable lower limit! The initial Solar System abundances of short-lived radioactive elements are sensitive to rates of nucleosynthesis at times immediately preceding the solidification of the meteorites. Their abundances suggest that the nucleosynthesis of most elements ceased \({\sim} 10^{8} \: \rm yr\) before the solidification time, but some material was produced only \({\sim} 10^{6} \: \rm yr\) earlier. Interpretations of these timescales include passage of the pre-Solar material through spiral arms at \(10^{8}\)-yr intervals; enrichment by fresh supernova ejecta each \(10^{6} \: \rm yr\), which could result from the average supernova rate in the Solar neighborhood; a last-minute supernova that triggered the formation of the Solar System; and locking of radioactive elements, with their decay products, into grains long before the Solar System formed. These possibilities are reviewed briefly by, and discussed in detail by several authors in a conference proceedings edited by. As yet there is no consensus on the interpretation of short-lived radioactivities in the early Solar System, but ultimately they should provide valuable information on star formation and interstellar chemistry.
# Chemical Evolution of Galaxies {#sec:Chemical Evolution of Galaxies}
For other galaxies, and for regions of our own outside the Solar neighborhood, there is much less detailed information on abundance distributions, but there are some striking trends that call for explanations involving the formation and later dynamical evolution of galaxies. A few relevant properties have been mentioned in Section [1.1](#subsec:Stellar_Populations){reference-type="ref" reference="subsec:Stellar_Populations"}, and now further details will be described and some of the theoretical models reviewed. Other general reviews of this subject include those by, , and.
## Outline of Relevant Data {#subsec:Data2}
Abundances are very often found to decrease outward in galaxies: gradients have been observed in the [H ii]{.smallcaps} regions of disks, in disk stars, and in the stars of spheroidal systems including elliptical galaxies and the bulge-halo components of spirals. In the Galactic disk, [H ii]{.smallcaps} regions within a few kpc of the Sun have an average gradient \(d {\rm [O / H]} / dr \simeq-0.1 \: \rm kpc^{-1}\) (where \(r\) is the galactocentric distance), while stars of intermediate age have a gradient \(d {\rm [Fe / H]} / dr \simeq-0.05 \: \rm kpc^{-1}\); an open cluster about \(10 \: \rm kpc\) from the Sun in the anticenter direction, of age only \(\lesssim 10^{8} \: \rm yr\), is apparently as metal-poor as \(\rm [Fe / H] <-1\). (Oxygen and iron abundances are quoted for the ISM and stars, respectively, because these are the best observed elements). The uncertainties are such that the apparent age dependence of the gradient may or may not be real. These data are reviewed by, , and. [H ii]{.smallcaps} regions in external galaxies generally show gradients of a similar magnitude (e.g. [@Smith1975SpectrophotometricGalaxies; @Shields1978TheM101]; and references therein). However, only a marginal gradient appears in the Large Magellanic Cloud and none in the Small Cloud. The most obvious explanation for these gradients would be that the outer regions of disks are less chemically evolved than the inner regions, in the sense of having converted a smaller fraction of their gas to stars. The simple model, for example, would predict a \(Z\) gradient given by \(Z = y \ln \ \mu^{-1}\) arising from a gradient in the gas fraction \(\mu\) (Section [3.2.1](#subsubsec:closed system){reference-type="ref" reference="subsubsec:closed system"}). However, the best studied galaxies (the Milky Way and M101) probably do not have a sufficient gradient in \(\mu\) for this explanation to suffice. found that the combined surface densities of atomic and molecular hydrogen lead to a nearly constant gas fraction (\(\mu \sim 0.05\)) at \(R > 4 \: \rm kpc\) in the Galaxy, and noted a similar problem in M101. The amount of ISM interior to the Sun could be overestimated, since the \(\rm H_{2}\) density is derived from observations of CO molecules on the assumption of a constant abundance ratio \(\rm CO / H_{2}\); if in fact \(\rm CO / H_{2}\) increases inward because of a \(\rm C / H\) abundance gradient, then there is less \(\rm H_{2}\) than had been thought at small radii. With this correction, the Galaxy probably has some gradient in \(\mu\), which could account in part for the interstellar composition gradient. Of course, the simple model is known to be invalid in the Solar neighborhood, so we do not expect the formula \(Z = y \ln \ \mu^{-1}\) to explain gradients in detail. Other ways of generating gradients will be mentioned in Section [5.5](#subsec:Abundance Gradients in Disks){reference-type="ref" reference="subsec:Abundance Gradients in Disks"}. The Galactic halo stars also have a metallicity gradient. Studies of individual stars in globular clusters show that a spread of metallicities of \(\rm [Fe / H] \sim-2\) to \(0\) occurs in the innermost \(5 \: \rm kpc\) (measured from the Galactic center, at any angle to the disk), while the upper limit drops to \({\sim} {-1}\) at greater radii. It is not clear whether a systematic decline in iron and/or CNO abundances persists further out. Many elliptical and S0 galaxies have gradients of integrated colors and line strengths in their spectra that are best interpreted as composition gradients. The same quantities also vary systematically with the absolute magnitudes of E and S0 galaxies, as illustrated in Figure [\[fig:fig10\]](#fig:fig10){reference-type="ref" reference="fig:fig10"}, indicating that the brighter galaxies are more metal-rich. A thorough review of this subject is given by. The analysis and calibration of abundance effects in the integrated light of a galaxy are much more complicated than for individual stars, because line strengths are strongly affected by the mixture of stellar temperatures and luminosities, and because the whole population in the HR diagram is shifted by effects of metallicity on the interiors and atmospheres of stars (Section [2.4.5](#subsubsec:Initial composition){reference-type="ref" reference="subsubsec:Initial composition"}). Until recently, it was not clear whether all elements heavier than helium enter the composition trends in E and S0 galaxies, or whether a few with strong spectral features (N, Mg, Na), are mainly responsible. has now made a detailed observational study of some lines of Ca, Na, Mg, and Fe, together with approximate theoretical predictions of how their strengths should vary with the composition of a population of stars; she finds no evidence against the abundances of all of these elements varying in the same proportions. The color--magnitude relation for elliptical galaxies is linear over a wide range of metallicities (Figure [\[fig:fig10\]](#fig:fig10){reference-type="ref" reference="fig:fig10"}), which suggests a power-law relation between metallicity and luminosity. A tentative calibration, subject to revision when both the data and the theoretical color--metallicity relation are more secure, is \[Z_{\rm s} \propto L_{\rm B}^{0.3} \label{eq:eq5.1}\], where \(Z_{\rm s}\) is the average metallicity of stars in an elliptical galaxy of blue luminosity \(L_{\rm B}\). This relation was derived by from population models differing only in metallicity, so that the stars in all cases had the same IMF and age (as outlined in Section [6.1.2](#subsubsec:Evolutionary models){reference-type="ref" reference="subsubsec:Evolutionary models"}). Such models also predict that the mass-to-luminosity ratio should depend on metallicity, yielding a relation \(M_{\rm s} / L_{\rm B} \propto L_{\rm B}^{0.13}\). A relation very similar to this has been obtained observationally by for the cores of elliptical galaxies. Equation ([\[eq:eq5.1\]](#eq:eq5.1){reference-type="ref" reference="eq:eq5.1"}) therefore corresponds to a tentative metallicity--mass relation, \[Z_{\rm s} \propto M_{\rm s}^{0.25}, \label{eq:eq5.2}\] where \(M_{\rm s}\) is the mass of stars (not any extended hidden halo material), and the main uncertainties in the exponent are due to the color--magnitude data and to the color--metallicity calibration. There is some evidence that the color--magnitude relation levels off at the magnitudes of the brightest cluster galaxies, as can be seen, for example, from the brightest few points in Figure [\[fig:fig10\]](#fig:fig10){reference-type="ref" reference="fig:fig10"}. Heavy elements have been detected in intergalactic gas, and since these elements almost certainly come from galactic stars they are relevant to the chemical evolution of galaxies. A feature due to iron has been observed in the diffuse X-ray emission spectra of several rich clusters of galaxies; the interpretation is that these clusters contain hot gas (\({\sim} 10^{8} \: \rm K\)), emitting by thermal Bremsstrahlung, with approximately Solar abundances of iron. The mass of intergalactic gas inferred from the data is model-dependent, and is roughly between 1 and 30 times the total luminosity of cluster galaxies, in solar units. Now the mass of stars in galaxies is \({\sim} 10\) times their total luminosity, in solar units[^10], and their average metallicity is approximately Solar, so the intergalactic medium (IGM) in the rich clusters apparently contains about the same total mass of iron as do the stars themselves. These observations suggest that galaxies sometimes lose enough metal-rich gas to affect their own chemical evolution substantially. Another striking observation of metal-rich IGM is absorption due to Ca and Mg in the spectrum of a quasar (3C 232) lying \(1.9^{\prime}\) on the sky from a foreground spiral galaxy (NGC 3067); the absorption redshift matches that of the galaxy, and neutral hydrogen absorption has been detected at the same redshift in the radio spectrum of the quasar. The line strengths and positions of the objects imply that there is gas with roughly Solar abundances at least \(17 \: \rm kpc\) from the center of the galaxy.
## Abundance Gradients in Spheroidal Systems {#subsec:Abundance Gradients in Spheroidal Systems}
Most stars in elliptical galaxies and in the bulge-halo components of spirals were probably formed within a few times \(10^{9} \: \rm yr\) at a time \({\sim} 10^{10} \: \rm yr\) ago. The abundance gradients in these systems therefore reflect processes occurring during the time of star formation in a protogalaxy; several such processes have been suggested as possible causes of gradients.
### Dissipative collapse {#subsubsec:Dissipative collapse}
The most extensive models exploring the effects of star formation during the collapse of an initially gaseous protogalaxy are those reviewed by. In the spheroidal components of model disk galaxies, and in model ellipticals, star formation becomes increasingly concentrated toward the center as the density builds up. This effect is illustrated in Figure [\[fig:fig11\]](#fig:fig11){reference-type="ref" reference="fig:fig11"} (a), which shows the SFR as a function of time at several radii in a spherical collapse model. Stars formed at a given radius remain in orbits with little net inward motion, but the gas sinks further in because it is dissipative (i.e., its kinetic energy of radial motion is partly lost via collisionally induced radiation). Thus the metals ejected by evolving stars are carried inward by the gas, and an abundance gradient develops in the gas. As stars continue to form, their compositions reflect this gaseous abundance gradient. Figure [\[fig:fig11\]](#fig:fig11){reference-type="ref" reference="fig:fig11"} (b) shows the evolution of metallicity of newly formed stars (i.e., \(Z\) of the gas) at several radii in a spherical model, and the rapid development of a gradient is clear. The same process of dissipation produces a central concentration in the gas density, which leads to a condensed nucleus of stars. If there were no dissipation, the stars and gas would collapse together and the metals would not be concentrated inward. Thus in the outer parts of some of these models, where the protogalactic density is too low for dissipation to be effective, no stellar abundance gradient appears. The possible lack of a gradient in metallicities of globular clusters beyond \({\sim} 10 \: \rm kpc\) from the Galactic center has therefore been interpreted as showing that the collapse of the Galaxy began with the stars and gas in free-fall; conversely, the gradient at smaller radii is interpreted as showing the effects of dissipation at a later stage of the collapse.
### A gradient in the IMF {#subsubsec:A gradient in the IMF}
Aside from any effects of gas flows, negative metallicity gradients could be produced by gradients in the IMF that led to a yield decreasing outward. Since the yield (Equation [\[eq:eq3.12\]](#eq:eq3.12){reference-type="ref" reference="eq:eq3.12"}) depends on the relative numbers of metal-producing stars, possibilities would be a steeper slope for massive stars or more low-mass "inert" stars, at larger radii. In the latter case, the stars that survive to the present would still have a radial gradient in their mass function, with an interesting consequence: most of the luminosity of an old population of stars comes from dwarfs near the MS turnoff and evolving giants, while most of the mass is in less massive objects that contribute little light; thus the \(M / L\) ratio increases with the proportion of very low-mass stars, and the postulated gradient in the IMF would lead to an outward increase of \(M / L\). Such a trend is indeed observed, although it is sometimes ascribed to an extended "halo" of non-stellar condensed objects that formed too soon to affect chemical evolution (Section [2.2.2](#subsubsec:Other IMF){reference-type="ref" reference="subsubsec:Other IMF"}). has suggested that the IMF tends to have more massive stars in regions of high density, and this view of the origin of metallicity gradients is part of his evidence. The hypothesis of a gradient in the IMF in spheroidal systems has no convincing theoretical basis, and the trends it would explain can arise in other ways, but nevertheless systematic variations in the IMF could be as important as they are hard to verify.
### Finite stellar lifetimes {#subsubsec:Finite stellar lifetimes}
The timescale for star formation in a protogalaxy could be comparable to the lifetimes of some metal-producing stars, in which case stars formed early would be relatively unenriched. Thus if the outermost stars formed before most of the central ones, there would be a negative metallicity gradient. In the models in Section [5.2.1](#subsubsec:Dissipative collapse){reference-type="ref" reference="subsubsec:Dissipative collapse"} it is assumed that all metals are produced by stars with lifetimes \(< 3 \times 10^{7} \: \rm yr\), so this effect is negligible; but iron production by Type I supernovae could in fact be significant on longer timescales (Section [2.4.4](#subsubsec:Intermediate mass){reference-type="ref" reference="subsubsec:Intermediate mass"}). What timescales are relevant? The minimal collapse time for a protogalaxy is the free-fall time, \[t_{\rm ff} = 1.7 \times 10^{6} \left( \frac{M}{10^{11} \: \rm M_{\odot}} \right)^{-\frac{1}{2}} \left( \frac{R}{1 \: \rm kpc} \right)^{\frac{3}{2}} \: \rm yr, \label{eq:eq5.3}\] where \(M\) and \(R\) are the mass and radius. For example, a galaxy with \(M = 2 \times 10^{11} \: \rm M_{\odot}\) and \(R = 15 \: \rm kpc\) has \(t_{\rm ff} = 7 \times 10^{7} \: \rm yr\); and a protogalaxy of the same mass collapsing from \(R = 50 \: \rm kpc\) has \(t_{\rm ff} = 4 \times 10^{8} \: \rm yr\). Much longer timescales for star formation are possible if the dissipation is slow, and the collapse time of the system can be much longer if its boundary initially expands with the Universe. At least the outer parts of large galaxies could therefore be metal-poor partly because of the finite lifetimes of metal-producing stars. A potential test is to look for variations in relative abundances. For example, if oxygen comes only from very massive stars but iron comes partly from stars of intermediate mass (Section [2.4](#subsec:Beyond MS){reference-type="ref" reference="subsec:Beyond MS"}; Section [4.4.1](#subsubsec:Primary elements from different stars){reference-type="ref" reference="subsubsec:Primary elements from different stars"}), then iron should be more deficient than oxygen in the outermost stars. The hypothesis of a gradient in the IMF of massive stars would predict the opposite trend in relative abundances. Current data do not detect any gradients in relative abundances, but oxygen itself has not been studied and nor have the faint outer regions of elliptical galaxies. It is quite possible that all of the processes discussed above were effective in producing abundance gradients in spheroidal systems, so clear choices among the theories are not to be expected.
## The Metallicity--Mass Relation for Elliptical Galaxies {#subsec:The Metallicity--Mass Relation for Elliptical Galaxies}
The correlation between metallicity and mass (color and luminosity) of elliptical galaxies has been explained in several ways, of which two will be reviewed here. These each involve dynamical effects during galaxy formation, resulting in less complete conversion of the protogalactic gas to stars, and so to a smaller final mean stellar metallicity, in smaller systems. One could, of course, invoke differences in the IMFs of galaxies as a function of their mass, but there is no independent evidence for a trend of the required form.
### Supernova-driven winds {#subsubsec:Supernova-driven winds}
Star formation and chemical enrichment are cut off in a protogalaxy if the residual gas is lost, and a possible loss mechanism is a galactic wind energized by supernova explosions. Galactic winds were first analyzed for a steady-state case by and; similar analyses have been made for nuclear bulges of spirals by and for bulge-disk systems by. A galaxy sustains a steady-state wind if the supernova rate divided by the rate of supply of gas (from evolving stars) gives the gas enough energy to escape from the galactic potential well. For protogalaxies, we are interested not in the steady state, but in conditions for the initiation of a wind that can remove essentially all of the residual gas. discussed possible effects of supernovae in heating the gas, and adopted a simple approximation as the condition for its removal: the residual gas is assumed to be lost suddenly when the total heat input from supernovae has provided the gas with the escape energy, assuming uniform conditions throughout the protogalaxy. This approximation is plausible enough to suggest how the loss condition scales with the relevant parameters, but there are unavoidably large uncertainties in the astrophysics involved so the results are not very secure. The scaling can be derived as follows. Let \(E\) be the thermal energy imparted to the ISM by supernovae when a unit mass of stars is formed; \(E\) is proportional to the fraction of stars that become supernovae, to the mean kinetic energy of material ejected in a supernova explosion, and to the efficiency with which this energy is transferred to the ISM as heat. (The last factor is the most uncertain). As an approximation, let \(E\) be treated as a constant, despite finite stellar lifetimes and complicated effects of the clumpiness of the ISM, its chemical composition, etc. Let us consider a spherical protogalaxy of mass \(M\) that has formed a mass \(M_{\rm s}\) of stars and has residual gas mass \(M_{\rm g} = M-M_{\rm s}\). The condition for gas to escape can be written \[\rm Potential \: energy \: of \: gas = Energy \: from \: supernovae, \label{eq:eq5.energy}\] i.e, \[K \frac{GMM_{\rm g}}{R} = EM_{\rm s}, \label{eq:eq5.4}\] where \(K\) depends on the density distribution in the galaxy and will be assumed constant as another simplification. Large elliptical galaxies are observed to be more tightly bound than small ones, so a greater fraction of their gas must be converted to stars before the condition ([\[eq:eq5.4\]](#eq:eq5.4){reference-type="ref" reference="eq:eq5.4"}) is satisfied; therefore, their surviving stars have a greater mean metallicity. Other consequences of this scenario are that the more massive galaxies collapse more extensively before star formation is cut off, so they are predicted to have more condensed nuclei and steeper metallicity gradients than smaller galaxies (Section [5.2.1](#subsubsec:Dissipative collapse){reference-type="ref" reference="subsubsec:Dissipative collapse"}). These trends are observed, lending support to this type of origin for the increase of metallicity with mass. The form of the metallicity--mass relation can be accounted for using the same approximate model. Let the initial mass--radius relation for protogalaxies have the form \[M \propto R^{\alpha}, \label{eq:eq5.5}\] so Equation ([\[eq:eq5.4\]](#eq:eq5.4){reference-type="ref" reference="eq:eq5.4"}) can be written \[M^{1-\frac{1}{\alpha}} \left( M-M_{\rm s} \right) \propto M_{\rm s}. \label{eq:eq5.6}\] Asymptotic equations for the mean metallicity of stars can be derived from very general considerations: the mass of metals synthesized and ejected is \(yM_{\rm s}\), so at early stages of evolution when \(M \simeq M_{\rm g}\), we have approximately \[Z_{\rm s} \propto \frac{yM_{\rm s}}{M_{\rm g}} \simeq \frac{yM_{\rm s}}{M}, \: \: \left( Z_{\rm s} \ll y \right). \label{eq:eq5.7}\] At late stages, Equation ([\[eq:eq3.21\]](#eq:eq3.21){reference-type="ref" reference="eq:eq3.21"}) predicts that in all cases where mass is conserved, \[Z_{\rm s} \rightarrow y, \: \: {\rm as} \: \: M_{\rm s} \rightarrow M. \label{eq:eq5.8}\] The results from numerical collapse models verify these relations in cases of interest here. Substituting Equation ([\[eq:eq5.7\]](#eq:eq5.7){reference-type="ref" reference="eq:eq5.7"}) into ([\[eq:eq5.6\]](#eq:eq5.6){reference-type="ref" reference="eq:eq5.6"}), we find the stellar metallicity--mass relation, \[Z_{\rm s} \propto M_{\rm s}^{\frac{\alpha-1}{2 \alpha-1}}, \: \: \left( Z_{\rm s} \ll y \right). \label{eq:eq5.9}\] The tentative empirical relation ([\[eq:eq5.2\]](#eq:eq5.2){reference-type="ref" reference="eq:eq5.2"}) is obtained if \(\alpha = 1.5\), which agrees fairly well with the observed mass--radius relation for elliptical galaxies if one considers how the stellar system must swell (to conserve energy) when the gas is lost. According to Equation ([\[eq:eq5.8\]](#eq:eq5.8){reference-type="ref" reference="eq:eq5.8"}), the power-law relation between \(Z_{\rm s}\) and \(M_{\rm s}\) must level off at large masses, with \(Z_{\rm s} \rightarrow y\) in the limit when essentially all the original material is converted to stars; this behavior agrees with the levelling of the color--magnitude relation at the magnitudes of the brightest cluster galaxies. The critical parameter \(E\) can plausibly have a value that would give the right scale for the \(Z_{\rm s}\)--\(M_{\rm s}\) relation, but its value is very uncertain so the success of this theory must be considered tentative. The interaction between supernovae and the ISM could, in fact, be so weak as to drive a wind in only the very smallest protogalaxies.
### Bursts of star formation in merging subsystems {#subsubsec:Bursts of star formation in merging subsystems}
Since the largest elliptical galaxies are the most metal-rich, a natural hypothesis is that chemical enrichment accompanied the *growth* of galaxies by successive mergers among small subsystems. As noted in Section [1.2](#subsec:Galaxy_Formation){reference-type="ref" reference="subsec:Galaxy_Formation"}, gaseous protogalaxies probably consisted of many dense lumps, so it is only a change of viewpoint to consider these as merging subsystems rather than as a collapsing unit. Moreover, extrapolations backward in time from the incidence of strongly interacting galaxies in sight today suggest that collisions and coalescence were common processes in the early lives of galaxies. A property of colliding galaxies most relevant to chemical evolution is that they often appear to be undergoing intense bursts of star formation induced by the dynamical disturbance (Section [7.2](#subsec:Colors of Peculiar Galaxies){reference-type="ref" reference="subsec:Colors of Peculiar Galaxies"}), so it is reasonable to assume that star formation was caused in the past by coalescence of subsystems in a protogalaxy. A qualitative model of chemical enrichment by this process has been proposed by: elliptical galaxies form by a hierarchical sequence of mergers among subsystems, starting from small unenriched gas clouds; a burst of star formation occurs at each merger, so at each stage of growth the fraction of the total mass in stars increases and the mean metallicities of stars and gas increase. In this picture, the final mass of an elliptical galaxy is determined by the total mass of the small pieces initially present in its surroundings. When these have all been mopped up, efficient star formation stops. Any residual gas may get swept away if the system is moving through an ambient IGM, or possibly blown out in a wind; if it remains bound to the system, it could settle to a disk and leave the "elliptical galaxy" as the central bulge of a spiral. The resulting \(Z_{\rm s}\)--\(M_{\rm s}\) relation depends on the *efficiency* of star formation as a function of the mass of the system (i.e., the system that has been built after a given number of mergers), where efficiency is defined as the mass of stars formed (in a given burst) per unit mass of gas. An approximately power-law relation between \(Z_{\rm s}\) and \(M_{\rm s}\) can be obtained only if the efficiency increases with the total mass of the system, i.e., with successive mergers. For example, a relation \[{\rm Efficiency \: of \: star \: formation \propto (Total \: mass)}^{p}, \label{eq:eq5.10}\] where \(p\) is a constant, leads to \[Z_{\rm s} \propto M_{\rm s}^{\frac{p}{1 + p}}, \: \: \left(Z_{\rm s} \ll y \right), \label{eq:eq5.11}\] with the usual limit \(Z_{\rm s} \rightarrow y\) when all the gas is consumed. The relation ([\[eq:eq5.10\]](#eq:eq5.10){reference-type="ref" reference="eq:eq5.10"}) can be justified qualitatively by considerations of gas compression during collisions and mergers of subsystems. To reproduce the tentative empirical relation ([\[eq:eq5.2\]](#eq:eq5.2){reference-type="ref" reference="eq:eq5.2"}), Equation ([\[eq:eq5.11\]](#eq:eq5.11){reference-type="ref" reference="eq:eq5.11"}) needs \(p = 1/3\), which is consistent with the compression arguments. Equation ([\[eq:eq5.11\]](#eq:eq5.11){reference-type="ref" reference="eq:eq5.11"}) results from ([\[eq:eq5.10\]](#eq:eq5.10){reference-type="ref" reference="eq:eq5.10"}) independently of such details as the mass distribution of merging pieces, and it can be understood as follows: Equation ([\[eq:eq5.7\]](#eq:eq5.7){reference-type="ref" reference="eq:eq5.7"}) is true in any models with mass conservation (including here conservation of the total mass of merging pieces), while Equation ([\[eq:eq5.10\]](#eq:eq5.10){reference-type="ref" reference="eq:eq5.10"}) gives, dimensionally, \[\frac{M_{\rm s}}{M_{\rm g}} \propto M^{p}, \label{eq:eq5.mass_ratio}\] so that \[M_{\rm s} \propto M^{1 + p} \: \: {\rm when} \: M_{\rm g} \simeq M \: \: \left( M_{\rm s} \ll M \right); \label{eq:eq5.12}\] Equation ([\[eq:eq5.11\]](#eq:eq5.11){reference-type="ref" reference="eq:eq5.11"}) then follows from ([\[eq:eq5.7\]](#eq:eq5.7){reference-type="ref" reference="eq:eq5.7"}) and ([\[eq:eq5.12\]](#eq:eq5.12){reference-type="ref" reference="eq:eq5.12"}). The power law is again predicted to level off, with \(Z_{\rm s} \rightarrow y\) at high masses, according to Equation ([\[eq:eq5.8\]](#eq:eq5.8){reference-type="ref" reference="eq:eq5.8"}). As a theory for the origin of the metallicity--mass relation, this model has the advantage of invoking processes that can be studied in nearby interacting galaxies, but it remains to be seen whether the structural properties of elliptical galaxies are fully consistent with its dynamical implications.
### Mergers of stellar systems {#subsubsec:Mergers of stellar systems}
The color--magnitude (metallicity--mass) relation for elliptical galaxies is apparently affected in a way that has nothing to do with chemical evolution: central cluster galaxies accrete their neighbors, by the process of dynamical friction. There is no star formation during these mergers, because the galaxies involved are ellipticals or S0s with almost no gas. Thus the growth in luminosity is not accompanied by chemical enrichment, and it can make the growing system bluer because the surrounding galaxies that it accretes are generally smaller than the central giant. Galactic cannibalism by dynamical friction was first proposed by, and later papers (e.g. [@Hausman1978GalacticClusters], and references therein) have developed its implications for cosmological tests, the origin of core--halo structure of cD galaxies, the luminosity function of galaxies in clusters, and the color--magnitude relation itself. The process obviously tends to make the color--magnitude relation turn over toward bluer colors at the bright end. This effect has been proposed as a test for the occurrence of cannibalism in clusters, but the results are not unambiguous because there is an intrinsic upper limit, \(Z_{\rm s} \rightarrow y\), to the average stellar metallicity in the models discussed above, that leads to a flattening of the relation anyway. Strong evidence that galaxies in the centers of clusters *do* merge with each other is given by the lumpy appearance of the central supergiant (cD) members of some clusters; the lumps are interpreted as recently swallowed galaxies, and the timescale for them to merge into a smooth system is generally \(< 10^{9} \: \rm yr\).
## The Intergalactic Medium and Gas Lost from Galaxies {#subsec:The Intergalactic Medium and Gas Lost from Galaxies}
Loss of interstellar gas from galaxies can both affect their own evolution, as discussed for example in Section [5.3](#subsec:The Metallicity--Mass Relation for Elliptical Galaxies){reference-type="ref" reference="subsec:The Metallicity--Mass Relation for Elliptical Galaxies"} above, and be a significant source of metal-enriched IGM.
### Loss of metals from galaxies {#subsubsec:Loss of metals from galaxies}
The mass of metals lost from an elliptical galaxy can be estimated by the following argument, which is independent of the method of gas loss. The mass of metals ever made by stars in the galaxy is \({\sim} yM_{\rm s}\) (by the definition of the yield, Equation [\[eq:eq3.12\]](#eq:eq3.12){reference-type="ref" reference="eq:eq3.12"}), and the mass of metals presently in its stars is \(Z_{\rm s} M_{\rm s}\), so the mass lost to the IGM at some stage is \({\sim} (y-Z_{\rm s}) M_{\rm s}\). This reasoning was used by to predict a substantial metal-rich IGM in clusters of galaxies, and a number of models with similar results have been advanced since the iron X-ray line was discovered. An essentially model-independent estimate can be made as follows. Let \(\phi(M_{\rm s})\) be the mass function of elliptical galaxies in a cluster. Then the total mass of metals they have supplied to the ISM is \[M_{Z1} = \int \left[ y-Z_{\rm s} \left( M_{\rm s} \right) \right] M_{\rm s} \phi \left( M_{\rm s} \right) \ dM_{\rm s}, \label{eq:eq5.13}\] where \(Z_{\rm s} (M_{\rm s})\) is a function derivable from the color--magnitude relation. In practice, \(M_{\rm s}\) is expressed in terms of luminosity, and \(\phi(M_{\rm s})\) is obtained from the luminosity function. The value of \(y\) should be taken as the maximum \(Z_{\rm s}\) of an elliptical galaxy, which is hard to obtain since the extensive outer regions that are probably metal-poor are seldom observed; setting \(y\) equal to the mean metallicity of local stars (a little under \(\rm Z_{\odot}\)) is equivalent if elliptical galaxies have the local IMF. In a calculation equivalent to the one just outlined, found that a cluster of elliptical galaxies would contain a mass \({\sim} (2-5) \: \rm M_{\odot} Z_{\odot}\) of intergalactic metals per solar luminosity. This is a very significant quantity of metals. For example, about \(1/3\) of the luminosity of the Coma cluster is due to its elliptical galaxies, so they would provide a mass \({\sim} 1 \: \rm M_{\odot} Z_{\odot}\) of metals per solar luminosity of the cluster, corresponding to \({\sim} 0.1 \: \rm Z_{\odot}\) of metals per unit mass of galaxies (the ordinary stellar mass). If the bulges of spiral and S0 galaxies also lost their metals due to the IGM, this estimate could be doubled, but some of those metals may be in the disks (cf. Section [4.3.1](#subsubsec:Metals from the young halo){reference-type="ref" reference="subsubsec:Metals from the young halo"}). Iron can be considered as a representative metal in this calculation, so we predict \({\sim} 1 \times \rm (Fe / H)_{\odot} \times M_{\odot}\) of iron in the IGM per solar luminosity of the cluster. The actual mass of iron is quite uncertain, and could be equal to the predicted amount.
### Overall gas loss from galaxies {#subsubsec:Overall gas loss from galaxies}
The total mass of gas lost from elliptical galaxies is a less predictable quantity, depending on gas flows within the galaxies and gain or loss of gas during the time of star formation. Nevertheless, some estimates are interesting. In order of magnitude, almost any model will predict a mean metallicity of the lost gas that exceeds the mean metallicity of stars, since the gas has the composition of the last and most metal-rich stars formed; i.e., \(Z_{\rm i} \gtrsim Z_{\rm s}\). The mass of gas lost is therefore \(M_{\rm gi} = M_{\rm Zi} / Z_{\rm i} \lesssim M_{\rm Zi} / Z_{\rm s}\). With \(Z_{\rm s} \lesssim y \sim \rm Z_{\odot}\) for the mean of a typical cluster of galaxies, we therefore expect that \(M_{\rm gi} \sim M_{\rm Zi} / \rm Z_{\odot}\), very roughly. This implies that the elliptical galaxies in the Coma cluster have ejected \({\sim} 1 \: \rm M_{\odot}\) of gas per solar luminosity of the cluster, which is at the lower end of the range of estimates of the cluster gas content, from X-ray data (Section [5.1](#subsec:Data2){reference-type="ref" reference="subsec:Data2"}). Various specific calculations using the models discussed in Sections [5.3.1](#subsubsec:Supernova-driven winds){reference-type="ref" reference="subsubsec:Supernova-driven winds"} and [5.3.2](#subsubsec:Bursts of star formation in merging subsystems){reference-type="ref" reference="subsubsec:Bursts of star formation in merging subsystems"} lead to similar results within a factor \({\sim} 3\). It is therefore uncertain whether gas loss from ellipticals could be the entire source of gas in a cluster like Coma, or whether some of the IGM is simply primordial material that was never in a galaxy. (In the latter case, the intergalactic metals could nevertheless have been supplied by galaxies). An interesting comment on the origin of the cluster IGM has been made by: the distribution of morphological types of galaxies in clusters like Coma differs from the field distribution in having a much smaller fraction of spirals, many more S0s, and somewhat more ellipticals. If one "corrects" the cluster galaxies by adding disk matter until the overall ratio (disks)/(elliptical galaxies + bulges) equals that of the field, the mass of extra disk matter required is \({\sim} 50\%\) of the (ordinary) mass of galaxies in the cluster. This in turn is a significant fraction of the mass of cluster IGM. therefore proposes that some of the IGM is material that would have been made into disks in a less dense environment, but instead was swept up into a hot ambient IGM. This idea ties in with several scenarios for the formation of disk galaxies, in which the disk is made from diffuse gas that is accreted after the formation of a spheroidal component. For example, in the model of, a significant fraction of the disk is shed by halo stars; and in the picture of, the disk forms from diffuse gas after denser pieces have merged to make the bulge.
### Ejection from evolving stars in elliptical galaxies {#subsubsec:Ejection from evolving stars in elliptical galaxies}
The stellar population in elliptical galaxies (and S0 galaxies and the bulge--halo components of spirals) is predominantly very old, and the light of these galaxies is dominated by red giants. It is almost certain that such stars lose a few tenths of a solar mass, between the MS turnoff and the end of their lives, to die as white dwarfs of typically \(0.7 \: \rm M_{\odot}\) (Section [2.4.1](#subsubsec:Solar mass){reference-type="ref" reference="subsubsec:Solar mass"}). This mass has been included in the total mass loss considered above, but it is interesting to calculate also the present *rate* of mass loss by stars in elliptical galaxies. For an analytical estimate, let us assume that all the stars in the system formed at the same time, \(t = 0\). Let \(M_{0}\) be the mass of stars formed, and let \(\phi(m)\) be the IMF; the mass of stars formed in the mass interval \((m, \: m + dm)\) is therefore \[n(m) \ dm = M_{0} \phi(m) \ dm, \label{eq:eq5.14}\] by Equation ([\[eq:eq2.1\]](#eq:eq2.1){reference-type="ref" reference="eq:eq2.1"}). Now imagine these stars peeling off the MS and dying soon afterward as they reach their lifetimes \(\tau_{\rm m}\). The number of stars dying per unit time is clearly \[D(t) = n \left( m_{\rm t} \right) \left| \frac{dm}{d \tau_{\rm m}} \right|_{\tau_{\rm m} = t}, \label{eq:eq5.15}\] where \(m_{\rm t}\) is the turnoff mass (\(\tau_{\rm m} = t\)). The stellar mass--lifetime relation can be approximated by a power law, \[\frac{m}{m_{1}} = \left( \frac{\tau_{\rm m}}{\tau_{1}} \right)^{-\theta}, \label{eq:eq5.16}\] where \(\tau_{1}\) is the lifetime of a fiducial mass \(m_{1}\) and \(\theta \simeq 0.25\) in the mass range of interest (\(m_{\rm t} \sim 1 \: \rm M_{\odot}\)). It is convenient to use a power-law IMF, Equation ([\[eq:eq2.3\]](#eq:eq2.3){reference-type="ref" reference="eq:eq2.3"}), normalized to \(\phi(m_{1}) \equiv \phi_{1}\); masses in only the small range \({\sim} 0.5-1 \: \rm M_{\odot}\) are relevant to the following calculation, so this IMF may be a reasonable approximation even if a single power law would not apply to all masses. The ejection rate can be obtained by multiplying \(D(t)\) by \((m_{\rm t}-w_{\rm m})\), the mass lost per star with remnant mass \(w_{\rm m}\), with the result \[E(t) = M_{0} \phi_{1} \theta \frac{m_{1}}{\tau_{1}} \left( m_{\rm t}-w_{\rm m} \right) \left( \frac{t}{\tau_{1}} \right)^{-1 + \theta x}. \label{eq:eq5.17}\] Since \((m_{\rm t}-w_{\rm m})\) changes slowly with time and \(\theta x\) is probably only a few tenths, this expression shows that the ejection rate \(E(t)\) varies approximately as \(t^{-1}\). In Section [6.2.4](#subsubsec:The stellar mass loss rate relative to luminosity){reference-type="ref" reference="subsubsec:The stellar mass loss rate relative to luminosity"}, an analytical expression is derived for the luminosity of stars in this model, and it is shown that Equation ([\[eq:eq5.17\]](#eq:eq5.17){reference-type="ref" reference="eq:eq5.17"}) leads to a ratio of ejection rate to integrated blue luminosity of the population, \[\frac{E}{L_{\rm B}} \sim 0.02 \: \rm M_{\odot} \ L_{B \odot}^{-1} \ Gyr^{-1} \label{eq:eq5.18}\] at a present time \({\sim} 10^{10} \: \rm yr\). Most elliptical galaxies have a mass of neutral hydrogen that is less than 0.1 times their luminosity, in solar units, and many better studied ellipticals have less neutral hydrogen than 0.01 times their luminosity. argue that significant amounts of ISM cannot be hiding in elliptical galaxies in ionized or molecular form. Thus the ejection rate given by Equation ([\[eq:eq5.18\]](#eq:eq5.18){reference-type="ref" reference="eq:eq5.18"}) would provide more than the observed amount of gas in a few Gyr, or even in less than \(1 \: \rm Gyr\). Possible fates for this gas have been thoroughly discussed by; they note that star formation at the rate in Equation ([\[eq:eq5.18\]](#eq:eq5.18){reference-type="ref" reference="eq:eq5.18"}) would be detectable (unless only low-mass stars form), so they conclude that the gas ejected from stars is being continually lost from the galaxies. On the other hand, argue that star formation at the rate required to use up this gas could have escaped detection in most ellipticals, and could account for their supernova rate.
## Abundance Gradients in Disks {#subsec:Abundance Gradients in Disks}
Abundance gradients in disk stars and gas cannot be fully accounted for by gradients in the gas fraction (Section [5.1](#subsec:Data2){reference-type="ref" reference="subsec:Data2"}), so it is of interest to see whether dynamical processes analogous to those discussed in Section [5.2](#subsec:Abundance Gradients in Spheroidal Systems){reference-type="ref" reference="subsec:Abundance Gradients in Spheroidal Systems"}, for spheroidal systems, could be responsible. A gradient in the IMF could again be invoked, but this mechanism will not be discussed further.
### Effects of infall {#subsubsec:Effects of infall}
The idea that disks of galaxies form by accretion, incorporating metals from the young halo, has been suggested by dynamical models and supported by the metallicities of stars in the Solar neighborhood (Section [4.3](#subsec:Effects of Galaxy Formation){reference-type="ref" reference="subsec:Effects of Galaxy Formation"}). The properties of the accretion process that affect chemical evolution are the metallicity of infalling gas (\(Z_{\rm f}\)) and the ratio of SFR to infall rate (\(\psi / f\)). If there is a radial gradient in these quantities, there must be a corresponding metallicity gradient in the disk. In particular, the metallicity of the gas at any time tends to a value given by Equation ([\[eq:eq4.6\]](#eq:eq4.6){reference-type="ref" reference="eq:eq4.6"}), \(Z \rightarrow ky + Z_{\rm f}\), where \(k = (1-R) \psi / f\). Thus the disk gas has about this metallicity at the present time, in regions where infall is at all effective, i.e., where \(k\) is not so large that \(Z\) takes too long to approach its asymptotic value; the stars in turn reflect the metallicity of the gas at the time when they formed. In the dynamical models studied by, the value of \(\psi / f\) decreases outward in the disk at all times, because star formation is less efficient at low densities; \(Z_{\rm f}\) is negligible at late times at all radii, but it has a significant negative gradient at early stages when metals from the young halo (central bulge) were most important near the center. Figure [\[fig:fig12\]](#fig:fig12){reference-type="ref" reference="fig:fig12"} (a) illustrates the SFR versus time at several radii in the equatorial plane of one of these models, and Figure [\[fig:fig12\]](#fig:fig12){reference-type="ref" reference="fig:fig12"} (b) gives the corresponding metallicities in the gas. At small radii, most stars form early from metal-rich infalling gas, while the outer regions experience star formation on a much longer timescale and are still relatively metal-poor. The gas at the present time thus has a negative metallicity gradient due mainly to the gradient in \(\psi / f\), while the gradient in stellar abundances is due partly to the early gradient in \(Z_{\rm f}\). The sizes of the model gradients are comparable to observed values, so this very schematic model may possibly be showing some effects that occur in real disk galaxies. Generalizing these results, we can conclude as in Section [4.3](#subsec:Effects of Galaxy Formation){reference-type="ref" reference="subsec:Effects of Galaxy Formation"} that the chemical properties of disks could plausibly be strongly affected by gas flows that constitute the formation of the disk itself.
### Effects of radial gas flows {#subsubsec:Effects of radial gas flows}
Radial inflow of gas in disks possibly occurs as a result of transfer of angular momentum by viscosity, loss of angular momentum from the gas to spiral or bar-like density waves, and other mechanisms. These processes are rather speculative, since the inflow in many models could be a numerical artifact, but it is interesting to see how chemical evolution could be affected by flow velocities of a plausible magnitude. The metals are concentrated inward by this process, as by gaseous dissipation in a collapsing spheroidal system (Section [5.2.1](#subsubsec:Dissipative collapse){reference-type="ref" reference="subsubsec:Dissipative collapse"}). Let us consider an annulus of a galaxy between radii \(r\) and \(r + \delta r\), measured in the disk. The chemical evolution of this annulus can be studied in the instantaneous recycling approximation, using Equations ([\[eq:eq3.17\]](#eq:eq3.17){reference-type="ref" reference="eq:eq3.17"}) and ([\[eq:eq3.19\]](#eq:eq3.19){reference-type="ref" reference="eq:eq3.19"}). Let \(M_{\rm g}\) and \(\psi\) in those equations be replaced by \(2 \pi r M_{\rm g} \delta r\) and \(2 \pi r \psi \delta r\), respectively, where \(M_{\rm g}\) and \(\psi\) now denote the corresponding surface densities; let \(f\) be replaced by the net rate of inflow into the annulus, i.e., \(F(r)-F(r + \delta r) =-(\partial F / \partial r) \delta r\), where \(F\) is a flow rate (in \(\rm M_{\odot} \ yr^{-1}\)) with a positive sign for outward motion; and let \(Z_{\rm f} f\) be replaced by the net rate of inflow of metals, which is \(Z(r) F(r)-Z(r + \delta r) F(r + \delta r) =-Z (\partial F / \partial r) \delta r-(\partial Z / \partial r) F \delta r\). The equations then reduce to \[\frac{\partial M_{\rm g}}{\partial t} =-(1-R) \psi-\frac{1}{2 \pi r} \frac{\partial F}{\partial r}, \label{eq:eq5.19}\] and \[M_{\rm g} \frac{\partial Z}{\partial t} = y(1-R) \psi-\frac{1}{2 \pi r} \frac{\partial Z}{\partial r} F. \label{eq:eq5.20}\] Equation ([\[eq:eq5.20\]](#eq:eq5.20){reference-type="ref" reference="eq:eq5.20"}) shows that the radial flow is consistent with a steady-state abundance gradient, \[\frac{\partial (Z / y)}{\partial r} \sim 2 \pi r \frac{(1-R) \psi}{F}, \label{eq:eq5.21}\] which is negative if the flow is inward. The flow causes \(Z\) to change on a timescale \[\tau_{\rm F} \sim \frac{2 \pi r^{2} M_{\rm g}}{\lvert F \rvert}. \label{eq:eq5.22}\] \(F\) can be expressed in terms of the flow velocity \(v\), where \(\lvert F \rvert =\) (mass of gas in the annulus)/(time for gas to flow across \(\delta r\)) \(= 2 \pi r M_{\rm g} \lvert v \rvert\). The timescale for radial flow to be effective is thus \[\tau_{\rm F} \sim \frac{r}{\lvert v \rvert}, \label{eq:eq5.23}\] and the corresponding gradient can be written \[\frac{\partial (Z / y)}{\partial \ \ln(r)} \sim \frac{\tau_{\rm F}}{\tau_{*}}, \label{eq:eq5.24}\] where \(\tau_{*} \equiv M_{\rm g} / (1-R) \psi\) is the timescale for star formation to use up the gas. These relations show that rapid inflow, with a timescale less than that for star formation, quickly obliterates any radial metallicity gradient, while slow inflow can lead to a significant one. Substituting values of \(\psi\), \(M_{\rm g}\), and \(r\) for the Solar neighborhood, it is found that the interstellar abundance gradient (Section [5.1](#subsec:Data2){reference-type="ref" reference="subsec:Data2"}) is consistent with inflow at a few \(\rm km \ s^{-1}\), carrying a flux \({\sim} 1 \: \rm M_{\odot} \ yr^{-1}\); the timescale for the gradient to change is a few Gyr. There is no strong evidence for the occurrence of systematic gas flows of this magnitude in the Galaxy, but nor can they be ruled out. has suggested that the deep minimum in the surface density of gas in the Galaxy, in an annulus between \(0.6\) and \(4 \: \rm kpc\), could be due to inflow into the central \(600 \: \rm pc\), where the total quantity of ISM is enough to fill the depleted annulus. If so, inflow could perhaps be fueling the strong star formation at the Galactic center.
# Approaches to Photometric Evolution {#sec:Approaches to Photometric Evolution}
Evolution of stars in galaxies affects not only their chemical compositions, but also their integrated luminosities, colors, and spectra. Photometric and chemical evolution can be studied separately, because they depend largely on complementary properties of a galaxy: the colors at a given time are governed strongly by the current rate of star formation relative to its past average value, whereas the chemical composition depends mainly on the integrated past star formation relative to the gas content and on the ratio of the SFR to gas flow rates. In studying photometric evolution, we can ignore the effects of ISM, except in correcting colors for any reddening or gaseous emission, and we can avoid assumptions relating the SFR to the gas supply. Of course, a complete understanding of the properties of a galaxy would include the relations among its history of star formation, gas content and gas flows, and chemical composition (cf. Figure [\[fig:fig1\]](#fig:fig1){reference-type="ref" reference="fig:fig1"}), but more can be learned by tackling pieces of the puzzle separately first.
## Aims and Methods {#subsec:Aims and Methods}
Models for the stellar population of a galaxy address three related questions: what types of stars are present, what history of star formation produced them, and what was the population and its photometric properties in the past? The answers to these questions have many applications, such as interpreting in terms of star formation the correlations between photometric and morphological properties of galaxies, and predicting changes on cosmological timescales. Methods of constructing population models can be divided into three categories: "population synthesis" with no explicit evolution, evolutionary models, and analytical approximations.
### Population synthesis {#subsubsec:Population synthesis}
This approach is to find the "best" mixture of stars to match the colors of the galaxy under study. The inferred distribution of stars in the HR diagram then contains information on their past formation rate and the IMF, and it is often possible to judge the mean chemical composition and even to detect minor components of high or low metallicity. The procedure is to observe the colors of the galaxy and a variety of nearby stars, generally including narrow-band photoelectric colors and indices giving the strengths of spectral features that are sensitive to stellar temperature, luminosity, or composition. Then synthetic colors are computed for various mixtures of stars and compared with the galaxy colors. The search for an optimal mixture can be made in many ways, ranging from trial-and-error to elaborate computer algorithms; the method generally used, quadratic programming, was introduced to the field by. Because of observational errors, and because the available nearby stars do not include all types in the galaxy under study, a perfect fit is seldom found, and the solution that (formally) minimizes the errors is not necessarily the most plausible. The choice of a "best" synthetic population must therefore be based on imposed astrophysical constraints; these include such requirements as a smooth MS luminosity function, and a distribution of subgiants and giants that could plausibly arise from evolution off the MS. The lack of an objectively defined best fit means that the final solution depends strongly on the imposed constraints, as emphasized by. There are often several astrophysically acceptable synthetic populations that match the galaxy colors equally well but correspond to significantly different histories of star formation. An example of such ambiguity appears in models for elliptical galaxies, reviewed by. All studies agree that *most* of the light of these galaxies, from blue through infrared wavelengths, comes from an old stellar population with a distribution in the HR diagram like an old open cluster plus an extended giant branch (cf. Figure [\[fig:fig5\]](#fig:fig5){reference-type="ref" reference="fig:fig5"}). However, such models almost always fail by a few percent to account for the light around \(3500~\si{\angstrom}\) (e.g. \(U-B\) is predicted to be too red by \({\sim} 0.1 \: \rm mag\)), so they are lacking some hot stellar component that is present in the real galaxies. To date it has been impossible to determine whether the hot stars are a few upper-main-sequence stars, implying ongoing star formation, or a minor population of old objects such as horizontal-branch stars or blue stragglers (which can be seen in the color--magnitude diagram for the old cluster M67, Figure [\[fig:fig5\]](#fig:fig5){reference-type="ref" reference="fig:fig5"}). Obviously, it would be very interesting to know if typical elliptical galaxies really are still making stars at a slow residual rate! For the central bulge of M31, which is optically indistinguishable from an elliptical galaxy, there are broadband colors down to \(1550~\si{\angstrom}\), but even these data have not resolved the ambiguity. A new avenue has been opened by a demonstration that the integrated light of stars in a nuclear bulge region of our own galaxy matches exactly the integrated light of comparable regions of spirals and ellipticals. The brighter stars are individually observable in the Galactic bulge, so a star-by-star synthesis of their contribution to the light is possible. Perhaps in the end this approach will tell whether an old population alone can account for the ultraviolet light. Another general problem is that even the best defined regions in the HR diagram cannot be interpreted uniquely in terms of a past history of star formation. The models are insensitive to many details of the IMF and SFR, for two basic reasons:
1. the integrated light of galaxies is dominated by regions of the HR diagram that depend theoretically on rather few parameters of star formation; and
2. some types of stars, such as red giants, may have evolved from a wide range of MS masses (Section [2.4.2](#subsubsec:1-4 Msun){reference-type="ref" reference="subsubsec:1-4 Msun"}), so they cannot be traced uniquely back to an initial mass and time of star formation.
The second of these problems is avoided in the evolutionary method described next, but the first remains and will be discussed below.
### Evolutionary models {#subsubsec:Evolutionary models}
This approach relies primarily on stellar evolution theory to suggest allowable populations, as follows. Theoretical tracks (or isochrones) of stars in the HR diagram are used to compute the stellar population that would arise, at a given age, from a given SFR and IMF, with a given chemical composition; the integrated colors are then calculated, using observed colors of stars in appropriate parts of the HR diagram, and the results are compared with the colors of the galaxy under study. The aim is to derive from a series of models the SFR, IMF, age, and composition(s) that best match the galaxy, and thereby to learn not only about its present stellar population but also about its past history and past photometric properties. In practice, stellar evolution is not well enough understood for fully theoretical models to be reliable. The main problems are related to late stages of evolution, including particularly the giant branches in old stellar populations, whose effects on models for elliptical galaxies are reviewed by. These problems are alleviated by using statistical studies of nearby giants to provide semi-empirical evolutionary tracks (Section [2.4.1](#subsubsec:Solar mass){reference-type="ref" reference="subsubsec:Solar mass"}), and by allowing the most uncertain types of stars to be present in numbers that are treated as adjustable parameters. This method thus closely resembles some non-evolutionary population syntheses in which the constraints are chosen to represent stellar evolutionary tracks. The evolutionary approach has several advantages. The best established aspects of stellar evolution theory are incorporated, so the resulting population is a *possible* one as far as can be determined. Uncertainties cannot be formally calculated, but from trials with a variety of assumptions one can estimate subjectively the allowable range of parameters. Often this range is small enough to lead to useful conclusions about the past history of star formation, and to predictions of photometric changes of cosmological interest. For example, it is possible to determine the slope of the IMF in elliptical galaxies closely enough to be sure that their integrated luminosity declines with increasing age (Section [6.2](#subsec:Evolution of a Single Generation of Stars){reference-type="ref" reference="subsec:Evolution of a Single Generation of Stars"}). Uncertainties in the conclusions from this method arise partly from uncertainties in stellar evolution, and partly from the intrinsic insensitivity of integrated colors to many parameters of interest--a problem found earlier with population syntheses. Two parts of the HR diagram tend to dominate the integrated light, as illustrated spectroscopically by the work of, e.g., and: B stars on the upper main sequence, and late G through early M giants. These dominant regions are extended out to O stars in ultraviolet light and to late M giants in the infrared. If young stars are absent, low-mass giants dominate at visual and longer wavelengths, so the colors depend much more on stellar evolution than on the IMF or past SFR; at shorter wavelengths, however, turnoff stars are seen so the colors give some information on the age of the system. If young stars are present, the light at short wavelengths is dominated by OB stars, whose relative numbers depend on the IMF and whose total numbers (relative to red stars) depend on the ratio of the present SFR to its integrated past value. Stars with lifetimes from a few times \(10^{8} \: \rm yr\) to just below the age of the system (usually A and F stars) contribute relatively little light, so there is little information on either their part of the IMF or the detailed time-dependence of the SFR. In Section [7.1](#subsec:UBV Colors of Normal Galaxies){reference-type="ref" reference="subsec:UBV Colors of Normal Galaxies"}, models will be discussed that illustrate the dominance of the upper main sequence and/or low-mass giants, depending on the SFR. Programs for constructing evolutionary models have been described by, ,, and. The mechanical details are far less troublesome than the input "data" representing stellar tracks, and it is easy to obtain numerical accuracy far exceeding the astrophysical certainty of the calculations. There are two types of this technique.
1. The first method is to supply the computer with evolutionary tracks in the HR diagram for stars with a series of discrete masses, or with isochrones for a series of discrete ages; separate stellar data are used for each chemical composition of interest. Then, for a given IMF and SFR, the calculation yields the numbers of stars on a large grid of points in the HR diagram, as a function of the age of the system.
2. The second method uses the first type of program once only for each IMF and composition, to give the integrated colors at a series of ages of a model whose SFR consists of a single initial burst. These are then regarded as the colors of "generations" of stars with a given age (and IMF and composition).
A model with any prescribed SFR can then be treated, at each age, as the sum of such generations in proportions given by the SFR. The number of generations whose properties must be combined to obtain the integrated colors of any model is much smaller than the number of points in the HR diagram that are referred to directly in the first method, so the second approach is more economical. In either method, it is clearly possible to add arbitrary numbers of stars of undetermined evolutionary status, in the spirit of population synthesis. While models with Solar metallicity can rely on nearby stars to provide colors and semi-empirical evolutionary tracks, there is no such convenient sample for other compositions. In making models for non-Solar metallicities, it is often most convenient to change the "standard" models differentially, rather than starting from scratch with tracks and colors for each set of stars. first used the metallicity effects discussed in Section [2.4.5](#subsubsec:Initial composition){reference-type="ref" reference="subsubsec:Initial composition"} to estimate differential changes in the integrated colors of elliptical galaxies, as a function of metallicity, and her methods have been adapted by others subsequently. Recent results for elliptical galaxies have been cited in Section [5.1](#subsec:Data2){reference-type="ref" reference="subsec:Data2"}. The calculations of metallicity effects in integrated light are still much less secure than one would like, and there is a need for more basic work on stellar evolution and atmospheres at non-Solar compositions, including non-Solar abundance ratios among elements heavier than helium.
### Analytical approximations {#subsubsec:Analytical approximations}
Some of the results from evolutionary models can be understood qualitatively using analytical approximations. These have proved particularly tractable for models in which all the stars form in a single initial burst, which is a first approximation to the population in elliptical galaxies. Such models will be considered next.
## Evolution of a Single Generation of Stars {#subsec:Evolution of a Single Generation of Stars}
Many numerical models designed to match detailed photometry of elliptical galaxies have shown that nearly all the light at visual and longer wavelengths can be accounted for by a very old population, with a turnoff near the Sun's position on the MS. The metallicities of the dominant stars appear to be within a factor of two of Solar in wide-aperture observations of giant ellipticals, although their centers may be more metal-rich and small ellipticals are metal-poor (Section [5.1](#subsec:Data2){reference-type="ref" reference="subsec:Data2"}). Reviews by and cover the history and recent status of this subject, and a few subsequent developments have been referred to in Section [6.1](#subsec:Aims and Methods){reference-type="ref" reference="subsec:Aims and Methods"}. The implications of a predominantly very old population for the evolution of elliptical galaxies are best understood using analytical approximations.
### Content and luminosity {#subsubsec:Content and luminosity}
Let us consider a single generation of stars, formed with total mass \(M_{0}\) in a short burst (as in Section [5.4.3](#subsubsec:Ejection from evolving stars in elliptical galaxies){reference-type="ref" reference="subsubsec:Ejection from evolving stars in elliptical galaxies"}), with a fixed chemical composition near Solar. The population evolves by peeling off the MS, as can be visualized from Figures [\[fig:fig2\]](#fig:fig2){reference-type="ref" reference="fig:fig2"} and [\[fig:fig3\]](#fig:fig3){reference-type="ref" reference="fig:fig3"}. The IMF will be taken to be a power law, normalized to \(\phi(m_{1}) \equiv \phi_{1}\), where \(m_{1}\) is the turnoff mass at a fiducial time \(\tau_{1}\). The power-law approximation need only hold over a small mass interval, since the light at present comes almost entirely from stars between \(0.4 \: \rm M_{\odot}\) and turnoff, and the turnoff mass at ages of interest, \({\sim} 5-20 \: \rm Gyr\), lies in the small range \({\sim} 0.9-1.2 \: \rm M_{\odot}\). At a time \(t\) after star formation, the MS stars present have masses from the lower limit at formation, \(m_{\rm L}\), up to the turnoff mass \(m_{\rm t}\), which is given by substituting \(\tau_{\rm m} = t\) in Equation ([\[eq:eq5.16\]](#eq:eq5.16){reference-type="ref" reference="eq:eq5.16"}). Thus the number of dwarfs with masses in the interval \((m, \ m + dm)\) is, by Equation ([\[eq:eq2.3\]](#eq:eq2.3){reference-type="ref" reference="eq:eq2.3"}), \[\begin{medsize} n_{\rm d} (m) \ dm = M_{0} \phi(m) \ dm = M_{0} \phi_{1} \left( \frac{m}{m_{1}} \right)^{-(1 + x)} \ dm, \: \: m_{\rm L} \leq m \leq m_{\rm t}. \label{eq:eq6.1} \end{medsize}\] Stars slightly more massive than \(m_{\rm t}\) are present as giants, and their total number is the number of stars that were on the MS with lifetimes between \(t\) and \(t-\tau_{\rm g}\), where \(\tau_{\rm g}\) is the duration of post-MS evolution for masses \({\sim} m_{\rm t}\). (The term "giants" is used loosely here to mean all post-MS stars; the analysis can easily be modified to refer to any portion of post-MS evolution). The number of giants is therefore \[n_{\rm g} (t) = M_{0} \phi(m_{\rm t}) \left| \frac{dm}{d \tau_{\rm m}} \right|_{\tau_{\rm m} = t}; \: \: \tau_{\rm g} = M_{0} \phi_{1} \theta \frac{m_{1}}{\tau_{1}} \tau_{\rm g} \left( \frac{t}{\tau_{1}} \right)^{-1 + \theta x}. \label{eq:eq6.2}\] The luminosity of individual dwarfs in the mass range of interest can be approximated by a power law, \[\ell_{\rm d} (m) = \ell_{1} \left( \frac{m}{m_{1}} \right)^{\alpha}, \label{eq:eq6.3}\] where \(\alpha \simeq 5\). For giants, an average luminosity \(\ell_{\rm g}\) is defined so that the product \(\ell_{\rm g} \tau_{\rm g}\) gives correctly the integrated light output during post-MS evolution. The values of \(\ell_{1}\), \(\alpha\), and \(\ell_{\rm g}\) of course depend on the wavelength interval of interest, and so do the results below relating to luminosities. (For bolometric light, the product \(\ell_{\rm g} \tau_{\rm g}\) is proportional to the amount of nuclear energy used, but it has no such interpretation in restricted wavelength bands). The integrated luminosities and masses of dwarfs and giants can now be derived from Equations ([\[eq:eq6.1\]](#eq:eq6.1){reference-type="ref" reference="eq:eq6.1"}) -- ([\[eq:eq6.3\]](#eq:eq6.3){reference-type="ref" reference="eq:eq6.3"}) and Equation ([\[eq:eq5.16\]](#eq:eq5.16){reference-type="ref" reference="eq:eq5.16"}). It will be assumed in the integrals that \(m_{\rm L} \ll m_{1}\). The total mass of dwarfs at time \(t\) depends critically on whether the slope of the IMF \((x)\) is less than or greater than 1:
:::
Giants have a total mass \({\sim} m_{\rm t} n_{\rm g} (t)\), and one can quickly verify that the mass ratio of giants to dwarfs is greatest in the case \(x < 1\), and is at most \({\sim} \tau_{\rm g} / t \sim 0.1\); the contribution of giants to the total mass will therefore be neglected. The integrated luminosity of dwarfs is \[L_{\rm d} (t) = \int_{m_{\rm L}}^{m_{\rm t}} \ell_{\rm d} (m) n_{\rm d} (m) \ dm = \frac{M_{0} \phi_{1} m_{1} \ell_{1}}{\alpha-x} \left( \frac{t}{\tau_{1}} \right)^{-\theta (\alpha-x)}, \label{eq:eq6.5}\] on the assumption \(x < \alpha\), which is justified below. Finally, the integrated luminosity of giants is \[L_{\rm g} (t) = \ell_{\rm g} n_{\rm g} (t) = M_{0} \phi_{1} \theta \frac{m_{1}}{\tau_{1}} \ell_{\rm g} \tau_{\rm g} \left( \frac{t}{\tau_{1}} \right)^{-1 + \theta x}. \label{eq:eq6.6}\] The above relations will be used to derive some interesting properties of this single generation of stars.
### Remnants of dead stars {#subsubsec:Remnants of dead stars}
There may be a significant dark mass in the form of remnants of stars initially above \(m_{\rm t}\), especially if the IMF has a fairly shallow slope so these stars were relatively numerous. Although it is probably a very poor approximation to extrapolate the IMF to high masses with the slope \(x\) used near \(1 \: \rm M_{\odot}\), the equations will be written to show how the contributions of remnants can be estimated in the simplest cases. (These results can easily be modified to allow for a variable slope). In this approximation, it will be assumed that all remnants have the same mass \(w\), and that all stars above \(m_{\rm t}\) are dead. Then the total mass of remnants is \(w\) times the number of stars formed with masses between \(m_{\rm t}\) and the upper limit \(m_{\rm U}\): \[M_{\rm w} (t) = w \int_{m_{\rm t}}^{m_{\rm U}} M_{0} \phi(m) \ dm = \frac{M_{0} \phi_{1} m_{1} w}{x} \left( \frac{t}{\tau_{1}} \right)^{\theta x}, \label{eq:eq6.7}\] assuming \(m_{\rm U} \ll m_{\rm t}\) and \(x > 0\). The relative mass of remnants is potentially greatest if \(x < 1\), and then Equation ([\[eq:eq6.4c\]](#eq:eq6.4c){reference-type="ref" reference="eq:eq6.4c"}) shows that \(M_{\rm w} / M_{\rm d} \sim w / m_{\rm t}\), which could be close to unity. This result is obviously strongly dependent on the assumption of a single power law for the whole IMF, which would exaggerate the mass of remnants if, for example, elliptical galaxies have a curved IMF like the function in the Solar neighborhood (Figure [\[fig:fig4\]](#fig:fig4){reference-type="ref" reference="fig:fig4"}). It may be concluded that dead remnants could possibly affect the total mass by a factor \({\sim} 2\), which cannot be predicted with any confidence from constraints on the slope of the IMF at turnoff.
### The ratio of giants to dwarfs in the light {#subsubsec:The ratio of giants to dwarfs in the light}
Some spectral features in the integrated light of elliptical galaxies depend sensitively on the relative amounts of light contributed by giant and dwarf stars at the feature wavelength. Examples are an iron hydride band at \(0.99 \: \rm \upmu m\), known as the Wing-Ford band, which has found to be extremely strong in late dwarfs but weak in late giants; and a carbon monoxide band at \(2.2 \: \rm \upmu m\), studied especially by, which has the opposite behavior, being much stronger in late giants than in late dwarfs. Since the light of elliptical galaxies at those wavelengths must be dominated by late-type stars, the galaxies should show a weak FeH band and a strong CO band if giants outshine dwarfs, and vice versa. As the following analysis shows, the relative luminosities of giants and dwarfs give important information on the slope of the IMF, which in turn affects many other properties of elliptical galaxies including the rate of evolution of total luminosity; it is the significance of this effect for cosmological tests (Section [6.2.6](#subsubsec:Evolution of luminosity and the Hubble diagram){reference-type="ref" reference="subsubsec:Evolution of luminosity and the Hubble diagram"}) that has motivated much of the analysis of spectral features. Equations ([\[eq:eq6.5\]](#eq:eq6.5){reference-type="ref" reference="eq:eq6.5"}) and ([\[eq:eq6.6\]](#eq:eq6.6){reference-type="ref" reference="eq:eq6.6"}) together give an approximate expression for the relative luminosities of giants and dwarfs: \[G(t) \equiv \frac{L_{\rm g} (t)}{L_{\rm d} (t)} = \theta (\alpha-x) \frac{\ell_{\rm g} \tau_{\rm g}}{\ell_{1} \tau_{1}} \left( \frac{t}{\tau_{1}} \right)^{\theta \alpha-1}. \label{eq:eq6.8}\] An alternative expression is obtained by substituting Equations ([\[eq:eq5.16\]](#eq:eq5.16){reference-type="ref" reference="eq:eq5.16"}) and ([\[eq:eq6.3\]](#eq:eq6.3){reference-type="ref" reference="eq:eq6.3"}): \[G(t) = \theta (\alpha-x) \frac{\ell_{\rm g} \tau_{\rm g}}{\ell_{\rm d} \left( m_{\rm t} \right) t}. \label{eq:eq6.9}\] The term \(\ell_{\rm g} \tau_{\rm g}\) is the amount of energy radiated (at a given wavelength) by a star of approximately turnoff mass after it leaves the MS, while \(\ell_{\rm d} \left( m_{\rm t} \right) t\) is the energy radiated during MS evolution. Thus Equation ([\[eq:eq6.9\]](#eq:eq6.9){reference-type="ref" reference="eq:eq6.9"}) says that the value of \(G\) in bolometric light is, in order of magnitude, equal to the ratio of nuclear fuel consumed after leaving the MS to that consumed on the MS; since stars near \(1 \: \rm M_{\odot}\) burn the hydrogen in only \(10\%\) of their mass while on the MS but in \(70\%\) before they die (Section [2.4.1](#subsubsec:Solar mass){reference-type="ref" reference="subsubsec:Solar mass"}), this fuel ratio is \({\sim} 6\). This high value is the underlying reason why giants can outshine dwarfs in the integrated light of a galaxy, despite their very short lifetimes. Giants tend to be especially dominant at long wavelengths, because most of the energy from the giant branch as a whole comes from red giants. The fuel burning ratio is not the only factor affecting \(G\), however. The term \((\alpha-x)\) in Equation ([\[eq:eq6.9\]](#eq:eq6.9){reference-type="ref" reference="eq:eq6.9"}) introduces a dependence on \(x\), the slope of the IMF. A larger value of \(x\) reduces the contribution of giants simply by reducing the number of stars in the mass range of giants (just above turnoff) relative to those still on the MS. The dependence of \(G\) on \(x\) is of great practical importance, since it allows spectroscopic criteria to set constraints on \(x\). The work of and shows that the red--infrared light of elliptical galaxies is strongly dominated by giants, to an extent that \(x\) must be less than 2, and possibly less than 1. These constraints are consistent with the IMF in the Solar neighborhood, which has \(x < 1\) in the relevant mass range (Figure [\[fig:fig4\]](#fig:fig4){reference-type="ref" reference="fig:fig4"} and Equation [\[eq:eq2.9\]](#eq:eq2.9){reference-type="ref" reference="eq:eq2.9"}). The infrared spectra of elliptical galaxies set constraints not only on the IMF but also on the relative numbers of M giants of different spectral types that populate the giant branch. As noted in Section [6.1.2](#subsubsec:Evolutionary models){reference-type="ref" reference="subsubsec:Evolutionary models"}, these numbers are not firmly predicted by stellar evolution theory, so studies of galaxy spectra can add to an understanding of late stages in the lives of low-mass stars. This application of galaxy models is discussed by, , and references therein.
### The stellar mass loss rate relative to luminosity {#subsubsec:The stellar mass loss rate relative to luminosity}
An expression for the rate of mass loss from stars has been derived in Section [5.4.3](#subsubsec:Ejection from evolving stars in elliptical galaxies){reference-type="ref" reference="subsubsec:Ejection from evolving stars in elliptical galaxies"}, but Equation ([\[eq:eq5.17\]](#eq:eq5.17){reference-type="ref" reference="eq:eq5.17"}) is not in a useful form for comparing with observable quantities. It is possible to obtain a useful equation for the ejection rate per unit integrated luminosity, because both quantities scale with the populations of stars near turnoff. From Equations ([\[eq:eq6.5\]](#eq:eq6.5){reference-type="ref" reference="eq:eq6.5"}) and ([\[eq:eq6.8\]](#eq:eq6.8){reference-type="ref" reference="eq:eq6.8"}), the total luminosity can be written \[L(t) = \left[ 1 + G(t) \right] L_{\rm d} (t) = \frac{M_{0} \phi_{1} m_{1} \ell_{1}}{\alpha-x} (1 + G) \left( \frac{t}{\tau_{1}} \right)^{-\theta (\alpha-x)}. \label{eq:eq6.10}\] Then, with Equation ([\[eq:eq5.17\]](#eq:eq5.17){reference-type="ref" reference="eq:eq5.17"}), the ratio of ejection rate to luminosity is \[\frac{E(t)}{L(t)} = \frac{\theta (\alpha-x)}{\ell_{1} \tau_{1}} \frac{m_{\rm t}-w_{\rm m}}{1 + G} \left( \frac{t}{\tau_{1}} \right)^{\theta \alpha-1}, \label{eq:eq6.11}\] which shows that the ratio depends only slowly on time. A more useful relation for finding the present ratio is given by substituting Equation ([\[eq:eq5.16\]](#eq:eq5.16){reference-type="ref" reference="eq:eq5.16"}) and ([\[eq:eq6.3\]](#eq:eq6.3){reference-type="ref" reference="eq:eq6.3"}) to eliminate \(\ell_{1}\) and \(\tau_{1}\), with the result \[\frac{E(t)}{L(t)} = \theta (\alpha-x) \frac{m_{\rm t}-w_{\rm m}}{1 + G} \frac{1}{\ell_{\rm d} \left(m_{\rm t} \right) t}. \label{eq:eq6.12}\] This ratio can be estimated for present-day ellipticals as follows. From spectroscopic studies in *blue* light, \(G \simeq 1\) (the value of \(G\) is greater in red or bolometric light); and approximate values of the other quantities are \(\alpha \simeq 5\), \(\theta \simeq 0.25\), \(m_{\rm t} \simeq 1 \: \rm M_{\odot}\), \(w_{\rm m} \simeq 0.7 \: \rm M_{\odot}\), \(\ell_{\rm d} \simeq 1 \: \rm L_{\rm B \odot}\), \(t \simeq 10 \: \rm Gyr\), \(x \simeq 1\). The result from Equation ([\[eq:eq6.12\]](#eq:eq6.12){reference-type="ref" reference="eq:eq6.12"}) is then \(E / L_{\rm B} \simeq 0.015 \: \rm M_{\odot} \ L_{\rm B \odot} Gyr^{-1}\), of which the significance was discussed in Section [5.4.3](#subsubsec:Ejection from evolving stars in elliptical galaxies){reference-type="ref" reference="subsubsec:Ejection from evolving stars in elliptical galaxies"}.
### The mass-to-luminosity ratio {#subsubsec:The mass-to-luminosity ratio}
An analytical estimate of \(M_{\rm s} / L\) can be made using the mass of stars \(M_{\rm s} \simeq M_{\rm d} (t)\) (neglecting the small contribution of giants and the very uncertain contribution of dead remnants), and the total luminosity \(L(t)\). From Equations ([\[eq:eq6.4a\]](#eq:eq6.4a){reference-type="ref" reference="eq:eq6.4a"}) -- ([\[eq:eq6.4c\]](#eq:eq6.4c){reference-type="ref" reference="eq:eq6.4c"}), it is clear that the result depends strongly on whether \(x \lessgtr 1\). Moreover, it depends critically on the assumption that \(x\) is constant down to \(m_{\rm L}\), since the least massive stars (or sub-stellar objects) can be numerous enough to dominate the mass while contributing negligibly to the light. If \(x < 1\), the result from Equations ([\[eq:eq6.4c\]](#eq:eq6.4c){reference-type="ref" reference="eq:eq6.4c"}) and ([\[eq:eq6.10\]](#eq:eq6.10){reference-type="ref" reference="eq:eq6.10"}) is \[\frac{M_{\rm s}}{L} = \frac{\alpha-x}{1-x} \frac{1}{1 + G} \frac{m_{\rm t}}{\ell_{\rm d} \left( m_{\rm t} \right)}, \: \: x < 1, \label{eq:eq6.13}\] which is proportional to the mass-to-luminosity ratio of turnoff stars. If \(x > 1\) (or if \(x\) increases from a value below 1 at turnoff to above 1 at smaller masses) Equation ([\[eq:eq6.4a\]](#eq:eq6.4a){reference-type="ref" reference="eq:eq6.4a"}) shows that \(M_{\rm s} / L\) increases in proportion to \(m_{\rm L}^{-(x-1)}\), so it is sensitive to a quantity that cannot be determined photometrically. In all cases, photometric data (star counts, population syntheses, spectroscopic estimates of \(x\)) yield only a *lower limit* to the true mass-to-luminosity ratio \((M / L)\) of a galaxy, since any amount of mass could be present in hidden form. When the masses of galaxies are determined dynamically, the empirical \(M / L\) values often increase to such large values in the outer regions that a large amount of hidden mass must indeed be present. For this reason, values of \(M / L\) determined from population syntheses and equivalent methods are sometimes called "photometric \(M / L\) ratios" to distinguish them from the ratios of actual mass (defined dynamically) to luminosity.
### Evolution of luminosity and the Hubble diagram {#subsubsec:Evolution of luminosity and the Hubble diagram}
In one of the classic cosmological tests, the Hubble diagram, logarithmic redshifts of galaxies are plotted against against their apparent magnitudes, as illustrated schematically in Figure [\[fig:fig13\]](#fig:fig13){reference-type="ref" reference="fig:fig13"}. For a sample with a well-defined mean absolute magnitude, this diagram can be regarded heuristically as a plot of "recession velocity" versus "distance". At small redshifts, the regression line is linear with a slope corresponding to Hubble's Law, \(\rm redshift \propto distance\). At large redshifts, the deviation from linearity measures the change in the ratio "velocity" / "distance" with distance itself; since the lookback time (the light-travel time) increases with distance, the curvature of the Hubble diagram thus gives a measure of the past expansion rate of the Universe, and in particular of its deceleration. The deceleration parameter \(q_{0}\) can take only positive values in the simplest cosmological models of General Relativity, the Friedmann models, and \(1/2\) is a critical value: if \(q_{0} > 1/2\), the deceleration is large enough for the expansion eventually to be reversed, but if \(0 < q_{0} \leq 1/2\), the Universe will expand forever; if in fact \(q_{0}\) is negative, indicating that the expansion is accelerating, more complicated cosmological models are required. Evolution of galaxies enters the picture because the lookback times sampled must be many Gyr for the deceleration to be detectable; the galaxies then had significantly different luminosities, so the "distance" parameter, apparent magnitude, cannot be estimated on the assumption of a constant absolute magnitude. The departure of the Hubble diagram from linearity is very sensitive to evolution: if the luminosities of elliptical galaxies grow fainter at a few percent per Gyr, for example, the apparent value of \(q_{0}\) (inferred from the shape of the Hubble diagram) exceeds its true value by several tenths. This problem has been discussed by, ,, and. For an approximate estimate of the evolutionary correction to \(q_{0}\), the above analytical equations can be used. From Equation ([\[eq:eq6.10\]](#eq:eq6.10){reference-type="ref" reference="eq:eq6.10"}), we have \[\frac{d(\ln \ L)}{d(\ln \ t)} =-\theta (\alpha-x) + \frac{t}{1 + G} \frac{dG}{dt}, \label{eq:eq6.14}\] and Equation ([\[eq:eq6.8\]](#eq:eq6.8){reference-type="ref" reference="eq:eq6.8"}) can be used to evaluate \(dG / dt\). The term \(\ell_{\rm g} \tau_{\rm g}\) in the expression for \(G(t)\) depends only slowly on time, because giant branch evolution depends only weakly on mass in the relevant range, so only the explicit time-dependence need be considered and that term gives \((t / G) (dG / dt) = \theta \alpha-1\). Substituting in Equation ([\[eq:eq6.14\]](#eq:eq6.14){reference-type="ref" reference="eq:eq6.14"}), we have \[\frac{d(\ln \ L)}{d(\ln \ t)} =-\theta (\alpha-x) + \frac{G}{1 + G} (\theta \alpha-1). \label{eq:eq6.15}\] The second term in Equation ([\[eq:eq6.15\]](#eq:eq6.15){reference-type="ref" reference="eq:eq6.15"}) is not very important, since \((\theta \alpha-1)\) is a few tenths and \(G / (1 + G)\) lies between 0 and 1. The main term is therefore simply \((-\theta \alpha + \theta x)\), which can be written \[\frac{d(\ln \ L)}{d(\ln \ t)} \simeq-1.3 + 0.3 x. \label{eq:eq6.16}\] Essentially the same result is obtained for the evolution of luminosity in numerical population models. The examples in Figure [\[fig:fig14\]](#fig:fig14){reference-type="ref" reference="fig:fig14"} show the predicted dependence on the IMF: the rate at which \(M_{V}\) gets dimmer is slower in models with a larger value of \(x\). Since giants supply most of the light, this behavior is mainly because, when \(x\) is large, the giant branch is fed by a more richly populated main sequence as time goes on. In the Hubble diagram, evolution means that departures from linearity are due not only to \(q_{0}\) but also to systematic changes in the absolute magnitudes of galaxies (Figure [\[fig:fig13\]](#fig:fig13){reference-type="ref" reference="fig:fig13"}). If the curvature is interpreted without regard to evolution, the result is an apparent value of \(q_{0}\) that differs from the true value by \[\Delta q_{0} \equiv {\rm apparent \ value-true \ value} \simeq-1.5 \frac{d(\ln \ L)}{d(\ln \ t)} \label{eq:eq6.17}\]. A first-order estimate, from Equation ([\[eq:eq6.16\]](#eq:eq6.16){reference-type="ref" reference="eq:eq6.16"}), is therefore \[\Delta q_{0} \simeq 2.0-0.4 x. \label{eq:eq6.18}\] The slope of the IMF, \(x\), emerges as the critical parameter. As discussed in Section [6.2.3](#subsubsec:The ratio of giants to dwarfs in the light){reference-type="ref" reference="subsubsec:The ratio of giants to dwarfs in the light"}, spectroscopic studies indicate that \(x < 2\), and possibly \(x < 1\). In the first case, \(|\Delta q_{0}| \gtrsim 1\), and in the second case, \(|\Delta q_{0}| \gtrsim 1.5\). In either case, the correction for evolution is big enough to make a qualitative difference to the type of cosmology inferred. Current estimates of the apparent value of \(q_{0}\) range from \({\sim} 0\) to \({\sim} 1.5\), the differences being due to unknown sampling and observational effects. Downward corrections of order unity are clearly important in determining whether the true value of \(q_{0}\) is greater than \(1/2\), less than \(1/2\), or even negative. A value of \(x \gtrsim 5\) would be needed to make stellar evolution negligible in the Hubble diagram, but such a steep IMF would make the late dwarfs dominate the infrared light to an extent that is precluded by the giant-dominated spectra of elliptical galaxies. A possible loophole is the following. Equation ([\[eq:eq6.16\]](#eq:eq6.16){reference-type="ref" reference="eq:eq6.16"}) depends on the value of \(x\) for stars near turnoff, while the infrared spectra depend on the ratio of giants to dwarfs of types K and M; if the IMF were to turn over sharply between \({\sim} 0.5\) and \(1 \: \rm M_{\odot}\) (i.e., having far fewer less massive stars that the turnoff slope would predict), one could have both a steep slope at turnoff and a very small contribution from dwarfs to the infrared light. This idea is, of course, completely ad hoc, since the IMF in the Solar neighborhood has \(x < 2\) for all masses \(< 10 \: \rm M_{\odot}\), and does not cut off above \({\sim} 0.2 \: \rm M_{\odot}\). It is therefore most reasonable to conclude that elliptical galaxies have giant-dominated spectra because the IMF has a fairly shallow slope at turnoff; if so, their luminosity evolves fast enough to make the apparent value of \(q_{0}\) exceed its true value by 1 or more. However, this is not all we need to know to unravel the Hubble diagram. The galaxies used for this test are the central cluster giants, which are believed to grow secularly by cannibalizing their neighbors (Section [5.3.3](#subsubsec:Mergers of stellar systems){reference-type="ref" reference="subsubsec:Mergers of stellar systems"}). This process could plausibly lead to a growth rate in the total stellar population of several percent per Gyr, with a corresponding increase of luminosity in opposition to the effect just discussed. The dynamical effects cannot yet be calculated accurately enough for a correction to be applied to the Hubble diagram, so this test does not yet give a usefully accurate value of \(q_{0}\). The situation is reviewed by.
### Evolution of colors {#subsubsec:Evolution of colors}
Predictions of color evolution are of interest because they can be tested by observations of distant elliptical galaxies whose ages are several Gyr younger than nearby galaxies. The colors of a single-generation population become redder with age, if the main course of stellar evolution is peeling off the MS at turnoff and following the red giant branch. The main contribution to the color change is the redward evolution of the turnoff, since giant evolution is insensitive to turnoff mass in the range of interest. Consequently, colors evolve faster if the light is less giant-dominated, i.e. if \(x\) is larger, in contrast to the integrated luminosities just discussed. This behavior is illustrated in Figure [\[fig:fig14\]](#fig:fig14){reference-type="ref" reference="fig:fig14"}. Qualitatively different behavior is predicted if the stars can lose enough mass to become blue horizontal-branch stars, instead of the red "clump" giants that normally represent the core helium burning stage of metal-rich low-mass stars (Section [2.4.1](#subsubsec:Solar mass){reference-type="ref" reference="subsubsec:Solar mass"}). It has been suggested that such stars lose mass at a variety of rates, some becoming late red giants and others becoming blue. Numerical models for galaxy populations in which mass loss occurs stochastically on the red giant branch have been studied by. Because evolution to a blue position in the HR diagram occurs only if the star has a small mass of envelope left, the fraction of giants becoming blue increases as the turnoff mass decreases. The upshot is that the integrated colors of the model galaxies evolve blueward after \({\sim} 8 \: \rm Gyr\). Observations of distant elliptical galaxies are ambiguous on this point, as reviewed by. Some of the most distant central cluster galaxies known, with redshifts \({\sim} 0.6\), have intrinsic colors that are bluer than those of nearby ellipticals, but the distant galaxies were selected on the basis of strong radio emission so they may be atypical. If they are typical, the color change is about that expected according to the type of models that evolve monotonically toward redder colors (e.g. Figure [\[fig:fig14\]](#fig:fig14){reference-type="ref" reference="fig:fig14"}); the lookback time sampled is \({\sim} 4-7 \: \rm Gyr\), depending on the cosmological model. Another sample of central cluster galaxies with redshifts up to nearly \(0.5\) has no systematic dependence of color on redshift that can be disentangled from the intrinsic scatter. Dramatic color differences between nearby and distant galaxy populations in clusters have been discovered by. Nearby clusters, i.e. those with lookback times \(< 1 \: \rm Gyr\), have galaxy populations that are strongly correlated with the cluster morphology: loose, irregular clusters have a large fraction of spiral galaxies, and centrally concentrated, regular clusters have very few spirals and mainly S0 and elliptical galaxies; the brighter galaxies in regular clusters are correspondingly all red. However, in two regular clusters with lookback times \({\sim} 5 \: \rm Gyr\), the bright galaxies are found to have a wide range of colors, including many that are as blue as late-type spiral galaxies. On the assumption that the distant regular clusters represent younger versions of the nearby ones, these very blue galaxies must evolve (in a few Gyr) into red S0s or ellipticals. The color change observed is many times greater than any predictions based on the evolution of single-generation populations, so it is concluded that those galaxies were actively forming stars just a few Gyr ago. Presumably, they are mainly the precursors of S0 galaxies seen in nearby clusters, in which star formation is undetectable.
# Colors and Star Formation Rates {#sec:Colors and Star Formation Rates}
The stellar populations in most galaxies are far more complicated than those in ellipticals, because young stars are important contributors to the light. The time-dependence of the SFR is therefore an important parameter in addition to the three quantities (age, IMF, and metallicity) used to characterize old populations, and the latter quantities could also be changing in time. Moreover, the colors of spiral and irregular galaxies are often affected by internal reddening and gaseous emission lines. Despite the complications presented by these galaxies, it is especially interesting to try to understand their photometric properties in terms of histories of star formation. Applications of such studies include explaining correlations between form and photometric properties, finding what physical conditions are conducive to star formation, and searching for young galaxies. Models for galaxies with ongoing star formation are usually numerical; analytical approximations are cumbersome except in the simplest case of a constant SFR. This Section will consider models that study only a few simple properties, mainly just UBV colors. Although more can be learned from spectroscopic details, the UBV system has the advantage of an extensive and homogeneous compilation of galaxy colors in the Second Reference Catalogue of Bright Galaxies ([@deVaucouleurs1976SecondGalaxies.]; to be referred to as ).
## UBV Colors of Normal Galaxies {#subsec:UBV Colors of Normal Galaxies}
The UBV colors of a sample of morphologically normal galaxies are shown in Figure [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"}; the crosses are all elliptical and S0 galaxies, and the dots are a variety of morphological types, which we consider first. The colors of these galaxies form such a narrow distribution in the two-color diagram that it is tempting to look for one dominant parameter that could vary among galaxies and lead to a one-dimensional set of colors. Because the appearance and spectra of galaxies suggest a progression of star-forming activity, ranging from very active in late-type irregulars to negligible in ellipticals, it is natural to suggest that the color sequence is due to different proportions of young and old stars. Population syntheses and evolutionary models have confirmed this view, and their conclusions can be summarized (with some oversimplification) in a "standard scenario" for galaxy evolution: normal galaxies have the same IMF and mean stellar metallicities, and they are of the same age, but they differ in the time-dependence of their SFRs; in particular, the latest (bluest) types of galaxies form stars on a long timescale, while the earliest (reddest) ceased star formation long ago. This hypothesis is obviously inaccurate in detail, but it provides a useful starting point. It will be used to construct a series of "standard" galaxy models, whose colors will be compared with observations, and then the effects of factors other than the SFR will be considered in turn.
### "Standard" models {#subsubsec:Standard models}
The methods discussed in Section [6.1.2](#subsubsec:Evolutionary models){reference-type="ref" reference="subsubsec:Evolutionary models"} have been used by various authors to construct models corresponding to the standard scenario; the (typical) results shown here are from. Let us consider models with the IMF of the Solar neighborhood, Solar (or old-disk) metallicity, and an age of \(10 \: \rm Gyr\); the exact choice of these standard parameters is not critical, as shown below. The models have monotonically decreasing SFRs (\(\psi\)), ranging from constant to a single initial burst lasting \(10^{7} \: \rm yr\). Different series of models have different monotonic functions \(\psi(t)\) between these extremes, such as exponential functions, negative powers of time, and combinations of the constant and single-burst models as two components in different proportions. The colors of these series in the UBV diagram all lie very near the locus indicated by a single heavy line in Figure [\[fig:fig16\]](#fig:fig16){reference-type="ref" reference="fig:fig16"}: the model with a constant SFR is at the top of this line, that with an initial burst is at the bottom, and the form of the curve in between is essentially the same for all series with various functional forms for \(\psi(t)\). The theoretical locus for these standard models is very close to the observed mean locus for galaxies of different types (line in Figure [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"}), so the standard scenario is at least superficially consistent. Two conclusions can be stated.
1. *The UBV colors of normal galaxies can in general be accounted for by models with the same age, metallicity, and IMF*; most of the observed colors lie in the range predicted for monotonically decreasing SFRs, within the observational errors. A further conclusion is that late-type galaxies are not necessarily young, even though their appearance and blue-light spectra are dominated by short-lived OB stars; the integrated colors are instead consistent with an underlying population of stars with ages up to many billions of years. These conclusions have been stressed in the context of evolutionary models by, ,, and. Caveats and deviations from the norm are discussed below.
2. *Models with monotonically declining SFRs (and with the same age, metallicity, and IMF) define a one-parameter sequence in the (\(U-B\), \(B-V\)) plane*. Inspection of the models shows that the parameter is the ratio of the present SFR to its average value over the lifetime of the system; or equivalently the SFR per unit mass of stars (\(\psi_{1} / M_{\rm s}\) or \(\psi_{1} / \overline{\psi}_{1} t_{1}\)); or equivalently the inverse of these quantities, a *timescale for star formation* \(T_{1} \equiv \overline{\psi}_{1} t_{1} / \psi_{1}\), in the notation of Section [2.2](#subsec:IMF){reference-type="ref" reference="subsec:IMF"}. Galaxies of the latest morphological types are the bluest objects in Figure [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"}, and these evidently have the longest timescales for star formation, while the earliest types, which are the reddest, have the shortest timescales; this point will be discussed further in Section [7.1.6](#subsubsec:Relevance to the formation and structure of normal galaxies){reference-type="ref" reference="subsubsec:Relevance to the formation and structure of normal galaxies"}.
The one-parameter sequence shows that UBV colors for a given value of \(T_{1}\) are almost independent of the functional form of \(\psi(t)\), as long as it is monotonic. An unfortunate consequence of this result is that the UBV colors of a galaxy (if near the mean locus in Figure [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"}) cannot give any more information about the SFR than the quantity \(T_{1}\). In practice, they give less information, because of ambiguities due to possible variations of metallicity, etc., as shown below. The sensitivity of colors to the single parameter \(T_{1}\) is due to the dominance of low-mass giants and/or young OB stars in the light of galaxies, as discussed in Section [6.1.2](#subsubsec:Evolutionary models){reference-type="ref" reference="subsubsec:Evolutionary models"}. In effect, the contribution of low-mass giants is proportional to the number of long-lived stars ever formed, and the contribution of upper-main-sequence stars is proportional to the present SFR, so their ratio is proportional to \(T_{1}\). The integrated colors are insensitive to details of the past SFR because A--F dwarfs with intermediate lifetimes contribute relatively little light, and because the nature of the giant branch changes little over a wide range of MS lifetimes for the precursor stars. For the same reasons, it is difficult to extract significantly more information about the history of star formation in a galaxy from more detailed photometry than from UBV colors. We next consider some possible problems with the simple one-parameter scenario.
### Possible effects of errors {#subsubsec:Possible effects of errors}
Three systematic discrepancies between the models and data can be seen on comparing Figures [\[fig:fig16\]](#fig:fig16){reference-type="ref" reference="fig:fig16"} and [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"}: the heavy theoretical line lies about \(0.05 \: \rm mag\) about the empirical mean locus, some galaxies are bluer than the bluest model, and some are redder than the reddest model. The systematic offset is no more than could be due to errors in the stellar evolution tracks, judged from series of models based on alternative tracks. If this offset is corrected ad hoc by moving the heavy theoretical line downward, there are still some bluer and redder galaxies than predicted. The differences seem to be too big to ascribe to uncertainties in the stellar evolution used, and they cannot be corrected by redefining the "standard" age or metallicity, since an improvement at the red end would leave more discrepant galaxies at the blue end, and vice versa. Nor can the "standard" IMF be changed, since if the IMF is universal it must be the same as the local function. Therefore, not all of the discrepancies between the heavy line and the data are due to theoretical errors within the framework of the standard scenario. Although the mean error bar shown for the data in Figure [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"} is small, some of the colors may have significantly larger errors due to uncertainties in the reduction. The colors plotted were corrected in the on a statistical basis for Galactic and internal reddening, so excessively red and blue galaxies could result from inappropriate corrections in a few cases. A reddening vector (from the ) is shown in Figure [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"}, and it indicates that galaxies away from the ends of the distribution could not be moved far from the mean locus except by extremely large over-or underestimates of their reddening, because the vector happens to lie almost parallel to the mean locus itself. Emission lines can affect the colors of late-type galaxies, but the estimates made by indicate that morphologically normal galaxies are unlikely to have strong enough gaseous emission for this to be important. In summary, it seems likely that some normal galaxies have colors that are too red or too blue to be accounted for by the standard scenario. Two questions arise: How can the discrepant galaxies be accounted for? And could normal galaxies have significant variations in age, IMF, or metallicity that do not show up on the UBV plot?
### Variations in age {#subsubsec:Variations in age}
Light lines in Figure [\[fig:fig16\]](#fig:fig16){reference-type="ref" reference="fig:fig16"} indicate the effects of allowing ages between 5 and \(20 \: \rm Gyr\). The loci for different ages overlap, so most of the galaxies in Figure [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"} could have any ages in this range. The extreme colors, however, do depend on age, and the bluest and reddest data points could be accounted for if the ages of galaxies vary by a factor \({\sim} 4\). We shall see that this is not the only possible explanation of those data points, since metallicity effects are probably important.
### Variations in metallicity {#subsubsec:Variations in metallicity}
Effects of different stellar metallicities (\(Z_{\rm s}\)) can be estimated as outlined in Section [6.1.2](#subsubsec:Evolutionary models){reference-type="ref" reference="subsubsec:Evolutionary models"}, and some approximate results are indicated in Figure [\[fig:fig16\]](#fig:fig16){reference-type="ref" reference="fig:fig16"}; the slope of the vector for red galaxies is empirical, but the slope for blue galaxies and the length of each vector are uncertain by factors \({\sim} 2\). As discussed in Section [5.1](#subsec:Data2){reference-type="ref" reference="subsec:Data2"}, the sequence of colors for E--S0 galaxies (crosses in Figure [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"}) is regarded as one of metallicity. This sequence closely overlaps the locus of galaxies with different SFRs and ages, so UBV colors alone cannot unambiguously give the SFR parameter (\(T_{1}\)), age, and \(Z_{\rm s}\) for a population of stars. The reddest points in Figure [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"} are giant elliptical galaxies, which almost certainly have a mean \(Z_{\rm s}\) greater than Solar (in the aperture used for the colors); if the galaxies have some residual star formation, it is undetected to date, but it could affect the colors enough to change the estimated \(Z_{\rm s}\) and/or age somewhat. The bluest points in Figure [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"} are small late-type galaxies. It is known from studies of the gaseous emission lines in some such galaxies that they can be significantly metal-poor (e.g. a factor of 4 in the Small Magellanic Cloud; [@Pagel1978AClouds]), so a low \(Z_{\rm s}\) could help to make these points very blue. The effects of abundance changes on the colors of blue galaxies are too uncertain to say whether another effect, such as a somewhat younger age, is also required to account for their being bluer than the standard sequence.
### Variations in the IMF {#subsubsec:Variations in the IMF}
To show possible effects of variations in the IMF, Figure [\[fig:fig16\]](#fig:fig16){reference-type="ref" reference="fig:fig16"} includes the loci of UBV colors of models differing from the standard sequence only in their IMF. Two of the variants have constant slopes, \(x = 1\) and \(x = 2\), while the third has \(x = 1\) and an upper limit \(m_{\rm U} = 10 \: \rm M_{\odot}\) compared to \(30 \: \rm M_{\odot}\) in all other cases[^11]. For blue galaxies, the local IMF gives colors between those for \(x = 1\) and \(x = 2\). In general, the colors are redder with a larger value of \(x\) or a smaller value of \(m_{\rm U}\), since there are relatively few upper-MS stars. Comparisons with Figure [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"} show that the variants illustrated are about the largest deviations from the local IMF that one could have without predicting a greater color spread than is observed. This conclusion applies only to the bluer galaxies, and only to stars \(\gtrsim 1 \: \rm M_{\odot}\) that contribute significantly to their light. It is clear from Figure [\[fig:fig16\]](#fig:fig16){reference-type="ref" reference="fig:fig16"} that the UBV colors of redder galaxies (\(B-V \gtrsim 0.8\)) are very insensitive to the variations of IMF considered. Additional information on the IMF, derived from spectroscopic studies and \(M / L\), was discussed in Section [2.2.2](#subsubsec:Other IMF){reference-type="ref" reference="subsubsec:Other IMF"}. Possible departures from the local IMF discussed there are a lack of stars above \(10 \: \rm M_{\odot}\) in some early-type spirals, and ubiquitous variations in the fraction of very low-mass objects. In elliptical galaxies, the IMF between \({\sim} 0.4\) and \(1 \: \rm M_{\odot}\) cannot be very much steeper than the local function (Section [6.2.3](#subsubsec:The ratio of giants to dwarfs in the light){reference-type="ref" reference="subsubsec:The ratio of giants to dwarfs in the light"}).
### Relevance to the formation and structure of normal galaxies {#subsubsec:Relevance to the formation and structure of normal galaxies}
To summarize the preceding discussion, every aspect of the standard scenario has been shown to have its weaknesses: the metallicity, IMF, and age are known to vary from one galaxy to another and/or could vary significantly without affecting the locus of normal UBV colors. Nevertheless, it is true that the main parameter causing the progression of colors of morphologically normal galaxies is the timescale for star formation. The average UBV colors of galaxies of different Hubble types lie along the middle of the distribution in Figure [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"}, with the latest types at the top and the earliest at the bottom. Thus *there is a strong correlation between the structure of galaxies and their timescales for star formation*. Star formation seems to be most efficient in the galaxies with the highest bulge-to-disk ratios, and, among the spirals, it is most efficient in those with the tightly wound spiral arms. An obvious question is whether the shape of a galaxy is a consequence of its efficiency of star formation, or whether, conversely, the timescale for star formation is determined by the structure. Both effects are believed to be present. On one hand, more efficient early star formation leads to a galaxy with a greater bulge-to-disk ratio (Section [1.2](#subsec:Galaxy_Formation){reference-type="ref" reference="subsec:Galaxy_Formation"}): the formation of a spheroidal component requires that the stars in this component formed on a timescale less than that for gaseous dissipation in the protogalaxy. On the other hand, the present structure of a galaxy governs its large-scale dynamics, which in turn has important effects on star formation (Section [2.3.3](#subsubsec:SFR factors){reference-type="ref" reference="subsubsec:SFR factors"}); for example, a more prominent bulge implies a greater surface density, which can lead to stronger gas compression and so to more efficient star formation in the disk. The papers cited in Section [1.2](#subsec:Galaxy_Formation){reference-type="ref" reference="subsec:Galaxy_Formation"} and Section [2.3.3](#subsubsec:SFR factors){reference-type="ref" reference="subsubsec:SFR factors"} give many more detailed discussions, and further references, on the origin of the Hubble sequence of galaxy types and the numerous properties of galaxies that correlate with their forms. S0 galaxies, which are disk galaxies without spiral structure, are an inscrutable class. Like elliptical galaxies, they have colors consistent with no ongoing star formation (or possibly a little, showing at short wavelengths; Section [6.1.1](#subsubsec:Population synthesis){reference-type="ref" reference="subsubsec:Population synthesis"}). There are currently two types of theory on the origin of S0 galaxies: in the first, they are former spirals that have no more star formation because their ISM was lost, either in a collision with another galaxy or by ram-pressure sweeping due to motion through an ambient IGM; in the second type of theory, S0 galaxies had intrinsically very efficient star formation in their disks at early stages. The second type of theory is preferred by some authors because S0 galaxies in isolation and in dense clusters have essentially the same low contents of neutral hydrogen and the same distributions of colors, and because there are some structural differences between S0s and spirals. Nevertheless, the first picture is supported circumstantially by the high proportion of S0 galaxies in clusters, especially in their central regions, and especially in clusters with hot IGM. Arguments based on colors are not decisive, because models in which star formation stopped long ago have similar present colors to those in which it stopped only a few Gyr ago. Whatever mechanism cuts off star formation, the very blue galaxy content of distant, regular clusters strongly suggests that many S0 galaxies were actively making stars only \({\sim} 4 \: \rm Gyr\) ago (Section [6.2.7](#subsubsec:Evolution of colors){reference-type="ref" reference="subsubsec:Evolution of colors"}). It is especially interesting that some nearby clusters contain "anemic" spirals, with weak spiral structure and a subnormal neutral hydrogen content, that have been interpreted as disk systems at a stage of evolution between normal spirals and stripped S0s.
## Colors of Peculiar Galaxies {#subsec:Colors of Peculiar Galaxies}
Galaxies with morphological peculiarities have peculiar colors too, as illustrated in Figure [\[fig:fig17\]](#fig:fig17){reference-type="ref" reference="fig:fig17"}, which is a UBV diagram for systems in the *Atlas of Peculiar Galaxies*. The width of their color distribution is in striking contrast to the narrow locus of normal galaxies (Figure [\[fig:fig15\]](#fig:fig15){reference-type="ref" reference="fig:fig15"}), and on closer inspection the width turns out to be due almost entirely to interacting galaxies, which are shown as crosses in Figure [\[fig:fig17\]](#fig:fig17){reference-type="ref" reference="fig:fig17"}. The implication is that dynamical disturbances have led to an unusual star formation history, so a study of these galaxies and their colors might shed some light on the process of star formation in general.
### Bursts of star formation and blue colors {#subsubsec:Bursts of star formation and blue colors}
If the SFR in a galaxy does not decrease monotonically, colors very different from those of the standard models in Section [7.1](#subsec:UBV Colors of Normal Galaxies){reference-type="ref" reference="subsec:UBV Colors of Normal Galaxies"} can be obtained. The idea of star formation in "flashes" or "bursts" was introduced by (see also [@Searle1973TheGalaxies]) to explain the very blue colors of some dwarf irregular galaxies, and it has appeared in other contexts including elliptical galaxies with patches of star formation and the peculiar galaxies discussed here. The effects of a burst of star formation on a formerly red galaxy are illustrated in Figure [\[fig:fig18\]](#fig:fig18){reference-type="ref" reference="fig:fig18"}, where the heavy curve is the locus of standard models aged \(10 \: \rm Gyr\), from Figure [\[fig:fig16\]](#fig:fig16){reference-type="ref" reference="fig:fig16"}. The colors of younger galaxies are shown in two extreme cases: the dotted line is a model with a constant SFR, evolving through the ages shown (in Gyr), and the heavy dashed line (on the left) is a model whose star formation stopped at \(10^{7} \: \rm yr\). The latter curve can be regarded as the evolution of a cluster of stars formed in a period of \(10^{7} \: \rm yr\), or equivalently as the colors resulting from stars formed in a burst lasting \(10^{7} \: \rm yr\). The light solid lines are the loci of models made of two components:
1. a red galaxy aged \(10 \: \rm Gyr\), with no ongoing star formation; and
2. stars formed in a burst of duration \(10^{7} \: \rm yr\), seen at ages \(10^{7} \: \rm yr\) (upper line) and \(10^{8} \: \rm yr\) (lower light solid line).
The numbers along the upper curve are a burst strength parameter, defined as the mass ratio of stars formed in the burst to stars in the old red galaxy. Finally, the light dashed lines represent the evolution of a composite system, from age \(10^{7} \: \rm yr\) when the star formation in the burst stops; these are lines of constant burst strength, and they cross the lower light solid line when the age is \(10^{8} \: \rm yr\). (The heavy dashed line is the limiting case of a burst of infinite strength, i.e., without any underlying old stars). It can be seen that a burst of star formation in a red galaxy gives colors initially above the normal UBV locus, since the young stars cause an "ultraviolet excess"; as the burst ages, the colors evolve across the normal locus after nearly \(10^{8} \: \rm yr\); then they fall below the normal line and eventually become imperceptibly different from the colors of an undisturbed old galaxy. Evidently the colors of peculiar galaxies in Figure [\[fig:fig17\]](#fig:fig17){reference-type="ref" reference="fig:fig17"} can be explained by bursts of star formation of various strength and ages in galaxies with various initial colors. Using a series of models like those in Figure [\[fig:fig18\]](#fig:fig18){reference-type="ref" reference="fig:fig18"}, found that most of the galaxies can be accounted for with bursts of strength less than \(5\%\) and duration \(< 2 \times 10^{7} \: \rm yr\); a few more deviant colors are probably due to observational scatter, internal reddening, non-thermal continuum emission (in two Type I Seyfert galaxies in the sample), and strong gaseous emission lines, whose effects on colors are discussed by. The strongest bursts of star formation are inferred for galaxies in distorted close pairs, often with bridges or tails, and in apparently single systems with tails and filamentary streamers. Dynamical models for colliding galaxies predict features like these in cases of strong tidal deformation and recent mergers, so it appears that violent dynamical interactions lead to star formation. For this reason, it has been suggested that the stars in elliptical galaxies could have formed in bursts due to collisions and mergers among protogalactic subsystems (Section [5.3.2](#subsubsec:Bursts of star formation in merging subsystems){reference-type="ref" reference="subsubsec:Bursts of star formation in merging subsystems"}). Figure [\[fig:fig18\]](#fig:fig18){reference-type="ref" reference="fig:fig18"} shows that the colors of models with bursts of strength \(10\%\) and infinity are very similar. The differences are less than the observational uncertainties for many faint peculiar galaxies, and the theoretical uncertainties in stellar evolution, metallicity effects, etc. In other words, it is not possible to tell from UBV colors alone whether a galaxy is really young or has \(90\%\) of its mass in old stars! Some of the galaxies near the upper left in Figure [\[fig:fig17\]](#fig:fig17){reference-type="ref" reference="fig:fig17"} are very chaotic in appearance, and are tempting candidates for truly young galaxies, but in all cases the colors are inconclusive and the appearance could be due to a violent collision or irregularly distributed star formation in an old galaxy. Colors at longer wavelengths, such as \(V-K\), are much more sensitive than \(B-V\) to the presence of some old stars that would distinguish between a truly young system and one with a burst strength \({\sim} 10\%\). Galaxies with very active star formation are often dusty, so red colors could be due to reddening rather than to age; on the other hand, very blue values of \(V-K\) would indicate a lack of red giants, and much stronger limits could be put on the mass of any underlying old component. As yet, there are no known nearby galaxies in which the dominant young stellar component could not be masking a significant mass of old stars.
### Highly reddened galaxies {#subsubsec:Highly reddened galaxies}
Some regions of galaxies that are suspected of having intense star formation are extremely dusty, and they show thermal infrared (IR) emission that is interpreted as re-radiation of starlight by the dust. Example of such regions include the centers of M82 and NGC 253, and the dust band around NGC 5128. Star formation is indicated by early-type spectra and blue colors in unobscured patches, emission from interstellar molecules, and the lack of more plausible explanations for the IR emission. In NGC 5128, the dust band has an IR luminosity of a few times \(10^{10} \: \rm L_{\odot}\), which rivals the visual luminosity of the entire elliptical galaxy. If the IR luminosity is assumed to represent the bolometric luminosity of buried stars, an SFR can be estimated: models like those of Section [7.1](#subsec:UBV Colors of Normal Galaxies){reference-type="ref" reference="subsec:UBV Colors of Normal Galaxies"} show that any system with a mass-to-luminosity ratio \(M_{\rm s} / L_{\rm bol} < 0.5\) is so dominated by young stars that \(L_{\rm bol}\) is almost directly proportional to the SFR; with the local IMF, the relation is \[\psi \simeq (0.1-0.4) \frac{L_{\rm bol}}{\rm L_{\odot}} \: \rm M_{\odot} \ Gyr^{-1}. \label{eq:eq7.1}\] An upper limit to the time for which star formation could have continued at this rate is approximately \(M_{\rm s} / \psi\), so the limiting timescale \(\tau_{\rm s}\) depends only on \(M_{\rm s} / L_{\rm bol}\), according to the relation \[\tau_{\rm s} \equiv \frac{M_{\rm s}}{\psi} \sim (3-10) \frac{M_{\rm s} / L_{\rm bol}}{\rm M_{\odot} / L_{\odot}} \: \rm Gyr. \label{eq:eq7.2}\] Some galactic nuclei have such strong IR emission that \(M_{\rm s} / L_{\rm bol}\) is only a few hundredths, so the timescale is only a few times \(10^{8} \: \rm yr\). The dust-band region of NGC 5128 is also making stars at a prodigious rate: given a luminosity \({\sim} 10^{10} \: \rm L_{\odot}\), Equation ([\[eq:eq7.1\]](#eq:eq7.1){reference-type="ref" reference="eq:eq7.1"}) leads to an SFR of about \(2 \: \rm M_{\odot} \ yr^{-1}\), so a respectable disk of stars could be built in just a few times the dynamical timescale of the system. has suggested that NGC 5128 could evolve into an early-type spiral seen edge-on, like the Sombrero galaxy M104. Since most of the bolometric light comes from massive stars, the above ratios of SFR to \(L_{\rm bol}\) could be overestimates if low-mass stars are not forming. For example, in the models discussed, stars above \(10 \: \rm M_{\odot}\) contribute \(90\%\) of \(L_{\rm bol}\), but stars below \(1 \: \rm M_{\odot}\) account for \(80\%\) of the mass formed into stars. There is no reason to suspect a lack of low-mass stars, however, especially since low-mass protostars (T Tauri stars) are associated with dark clouds in the Milky Way. These very dusty galaxies with intense star formation lead again to the question of what truly young galaxies would look like. In the absence of dust they would be very blue, like the young models in Figure [\[fig:fig18\]](#fig:fig18){reference-type="ref" reference="fig:fig18"}, but it seems that the regions of galaxies with the most intense bursts are the very reddened ones just described. This question is important in the context of primeval galaxies at large redshifts, i.e. the early stages of most normal galaxies that now have ages \({\sim} 10 \: \rm Gyr\). Starting with the ideas of, most models for primeval galaxies have assumed that hot young stars would be visible and lead to detectable luminosities (despite the great distances) during a brilliant early burst of star formation. A model for a very dusty primeval galaxy has been studied by, and considered the possibility of substantial radiation from dust. If the very dusty nearby galaxies are the best analogs of truly primeval systems, as suggested by, their prospects for detection at optical wavelengths are dim. Observational searches have so far produced null results. Another factor making primeval galaxies hard to detect could be that most galaxies have such a long timescale for star formation that there is not a very bright phase at an early peak SFR. One argument is that most spiral galaxies have colors that correspond to rather long timescales for star formation (Section [7.1](#subsec:UBV Colors of Normal Galaxies){reference-type="ref" reference="subsec:UBV Colors of Normal Galaxies"}), precluding a significant early burst with a corresponding peak in luminosity. Moreover, even elliptical galaxies could form their stars over rather long time intervals if star formation occurs during a series of mergers among subsystems (Section [5.3.2](#subsubsec:Bursts of star formation in merging subsystems){reference-type="ref" reference="subsubsec:Bursts of star formation in merging subsystems"}). According to these ideas, late-type galaxies could be fainter in the past than they are now, and early-type galaxies could experience their brightest evolutionary stages only a few Gyr ago. Galaxies in interestingly early evolutionary stages have indeed already been found at moderate redshifts: distant clusters have excess numbers of blue galaxies (Section [6.2.7](#subsubsec:Evolution of colors){reference-type="ref" reference="subsubsec:Evolution of colors"}; [@Butcher1978The295]), and counts in the field show a large excess of blue galaxies at faint apparent magnitudes. Further studies of these phenomena will surely shed light on the ways in which stars and galaxies have formed during cosmological time.
# Conclusion {#sec:Conclusion}
Returning to the outline of galactic evolution in Figure [\[fig:fig1\]](#fig:fig1){reference-type="ref" reference="fig:fig1"}, one can see how much remains to be learned before the jigsaw puzzle will be complete enough for a clear picture to emerge. Essentially every aspect of the subject needs further observational and theoretical study, so galactic evolution will long be a fertile field for research. | {'timestamp': '2022-03-09T02:22:13', 'yymm': '2203', 'arxiv_id': '2203.02041', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02041'} |
# Introduction
Deep visuomotor policies that map from pixels to actions end-to-end can represent complex manipulation skills, but have shown to be sensitive to the choice of action space --e.g., Cartesian end effector actions (i.e. task space ) perform favorably when learning policies for tabletop manipulation, while joint actions have shown to fare better for whole-body motion control. In particular, policies modeled by deep networks are subject to spectral biases that make them more likely to learn and generalize the low-frequency patterns that exist in the control trajectories. Hence, choosing the right action space in which to define these trajectories remains a widely recognized problem in both reinforcement learning as well as imitation learning, where demonstrations can be provided in a wide range of formats--e.g., continuous teleoperation in Cartesian or joint space, kinesthetic teaching, etc.--each changing the underlying characteristics of the training data. Although considerable research has been devoted to finding the right action space for a given application, much less attention has been paid to figuring out how our models could instead discover for themselves which optimal combination of action spaces to use. This goal remains particularly unclear for most *explicit* policies \(f_\theta(\textbf{o})=\hat{\textbf{a}}\) with feed-forward models that take as input observations \(\textbf{o}\) and output actions \(\textbf{a}\in\mathcal{A}\). Explicit formulations must either specify a single action space to output from the model and potentially convert predictions into another desired space (e.g. with inverse kinematics), or use multiple action spaces with multiple outputs and losses which can be subject to conflicting gradients from inconsistent predictions. In this work, we demonstrate that we can train deep policies to learn which action space to use for imitation, made possible by implicit behavior cloning (BC). In contrast to its explicit counterpart, *implicit* BC formulates imitation as the minimization of an energy-based model (EBM) \(\hat{\textbf{a}}=\arg\min_{\textbf{a} \in \mathcal{A}} E_{\theta}(\textbf{o},\textbf{a})\), which regresses the optimal action via sampling or gradient descent. Since actions are now inputs to the model, we propose presenting the model with the same action represented in multiple spaces while remaining consistent between each other, allowing the model to pick up on inductive patterns from all action representations. We study the benefits of this multi-action-space formulation with Cartesian task and joint action spaces in the context of learning manipulation skills. Since both spaces are linked by the kinematic chain, we can integrate a differentiable kinematic module within the deep network--a formulation which we refer to as Implicit Kinematic Policies (IKP). IKP can be weaved into an implicit autoregressive control strategy introduced in, where each action dimension is successively and uniformly sampled at a time and passed as input to the model. This exposes the model to not only the joint configuration and end-effector pose, but also the Cartesian action representations of *every rigid body link* of the arm as input. This can provide downstream benefits when learning whole-body manipulation tasks that may have emergent patterns in the trajectory of any given link of the robot. Furthermore, a key aspect of Implicit Kinematic Policies is that in addition to exposing the implicit policy to both Cartesian and joint action spaces, it also enables incorporating learnable layers throughout the kinematic chain, which can be used to optimize for residuals in either space Our main contribution is Implicit Kinematic Policies, a new formulation that integrates forward kinematics as a differentiable module within the deep network of an autoregressive implicit policy, exposing both joint and Cartesian action spaces in a kinematically consistent manner. Behavior cloning experiments across several complex vision-based manipulation tasks suggest that IKP, without any modifications, is broadly capable of efficiently learning both prehensile and non-prehensile manipulation tasks, even in the presence of miscalibrated joint encoders--results that may pave the way for more data efficient learning on low-cost or cable-driven robots, where low-level joint encoder errors (due to drift, miscalibration, or gear backlash) can propagate to large non-linear artifacts in the Cartesian end effector trajectories. IKP achieves 85.9%, 97.5% and 92.4% on a sweeping, non-prehensile box lifting and precise insertion task respectively--performance that is on par with or exceeds that of standard implicit or explicit baselines (using the best empirically chosen action space per individual task). We also provide qualitative experiments on a real UR5e robot suggesting IKP's ability to learn from noisy human demonstrations in a data-efficient manner. Our experiments provide an initial case study towards more general action-space-agnostic architectures for end-to-end robot learning.
# Related Work
## Learning Task-Specific Action Representations
While much of the early work in end-to-end robot learning has focused on learning explicit policies that map pixels to low-level joint torques, more recent work has found that the choice of action space can have a significant impact on downstream performance for a wide range of robotic tasks ranging from manipulation to locomotion. In the context of deep reinforcement learning for locomotion, find that using PD joint controllers achieves higher sample efficiency and reward compared to torque controllers on bipedal and quadrupedal walking tasks in simulation, whereas interestingly find that torque controllers outperform PD joint controllers for a real robot hopping task. In contrast, shows that using task space actions are more effective for learning higher level goals of legged locomotion compared to joint space controllers and demonstrate results on a real bipedal robot. Careful design of the action space is equally important when learning manipulation skills with high DoF robots. Prior approaches successfully use direct torque control or PD control with joint targets to learn a variety of tasks such as pick-and-place, hammering, door opening and stacking, but these methods often require lots of data and interaction with the environment to generalize well and are also sensitive to feedback gains in the case of PD control. Other works default to low-level residual cartesian PD controllers in order to learn prehensile tasks such as block stacking and insertion, but instead vouch for a task-space impedance controller to support more compliant robot control. However, this approach is agnostic to the full joint configuration of the robot and focuses on tabletop manipulation which is generally better defined in task space. Fundamentally, these works share the common theme of choosing the single best action space for a particular task. In this work, we are more concerned with the problem of extracting the best combination of action spaces.
## Difficulties in Learning High-Frequency Functions
The proposed benefits of implicit kinematic policies rely on the hypothesis that simpler patterns are easier for deep networks to learn. Although theoretical analyses of two-layer networks and empirical studies of random training labels have shown that deep networks are prone to memorization, further studies on network convergence behavior and realistic dataset noise have found that this result does not necessarily explain performance in practice. Instead, deep networks first learn patterns across samples before memorizing data points. formalize this finding and show that deep networks have a learning bias towards low-frequency functions by using tools from Fourier analysis and extend this result by showing that networks fit increasingly higher frequency functions over the course of training. Within learning-based robotics, multiple works have found the related result that higher-level action spaces lead to improved learnability. Specifically, the frequency of the action space can have an outsized effect on the robustness and quality of learned policies. This could explain why learned, latent actions improve performance and generalizability for policies trained either with reinforcement learning or imitation learning.
# Background
## Problem Formulation
We consider the imitation learning setting with access to a fixed dataset of observation-action pairs. We frame this problem as supervised learning of a policy \(\pi: \mathcal{O} \rightarrow \mathcal{A}\) where \(\mathbf{o} \in \mathcal{O} = \mathbb{R}^m\) represents an observational input to the policy and \(\mathbf{a} \in \mathcal{A} = \mathbb{R}^d\) represents the action output. The policy \(\pi\), with parameters \(\theta\), can either be formulated as an *explicit* function \(f_{\theta}(\mathbf{o}) \rightarrow \hat{\mathbf{a}}\) or as an *implicit* function \(\arg\min_{\mathbf{a}\in\mathcal{A}} E(\mathbf{o}, \mathbf{a}) \rightarrow \hat{\mathbf{a}}\). In this work, we adopt the implicit formulation and build upon recent work which we describe in more detail in Section [3.2](#implicitbcsec){reference-type="ref" reference="implicitbcsec"}. We operate in the continuous control setting, where our policy infers a desired target configuration at 10 Hz, and a low-level controller asynchronously reaches desired configurations with a joint-level PD controller. Our \(\mathcal{O}\) contains both image observations and proprioceptive robot state (i.e. from joint encoders).
## Implicit BC {#implicitbcsec}
We use an energy-based, contrastive loss to train our implicit policy, modeled with the same late-fusion deep network architecture as in with 26 convolutional ResNet layers for the image encoder and 20 dense ResNet layers for the EBM. Specifically, to optimize \(E_{\theta}(\cdot)\), we train an InfoNCE style loss on observation-action samples. Our dataset consists of \(\{\mathbf{o}_i, \mathbf{a}^*_i\}\) for \(\mathbf{o}_i \in \mathbb{R}^m\) and \(\mathbf{a}_i \in \mathbb{R}^d\) and from regression bounds \(\mathbf{a}_{\min}, \mathbf{a}_{\max} \in \mathbb{R}^d\) we generate negative samples \(\{\tilde{\mathbf{a}}_i^j\}_{j=1}^{N_{\text{neg.}}}\). The loss equates to the negative log likelihood of \(p(\mathbf{a}|\mathbf{o})\) where we use negative samples to approximate the normalizing constant: \[\begin{aligned}
\mathcal{L}_{\text{InfoNCE}} &= \sum_{i=1}^N-\log(\tilde{p}_\theta(\mathbf{a}^*_i|\mathbf{o}_i,\{\tilde{\mathbf{a}}_i^j\}_{j=1}^{N_{\text{neg.}}})) \\ \tilde{p}_\theta(\mathbf{a}^*_i|\mathbf{o}_i,\{\tilde{\mathbf{a}}_i^j\}_{j=1}^{N_{\text{neg.}}}) &= \frac{e^{-E_\theta(\mathbf{o}_i, \mathbf{a}^*_i)}}{e^{-E_\theta(\mathbf{o}_i, \mathbf{a}^*_i)} + \sum_{j=1}^{N_{\text{neg.}}}e^{-E_\theta(\mathbf{o}_i, \tilde{\mathbf{a}}_i^j)}} \end{aligned}\] To perform inference, given some observation \(\mathbf{o}\), we minimize our learned energy function, \(E_{\theta}(\mathbf{o}, \mathbf{a})\), over actions in \(\mathcal{A}\) using a sampling-based optimization procedure. [\[implicitbc\]]{#implicitbc label="implicitbc"} [\[background\]]{#background label="background"}
# Method
Here we present the details of our proposed Implicit Kinematic Policies (IKP) method. First, we will present our extension to the implicit policy formulation which provides multiple action space representations as input. (Sec. [4.1](#subsec:multi-action-space){reference-type="ref" reference="subsec:multi-action-space"}). Sec. [4.1.1](#subsec:multi-action-space-explicit){reference-type="ref" reference="subsec:multi-action-space-explicit"} also compares the implicit multi-action-space formulation to its explicit counterpart and discusses the relevant tradeoffs. We then describe how to perform autoregressive training and inference with implicit policies in a way that exposes the action trajectories of every joint and link in the robot to the model (Sec. [4.2](#subsec:autoregressive-formulation){reference-type="ref" reference="subsec:autoregressive-formulation"}). Finally, we discuss a motivating application of controlling miscalibrated robots for precise tasks, and how IKP is uniquely suited to automatically compensate for this noise through the use of strategically placed residual blocks in the model (Sec. [4.3](#subsec:residual-formulation){reference-type="ref" reference="subsec:residual-formulation"}).
## Multi-Action-Spaces With Implicit Policies {#subsec:multi-action-space}
Our formulation enables the implicit policy \(\hat{\mathbf{a}} = \arg\min_{\mathbf{a}} E_{\theta}(\mathbf{o}, \mathbf{a})\) to have access to multiple action spaces, which are constrained to be consistent. Specifically, our implicit multi-action-space formulation is of the form: \[\begin{aligned} \underset{\mathbf{a}, \mathbf{a}',...}{\arg\min} \quad & E_{\theta}(\mathbf{o}, \mathbf{a}, \mathbf{a}',...)\\ \textrm{s.t.} \quad & \mathbf{a} = \mathcal{T}(\mathbf{a}'),... \end{aligned} \label{eq:general-multi-action-space}\] where \(\mathbf{a} \in \mathcal{A}\) is one parameterization of the action space, \(\mathbf{a}' \in \mathcal{A}'\) is a different parameterization of the action space, and \(\mathcal{T}(\cdot): \mathcal{A}' \rightarrow \mathcal{A}\) is a transformation between the two action spaces. Of course, \(N\) different consistent parameterizations of the action space could be represented, which is depicted in Eq. [\[eq:general-multi-action-space\]](#eq:general-multi-action-space){reference-type="ref" reference="eq:general-multi-action-space"} by the ellipses (\...). In particular for robots, we are interested in representing both *joint-space* and *cartesian-space* actions, which is a case of Eq. [\[eq:general-multi-action-space\]](#eq:general-multi-action-space){reference-type="ref" reference="eq:general-multi-action-space"} in which the transformation between the two action spaces is forward kinematics (FK): \[\begin{aligned} \underset{\mathbf{a}_{\text{joints}}, \ \mathbf{a}_{\text{cartesian}}}{\arg\min} \quad & E_{\theta}(\mathbf{o}, \mathbf{a}_{\text{joints}}, \mathbf{a}_{\text{cartesian}})\\ \textrm{s.t.} \quad & \mathbf{a}_{\text{cartesian}} = FK(\mathbf{a}_{\text{joints}}) \end{aligned} \label{eq:joints-cartesian-implicit}\] Specifically, we accomplish this by first sampling input actions in joint space \(\mathbf{a}_{\text{joints}} \in \mathcal{A}_{\text{joints}}\), then computing the corresponding Cartesian (task) space actions via forward kinematics (\(FK\)), \(\mathbf{a}_{\text{cartesian}} = FK(\mathbf{a}_{\text{joints}})\), and finally concatenating and passing the combined representation into the model \(E_{\theta}(\mathbf{o}, \mathbf{a}_{\text{joints}}, \mathbf{a}_{\text{cartesian}})\). A visualization of this model is shown in the middle portion of Fig. [\[fig:key-idea\]](#fig:key-idea){reference-type="ref" reference="fig:key-idea"}. Our hypothesis is that the model can use this redundant action representation to exploit patterns in both spaces, akin to *automatically* discovering the best combination of action spaces--this hypothesis will be tested in our Experiments section. As we will show in Sec. [4.2](#subsec:autoregressive-formulation){reference-type="ref" reference="subsec:autoregressive-formulation"}, we can perform training and inference for \(E_{\theta}\) through using autoregressive derivative-free optimization.
### Multi-Action-Spaces With Explicit Policies {#subsec:multi-action-space-explicit}
Consider the above formulation in contrast to an explicit policy, \(\hat{\mathbf{a}}=f_{\theta}(\mathbf{o})\), where the mapping \(f_{\theta}(\cdot)\) maps to one specific action space. It is possible to provide different losses on different transformations of the explicit policy's action space, for example \(\mathcal{L}_{\text{joints}}(\hat{\mathbf{a}}, \mathbf{a}^*)\) and \(\mathcal{L}_{\text{cartesian}}(FK(\hat{\mathbf{a}}), FK(\mathbf{a}^*))\), where \(FK\) represents differentiable forward kinematics. However, this can lead to conflicting gradients and requires choosing relative weightings, \(\lambda\), between these losses: \(\mathcal{L}_{\text{total}} = \mathcal{L}_{\text{joints}} + \lambda \mathcal{L}_{\text{cartesian}}\). This issue of loss balancing is exacerbated if the explicit policy were to regress the Cartesian representation of every link in the robot in addition to the joint configuration and end-effector pose. Additionally, the explicit policy predicts a single joint configuration even though there may be multiple correct configurations when using kinematically redundant robots. It is possible to first regress Cartesian actions and subsequently recover the corresponding joint configuration via inverse kinematics, however, IK solvers are only approximately differentiable which poses challenges for end-to-end training. A visualization of this explicit policy is shown in the rightmost column of Fig. [\[fig:key-idea\]](#fig:key-idea){reference-type="ref" reference="fig:key-idea"}.
## Autoregressive Implicit Training and Inference {#subsec:autoregressive-formulation}
As in, we employ an autoregressive derivative-free optimization method for both training and inference. Sampling-based, derivative-free optimization synergizes with the multi-action-space constrained energy model (Eq. [\[eq:general-multi-action-space\]](#eq:general-multi-action-space){reference-type="ref" reference="eq:general-multi-action-space"}), since gradient-based optimization (i.e. through Langevin dynamics ), while possible, would require a solution to synchronize between the different action spaces.[^1] The autoregressive procedure uses \(m\) models, one model \(E_{\theta}^{j}(\mathbf{o}, \mathbf{a}^{0:j})\) for each dimension \(j = 1, 2,...,m\). In contrast with prior work, instead of \(\mathbf{a}\) only representing a single action space, our proposed method represents, for each \(j\)th model, both the 6DoF Cartesian pose of the \(j\)th link *and* the joint of that link into \(\mathbf{a}\). Similarly in \(\mathbf{o}\) we also represent the dual Cartesian-and-joint state of each link. Since our method strictly samples actions in joint space and the state is represented by the joint configuration, the Cartesian representations for both the state \(\mathbf{o}\) and actions \(\mathbf{a}\) are acquired through \(FK(\mathbf{o})\) and \(FK(\mathbf{a})\) for every dimension \(j = 1, 2,...,m\). We visualize this procedure in Fig. [\[fig:method-overview\]](#fig:method-overview){reference-type="ref" reference="fig:method-overview"}
## Residual Forward Kinematics {#subsec:residual-formulation}
In robotics, we often assume access to accurate kinematic descriptions and joint encoders, but this assumption can be a significant source of error in the context of low-cost or cable-driven robots. In these settings, the errors often take the form of fixed, unknown linear offsets in each joint motor encoder or link representation. If calibration isn't performed, both cases can cause heavy non-linear offsets in end-effector space which can drastically affect the performance on high-precision tasks. By adding dense residual blocks both before and after joint actions are sampled in the autoregressive procedure, we can encourage our model to learn these linear offsets at each joint and link rather than solving the more difficult problem of learning a highly non-linear offset in task space. This extension is only possible due to the full differentiability of the forward kinematics layer, which allows gradients to flow through the residual blocks. Concretely, we redefine our multi-action-space formulation with residuals as follows: \[\begin{aligned} \underset{\mathbf{a}_{\text{joints}}, \ \mathbf{a}_{\text{cartesian}}}{\arg\min} \quad & E_{\theta}(\mathbf{o}, \mathbf{a}_{\text{joints}}, \mathbf{a}_{\text{cartesian}})\\ \textrm{s.t.} \quad & \mathbf{a}_{\text{cartesian}} = FK\big(\mathbf{a}_{\text{joints}} + \Delta_{\theta}(\mathbf{a}_{\text{joints}})\big) \end{aligned} \label{eq:joints-cartesian-residuals-implicit}\] where \(\Delta_{\theta}(\mathbf{a}_{\text{joints}}) \in \mathcal{A}_{\text{joints}}\) is a new learnable module in the implicit model which gives the model the inductive bias that there may be imperfect calibration of the joint measurements (i.e., biased joint encoder measurements). The module \(\Delta_{\theta}(\cdot)\) can be learned during training and we hypothesize that the EBM may be able to automatically learn the \(\Delta_{\theta}(\cdot)\) which provides the lowest-energy fit of the data. This can be interpreted as automatically calibrating the biased joint encoders. Experiments testing this hypothesis are in Section [5.2](#subsec:residual-experiments){reference-type="ref" reference="subsec:residual-experiments"}.
# Experiments
We evaluate IKP across several vision-based continuous control manipulation tasks with quantitative experiments in simulation, as well as qualitative results on a real robot. All tasks require generalization to unseen object configurations at test time. The goals of our experiments are two-fold: (i) across tasks where one action space substantially outperforms the other, we investigate whether IKP can achieve the best of both and perform consistently well across all tasks, and (ii) given a miscalibrated robot with unknown offsets in the joint encoders (representing miscalibration or low-cost encoders), we study whether IKP can autonomously learn to compensate for these offsets while still succeeding at the task. Across all experiments, a dataset of expert demonstrations is provided by a scripted oracle policy (in simulation), or by human teleoperation (in real).
## **Simulated Bimanual Sweeping and Flipping**
In a simulated environment, we evaluate on two bimanual tasks--sweeping and flipping--both of which involve two 7DoF KUKA IIWA robot arms equipped with spatula-like end-effectors positioned over a \(0.4m^2\) workspace. The setup for sweeping is identical to that presented in Florence et al., where given a pile of 50-60 particles on the workspace, the task is to scoop and evenly distribute all particles into two bowls located next to the workspace. For flipping, given a bowl of 20-30 particles attached to the top of a \(0.2m^3\) box, the task is to flip the box to pour the particles into a larger bowl positioned near the base of the arms. Both tasks are designed to involve significant coordination between the two arms. During sweeping, for example, scooping up particles and transporting them to the bowls requires carefully maintaining alignment between the tips of the spatulas to avoid dropping particles. Flipping, on the other hand, requires aligning the elbow surfaces against the sides of the box, and using friction to carry the box as it pours the particles into the bowl--any subtle misalignment of the elbow against the sides can lead to the box slipping away or tipping over. For both tasks, we generate fixed datasets of 1,000 demonstration episodes using a scripted oracle with access to privileged state information, including object poses and contact points, which are not accessible to policies. We train two Implicit BC baselines *without* Residual Kinematics: one using a 12DoF Cartesian action space (6DoF end-effector pose for each arm), and another using a 14DoF joint action space (7DoF for each arm). From the quantitative results presented in Tab. [1](#table:bimanual-experiments){reference-type="ref" reference="table:bimanual-experiments"}, we observe that the performance of Implicit BC on bimanual sweeping degrades substantially when using a joint action space. This is likely that learning the task (ı.e. distribution of oracle demonstrations) involves recognizing a number of Cartesian space constraints that are less salient in joint space: e.g., keeping the Cartesian poses of the spatulas aligned with each other while scooping and transporting particles, and maintaining z-height with the tabletop. For bimanual flipping, on the other hand, we observe the opposite: where the performance of Implicit BC performs well with joint actions, but poorly with Cartesian actions. We conjecture that the task involves more whole-body manipulation, where fitting policies in joint space are more likely to result in motion trajectories that accurately conform to the desired elbow contact with the box.
[\[table:bimanual-experiments\]]{#table:bimanual-experiments label="table:bimanual-experiments"}
Our proposed method, Implicit Kinematic Policies (labeled as Joints + Cartesian in Tab. [1](#table:bimanual-experiments){reference-type="ref" reference="table:bimanual-experiments"}) leverages both action spaces. Results suggest its performance is not only on par with the best bespoke action space for the task, but also surprisingly exceeds the performance of Cartesian actions for bimanual sweeping. Upon further inspection of the action trajectories for bimanual sweeping, it is evident that the Cartesian space action trajectories (Fig. [\[fig:tasks\]](#fig:tasks){reference-type="ref" reference="fig:tasks"}b) are lower frequency and contain more piecewise linear structure in comparison to the joint space action trajectories (Fig. [\[fig:tasks\]](#fig:tasks){reference-type="ref" reference="fig:tasks"}a). Implicit policies have shown to thrive in conditions where this structure is present. In contrast, for bimanual flipping, the joint space action trajectories (Fig. [\[fig:tasks\]](#fig:tasks){reference-type="ref" reference="fig:tasks"}c) appear much more linear and low frequency than the corresponding arc-like Cartesian trajectories (Fig. [\[fig:tasks\]](#fig:tasks){reference-type="ref" reference="fig:tasks"}d). We also add small perturbations to the end-effector pose highlighted by the semi-transparent lines in plot (d) of Fig. [\[fig:tasks\]](#fig:tasks){reference-type="ref" reference="fig:tasks"}. Note that the Implicit (Cartesian) policy uses a generic IK solver which can return multiple distinct joint target commands, causing less stable trajectories overall.
## **Simulated Miscalibrated Sweeping and Insertion** {#subsec:residual-experiments}
We design two additional tasks to evaluate IKP's ability to learn high precision tasks in the presence of inaccurate joint encoders, described in Sec. [4.3](#subsec:residual-formulation){reference-type="ref" reference="subsec:residual-formulation"}. To replicate such a scenario, we simulate these errors by adding constant \(<\) 2 degree offsets to each of the six revolute joints on a UR5e robot. These offsets are visualized and described in more detail in Fig. [\[fig:residual-deltas\]](#fig:residual-deltas){reference-type="ref" reference="fig:residual-deltas"}. We test the effect of these offsets on the bimanual sweeping task and a new insertion task where the goal is to insert an L-shaped block into a tight fixture. Demonstrations for both tasks are provided in the form of a Cartesian scripted oracle with privileged access to the underlying joint offsets and can compensate for them. This is akin to a human using visual servoing to compensate for inaccurate encoders when teleoperating a real robot to collect expert demonstrations. Although both tasks are generally well-defined in Cartesian space as a series of linear step functions, the joint offsets induce high-frequency non-linear artifacts in the end-effector trajectory (Fig. [\[fig:residual-deltas\]](#fig:residual-deltas){reference-type="ref" reference="fig:residual-deltas"}b and [\[fig:residual-deltas\]](#fig:residual-deltas){reference-type="ref" reference="fig:residual-deltas"}d) causing poor performance with the Implicit (Cartesian) policy (results in Tab. [2](#table:noisy-experiments){reference-type="ref" reference="table:noisy-experiments"}). Poor performance persists for miscalibrated insertion despite using 10x the data. Alternatively, even though the encoder offsets only cause linear shifts in the joint trajectories (Fig. [\[fig:residual-deltas\]](#fig:residual-deltas){reference-type="ref" reference="fig:residual-deltas"}a and [\[fig:residual-deltas\]](#fig:residual-deltas){reference-type="ref" reference="fig:residual-deltas"}c), both tasks are less structured in joint space and as a result Implicit (Joints) performs significantly worse on miscalibrated bimanual sweeping and comparatively worse on miscalibrated insertion. Implicit (Joints) performs relatively well on the miscalibrated insertion task due to the simplicity of the pick and place motion, but struggles to generalize when the block nears the edge of workspace as the joint trajectories become increasingly non-linear in those regions. The performance only slightly improves when using 1000 demonstrations. IKP provides a best-of-all-worlds solution by learning the linear offsets in joint space through the residual blocks while simultaneously exploiting the unperturbed Cartesian trajectories through forward kinematics on the shifted joint actions to generalize. IKP achieves the highest performance on miscalibrated insertion with both 100 and 1000 demonstrations, and significantly higher performance on miscalibrated bimanual sweeping. Interestingly, not only do Explicit and ExplicitFK perform significantly worse than both Implicit (Joints) and IKP for both tasks, but ExplicitFK also provides little to no additional benefit over Explicit, even in the presence of more data.
[\[table:noisy-experiments\]]{#table:noisy-experiments label="table:noisy-experiments"}
## **Real Robot Sorting, Sweeping, and Alignment**
We conduct qualitative experiments with a real UR5e robot on two tasks: 1) sorting two blocks into bowls and subsequently sweeping the bowls, and 2) aligning a red block with a blue block, where both tasks have initial locations randomized). Our goal with these experiments is two-fold: i) to demonstrate that IKP can run on real robots with noisy human continuous teleop demonstrations with as few as 100 demonstrations, and ii) to show that Implicit Kinematic Policies can perform both whole-body and prehensile tasks. Demonstrations for the block sorting portion of the first task are provided using continuous Cartesian position control based teleoperation at 100 Hz with a 3D mouse. Once the blocks are sorted, the teleoperator switches to a joint space PD controller with the same 3D mouse to guide the arm into an extended pose in order to sweep the bowls. For the alignment task, demonstrations are also provided using x, y and z Cartesian PD control at 100 Hz. Both tasks take 480\({\times}\)`<!-- -->`{=html}640 RGB images (downsampled to 96\({\times}\)`<!-- -->`{=html}96) from an Intel RealSense D435 camera at a semi-overhead view as input to the policy, and no extrinsic camera calibration is used. We show successful rollouts for both tasks in Fig. [\[fig:real-tasks\]](#fig:real-tasks){reference-type="ref" reference="fig:real-tasks"}.
# Discussion
In future work, we will investigate using the multi-action-space formulation to extend beyond joint and cartesian PD control by incorporating the forward and/or inverse robot dynamics into the network which will allow us to expose joint torques and velocities to our model in a fully differentiable way. We hypothesize that this additional information will be particularly helpful in dynamic manipulation tasks and visual locomotion where torque and velocity action trajectories may appear more structured. We would also like to further test our residual framework within IKP on robots that have non-linear drift in joint space which may represent a larger set of low-cost robots. Finally, we would like to utilize our fully differentiable residual forward kinematics module to learn the link parameters themselves, which can be a promising direction for controlling soft and/or continuum robots. | {'timestamp': '2022-03-07T02:02:04', 'yymm': '2203', 'arxiv_id': '2203.01983', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01983'} |
# Introduction [\[sec:intro\]]{#sec:intro label="sec:intro"}
Chemical systems with many close-lying electronic states or, more generally, strongly correlated electrons pose a significant challenge for modern electronic structure theories in computational quantum chemistry . When transition metals or heavier elements are involved, degenerate and nearly degenerate electronic states are common, and single-reference electronic structure methods such as Kohn--Sham density functional theory often fail . In these situations one has to use multireference methods to generate multiconfigurational wave functions and accurately describe these near degeneracies . Scientists also want to compute properties of large chemical systems or solids with accurate quantum chemistry methods, in spite of steep computational requirements. One way to achieve such computations is to use fragmentation methods. Many variations of fragmentation methods exist , but the common feature is that a large molecular system is divided into fragments and quantum-mechanical calculations are performed on the fragments. An especially important case is the application of fragmentation methods to multireference wave functions because of the exponential explosion of the computational cost with respect to the size of the active space of electronic configurations. In the complete active space self-consistent field (CASSCF) method , all the electronic configurations that can be formed for a given number of active electrons distributed in a given number of active orbitals are included in the wave function. Thus, the wave function scales exponentially with the number of active electrons and orbitals, and the method has only limited application to chemically relevant systems. If one wants to study systems containing, for example, several transition metals , the active site of a protein , or extended organic chains in their ground and excited states , more affordable multireference methods have to be developed. This is one of the major challenges of modern electronic structure theory. Reducing the computational cost of CASSCF or other multiconfiguration self-consistent field calculations is pursued both in the development of new well-motivated theoretical approximations and in the application of new developments in computational hardware . On the theoretical side, one strategy is to identify subspaces of the CAS that can be treated on different footings or interact with one another only weakly . . LASSCF is designed for applications in which electrons are strongly correlated in different weakly interacting physical regions of a molecule and approximates the strongly correlated part of the wave function as a single antisymmetrized product of subspace wave functions. The computational cost of LASSCF is a linear function of the number of such unentangled subspaces. Some of the authors have recently shown that LASSCF accurately reproduces the CASSCF spin-state energy gaps of bimetallic compounds and the simultaneous dissociation of two double bonds in bisdiazene at a significantly reduced cost . However, LASSCF fails to recover any electron correlation between fragments, for example in the *cis-trans* isomerization of stilbene and similar systems . Recently, the development of quantum computers has led to an increased interest in novel quantum algorithms, especially for computational quantum chemistry, which is widely seen as a potential "killer app" of quantum computers . For the noisy, intermediate-scale quantum (NISQ) devices that we have today, these algorithms are not tenable, since they require coherence times far beyond what is available. Variational algorithms, such as the variational quantum eigensolver (VQE) , have been used to perform calculations of the ground state energy of small molecules, with limited accuracy, on NISQ devices . Quantum algorithms that have less stringent requirements compared with full QPE, and at the same time accuracy beyond that demonstrated by variational algorithms such as VQE, will be required to productively use the progressively larger and higher-quality quantum devices as they become available in the next few years. In this paper we describe a framework for such quantum algorithms, inspired by classical LASSCF. The wave function within a fragment is solved by using one method (e.g., QPE), and correlation between fragments is encoded variationally by using an ansatz that entangles the fragments. This approach goes beyond what can be achieved with classical fragment methods, such as LASSCF, by providing additional correlation between fragments, while significantly reducing the total computational time (estimated via the number of gates) compared with full QPE.
# Theory [\[sec:theory\]]{#sec:theory label="sec:theory"}
## Multireference Methods with Exponential Scaling
We seek to find the ground state of the second-quantized molecular Hamiltonian for a given number of \(M\) electrons, \[\label{qchem_ham} \hat{H} = h^p_q \crop{p}\anop{q} + \frac{1}{4} h^{pr}_{qs} \crop{p}\crop{r}\anop{s}\anop{q},\] where \(\crop{p}\) (\(\anop{p}\)) creates (annihilates) an electron in spin orbital \(p\); \(h^p_q\) and \(h^{pr}_{qs}\) are the one-and antisymmetrized two-electron Hamiltonian matrix elements, respectively; and repeated internal indices are summed. Generally, for \(N\) spin orbitals, \(\hat{H}\) has a sparse-matrix representation in a space of size \(O\binom{N}{M}\) and has \(O(N^4)\) elements. Full-configuration interaction (FCI) determines the exact energy within a given one-electron basis set (the FCI energy) at exponential cost. Methods such as CASSCF (and its restricted and generalized active space approximations) or selected configuration interaction , can go beyond FCI in system size, maintaining comparable accuracy, but still scale exponentially. The density matrix renormalization group and coupled cluster methods can scale polynomially but introduce (sometimes uncontrollable) approximation errors. Here we briefly describe the LASSCF algorithm , which will serve as the basis for our fragment-based quantum algorithms.
## LASSCF [\[sec:theory_lasscf\]]{#sec:theory_lasscf label="sec:theory_lasscf"}
In LASSCF, the wave function of a molecule is approximated as \[\ket{{\rm LAS}} = \bigwedge_K \ket{\Psi_K} \wedge \ket{\Phi}, \label{eq:las_wfn}\] where \(\ket{\Psi_K}\) is a general many-body wave function describing \(M_K\) electrons occupying \(N_K\) active orbitals of the \(K\)th "fragment" or "active subspace," \(\ket{\Phi}\) is a single determinant spanning the complement of the complete active space, and the wedge operator ("\(\wedge\)") implies an antisymmetrized product. In the variational implementation of LASSCF, this wave function is obtained by minimizing the LAS energy, \[E_{\rm{LAS}} = \braket{{\rm LAS}|\hat{H}|{\rm LAS}}, \label{eq:elas}\] with respect to all orbital rotations and configuration interaction (CI) vectors defining \(\ket{\rm{LAS}}\). This is accomplished by introducing a unitary operator (see the Supporting Information of Ref. ) that is parameterized in terms of all nonredundant transformations of the orbitals and CI vectors, \[\ket{{\rm LAS}} \to \hat{U}_{\mathrm{orb}}\prod_K \hat{U}_{\mathrm{CI},K}\ket{{\rm LAS}}, \label{eq:ulas}\] where where \(k,l\) index individual spin orbitals in two different subspaces (including the inactive and virtual subspaces outside of the CAS) and where \(\ket{\vec{k}}\) is a determinant or configuration state function. First and second derivatives of Eq. ([\[eq:elas\]](#eq:elas){reference-type="ref" reference="eq:elas"}) with respect to the generator amplitudes (\(x^{k}_{l}\) and \(x_{\vec{k}}\)) are obtained by using the Baker--Campbell--Hausdorff (BCH) expansion, and the energy is minimized by repeated applications of the preconditioned conjugate gradient (PCG) method . The orbital unitary operator, \(\hat{U}_{\mathrm{orb}}\), corresponds to the UCC correlator truncated after the first ("singles") term: \[\begin{aligned}
\hat{U}_{\rm UCC} &\equiv& \exp{\hat{T}_{\rm UCC}}, \label{eq:ucc} \\ \hat{T}_{\rm UCC} &\equiv& x^k_l \left(\crop{k}\anop{l}-\mathrm{h.c.}\right) + \frac{1}{4}x^{km}_{ln} \left(\crop{k}\crop{m}\anop{n}\anop{l}-\mathrm{h.c.}\right) + \ldots. \label{eq:tcc} \end{aligned}\]
## LAS Methods on Quantum Computers [\[sec:theory_qlas\]]{#sec:theory_qlas label="sec:theory_qlas"}
Here we describe an algorithm for molecular calculations that goes beyond the limited accuracy of standard VQE , while having dramatically reduced computational complexity compared with QPE \[see Methods section\]. The algorithm exploits the structure of the molecule by separating it into coupled fragments, as is done in the classical algorithm, LASSCF. The quantum algorithm, however, goes beyond classical LASSCF by providing some degree of entanglement between the fragments. The algorithm begins by segmenting the orbital active space of a given molecule into distinct fragments defined by non-overlapping orbital subspaces, as in classical LASSCF. For instance, orthogonalized atomic orbitals generated by using the meta-Löwdin method can be sorted into localized fragments and then projected onto a guess for the CAS of a given molecule to produce localized active orbitals. We construct an effective Hamiltonian that omits non-mean-field interfragment interactions, resulting in a sum of local fragment Hamiltonians, \[\hat{H}_{{\rm eff}} = \sum_K^{n_f} \Bigg( \tilde{h}^{k_1}_{k_2} \crop{k_1}\anop{k_2} + \frac{1}{4} h^{k_1k_3}_{k_2k_4} \crop{k_1}\crop{k_3}\anop{k_4}\anop{k_2}\Bigg),\] where \(k_1,k_2,\ldots\) index distinct active orbitals of the \(K\)th fragment and where \[\begin{aligned}
\tilde{h}^{k_1}_{k_2} &=& h^{k_1}_{k_2} + h^{k_1i}_{k_2i} + \sum_{L\neq K} h^{k_1l_1}_{k_2l_2} \gamma^{l_1}_{l_2}, \label{eq:h1eff} \end{aligned}\] where \(i\) and \(l_n\) index respectively inactive orbitals \[i.e., those defining \(\ket{\Phi}\) in Eq. ([\[eq:las_wfn\]](#eq:las_wfn){reference-type="ref" reference="eq:las_wfn"})\] and active orbitals of the \(L\)th fragment and where \(\gamma^{l_1}_{l_2}\) is a density matrix element for spin orbitals \(l_1\) and \(l_2\) Given a set of localized active orbitals that minimize the LASSCF energy, if the density matrices in Eq. ([\[eq:h1eff\]](#eq:h1eff){reference-type="ref" reference="eq:h1eff"}) are obtained from a classical LASSCF calculation on the same system, then the QPE algorithm applied to \(\hat{H}_{{\rm eff}}\) generates the active-space part of the LASSCF wave function, \(\ket{{\rm QLAS}} = \bigwedge_K \ket{\Psi_K}\), on the quantum computer. The same result is achieved if density matrices are obtained self-consistently from the QPE evaluation. If the density matrices are obtained in some other way, for instance from \(\ket{{\rm HF}}\), then an approximation to the LASSCF wave function is obtained. A sequence of UCC with singles and doubles (UCCSD) circuits, with variable parameters, is then applied across \(m\) fragments each (which we term \(m\)-local), leading to the LAS-UCC wave function, The parameters of the UCCSD circuit are varied to minimize the total energy of the full system, as in VQE A schematic representation of the described circuit is shown in Fig. [\[fig:circuit\]](#fig:circuit){reference-type="ref" reference="fig:circuit"}. This provides electron correlation between the fragments, in a way that scales exponentially on classical computers, but only polynomially on quantum computers. Moreover, this procedure provides a better estimate of the ground state energy than the product wave function or the UCCSD would provide alone. Note that, unlike LASSCF, this method is not strictly variational (despite the use of VQE) because the initial product-state wave function, \(\bigwedge_K \ket{\Psi_K}\), is not variationally reoptimized in the presence of the UCCSD correlators. The QPE circuits could also be replaced with a local variational ansatz, leading to a fully variational algorithm, which we term LAS-VQE and describe in the Supplementary Information. To understand the large improvement in computational complexity of our approach, we focus on a system of \(n_f\) fragments, with the number of orbitals per fragment, \(N_K\), constant as the number of fragments grows. The total system size is defined by \(N=N_K n_f\) orbitals. We also assume that each fragment interacts with only the \(m\) geometrically nearest fragments and that \(m\) does not grow with \(n_f\). These are reasonable assumptions for many interesting molecules and mirror the assumptions made in classical LASSCF. Under these assumptions, the QPE solver for the unentangled fragments does not grow with \(N\), since \(N_K\) is assumed to be fixed while \(n_f\) grows. The number of small QPE sections grows linearly with the number of fragments, of course. Typically, the Jordan--Wigner transformation would introduce an \(O(N)\) term to enforce the anticommutation relations among the orbital creation and annhilation operators. However, in the case of linear chains, as we study here, ordering the orbitals such that all up and down occupied and virtual orbitals in a given fragment are close, the high-weight \(Z\) part of the Jordan--Wigner transformation effectively cancels out, causing no scaling with total number of orbitals. See Supplementary Information for more details. Together, this leads to an overall \(O( n_f N_K^4) \approx O(N)\) (linear) number of gates to solve for the \(n_f\) unentangled product wave functions. The UCCSD correlator, which is then applied, has \(O\big(m^4 N_K^4)\) terms in the cluster operator for each correlator, because the UCCSD circuit spans only \(m\) fragments. Neither \(m\) nor \(N_K\) grows with the total size (number of spin orbitals) of the system, \(N\). The number of \(m\)-local correlators grows as \(O(n_f)\). Again, by careful ordering of the orbitals, the Jordan--Wigner transformation does not introduce any scaling overhead. The complexity of the \(m\)-local UCCSD correlator is then \(O(n_f m^4 N_K^4) \approx O(N)\) (linear). This creates an overall linear scaling in the number of gates for linear chain geometries, with respect to only the total size of the system, \(N\), and is polynomially (\(O(N^4)\)) better than performing QPE alone, while providing accuracy above VQE using the UCCSD ansatz and classical LASSCF. Many of the gates can be done in parallel, such as the local QPE circuits and the different \(m\)-local UCCSD correlators, leading to an expected overall sub-linear depth. If the fragments are coupled in a geometry more complicated than a linear chain, the UCCSD correlator will potentially incur the \(O(N)\) Jordan-Wigner overhead, leading to an overall \(O(N^2)\) scaling for arbitrary geometries with an expected \(O(N)\) depth.
## Illustrative Molecular Systems
In the calculations discussed below, we consider two systems, depicted in Fig. [\[fig:molecules\]](#fig:molecules){reference-type="ref" reference="fig:molecules"}. The first, shown in Fig. [\[fig:molecules\]](#fig:molecules){reference-type="ref" reference="fig:molecules"}(a), is a simplistic model of weakly interacting fragments, consisting of two H\(_2\) molecules at various distances between their two midpoints using a minimal STO-3G atomic orbital (AO) basis set, and the two active subspaces in the LAS wave function correspond to the active spaces of the two H\(_2\) molecules. We use this small basis set because of the size limitations of today's quantum computers and simulations. The bond lengths and internal angles of this system are set arbitrarily to remove point group symmetry so that differences between various methods are not obscured by the simplicity of a symmetrized electronic wave function. The interaction between the two fragments in this model system are weak, and the LAS wave function is therefore expected to provide an excellent model of the FCI wave function except when the distance between the two molecules is very small. We additionally extend this system up to 20 H\(_2\) in a linear chain, where we estimate only the total number of quantum resources necessary. The second system, depicted in Fig. [\[fig:molecules\]](#fig:molecules){reference-type="ref" reference="fig:molecules"}(b), is the *trans*-butadiene molecule. The potential energy surface of this molecule is scanned along the internal coordinate corresponding to the simultaneous stretching of both the C=C double bonds, leading to the removal of two methylene units from a central C\(_2\)H\(_2\) (distorted acetylene-like) unit. In the LAS wave function, the molecule is divided into two fragments split across the central C--C bond, and each fragment is described by a (4,4) active subspace. Several molecular orbitals are therefore left inactive, described by an unfragmented single determinant. We employed the 6-31G AO basis set in this case. The *trans*-butadiene system is a chemical model of the case of two strongly interacting units in a system, where the value of the stretching internal coordinate is a proxy for the strength of electron correlation. Near the equilibrium geometry, dividing the active space into two fragments is chemically reasonable: each fragment encloses one \(\pi\)-bond, and inasmuch as electron correlation affects the system at all, it is a reasonable approximation to consider it only locally. However, as the C=C double bonds are elongated, electrons from the two broken \(\pi\) bonds recouple across the central C\(_2\)H\(_2\) unit, which spans the fissure between the two LAS fragments. The LAS wave function cannot model a \(\pi\) bond in this position, and the LASSCF method breaks down.
# Results and Discussion [\[sec:results\]]{#sec:results label="sec:results"}
## LAS-UCC
We demonstrate the efficacy of our framework by simulating the two benchmark molecules, (H\(_2\))\(_2\) and *trans*-butadiene, described above. We compare three methods: LASSCF, CAS configuration interaction in the basis of LASSCF orbitals (CASCI), and our new algorithm, LAS-UCC. LASSCF represents the best unentangled set of wave functions and is equivalent to the solution after the QPE circuits but before the use of the UCCSD ansatz. Note that CASCI is slightly different from CASSCF since the orbitals are not variationally reoptimized. CASCI solves for the FCI wave function within the active space; in this case, it is equivalent to using QPE across the whole molecule and represents the reference result in these studies. Figure [\[fig:h4\]](#fig:h4){reference-type="ref" reference="fig:h4"} shows the results of applying the methods to the hydrogen dimer as the two H\(_2\) molecules are pulled apart. We see that LASSCF, CASCI, and LAS-UCC agree except for very small distances where LASSCF no longer provides accurate energies. Figure [\[fig:c4h6\]](#fig:c4h6){reference-type="ref" reference="fig:c4h6"} shows the results for *trans*-butadiene, a model of strongly correlated fragments. Here, as the terminal methylene units are removed, the interfragment correlation grows as a double bond is formed between the fragments. The UCCSD ansatz can accurately represent this level of entanglement, allowing LAS-UCC to achieve nearly CASCI accuracy, whereas LASSCF fails to account for this entanglement.
## Resource Estimates
To demonstrate the scaling advantage of our method, we perform resource estimation for the number of logical quantum gates necessary for several different quantum algorithms: the QPE algorithm over the full unfragmented molecule; the UCCSD ansatz over the full unfragmented molecule; and the two steps of our proposed LAS-UCC method, the fragmented QPE and the 2-local UCCSD (which corresponds to the circuit depicted in Fig. [\[fig:circuit\]](#fig:circuit){reference-type="ref" reference="fig:circuit"}). We estimate the number of resources needed for the QPE algorithm if only a single Trotter time step were needed; \(O(1000)\) time steps will be needed for typical systems to get to chemical accuracy [@alan_2020_review; @garnet_2020_review]. Note that these estimates represent only the number of two-qubit CNOT gates, which we use as a primary gauge of the number of total resources. Single-qubit gates are also necessary; the estimates for these resources can be found in the Supplementary Information and scale similarly to the number of CNOT gates. We use a model system of an increasing number of H\(_2\) molecules and look at how the number of CNOT gates increases as the number of molecules increases, as shown in Fig. [\[fig:gate_counts\]](#fig:gate_counts){reference-type="ref" reference="fig:gate_counts"}. As the number of H\(_2\) molecules increases, the number of gates needed for all methods also increases. As predicted in the complexity analysis of QPE \[see Methods section\], the total number of gates for a single Trotter step in the QPE algorithm grows as \(O(N^5)\). Similarly, the number of gates needed for a global UCCSD ansatz also grows as \(O(N^5)\), as expected . This result is compared with the much smaller number of gates necessary to implement the two steps of our LAS-UCC algorithm. As expected, both the QPE and UCCSD parts of LAS-UCC provide dramatic scaling advantages, with the 2-local UCCSD ansatz and the QPE of the reduced Hamiltonian both scaling as only \(O(N)\). We note that, in addition to evaluating the quantum circuits here, an additional optimization loop is needed when using the UCCSD ansatz, whether it is global or 2-local. Using a 2-local UCCSD ansatz also greatly reduces the number of parameters that need to be optimized compared with a global UCCSD ansatz.
## Discussion
Here we compare LAS-UCC with the two quantum algorithms that it is composed of: QPE and variational UCCSD. Compared with global QPE, LAS-UCC reduces the total quantum resource cost by approximating the system with noninteracting fragments and adding in some interaction between fragments (those described by a UCCSD ansatz spanning the fragments). This in general reduces the accuracy; but as shown in the preceding sections, LAS-UCC provides accuracy comparable to CASCI (and therefore global QPE) for the systems considered here. The *trans*-butadiene molecule is a model for larger, more complicated systems of strongly interacting units. Many single molecular magnets have such pockets of strong correlation localized on the metal centers, which moderately interact with each other . With LAS-UCC we not only can obtain the wave function efficiently but also can selectively couple the fragments with the UCC correlator, offering further insight into the nature of these interactions. Affordable and accurate modeling of phenomena such as singlet fission in molecular crystals of conjugated organic compounds can be performed with LAS-UCC, as fault-tolerant quantum computers become available. This approach will also be used to study chemical processes involving interfragment bond formation and breaking while still treating all points on a potential energy surface at comparable footing. Compared with standard UCCSD, LAS-UCC can be seen as augmenting UCCSD with a multireference initial state. Instead of using single-determinant Hartree--Fock, as is standard in VQE demonstrations of UCCSD , LAS-UCC uses the unentangled product state of the ground state wave functions of each fragment (which is also the LASSCF wavefunction). This provides additional accuracy, above standard single-reference UCCSD, at a negligible increase in cost. When using a global UCCSD ansatz, the increase in the number of gates is negligible, even when taking into account the \(O(1000)\) time steps that would be needed to implement the QPE step. Using the \(m\)-local ansatz provides further reduction. Moreover, recent advances in VQE algorithms have developed various ways to reduce the cost associated with the UCC correlator . As presented in the Theory section, LAS-UCC can also be seen as a post-LASSCF method that recouples select fragments at a level of theory beyond the mean field. The addition of the doubles or higher terms in the cluster operator provides a way to systematically improve the accuracy beyond the LASSCF reference. Not every system will be accurately described by LAS-UCC, of course, but one can systematically increase the accuracy in several ways, while increasing the total resource cost. Increasing the size of each fragment (which in turn decreases the number of fragments) gradually increases the accuracy, until the limit of a single fragment, where the UCCSD ansatz becomes redundant and the algorithm becomes simply global QPE. On the UCC side, the order of the ansatz can be increased. Triples, quadruples, and so on can be included at increasing cost. If using an \(m\)-local ansatz, the scaling is unaffected, but the total number of gates increases. The locality of the ansatz, \(m\), can also be increased, providing explicit correlation between more geometrically distant fragments.
# Conclusions [\[sec:conclusions\]]{#sec:conclusions label="sec:conclusions"}
We introduced LAS-UCC, a quantum algorithm that combines a fragmentation of the wave function of a chemical system with QPE and variational UCCSD to compute the ground state energy of such a system. LAS-UCC can describe compounds containing strongly interacting fragments, and it provides a polynomial scaling advantage in the number of quantum gates compared with other quantum algorithms such as QPE and UCCSD. Since the fragments' reduced Hamiltonians have fewer terms and by ensuring the locality of the Jordan-Wigner transform, the overall gate count will be \(O(N)\) with respect to the total size of the system \(N\) for for linear geometries and \(O(N^2)\) more generally, compared with \(O(N^5)\) requirements for QPE. We also demonstrated the accuracy of LAS-UCC on (H\(_2\))\(_2\) and *trans*-butadiene molecules and performed resource estimations of larger systems to As larger fault-tolerant quantum computers are developed, we expect that our algorithm will be able to provide accurate calculations of large and useful chemical systems, such as molecular magnets and qubits, photovoltaic materials, and large biomolecules that are out of reach of classical computing algorithms but for which QPE would be too expensive.
# Methods
## Quantum Algorithms
Here we describe two quantum algorithms that serve as the primary components for our fragment-based quantum algorithm.
### Quantum Phase Estimation
The quantum phase estimation algorithm solves for the eigenvalue, \(\lambda_k\), for an eigenvector \(|v_k\rangle\) of some unitary matrix, \(U\). In addition to its use in quantum chemistry, it forms the basis for many important quantum algorithms, such as Shor's prime number factoring algorithm and the Hassidim--Harrow--Lloyd algorithm for inverting matrices . For quantum chemistry problems, the unitary matrix \(U\) is generated by the Hamiltonian, \(H\) (eq. [\[qchem_ham\]](#qchem_ham){reference-type="eqref" reference="qchem_ham"}), over time steps \(\tau\): \[\label{qpe_phase} U |v_k\rangle = e^{-i\hat{H}\tau} |v_k\rangle = e^{i 2\pi \phi} |v_k \rangle,\] and the desired energy is mapped to the phase acquired, \(E=-2\pi \phi/\tau\), where units have been chosen such that \(\hbar=1\). By combining real-time evolution of the Hamiltonian, \(\hat{H}\), with application of the quantum Fourier transform (QFT) , the value of the energy can be obtained in polynomial time using a quantum computer. The computational complexity of the QPE is directly related to the complexity of implementing the unitary propagator \(U=e^{-i \hat{H} \tau}\). Many strategies for implementing \(U\) exist, including Trotterization , Taylorization , and qubitization . The Hamiltonian, Eq. [\[qchem_ham\]](#qchem_ham){reference-type="eqref" reference="qchem_ham"}, has \(O(N^4)\) terms, where \(N\) is the number of spin orbitals. Each term in the Hamiltonian can be transformed into a Pauli string (that is, a product of Pauli operators \(X\), \(Y\), \(Z\), or \(I\)) via one of the many fermion-to-spin transformations, such as the Jordan--Wigner , parity , and Bravyi--Kitaev transformations. In this work we focus on QPE using Trotterization with the Jordan--Wigner transformation since they serve as standard reference points for the other variations. The complexity of QPE for the Hamiltonian, Eq. [\[qchem_ham\]](#qchem_ham){reference-type="eqref" reference="qchem_ham"}, using Trotterization with the Jordan--Wigner transformation is \(O(N^5)\): \(N^4\) arising from the number of terms in the Hamiltonian and an additional \(N\) from the Jordan--Wigner transform. Although QPE can obtain estimates of the ground state energy with only a polynomial number of quantum gates, the overheads are still too large for near-term quantum computers. The success of the QPE algorithm directly depends on the overlap of the initial state (which is often taken to be the Hartree-Fock state) and the true ground state. Realistic estimates, taking into account overheads such as quantum error correction, put the needed number of qubits to perform QPE on interesting molecules in the millions . QPE is analogous to a Fourier analysis of a correlation function; and, for a given energy accuracy, \(\epsilon\), it requires propagation efforts (maximum times) on the order of \(O(1/\epsilon)\) [@alan_2020_review; @garnet_2020_review]. Since the circuit depth for evaluating the propagator for individual fragments will naturally be lower than for the full system, the QPEs involved in our LAS approach will be significantly cheaper than full QPE.
### Variational Quantum Eigensolver
The variational quantum eigensolver is a hybrid quantum-classical algorithm that relies on the variational principle to find an estimate of the ground state energy of a given molecule. A circuit with variable parameters, \(\theta\), serves as an ansatz, whose energy is evaluated on a quantum computer and whose parameters are iteratively optimized by a classical computer. For a circuit ansatz \(|\psi(\theta)\rangle\), VQE estimates the energy as \[\label{eq:vqe2} E = \min_{\theta} \braket{ \psi(\theta) | \hat{H} |\psi(\theta) }.\] The Hamiltonian, \(\hat{H}\), is transformed into a sum of Pauli strings via a fermion-to-spin transformation, and the expectation value of each term is measured from the quantum computer separately and summed on the classical computer. VQE has much less stringent quantum resource requirements than QPE has, since it offloads much of the work (such as optimization) to the classical computer. Hence, VQE has been used in proof-of-principle calculations for small molecules . The accuracy of VQE is determined by the quality of the ansatz, \(|\psi(\theta)\rangle\). The UCCSD ansatz is an interesting choice as wave function for VQE since there is no known way to efficiently implement UCCSD on classical computers , but it can be implemented with \(O(N^5)\) gates on quantum computers . The UCCSD ansatz is \[\ket{\psi_{{\rm UCCSD}}} = \hat{U}_{{\rm UCCSD}} \ket{{\rm HF}} = \exp{\hat{T}_{\rm UCCSD}} \ket{{\rm HF}},\] where \(\hat{T}_{\rm UCCSD}\) is defined by truncating the more general cluster operator of Eq. ([\[eq:tcc\]](#eq:tcc){reference-type="ref" reference="eq:tcc"}) at the second term. While the UCCSD ansatz can be implemented on NISQ devices for small molecules , it is limited in its accuracy because of only including up to doubles excitations.
## Computational Methods
To calculate the accuracy of the proposed method for small molecules, we use the following strategy. We first use a classical LASSCF solver, as implemented in the *mrh* package , to find the best product wave function. This effectively provides an equivalent solution to that of the QPE step of our proposed algorithm. We then represent this product wave function as a CI vector in the complete active Fock space and apply a UCCSD correlator, as well as its derivatives with respect to all amplitudes, to this reference CI vector. We employ the factorization reported by Chen et al. to avoid the BCH expansion and its inevitable approximate truncation. The resulting \(\ket{{\rm QLAS}}\) CI vector and its derivatives (\(\ket{\delta {\rm QLAS}}\)) with respect to the unitary coupled cluster amplitudes are used to compute the energy, \(\braket{{\rm QLAS}|\hat{H}|{\rm QLAS}}\), and its derivatives, \(\braket{\delta{\rm QLAS}|\hat{H}|{\rm QLAS}}\). We then minimize the former using the latter and the Broyden---Fletcher---Goldfarb---Shanno algorithm. We find that this approach is more efficient than directly simulating the quantum circuits. We note that this method scales exponentially on classical computers. To provide gate count estimates, we use the Q\# package , generally following the framework of Ref. . The full and reduced Hamiltonians are produced by using the *mrh* package , and both Hamiltonians are then passed to the Q\# package to estimate the number of CNOT gates using the QPE algorithm with a single Trotter time step for each. Additionally, we estimate the number of CNOT gates necessary to calculate various UCCSD ansatzes, including a global UCCSD ansatz over the whole unfragmented molecule and multiple 2-local ansatzes that span only two fragments. We count only the number of logical quantum gates needed. Real quantum computers will require additional overheads, owing to limited connectivity and the need to use expensive quantum error correction protocols to deal with inevitable errors . Furthermore, we provide gate counts only; no attempt was made to count gate depth, which is typically smaller, because many gates can be implemented in parallel.
# LAS-VQE
Here we describe a more approximate approach than LAS-UCC wherein the QPE circuits for the fragments are replaced by UCC ansatzes, leading to a fully variational method. The chemical knowledge that guides us in defining subspaces of the LAS wave function can also be used to reduce the size of the unitary operator for the UCC ansatzes. It suggests that operators corresponding to the higher excitation from one fragment to another do not affect the wave function significantly. Thus, we introduce a modified ansatz for truncated UCC circuits where we consider the "locality" of the excitation. An excitation involving only orbitals localized on a particular fragment---that is defined by the user---is classified as a "local excitation." In this modified UCC ansatz the user not only can truncate the UCC excitation to a certain maximum number (doubles, triples, etc.) but also can impose a constraint of locality on the higher excitations. We develop here the theory and the algorithm of this method and name it LAS-VQE. In LAS-VQE, all the singles excitations are included while only the local ones are included for the higher excitations. This corresponds to having a mean-field interfragment interaction and allowing all possible orbital rotations. This does not reduce the number of qubits required to represent the system, but it does lower the complexity of the circuit as discussed below. In principle, one could use the locality argument to include only local excitations, allowing us to reduce the number of qubits required. This separate-fragments VQE approach, however, fails to account for any interaction between the fragments. We choose to always include the singles excitations (orbital rotations) across the entire system to account for some interfragment correlation and to make the method less sensitive to the localization schemes used. We also choose to perform in the singles excitation among spin-restricted orbitals. We achieve this by using the same parameter to control the alpha and beta excitations corresponding to a given pair of spatial orbitals. This is necessary to avoid artificial lowering of energies due to spontaneous symmetry breaking (the spin unrestricted solution). An example of the effect of this is seen for the hydrogen dimer shown in Figure 2 of the main text. The nonspin adapted UCCS energy is about 0.2 mHartree lower than the Hartree--Fock and has an spin contamination of 0.09, showing the symmetry breaking. Working with spin-restricted orbitals not only allows us to prepare symmetry preserving states for the subsequent excitations, but also lowers the number of parameters at the singles level by a factor of 2. This becomes a significant advantage for the classical optimizer in VQE as the size of the system gets larger. We study the ground state electronic structure of the hydrogen dimer in various conformations with the STO-3G basis set. We use CASSCF with a (4,4) active space and LASSCF with a ((2,2),(2,2)) active space, UCCSD and LAS-VQE. Each H\(_2\) molecule is considered as one fragment on which the molecular orbitals are localized. As one would expect, the performance of LASSCF with respect to CASSCF (which is also FCI in this case) worsens with decreasing distance between the two H\(_2\) molecules. Figure [\[fig:las_vqe_log_scale\]](#fig:las_vqe_log_scale){reference-type="ref" reference="fig:las_vqe_log_scale"} shows the energy difference between the various methods and the FCI/CAS(4,4) absolute energies. UCCSD in this case is not exactly FCI but does give accurate results. LAS-VQE is close to (but slightly lower than) the LASSCF energy. The LAS-VQE energy is not variationally bound by the LASSCF that it is based on. In contrast to the LAS-UCC method discussed in this paper, this method uses a single determinant Hartree--Fock reference state. The UCCSD energy is a variational lower bound to the LAS-VQE method. There is, however, a significant advantage when it comes to the computational cost: gate count and the depth of the circuit. The number of doubles operators scales linearly with the number of fragments. The Table [1](#tab:lasvqe_cost){reference-type="ref" reference="tab:lasvqe_cost"} shows the number of gates and parameters required for the various calculations for a system with increasing number of H\(_2\) molecules with the same fragmentation scheme. LAS-VQE in considerably lower in both circuit depth and number of parameters, compared with full UCCSD.
[\[tab:lasvqe_cost\]]{#tab:lasvqe_cost label="tab:lasvqe_cost"}
# Orbital Ordering and the Jordan-Wigner Transformation
The Jordan-Wigner transformation is one of the many ways of transforming fermion operators into spin operators, and is a necessary step for performing quantum chemistry calculations on quantum computers. Here, we very briefly discuss the overheads associated with the Jordan-Wigner transformation and how it can be mitigated in certain fragmented geometries. The Jordan-Wigner transformation transforms a fermion creation operator for orbital \(j\), \(a_j^\dagger\), out of a total of \(N\) spin orbitals as follows \[\tilde{a}_j^\dagger = Z^{\otimes j-1} \otimes \frac{X-iY}{2} \otimes I^{\otimes N-1},\] where \(\tilde{a}_j^\dagger\) is the transformed operator; \(X\), \(Y\), and \(Z\) are the Pauli operators; and the notation \(Z^{\otimes N}\) denotes applying the tensor operation, \(\otimes\), \(N\) times for Z (i.e., \(Z^{\otimes 4} = Z \otimes Z \otimes Z \otimes Z\). The term \(Z^{\otimes j-1}\) ensures that the transformed operators obey the correct fermionic anti-commutation relations. In standard quantum algorithms for quantum chemistry, these \(Z\) strings introduce very high-weight (that is, having many terms that are not \(I\)) terms into the Hamiltonian and cluster operators, leading to an \(O(N)\) overhead. To see this, we focus on just the one-body terms. Under the Jordan-Wigner transformation, and assuming \(j>k\), \[\label{eq:one-body} \tilde{a}_j^\dagger \tilde{a}_k = I^{\otimes k-1} \otimes \frac{Z(X-iY)}{2} \otimes Z^{\otimes j-k-1} \otimes\frac{X-iY}{2} \otimes I^{\otimes N-j}.\] The weight (number of non-identity terms) of this operator is \(j-k+1\). In the most general case, there will exist terms where spin orbital \(1\) and \(N\) will have a nonzero component, and the resulting weight is \(N\), which introduces the \(O(N)\) overhead normally associated with the Jordan-Wigner transformation. There are many techniques for generally reducing this overhead . In our simple chain of H\(_2\) molecules, we can remove this scaling by choosing a particular ordering of the orbitals. One typical ordering of the orbitals is the following: all occupied spin up orbitals, all virtual spin up orbitals, all occupied spin down orbital, all virtual spin down orbitals. If this ordering is followed when using the local actives spaces of each fragment, the \(O(N)\) overhead is still applicable. Take, for example, just the one-body term from the first occupied spin up orbital of the first fragment to the first virtual spin up orbital for the first fragment. In this case, \(j=1\) and \(k=O(N)\), leading to the typical \(O(N)\) Jordan-Wigner scaling. If, instead, the orbitals are ordered with all occupied spin up orbitals of fragment one, followed by all virtual spin up orbitals of fragment one, followed the same for the second fragment, and so on, the overhead is removed. Now, \(j=1\) and \(k=O(N_k)\), where \(N_k\) is the number of spin orbitals in each fragment. Since \(N_k\) is assumed to be fixed as the number of fragments grows, the \(O(N)\) scaling is reduced to a constant. To remove the Jordan-Wigner overhead from mixed spin two-body terms, the ordering can be further changed so that each spin up orbital is immediately followed by its analogous spin down orbital. This shows that the Jordan-Wigner \(O(N)\) overhead can be removed from all terms in the reduced Hamiltonian, removing the \(O(N)\) scaling from the QPE part of LAS-UCC. For UCCSD correlators, the Jordan-Wigner overhead can be removed for certain geometries, such as the linear H\(_2\) chain studied in the main text. More complex geometries, such as higher dimensional lattices, will re-introduce scaling terms, as the orbitals cannot be simultaneously ordered to give low-weight Pauli strings for terms which couple both in the multiple dimensions, such as \(x\) and \(y\) in a 2D lattice.
# Single Qubit Rotation Gates
Figure [\[fig:rot_gates\]](#fig:rot_gates){reference-type="ref" reference="fig:rot_gates"} shows the estimated number of arbitrary single qubit rotation gates needed to implement full QPE across the whole molecule, the fragmented LAS-QPE, full UCCSD, and the 2-local UCCSD correlator with increasing number of H\(_2\) molecules. Just like in the main text, LAS-UCC has polynomially fewer gates, compared with QPE or UCCSD, scaling only linearly for the linear chain geometry. QPE and UCCSD only need \(O(N^4)\) single qubit rotations because the Jordan-Wigner overhead only shows up in the CNOT gates.
``` {#lst:spatexc .python caption="\\change{Code for generating the spatial-orbital list of the UCCSD correlator in LAS-UCC within \\textit{mrh}}" language="Python" float="*" label="lst:spatexc"}
def get_uccsd_op (norb, t1=None, t2=None): ''' Construct and optionally initialize semi-spin-adapted unitary CC correlator with singles and doubles spanning a single undifferentiated orbital range. Excitations from spatial orbital(s) i(, j) to spatial orbital(s) a(, b) are applied to the ket in the order U|ket> = u^n(n-1)_nn u^n(n-1)_n(n-1) u^n(n-2)_nn... u^11_22 u^11_21 ... u^n_(n-1) u^n_(n-2)... u^3_2 u^3_1 u^2_1 |ket> where ^ indicates creation operators (a, b; rows) and _ indicates annihilation operators (i, j; columns). The doubles amplitudes are arbitrarily chosen in the upper-triangular space (a,b <= i,j), but the lower-triangular space is used for the individual double pairs (a > b, i > j) and for the singles amplitudes (a > i). In all cases, row-major ordering is employed. The spin cases of a given set of orbitals a, b, i, j are grouped together. For singles, spin-up (a) and spin-down (b) amplitudes are constrained to be equal and the spin-up operator is on the right (i.e., is applied first). For doubles, the spin case order is u|ket>-> ^bb_bb ^ab_ab ^ab_ba ^ba_ab ^ba_ba ^aa_aa |ket> For spatial orbital cases in which the same index appears more than once, spin cases that correspond to nilpotent (eg., ^pp_qr ^aa_aa), undefined (eg., ^pq_pq ^ab_ab), or redundant (eg., ^pq_pq ^ab_ba) operators are omitted. Args: norb: integer Total number of spatial orbitals. (0.5 * #spinorbitals) Kwargs: t1: ndarray of shape (norb,norb) Amplitudes at which to initialize the singles operators t2: None NOT IMPLEMENTED. Amplitudes at which to initialize the doubles operators Returns: uop: object of class FSUCCOperator The callable UCCSD operator ''' t1_idx = np.tril_indices (norb, k=-1) ab_idxs, ij_idxs = list (t1_idx[0]), list (t1_idx[1]) pq = [(p, q) for p, q in zip (*np.tril_indices (norb))] for ab, ij in combinations_with_replacement (pq, 2): ab_idxs.append (ab) ij_idxs.append (ij) uop = FSUCCOperator (norb, ab_idxs, ij_idxs) x0 = uop.get_uniq_amps () if t1 is not None: x0[:len (t1_idx[0])] = t1[t1_idx] if t2 is not None: raise NotImplementedError ("t2 initialization") uop.set_uniq_amps_(x0) return uop
```
``` {#lst:spinexc .python caption="\\change{Code for generating spin-orbital excitation operators of UCC(SD) in \\textit{mrh}. The function ``spincases'' is presented in Listing \\ref{lst:spincases}}" language="Python" float="*" label="lst:spinexc"}
class FSUCCOperator (uccsd_sym0.FSUCCOperator): ''' A callable spin-adapted (Sz only) unrestricted coupled cluster operator. For single-excitation operators, spin-up and spin-down amplitudes are constrained to be equal. All spin cases for a given spatial-orbital excitation pattern (from i_idxs to a_idxs) are grouped together and applied to the ket in ascending order of the index (a_spin) * nelec + i_spin where 'a_spin' and 'i_spin' are the ordinal indices of the spin cases returned by the function 'spincases' for a_idxs (creation operators) and i_idxs (annihilation operators) respectively, and nelec is the order of the generator (1=singles, 2=doubles, etc.) Nilpotent or undefined spin cases (i.e., because of spatial-orbital index collisions) are omitted. ''' def __init__(self, norb, a_idxs, i_idxs): # Up to two equal indices in one generator are allowed # However, we still can't have any equal generators self.a_idxs = [] self.i_idxs = [] self.symtab = [] for ix, (a, i) in enumerate (zip (a_idxs, i_idxs)): a = np.ascontiguousarray (a, dtype=np.uint8) i = np.ascontiguousarray (i, dtype=np.uint8) errstr = 'a,i={},{} invalid for number-sym op'.format (a,i) assert (len (a) == len (i)), errstr #errstr = 'a,i={},{} degree of freedom undefined'.format (a,i) #assert (not (np.all (a == i))), errstr if len (a) == 1: # Only case where I know the proper symmetry # relation between amps to ensure S**2 symrow = [len (self.a_idxs), len (self.i_idxs)+1] self.a_idxs.extend ([a, a+norb]) self.i_idxs.extend ([i, i+norb]) self.symtab.append (symrow) else: for ix_ab, (ab, ma) in enumerate (zip (*spincases (a, norb))): if np.amax (np.unique (ab, # nilpotent escape return_counts=True)[1]) > 1: continue for ix_ij, (ij, mi) in enumerate (zip (*spincases ( i, norb))): if mi != ma: continue # sz-break escape if np.all (ab==ij): continue # undefined escape if np.all (a==i) and ix_ab>ix_ij: continue # redundant escape if np.amax (np.unique (ij, return_counts=True)[1]) > 1: continue # nilpotent escape self.symtab.append ([len (self.a_idxs)]) self.a_idxs.append (ab) self.i_idxs.append (ij) self.norb = 2*norb self.ngen = len (self.a_idxs) assert (len (self.i_idxs) == self.ngen) self.uniq_gen_idx = np.array ([x[0] for x in self.symtab]) self.amps = np.zeros (self.ngen) self.assert_sanity ()
```
``` {#lst:spincases .python caption="\\change{Code for generating a valid list of spin cases corresponding to a set of field operators for particular spatial orbitals in \\textit{mrh}}" language="Python" float="*" label="lst:spincases"}
def spincases (p_idxs, norb): ''' Compute the spinorbital indices corresponding to all spin cases of a set of field operators acting on a specified list of spatial orbitals The different spin cases are returned 'column-major order': aaa... baa... aba... bba... aab... The index of a given spincase string ('aba...', etc.) can be computed as p_spin = int (spincase[::-1].replace ('a','0').replace ('b','1'), 2) Args: p_idxs: ndarray of shape (nelec,) Spatial orbital indices norb: integer Total number of spatial orbitals Returns: p_idxs: ndarray of shape (2^nelec, nelec) Rows contain different spinorbital cases of the input spatial orbitals m: ndarray of shape (2^nelec,) Number of beta (spin-down) orbitals in each spin case ''' nelec = len (p_idxs) p_idxs = p_idxs[None,:] m = np.array ([0]) for ielec in range (nelec): q_idxs = p_idxs.copy () q_idxs[:,ielec] += norb p_idxs = np.append (p_idxs, q_idxs, axis=0) m = np.append (m, m+1) p_sorted = np.stack ([np.sort (prow) for prow in p_idxs], axis=0) idx_uniq = np.unique (p_sorted, return_index=True, axis=0)[1] p_idxs = p_idxs[idx_uniq] m = m[idx_uniq] return p_idxs, m
```
``` {#lst:hfuccsdexc .python caption="\\change{Code for generating the excitation operators of the UCCSD ansatz for the UCCSD calculations of Fig.~(4) of the main text. }" language="Python" float="*" label="lst:hfuccsdexc"}
def generate_fermionic_excitations_occ(num_excitations,num_spin_orbitals,num_particles, alpha_occ,alpha_unocc,beta_occ,beta_unocc): #Assumes ordering [occ_alpha,unocc_alpha,occ_beta,unocc_beta] alpha_excitations = [] # generate alpha-spin orbital indices for occupied and unoccupied ones # the Cartesian product of these lists gives all possible single alpha-spin excitations alpha_excitations = list(itertools.product(alpha_occ, alpha_unocc)) # the Cartesian product of these lists gives all possible single beta-spin excitations beta_excitations = list(itertools.product(beta_occ, beta_unocc)) # we can find the actual list of excitations by doing the following: # 1. combine the single alpha-and beta-spin excitations # 2. find all possible combinations of length `num_excitations` pool = itertools.combinations( alpha_excitations + beta_excitations, num_excitations ) excitations = list() visited_excitations = set() for exc in pool: # validate an excitation by asserting that all indices are unique: # 1. get the frozen set of indices in the excitation exc_set = frozenset(itertools.chain.from_iterable(exc)) # 2. all indices must be unique (size of set equals 2 * num_excitations) # 3. and we palso don't want to include permuted variants of identical excitations if len(exc_set) == num_excitations * 2 and exc_set not in visited_excitations: visited_excitations.add(exc_set) occ, unocc = zip(*exc) exc_tuple = (occ, unocc) excitations.append(exc_tuple) return excitations
``` | {'timestamp': '2022-03-07T02:03:20', 'yymm': '2203', 'arxiv_id': '2203.02012', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02012'} |
# Introduction
Let \(P\) be a point on an elliptic curve \(E\) defined over a discrete valuation field \(K\). In this paper, we study some properties of the sequence \(\{nP\}_{n\in\mathbb{N}}\) of the multiples of the point \(P\). It is known that this sequence has some remarkable properties, in particular when a Weierstrass model is fixed \[y^2+a_1xy+a_3y=x^3+a_2x^2+a_4x+a_6\] the elements \(nP=\left(\frac{\phi_n(x,y)}{\psi_n^2(x,y)},\frac{\omega_n(x,y)}{\psi_n^3(x,y)}\right)\) for \(P=(x,y)\) satisfy certain recurrent formulas (see properties (A), (B), (C) below or ). When the curve \(E\) is defined over a number field the sequence \((\psi_{n}(x,y))_{n\in\mathbb{N}}\) has been studied as an example of a divisibility sequence, a notion which was studied classically for Lucas sequences and by Ward for higher degree recurrences. Many more results are known, including and. Over function fields, in particular over the function field of a smooth projective curve \(C\) over an algebraically closed field \(k\) one can study the set of effective divisors \(\{D_{nP}\}\) where \(D_{nP}\) is the divisor of poles of the element \(x(nP)\) for a fixed \(n\), cf., , ,. The question which we investigate in this paper is to what extent, for a fixed discrete valuation \(v\) in the field \(K\), the numbers \(v(\psi_n)\) and \(v(\phi_{n})\) can be both positive and what is the maximum exponent \(r\) for the power \(\pi^{r}\) of the local at \(v\) uniformizing element \(\pi\in K\) which divides both \(\psi_n\) and \(\phi_n\). Such a situation only happens when the point \(P\) has bad reduction at the place \(v\) and we produce a complete formula which deals with all Kodaira reduction types. Our main result has the same formulation as the main theorem proved by Yabuta and Voutier for finite extensions of \(\mathbb{Q}_{p}\) but our proof is much shorter and depends exclusively on the elementary properties of the Néron local heights. Up to some standard facts from ,,, and our proof is essentially self-contained. Let \(n\) be a positive integer and define \[k_{v,n}=\min\left\{v\left(\psi_n^2(x(P))\right),v\left(\phi_n(x(P))\right)\right\}.\]
If the residue field \(\kappa\) is perfect, then the Kodaira symbol of the curve is one of those of Table [1](#tab:common_vals){reference-type="ref" reference="tab:common_vals"} and it can be computed using. If \(\kappa\) is not perfect, then one can compute the Kodaira symbol of the curve using. We also emphasize that the formula for the cancellation \(k_{v,n}\) is a quadratic polynomial in \(n\) with rational coefficients which depend only on the correction terms \(c_v(P)\) defined by Cox-Zucker and used extensively by in his theory of Mordell-Weil lattices. This dependence is deduced naturally from a translation of the local Néron height into the language of elliptic surfaces. Although the difference between these notions is purely psychological, we find it more natural to formulate our argument using correction terms and intersection pairing of curves. There are two key facts which make the proof ultimately very short.
- The Néron local height is a sum of two ingredients: local intersection pairing with the zero section and the "correction part" which depends only on the component which the given point hits at the place \(v\), cf., ,.
- The valuation \(v(\psi_n(P))\) is a quadratic polynomial in \(n\) whose coefficients depend on the local Néron height at arguments \(nP\) and \(P\), respectively, and on the valuation of the minimal discriminant \(\Delta\) of the elliptic curve \(E\), cf. Lemmas [\[lem:valuation_lem_1\]](#lem:valuation_lem_1){reference-type="ref" reference="lem:valuation_lem_1"},[\[lemma:psiinter\]](#lemma:psiinter){reference-type="ref" reference="lemma:psiinter"}
On the way we reprove in our setting some results of and obtain a much simpler analysis of the "troublemaker sequences" used by Stange and in their proofs. In fact, we dare to say that our current formulation is optimal in its exposition, emphasizing the role of the component group at places \(v\) of bad reduction and the mapping of point \(P\) to its elements \(comp_v(P)\) at places \(v\) of bad reduction. In the number field case, the sequence \(k_{v,n}\) received many attentions during the last 30 years, cf., , ,. There were many attempt to understand the shape of \(k_{v,n}\) and the goal of this paper is to give a very precise formula in the most general setting. The study of the sequence \(k_{v,n}\) has some interesting applications. For example, knowing the behaviour of \(k_{v,n}\) was necessary to show that every elliptic divisibility sequence satisfies a recurrence relation in the rational case, cf.. Another application can be found in and, where the study of \(k_{v,n}\) was necessary to study the problem of understanding when a multiple of \(P\) is integral.
# First definitions
Let \(R\) be a discrete valuation ring with quotient field \(K\) and residue field \(\kappa\). Let \(v\) be the valuation of \(K\) and assume that \(v(K^*)=\Z\). Let \(E\) be an elliptic curve over \(K\) which is a generic fibre of the regular proper model \(\pi:\mathcal{E}\rightarrow\Spec R=\{o,s\}\). The fibre \(E_s=\pi^{-1}(s)\) is the special fibre (singular or not). We denote by \(\widetilde{\mathcal{E}}\rightarrow\Spec R=\{o,s\}\) the associated Néron model which is the subscheme of smooth points over \(R\). Assume that Weierstrass model of \(E\) is in minimal form with respect to \(v\) and let \(P=(x,y)\in E(K)\). We denote by \(\Delta\) the discriminant of the minimal model \(E\). The point \(P\in E(K)\) extends to a section \(\sigma_{P}:\Spec R\rightarrow\overline{\mathcal{E}}\) by the Néron model property. Let \(\Phi_{v}\) denote the group of components of the special fibre \(E_s\). We have a natural map \(comp_{v}:E(K)\rightarrow\Phi_{v}\) which sends the point \(P\) to the element of the component group. We say that the point \(P\) is non-singular modulo \(v\) if the image \(comp_v(P)\) is the identity element, otherwise the point \(P\) is singular modulo \(v\). Let \(E_0(K)\) be the subgroup of \(E(K)\) of points that reduce to non-singular points modulo \(v\) and it is well known that \(comp_v(P)\) belongs to a cyclic component of \(\Phi_v\). Let \(a_P\) be the order of this component and let \(m_P\) be the order of \(comp_v(P)\) in \(\Phi_v\).
The division polynomials are defined in. We recall the properties that we will use:
- If \(nP\) is not equal to the identity of the curve \(O\), then \[x(nP)=\frac{\phi_n(x(P))}{\psi_n^2(x(P))};\]
- The polynomials have integer coefficients. Moreover, \(\psi_n^2(x)\) has degree \(n^2-1\) and \(\phi_n(x)\) is monic and has degree \(n^2\);
- It holds \[\phi_n(x(P))=x(P)\psi_n^2(x(P))-\psi_{n-1}(P)\psi_{n+1}(P).\]
# Proof of the main theorem
Recall that, in the case \(\kappa\) perfect, the Kodaira symbol of an elliptic curve can be computed using.
In the last line we are assuming that \(0<a_P< m\).
In order to compute the value of \(c_v(P)\) in the case when \(\kappa\) is not perfect, one can use the analogue of Tate's algorithm in the non-perfect case, cf..
Put \(n_P\) as the smallest positive integer such that \(n_P P\) reduces to the identity modulo \(v\). Observe that \(n_P\) does not necessarily exist.
Now, we are ready to prove our main result.
Now, we show an example of how to compute \(k_{v,n}\) in some particular cases. For more details on the following examples, see. | {'timestamp': '2022-03-07T02:03:22', 'yymm': '2203', 'arxiv_id': '2203.02015', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02015'} |
# Introduction
Anomaly detection (AD) has numerous real-world applications, especially for tabular data, including detection of fraudulent transactions, intrusions for cybersecurity, and adverse outcomes in healthcare. We propose a novel method that targets the following challenges in tabular AD:
- **Noisy and irrelevant features**: Tabular data (such as Electronic Health Records) often contain noisy or irrelevant features caused by measurement noise, outliers and inconsistent units. Yet, even a change in a small subset of features may be considered anomalous.
- **Heterogeneous features**: Unlike image or text data, tabular data features can have values with significantly different types (numerical, boolean, categorical, and ordinal), ranges and distributions.
- **Some labeled data**: In many applications, often a small set of labeled data is available. AD accuracy can be substantially boosted by using labeled information to identify some representative anomalies and ignore irrelevant ones.
- **Interpretability**: Without interpretable outputs, humans cannot understand the rationale behind anomalies, take actions to improve the AD model performance and build trust. Verification of model accuracy is particularly challenging for tabular data as they are not easy to visualize for humans. An interpretable AD model should identify important features used to classify anomalies to enable verification and build trust.
Most AD methods for tabular data fail to address the above challenges--their performance often deteriorates with noisy features (see Sec. [4](#sec:experiments){reference-type="ref" reference="sec:experiments"}), they cannot incorporate labeled data, and they cannot provide interpretability (see Sec. [2](#sec:related_work){reference-type="ref" reference="sec:related_work"}). In this paper, we aim to address these challenges by proposing a **D**ata-efficient **I**nterpretable **AD** approach, which we call **DIAD**. Our model architecture is inspired by Generalized Additive Models (GAMs) that have been shown to obtain high accuracy and interpretability for tabular data and are widely used in many applications such as finding outlier patterns and auditing fairness . We propose to employ intuitive notions of Partial Identification (PID) as AD objective and propose to learn them with differentiable GAMs. PID scales to high-dimensional features and handles heterogeneous features, while the differentiable GAM architecture allows fine-tuning with labeled data and retain interpretability. Furthermore, by fine-tuning using a differentiable AUC loss with a small amount of labeled samples, DIAD outperforms other semi-supervised learning AD methods. For example, DIAD improves from 86.2% to 89.4% AUC with 5 labeled anomalies by unsupervised AD. DIAD provides rationale on why an example is classified as anomalous using the GAM graphs and also gives insights on the impact of labeled data on decision boundary, which can be used to build global understanding about the task and to help improve the AD performance.
# Related Work {#sec:related_work}
AD methods only with normal data are widely studied . The methods closest to the proposed are the tree-based AD. Isolation Forest (IF) grows decision trees randomly and the shallower the tree depth for the data is, the more anomalous the data is. However, this approach shows performance degradation when feature dimensionality increases. Robust Random Cut Forest (RRCF, ) further improves IF by choosing features to split based on the size of its range, but it is more sensitive to scale. PIDForest zooms on the features which have large variances which makes it robust to noisy or irrelevant features. Another family of AD methods are based on generative approaches that learn to reconstruct input features, and use the error of reconstructions or density to identify anomalies. employs auto-encoders for image data. DAGMM first learns an auto-encoder and uses a Gaussian Mixture Model to estimate density in the low-dimensional latent space. Since these generative approaches are based on reconstructing input features, they may not easily fit in high-dimensional tabular data with noisy and heterogeneous features and small amount of labeled examples.
Recently, methods with pseudo-tasks have been proposed for AD. One major line of work is to predict geometric transformations , such as rotation or random transformations, and use the prediction errors to detect anomalies. instead learns a set of diverse transformations and show improvements for tabular and text data. CutPaste learns to classify the images with patches replaced by another image, combined with density estimation in the latent space for image data. Several recent works focus on contrastive learning. learns to distinguish synthetic samples from the original distribution and achieves success on image data. first learns a distribution-augmented contrastive representation and then uses a one-class classifier to identify anomalies. Internal Contrastive Learning (ICL, ) tries to distinguish between in-window and out-of-window features by a sliding window over features and utilizes the error to identify anomalies, achieving state-of-the-art performance for tabular data. A few AD works focus on explainability. explain anomalies from other off-the-shelf detectors; thus, their explanations may not reflect the rationales of the detectors. proposes to identify anomalies with a one-class classifier; it uses a CNN without fully connected layers so each output unit corresponds to a receptive field in the input image. This allows visualizations of which part of the input images leads to high error in the output with accurate localization; however, this approach is limited to image data. Several works have been proposed for semi-supervised AD. Deep SAD extends the deep one-class classification method DSVDD into the semi-supervised setting. However, their approach is non-interpretable and performs even worse than the unsupervised One-Class SVM for tabular data, while the DIAD outperforms it. DevNet formulates the AD problem into a regression problem and achieves better sample complexity under limited labeled data. trains an embedding similar to BERT combined with consistency loss and achieves the state-of-the-art semi-supervised performance in tabular data. See Table [\[table:related_work\]](#table:related_work){reference-type="ref" reference="table:related_work"} for a comparison.
# Methods
#### Model Architecture
To render AD interpretable and allow back-propagation to learn from labeled data, our work is inspired from the NodeGAM , an interpretable and differentiable tree-based GAM model.
#### What are GAM and GA\(^2\)M?
GAMs and GA\(^2\)Ms are considered as white-box models since they allow humans to visualize their functional forms in 1-D or 2-D plots by not allowing any 3-way or more feature interactions. Specifically, given an input \(x\in\mathbb{R}^{D}\), a label \(y\), a link function \(g\) (e.g. \(g\) is \(\log ({p}/{1-p})\) in binary classification), main effects \(f_j\) for each feature \(j\), and 2-way feature interactions \(f_{jj'}\), GAM and GA\(^2\)M are expressed as: \[\begin{aligned}
&\text{\textbf{GAM}:\ \ \ \ } g(y) = f_0 + \sum_{j=1}^D f_j(x_j), \ \ \ \\ &\text{\textbf{GA\(^2\)M}:\ \ \ \ } g(y) = f_0 + \sum_{j=1}^D f_j(x_j) + \sum_{j=1}^D\sum_{j' > j} f_{jj'}(x_j, x_{j'}). \end{aligned}\] Unlike commonly-used deep learning architectures that use all the feature interactions, GAMs and GA\(^2\)M are restricted to lower-order interaction (1 or 2-way), so the impact of each \(f_j\) or interaction \(f_{jj'}(x_j, x_{j'})\) can be visualized independently as a graph. That means, for \(f_j\), we may plot \(x_j\) on the x-axis and \(f_j(x_j)\) on the y-axis. To plot \(f_{jj'}\), we show a scatter plot with \(x_j\) on the x-axis and \(x_j'\) on the y-axis, where color indicates the value \(f_{jj'}\). Note that a linear model is a special case of GAM. Humans can easily simulate the decision making of a GAM by reading \(f_j\) and \(f_{jj'}\) from the graph for each feature \(j\) and \(j'\) and taking the sum. Here we review NodeGA\(^2\)M relevant to our changes. NodeGA\(^2\)M is based on GA\(^2\)M but uses the neural trees to learn feature functions \(f_j\) and \(f_{jj'}\). Specifically, NodeGA\(^2\)M consists of \(L\) layers where each layer has \(m\) differentiable soft oblivious decision trees (ODT) of equal depth \(C\) where each tree only interacts with at most 2 features. Next, we describe ODTs.
#### AD Objectives
Here we introduce the AD objective for our tree-based model: Partial Identification (PID) . Consider all patients admitted into an ICU. We might consider patients with blood pressure (BP) as 300 as anomalous, since it deviates from most others. In this example, BP of 300 is in a \"sparse\" feature space since very few people are more than 300. To formalize this intuition, we need to introduce the concept of volume. We first define the max and min value of each feature value. Then, we define the volume of a tree leaf as the product of the proportion of the splits within the min and max value. For example, assuming the max value of BP is 400 and min value is 0, the tree split of \"BP \(\ge\) 300\" has a volume \(0.25\). We define the sparsity \(s_l\) of a tree leaf \(l\) as the ratio between the volume of the leaf \(V_l\) and the % of data in the leaf \(D_l\): \[s_l = {V_l} / {D_l},\] and we treat the higher sparsity as more anomalous. Let's assume only less than 0.1% have values more than 300 and the volume of \"BP \(\ge\) 300\" is 0.25, this patient is quite anomalous in the data by having a large sparsity \(\frac{0.25}{0.1\%}\). To learn the effective splitting of regions with high vs. low sparsity, we optimize the tree structures to maximize the variance of sparsity across leafs, as it splits the space into a high (anomalous) and a low (normal) sparsity region. Note that the expected sparsity weighted by the number of data in each leaf is a constant \(1\). Given each tree leaf \(l\), the % of data in the leaf is \(D_l\), sparsity \(s_l\): \[\mathbb{E}[s] = \sum_l [D_l s_l] = \sum_l [D_l \frac{V_l}{D_l}] = \sum_l [V_l] = 1.\] Therefore, maximizing variance equals to maximizing the second moment of sparsity since the first moment is \(1\): \[\max \text{Var}[s] = \max \sum\nolimits_l D_l s_l^2 = \max \sum\nolimits_l {V_l^2}/{D_l}.\]
#### Estimating volume and the data ratio
The above objectives require estimating % of volume \(V_l\) and % of data \(D_l\) for each leaf \(l\). However, calculating volume exactly is not trivial in an oblivious decision tree since it involves complicated rules extractions. Instead, we sample random points uniformly in the input space, and count the number of the random points that end up in each tree leaf. And more points in a leaf indicate higher volume. To avoid the zero count in the denominator, we use Laplacian smoothing, which adds a constant \(\delta\) to each count. We find it's crucial to set a large \(\delta\), around 50-100, to encourage models to ignore the tree leaves with fewer counts. Similarly, we estimate \(D_l\) by counting the data ratio in each mini-batch. We add \(\delta\) for both \(V_l\) and \(D_l\).
#### Regularization
To encourage diverse trees, we introduce a per-tree dropout noise on the estimated momentum to make each tree operate on a different subset of samples in a mini-batch. We also restrict each tree to only split on \(\rho\%\) of features randomly to promote diverse trees (Supp. [\[appx:hparams\]](#appx:hparams){reference-type="ref" reference="appx:hparams"}).
#### Updating leafs' weight
We set the leafs' response as the sparsity to reflect the degree of the anomaly. However, since sparsity estimation involves randomness, we set the response as the damped value of sparsity to stabilize the performance. Specifically, given the training step \(i\), sparsity \(s_l^i\) for each leaf \(l\), and the update rate \(\gamma\): \[w_l^i = (1-\gamma)w_l^{(i-1)} + \gamma s_l^i. \label{eq:sp_update}\]
#### Normalizing sparsity
Because of the residual connections, the output of each tree adds with the input features and the summation becomes the input to the next tree. But this creates a very large magnitude difference--as the output of trees could have sparsity values up to \(10^4\) but the input feature is normalized to-1 and 1, naive optimization tends to ignore the input features. Also, the large outputs of trees make fine-tuning hard and lead to inferior performance in the semi-supervised setting (Sec. [5](#sec:ablation){reference-type="ref" reference="sec:ablation"}). To circumvent this magnitude difference, we linearly scale the min and max value of the estimated sparsity to-1 and 1: \[\hat{s}_l = {V_l} / {D_l},\ \ \ \ \ s_l = {2\hat{s}_l} / {(\max_l \hat{s}_l-\min_l \hat{s}_l)}-1. \label{eq:norm_sp}\] Algorithm [\[alg:pid_update\]](#alg:pid_update){reference-type="ref" reference="alg:pid_update"} overviews all training update steps.
#### Incorporating labeled data
To optimize the labeled data in the imbalanced setting, we optimize the differentiable AUC loss which has been shown effective in the imbalanced setting. Specifically, given a mini-batch of labeled positive data \(X_P\) and labeled negative data \(X_N\), model \(\mathcal{M}\), it minimizes \[L_{PN} = \frac{1}{|X_P| |X_N|} \sum_{x_p \in X_P, x_n \in X_N} \max(\mathcal{M}(x_n)-\mathcal{M}(x_p), 0).\] We compare this AUC loss to commonly-used Binary Cross Entropy (BCE) loss (Sec. [5](#sec:ablation){reference-type="ref" reference="sec:ablation"}).
#### Data Loader
Similar to Devnet , we upsample the positive samples to make each mini-batch have the same number of positive and negative samples. We find it improves over uniform sampling (Sec. [5](#sec:ablation){reference-type="ref" reference="sec:ablation"}).
# Experiments {#sec:experiments}
We evaluate DIAD on various tabular datasets, in both unsupervised and semi-supervised settings. Detailed experimental settings and additional results are in Supplementary.
## Unsupervised Anomaly Detection
We compare methods on \(20\) tabular datasets, including \(14\) datasets used in and \(6\) larger datasets from. Since it's hard to tune hyperparameters in the unsupervised setting, for fair comparisons we compare all baselines using default hyperparameters. We run experiments 8 times with different random seeds and take average if methods involve randomness.
#### Baselines
We compare with ICL , a recent deep-learning AD method, and non-deep learning methods including PIDForest , COPOD , PCA, k-nearest neighbors (kNN), RRCF , LOF and OC-SVM . We use 2 aggregate metrics to summarize the performances across datasets: (1) **Average**: we take the average of AUC across datasets, (2) **Rank**: to avoid dominant impact of a few datasets, we calculate the rank of each method in each dataset and average across datasets (lower rank is better). We demonstrate overall AUC performances in Table [\[table:unsup_perf\]](#table:unsup_perf){reference-type="ref" reference="table:unsup_perf"}. On average, our method performs the best in both Average and Rank. DIAD, using up to 2nd order interactions, performs better or on par with other models for most datasets. Compared to PIDForest, DIAD often underperforms on smaller datasets such as Musk and Thyroid, but outperforms on larger datasets like Backdoor, Celeba, Census and Donors. In Table. [\[table:unsup_noisy_perf\]](#table:unsup_noisy_perf){reference-type="ref" reference="table:unsup_noisy_perf"}, we evaluate the robustness of AD methods with the additional noisy features. More specifically, we follow the experiment settings in to include 50 additional noisy features which are randomly sampled from \([-1, 1]\) to Thyroid and Mammography datasets, and create Thyroid (noise) and Mammography (noise) respectively. In Table. [\[table:unsup_noisy_perf\]](#table:unsup_noisy_perf){reference-type="ref" reference="table:unsup_noisy_perf"}, we show that the performance of DIAD is robust with additional noisy features (76.1\(\rightarrow\)`<!-- -->`{=html}71.1, 85.0\(\rightarrow\)`<!-- -->`{=html}83.1), while others show significant performance degradation. For example, on Thyroid (noise), ICL decreases from 75.9\(\rightarrow\)`<!-- -->`{=html}49.5, KNN from 75.1\(\rightarrow\)`<!-- -->`{=html}49.5, and COPOD from 77.6\(\rightarrow\)`<!-- -->`{=html}60.5.
## Semi-supervised Anomaly Detection {#sec:ss_result}
Next, we focus on the semi-supervised setting. We show how much DIAD can improve the performance with small labeled data in comparison to alternatives. We first divide the data into 64%-16%-20% train-val-test splits, and within the training set only a small part of data is labeled. Specifically, we assume the existence of labels for a small subset of the training set (5, 15, 30, 60 or 120 positives and the corresponding negatives to have the same anomaly ratio). The validation set is used for model selection and we report the average performances evaluated on the disjoint 10 data splits. We compare with 3 baselines: (1) **DIAD w/o PT**: we directly optimize our model under the small labeled data without the first AD pre-training stage. (2) **CST**: we compare with the Consistency Loss proposed in which regularizes the model to make similar predictions between unlabeled data under dropout noise injection. (3) **DevNet** : the state-of-the-art semi-supervised AD methods. Hyperparameters are in Supp. [\[appx:ss_hparams\]](#appx:ss_hparams){reference-type="ref" reference="appx:ss_hparams"}.
Fig. [\[fig:ss\]](#fig:ss){reference-type="ref" reference="fig:ss"} shows the AUC across 8 of 15 datasets (the rest can be found in Supp. [\[appx:ss_figures_appx\]](#appx:ss_figures_appx){reference-type="ref" reference="appx:ss_figures_appx"}). The proposed version of DIAD (blue) outperforms DIAD without pre-training (orange) consistently in 14 of 15 datasets (except Census dataset), which demonstrates that learning the PID objectives from unlabeled data help improve the performance. Second, both the consistency loss (green) and DevNet (red) do not always improve the performance in comparison to the supervised setting. To conclude, DIAD outperforms all baselines and improve from the unlabeled setting.
## Qualitative analyses on GAM explanations
#### Explaining anomalous data
To let domain experts understand and debug why a sample is considered anomalous, we demonstrate explaining the most anomalous sample considered by DIAD on Mammography dataset. The task is to detect breast cancer from radiological scans, specifically the presence of clusters of microcalcifications that appear bright on a mammogram. The 11k images are segmented and preprocessed by vision pipelines and extracted 6 image-related features including the area of the cell, constrast, and noise etc. In Fig. [\[fig:mammography_gam_plots\]](#fig:mammography_gam_plots){reference-type="ref" reference="fig:mammography_gam_plots"}, we show the most anomalous data and see which feature contributes the most for sparsity (i.e. anomalous). We illustrate why the model predicts this sample as anomalous; the unusually-high 'Contrast' (Fig. [\[fig:mammography_gam_plots\]](#fig:mammography_gam_plots){reference-type="ref" reference="fig:mammography_gam_plots"}(a)) of the image differs from other samples. Also, the unusually high noise (Fig. [\[fig:mammography_gam_plots\]](#fig:mammography_gam_plots){reference-type="ref" reference="fig:mammography_gam_plots"}(b)) and 'Large area' (Fig. [\[fig:mammography_gam_plots\]](#fig:mammography_gam_plots){reference-type="ref" reference="fig:mammography_gam_plots"}(c)) also makes it anomalous. Finally, it is also considered quite anomalous in a 2-way interaction (Fig. [\[fig:mammography_gam_plots\]](#fig:mammography_gam_plots){reference-type="ref" reference="fig:mammography_gam_plots"}(d)). Since the sample has 'middle area' and 'middle gray level' which constitute a rare combination for the dataset.
#### Qualitative analyses on the impact of fine-tuning with labeled data
In Fig. [\[fig:donors_ft\]](#fig:donors_ft){reference-type="ref" reference="fig:donors_ft"}, we visualize how predictions change before and after fine-tuning with labeled samples on Donors dataset. Donors dataset consists of 620k educational proposals for K12 level with 10 features, and the anomalies are defined as the top 5% ranked proposals as outstanding. Here, we show 4 GAM plots before and after fine-tuning. Figs. [\[fig:donors_ft\]](#fig:donors_ft){reference-type="ref" reference="fig:donors_ft"} a & b show that both 'Great Chat' and 'Great Messages Proportion' increase its magnitude after fine-tuning, showing that the sparsity of these two features is consistent with the labels. On the other hand, Figs. [\[fig:donors_ft\]](#fig:donors_ft){reference-type="ref" reference="fig:donors_ft"} c & d show that after fine-tuning, the model learns the opposite trend. The sparsity definition treats values with less density as more anomalous--in this case *'Fully Funded'=0* is treated as more anomalous. But in fact 'Fully Funded' is a good indicator of outstanding proposals, so after fine-tuning model learns that *'Fully Funded'=1* is in fact more anomalous. This shows the importance of incorporating labeled data into the model to let the model correct its anomaly objective and learn what the intended anomalies are.
# Ablation and sensitivity analysis {#sec:ablation}
To analyze the source of gains, we perform ablation studies with some variants of DIAD. The results are presented in Table [2](#table:ablation){reference-type="ref" reference="table:ablation"}. First, we find fine-tuning with AUC is better than BCE. Sparsity normalization plays an important role in fine-tuning, since sparsity could have values up to \(10^4\) which negatively affect fine-tuning. Upsampling the positive samples also contributes to performance improvements.
In practice we might not have a large (e.g. 16% of the labeled dat) validation dataset, as in Sec. [4.2](#sec:ss_result){reference-type="ref" reference="sec:ss_result"}, thus, it would be valuable to evaluate the performances of DIAD with a smaller validation dataset. In Table [3](#table:ss_val_ratio_main){reference-type="ref" reference="table:ss_val_ratio_main"}, we reduce the validation dataset size to only 4% of the labeled data and find DIAD still consistently outperforms others. Additional results can be found in Supp. [\[appx:ss_less_val\]](#appx:ss_less_val){reference-type="ref" reference="appx:ss_less_val"}. We also perform a sensitivity analysis in Supp. [\[appx:sensitivity\]](#appx:sensitivity){reference-type="ref" reference="appx:sensitivity"} that varies hyperparameters in the unsupervised AD benchmarks. Our method performs quite stable in less than \(2\%\) differences across a variety of hyperparameters.
# Discussions and Conclusions
As all unsupervised AD methods rely on approximate objectives to discover anomalies such as reconstruction loss, predicting geometric transformations, or contrastive learning. The objectives inevitably would not align with labels on some datasets, as inferred from the performance ranking fluctuations across datasets. This motivates for abilities to incorporate labeled data to boost performances and incorporate interpretability to find out whether the model could be trusted and whether the approximate objective aligns with the human-defined anomalies. Beyond the inspirations from NodeGAM for the model architecture and PID loss for the objective, we introduce novel contributions that are key for highly accurate and interpretable AD: we modify the architecture by temperature annealing, introduce a novel way to estimate and normalize sparsity, propose a novel regularization for improved generalization, and introduce semi-supervised AD via supervised fine-tuning of the unsupervised learnt representations. Our contributions play a crucial role to push both unsupervised and semi-supervised AD benchmarks. Furthermore, our method provides interpretability which is crucial in high-stakes applications with needs of explanations such as finance or healthcare. | {'timestamp': '2022-03-07T02:05:03', 'yymm': '2203', 'arxiv_id': '2203.02034', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02034'} |
# Introduction
Colourings of simple \(3\)--dimensional hyperbolic polytopes with elements of \(\mathbb{Z}^3_2\) were first used by Vesnin in order to produce closed hyperbolic \(3\)--manifolds from the so--called Löbell polyhedra. Later on, Davis and Januszkiewicz used a similar idea in order to produce complex \(n\)--manifolds with torus actions. The fixed point set of the conjugation involution of any such manifold produces a real \(n\)--manifold endowed with \(\mathbb{Z}_2\)--action. The latter gives rise to a \(\mathbb{Z}^n_2\)--colouring that corresponds to a manifold known as a small cover. The technique of colourings of right--angled polyhedra was then generalised in the works, and the recent work of Choi and Park provides an efficient method to compute cohomology rings of manifolds obtained via colourings. Right--angled polyhedra attracted a lot of interest per se and as constituent pieces of hypebolic manifolds, cf.. Colourings of polytopes provide an accessible way to build hyperbolic manifolds with prescribed topological characteristics. Cf. the recent surveys for more information about the recent results in this area. One of the classes of manifolds with relatively simple topological structure are homology spheres. We are mostly interested in *rational homology spheres* (termed \(QHS\) for short) and, moreover, in those that are hyperbolic manifolds (which we call hyperbolic \(QHS\)). Having a hyperbolic structure, however, implies that their fundamental groups are highly non--trivial, and this leaves only a narrow escape for hyperbolic \(QHS\) to exist. For example, there are no hyperbolic QHS in dimension \(2\). The first hyperbolic \(QHS\) in dimension \(3\) was constructed by Seifert and Weber. A \(QHS\) produced by \(\mathbb{Z}^3_2\)--colouring of the right--angled hyperbolic dodecahedron can be found in the work of Garrison and Scott. There is still no known example of a hyperbolic \(QHS\) in dimensions \(\geq 4\). Moreover, it is known that even such a large class as arithmetic hyperbolic manifolds cannot produce a QHS of even dimension \(n > 4\). Recently, Reid posed the question on whether there exists an arithmetic hyperbolic \(QHS\) in dimension \(n\geq 3\) that bounds geometrically. We can answer it in the affirmative for \(3\)--dimensional QHS.
It appears that we cannot use colourings to produce hyperbolic rational homology spheres in higher dimensions. Indeed, compact right--angled polytopes exist in \(\mathbb{H}^n\) only for \(n \leq 4\). The only compact \(4\)--dimensional right--angled polytopes known so far appear to be the \(120\)--cell and the associated "garlands" produced by "gluing" several copies of the \(120\)--cell along isometric facets. However, none of such polytopes can produce a manifold with Euler characteristic \(2\) via colouring due to the fact that the orbifold Euler characteristic of the right-angled \(120\)-cell is \(\frac{17}{2}\), and that the orbifold Euler characteristic is multiplicative under covers. We might be able, nonetheless, to use colourings of right-angled \(n\)-cubes to produce Euclidean rational homology spheres, which exist only in odd dimension. In dimension \(3\), there is one colouring up to equivalence that produces the Hantzsche--Wendt manifold. In higher dimensions, Proposition [\[prop:Euclidean QHS\]](#prop:Euclidean QHS){reference-type="ref" reference="prop:Euclidean QHS"} gives a combinatiorial condition to determine whether a colouring of an \(n\)-cube is a rational homology sphere. In even dimension, rational homology spheres have Euler characteristic \(2\) and cannot be Euclidean, since the latter implies Euler characteristic \(0\) via the Gauss--Bonnet formula. As for spherical rational homology spheres, the canonical colouring of the right-angled \(n\)-simplex that associates the \(i\)-th standard basis vector to its \(i\)-th facet, \(1 \leq i \leq n+1\), produces the \(n\)-sphere in any dimension \(n\geq 1\).
## Outline of the paper {#outline-of-the-paper .unnumbered}
In Section [2](#sec:preliminaries){reference-type="ref" reference="sec:preliminaries"} we provide all the necessary definition and basic facts about hyperbolic manifolds obtained via colourings of right--angled polyhedra, including results about their cohomology and coloured isometries. In Section [3](#sec:extensions){reference-type="ref" reference="sec:extensions"} we introduce the concept of colouring extensions and prove some general results related to it. In Section [4](#sec:3-qhs){reference-type="ref" reference="sec:3-qhs"} we provide an easy algorithmic criterion for a coloured compact right--angled hyperbolic \(3\)--polytope to produce a QHS. In Section [5](#sec:fpf-isometries){reference-type="ref" reference="sec:fpf-isometries"} we show how to promote geodesical embeddings to geometrical boundaries, and prove Theorem [\[theorem:qhs-bounds\]](#theorem:qhs-bounds){reference-type="ref" reference="theorem:qhs-bounds"}.
# Preliminaries {#sec:preliminaries}
A finite-volume polytope \(\mathcal{P} \subset \mathbb{X}^n\) (for \(\mathbb{X}^n = \mathbb{S}^n, \mathbb{E}^n, \mathbb{H}^n\) being spherical, Euclidean and hyperbolic \(n\)-dimensional space, respectively, cf. ) is called *right-angled* if any two codimension \(1\) faces (or facets, for short) are either intersecting at a right angle or disjoint. It is known that compact hyperbolic right-angled polytopes cannot exist if \(n > 4\). The only compact right-angled spherical and Euclidean polytopes are the \(n\)-simplex and the \(n\)-parallelotope, respectively. A sufficient condition for an abstract \(3\)-polytope to be realizable as right-angled hyperbolic one is given in. There is no such classification for right-angled \(n\)-polytopes with \(n\geq 4\).
## Colourings of right-angled polytopes
One of the important properties of hyperbolic right-angled polytopes is that their so-called colourings provide a rich class of hyperbolic manifolds. By inspecting the combinatorics of a colouring, one may obtain important topological and geometric information about the associated manifold.
Notice that if \(\mathcal{P} \subset \mathbb{X}^n\) is a compact right-angled polytope then \(\mathcal{P}\) is necessarily simple and the boundary complex \(K_\mathcal{P}\) of its dual \(\mathcal{P}^*\) is a simplicial complex. Below we shall provide a more general definition that works also for the case of non-compact polytopes of finite volume.
If the polytope \(\mathcal{P}\) or the vector space \(W\) are clear from the context, then we will omit them and simply refer to \(\lambda\) as a colouring. The *rank* of \(\lambda\) is the \(\mathbb{Z}_2\)-dimension of \(\mathrm{im}\, \lambda\). We will always assume that colourings are surjective, in the sense that the image of the map \(\lambda\) is a generating set of vectors for \(W\). A colouring of a right-angled \(n\)-polytope \(\mathcal{P}\) naturally defines a homomorphism, which we still denote by \(\lambda\) without much ambiguity, from the associated right-angled Coxeter group \(\Gamma(\mathcal{P})\), that is generated by reflections in all the facets of \(\mathcal{P}\), into \(W\) with its natural group structure. Being a Coxeter polytope, \(\mathcal{P}\) has a natural orbifold structure as the quotient \(\mathbb{X}^n /_{\Gamma(\mathcal{P)}}\).
If the dimension of the vector space \(W\) is minimal, i.e. equal to the maximum number of vertices in the simplices of \(\mathcal{P}^*\), \(\mathcal{M}_\lambda\) is called *a small cover* of \(\mathcal{P}\). This is equivalent to \(\text{rank} \, \lambda = n\).
It is easy to see that \(DJ\)-equivalent proper colourings of a polytope \(\mathcal{P} \subset \mathbb{X}^n\) define isometric manifolds. The converse is also known to be true for orientable manifold covers of the \(3\)-cube and orientable small covers of compact, hyperbolic \(3\)-polytopes. Therefore, unless explicitly said, we shall always consider colourings up to equivalence.
Equivalence gives us the following criterion for orientability.
## Computing the homology of colourings.
Given a right-angled polytope \(\mathcal{P} \subset \mathbb{X}^n\) with a \(\mathbb{Z}^k_2\)-colouring \(\lambda\), let us enumerate the facets \(\mathcal{F}\) of \(\mathcal{P}\) in some order. Then we can assume that \(\mathcal{F} = \{ 1, 2, \ldots, m \}\). Let \(\Lambda\) be *the defining matrix* of \(\lambda\) that consists of the column vectors \(\lambda(1), \ldots, \lambda(m)\) exactly in this order. Hence \(\Lambda\) is a matrix with \(k\) rows and \(m\) columns. More precisely, \(\Lambda\) represents the abelianization of \(\lambda\), i.e. the former is a map such that \(\Lambda \circ \mathrm{ab} = \lambda\), where \(\mathrm{ab}:\Gamma \to \mathbb{Z}_2 ^m\) is the abelianization map that takes \(r_i\), the reflection of the facet \(i\), to \(e_i\). Let \(\mathrm{Row}(\Lambda)\) denote the row space of \(\Lambda\), while for a vector \(\omega \in \mathrm{Row}(\Lambda)\) let \(K_\omega\) be the simplicial subcomplex of the complex \(K=K_\mathcal{P}\) spanned by the vertices \(i\), also labelled by the elements of \(\{1, 2, \ldots, m\}\), such that the \(i\)-th entry of \(\omega\) equals \(1\). Then the rational cohomology of \(\mathcal{M}_{\lambda}\) can be computed via the following formula, c.f.. \[\label{eq:cohomology} H^p(\mathcal{M}_{\lambda},\mathbb{Q})\cong \underset{\omega \in \mathrm{Row}(\Lambda)}{\bigoplus}\widetilde{H}^{p-1}(K_{\omega},\mathbb{Q}).\] Moreover, the cup product structure is given by the maps: \[\label{eq:cup products} \widetilde{H}^{p-1}(K_{\omega_1},\mathbb{Q}) \otimes \widetilde{H}^{q-1}(K_{\omega_2},\mathbb{Q}) \mapsto \widetilde{H}^{p+q-1}(K_{\omega_1 + \omega_2},\mathbb{Q}).\] One practical application of Equation [\[eq:cohomology\]](#eq:cohomology){reference-type="ref" reference="eq:cohomology"} is the computation of Betti numbers of colourings of Euclidean \(n\)-cubes, which turns out to be very simple.
We conclude this section by proving the following useful proposition.
# Colouring Extensions {#sec:extensions}
One direct application of Equation [\[eq:cohomology\]](#eq:cohomology){reference-type="eqref" reference="eq:cohomology"} to extensions of colourings is the following.
In the case of non-orientable colourings, we can define a specific type of extension.
Conversely, there is a criterion to tell whether a given colouring \(\mu\) is an extension of some other colouring \(\lambda\).
# Rational Homology 3-Spheres {#sec:3-qhs}
A manifold \(M\) is called a *homology \(n\)-sphere*,or \(HS^n\), if \(H_i(M, \mathbb{Z}) = H_i(\mathbb{S}^n, \mathbb{Z})\), for all \(i = 1, \ldots, n\). Similarly, \(M\) is called a *rational homology \(n\)-sphere*, or \(QHS^n\), if \(H_i(M, \mathbb{Q}) = H_i(\mathbb{S}^n, \mathbb{Q})\), for all \(i = 1, \ldots, n\). Clearly, any \(HS\)--or \(QHS\)--manifold is orientable. Additionally, we say a \(CW\)-complex is a *(rational) homology point*, or \((Q)HP\), if all its reduced \(\mathbb{Z}\)--(\(\mathbb{Q}\)--) homology groups are trivial. By applying Equation [\[eq:cohomology\]](#eq:cohomology){reference-type="ref" reference="eq:cohomology"}, we have the following.
In the case of colourings of \(n\)-cubes, by applying Corollary [\[cor:Ferrari\]](#cor:Ferrari){reference-type="ref" reference="cor:Ferrari"}, we have the following.
By applying Equation [\[eq:cup products\]](#eq:cup products){reference-type="ref" reference="eq:cup products"}, we get a useful consequence.
Thus, we can improve Lemma [\[lemma:subcomplexes are HP\]](#lemma:subcomplexes are HP){reference-type="ref" reference="lemma:subcomplexes are HP"} algorithmically by checking only the connectivity of some graphs.
In the case of double covers, the transfer homomorphisms can be used in order to obtain the following statement.
Thus we can use the following algorithm in order to determine whether an extension of a colouring is a \(QHS\).
# Geodesic Embeddings and Geometric Boundaries {#sec:fpf-isometries}
First, we describe a way of promoting geodesic embeddings to geometric boundaries. | {'timestamp': '2022-03-07T02:02:49', 'yymm': '2203', 'arxiv_id': '2203.01997', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01997'} |
# Introduction
One of the central objects studied in general relativity are isolated gravitational systems such as stars, black holes and galaxies. Mathematically, they are modeled by asymptotically flat initial data sets (IDS) which are triples \((M,g,k)\) consisting of an asymptotically flat, complete, smooth Riemannian 3-manifold \((M,g)\) together with a smooth, symmetric two-tensor \(k\). More precisely, \((M,g)\) contains a compact set \(\mathcal{C}\subset M\) such that we can write \(M\setminus \mathcal{C}=\cup_{\ell=1}^{\ell_0}M_{end}^{\ell}\) where the ends \(M_{end}^\ell\) are pairwise disjoint and diffeomorphic to the complement of a ball \(\mathbb{R}^3 \setminus B_1\). Furthermore, there exists a coordinate system in each end satisfying \[\label{asymflat} |\partial^l (g_{ij}-\delta_{ij})(x)|=O(|x|^{-\tau-l}),\quad l=0,1,2,\quad\quad |\partial^l k_{ij}(x)|=O(|x|^{-\tau-1-l}),\quad l=0,1,\] for some \(\tau>\tfrac{1}{2}\). To each initial data set \((M,g,k)\) we associate the energy density \(\mu\) and the momentum density \(J\) defined by \[\begin{aligned}
\mu=\frac12(R+(\text{Tr}_g k)^2-|k|^2),\quad\quad J=\div_g(k-\text{Tr}_gkg) \end{aligned}\] where \(R\) is the scalar curvature of \(g\). Moreover, we define the ADM energy \(E\) and linear momentum \(P\) by \[\label{EP definition} E=\lim_{r\rightarrow\infty}\frac{1}{16\pi}\int_{S_{r}}\sum_i \left(g_{ij,i}-g_{ii,j}\right)\upsilon^j dA,\quad\quad P_i=\lim_{r\rightarrow\infty}\frac{1}{8\pi}\int_{S_{r}} \left(k_{ij}-(\mathrm{Tr}_g k)g_{ij}\right)\upsilon^j dA\] where \(\upsilon\) is the outer unit normal to the sphere \(S_r\) and \(dA\) is its area element. In order to ensure that \(E\) and \(P\) are well-defined in equation [\[EP definition\]](#EP definition){reference-type="eqref" reference="EP definition"}, we impose additionally \(\mu,J\in L^1(M)\), and throughout this paper we assume that \(g\in C^{2,\alpha}(M)\) and \(k\in C^{1,\alpha}(M)\). A fundamental results about initial data sets is the positive mass theorem (PMT):
This result has been first established by Schoen-Yau in using the Jang equation and by Witten in using spinors. Further proofs have been given by, and the important special case \(k=0\) has been treated in. We refer to for a more detailed historical overview. It has been conjectured that if \(E=|P|\), the IDS embeds isometrically in Minkowski spacetime with second fundamental form \(k\). This has been already confirmed under additional decay assumptions on \(g\) and \(k\) by Beig-Chrusciel and Huang-Lee in. More precisely, Beig-Chrusciel assume additionally \(g_{ij}-\delta_{ij}\in C^{3,\alpha}_{-\tau}(M)\), \(k_{ij}\in C^{2,\alpha}_{-\tau-1}(M)\) and \(\mu,J\in C^{1,\alpha}_{-3-\epsilon}(M)\) for some constants \(\tau>\frac12\), \(\epsilon>0\) and \(0<\alpha <1\). Huang-Lee assume additionally \(\mu,J\in C^{0,\alpha}_{-3-\epsilon}(M)\) and \(\text{Tr}_gk\in C^0_{-2-\epsilon}(M)\). As observed in, the decay condition \(\text{Tr}_gk\in C^0_{-2-\epsilon}(M)\) can be omitted by combining with. However, the general case is still an open question and is for instance listed as conjecture in, page 226. Furthermore, we would like to point on that and addressed the rigidity conjecture in higher dimension under certain additional assumptions. However, the situation becomes more subtle, see for instance the counter example constructed in. Finally, we would also like to point out the paper on the rigidity of asymptotically hyperbolic manifolds. In this manuscript we establish the following result which removes the additional decay assumptions required in previous papers:
Our theorem is optimal in the sense that we merely need to assume \(\mu,J\in L^1(M)\) which is required to ensure that \(E\) and \(P\) are finite and independent of the coordinate system used. Our proof is short, elementary and relies on two ingredients: First, we use the integral formula for spacetime harmonic functions \(u\) established in. Using the integral formula, we deduce that \(E=|P|\) implies that all level-sets of \(u\) have vanishing Gaussian curvature. Second, we employ the fundamental theorem of surfaces which states that if \((M,g,k)\) satisfies the Gauss and Codazzi equations, \((M,g,k)\) embeds isometrically into Minkowski spacetime. Combining the flatness of the level-sets with Liouville's theorem, we verify that the Gauss and Codazzi equations are indeed satisfied. We expect that this method can also be applied in other settings such as asymptotically hyperbolic manifolds. **Acknowledgements.** The authors would like to thank Hubert Bray, Demetre Kazaras, Marcus Khuri and Dan Lee for stimulating discussions.
# Preliminaries {#S:Preliminaries}
There are several tools available to study IDS such as the Jang equation, spinors and marginally outer trapped surfaces. In a new method to study IDS has been introduced: *spacetime harmonic functions*. The main result of states the following:
We refer to for a discussion of the exterior region \(M_{ext}\) and to for a detailed motivation of spacetime harmonic functions. The above theorem yields directly:
To prove rigidity of the spacetime PMT we will need to use every piece of information given by this corollary.
# Proof of Theorem [\[Theorem: main\]](#Theorem: main){reference-type="ref" reference="Theorem: main"} {#S:main}
Throughout this section we assume \(E=|P|\), and let \(u\) be the asymptotically linear spacetime harmonic function from Corollary [\[cor:main\]](#cor:main){reference-type="ref" reference="cor:main"}. Let \(e_3=\frac{\nabla u}{|\nabla u|}\). For a fixed level set \(\Sigma\), we can express the level set metric by \(dx^2_1+dx^2_2\) which is possible since \(\Sigma\) is flat. Let \(e_1=\partial_{x_1}\), \(e_2=\partial_{x_2}\), then we extend \(e_1\), \(e_2\) to the entire manifold such that \(\{e_1,e_2,e_3\}\) forms an orthonormal frame. We use Greek letter \(\alpha\), \(\beta\) to denote \(e_1,e_2\), and Roman letters \(i,j,k,l\) to denote \(e_1,e_2,e_3\). We define \(\bar R_{ijkl}=R_{ijkl}+k_{il}k_{jk}-k_{ik}k_{jl}\) and say that \((M,g,k)\) satisfies the Gauss-and Codazzi equations if \(\bar R_{ijkl}=0\) and \(\nabla_ik_{jk}-\nabla_jk_{ik}=0\) for all \(i,j,k,l\).
This is the Lorentzian version of the well-known fundamental theorem for hypersurfaces. For the convenience of the reader we provide a proof in Appendix [\[A:fundamental\]](#A:fundamental){reference-type="ref" reference="A:fundamental"}. In the next two lemma we demonstrate that the majority of the Gauss-and Codazzi equations are already satisfied.
Next, we show that \(A_{\alpha\beta}\) is vanishing. This will be achieved by PDE methods in combination with the asymptotics of \(g,k\).
For the proof of this lemma we need to additionally assume that \(g\in C^3(M)\) and \(k\in C^2(M)\). However, we provide an alternative approach to the spacetime PMT rigidity in Appendix [\[B:Killing development\]](#B:Killing development){reference-type="ref" reference="B:Killing development"}. This approach does not require such additional regularity of \(g\) and \(k\) and therefore establishes Theorem [\[Theorem: main\]](#Theorem: main){reference-type="ref" reference="Theorem: main"} in full generality. | {'timestamp': '2022-04-04T02:06:35', 'yymm': '2203', 'arxiv_id': '2203.01984', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01984'} |
# Introduction
Level design is a core feature of what defines a video game. When constructed correctly, it is a main determinant of player experience. From the designer's perspective, level design can be either a tedious, but necessary step in the game's development or a creatively freeing process-sometimes it is both. Most levels are designed with the intent to teach the game's interactable space-the mechanics-to the player in a way that is (ideally) engaging, fun, visually pleasing, intuitive, and informative. Levels designed for tutorial sections of the game create simplistic and low-risk environments. These levels are direct, and sometimes oblique in their intention so the player can grasp the core mechanics of the game as quickly as possible. As the player becomes more familiar with the mechanics and how they work together in the game's system, the levels should also increase in complexity and challenge. The general design of these levels in turn needs to be as complex and engaging both visually and functionally . Most games demonstrate each mechanic at least once throughout the entire level space; combining and ordering them in a way that builds itself based on the player's current skill as they get more familiar with the game. However, designing levels to explore multiple combinations of mechanics is an arduous task to undertake for a level designer. While it is unlikely that a player would play all of these levels, creating this possibility space of levels would allow the level designer to hand-pick and order them in a way that the mechanics feel coherent. Furthermore, an adaptive game with a diverse set of levels would allow the player to explore different combinations of mechanics according to their own pace and preference. For example, if a player is having difficulties with a certain necessary mechanic, such as long jumps in most Super Mario games or the spin attack in most Legend of Zelda games, having a specific subset of levels with a focus on these more challenging mechanics would allow the player to develop their skill with the mechanic better than a single tutorial level . In contrast, if a player has fully mastered a mechanic, the game could select a level that uses the mechanic in a more challenging situation or a level with an entirely different mechanic space for them to master next. Levels could be selected automatically from the generated level space and dynamically ordered in a way that adapts to the player's current skill level as opposed to a hard-coded level ordering . Generating a diversity of levels that explore multiple mechanic combinations would save time in the design process and allow for more creative flexibility in a way that manually designed levels could not provide. This paper presents a system that seeks to combine human design and AI-driven design to enable mixed-initiative collaborative game level creation. Users can choose to start from a blank slate with their work while adding their own edits then have an AI back-end evolve their work towards a pre-defined objective. This objective function can be defined by minimalism in design, maximization of game mechanic coverage, overall quality, or any other feature that could contribute to the quality of the level. Alternatively, users may select from a variety of AI suggestions and pre-generated samples to begin their work and then make changes as necessary. This design process is not limited to the initializing step of the level; the user and AI system can switch their roles as designers at any point in the creation process. Concurrently, the AI system will look at what its previous users have created and submitted, and ask new users to design levels that complement what's already there. With this design process, the mechanic space of a game can be fully explored and every combination of mechanics can be represented by a level. With a human-based rating system, the automated system can learn to design levels with better quality and the human users can design levels that are missing from this mechanic combination space. This project demonstrates the mixed-initiative collaborative process through level design for the independent, Sokoban-like game 'Baba is You'-a game whose mechanics are defined and modified by the level design itself and the player's interaction with it. Levels can be made either by users, AI, or a mixed combination of both and uploaded to the level database to be used for future creations and to improve the quality of the AI's objective function.
## Baba is Y'all v1 (prototype)
The first version of Baba is Y'all (BiY v1) was released officially in March 29th, 2020, and promoted chiefly on Twitter. This version served as a prototype and proof-of-concept system for mixed-initiative AI-assisted game content collaboration specifically for designing levels in the game 'Baba is You' (Arvi 'Hempuli' Teikari, 2017). This system was built on concepts from three different areas of content creation:
- **Crowdsourcing:** a model used by different systems that allows a large set of users to contribute toward a common goal provided by the system . For example, Wikipedia users participate to fill in missing information for particular content.
- **User content creation:** allows players to create levels for a game/system and upload them online to the level database for other players to play and enjoy-i.e. Super Mario Maker (Nintendo, 2015), Line Rider (inXile Entertainment, 2006), and LittleBigPlanet (Media Molecule, 2008).
- **Quality diversity:** the underlying technique behind our system. It ensures that the levels made from combining the first 2 concepts are of both good quality and diverse in terms of the feature space they are established in . For this system, the feature space is defined as the potential game mechanics implemented in each level.
The Baba is Y'all website (as shown in figure [\[fig:levelMat1\]](#fig:levelMat1){reference-type="ref" reference="fig:levelMat1"}) was a prototype example of a mixed-initiative collaborative level designing system. However, the site was limited by the steep learning curve required to interact with the system . Features of the site were overwhelming to use and lack cohesion in navigating the site.
## Baba is Y'all v2 (updated release)
The second version of Baba is Y'all[^1] (BiY v2) was released on May 27th, 2021 and designed to have a more user-friendly setup. It was similarly promoted via Twitter and on mailing lists. This version includes a cleaner, more compact, and more fluid user interface for the entire website and consolidated many of the separate features from the BiY v1 site onto fewer pages for easier access. Three main webpages were created for this updated system. Unlike the previous version, which showed all of the mechanic combination levels (both from the database and unmade) in random order, the updated level selection page adds level tabs that separates levels by recently added (New), highest rated (Top), and levels with rules that had not been made yet (Unmade.) A carousel scrolling feature shows 9 levels at a time to not overwhelm the player with choices (as shown in figure [\[fig:levelMat2\]](#fig:levelMat2){reference-type="ref" reference="fig:levelMat2"}). The level rating system is also included on the main page as a tab, as well as the search feature. The personal level selection tab allows users to see their previously submitted levels and login to their account to submit levels with their username as the author or co-author. The updated level editing page consolidates both the user editing with the PCG level evolution onto one page. Users can easily switch between manually editing the level themselves and allowing the PCG back-end system to edit the level while pausing in between. Users can also select rule objectives for the system to evolve towards implementing. To fight the problem of blank canvas paralysis, users can start from a set of different types of levels (both PCG and user-made) . Once a level is successfully solved, users may name the level upon submission-further personalizing the levels and assigning authorship. A slideshow tutorial is provided for the users and describes every feature and function of the site instead of the walkthrough video that was featured on BiY v1. Users can also play a demo version of the 'Baba is You' (Arvi 'Hempuli' Teikari, 2017) game to familiarize themselves with the game mechanics/rule space and how they interact with each other (game dynamics). For quick assistance, a helper tool is provided on the level editing page as a refresher on how to use the editing tool. In addition to updating the features and collecting more data about the levels created, we conducted a formal user study with 76 participants to gather information about which features they chose to use for their level creation process and their subjective opinion on using the site overall. This user study, as well as the general level statistics collected from the site's database, showed that our new interface better facilitated the user-AI collaborative experience to create more diverse levels.
# Background and Related Work
The Baba is Y'all system uses the following methods in the collaborative level design process: procedural content generation to create new levels from the AI backend, quality diversity to maintain the different kinds of levels produced from the system and show the coverage of game mechanics across each level, crowdsourcing so the AI may learn to create new levels from previously submitted \"valid\" levels-either those made exclusively by users, the system itself, or a combination of both, and finally mixed-initiative AI so that the user and evolutionary algorithm can develop the level together. Each method is described as the following:
## Procedural Content Generation
Procedural content generation (PCG) is defined as the process of using a computer program to create content that with limited or indirect user input. Such methods can make an automated, quicker, and more efficient content creation process, and also enable aesthetics based on generation. PCG has been used in games from the 1980's Rogue to its descendent genre of the Rogue-likes used in games such as Spelunky (Mossmouth, LLC, 2008) and Hades (Supergiant Games, 2020), as well as games that revolve around level and world generation such as Minecraft (Mojang, 2011) and No Man's Sky (Hello Games, 2016). PCG can be used to build levels such as The Binding of Isaac (Edmund McMillen, 2011), enemy encounters such as Phoenix HD (Firi Games, 2011), or item or weapon generation such as Borderlands (Gearbox Software, 2009). In academia, PCG has been explored in many different game facets for generating assets, mechanics, levels, boss fights , tutorials , or even other generators. A plethora of AI methods underpin successful PCG approaches, including evolutionary search, supervised and unsupervised learning, and reinforcement learning. The results of these implementations have led to PCG processes being able to generate higher quality, more generalizable, and more diverse content. PCG is used in the Baba is Y'all system to allow the mutator module to create new 'Baba is You' levels.
## Quality Diversity
Quality-diversity (QD) search based methods are increasing in usage for both game researchers and AI researchers. Quality-diversity techniques are search based techniques that try to generate a set of diverse solutions while maintaining high level of quality for each solution. A well-known and popular example is MAP-Elites, an evolutionary algorithm that uses a multi-dimensional map instead of a population to store its solutions . This map is constructed by dividing the solution space into a group of cells based on a pre-defined behavior characteristics. Any new solution found will not only be evaluated for fitness but also for its defined characteristics then placed in the correct cell in the MAP-Elites map. If the cell is not empty, both solutions compete and only the fitter solution survives. Because of the map maintenance and the cell competition, MAP-Elites can guarantee a map of diverse and high quality solutions, after a finite number of iterations through the generated population. The MAP-Elites algorithm has also been extended into Constrained MAP-Elites, Covariance Matrix Adaptation using MAP-Elites (CMA-ME), Monte Carlo Elites , MAP-Elites via Gradient Arborescence , and etc. For this project, we use the Constrained MAP-Elites algorithm to maintain a diverse population of 'Baba is You' levels where the behavior characteristic space of the matrix is defined by the starting and ending rules of a level when it is submitted.
## Crowdsourcing data and content
Some, but relatively few, games allow users to submit their own custom creations using the game's engine as most games do not have their source code available or even partially accessible for modifications to add more content in the context of the game. Whether through a built-in level editing system seen in games like Super Mario Maker (Nintendo, 2015), LittleBigPlanet (MediaMolecule, 2008), or LineRider (inXile Entertainment, 2006) or through a modding community that alter the source code for notable games such as Skyrim (Bethesda, 2011) Minecraft (Mojang, 2011,) or Friday Night Funkin' (Ninjamuffin99, 2020), players can create their own content to enhance their experience and/or share with others. In crowdsourcing, many users contribute data that can be used for a common goal. Some systems like Wikipedia rely entirely on content submitted by their user base in order to provide information to others on a given subject. Other systems like Amazon's MechanicalTurk crowdsource data collection, such as research experiments, by outsourcing small tasks to multiple users for a small wage. An example of a game generator based on crowdsourced data is Barros et al.'s DATA Agent, which uses crowd-sourced data such as Wikipedia to create a point-click adventure game sourced from a large corpus of open data to generate interesting adventure games. What differentiates the Baba is Y'all system from other level editing systems or interactive PCG systems is that the Baba is Y'all site has a central goal: populate the MAP-Elites matrix with levels that cover all possible rule combinations. With this system, users may freely create the levels they want, but they may also work towards completing the global goal of making levels with a behavior characteristic that has not been made before. Participation in this task is encouraged by the AI back-end system that keeps track of missing cells in the MAP-Elites matrix.
## Mixed-Initiative AI
Mixed-initiative AI systems involve a co-creation of content between a human user and an artificially intelligent system . Previous mixed-initiative systems include selecting from and evolving a population of generated images, composing music, and creating game levels through suggestive feedback. Mixed-initiative and collaborative AI level editors for game systems have thoroughly been explored in the field as well through direct and indirect interaction with the AI backend system. Since the release of the first Baba is Y'all prototype and paper , the implementation of mixed-initiative systems have grown in the game and AI research field. Bhaumik implemented an AI constrained system with their Lode Encoder level editing tool that only allowed users to edit a level from a set of levels generated by a variational autoencoder-forcing users to only edit from a palette provided by the AI back-end tool . Delarosa used a reinforcement learning agent in a mixed-initiative web app to collaboratively suggest edits to Sokoban levels. Zhou used levels generated with the AI-assisted level editor Morai Maker (a Super Mario level editor) to apply transfer learning for level editing to Zelda. These recent developments look more into how the human users are affected through their relationship with collaborating with these AI systems and how it can be improved through examining the dimensionality of the QD algorithm, the evolutionary process, or the human-system interaction itself. We look to incorporate these new perspectives into this updated iteration of Baba is Y'all and evaluate the effects through a user study.
# System Description
The updated Baba is Y'all site's features were condensed into 2 main pages to make navigation and level editing much easier and intuitive:
- **The Home Screen:** contains the level matrix *Map Module*, the search page, the *Rating Module* page, and the *User Profile* page. From here, users can also change the visuals of the site from light to dark mode, view the tutorial section or the site stats page by clicking on the Baba and Keke sprites respectively at the top of the page, and create a new level from scratch by clicking on various 'Create New Level' buttons placed on various subpages. Figure [\[fig:levelMat2\]](#fig:levelMat2){reference-type="ref" reference="fig:levelMat2"} shows the starting page of the home screen.
- **The Level Editor Screen:** contains both the *Editor Module* and the *Mutator Module*. Users can also test their levels with themselves or with the Keke solver by clicking on the Baba and Keke icons at the bottom of the canvas. Figure [\[fig:editor_screen\]](#fig:editor_screen){reference-type="ref" reference="fig:editor_screen"} shows the starting page of the level editor screen.
In the following subsections, we are going to explain the different modules that constitutes these two main screens. Each of the following modules are either being used in the home screen, the level editor screen, or both.
## Baba is You
'Baba is You' (Arvi "Hempuli" Teikari, 2019) is a puzzle game where players can manipulate the rules of a level and properties of the game objects through Sokoban-like movements of pushing word blocks found on the map. These dynamically changing rules create interesting exploration spaces for both procedurally generating the levels and solving them. The different combinations of rules can also lead to a large diversity of level types that can be made in this space. The general rules for the 'Baba is You' game can be referred to from our previous paper . To reiterate, there are three types of rule formats in the game:
- **X-IS-(KEYWORD)** a property rule stating that the game object class 'X' has a certain property such as 'WIN', 'YOU', 'MOVE', etc.
- **X-IS-X** a reflexive rule stating that the game object class 'X' cannot be changed to another game object class.
- **X-IS-Y** a transformative rule changing all game objects of class 'X' into game objects of class 'Y'.
The game sprites are divided into two main different classes: the object class and the keyword class. Sprites in the object class represent the interactable objects in the map as well as the literal word representation for the object. Sprites in the keyword class represent the rules of the level that manipulate the properties of the objects. For example, figure [\[fig:simple_map\]](#fig:simple_map){reference-type="ref" reference="fig:simple_map"} shows four different object class sprites \[BABA (object and corresponding word) and FLAG (object and corresponding word)\] and three different keyword class sprites \[IS (x2), YOU, and WIN\]. The keyword class sprites are arranged in two rules: 'BABA-IS-YOU' allowing the player to control all the Baba objects and 'FLAG-IS-WIN' indicating that reaching any flag object will make the player win the level. The system has a total of 32 different sprites: 11 object class sprites and 21 keyword class sprites. Because the game allows rule manipulation, object classes are arbitrary in the game as they serve only to provide a variety of objects for rules to affect and for aesthetic pleasure.
## Game Module
The game module is responsible for simulating a 'Baba is You' level. It also allows users to test the playability of levels either by directly playing through the level themselves or by allowing a solver agent to attempt to solve it. This component is used on the home screen when a user selects a level to play and the editor screen for a user to test their created level. Because the game rules are dynamic and can be altered by the player at any stage in the solution, the system keeps track of all the active rules at every state. Once the win condition has been met, the game module records the current solution, the active rules at the start of the level, and the active rules when the solution has been reached. These properties are saved to be used and interpreted by the Map module (section [3.7](#sec:map_module){reference-type="ref" reference="sec:map_module"}). The activated rules are used as the level's characteristic feature representation and saved as a chromosome to the MAP-Elites matrix. The game module provides an AI solver called 'KEKE' (based on one of the characters traditionally used as an autonomous 'NPC' in the game). KEKE uses a greedy best-first tree search algorithm that tries to solve the input level. The branching space is based on the five possible inputs a player can do within the game: move left, move right, move up, move down, and do nothing. The algorithm uses a heuristic function based on a weighted average of the Manhattan distance to the centroid distance for 3 different groups: keyword objects, objects associated with the 'WIN' rule, and objects associated with the 'PUSH' rule. These were chosen based on their critical importance for the user solving the level-as winning objects are required to complete the level, keyword objects allow for manipulation of active rules, and pushable objects can directly and indirectly affect the layout of a level map and therefore the accessibility of player objects to reach winning objects. The heuristic function is represented by the following equation: \[h = (n + w + p) / 3\] where \(h\) is the final heuristic value for placement in the priority queue, \(n\) is the minimum Manhatttan distance from any player object to the nearest winnable object, \(w\) is the minimum Manhatttan distance from any player object to the nearest word sprite, and \(p\) is the minimum Manhatttan distance from any player object to the nearest pushable object. As an update for this version of the system, the agent can run for a maximum of 10000 iterations and can be stopped at any time. A user may also attempt to solve part of the level themselves and the KEKE solver can pick up where the user left off to attempt to solve the remainder of the level. This creates a mixed-initiative approach to solving the levels in addition to editing the levels. However, even with this collaborative approach, the system still has limitations and difficulty solving levels with complex solutions-specifically solutions that require back-tracking across the level after a rule has been changed. The solver runs on the client side of the site and is limited by the capacity of the user's computational resources. Future work will look into improving the solver system to reduce computational resource. We will also look for better solving algorithms to improve the utility of the solver such as Monte Carlo Tree Search (MCTS) with reversibility compression .
## Editor Module
The editor module of the system allows human users to create their own 'Baba is You' levels in the same vain of Super Mario Maker (Nintendo, 2015). Figure [\[fig:editor_screen\]](#fig:editor_screen){reference-type="ref" reference="fig:editor_screen"} shows the editor window that is available for the user. The user can place and erase any game sprite or keyword at any location on the map using the provided tools. As a basis, the user can start modifying either a blank map, a basic map (a map with X-IS-YOU and Y-IS-WIN rules already placed with X and Y objects), a randomly generated map, or an elite level provided by the Map Module. Similar to Super Mario Maker (Nintendo, 2015), the created levels can only be submitted after they are tested by the human player or the AI agent to check for solvability. For testing the level, the editor module sends the level information to the game module to allow the user to test it. This updated version of the site also includes an undo and redo feature so that users may erase any changes they make. A selection and lasso feature is also available so users can select specific areas of the level and move them to another location. Unlike the previous version, all tiles are available to the user on the same screen and the user may seamlessly transition from the editor module to the mutator module and vice versa for ease of access and better interactivity and collaboration between the AI system and the user.
## Mutator Module {#sec:mutator_module}
The Mutator module is a procedural content level generator. More specifically, the Baba is Y'all system uses an evolutionary level generator that defines a fitness function based on a version of tile-pattern Kullback-Liebler Divergence (ETPKLDiv[^2]) algorithm . Figure [\[fig:evolver_screen\]](#fig:evolver_screen){reference-type="ref" reference="fig:evolver_screen"} shows the updated interface used by the evolver. As mentioned before in the previous subsection, this version of the mutator module can interface seamlessly with the other modules to allow the user more ease of access between manual editing and evolutionary editing. The user can easily transfer the level from the editor module to the mutator module and vice versa. When switching between the editor module and the mutator module, the level loses its pure procedurally generated or pure human-designed quality and becomes a hybrid of the two-thus mixed-initiative interaction between the algorithm and the user. The evolver interface provides the user with multiple customizations such as the initialization method, stopping criteria, evolution pausing, and an application of a mutation function allowing manual user control. With these features, the user is not directly changing the evolution process itself, but instead guiding and limiting the algorithm towards generating the level they want. The ETPKLDiv algorithm uses a 1+1 evolution strategy, also known as a hillclimber, to improve the similarity between the current evolved levels and a reference level. The algorithm uses a sliding window of a fixed size to calculate the probability of each tile configuration (called tile patterns) in both the reference level and the evolved level and tries to minimize the Kullback-Liebler Divergence between both probability distributions. Like Lucas and Volz, we use a window size of 3x3 for the tile selection. This was to maximize the probability of generating initial rules for a level, since rules in 'Baba is You' are made up of 3 tiles. However, in our project, we used 2+2 evolution strategy instead of 1+1 used to allow slightly more diversity in the population . We also modified the fitness function to allow it to compare with more than one level. The fitness value also includes the potential solvability of the level (\(p\)), the ratio of empty tiles (\(s\)), and the ratio of useless sprites (\(u\)). The final fitness equation for a level is as follows: \[\label{eq:fitness} fitness_{new} = min(fitness_{old}) + u + p + 0.1 \cdot s\] where \(fitness_{old}\) is the Kullback-Lievler Divergence fitness function from the Lucas and Volz work compared to a reference level. The minimum operator is added as we are using multiple reference levels instead of one and we want to pick the fitness of the most similar reference level. In the updated version of Baba is Y'all, we recalculate the ratio of useless objects (\(u\)) used in the original version's equation. The value \(u\) is defined as the combined percentage of unnecessary object and word sprites in the level. This is broken up into 2 variables \(o\) and \(w\) for the objects and words respectively. The \(o\) value corresponds to the objects that are not required or predicted to act as a constraint or solution for the level. The value for \(o\) can be calculated as follows: \[o = \frac{i}{j}\] where \(i\) is the number of objects sprites initialized in the level without a related object-word sprite and \(j\) is the total number of object sprites initialized in the level. While the \(w\) value corresponds to the words that have no associated object in the map (this does not apply to keyword class words such as "KILL" or "MOVE"). The value for \(w\) can be calculated as follows: \[w = \frac{k}{l}\] where \(k\) is the number of word sprites initialized in the level without a related object-word sprite and \(l\) is the total number of word sprites initialized in the level. To combine both variables \(o\) and \(w\) into the one variable \(u\) a constant ratio is applied. In the system, 0.85 is applied to the \(o\) variable and 0.15 to \(w\). This is to more weight on reducing the number of useless object sprites as opposed to useless word sprites, as word sprites can be used to modify the properties of objects or transform other object sprites. The \(u\) value is implemented in order to prevent noise within the level due to having object tiles that cannot be manipulated in any way or have relevancy to the level. A human-made level may include these "useless" tiles for aesthetic purposes or to give the level a theme-similar to the original 'Baba is You' levels. However, the PCG algorithm optimizes towards efficiency and minimalist levels, therefore ignoring the subjective aspect of a level's quality (which can be added later by the user). The playability of the level (\(p\)) is a binary constraint value that determines whether a level is potentially winnable or not. The value can be calculated as follows: \[p = \begin{cases} 1, & \text{has [`X-IS-YOU' rule, `WIN' keyword]} \\ 0, & otherwise \end{cases}\] This is to ensure any levels that are absolutely impossible to play or win are penalized in the population and less likely to be mutated and evolved from in future generations. We used a simple playability constraint check instead of checking for playability using the solver because the solver take time to check for playability. Also, all playable levels by the solver usually end up being easy levels due to the limited search space we are given for the best first algorithm. The ratio of empty tiles (\(s\)) is the ratio of empty space tiles to all of the tiles in the level. The equation can be calculated as follows: \[s = \frac{e}{t}\] where \(e\) is the number of empty spaces in the level and \(t\) is the total number of tiles found in the level. The value \(s\) is multiplied with a value of \(0.1\) in equation [\[eq:fitness\]](#eq:fitness){reference-type="ref" reference="eq:fitness"} to avoid heavy penalization for having any empty spaces in a level and to prevent encouragement for levels to mutate towards populating the level with an overabundance of similar tiles in order to eliminate any empty space. The Mutator module is not run as a back-end process to find more levels, instead it has to be done manually by the user. This is done due to the fact that some generated levels cannot be solved without human input. One might wonder why not generate a huge corpus of levels and ask the users later to test them for the system. This could result in the system generating a multitude of levels that are either impossible to solve or are solvable but not subjectively "good" levels-levels the user would not find pleasing or enjoyable. This overabundance of "garbage" levels could lead to a waste of memory and a waste human resources. By allowing the user direct control over which levels are submitted from the generation algorithm, it still guarantees that the levels are solvable and with sufficient quality and promote using the tool in a mixed-initiative approach. Future work will explore implementing a fully autonomous generator and associated solver to expand the archive of levels without human input.
## Objective Module {#sec:objective_module}
In conjunction with the Mutator module (section [3.4](#sec:mutator_module){reference-type="ref" reference="sec:mutator_module"}), an Objective Module has been implemented to help guide the evolver towards generating levels that match selected objectives-or rules-set by either the Map Module or the user. Like before this will nudge both the user and the evolver back-end towards creating levels with mechanic combinations that have not been made in the site database. Users can select from the table of mechanics which sets of rules to include in the level-whether initially at the start of the level, at the solution, or either. Initial rules can be found automatically when the user or evolver edits the level, final rules can only be determined at the end of the level-when the solution has been found. Active rules are highlighted with a green backlight in the table and change accordingly when a rule is created or removed. The evolver also prioritizes levels that match as many of the selected rules as possible. A cascading function is used to rank the generated levels from the chromosome population. The evolver first evaluates how well a generated level corresponds to the selected objectives then looks at the fitness function. With this, the evolver becomes more involved with expanding the level database for the site and actively tries to help the user fill these missing levels.
## Rating Module {#sec:rating_module}
Like the original system, a rating for a single level is determined by comparison to another level within the site database. The user must determine the better level based on two qualities: level of challenge and quality of aesthetic design. A level that is considered 'more challenging' could indicate that the solution search space for the level takes longer to arrive at or is not as intuitive or straightforward. A level that is considered to have 'better design' represents that the level is more visually pleasing and elegant with its map representation-a quality that is hard to generate automatically with AI. Users can select between the two levels for each feature by shifting a slider towards one level or the other.
## Map Module {#sec:map_module}
The Map module functions as both storing all of the levels in the site database as well as recommending specific levels to the user to use for their own level creation process. The Map module is the core module of the system. To maintain distinguish-ability between quality and diverse levels, we implemented the MAP-Elites algorithm for this module.
[\[tab:rrp\]]{#tab:rrp label="tab:rrp"}
When a level is submitted to be archived, the system uses the list of active rules at the start and the end of the level as behavior characteristic for the input level to determine its location in the map. There are 9 different rules checked for in each level-based on the possible rule mechanics that can be made in the Game module system. Table [1](#tab:rrp){reference-type="ref" reference="tab:rrp"} shows the full list of possible rules. Since these rules can be active at the beginning or at the end, it makes the number of behavior characteristics equal to 18 instead of 9 which provide us with a map of \(2^{18}\) cells. The Map Module can recommend levels to start from when designing a new level. Like the Mutator Module (section [3.4](#sec:mutator_module){reference-type="ref" reference="sec:mutator_module"}), it also takes the Objective Module (section [3.5](#sec:objective_module){reference-type="ref" reference="sec:objective_module"}) into consideration when selecting its recommendations. The Map Module can provide levels that most similarly match the objectives chosen and provide either other levels the user has previously made or high rated (and intuitively high quality) "elite" levels. In this project we are using a multi population per each cell of the Map-Elites similar to the constrained Map-Elites . The quality of the level is determined by user ratings-performed by the Rating Module.
## User Profiles
The user profiles feature is the newest addition to the Baba is Y'all site. Like the original system, if a user creates a profile through the site's login system and submits a level, they get authorship attributed to the submitted level. Users can also find their previously made levels on the profile page-called "My Levels"-and replay them, edit them, or view the level's mechanic combination. A user's personal stats for their level submissions can also be viewed on the page including the number of levels submitted, number of rule combinations contributed, and their top rated level. This feature was implemented to provide more user agency and personalization on the site and give users better access to their own submitted levels. Through the search page, players can search for specific levels by username or by level name. This creates a sense of authorship over each of the levels, even if the level wasn't designed with any human input (i.e. a level with PCG.js as the author) and encourages the collaborative nature of the site between AI and human. Users may also share links to site levels via the game page.
# Results
The following results were extracted from the entire Baba is Y'all v2 site and includes data from levels made from participants not involved with the study.
## User and Author-based Data
All users on the Baba is Y'all site had the option of registering for a new account to easily find their saved work as well as attribute personal authorship to any levels they submitted. Those who participated in the user study were given pre-made usernames in order to verify the levels they submitted from their responses and to protect their identities. These users only had to provide an email address to register for both the site and the survey. The site had a total of 727 unique users registered-only 78 (10%) came from outside of the user study while the rest of the users participated in the survey. We looked into all the levels created by the users and we divided them based on how the mixed-initiative tool was used to create them. We divided them into three main categories (as shown in figure [\[fig:level_types\]](#fig:level_types){reference-type="ref" reference="fig:level_types"}):
- **User-Only levels:** were created from a blank map exclusively by the human user without any AI assistance.
- **PCG-only levels:** were created solely by the AI tool without any human input aside from choosing which tool to use and when.
- **Mixed-author levels:** involved both the human user as well as the AI tool in the creation process of the level.
:::
The relation between rules and the different type of authors can be shown in table [3](#tab:avg_author){reference-type="ref" reference="tab:avg_author"}. Some levels may use no rules at all (only containing the required X-is-YOU and X-is-WIN rules.) The mixed-author levels has the highest number of average rules per level (\(2.833\)), while PCG-only levels have the lowest average (\(1\)). The rule distributions for each author type are shown in Figure [\[fig:rule_dist\]](#fig:rule_dist){reference-type="ref" reference="fig:rule_dist"}. The PCG-authored levels had the least variability between rules while the Mixed-authored levels had the most variability. Mixed-author levels also had the highest average solution length and highest average level size, with PCG levels having the lowest for both attributes.
# User Study
The following results were extracted from a Google Form survey given to the experiment participants. Users were instructed to play a level already made on the site, create a new level using the level editor, test it, and finally submit it to the site. They were also given the option to go through the tutorial of the site if they were unfamiliar with the 'Baba is You' game or needed assistance with interacting with the level editor tool. Of the \(727\) users registered on the site, only a total of \(170\) responses were received, however, only \(76\) of these responses were valid. These responses were evaluated based on cross-validation and verification between the saved level on the website and the level ID they submitted via the survey that they claimed they authored. Many of these invalid responses contained levels that either did not exist in the database or were claimed to be authored by another user already. The following results are taken from the self-reported subjective survey given to the valid \(76\) users.
## Demographic Data {#sec:demographics}
Half of the users who completed the survey answered that they frequently played video games (more than 10 hours a week) with around 80% of the users stating they play for at least 2 hours a week (figure [\[fig:freq_des_play\]](#fig:freq_des_play){reference-type="ref" reference="fig:freq_des_play"}). Conversely, only 28.9% of users responded that they spend 2 or more hours a week designing levels for games with 40.8% of users stating they never design levels at all (figure [\[fig:design_pref\]](#fig:design_pref){reference-type="ref" reference="fig:design_pref"}). When asked if they prefer to solve or make puzzles, 50% of participants responded that they prefer to solve puzzles, while only 6.6% preferred the latter. 40.8% of users were split on the preference for designing and solving puzzles. We asked participants if they had ever played the original game 'Baba is You' by Hempuli (either the jam version or the Steam release as both contain the rules used in the Baba is Y'all site), played a Sokoban-like game (puzzle games with pushing block mechanics), and have experience with AI-assisted level editing tools. Figure [\[fig:exp_graph\]](#fig:exp_graph){reference-type="ref" reference="fig:exp_graph"} shows the distribution of the users' answers for these questions. Only 30% of participants had played the game before, meanwhile 22% had heard of it but had never played it. For the rest, this study would be their first experience with the game. Interestingly enough, 96% of the participants stated they had played a Sokoban-like game so we can infer that the learning curve would not be too harsh for the new players. Concerning AI-Assisted level editing tools, 75% of users had never used them before, with 5.3% stating they were unsure if they had ever used one-thus the learning curve for AI-collaboration would be much higher and new to participants.
## Self-Reported Site Interactions
Figure [\[fig:feat_report\]](#fig:feat_report){reference-type="ref" reference="fig:feat_report"} shows the full list of features that participants interacted with on the site. Users were given the optional task to go through the tutorial section of the Baba is Y'all site to familiarize themselves with both the mechanics of the original 'Baba is You' game, the AI assisted tools available to them through the level editor, and the site layout and navigation itself. 81.6% of users went through this tutorial (whether fully or partially was not recorded.) The second task for users was to play a level that was previously submitted to the website database. 100% of users were able to solve a level by themselves, however 72.4% of users reported choosing to watch the Keke AI solver complete the submitted level as well. The third and final task for the participants was to submit their own 'Baba is You' level using the level editor. Here, users were asked the most about their involvement with the AI system. Some users chose to create more than one level, so they may have multiple experiences and their design choices may not be mutually exclusive (i.e. using a blank level and also using an AI-suggested level.) For the initial creation of the level, 88.2% of users chose to start with a blank map. 9.2% of users started with a level that had already been submitted to the level database-either a level that had been ranked as an elite level or a level created by the user themselves (in the case that they submitted more than one level during this study.) 6.6% of users started with a level that was suggested from the 'Unmade' page-ideally with the intent to make a level with a rule combination that had not been made yet-thus expanding the MAP-Elites rule combination matrix in the database. Unfortunately, we forgot to ask users in the survey if they started with the random level option that was also provided by the AI assistance tool-so we lack data to report on this statistic. For editing the level, 81.6% of users reported editing a level completely by hand without any AI assistance. 27.6% of users edited the level with help from either the evolver algorithm or the mutator functions provided by the AI assistance back-end. 19.7% of users reported using the objective table to aid the evolver tool in creating the level. We think this low percentage is attributed the fact that a large population of users were unfamiliar with the system or 'Baba is You' game overall. This-as well as the lack of selection for level comparison from the previously submitted levels in the database-made using the evolver tool towards certain goals too steep of a task to accomplish and learn. Finally, when testing the level, 59.2% of users reported using the Keke solver AI when testing their levels and 72.4% of users named their levels. While not required in the tasks given, we also asked participants about any extra site features they chose to explore. 23.7% of users reported submitting a level rating from the 'Rate' page. 51.3% of users reported using the 'Search' tool to search for specific levels (what their search criteria was we did not ask.) Finally, 19.7% of users reported using the 'Share Level' to share a submitted level link with others online. The least used interactions-'Started with a database-saved map in the level editor', 'Started with a level suggestion from the Unmade page', and 'Used the objectives table to evolve levels'-were also all related to the AI mixed-initiation of the system. The first could be attributed to a lack of overall levels in the database (at the start of the experiment there were only around 40 available levels) therefore leading to a lack of viable options for the user to choose from. However, the lack of usage for the other two features could be attributed to the opposite problem of having too many options to choose from-again due to lack of levels available to choose from in the database. Trying to make a level with constrained parameters may have also been too steep of a task to accomplish for someone who was totally unfamiliar with the system or even the 'Baba is You' game overall. There was also no incentive for a player to create a level suggested by the system as opposed to making a level from scratch. We also didn't explicitly instruct users to make a level from the suggested set, and instead allowed them to make whatever level they wanted with the editor-whether with the prompted ruleset or from their own ideas.
# Discussion
## Data Analysis
It is clear from both the submitted level statistics of the site and the self-reported user survey that mixed-authorship is not the preference for users when designing levels. Many users would still prefer to have total control over their level design process from start to finish. For future work, we can look to limit user control and encourage more AI-assistance with the design process similar to the work done by Bhaumik et al. . The limitations of the AI back-end (both the evolver and solver) may be at fault for the lack of AI interaction. The mutator and evolver system are dependent on previously submitted levels and level ratings in order to "learn" how to effectively evolve levels towards high quality design. As a result, the assistant tool is always learning what makes a "good" level from human input. If there is a lack of available data for the tool to learn from, the AI will be unable to create quality levels-causing the user to less likely submit mixed-initiative co-created levels, and causing a negative feedback loop. The fitness function defined for the evolver and mutator tool may be inadequate for level designing. It could produce a level that is deemed "optimal" in quality by its internal definition, but may actually be sub-par in quality for a human user. Another flaw in the AI-collaboration system, could be that the users lacked direct control on the evolver and mutator and attempting to use them in middle of creation might have been more problematic as it could destroy some of the level structures that the users were working on. Future work could remedy this problem by giving users various mutation \"options\" similar to the AI selections in RLBrush and Pitako. Finally, the 'Keke' AI solver was also lacking in performance as a few participants mentioned that the solver was unable to solve their prototype levels that they themselves could end up solving in just a couple of moves. An improved AI solver would help with the level creation efficiency.
## User Comments and Feedback
We gave the participants opportunities to provide open feedback about their experience using the site in order to gather more subjective data about their experience as well as collect suggestions for potential new features. Almost no users experienced any technical difficulties or bugs that prevented them from using the site. The few that did mentioned formatting issues with site caused by their browser (i.e. icons too close together, loading the helper gifs, font colors.) However, one user mentioned that this issue may have been because they were using the site from their phone (we unfortunately did not provide users with instructions to complete the study on a desktop or laptop.) In the future, we will be sure to exhaustively test the site on as many browsers as possible-both desktop-based and mobile-to be more accessible. Some users were confused by the tutorial and the amount of information it conveyed for the entire site citing it as "intimidating", "overwhelming", and "a bit complex". However, other users reported the lack of information saying it was "not detailed", or had "sufficient information \[\...\] but could have been delivered in a more comprehensible way." To make the game more accessible, we will most likely try to make the tutorial section less intimidating to new users by limiting the amount of information shown (possibly through a "table of contents" as suggested by one participant) while still being comprehensible enough to understand the level editor and tools. For feature suggestions, many users wished for larger maps and vocabulary-like those found in the Steam-release 'Baba is You' game. Users also wished for a save feature that would allow them to make "drafts" of their level to come back later to edit. Many users also suggested a co-operative multiplayer feature for level editing and level solving-we can assume with another human and not an AI agent. While the results of the statistics on the levels submitted were disappointing for involvement of the AI assisting tool, we also asked users how likely they would continue using the site after the experiment. 38.2% of users said they would continue to use the site, while 55.3% said they would maybe use the site (figure [\[fig:reuse_likelihood\]](#fig:reuse_likelihood){reference-type="ref" reference="fig:reuse_likelihood"}). Many users were optimistic and encouraging with the concept of incorporating AI and PCG technologies with level design-citing the project as a "cool project", "a very unique experience", a "lovely game and experiment", and "very fun." At the time of writing, a few users did return, as their 'Keke' assigned usernames were shown as authors on the New page, long after the study was completed. Most notably, the Keke subject user Keke978 who took up the username 'Jme7' and contributed 28 more levels to the site after the study was concluded and currently holds the title for most levels submitted and most rule combinations on the site. Many users also provided us with constructive feedback for feature implementation, site usability, and suggestions for improvement with how to further incorporate the AI back-end interactivity. As shown in figure [\[fig:exp_graph\]](#fig:exp_graph){reference-type="ref" reference="fig:exp_graph"}, 70% of users who played with the system had never played the game 'Baba is You' and 75% of people had never used an AI-assisted level editor tool before this experiment. Based on this information and retainability of users to complete the survey and provide the constructive feedback, we can extrapolate 2 conclusions: 1. the game stands alone, independent of 'Baba is You', as an entertainment system; and 2. for people with even limited AI-gaming experience, as long as they are not completely foreign to gaming, this project has the ability to grasp their attention long enough to understand it, tinker around, and then give constructive feedback.
# Conclusion and Future Work
The results from the user study have demonstrated both the benefits and limitations of a crowd-sourced mixed-initiative collaborative AI system. Currently, users still prefer to edit most of the content themselves, with minimal AI input-due to the lack of submitted content and ratings for the AI to learn from. Pretraining the AI system before incorporating it into the full system would be recommended to create more intelligent systems that can effectively collaborate with their human partners for designing and editing content. This would lead to more helpful suggestions on the evolver's end as well as better designed levels overall. This project is the start of a much longer and bigger investigation into the concept of crowd-sourced mixed initiative systems that can use quality diversity methods to produce content and we have many more ideas to improve upon the Baba is Y'all system. As suggested by many participants in the user study, we would like to incorporate level design collaborations between multiple users and multiple types of evolutionary algorithms all at once to create levels. Our system would take inspiration from collaboration tools such as LodeEncoder, RLBrush, and Roblox (Roblox Corporation, 2006). This would broaden the scope and possibilities of level design and development even further to allow more creativity and evolutionary progress within the system. This collaboration setting will open multitude of interesting problems to investigate such as authorship. Outside of the 'Baba is You' game, we would like to propose the development of an open-source framework to allow mixed-initiative crowd-sourcing level design for any game or game clone. Such games could include Zelda, Pacman, Final Fantasy, Kirby, or any other game as long as we have a way to differentiate between levels mechanically and we can measure minimum viable quality of levels. Adding more games to the mixed-initiative framework would allow an easier barrier of entry to players who may have been unfamiliar with the independent game 'Baba is You' but is very familiar with triple-A games produced by companies such as Nintendo. We would like to also propose a competition for the online 'Keke' solver algorithm for the challenging levels. In this competition, users would submit their own agent that can solve the user-made and artificially created 'Baba is You' levels. Ideally, this improve the solver of the 'Baba is Y'all' system but also introduce a novel agent capable of solving levels with dynamically changing content and rules-an area that has not been previously explored in the field. Development for this framework for this competition has already begun at the time of writing this paper. Finally, we would like to propose the creation of a fully autonomous level generator and solver that can act as a user to our system. This generator-solver pair would work parallel to the current system's mixed-initiative approach, but with a focus on coverage to exhaustively find and create levels for every combination of mechanics. With a redefined fitness function and updated solver (possibly from the Keke Solver Competition,) this could be more efficient than having users manually submit the levels, while still using content created by human users to maintain the mixed-initiative approach. There are many new directions we can take the Baba is Y'all system and the concept of crowd-sourced collaborative mixed-initiative level design as a whole and this project will hopefully serve as a stepping stone into the area and provide insight on how AI and users can work together in a crowd-sourced website to generate new and creative content. | {'timestamp': '2022-03-07T02:05:04', 'yymm': '2203', 'arxiv_id': '2203.02035', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02035'} |
# Introduction {#sec:intro}
Brazil reported COVID-19 first official case on February 25, 2020, in the city of São Paulo, which is the largest municipality in the country. Similar notifications in other Brazilian cities quickly followed, being accompanied by a devastating scenario of contagion and death, as shown in Fig. [\[fig:fig1\]](#fig:fig1){reference-type="ref" reference="fig:fig1"}, which presents the prevalence of cases and deaths in the country until October 2021. The first official notification in Rio de Janeiro, the second largest and most visited city by tourists, occurred on March 6, 2020, with the epidemiological situation quickly evolving to one of the worst scenarios at the national level, among the highest number of confirmed cases and deaths by COVID-19, as can be seen in the prevalence maps of Fig. [\[fig:fig2\]](#fig:fig2){reference-type="ref" reference="fig:fig2"}. Furthermore, Fig. [\[fig:fig3\]](#fig:fig3){reference-type="ref" reference="fig:fig3"} shows the incidence of confirmed cases (top left) and deaths (top right) in Rio de Janeiro from January 2020 to December 2021, organized by first symptoms date and event date, respectively. It also shows a comparison between new notifications per week and total notifications for cases (bottom left) and deaths (bottom right), where periods of incidence proportional to prevalence (exponential growth) are noticed. In this figure, the raw data are represented in magenta dots and the 7 days moving average by the green curve. Multiple waves of contagion/deaths can be seen, the four most pronounced in April 2020, December 2020, April 2021, and August 2021, respectively. Small oscillations over time, which resembles an endemic period, can also be seen. In addition, the surveillance data for new confirmed cases (top left of Fig. [\[fig:fig3\]](#fig:fig3){reference-type="ref" reference="fig:fig3"}) also highlights the existence of case notifications in January and February 2020, well before March 1st, the current date where it is already confirmed (through surveillance data) that community transmission had started. These cases, registered by the date reported for the first symptoms, were not counted at the beginning of March 2020 because their registration in the system only occurred a posteriori. For this reason, March 6th was announced that time as the day of the first confirmed case. Although these early records may be due to errors in the registration, due to the provision of false or misleading information by patients, the fact that they are not isolated notifications may suggest that community transmission of SARS-CoV-2 in Rio de Janeiro city may have started well before the period close to March 1st, where community transmission is known to have already occurred. As at the beginning of the pandemic the Brazilian epidemiological surveillance system was not prepared to massively register COVID-19 cases, it is not only possible but probable that the introduction of the virus in the community took place in a period earlier than of the current estimates for the starting date of community transmission (March 1st). The early cases mentioned above provide direct, albeit weak (due to possible recording errors or biases), evidence in this sense. The SARS-CoV-2 fluctuation in Rio de Janeiro, as well as the significant number of notifications before the first official confirmation, are peculiar epidemiological phenomena, which differ from the typical situation observed in the majority of Brazilian cities. Thus, this situation deserves to be further investigated, since understanding this multiple wave behavior can provide insights into different stages of the epidemic spread, information that can be useful to guide decision-makers in future outbreaks. In this context, one piece of information that is particularly interesting is the likely start date of each community outbreak, i.e., when the transmission inside a community is due to the locals. These dates are important because they can indicate key events, such as the introduction period of a new viral strain in the population, or a drastic change in social behavior that is capable of inciting a new phase of epidemic expansion in a given population. Several mathematical approaches can be used to access the dynamics of an epidemic wave, including the estimation of their initial date. Compartmental models based on differential equations are very natural for this purpose, with the underling parametrization obtained with aid of data-assimilation techniques, such as Kalman filter, nonlinear regression, Bayesian statistics, neural networks and other machine learning tools, etc. Such compartmental models are also fundamental in approaches that employ the concept of complex networks to describe the epidemic dynamics in a large population with heterogeneous spatial distribution. It is also quite common to describe the evolution of epidemic waves with aid of purely phenomenological models, supported by frequentist or Bayesian statistical approaches. There are already some works in the open literature concerned with estimating the start date of a local epidemic outbreak of COVID-19, such as Delatorre et al., which tries to infer the starting date of the SARS-CoV-2 spread in Western Europe and the Americas; Batista and Cunha Jr, that did the same exercise for the early stages of COVID-19 in Portugal; and Zhai et al., which investigated the initial COVID-19 dynamics of 10 states in the U.S.A., New York City, United Kingdom, Italy, and Spain. Despite the consistency of the results presented by the first two studies, by comparison with evidence (other epidemic observations) that support the estimated dates, they are more focused on reporting dates, having relatively few details about the underlying mathematical methodologies. The third one, on the other side, is rich in methodological detail, presenting a mechanistic framework based on a non-Markovian delayed compartmental model, which provides a relatively general tool for inferring the start date of an outbreak. However, in terms of validating the results, the authors' arguments implicitly rely heavily on the assumptions that the available data are sufficiently accurate and informative to calibrate the dynamic model, and that the latter provides a sufficiently realistic representation of the epidemic outbreak of interest. The scenario where at least one of these assumptions is not valid is not rare, so there is space in the literature for contributions that attack the same problem on other fronts. Seeking to contribute to expanding the arsenal to estimate the initial date of an epidemic community outbreak, this paper discusses a generic parametric statistical approach for estimating the start date of an epidemic outbreak based on epidemiological surveillance data. The fundamental idea is to present a procedure that incorporates elements of generality, to be applied in typical epidemic outbreaks, but that is simple enough to be used by researchers who do not have strong training in epidemiology or more advanced statistical methods (e.g. Bayesian inference). In this way, we combine the surveillance data with algebraic multiple waves models, nonlinear regression, and information criteria to obtain a simple but representative mathematical model of the underlying outbreak, which provides an interval estimate for the start date of the referred contagion wave. The proposed methodology is illustrated with aid of COVID-19 data from Rio de Janeiro city, which has complex dynamics, with multiple contagion waves and (the typical) very irregular data. The paper is organized as follows. Section [2](#sec:methodology){reference-type="ref" reference="sec:methodology"} describes the statistical framework. Section [3](#sec:Results and discussion){reference-type="ref" reference="sec:Results and discussion"} presents the results of a case study in Rio de Janeiro. Finally, conclusions are shown in Section [4](#sec:Conclusions){reference-type="ref" reference="sec:Conclusions"}.
# Method {#sec:methodology}
The methodology employed here combines epidemiological surveillance data, algebraic statistical models, nonlinear regression, and a model selection procedure to infer the systematic behavior of COVID-19 outbreaks, focusing on estimating a possible start date for each contagion wave. A schematic version of this framework can be seen in Fig. [\[fig:fig4\]](#fig:fig4){reference-type="ref" reference="fig:fig4"}, and each of its steps is described below.
## Surveillance data
To monitor the evolution of COVID-19 spread, time series that quantify the new reported cases and deaths may be used. Very often such time series are obtained by a process of selection and agglutination of raw data from a large spreadsheet, where each line corresponds to a patient (duly anonymized), containing many dozens of information, such as zip code, date of first symptoms, and date of outcome (recovery or death), etc. These data are registered by the municipality health authorities. In the case of Rio de Janeiro city, they come from two databases: (i) e-SUS VE; and (ii) SIVEP-Gripe. The first records the flu syndrome in ordinary cases, while the second is responsible for the severe acute respiratory syndromes records. Both are compiled (without duplication) by the Municipal Health Department, which makes them available on a website widely accessible to the general public. Data for new cases are organized by the date of first symptoms, while new deaths are recorded by the date of the event. Other locations have their registration systems, but the vast majority of them have most of the features in common with the database described above. Epidemiological data are notoriously problematic for statistical analysis purposes, as delay and underreporting effects are unavoidable, due to the physical impossibility of knowing all the cases that occur, neither in real-time nor with a few days delay. In practice, as the city of Rio de Janeiro has not adopted a massive random testing policy, only part of the cases of infection by COVID-19 were confirmed with the laboratory tests, essentially those that seek medical attention. Thus, the available data for cases evolution provide a distorted (biased) picture of the epidemiological reality, with far fewer cases reported than the actual number of infected, and with an estimated date for infection beginning shifted in time from the true onset, since the infection onset is estimated by the date of first symptoms (which occurs on average 5 days after the infection event). Death records also suffer from underreporting, but on a much smaller scale, as in this case registration is compulsory. Typically, deaths from COVID-19 that are not counted are those with no formal diagnosis of the disease by a laboratory test. In this setting, the time series for the number of new deaths per day can be considered a proxy to assess the evolution of contagion by the disease, since there is a clear correlation between it and the temporal evolution of the total number of cases (part of the cases evolves to death, more cases occurring, the expectation is more deaths, fewer cases, fewer deaths). In the analysis reported in this paper, only death data are considered. Since these data are recorded by the actual date of the event (in this case, the death), no delay is inserted into data, except that one related to the insertion of data into the system, which can take up to 30 days, but which only compromises the accuracy of the end of the time series, and can be corrected with the use of nowcasting techniques. As the time series of cases and deaths are subject to much fluctuation, due to the natural variability of the disease, but also due to imperfections in the surveillance system, treating the data in advance is necessary to make them suitable for visual analysis, since extracting patterns from raw data is quite difficult. In this sense, these data are smoothed with the aid of 7 days moving average filter, to reduce excess fluctuation. As can be seen in Fig. [\[fig:fig3\]](#fig:fig3){reference-type="ref" reference="fig:fig3"}, this treatment helps to display the data evolution pattern. But it should be mentioned that due to the use of only past data in the smoothing (for reasons of causality), the moving average inserts a delay of a few days in the data series. To avoid introducing this bias into statistical estimates, only raw data are considered in the statistical estimation processes presented below. Moving averages are used in this paper only to visually illustrate the trend of raw data.
## Ensemble of statistical models
The three typical phases of an epidemic outbreak (expansion, transition, and exhaustion) usually are well described by logistic curves when the underlying population is relatively homogeneous, so that contamination comes out of a close interaction between two people. This scenario is assumed as a working hypothesis in this paper, in a way that several statistical models, based on the algebraic solution of a logistic differential equation, are used here to represent the multiple outbreaks of COVID-19 that are characterized by a dataset that collects deaths records for a certain locality into a time series. This is inspired by the approach adopted by Batista and Cunha Jr to study the early stages of COVID-19 in Portugal. It means the we have the statistical
### Single wave model {#single-wave-model .unnumbered}
When just a single wave of contagion is of interest, the Verhulst logistic model is employed. This model assumes a growth rate proportional to the disease prevalence in the population at time \(t\), denoted by \(C(t)\), but with a constant of proportionality that changes in time, so that it reduces when \(C(t)\) grows, until reaching a maximum sustainable population in the limit when \(t \to \infty\). This logistic model is defined by the differential equation \[\label{log02} \dfrac{dC}{dt} = r \, C \, \left(1-\dfrac{C}{K}\right) \,,\] which has as solution the classical logistic curve \[\label{Ct} C(t) = \displaystyle \frac{K}{1+e^{\displaystyle-r \, (t-\tau)}} \,,\] where \(r\) represents the infection growth rate, \(K\) is the final number of notifications at the end of the outbreak, and \(\tau\) describes the (initial condition dependent) instant of inflection associated to this curve, when the exponential growth ends, and a sudden deceleration begins. The derivative of \(C(t)\), dubbed the incidence curve \(I(t)\), represents the number of new death notifications per day, and is given by \[I(t) = \dfrac{dC}{dt} = \frac{r \, K \, e^{\displaystyle-r\, (t-\tau)}}{\left(1 + e^{\displaystyle-r\,(t-\tau)} \right)^2} \,. \label{It}\] Other authors use generalized logistic curves to deal with this kind of epidemic data. Despite this being a possibility, the present work opted for the classic logistic curve for the sake of parsimony, as it is capable of providing a reasonable representation of Rio de Janeiro outbreaks.
### Multiple waves model {#multiple-waves-model .unnumbered}
When more than one wave of contagion matters, a multimodal epidemic curve with \(N\) peaks is considered, which demands the estimation of \(3N\) parameters \[\theta = (K_1,\, r_1,\, \tau_1,\, \cdots, \, K_N,\, r_N,\, \tau_N) \,, \label{theta_eq}\] resulting in a global prevalence curve \[C(t) = \displaystyle\sum_{i=1}^{N} \frac{K_i}{1+e^{\displaystyle-r_i \, (t-\tau_i)}} \,, \label{sumCN}\] which results, by differentiation, in the global incidence curve \[I(t) = \displaystyle\sum_{i=1}^{N} \displaystyle \frac{r_i \, K_i \, e^{\displaystyle-r_i \, (t-\tau_i)}}{ \left(\displaystyle 1+e^{\displaystyle-r_i \, (t-\tau_i)} \right)^2} \,. \label{INt}\]
### Calibration procedure {#calibration-procedure .unnumbered}
The calibration process of each statistical model consists of identifying the underlying parameters with the aid of new deaths per day time series \((I_1, \cdots, I_n)\), that correspond to the discrete-time instants \((t_1, \cdots, t_n)\). This task requires the minimization of the *Roots Mean Squared Error* (RMSE) \[RMSE = \sqrt{\dfrac{1}{n}\sum_{j = 1}^{n} \left(I_{j}-I(t_{j} \,) \right)^2} \,, \label{eq:RMSE}\] that measures the "discrepancy" between data values and the corresponding predictions given by the model that calculates the incidence \(I(t)\). In practice, RMSE represents the weighted average of the square of the residuals generated by the calibrated model. The RMSE numerical minimization procedure employs a Trust Region algorithm, where bounds for the parameter value, as well as an initial guess, are specified. Such bounds are determined based on numerical experimentation followed by visual inspection of the fitted curves. To minimize the dependence of the fitted curve with the prescribed value for the initial guess, Monte Carlo simulation is used, where random values for the initial guess (within the admissible region) are drawn and used to generate a fitting curve. Among all the obtained fittings, the one with the smallest RMSE is chosen. To assess the quality of the statistical fit, this work also considers the coefficient of determination \[R^2 = 1-\dfrac{\sum_{j = 1}^{n}\left( I_{j}-I(t_{j}) \,\right )^2 }{\sum_{j = 1}^{n} \left( I_{j}-\bar{I} \, \right)^2} \,, \label{Rsq}\] where the time series \((I_1, \cdots, I_n)\) average is given by \[\bar{I} = \dfrac{1}{n}\sum_{j = 1}^{n} I_{j} \,.\] The last metric describes how much of the total variance generated by the observed data is explained by the calibrated model. The value of \(R^2\) varies between 0 and 1, so that the closer to 1 the more significant the model is, as the value of \(R^2\) is the proportion of the original variability of the data that is explained.
## Model selection
Different models can be fitted to the same dataset, choosing which is the most suitable requires the use of rational criteria to avoid potential bias. Thus, two information criteria are used here to choose the most suitable model following a rational criterion, which seeks to balance simplicity and predictability between the models. They are: (i) Akaike information criterion (AIC); (ii) Bayesian information criterion (BIC). The AIC metric is given by \[AIC =-2 \, \log{ L(\hat{\theta})} + 2 \, p \,, \label{AIC}\] where \(p\) is the number of model parameters, \(\hat{\theta}\) the estimated parameters vector which maximizes the likelihood function \(L(\theta)\). On the other hand, the BIC metric is defined as \[BIC =-2 \ \log{ L(\hat{\theta})} + p \, \log{n} \,, \label{BIC}\] where \(n\) is the number of observations. The model with the lowest AIC and BIC values is considered the best fitting model. Eventually these metrics can be combined with facts (documented in data) to assist in choosing the model.
## Outbreak start dates
The estimate of the epidemic outbreak start date is not done in a punctual way, because an exact date in a context full of uncertainties such as an epidemic outbreak is a fragile estimate, and meaningless from any modeling point of view that makes sense. Thus, an interval estimate is considered in this work, where the upper limit of an admissible interval for the beginning of the outbreak is estimated with the help of the confidence band that encompasses the uncertainty of the statistical model. In this way, after the construction of a statistical model that fits the data, a 95% confidence interval is obtained around the model's response curve. Such a prediction interval, with \((1-\alpha) \times 100\%\) confidence, is defined by \[I(t) \pm z_{\alpha/2} \, \label{ICzj2}\] where \(z_{\alpha/2}\) is the quantile of the Student-\(\text{t}\) distribution with \(n\) degrees of freedom and statistical significance \(\alpha = 0.05\), while \[\label{ICzj2}\] with \[S = \frac{\sum_{j=1}^n (I(t_j)-I_j)^2}{n-2} \,.\] The intersection between the boundaries of this envelope and the time axis provides a range of possible dates for the start of the outbreak under investigation so that the rightmost point of this intersection is assumed to be an upper bound for the outbreak start date.
# Results and discussion {#sec:Results and discussion}
In this section, our objective is to obtain an interval estimation for the starting dates of each COVID-19 outbreak in Rio de Janeiro city. The start date in this context is understood to be the day on which a certain level of prevalence is achieved so that new infection events occur every day from that point forward. This starting date may be related to the introduction of a novel viral strain in the community or to a key event that initiated a new chain of contagion.
## The starting of SARS-CoV-2 community transmission {#the-starting-of-sars-cov-2-community-transmission .unnumbered}
The data shown in Fig. [\[fig:fig3\]](#fig:fig3){reference-type="ref" reference="fig:fig3"} allows us to observe the existence of several waves of contagion in Rio de Janeiro city, which resulted in 6 waves of deaths, four big explosions, and two small boosts. In this first analysis, only the first of these waves is considered. Once the exact date where one wave ends and another begins is extremely uncertain, makes more sense to speak about this event in an interval sense, a plausible period where that date is contained. In this way, by visual inspection of Fig. [\[fig:fig3\]](#fig:fig3){reference-type="ref" reference="fig:fig3"}, it is verified that the first wave of deaths starts between the middle of March and the beginning of April, and ends by the end of June or the beginning of July 2020. Between March and April 2020, the epidemic surveillance system in Rio de Janeiro was still adapting to the pandemic, testing to determine if death from respiratory disease was due to COVID-19 was not yet mandatory, so that underreporting in this period (certainly above average) can bias the estimate of the outbreak start date. In May 2020, on the other side, the COVID-19 death tracking system was better developed, so the first wave phase records should not be so biased. Thus, for the sake of minimizing bias during statistical model calibration, the training data considered here uses the time series of new deaths per day between May 1st and July 1st. Table [\[tab1\]](#tab1){reference-type="ref" reference="tab1"} shows the values of the parameters found in the calibration process for a single wave model, the estimated date for the epidemic outbreak start, as well as the quality metrics of the fitting and information criteria, for several scenarios of the parameter \(\tau\), which represents the instant of inflection of the logistic model (the peak of the incidence curve). These multiple scenarios are considered because the evolution of a patient who dies, between the time of infection and death, has a variable duration. Therefore, considering a range of possible dates around the peak of the data (April 28, day 127 of the time series) is a strategy to reduce the influence of this uncertainty on the inference process. By generating a family of possible curves (ensemble of models), the adopted information criteria (AIC and BIC) and the known facts about the outbreak will indicate which of those curves are a plausible representation for the wave of deaths.
Note that for each model corresponds to a date, which is the estimate of the upper limit for the beginning of the wave of deaths. Due to the correlation between cases and deaths, there is a temporal shift (with a certain probability distribution) between this limit date on the curve of deaths and its counterpart on the curve of cases. Hawryluk et al. points out that the COVID-19 average time from symptom onset to death in Brazil, during the first wave, was around 15.2 (11.2, 17.8) days, so that a conservative estimate for the upper bound for the date of onset of cases (fifth column of Table [\[tab1\]](#tab1){reference-type="ref" reference="tab1"}) can be obtained by subtracting 11 days from the date estimated by the curve of deaths (fourth column of Table [\[tab1\]](#tab1){reference-type="ref" reference="tab1"}). Furthermore, the fitting metrics of Table [\[tab1\]](#tab1){reference-type="ref" reference="tab1"} suggest that all the calibrated statistical models have good adherence to the data, which can be visually confirmed in Fig. [\[fig:fig5\]](#fig:fig5){reference-type="ref" reference="fig:fig5"}, which shows 9 candidate models for the single wave incidence curve, each one corresponding to a different value for \(\tau\). The corresponding prevalence curves can be seen in the sequence, in Fig. [\[fig:fig6\]](#fig:fig6){reference-type="ref" reference="fig:fig6"}. In these figures, the raw epidemic data is represented by magenta dots, the 7 days moving average by a thin green line, the fitted epidemic curve is given by a thick blue line, and the 95% confidence band is shown in gray. In qualitative terms, all the candidate models provide a good description of the descending part of the wave, and they all more or less agree on the inference of the \"hidden part\" of the wave, i.e., that part of the outbreak which was not captured by the epidemic surveillance system on the early stages of the epidemic process. It is also noted that models with a lower value of \(\tau\) (inflection point furthest from the peak of data) tend to estimate underreporting in death records more conservatively, as their prevalence curves are more detached from the observations (known to be underreported). However, despite the qualitative similarity between all candidate models, from a quantitative point of view, differences exist and materialize themselves in the estimation of the upper bound for the starting dates. These quantitative differences in date predictions are compared with known information about the onset of community transmission, to eliminate models that provide predictions inconsistent with observations. This can be seen as a complementary step in the model selection procedure, to delineate the most plausible model(s) for the available data. The surveillance data used to construct the Fig. [\[fig:fig3\]](#fig:fig3){reference-type="ref" reference="fig:fig3"} presents sparse notifications for cases in January and February, and no null records from March 1st. This is a direct indication that at the beginning of March there was already community transmission. Thus, by inconsistency with direct evidence, we will eliminate all models that point to a date greater than March 1st as the upper bound for the wave of cases start date, which leaves us with four candidate models, corresponding to \(\tau \in \{120, 121, 122, 123 \}\). Among these four models, \(\tau = 120\) and \(121\) have the lowest values for AIC and BIC, being in principle the natural choices for the most representative model. And between these two candidate models, \(\tau =121\) has the lowest RMSE and highest \(R^2\), so it is the optimal choice in light of fitting metrics and model selection criteria. This model indicates [*February 29, 2020*]{.ul} as an upper bound for the first wave of cases starting date.
## Consistency on the inference of first wave starting date {#consistency-on-the-inference-of-first-wave-starting-date .unnumbered}
It is very clear that the comparison with the evidence of the beginning of community transmission provides a good filter to discard models that overestimate the desired date, but does not provide information about the other models. This role is in charge of the model selection criteria, which show a marginally small difference in their numerical values for all the remnants candidate models, which may indicate that all the models under evaluation are more or less equally capable of describing the first epidemic wave. The fitting metrics RMSE and \(R^2\) can be used as a supplement, in this case, the drawback is that, in the case of overfitting, they may provide very poor indicators of the model quality. Thus, in a scenario of metrics, as indicated in Table [\[tab1\]](#tab1){reference-type="ref" reference="tab1"}, additional considerations to indicate the consistency of the statistical fit are desirable. Following this idea, a combination (arithmetic mean) of the forecast obtained by the four candidate models is used as an estimator for the starting date of cases, providing again [*February 29, 2020*]{.ul} as a possible upper limit for the beginning of community transmission of COVID-19 in the city of Rio de Janeiro. Once this is an interval estimate, it is possible (and probable) that the threshold of dozens of cases in the prevalence of the disease has occurred sometime in February, instead of March as current data suggest. To strengthen this conclusion we use a hypothesis test, where the null and alternative hypotheses adopted are \[H_0: \mbox{cases start date} \geq \mbox{March 1, 2020} \, ,\] and \[H_1: \mbox{cases start date} < \mbox{March 1, 2020} \, ,\] respectively. Only the estimated upper bound dates that were not discarded in the comparison with the community transmission data are considered in the test, providing a piece of strong evidence against the null hypothesis, with a p-value 0.0288. This result is indirect evidence, coming from a prediction with a mathematical model, in favor of the thesis that the virus was already circulating in the city before March 2020, which adds to the direct (but weak) evidence that appears in the record of cases by first symptoms.
## The appearance of other waves of contagion {#the-appearance-of-other-waves-of-contagion .unnumbered}
The exact periods when the other waves of contagion begin are so uncertain as that one of the first wave. Thus, periods that contain the other waves are determined by visual inspection as follows: Jun-Nov 2020 (second wave); Nov 2020-Mar 2021 (third wave); Mar-May 2021 (fourth wave); May-Jul 2021 (fifth wave); Jul-Dec 2021 (sixth wave). Logistic curves that fit training data, determined within each of these time windows, are fitted following a procedure similar to that adopted in the analysis of the first wave. The results of these model calibrations can be seen in Table [\[tab2\]](#tab2){reference-type="ref" reference="tab2"}, which shows for the 2nd to the 6th epidemic waves, and several peak date scenarios, information related to identified parameters, wave starting dates, fitting metric, and model selection criteria. Selecting the models as described in the first wave, we obtain the following models as the most representative: \(\tau = 268\) (second wave); \(\tau = 355\) (third wave); \(\tau = 465\) (fourth wave); \(\tau = 505\) (fifth wave); \(\tau = 608\) (sixth wave). The incidence curves that correspond to the best models of each wave can be seen in Fig. [\[fig:fig7\]](#fig:fig7){reference-type="ref" reference="fig:fig7"}. In all these cases, the incidence curves show good adherence to the data, so that the respective models provide a reasonable description of the epidemic behavior underlying each analyzed period. Using these models (in the same way as was done in the first wave), we have as upper bounds for the start dates of the other epidemic waves: July 17, 2020 (second wave); November 6, 2020 (third wave); March 2, 2021 (fourth wave); March 16, 2021 (fifth wave); July 9, 2021 (sixth wave). Using the parameters identified in each of the six waves above as the initial guess of a regression process that seeks to calibrate a model with 6 waves, Eq.([\[INt\]](#INt){reference-type="ref" reference="INt"}), we obtain the incidence curve and prediction band that are shown in Fig. [\[fig:fig8\]](#fig:fig8){reference-type="ref" reference="fig:fig8"}, which also shows the start dates that were estimated above. This figure clarifies a point that may have left doubts in the reader, about the temporal proximity between the fourth and fifth waves. The sum of the two can explain the asymmetry observed in the fall of the fourth wave, which is interpreted in the light of this model as being the superposition of two contagion waves that emerged temporally close. This is a plausible scenario, for example, if there are two key events in the city that are triggers for scaling up contagion events. Or if two regions of the city, geographically not close, experience an increase in contagion almost simultaneously.
## Correlation between starting dates and key events {#correlation-between-starting-dates-and-key-events .unnumbered}
It is worth remembering at this point that the Carnival festivities of that year took place between the 21st and 26th of February (Friday to Wednesday) 2020. This temporal proximity between the plausible period for the beginning of community transmission (February 29 or before) and the Carnival is a shred of evidence in favor of the hypothesis widely circulated among epidemiologists that the Carnival celebrations in the streets were a critical event for the spread of COVID-19 in Rio de Janeiro. Correlations with other key events, such as business reopenings, extended holidays, festive dates, etc., can be similarly investigated. Due to space limitations, we do not present other investigations of this type in this paper.
# Conclusions {#sec:Conclusions}
The dynamics of COVID-19 may have multiple waves of contagion in the same geographic location as a side effect. Due to the complex and not fully understood nature of the disease transmission process, specifying the exact moment of emergence of new community contagion outbreaks is a hard task. This work presented a statistical approach capable of describing the multiple waves of contagion observed, as well as providing an interval estimation of the possible start date for each outbreak. This methodology was illustrated with the COVID-19 data of Rio de Janeiro city and determined possible starting dates for the multiple outbreaks during the years 2020 and 2021. The results obtained show that logistic models with one or more waves can be used to provide mathematical descriptions, with good adherence to the data, in epidemiological scenarios with complex transmission dynamics. In addition, they support that SARS-CoV-2 probably started to be disseminated locally in Rio de Janeiro as early as February 2020. | {'timestamp': '2022-03-07T02:03:13', 'yymm': '2203', 'arxiv_id': '2203.02011', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02011'} |
null | null |
# Introduction {#sec:intro}
The Fornax dwarf spheroidal galaxy (dSph) is the second brightest dSph after Sagittarius in the Milky Way (MW) halo. It has been discovered using photographic plates. Fornax, together with Leo I, Sculptor, Leo II, Sextans, Carina, Ursa Minor (UMi), Sagittarius (Sgr), and Draco, are known as the classical dSphs, since they are relatively bright. They are small and faint with very low stellar density, 0.0079 \(L_\odot {\rm pc}^{-3}\), while their member stars show hot kinematics, i.e., large line-of-sight ([los]{.smallcaps}) velocity dispersion (\(\sigma_{\textsc{los}}\)), at an order of 5 to 10 km/s,. This may indicate large dynamical mass (i.e., dark-matter, DM) compare to their stellar mass, if they are dispersion-supported systems as speculated from their spheroidal appearance. To understand their nature, a large number of studies have focused on the stellar structures of these dwarf galaxies to seek evidence for MW tides, tidal tails or extra-tidal debris outside the King tidal radius that is obtained by fitting the stellar density profile of a dSph. Except for Sagittarius which is an obvious case that is undergoing tidal stripping by the MW, for three of other classical dSphs evidence or hints of tidal-debris were found: Leo I, Carina, and UMi. Using deep photometry, argued that Carina could be the best candidate with tidal tail detection, but this is not confirmed by. The main reason for different conclusions could be the uncertainty of background determination. In more than two-third (7/9) of the classical dSphs, a \"break\" has been detected in their surface density profiles. These are Sculptor, Carina, Leo I, Draco, Sextans, UMi and, of cause, Sgr. This break corresponds to an excess of density that extends outside the King tidal radius. It has been argued to be evidence that MW tides have significantly affected the structure of dSphs. Note that the presence of a \"break\" is not always acknowledged. For example, found an obvious break in the density profile of Draco, while pictured Draco as a featureless dSph, without a break in its density profile. In fact, with a careful inspection of the results by, one could notice a break-like feature at the same radius (25 arcmin) as that found by. The break feature at 25 arcmin is unlikely due to an artifact of background subtraction, since at this radius the density (\(\approx 1-2\) stars/arcmin\(^2\)) is almost an order of magnitude higher than the background (\(\approx 0.1\) stars/arcmin\(^2\)) in both studies. One should note, however, that an over-subtraction of background may lead to an artificial cut-off of extended features. The strong contradiction between the conclusions of and could be due to the fact that outskirt density profiles of dSphs are very sensitive to background determination, as stressed by. Simulations were designed to test the effects of MW tides on dSphs. They reveal that MW tides may create significant morphological perturbations and breaks in the density profiles, but cannot inflate the central velocity dispersions to the observed values. In order to reproduce the large \(\sigma_{\textsc{los}}\), one has to assume large amounts of dark matter to dominate the gravity of dSphs, providing sufficient large velocity dispersions. These simulations also support the idea that if MW tides affect the outskirts of these classical dSphs, their cores can be safely approximated by the assumption of dynamical equilibrium. Based on this assumption, dynamical analysis using the Jeans equation have been applied to infer the total mass of dSphs via their \(\sigma_{\textsc{los}}\) or via the radial profile of \(\sigma_{\textsc{los}}\) for deriving the DM distribution. If the large \(\sigma_{\textsc{los}}\) values are due to stars in dSphs at dynamical equilibrium with DM, the assumed DM pushes the theoretical tidal radius well beyond the stellar extent of the dSphs. Consequently, a DM halo \"shields\" its stars, including those apparent extra-tidal stars, from any external tides. In such a situation, the \"break\" in density profiles of dSphs could be interpreted as a second stellar component of the dwarfs, though its origin is still unclear. Nevertheless, a consensus has been reached that a huge amount of dark-matter (DM) is required to consistently explain the large \(\sigma_{\textsc{los}}\), as well as the complex star formation histories of dSphs. A direct confirmation is expected via the annihilation of DM particles, but no such confirmation has been reported yet. MW dSphs have been widely recognized as the most DM dominated objects in the universe. This emphasizes their important role in the cosmological context, since it supports a prediction by Lambda cold dark matter (\(\Lambda\)CDM) cosmology at the smallest galactic scales, despite some debates on \(\Lambda\)CDM predictions, such as The Plane of Satellites Problem, the Missing Satellites Problem, the Core-Cusp Problem (specifically on Fornax), and the Too-Big-to-Fail problem.
Previously, the success of the DM-dominated scenario for dSph was also strengthened by the 'failure' of DM-free scenarios, known as 'tidal scenario' that were proposed at relatively early time, such as. All these early propositions of DM-free scenarios assumed that dSphs are long-lived MW satellites since up to \(\sim\)`<!-- -->`{=html}8 to 10 Gyr ago. Such investigations, especially simulations, were done assuming a single old stellar component. With better resolved stellar populations, it has been revealed that Carina, Fornax, Leo I, UMi and LeoII have their star formation extend until recent 1 or 2 Gyrs. In Fornax, a 100-Myr-old stellar populations has been discovered, together with an HI cloud that is suspected to be associated with Fornax (Bouchard et al. 2006). These facts suggest that their gas may have played an important role at the last stage evolution of dSph dynamics. The impact of the gas component has been investigated by for the DM-free case, and by and for the DM-dominated case. A recent work identified a strong anti-correlation between the internal acceleration (\(\sigma_{\textsc{los}}^2\)/\(r_{\rm half}\)) of dSphs and their distances to the Galactic Centre. Such an anti-correlation is unexpected in the DM scenario, since in such a case the internal acceleration is the DM gravity, for which no specific relation is expected with the Galactocentric distance. Such an anti-correlation is, however, predicted if dwarfs are experiencing MW tidal shocks in the framework of the impulse approximation for fast encounters. This scenario requires dSph progenitors to be gas-rich dwarf galaxies approaching the MW in the past few billion years. In such a case, after loosing their gas due to ram pressure induced by the MW halo gas, dSph stars spherically expand because of the loss of a major part of the dSph potential. Due to the spherical expansion, part of the residual stellar body (about 25%, see @Hammer2019) exchanges kinetic energy through MW tidal shocks, which may explain the large velocity dispersions of dSphs without the need for DM. This mechanism has been previously investigated with numerical simulations by. It predicts anisotropic velocity dispersions, with large values along the line of sight, which is nearly the Galactic Center direction, and small values on the axis perpendicular to the dSph orbital motion. Possibly, this is another mechanism that could explain the nature of dSphs, without invoking a dominant dark matter component. Gaia[^1] DR2 (and more recently, EDR3) reveal dSph orbital motions that appear not consistent with that of DM dominated MW satellites (or sub-haloes). This is because they lie too close to their pericenters, they are preferentially distributed into a Vast Polar Structure within which they orbit, and their tangential velocities and angular momenta are excessively large, suggesting a recent infall. Gaia will bring a complete proper motion (PM) coverage of the whole sky, which provides an independent method (comparing to the widely used color-magnitude diagram, i.e., CMD method) to distinguish stars belonging to dwarf galaxies from that of MW because they move differently. This will be helpful to reach a deeper and more accurate background determination, allowing to further identify possible tidal debris around dSph and weak structures in dSph. In any scenario, MW tides may play a role in shaping dSphs, but how and by how much? Answering this fundamental question requires to reach the true edges of dSphs by eliminating most contamination from non-member stars. Besides observational depth, the requirement of a pure member sample is preponderant, i.e., removing the contamination from MW stars and background Quasi-Stellar Objects (QSOs). Member stars of dSphs in the RGB branch are bright enough to be observed by Gaia, and so one should be able to robustly retrieve the dSphs' true extent using a highly pure member sample. In this paper, we present a case study on Fornax, using Gaia EDR3 published in December 2020. Thanks to its homogeneous coverage and data quality, we can explore the data over a very large area. Both coverage and calibrations across large field are difficulties for ground-based and mosaic-type observations on dSphs.
# Methodology {#sec:method}
Our goal is to search possible faint structures in the outskirts of Fornax using Gaia data. This is a challenging task because Gaia data is limited to a relative shallow depth, i.e., \(G<21\) mag, covering about a 3 magnitude range of the RGB branch of Fornax. In Table [\[tab:method\]](#tab:method){reference-type="ref" reference="tab:method"}, we compare major photometric works that have been dedicated to the study of Fornax' structure. carried out the deepest observation, but only focused on the central region., and carried out observations that barely cover the nominal tidal radius of Fornax. Thus, the estimation of background in these studies may have more uncertainties, as acknowledged in Battaglia et al.., and presented deep photometry studies covering the wider field around Fornax. All these studies, except, used CMDs to pre-select member candidates of different stellar population such as RGB, red clump, etc.. In doing so, many Galactic foreground stars and compact background galaxies that differ in color from Fornax stellar populations can be excluded from the candidate sample. All studies performed star/galaxy separation and exclude extended sources before applying the CMD selection, except (due to poor seeing conditions). When using the CMD method to select member candidates, there are always non-member sources selected into the candidate sample due to their colors blending with Fornax's stellar population. The fraction of such blending is partly intrinsic and partly dependent on photometric accuracy: the better the accuracy, the lower the contamination. These contaminating sources will appear as a background in the spatial distribution which can be removed statistically. Theoretically, such a background due to contaminating sources should be smoothly distributed compared to the structure of Fornax. Even if the background is not flat, it could be modelled by fitting a surface if necessary, and the fluctuation of the background will be recognized as an uncertainty. Importantly, the uncertainty of such a background directly defines the limit to which we are able to probe faint structures of, and around, a dSph such as Fornax. Gaia data reach more shallow photometry and less accurate color measurement compared to the ground-based observations (see Sect. [3](#sec:data){reference-type="ref" reference="sec:data"}). Yet, the Fornax RGB branch can still be recognized easily. We may select only RGB candidates to study its morphology and possible debris under the assumption that the RGB is representative of the stellar population of the galaxy, knowing that Fornax is dominated by an old stellar population even though recent star formation has been discovered. If there were tidal tails in Fornax, detecting them requires that we search as far as possible from the object, and that we reach the real background where there are no member stars by definition. Thus, choosing a secure reference as our background region is mandatory. A symmetric region, and as far as possible around the object in question, would be ideal because possible tidal debris are expected to distribute along a specific direction. If member stars of Fornax were to fall into the background region, for example due to the presence of a long tidal tail, the background will be overestimated in principal, which may lead to artificial truncation of the density profile and will reduce or even remove possible signatures of faint structures. Gaia's full-sky coverage easily provides us the opportunity to perform a study over a large area, which will provide us with sufficient counts in the background region to accurately evaluate the uncertainty of the background level. Table [\[tab:method\]](#tab:method){reference-type="ref" reference="tab:method"} compares the seeings from all studies. In term of spatial resolution, Gaia EDR3 is the best amongst all studies in the table. A good effective spatial resolution helps to obtain a better completeness of the source catalog, and hence reduces the effect of crowding in dense region. The crowding effect could reduce the estimated spatial density in the central region, so that the measurement of the shape of an object, such as its ellipticity and radius, will be affected. As shown by, the crowding effect may cause an overestimation of the Sersic radius by about 5%. This could be one of the reasons[^2] why other studies e.g., or, found relatively larger Sersic radii without considering the effect of crowding. used observations with worse seeing conditions, which should lead to a more severe crowding effect. To test this, we fit a Sersic profile to their density profile of Fornax (the data in their Table 3). We found a Sersic radius of 21.9 arcmin (see Appendix [\[sec:ih95\]](#sec:ih95){reference-type="ref" reference="sec:ih95"}), which is the largest amongst all studies of Fornax, and consistent with our analysis of the impact of seeing on the study of the dwarf's structure. The other aspect, shallow photometry, also helps to reduce the crowding effect. Bright or faint RGB stars are the same stellar population, thus, they should trace the same structure of Fornax. However faint RGB stars are numerous, hence could result in a distribution affected by crowding, especially towards the center of the galaxy. Under such consideration, a shallower depth of photometry may be a better way to probe the structure in the central region. A drawback with shallow photometric data will be less significance in statistics. Nevertheless, our major interest is to search faint structure in the outskirts where the crowding effect becomes negligible if using Gaia data. The main mission of Gaia is to provide PM measurement of all sources, which is an independent parameter space from the CMD. As Fornax is moving around the MW, in principle we should be able to distinguish Fornax member stars from non-member sources in a certain region in PM space. Thus, we could select member stars by PM. Similar to the problem with the CMD-selection method, there will be contaminating sources selected as candidates due to their intrinsic PM overlapping with that of Fornax, and the error bars in PM will introduce more contamination. By combining the selections from both CMD and PM, i.e., two independent parameter spaces, principally we are able to eliminate more contaminating sources, and hence reducing the level of the background in the spatial distribution. In addition, parallaxes could be used for eliminating foreground stars close the Sun in case they fall in the RGB and PM selections. Fornax is located at high Galactic latitude (\(b=-65.6\) deg) where the foreground contamination from the MW is relatively small when compared to many other dSphs at lower galactic latitude. We may thus expect to reach deeper background depth. Finally, another tricky problem is that we have to keep contaminating sources in sufficient numbers to accurately measure the background level, and especially its uncertainty, in order to characterise the depth and the significance of faint structures that we are seeking. In other words, it is not necessary to completely remove contamination, but we need to optimize the selection with all the above considerations to obtain the least contaminated candidate sample and to keep sufficient counts to evaluate the spatial background level. Note that we do not consider the method of likelihood selection, e.g., where a prior spatial distribution of a Plummer sphere is assumed for the target. Such an assumption may lead to biases if we want to search faint and unknown structures. In brief, in term of methodology of member candidate selection, we will use Gaia EDR3 data to select member candidates having the color of Fornax' RGB, having similar PM as Fornax' mean motion, and being reasonable distant from the Sun. All selection conditions will be scaled by the error bar of each relevant quantity.
# Data {#sec:data}
We have chosen a field of 20 by 20 degrees centered on Fornax. This very large area, more than 30 times larger than Fornax in diameter (half light diameter of 0.6 degree, Munoz et al. 2018), should be enough to reach and robustly determine the outskirts of Fornax. First, we selected a raw sample (\(S_{\rm raw}\)) of sources from EDR3[^3] with the following conditions to control the quality of the data: Not `duplicated_source`; Not QSO; with color `bp_rp` measured; with astrometry solutions (either 5-parameters or 6-parameters); `G < 20.8`; `ruwe < 1.4`; and `C^{*} < 1.0`. The \(C^{*}\) is the corrected `phot_bp_rp_excess_factor` introduced by, which is very helpful to remove background galaxies (see their Figure \(\!\)`<!-- -->`{=html}21); bright QSOs can be identified by cross-matching with the confirmed QSO sample provided in the Gaia EDR3 database, i.e., the table `gaiaedr3.agn_cross_id`. For this raw sample, we have median uncertainties in photometry: \(0.008\) in `G`-band, \(0.15\) in `BP` and \(0.09\) in `RP`, resulting in a less accurate in color (`BP`\(-\)`RP`) than the ground-based observation, e.g.,. Nevertheless, the RGB branch of Fornax stars can still be recognized unambiguously. We checked Galactic extinction over the field, which is \(E(B-V)= 0.04\) magnitude on average, and then we do not apply any correction in the following analysis. For a better interpretation of internal structures in both morphology and kinematics, we have adopted the projection introduced by, including the corresponding transformation of proper motions: \[\label{eq:1} \small \begin{split} x & = \cos{\delta} \sin{(\alpha-\alpha_{\textsc c})} \\ y & = \sin{\delta} \cos{\delta_{\textsc c}}-\cos{\delta} \sin{\delta_{\textsc c}}\cos{(\alpha-\alpha_{\textsc c})} \\ \begin{bmatrix} \mu_{x} \\ \mu_{y} \end{bmatrix} & = \mathsf{M} \begin{bmatrix} \mu_{\alpha*} \\ \mu_{\delta} \end{bmatrix} \\ \mathsf{C}_{\mu_{x,y}} & = \mathsf{M}\, \mathsf{C}_{\mu_{\alpha*,\delta}} \mathsf{M}^{T}, \\{\rm where}\\ \mathsf{M} & = \!\! \begin{bmatrix} \cos{(\alpha-\alpha_{\textsc c})} & -\sin{\delta} \sin{(\alpha-\alpha_{\textsc c})} \\ \sin{\delta_{\textsc c}} \sin{(\alpha-\alpha_{\textsc c})} & \!\!\! \cos{\delta}\cos{\delta_{\textsc c} \!+\!\sin{\delta} \sin{\delta_{\textsc c}} \cos{(\alpha-\alpha_{\textsc c})} } \end{bmatrix}, \end{split}\] \(\mathsf{C}_{\mu_{x,y}}\) and \(\mathsf{C}_{\mu_{\alpha*,\delta}}\) are covariance matrix. At the morphological center we have \(({\mu}_x,{\mu}_y)_\textsc{c} = ({\mu}_{\alpha*},{\mu}_\delta)_\textsc{c}\). All the following analysis steps are carried out in this projection frame, unless specified otherwise.
# Member star candidates {#sample}
In order to detect possible faint structures far from the center of Fornax, we use the combination of several available parameters, such as the color-magnitude diagram (CMD), proper motions (PMs), and parallaxes to remove at best contaminations from QSOs or Galactic stars. For each parameters we carefully define specific procedures for selecting stars associated to Fornax. Final samples are optimized and carried out iteratively in all parameter spaces in order to obtain the best signal-to-noise ratio (S/N) for the surface density profile.
## Selection by PM {#sec:selPM}
As indicated in Figure [\[fig:check\]](#fig:check){reference-type="ref" reference="fig:check"}-\(a\), we defined an object sample (\(S_{\rm obj}\), red) of sources that are located within the central 0.4-degree radius and a reference sample (\(S_{\rm ref}\), blue) based on a 6-10 degrees annulus. The latter is also defined as the reference or background region throughout of the paper. Fornax member stars (see panel \(b\)) concentrate in an elliptical region in PM space. At Fornax' distance 147 kpc, 10 km/s on sky is equivalent to 0.014 mas/yr, which is far smaller than the median uncertainty (0.391 mas/yr) for an individual source in \(S_{\rm raw}\). Thus, this distribution in PM space reflects only the uncertainties of the astrometry determination and a global anti-correlation between \(\mu_x\) and \(\mu_y\) for member stars. We measured the average shape of this distribution, indicated in panel (\(b\)) by an ellipse. The details of this calculation is explained below. MW stars, i.e., \(S_{\rm ref}\) (see panels \(c\)) show quite a scattered distribution with a peak shifted from that of Fornax stars. In panel (\(d\)), we illustrate the level of contaminating sources for \(S_{\rm obj}\) by showing a comparison sample, see more details in the figure caption. If a star has its PM consistent with the mean PM of Fornax within its error bar, it can be considered as a member candidate. As we mentioned above, the dominant Fornax population shown in Figure [\[fig:check\]](#fig:check){reference-type="ref" reference="fig:check"}-(\(b\)) actually reflects the random error distribution of PM for member stars. If we define a selection region following this distribution, we will obtain a sample of member candidates. The distribution can be characterized by an ellipse centered on the mean PM of Fornax denoted by \(({\mu}_x,{\mu}_y)_\textsc{c}\). On the other hand, the ellipse should not extend too far from the mean PM of Fornax otherwise the peak distribution of MW star will be included, increasing the contamination. In Figure [\[fig:check\]](#fig:check){reference-type="ref" reference="fig:check"}-(\(b\)), the size of the ellipse is set at \(2.0\) mas/yr in major axis, which seems a best choice according to our following analysis. Our goal is to search Fornax member stars in the full field of \(S_{\rm raw}\), thus, principally we should not apply any spatial condition for the selection. With all these considerations, we implemented the following procedure to perform the selection with PM. In order to characterise the PM distribution of Fornax' stars as seen in Figure [\[fig:check\]](#fig:check){reference-type="ref" reference="fig:check"}-(\(b\)), we first prepare a core-sample which is defined within an elliptical radius of 1 degree according to the morphological parameters of Fornax, i.e., the on-sky center (\(\alpha_\textsc{c}, \delta_\textsc{c}\)), ellipticity and position angle (PA). These parameters can be initialized with values from the literature, e.g.,, and revised later using our own selected sample. With the core sample, we can calculate the corresponding error-weighted average PM, i.e., \(({\mu}_x,{\mu}_y)_\textsc{c}\) and the axis-ratio and orientation of the ellipse representing the PM distribution. Note that the properties of an elliptical distribution are calculated by averaging the source counts, following the method in. To define the member candidate sample selected by PM, namely \"\(S_{\textsc{\,pm}}\)\", we required the following two conditions:
1. The PM of a candidate must follow the correlation between \(\mu_x\) and \(\mu_y\), i.e., fall inside the ellipse that characterises the PM distribution, e.g., Figure [\[fig:check\]](#fig:check){reference-type="ref" reference="fig:check"}-(\(b\)). The size of the ellipse is limited to \(2.0\) mas/yr as a global condition. This cut-off is 5 times larger than the median uncertainty of individual sources, i.e, 0.391 mas/yr, so it is reasonably large to fully over the error distribution of member stars in PM space, while avoiding the increasing contamination beyond the ellipse in Figure [\[fig:check\]](#fig:check){reference-type="ref" reference="fig:check"}-(\(c\)).
2. As uncertainties of measurements are linked to the magnitude of sources, we applied a more restrict selection by requiring that each source has its PM (\(\mu\)) to be consistent with \(({\mu}_x,{\mu}_y)_\textsc{c}\) within 3 times of its own uncertainty. The uncertainties of \(\mu\) for each star is calculated via error propagation by considering the correlation coefficient between \(\mu_x\) and \(\mu_y\).
The PM selection procedure is done by successive iterations, because each change of the morphological parameters of Fornax and the characterizations of the PM distribution will affect the candidate sample. In doing so, we kept a full consistency between selection conditions and the corresponding output. This selection by PM is applied, respectively, to the three Fornax-member samples that will be introduced in the next section. All calculated parameters are listed in Table [1](#tab:fornax){reference-type="ref" reference="tab:fornax"}.
## Selection by CMDs {#sec:selCMD}
Figure [\[fig:cmdselections\]](#fig:cmdselections){reference-type="ref" reference="fig:cmdselections"}-\(a\) shows the CMD of \(S_{\textsc{pm}}\) where the RGB branch is seen clearly. We define sources enclosed by two black lines in the CMD as sample \(S_{\textsc{\,rgb}}\) that is selected by only colors and magnitude. By comparing to panel-\(b\) and \(c\), we notice that many bright MW stars have been excluded, leaving fainter source around \(\texttt{BP-RP}=0.6\) that may contaminate faint Fornax RGB stars when \(\texttt{BP-RP}\) less than around 1. Further checking (see panel-\(d\)) we notice that these contaminating sources may be faint QSOs that are not identified yet. Note that the confirmed QSOs have been excluded when we selected \(S_{\rm raw}\). To avoid contamination, we may consider more or less restrictive conditions, such as using further limits in `BP-RP` (see vertical lines in Figure [\[fig:cmdselections\]](#fig:cmdselections){reference-type="ref" reference="fig:cmdselections"}) and combine them with \(S_{\textsc{\,rgb}}\) to obtain CMD selected sample. To maximize the total number of selected Fornax members, we limit \(S_{\textsc{\,rgb}}\) in the magnitude range \(17.3 < \texttt{G} < 20.8\), which covers the tip of RGB and guarantees the data quality. Fainter than \(\texttt{G} > 20.8\), the uncertainties in astrometry and photometry increase very quickly, which reduces the efficiency in separating stars of Fornax from those of the MW. After testing many possible selections by limiting magnitude range and cut-offs in `BP-RP`, we finally choose three representative selections by CMD to establish the Fornax-member samples (see Sect [4.4](#sec:final){reference-type="ref" reference="sec:final"}). In the top row of Figure [\[fig:cmdofpm\]](#fig:cmdofpm){reference-type="ref" reference="fig:cmdofpm"}, we plot CMDs as a function of elliptical annuli, which is an efficient way to explore how far from the center Fornax stars could distribute. In the bottom row of Figure [\[fig:cmdofpm\]](#fig:cmdofpm){reference-type="ref" reference="fig:cmdofpm"}, we plot, illustratively, comparison samples of possible contamination that correspond to each elliptical annulus. Each comparison sample in the bottom row is chosen arbitrarily from \(S_{\rm ref}\) by requiring the same sky coverage as in the corresponding top panel. In doing so, we can compare the CMD distribution directly in number between member candidates (top) and background (bottom). For example, in panel-\(c\), if we count the number of points inside the RGB region for top and bottom panel respectively, and subtract them, we find that there is an excess of counts of around 30 in the top panel. This is a strong signal that Fornax member stars exist in this annulus. In panel-\(d\), we found an excess count of 4, which is a much weaker signal of about two sigma. This suggests that Fornax' member stars may extend out to 2-degree elliptical radius. Properly subtracting the contamination can only be done statistically in the following density analysis. The illustration in Figure [\[fig:cmdofpm\]](#fig:cmdofpm){reference-type="ref" reference="fig:cmdofpm"} is only to visualize the significance of Fornax' RGB stellar populations at different radii.
## Selection by parallax {#sec:selparallax}
Fornax is located at a distance \(147\pm 4\) kpc from the Sun, corresponding to a parallax \(0.00680\) mas, which is far smaller than the typical error of individual sources in Gaia data. Hence, in principle the parallax distribution for Fornax stars in EDR3 reflects only the uncertainties in parallax determination. Thus we applied a gentle filter by rejecting some sources with `|parallax_over_error|` \(> 3.5\), see Figure [\[fig:verify\]](#fig:verify){reference-type="ref" reference="fig:verify"}. Correspondingly, we defined \(S_{\textsc{plx}}\) for selection `|parallax_over_error|` \(<= 3.5\) to be combined with other conditions (see Table [\[tab:stat\]](#tab:stat){reference-type="ref" reference="tab:stat"}).
\
\(^\dagger\)For PMs, only the random error is quoted here, while for the systematic errors one may refer to : 0.018 and 0.019 mas/yr, respectively.
## Three final samples of Fornax member candidates {#sec:final}
After applying all the selection conditions we obtain our final samples of Fornax member candidates \(S_{\textsc{0}}\), \(S_{\textsc{1}}\), and \(S_{\textsc{2}}\) with different conditions, as summarized in Table [\[tab:stat\]](#tab:stat){reference-type="ref" reference="tab:stat"}. \(S_0\) selects the largest number of member candidates as possible, and it provides the best S/N for the following data analysis. \(S_1\) is defined by limiting the color to be redder, in order to better remove QSOs and MW stars that overlap in color with Fornax RGB, as seen in Figure [\[fig:cmdselections\]](#fig:cmdselections){reference-type="ref" reference="fig:cmdselections"}. Thus \(S_1\) provides a less contaminated background that could still be determined accurately given its large number of stars. \(S_2\) is a very strict sample of bright stars having the best measurements in PM and parallax (see Figure [\[fig:verify\]](#fig:verify){reference-type="ref" reference="fig:verify"}). With \(S_2\), we may probe the extent of Fornax based on bright stars, also to verify the structure analysis from the other two samples. In the following we analyse the three samples in parallel, in order to consolidate stable and variable structures, as well as the robustness in our structure analysis. The contamination fraction (CC) from background counts within 2.1 degree radius is estimated and given in Table. [\[tab:stat\]](#tab:stat){reference-type="ref" reference="tab:stat"}. We verified the member sample selection in PM space and parallax space, see Figure [\[fig:verify\]](#fig:verify){reference-type="ref" reference="fig:verify"}. The global background is obtained through the 6-10 degree annulus of Figure [\[fig:check\]](#fig:check){reference-type="ref" reference="fig:check"} (see panel(a)), for which the mean density and Poisson noise can be robustly determined for each of the three Fornax samples (Table [\[tab:stat\]](#tab:stat){reference-type="ref" reference="tab:stat"}). Figure [\[fig:hist\]](#fig:hist){reference-type="ref" reference="fig:hist"} compares the spatial distribution of \(S_{\rm raw}\) and one of the Fornax-member sample, \(S_{0}\). It shows that the gradient observed in the background counts (left panel) disappears in the right panel, meaning that most of the MW stars have been excluded. Moreover, it illustrates that there is no obvious large scale structure, such as tails in the large field of view.
# results
## Fornax morphology
The spatial distribution of the three samples are shown in the left panels of Figure [\[fig:morph\]](#fig:morph){reference-type="ref" reference="fig:morph"}. A smoothed contour map of the spatial distribution is shown in the right panels. We applied a fixed Gaussian kernel of FWHM 0.25 degree for smoothing. Only the central 6x6 sq degrees is shown; outside this scale no substructures can be identified. We defined an annulus covering 6 to 10 degrees as the background reference, and calculated the mean densities and fluctuations for each sample (see Table [\[tab:stat\]](#tab:stat){reference-type="ref" reference="tab:stat"}). Morphologies from different samples show that the main body (those black contours above 10-sigma level) of Fornax appears quite regular and substantially symmetric. Overall, distributions of the three samples between 1.3 and 2.1 degrees are in good agreement, despite some variations. \(S_0\) shows a possible extended feature on the minor axis in the north-west direction, at position \((x,y)=(-0.8,0.5)\), i.e., the last black contour. This feature is not confirmed in \(S_1\) and \(S_2\). Sample \(S_2\) shows less significant extended features, though there are still few stars at 2.1 degrees, see also Figure [\[fig:cmdofpm\]](#fig:cmdofpm){reference-type="ref" reference="fig:cmdofpm"}-\(d\) and the relevant discussion in Sect. [4.2](#sec:selCMD){reference-type="ref" reference="sec:selCMD"} about the significance.\
## Surface Density Profile of Fornax {#sec:radialprofile}
We derive and analyze the radial surface-density profile for each member candidate sample by applying the same algorithm as described below. For simplicity, we choose to present \(S_1\) in this section, while \(S_0\) and \(S_2\) are presented in Appendix [\[sec:dens02\]](#sec:dens02){reference-type="ref" reference="sec:dens02"}. Following the method of, the radial profile is built directly from the candidate catalog, by evaluating the mean density in each elliptical annulus indexed by the semimajor axis. We assumed a mean geometry, i.e an P.A. and ellipticity as listed in Table [1](#tab:fornax){reference-type="ref" reference="tab:fornax"}, for each candidate sample, respectively. Such an assumption is helpful to explore the extent of a dSph in the low-density outskirts and can provide an easy way to understand and interpret the results,. Figure [\[fig:denprof\]](#fig:denprof){reference-type="ref" reference="fig:denprof"} shows the radial surface-density profile for \(S_1\). Error bars are estimated from Poisson noise based on the counts in each annulus. In order to see details, we used high-resolution and logarithmic spacing in radius. We also request a minimal count of 9 stars in a single radius bin (resulting in a 33% statistic error at most), otherwise, it will be combined into its neighboring annulus. Then the profile is obtained with adaptive resolution especially at center and outskirts. We have examined the background uncertainty with two different methods. Method-1 calculates a mean number density within the background reference, i.e. the annulus from 6 to 10 degree, and the Poisson noise of counts as its uncertainty. Method-2 calculates the background density using the error weighted mean of all stars lying between 6 to 10 degree from the density profile. The latter include background fluctuations. Both methods provide the same mean value, and we have chosen the larger error bar as a conservative estimation of the background uncertainty. Under such considerations, for \(S_2\), we have chosen the Poisson noise as the estimate of background uncertainty, while for \(S_0\) and \(S_1\), we have adopted the uncertainties using Method-2. As indicated in the figure, after subtracting the background, we are able to trace the density profile by almost 5 decades from the center to the outskirts above the 3-sigma level (defined as detection limit) of the background fluctuations (Table [\[tab:stat\]](#tab:stat){reference-type="ref" reference="tab:stat"}). Our results reach 2 decades, i.e., 5 magnitudes, deeper than previous studies mentioned in Table [\[tab:method\]](#tab:method){reference-type="ref" reference="tab:method"}. Here we evaluate the depth or the equivalent surface brightness limit of our results. To do so, we first assume that our density profiles in the central region trace the same structure, i.e. density profile, as found by. This underlying assumption is based on the fact that the RGB dominates the stellar light in Fornax, and are considered to be representative of the whole Fornax surface brightness made by, who included other stellar population besides RGB stars. Then, we re-scale the density profile by matching the mean density inside the 0.3-degree elliptical radius to the effective surface brightness \(24.77\pm0.16\) mag arcsec\(^{-2}\) in the V-band (defined inside the same elliptical radius) found by. The mean density inside the 0.3-degree elliptical radius are 17.318, 11.901, 3.612 star/arcmin\(^2\) for \(S_0\), \(S_1\) and \(S_2\) respectively. These values are applicable to the calibration of the corresponding 2D density maps. The reached surface brightness limits are listed in Table [\[tab:stat\]](#tab:stat){reference-type="ref" reference="tab:stat"}. The statistical error of evaluating the mean density is very small because of the large number of counts, so the uncertainty of the equivalent surface brightness is mostly coming from the physical calibration by, i.e., 0.16 mag.
[\[tab:fit\]]{#tab:fit label="tab:fit"}
Following, we fit different theoretical density profiles to the data, and the results are listed in Table [\[tab:fit\]](#tab:fit){reference-type="ref" reference="tab:fit"}. For all theoretical profiles we have adopted the same notation as. First, let us compare the results between the three samples. For each theoretical profile, the best fitting parameters are similar from one sample to another, within the error bars. We also note that the reduced-\(\chi^2\) generally decreases from \(S_0\) to \(S_2\), which could reflect the increase of the fraction of true Fornax members from \(S_0\) to \(S_2\), but could also possibly be due to the decrease of the sample size which leads to less statistical significance. Second, let us focus on \(S_1\). Fornax extends much farther than the King tidal radius (see Table [\[tab:fit\]](#tab:fit){reference-type="ref" reference="tab:fit"}), outside which the observed density profile shows a change of slope, in a similar way as the observed breaks found in other classical dSphs. Furthermore, we can safely reject the Plummer profile, according its huge reduced-\(\chi^2\) value. Although the exponential profile gives a reasonable description of the data, it shows some systematic biases at different radii. This can be seen more clearly in the middle panel of Figure [\[fig:denprof\]](#fig:denprof){reference-type="ref" reference="fig:denprof"} where the best-fit of exponential profile deviates from the data points. The Sersic profile provides a very good fit to the data out to 1 degree (see, the lower panel in Figure [\[fig:denprof\]](#fig:denprof){reference-type="ref" reference="fig:denprof"}). The departure (i.e., the break) beyond this radius reveals that an additional component exists in Fornax. To characterize this additional component we introduce a double-Sersic model to decompose the density profile. It gives an obvious improvement of the fitting, as shown by the significant changes of the mean \(\chi^2\) indicated in the last columns of Table. [\[tab:fit\]](#tab:fit){reference-type="ref" reference="tab:fit"}, suggesting the need of this second component. The second Sersic component, i.e., \"c.2\" in Figure [\[fig:denprof\]](#fig:denprof){reference-type="ref" reference="fig:denprof"}, starts to dominate the density at 0.9 degree, where the two components reach the same density. It includes 10, 9, and 12.4% of the total net counts by integrating the theoretical profiles for \(S_1\), \(S_0\), and \(S_2\) respectively. Accounting for the 2D morphology that shows a nearly symmetric morphology, it suggests that the second component behaves like a surrounding halo, though there could be projection effects. We find that within 1 degree, the density profiles derived for Fornax in this paper are almost the same as the result obtained by (see Figure [\[fig:denprof\]](#fig:denprof){reference-type="ref" reference="fig:denprof"} open triangles). Interestingly, used only bright RGB star selection too, covering an even shallower 2.5 mag of RGB stars. We have re-scaled their profile by normalizing the average density within 0.1 degree. The case \"All\" in has also been re-scaled and plotted in Figure [\[fig:denprof\]](#fig:denprof){reference-type="ref" reference="fig:denprof"}. There is a visible discrepancy between 0.3 to 1 degree, which agrees with fitting results. For example, with a single Sersic profile and \(S_1\), we found a smaller characteristic radius than, i.e.,14\(^\prime\).7 versus 17\(^\prime\).6. We note, however, that our result is consistent with the result by after their correction of the crowding effect in the center of the galaxy. These comparisons are in line with what we discussed and expected in Sect. [2](#sec:method){reference-type="ref" reference="sec:method"}, the relatively more shallow photometric data of Gaia and its good image quality could lead to results much less affected by the crowding effect at the center of Fornax.
# Discussion and Conclusion
Thanks to Gaia's homogeneous data quality and full coverage of PM measurements, we have studied the stellar structure of Fornax dSphs over a huge area (400 sq deg), and reached an extreme depth of photometry, down to 12 magnitudes fainter than the central density of Fornax, which is equivalent to a surface brightness \(37.94\pm0.16\) mag/arcsec\(^2\) in the V-band. Our study demonstrates that using Gaia's multiple and independent parameter spaces, i.e. CMD, PM, and parallax, allows to perform a member candidate selection that provides a breakthrough for studying dSph outer structures compared to former studies with ground-based deep observations. Above the detection limit, we have discovered a significant second component in the Fornax dSph, which resembles a stellar halo due to its nearly symmetric morphology. This component represents about 10% of the total mass of Fornax, and extends out to 2.1 degree (i.e. 5.4 kpc or almost 7 times the half-light radius). This additional component in the Fornax outskirts is well described by a Sersic profile with index of \(0.92^{+0.11}_{-0.29}\), which is consistent with an exponential profile. This might suggest that Fornax could extend even further. What is the origin of this halo-like structure? presented a set of dedicated simulations to fit Fornax, in a frame for which it is DM dominated and a long-lived satellite of the MW. All their models but one (assuming that mass follows light), can reproduce quantitatively both the \(\sigma_{\textsc{los}}\) radial profile and the observed morphology out to 1.3 degree. In these models the stellar component of the simulated object is very stable against tidal stripping that removes only up to 10% of the initial stellar mass after 12 Gyr of orbital integration. However, none of these models predict a second component similar to that we found from Gaia data. Using cosmological simulations, study analogs of Fornax according to its star formation history. They argue that the Fornax dSph may show tidal tails at around 35-36 mag/arcsec\(^2\), which is only 6 magnitudes in contrast to the central density of the simulated object (see their Fig. 6). With our Gaia results, we have been able to trace the density profile of Fornax within a 12 magnitude range, and we do not find any tidal tail over a large field surrounding Fornax (up to 400 sq degrees). Conversely to clues of tidal stripping in Fornax, we found that the outskirt of Fornax, i.e. \(r_{\rm ell} > 1.3\) degree, resembles a halo-like structure because it appears rather symmetric. It suggests that other mechanisms than tidal stripping are at work in Fornax. Among them, a former dwarf-dwarf merger was supported by the discovery of a shell structure near Fornax, but has been disproved later by.\
\
Alternatively, the MW dSphs could be affected by tidal shocks, and in the following we investigate whether it could naturally explain the secondary component of stars in the Fornax outskirts. The mechanism includes the transformation of a Fornax progenitor that was a gas-rich dwarf galaxy. Fornax shows very recent star formation (50-100 Myr ago, @Coleman2008), and if we were observing this galaxy at that epoch it would have resembled a gas-rich dwarf irregular (dIrr, @Battaglia2013). The case of a DM-free progenitor was first investigated by with numerical simulations. If gas was dominating the former Fornax dwarf, after the last gas removal, the residual stars would have expanded following a spherical geometry due the loss of gravity. As shown by, the tidal stripping term becomes negligible and energy exchanges with the MW are dominated by tidal shocks, which can dominate the [los]{.smallcaps}-kinematics. Not all stars are in resonance with the MW or tidally shocked, an average fraction of only 25% is sufficient to explain the observed hot kinematics. We suggest that the second stellar component revealed by Gaia data may be due to the recent expansion of stars in Fornax. Detailed numerical modeling will be required to reproduce the overall properties of Fornax in the tidal shock scenario. Such a scenario assumes that the MW halo is filled by diffuse and ionized gas (up to few million Kelvin), know as the Circumgalactic Medium. There is direct evidence of such diffuse gas surrounding the MW. There are also many indirect indications for the existence of this diffuse gas, such as the strong dichotomy of the distribution of dSphs and dwarf irregular galaxies within and beyond 300 kpc, respectively. The presence of head-tail High-Velocity Clouds (HVCs) at \(>\) 50 kpc from the Magellanic Stream implies a density of ionized gas of about \(10^{-4} {\rm cm}^{-3}\) at 50-70 kpc and \(10^{-5} {\rm cm}^{-3}\) out to a few hundred kpc. When gas-rich dwarf galaxies fall into the MW, their cold gas will feel the ram pressure generated by the hot gas in the MW halo, and later on they could be fully stripped. The best example for such an on-going process is The Magellanic Stream, since the ram pressure tails lagging behind the Magellanic Clouds are indeed observed and reproduced by a 'ram-pressure+collision' model. It is reasonable that such a strong ram pressure force could remove the gas from the in-falling dwarf galaxies. Fornax can be interpreted as an archetype for this scenario, because of its very recent star formation implying a recent removal of its gas., after examining possible scenarios and simulations, found that the observed star formation history (SFH) of Fornax is better explained by periodic passages about the MW. But their proposition cannot explain the two star formation peaks within the last Gyr (see their Fig. 12), because the last orbital period of Fornax is at least 2 Gyr. Our scenario could explain naturally the subsequent star formation history of Fornax. After Fornax's progenitor (which in this scenario is supposed to be a gas-rich and dark matter free dwarf galaxy) entered the MW halo, around 2 Gyr ago, the gas in the dwarf galaxy will be compressed due to ram pressure, igniting star formation. Because there is no dark-matter, which means the potential of the galaxy is very shallow, the feedback of star formation could push the gas to larger radii of the galaxy, hence reducing or even halting the star formation process. As gas is cooling down and falls back to the center of the galaxy, with the help of ram pressure a new cycle (i.e. epoch) of star formation will be activated, and so on. This process could explain the multiple epochs of star formation in the last 1 Gyr. The oscillation of such a star formation process depends on the mass of the dwarf galaxy and the strength of ram pressure, and thus could put some constraints on the mass of Fornax. As Fornax approached its current position, it experienced the last ram-pressure process, and then lost its last gas in the recent few hundred Myr. The last event of very recent gas removal is consistent with the observed 100-300 Myr stellar population in Fornax. If confirmed, the HI cloud superposed on Fornax and discovered by could be the last gas cloud that is leaving the Fornax dSph now. Our discovery of this second component, i.e. a halo-like stellar component in Fornax, motivates us to revisit the understanding of the \"breaks\" in dSphs density profiles. With Fornax, almost all dSphs, except Leo II, are reported to display such a break in their density profiles. If this second component of Fornax can be explained as the result of expanding stars, how about the other dSphs? It could be interesting to identify the morphologies of the second component responsible of the break in their density profile, and whether they are consistent with tidal stripping or alternatively with tidal shocking. The latter could be verified with internal kinematics via PMs by Gaia in the future, see our Introduction or.
# {#section .unnumbered}
**Note added in proof:** During the publication of the paper, we noticed that stellar halos of MW dSphs were also discovered recently in the Fornax, and Tucana II sourroundings. These findings confirm our result and motivate us to further study other dSphs.
[^1]: https://www.cosmos.esa.int/web/gaia/home
[^2]: On the other hand, an over-subtraction of background could also cause an overestimation of the Sersic radius.
[^3]: Gaia Archive at https://gea.esac.esa.int/archive/ | {'timestamp': '2022-03-24T01:01:32', 'yymm': '2203', 'arxiv_id': '2203.01953', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01953'} |
null | null |
null | null |
# Introduction {#section:introduction}
Theoretical performance guarantees and adaptability to real-world constraints determine the deployability, and hence the practical utility, of statistical methods and machine learning algorithms. For example, spectral clustering, one of the most sought after algorithms for clustering and community detection, has been studied under various constraints such as *must-link* and *cannot-link* constraints, size-balanced clusters, and statistical fairness. Commonly used constraints in practice can be categorized as *population-level* (also known as statistical-level) or *individual-level* constraints. However, the only known consistency guarantees for constrained spectral clustering were established in for the first case, where the goal is to find balanced clusters with respect to an auxiliary categorical attribute. In this paper, we study a problem setting where the auxiliary information is encoded in a graph \(\mathcal{R}\), which we refer to as a *representation graph*. We study spectral clustering in a given *similarity graph* \(\mathcal{G}\) under an individual-level balancing constraint that is specified using the representation graph \(\mathcal{R}\). There are two-fold advantages of this setting: **(i)** our constraint selects clusters that are balanced from each individual's perspective, and **(ii)** it enables us to define a new variant of the stochastic block model (SBM) that plants the properties of \(\mathcal{R}\) into the sampled graphs, making this variant of SBM *representation-aware* (aware of the representation graph \(\mathcal{R}\)).
## Problem setting and applications {#section:problem_setting_and_applications}
Let \(\mathcal{G}\) denote a similarity graph based on which clusters have to be discovered. We consider a setting where each node in \(\mathcal{G}\) specifies a list of its representatives (other nodes in \(\mathcal{G}\)) using an auxiliary representation graph \(\mathcal{R}\). The graph \(\mathcal{R}\) is defined on the same set of nodes as \(\mathcal{G}\) and its edges specify the "is representative of" relationship. For example, \(\mathcal{R}\) may be a result of the interactions between individuals that result from values of certain latent node attributes like age and gender. This motivates a *representation constraint* that requires the clusters in \(\mathcal{G}\) to be such that each node has a sufficient number of representatives (as per \(\mathcal{R}\)) in all the clusters. Our goal is to develop and analyze variants of the spectral clustering algorithm with respect to this constraint. We begin by briefly describing two applications that motivate the above discussed problem. The first application is concerned with the "fairness" of clusters. Informally, a node or individual finds the clusters fair if it has a sufficient representation in all the clusters. The work of requires the clusters to be balanced with respect to various *protected groups* (like gender or race). For example, if \(50\%\) of the population is female then the same proportion should be respected in all clusters. This idea of proportional representation has been extended in various forms and several efficient algorithms for discovering fair clusters under this notion have been proposed. While the fairness notion mentioned above is a *statistical* fairness notion (i.e., constraints are applied on protected groups as a whole), and develop *individual* fairness notions that require examples to be "sufficiently close\" to their cluster centroids. pursue a different direction and adapt the fairness notion proposed by to the problem of clustering. Only study spectral clustering in the context of (statistical) fairness. In contrast, we show in Section [3.1](#section:constraint){reference-type="ref" reference="section:constraint"} that our proposed constraint interpolates between statistical and individual fairness based on the structure of \(\mathcal{R}\).
Another possible application could be in balancing the load on computing resources in a cloud platform. Here, nodes in \(\mathcal{G}\) correspond to processes and edges encode similarity among these processes in terms of shareable resources such as a read-only file. The edges in \(\mathcal{R}\) on the other hand connect processes that share resources that can only be accessed by one process at a time (say a network channel). The goal is to cluster similar processes in \(\mathcal{G}\) while ensuring that neighbors in \(\mathcal{R}\) are spread out across clusters to avoid a collision.
## Related results {#section:related_results}
Several algorithms for unconstrained clustering such as \(k\)-means, expectation-maximization based clustering, and spectral clustering have been modified to satisfy the given *must-link* (ML) and *cannot-link* (CL) constraints that specify pairs of nodes that should or should not belong to the same cluster. In this paper, we restrict our focus to spectral clustering as it provides a deterministic solution to the clustering problem in polynomial time and can detect arbitrarily shaped clusters. Existing approaches modify spectral clustering by preprocessing the input similarity graph, post-processing the eigenvectors of the Laplacian matrix, or modifying the optimization problem solved by spectral clustering. Researchers have also studied spectral approaches that, for example, handle inconsistent or sparse constraints, actively solicit constraints, or modify variants of spectral clustering, to name but a few. Other types of constraints such as those on cluster sizes and those that can be expressed as linear expressions have also been explored. While this has been an active area of research, theoretical consistency guarantees on the performance of these constrained spectral clustering algorithms are largely missing from the literature. (Unconstrained) spectral clustering is backed by strong statistical guarantees that usually take the form "the algorithm makes \(o(N)\) mistakes with probability \(1-o(1)\)." Here, \(N\) is the number of nodes in the similarity graph. These results consider a random model that generates problem instances for the algorithm (similarity graph in this case) with known ground-truth clusters. The high probability bound is with respect to this random model and the mistakes are computed against the ground-truth clusters. An algorithm that satisfies the condition above is called *weakly consistent*. A common choice for the random model is the Stochastic Block Model (SBM). In this model, nodes have predefined community memberships that are used to sample edges with different probabilities. established the weak consistency of spectral clustering under the SBM. instead used a variant of SBM to sample networks with a more realistic degree distribution. Several other variants of SBM have also been used to provide appropriate problem instances such as graphs with overlapping clusters, observable node covariates, or two alternative set of clusters, one *unfair* and one *fair*. use a different random model where the similarity graph encodes pairwise cosine similarity between input feature vectors that follow a particular probability distribution. study a variant of spectral clustering that is faster than the traditional algorithm. *Strong consistency* results are also known in some cases. Finally, propose a variant of SBM for hypergraphs and establish the weak consistency of spectral algorithms in this setting. Theoretical results for constrained clustering are primarily concerned with the computational complexity of the problem. It is known that the problem is NP-hard if one hopes for an exact solution that satisfies all the CL constraints or the statistical fairness constraint. Hence, most existing methods only satisfy the constraints approximately. Results related to the cluster quality in the constrained setting only consider the algorithm's convergence to the global optima of a relaxed optimization problem. is a notable exception, however, even they consider constraints that apply at the level of protected groups as explained above, and not at the level of individuals. They follow a similar strategy as ours and modify spectral clustering to add a statistical fairness constraint. In Section [3.1](#section:constraint){reference-type="ref" reference="section:constraint"}, we argue that a particular configuration of the representation graph \(\mathcal{R}\) reduces our constraint to the statistical fairness criterion. Thus, the algorithms proposed in are strictly special cases of the algorithms presented in this paper. To the best of our knowledge, we are the first to establish statistical consistency results for constrained spectral clustering for individual-level constraints. A subset of results presented in this paper are available online as a preliminary draft.
# Notation and preliminaries {#section:notation_and_preliminaries}
Let \(\mathcal{G} = (\mathcal{V}, \mathcal{E})\) denote a similarity graph, where \(\mathcal{V} = \{v_1, v_2, \dots, v_N\}\) is the set of \(N\) nodes, and \(\mathcal{E} \subseteq \mathcal{V} \times \mathcal{V}\) is the set of edges. The aim of clustering is to partition the nodes into \(K \geq 2\) clusters \(\mathcal{C}_1, \dots, \mathcal{C}_K \subseteq \mathcal{V}\) such that each node in \(\mathcal{V}\) belongs to exactly one cluster, i.e., \(\mathcal{C}_i \cap \mathcal{C}_j = \phi\) if \(i \neq j\) and \(\cup_{k=1}^K \mathcal{C}_k = \mathcal{V}\). We further assume the availability of a *representation graph*, denoted by \(\mathcal{R} = (\mathcal{V}, \hat{\mathcal{E}})\), that encodes auxiliary information. Notice that \(\mathcal{R}\) is defined on the same set of vertices as the similarity graph \(\mathcal{G}\), but has a different set of edges \(\hat{\mathcal{E}} \subseteq \mathcal{V} \times \mathcal{V}\). The discovered clusters \(\mathcal{C}_1, \dots, \mathcal{C}_K\) are required to satisfy the constraint encoded by \(\mathcal{R}\), as described in Section [3.1](#section:constraint){reference-type="ref" reference="section:constraint"}. \(\mathbf{A} \in \{0, 1\}^{N \times N}\) and \(\mathbf{R} \in \{0, 1\}^{N \times N}\) denote the adjacency matrices of graphs \(\mathcal{G}\) and \(\mathcal{R}\), respectively. We assume that \(\mathcal{G}\) and \(\mathcal{R}\) are undirected. Further, \(\mathcal{G}\) has no self-loops. Thus, \(\mathbf{A}\) and \(\mathbf{R}\) are symmetric and \(A_{ii} = 0\) for all \(i \in [N]\), where \([n] \coloneqq \{1, 2, \dots, n\}\) for any integer \(n\). We propose modified variants of spectral clustering in Section [3](#section:algorithms){reference-type="ref" reference="section:algorithms"}. Before describing the proposed algorithms, we begin with a brief review of the standard spectral clustering algorithm.
## Unnormalized spectral clustering {#section:unnormalized_spectral_clustering}
Given a similarity graph \(\mathcal{G}\), unnormalized spectral clustering finds clusters by approximately optimizing a quality metric known as the ratio-cut defined as \[\mathrm{RCut}(\mathcal{C}_1, \dots, \mathcal{C}_K) = \sum_{i = 1}^K \frac{\mathrm{Cut}(\mathcal{C}_i, \mathcal{V} \backslash \mathcal{C}_i)}{\abs{\mathcal{C}_i}}.\] Here, \(\mathcal{V} \backslash \mathcal{C}_i\) denotes the set difference between sets \(\mathcal{V}\) and \(\mathcal{C}_i\). For any two subsets \(\mathcal{X}, \mathcal{Y} \subseteq \mathcal{V}\), \(\mathrm{Cut}(\mathcal{X}, \mathcal{Y})\) is defined as \(\mathrm{Cut}(\mathcal{X}, \mathcal{Y}) = \frac{1}{2} \sum_{v_i \in \mathcal{X}, v_j \in \mathcal{Y}} A_{ij}\). That is, \(\mathrm{Cut}(\mathcal{X}, \mathcal{Y})\) counts the number of edges that have one endpoint in \(\mathcal{X}\) and another endpoint in \(\mathcal{Y}\). The Laplacian matrix \(\mathbf{L}\) of the similarity graph \(\mathcal{G}\) is defined as \[\label{eq:L_def} \mathbf{L} = \mathbf{D}-\mathbf{A}.\] Here, \(\mathbf{D} \in \mathbb{R}^{N \times N}\) is the degree matrix, which is a diagonal matrix such that \(D_{ii} = \sum_{j = 1}^N A_{ij}\), for all \(i \in [N]\). Further, define \(\mathbf{H} \in \mathbb{R}^{N \times K}\) as \[\label{eq:H_def} H_{ij} = \begin{cases} \frac{1}{\sqrt{\abs{\mathcal{C}_j}}} & \text{ if }v_i \in \mathcal{C}_j \\ 0 & \text{ otherwise.} \end{cases}\] One can easily verify that \(\mathrm{RCut}(\mathcal{C}_1, \dots, \mathcal{C}_K) = \trace{\mathbf{H}^\intercal \mathbf{L} \mathbf{H}}\), where \(\mathbf{H}\) corresponds to clusters \(\mathcal{C}_1, \dots, \mathcal{C}_K\). Thus, to find good clusters, one can solve: \[\min_{\mathbf{H} \in \mathbb{R}^{N \times K}} \,\,\,\, \trace{\mathbf{H}^\intercal \mathbf{L} \mathbf{H}} \,\,\,\, \text{s.t.} \,\,\,\, \mathbf{H} \text{ is of the form \eqref{eq:H_def}.}\] It is computationally hard to solve this optimization problem due to the combinatorial nature of the constraint. Unnormalized spectral clustering instead solves the following relaxed optimization problem: \[\label{eq:opt_problem_normal} \min_{\mathbf{H} \in \mathbb{R}^{N \times K}} \,\,\,\, \trace{\mathbf{H}^\intercal \mathbf{L} \mathbf{H}} \,\,\,\, \text{s.t.} \,\,\,\, \mathbf{H}^\intercal \mathbf{H} = \mathbf{I}.\] The above relaxation is often referred to as the spectral relaxation. By Rayleigh-Ritz theorem, the optimal matrix \(\mathbf{H}^*\) is such that it has \(\mathbf{u}_1, \mathbf{u}_2, \dots, \mathbf{u}_K \in \mathbb{R}^N\) as its columns, where \(\mathbf{u}_i\) is the eigenvector corresponding to the \(i^{th}\) smallest eigenvalue of \(\mathbf{L}\) for all \(i \in [K]\). The algorithm clusters the rows of \(\mathbf{H}^*\) into \(K\) clusters using \(k\)-means clustering to return \(\hat{\mathcal{C}}_1, \dots, \hat{\mathcal{C}}_K\). Algorithm [\[alg:unnormalized_spectral_clustering\]](#alg:unnormalized_spectral_clustering){reference-type="ref" reference="alg:unnormalized_spectral_clustering"} summarizes this procedure. The Laplacian given in [\[eq:L_def\]](#eq:L_def){reference-type="eqref" reference="eq:L_def"} is more specifically known as unnormalized Laplacian. The next subsection describes a variant of spectral clustering, known as normalized spectral clustering, that uses the normalized Laplacian. Unless stated otherwise, we will use spectral clustering (without any qualification) to refer to unnormalized spectral clustering.
It is easy to see that \(0 \leq \rho_i \leq 1\) and higher values of \(\rho_i\) indicate that node \(v_i\) has an adequate representation in all clusters. Thus, one objective could be to find clusters \(\mathcal{C}_1, \dots, \mathcal{C}_K\) that solve the following constrained optimization problem. \[\label{eq:general_optimization_problem} \min_{\mathcal{C}_1, \dots, \mathcal{C}_K} \;\; f(\mathcal{C}_1, \dots, \mathcal{C}_K) \;\;\;\; \text{s.t.} \;\;\;\; \rho_i \geq \alpha, \; \forall \; i \in [N].\] Here, \(f(\cdot)\) is a function that is inversely proportional to the quality of clusters (such as \(\mathrm{RCut}\) or \(\mathrm{NCut}\)), and \(\alpha \in [0, 1]\) is a user specified threshold. However, it not clear as to how this approach can be combined with spectral clustering to develop a consistent algorithm. Therefore, we take a slightly different approach, as described below. First, note that \(\rho_i \leq \min_{k, \ell \in [K]} \; \frac{\abs{\mathcal{C}_k}}{\abs{\mathcal{C}_\ell}}\) for all \(i \in [N]\). Therefore, the balance \(\rho_i\) is maximized when the representatives \(\mathcal{N}_{\mathcal{R}}(i)\) of node \(v_i\) are split across clusters \(\mathcal{C}_1, \dots, \mathcal{C}_K\) in proportion of the sizes of these clusters. Our constraint, formally defined below, requires this proportionality condition to be satisfied for each node \(v_i \in \mathcal{V}\).
In other words, the representation constraint requires the representatives of any given node \(v_i\) to have a proportional membership in all clusters. For example, if a node \(v_i\) is connected to \(30\%\) of all the nodes in \(\mathcal{R}\), then the clusters discovered in \(\mathcal{G}\) must be such that this node has \(30\%\) representation in all clusters. We wish to re-emphasize that the representation constraint applies at the level of individual nodes unlike the constraint in that applies at the level of protected groups. In Sections [3.2](#section:unnormalized_repsc){reference-type="ref" reference="section:unnormalized_repsc"} and [3.3](#section:normalized_repsc){reference-type="ref" reference="section:normalized_repsc"}, we show that [\[eq:representation_constraint\]](#eq:representation_constraint){reference-type="eqref" reference="eq:representation_constraint"} can be integrated with the optimization problem solved by spectral clustering. Appendix [7](#appendix:constraint){reference-type="ref" reference="appendix:constraint"} presents additional remarks about the properties of this constraint, in particular, its relation to the statistical-level constraint for categorical attributes. It shows that [\[eq:representation_constraint\]](#eq:representation_constraint){reference-type="eqref" reference="eq:representation_constraint"} recovers the statistical-level constraint for a particular configuration of the representation graph, and generalizes it to individual-level constraint for other configurations. Next, we turn to the feasibility of the constraint.
#### Feasibility {#feasibility .unnumbered}
The optimization problem in [\[eq:general_optimization_problem\]](#eq:general_optimization_problem){reference-type="eqref" reference="eq:general_optimization_problem"} can always be solved for a small enough value of \(\alpha\) (with the convention that \(0/0 = 1\)). On the other hand, the constraint in Definition [\[def:representation_constraint\]](#def:representation_constraint){reference-type="ref" reference="def:representation_constraint"} may not always be feasible. For example, if a node has only two representatives, i.e., \(\abs{\mathcal{N}_{\mathcal{R}}(i)} = 2\), and there are \(K > 2\) clusters, then [\[eq:representation_constraint\]](#eq:representation_constraint){reference-type="ref" reference="eq:representation_constraint"} can never be satisfied as there will always be at least one cluster \(\mathcal{C}_k\) for which \(\abs{\mathcal{C}_k \cap \mathcal{N}_{\mathcal{R}}(i)} = 0\). We argue in the subsequent subsections that spectral relaxation ensures the approximate satisfiability of the constraint when it is added to spectral clustering's optimization problem. We also describe a necessary assumption that is needed to ensure feasibility in practice and two additional assumptions that are required for our theoretical analysis. Thus, the way we use the proposed constraint makes it widely applicable, even though it is very strong. The general form of the constraint in [\[eq:general_optimization_problem\]](#eq:general_optimization_problem){reference-type="eqref" reference="eq:general_optimization_problem"} may be of independent interest in the context of other clustering algorithms, but we do not pursue this direction here.
## Unnormalized representation-aware spectral clustering ([URepSC]{.smallcaps}) {#section:unnormalized_repsc}
Recall from Section [2.1](#section:unnormalized_spectral_clustering){reference-type="ref" reference="section:unnormalized_spectral_clustering"} that unnormalized spectral clustering approximately minimizes the ratio-cut objective by relaxing an NP-hard optimization problem to solve [\[eq:opt_problem_normal\]](#eq:opt_problem_normal){reference-type="eqref" reference="eq:opt_problem_normal"}. The lemma below specifies a sufficient condition that implies the constraint in [\[eq:representation_constraint\]](#eq:representation_constraint){reference-type="eqref" reference="eq:representation_constraint"}.
Ideally, we would like to solve the following optimization problem to get the clusters that satisfy the representation constraint, \[\label{eq:optimization_problem_ideal} \min_{\mathbf{H}} \;\;\;\; \trace{\mathbf{H}^\intercal \mathbf{L} \mathbf{H}} \;\;\;\; \text{s.t.} \;\;\;\;\mathbf{H} \text{ is of the form \eqref{eq:H_def}}; \;\;\;\; \mathbf{R} \left( \mathbf{I}-\frac{1}{N}\bm{1}\bmone^\intercal \right) \mathbf{H} = \mathbf{0},\] where \(\mathbf{L}\) is the unnormalized graph Laplacian defined in [\[eq:L_def\]](#eq:L_def){reference-type="eqref" reference="eq:L_def"}. However, as noted in Section [2.1](#section:unnormalized_spectral_clustering){reference-type="ref" reference="section:unnormalized_spectral_clustering"}, the first constraint on \(\mathbf{H}\) makes this problem NP-hard. Thus, we solve the following relaxed problem, \[\label{eq:opt_problem_with_eq_constraint} \min_{\mathbf{H}} \;\;\;\; \trace{\mathbf{H}^\intercal \mathbf{L} \mathbf{H}} \;\;\;\; \text{s.t.} \;\;\;\; \mathbf{H}^\intercal \mathbf{H} = \mathbf{I}; \;\;\;\; \mathbf{R} \left( \mathbf{I}-\frac{1}{N}\bm{1}\bmone^\intercal \right)\mathbf{H} = \mathbf{0}.\] Clearly, the columns of any feasible \(\mathbf{H}\) must belong to the null space of \(\mathbf{R}(\mathbf{I}-\bm{1}\bmone^\intercal / N)\). Thus, any feasible \(\mathbf{H}\) can be expressed as \(\mathbf{H} = \mathbf{Y} \mathbf{Z}\) for some matrix \(\mathbf{Z} \in \mathbb{R}^{N-r \times K}\), where \(\mathbf{Y} \in \mathbb{R}^{N \times N-r}\) is an orthonormal matrix containing the basis vectors of the null space of \(\mathbf{R}(\mathbf{I}-\bm{1}\bmone^\intercal / N)\) as its columns. Here, \(r\) is the rank of \(\mathbf{R}(\mathbf{I}-\bm{1}\bmone^\intercal / N)\). Because \(\mathbf{Y}^\intercal \mathbf{Y} = \mathbf{I}\), \(\mathbf{H}^\intercal \mathbf{H} = \mathbf{Z}^\intercal \mathbf{Y}^\intercal \mathbf{Y} \mathbf{Z} = \mathbf{Z}^\intercal \mathbf{Z}\). Thus, \(\mathbf{H}^\intercal \mathbf{H} = \mathbf{I} \Leftrightarrow \mathbf{Z}^\intercal \mathbf{Z} = \mathbf{I}\). The following optimization problem is equivalent to [\[eq:opt_problem_with_eq_constraint\]](#eq:opt_problem_with_eq_constraint){reference-type="eqref" reference="eq:opt_problem_with_eq_constraint"} by setting \(\mathbf{H} = \mathbf{Y} \mathbf{Z}\). \[\label{eq:optimization_problem} \min_{\mathbf{Z}} \;\;\;\; \trace{\mathbf{Z}^\intercal \mathbf{Y}^\intercal \mathbf{L} \mathbf{Y} \mathbf{Z}} \;\;\;\; \text{s.t.} \;\;\;\; \mathbf{Z}^\intercal \mathbf{Z} = \mathbf{I}.\] As in standard spectral clustering, the solution to [\[eq:optimization_problem\]](#eq:optimization_problem){reference-type="eqref" reference="eq:optimization_problem"} is given by the \(K\) leading eigenvectors of \(\mathbf{Y}^\intercal \mathbf{L} \mathbf{Y}\). Of course, for \(K\) eigenvectors to exist, \(N-r\) must be at least \(K\), as \(\mathbf{Y}^\intercal \mathbf{L} \mathbf{Y}\) has dimensions \(N-r \times N-r\). The clusters can then be recovered by using \(k\)-means clustering to cluster the rows of \(\mathbf{H} = \mathbf{Y} \mathbf{Z}\), as in Algorithm [\[alg:unnormalized_spectral_clustering\]](#alg:unnormalized_spectral_clustering){reference-type="ref" reference="alg:unnormalized_spectral_clustering"}. Algorithm [\[alg:urepsc\]](#alg:urepsc){reference-type="ref" reference="alg:urepsc"} summarizes this procedure. We refer to this algorithm as unnormalized representation-aware spectral clustering ([URepSC]{.smallcaps}).
For [NRepSC]{.smallcaps}, we assume that the similarity graph \(\mathcal{G}\) is connected so that the diagonal entries of \(\mathbf{D}\) are strictly positive. We proceed as before to incorporate constraint [\[eq:normalized_matrix_fairness_criteria\]](#eq:normalized_matrix_fairness_criteria){reference-type="eqref" reference="eq:normalized_matrix_fairness_criteria"} in optimization problem [\[eq:normalized_ideal_opt_problem\]](#eq:normalized_ideal_opt_problem){reference-type="eqref" reference="eq:normalized_ideal_opt_problem"}. After applying the spectral relaxation, we get \[\label{eq:optimization_problem_normalized} \min_{\mathbf{T}} \;\;\;\; \trace{\mathbf{T}^\intercal \mathbf{L} \mathbf{T}} \;\;\;\; \text{s.t.} \;\;\;\; \mathbf{T}^\intercal \mathbf{D} \mathbf{T} = \mathbf{I}; \;\;\;\; \mathbf{R}(\mathbf{I}-\bm{1} \bm{1}^\intercal / N) \mathbf{T} = \mathbf{0}.\] As before, \(\mathbf{T} = \mathbf{Y} \mathbf{Z}\) for some \(\mathbf{Z} \in \mathbb{R}^{N-r \times K}\), where recall that columns of \(\mathbf{Y}\) contain orthonormal basis for \(\nullspace{\mathbf{R}(\mathbf{I}-\bm{1} \bm{1}^\intercal / N)}\). This reparameterization yields \[\min_{\mathbf{Z}} \;\;\;\; \trace{\mathbf{Z}^\intercal \mathbf{Y}^\intercal \mathbf{L} \mathbf{Y} \mathbf{Z}} \;\;\;\; \text{s.t.} \;\;\;\; \mathbf{Z}^\intercal \mathbf{Y}^\intercal \mathbf{D} \mathbf{Y} \mathbf{Z} = \mathbf{I}.\] Define \(\mathbf{Q} \in \mathbb{R}^{N-r \times N-r}\) such that \(\mathbf{Q}^2 = \mathbf{Y}^\intercal \mathbf{D} \mathbf{Y}\). Note that \(\mathbf{Q}\) exists as the entries of \(\mathbf{D}\) are non-negative Let \(\mathbf{V} = \mathbf{Q} \mathbf{Z}\). Then, \(\mathbf{Z} = \mathbf{Q}^{-1} \mathbf{V}\) and \(\mathbf{Z}^\intercal \mathbf{Q}^2 \mathbf{Z} = \mathbf{V}^\intercal \mathbf{V}\) as \(\mathbf{Q}\) is symmetric. Reparameterizing again, we get: \[\min_{\mathbf{V}} \;\;\;\; \trace{\mathbf{V}^\intercal \mathbf{Q}^{-1} \mathbf{Y}^\intercal \mathbf{L} \mathbf{Y} \mathbf{Q}^{-1} \mathbf{V}} \;\;\;\; \text{s.t.} \;\;\;\; \mathbf{V}^\intercal \mathbf{V} = \mathbf{I}.\] This again is the standard form of the trace minimization problem and the optimal solution is given by the leading \(K\) eigenvectors of \(\mathbf{Q}^{-1} \mathbf{Y}^\intercal \mathbf{L} \mathbf{Y} \mathbf{Q}^{-1}\). Algorithm [\[alg:nrepsc\]](#alg:nrepsc){reference-type="ref" reference="alg:nrepsc"} summarizes the normalized representation-aware spectral clustering algorithm, which we denote by [NRepSC]{.smallcaps}. Note that the algorithm assumes that \(\mathbf{Q}\) is invertible, which requires the absence of isolated nodes in the similarity graph \(\mathcal{G}\).
The similarity graphs sampled from a \(\mathcal{R}\)-SBM have two interesting properties. First, everything else being equal, nodes have a higher tendency to connect with other nodes in the same cluster as \(p \geq q\) and \(r \geq s\). Thus, \(\mathcal{R}\)-SBM plants the clusters specified by \(\pi\) in the sampled graph \(\mathcal{G}\). Second, and more importantly, \(\mathcal{R}\)-SBM also plants the properties of the given representation graph \(\mathcal{R}\) in the sampled graphs \(\mathcal{G}\). To see this, note that nodes that are connected in \(\mathcal{R}\) have a higher probability of being connected in \(\mathcal{G}\) as well (\(p \geq r\) and \(q \geq s\)). Recall that our algorithms must discover clusters in \(\mathcal{G}\) in which the connected nodes in \(\mathcal{R}\) are proportionally distributed. However, \(\mathcal{R}\)-SBM makes two nodes connected in \(\mathcal{R}\) more likely to connect in \(\mathcal{G}\), even if they do not belong to the same cluster (\(q \geq r\)). In this sense, graphs sampled from \(\mathcal{R}\)-SBM are "hard" instances from the perspective of our algorithms. When \(\mathcal{R}\) itself has a community structure, there are two natural ways to cluster the nodes: **(i)** based on the ground-truth clusters \(\mathcal{C}_1\), \(\mathcal{C}_2\), ..., \(\mathcal{C}_K\) specified by \(\pi\); and **(ii)** based on the communities in \(\mathcal{R}\). The clusters based on communities in \(\mathcal{R}\) are likely to not satisfy the representation constraint in Definition [\[def:representation_constraint\]](#def:representation_constraint){reference-type="ref" reference="def:representation_constraint"} as tightly connected nodes in \(\mathcal{R}\) will be assigned to the same cluster in this case rather than being distributed across clusters. We show in Section [4.2](#section:consistency_results){reference-type="ref" reference="section:consistency_results"} that, under certain assumptions on \(\mathcal{R}\), the ground-truth clusters can be constructed so that they satisfy the representation constraint [\[eq:representation_constraint\]](#eq:representation_constraint){reference-type="eqref" reference="eq:representation_constraint"}. Assuming that the ground-truth clusters indeed satisfy [\[eq:representation_constraint\]](#eq:representation_constraint){reference-type="eqref" reference="eq:representation_constraint"}, the goal is to show that Algorithms [\[alg:urepsc\]](#alg:urepsc){reference-type="ref" reference="alg:urepsc"} and [\[alg:nrepsc\]](#alg:nrepsc){reference-type="ref" reference="alg:nrepsc"} recover the ground-truth clusters with high probability rather than returning any other natural but "representation-unaware" clusters.
## Consistency results {#section:consistency_results}
As noted in Section [3.1](#section:constraint){reference-type="ref" reference="section:constraint"}, some representation graphs lead to constraints that cannot be satisfied. For our theoretical analysis, we restrict our focus to cases where the constraint in [\[eq:representation_constraint\]](#eq:representation_constraint){reference-type="eqref" reference="eq:representation_constraint"} is feasible. Towards this end, an additional assumption on \(\mathcal{R}\) is required.
Assumption [\[assumption:R_is_d\_regular\]](#assumption:R_is_d_regular){reference-type="ref" reference="assumption:R_is_d_regular"} ensures the existence of a \(\pi\) for which the corresponding ground-truth clusters satisfy the representation constraint in [\[eq:representation_constraint\]](#eq:representation_constraint){reference-type="eqref" reference="eq:representation_constraint"}. Namely, assuming equal-sized clusters, let \(\pi(v_i) = k\), if \((k-1) \frac{N}{K} \leq i \leq k \frac{N}{K}\) for all \(i \in [N]\), and \(k \in [K]\). It can be easily verified that the resulting clusters \(\mathcal{C}_k = \{v_i: \pi(v_i) = k \}\), \(k \in [K]\) satisfy [\[eq:representation_constraint\]](#eq:representation_constraint){reference-type="eqref" reference="eq:representation_constraint"}. Before presenting our main results, we need to set up additional notation. Let \(\bm{\Theta} \in \{0, 1\}^{N \times K}\) indicate the ground-truth cluster memberships, i.e., \(\Theta_{ij} = 1 \Leftrightarrow v_i \in \mathcal{C}_j\). Similarly, \(\hat{\bm{\Theta}} \in \{0, 1\}^{N \times K}\) indicates the clusters returned by the algorithm, i.e., \(\hat{\Theta}_{ij} = 1 \Leftrightarrow v_i \in \hat{\mathcal{C}}_j\). Further, let \(\mathcal{J}\) be the set of all \(K \times K\) permutation matrices. The fraction of misclustered nodes is defined as \[M(\bm{\Theta}, \hat{\bm{\Theta}}) = \min_{\mathbf{J} \in \mathcal{J}} \frac{1}{N} \norm{\bm{\Theta}-\hat{\bm{\Theta}} \mathbf{J}}[0].\] As the ground truth clusters \(\mathcal{C}_1, \dots, \mathcal{C}_K\) satisfy [\[eq:representation_constraint\]](#eq:representation_constraint){reference-type="eqref" reference="eq:representation_constraint"} by construction, a low \(M(\bm{\Theta}, \hat{\bm{\Theta}})\) indicates that the clusters returned by the algorithm approximately satisfy [\[eq:representation_constraint\]](#eq:representation_constraint){reference-type="eqref" reference="eq:representation_constraint"}. Theorems [\[theorem:consistency_result_unnormalized\]](#theorem:consistency_result_unnormalized){reference-type="ref" reference="theorem:consistency_result_unnormalized"} and [\[theorem:consistency_result_normalized\]](#theorem:consistency_result_normalized){reference-type="ref" reference="theorem:consistency_result_normalized"} also use the eigenvalues of the Laplacian matrix in the expected case. We use \(\mathcal{L}\) to denote this matrix, and define it as \(\mathcal{L} = \mathcal{D}-\mathcal{A}\), where \(\mathcal{A} = \mathrm{E}[\mathbf{A}]\) is the expected adjacency matrix of a graph sampled from \(\mathcal{R}\)-SBM and \(\mathcal{D} \in \mathbb{R}^{N \times N}\) is a diagonal matrix such that \(\mathcal{D}_{ii} = \sum_{j = 1}^N \mathcal{A}_{ij}\), for all \(i \in [N]\). The next two results establish high-probability upper bounds on the fraction of misclustered nodes for [URepSC]{.smallcaps} and [NRepSC]{.smallcaps} for similarity graphs \(\mathcal{G}\) sampled from \(\mathcal{R}\)-SBM.
Next, we discuss our assumptions and use the error bounds above to establish the weak consistency of our algorithms.
## Discussion {#section:discussion}
Note that \(\mathbf{I}-\bm{1} \bm{1}^\intercal / N\) is a projection matrix and \(\bm{1}\) is its eigenvector with eigenvalue \(0\). Any vector orthogonal to \(\bm{1}\) is also an eigenvector with eigenvalue \(1\). Thus, \(\rank{\mathbf{I}-\bm{1} \bm{1}^\intercal / N} = N-1\). Because \(\rank{\mathbf{R} (\mathbf{I}-\bm{1} \bm{1}^\intercal / N)} \leq \min(\rank{\mathbf{R}}, \rank{\mathbf{I}-\bm{1} \bm{1}^\intercal / N})\), requiring \(\rank{\mathbf{R}} \leq N-K\) ensures that \(\rank{\mathbf{R}(\mathbf{I}-\bm{1} \bm{1}^\intercal / N)} \leq N-K\), which is necessary for [\[eq:optimization_problem\]](#eq:optimization_problem){reference-type="eqref" reference="eq:optimization_problem"} and [\[eq:optimization_problem_normalized\]](#eq:optimization_problem_normalized){reference-type="eqref" reference="eq:optimization_problem_normalized"} to have a solution. The assumption on the size of the clusters, together with the \(d\)-regularity assumption on \(\mathcal{R}\), allows us to compute the smallest \(K\) eigenvalues of the Laplacian matrix in the expected case. This is a crucial step in the proof of our main consistency results. The additional assumptions in Theorem [\[theorem:consistency_result_normalized\]](#theorem:consistency_result_normalized){reference-type="ref" reference="theorem:consistency_result_normalized"} are easy to satisfy as \(\lambda_1\) scales linearly with \(N\) for appropriate values of \(p, q, r,\) and \(s\). Similar assumptions were also used in.
The next two corollaries are direct consequences of Theorems [\[theorem:consistency_result_unnormalized\]](#theorem:consistency_result_unnormalized){reference-type="ref" reference="theorem:consistency_result_unnormalized"} and [\[theorem:consistency_result_normalized\]](#theorem:consistency_result_normalized){reference-type="ref" reference="theorem:consistency_result_normalized"}, respectively.
Thus, under the assumptions in the corollaries above, Algorithms [\[alg:urepsc\]](#alg:urepsc){reference-type="ref" reference="alg:urepsc"} and [\[alg:nrepsc\]](#alg:nrepsc){reference-type="ref" reference="alg:nrepsc"} are weakly consistent. The conditions on \(\gamma\) are satisfied in many interesting cases. For example, when there are \(P\) protected groups, as is the case for statistical-level constraints, the equivalent representation graph has \(P\) cliques that are not connected to each other (see Appendix [7](#appendix:constraint){reference-type="ref" reference="appendix:constraint"}). show that \(\gamma = \theta(N/K)\) in this case (for the unnormalized variant), which satisfies the criterion given above if \(K\) is not too large. Finally, Theorems [\[theorem:consistency_result_unnormalized\]](#theorem:consistency_result_unnormalized){reference-type="ref" reference="theorem:consistency_result_unnormalized"} and [\[theorem:consistency_result_normalized\]](#theorem:consistency_result_normalized){reference-type="ref" reference="theorem:consistency_result_normalized"} require a \((1 + \epsilon)\)-approximate solution to \(k\)-means clustering. Several efficient algorithms have been proposed in the literature for this task. Such algorithms are also available in commonly used software packages like MATLAB and scikit-learn. The assumption that \(p \geq C \ln N / N\) controls the sparsity of the graph, and is required in the the consistency proofs for standard spectral clustering as well.
## Proof of Theorems [\[theorem:consistency_result_unnormalized\]](#theorem:consistency_result_unnormalized){reference-type="ref" reference="theorem:consistency_result_unnormalized"} and [\[theorem:consistency_result_normalized\]](#theorem:consistency_result_normalized){reference-type="ref" reference="theorem:consistency_result_normalized"} {#section:proof_of_theorems}
The proof of Theorems [\[theorem:consistency_result_unnormalized\]](#theorem:consistency_result_unnormalized){reference-type="ref" reference="theorem:consistency_result_unnormalized"} and [\[theorem:consistency_result_normalized\]](#theorem:consistency_result_normalized){reference-type="ref" reference="theorem:consistency_result_normalized"} follow the commonly used template for such results. In the context of [URepSC]{.smallcaps} (similar arguments work for [NRepSC]{.smallcaps} as well), we
1. Compute the expected Laplacian matrix \(\mathcal{L}\) under \(\mathcal{R}\)-SBM and show that its top \(K\) eigenvectors can be used to recover the ground-truth clusters (Lemmas [\[lemma:introducing_uks\]](#lemma:introducing_uks){reference-type="ref" reference="lemma:introducing_uks"}--[\[lemma:orthonormal_eigenvectors_y2_yK\]](#lemma:orthonormal_eigenvectors_y2_yK){reference-type="ref" reference="lemma:orthonormal_eigenvectors_y2_yK"}).
2. Show that these top \(K\) eigenvectors lie in the null space of \(\mathbf{R}(\mathbf{I}-\bm{1} \bm{1}^\intercal / N)\), and hence are also the top \(K\) eigenvectors of \(\mathbf{Y}^\intercal \mathcal{L} \mathbf{Y}\) (Lemma [\[lemma:first_K\_eigenvectors_of_L\]](#lemma:first_K_eigenvectors_of_L){reference-type="ref" reference="lemma:first_K_eigenvectors_of_L"}). This implies that Algorithm [\[alg:urepsc\]](#alg:urepsc){reference-type="ref" reference="alg:urepsc"} returns the ground truth clusters in the expected case.
3. Use matrix perturbation arguments to establish a high probability mistake bound in the general case when the graph \(\mathcal{G}\) is sampled from a \(\mathcal{R}\)-SBM (Lemmas [\[lemma:bound_on_D-calD\]](#lemma:bound_on_D-calD){reference-type="ref" reference="lemma:bound_on_D-calD"}--[\[lemma:k_means_error\]](#lemma:k_means_error){reference-type="ref" reference="lemma:k_means_error"}).
We begin with a series of lemmas that highlight certain useful properties of eigenvalues and eigenvectors of the expected Laplacian \(\mathcal{L}\). These lemmas will be used in Sections [4.4.1](#section:proof_consistency_unnormalized){reference-type="ref" reference="section:proof_consistency_unnormalized"} and [4.4.2](#section:proof_consistency_normalized){reference-type="ref" reference="section:proof_consistency_normalized"} to prove Theorem [\[theorem:consistency_result_unnormalized\]](#theorem:consistency_result_unnormalized){reference-type="ref" reference="theorem:consistency_result_unnormalized"} and [\[theorem:consistency_result_normalized\]](#theorem:consistency_result_normalized){reference-type="ref" reference="theorem:consistency_result_normalized"}, respectively. See the supplementary material for the proofs of all technical lemmas. For the remainder of this section, we assume that all appropriate assumptions made in Theorems [\[theorem:consistency_result_unnormalized\]](#theorem:consistency_result_unnormalized){reference-type="ref" reference="theorem:consistency_result_unnormalized"} and [\[theorem:consistency_result_normalized\]](#theorem:consistency_result_normalized){reference-type="ref" reference="theorem:consistency_result_normalized"} are satisfied. The first lemma shows that certain vectors that can be used to recover the ground-truth clusters indeed satisfy the representation constraint in [\[eq:matrix_fairness_criteria\]](#eq:matrix_fairness_criteria){reference-type="eqref" reference="eq:matrix_fairness_criteria"} and [\[eq:normalized_matrix_fairness_criteria\]](#eq:normalized_matrix_fairness_criteria){reference-type="eqref" reference="eq:normalized_matrix_fairness_criteria"}.
Recall that we use \(\mathcal{A} \in \mathbb{R}^{N \times N}\) to denote the expected adjacency matrix of the similarity graph \(\mathcal{G}\). Clearly, \(\mathcal{A} = \tilde{\mathcal{A}}-p \mathbf{I}\), where \(\tilde{\mathcal{A}}\) is such that \(\tilde{\mathcal{A}}_{ij} = P(A_{ij} = 1)\) if \(i \neq j\) (see [\[eq:sbm_specification\]](#eq:sbm_specification){reference-type="eqref" reference="eq:sbm_specification"}) and \(\tilde{\mathcal{A}}_{ii} = p\) otherwise. Note that \[\label{eq:eigenvector_A_tildeA} \tilde{\mathcal{A}} \mathbf{x} = \lambda \mathbf{x} \,\,\,\, \Leftrightarrow \,\,\,\, \mathcal{A} \mathbf{x} = (\lambda-p) \mathbf{x}.\] Simple algebra shows that \(\tilde{\mathcal{A}}\) can be written as \[\label{eq:tilde_cal_A_def} \tilde{\mathcal{A}} = q \mathbf{R} + s (\bm{1} \bm{1}^\intercal-\mathbf{R}) + (p-q)\sum_{k = 1}^K \mathbf{G}_k \mathbf{R} \mathbf{G}_k + (r-s) \sum_{k = 1}^K \mathbf{G}_k (\bm{1} \bm{1}^\intercal-\mathbf{R}) \mathbf{G}_k,\] where, for all \(k \in [K]\), \(\mathbf{G}_k \in \mathbb{R}^{N \times N}\) is a diagonal matrix such that \((\mathbf{G}_k)_{ii} = 1\) if \(v_i \in \mathcal{C}_k\) and \(0\) otherwise. The next lemma shows that \(\bm{1}, \mathbf{u}_1, \dots, \mathbf{u}_{K-1}\) defined in Lemma [\[lemma:introducing_uks\]](#lemma:introducing_uks){reference-type="ref" reference="lemma:introducing_uks"} are eigenvectors of \(\tilde{\mathcal{A}}\).
Let \(\mathcal{L} = \mathcal{D}-\mathcal{A}\) be the expected Laplacian matrix, where \(\mathcal{D}\) is a diagonal matrix with \(\mathcal{D}_{ii} = \sum_{j=1}^N \mathcal{A}_{ij}\) for all \(i \in [N]\). It is easy to see that \(\mathcal{D}_{ii} = \lambda_1-p\) for all \(i \in [N]\) as \(\mathcal{A} \bm{1} = (\lambda_1-p) \bm{1}\) by [\[eq:eigenvector_A\_tildeA\]](#eq:eigenvector_A_tildeA){reference-type="eqref" reference="eq:eigenvector_A_tildeA"} and Lemma [\[lemma:uk_eigenvector_of_tildeA\]](#lemma:uk_eigenvector_of_tildeA){reference-type="ref" reference="lemma:uk_eigenvector_of_tildeA"}. Thus, \(\mathcal{D} = (\lambda_1-p) \mathbf{I}\) and hence any eigenvector of \(\tilde{\mathcal{A}}\) with eigenvalue \(\lambda\) is also an eigenvector of \(\mathcal{L}\) with eigenvalue \(\lambda_1-\lambda\). That is, if \(\tilde{\mathcal{A}} \mathbf{x} = \lambda \mathbf{x}\), \[\label{eq:eigenvectors_of_L} \mathcal{L} \mathbf{x} = (\mathcal{D}-\mathcal{A})\mathbf{x} = ((\lambda_1-p) \mathbf{I}-(\tilde{\mathcal{A}}-p \mathbf{I})) \mathbf{x} = (\lambda_1-\lambda) \mathbf{x}.\] Hence, the eigenvectors of \(\mathcal{L}\) corresponding to the \(K\) smallest eigenvalues are the same as the eigenvectors of \(\tilde{\mathcal{A}}\) corresponding to the \(K\) largest eigenvalues. Recall that the columns of the matrix \(\mathbf{Y}\) used in Algorithms [\[alg:urepsc\]](#alg:urepsc){reference-type="ref" reference="alg:urepsc"} and [\[alg:nrepsc\]](#alg:nrepsc){reference-type="ref" reference="alg:nrepsc"} contain the orthonormal basis for the null space of \(\mathbf{R}(\mathbf{I}-\bm{1} \bm{1}^\intercal/N)\). To solve [\[eq:optimization_problem\]](#eq:optimization_problem){reference-type="eqref" reference="eq:optimization_problem"} and [\[eq:optimization_problem_normalized\]](#eq:optimization_problem_normalized){reference-type="eqref" reference="eq:optimization_problem_normalized"}, we only need to optimize over vectors that belong to this null space. By Lemma [\[lemma:introducing_uks\]](#lemma:introducing_uks){reference-type="ref" reference="lemma:introducing_uks"}, \(\bm{1}, \mathbf{u}_1, \dots, \mathbf{u}_{K-1} \in \nullspace{\mathbf{R}(\mathbf{I}-\bm{1} \bm{1}^\intercal/N)}\) and these vectors are linearly independent. However, we need an orthonormal basis to compute \(\mathbf{Y}\). Let \(\mathbf{y}_1 = \bm{1} / \sqrt{N}\) and \(\mathbf{y}_2, \dots, \mathbf{y}_K\) be orthonormal vectors that span the same space as \(\mathbf{u}_1, \dots, \mathbf{u}_{K-1}\). The next lemma computes such \(\mathbf{y}_2, \dots, \mathbf{y}_K\). The matrix \(\mathbf{Y} \in \mathbb{R}^{N \times N-r}\) contains these vectors \(\mathbf{y}_1, \dots, \mathbf{y}_K\) as its first \(K\) columns.
Let \(\mathbf{X} \in \mathbb{R}^{N \times K}\) be such that it has \(\mathbf{y}_1, \dots, \mathbf{y}_{K}\) as its columns. If two nodes belong to the same cluster, the rows corresponding to these nodes in \(\mathbf{X} \mathbf{U}\) will be identical for any \(\mathbf{U} \in \mathbb{R}^{K \times K}\) such that \(\mathbf{U}^\intercal \mathbf{U} = \mathbf{U} \mathbf{U}^\intercal = \mathbf{I}\). Thus, any \(K\) orthonormal vectors belonging to the span of \(\mathbf{y}_1, \dots, \mathbf{y}_K\) can be used to recover the ground truth clusters. With the general properties of the eigenvectors and eigenvalues established in the lemmas above, we next move on to the proof of Theorem [\[theorem:consistency_result_unnormalized\]](#theorem:consistency_result_unnormalized){reference-type="ref" reference="theorem:consistency_result_unnormalized"} in the next section and Theorem [\[theorem:consistency_result_normalized\]](#theorem:consistency_result_normalized){reference-type="ref" reference="theorem:consistency_result_normalized"} in Section [4.4.2](#section:proof_consistency_normalized){reference-type="ref" reference="section:proof_consistency_normalized"}.
### Proof of Theorem [\[theorem:consistency_result_unnormalized\]](#theorem:consistency_result_unnormalized){reference-type="ref" reference="theorem:consistency_result_unnormalized"} {#section:proof_consistency_unnormalized}
Let \(\mathcal{Z} \in \mathbb{R}^{N-r \times K}\) be a solution to the optimization problem [\[eq:optimization_problem\]](#eq:optimization_problem){reference-type="eqref" reference="eq:optimization_problem"} in the expected case with \(\mathcal{A}\) as input. The next lemma shows that columns of \(\mathbf{Y} \mathcal{Z}\) indeed lie in the span of \(\mathbf{y}_1, \dots, \mathbf{y}_K\). Thus, the \(k\)-means clustering step in Algorithm [\[alg:urepsc\]](#alg:urepsc){reference-type="ref" reference="alg:urepsc"} will return the correct ground truth clusters when \(\mathcal{A}\) is passed as input.
Next, we use arguments from matrix perturbation theory to show a high-probability bound on the number of mistakes made by the algorithm. In particular, we need an upper bound on \(\norm{\mathbf{Y}^\intercal \mathbf{L} \mathbf{Y}-\mathbf{Y}^\intercal \mathcal{L} \mathbf{Y}}\), where \(\mathbf{L}\) is the Laplacian matrix for a graph randomly sampled from \(\mathcal{R}\)-SBM and \(\norm{\mathbf{P}} = \sqrt{\lambdamax{\mathbf{P}^\intercal \mathbf{P}}}\) for any matrix \(\mathbf{P}\). Note that \(\norm{\mathbf{Y}} = \norm{\mathbf{Y}^\intercal} = 1\) as \(\mathbf{Y}^\intercal \mathbf{Y} = \mathbf{I}\). Thus, \[\label{eq:reducing_YLY_to_L} \norm{\mathbf{Y}^\intercal \mathbf{L} \mathbf{Y}-\mathbf{Y}^\intercal \mathcal{L} \mathbf{Y}} \leq \norm{\mathbf{Y}^\intercal} \,\, \norm{\mathbf{L}-\mathcal{L}} \,\, \norm{\mathbf{Y}} = \norm{\mathbf{L}-\mathcal{L}}.\] Moreover, \[\norm{\mathbf{L}-\mathcal{L}} = \norm{\mathbf{D}-\mathbf{A}-(\mathcal{D}-\mathcal{A})} \leq \norm{\mathbf{D}-\mathcal{D}} + \norm{\mathbf{A}-\mathcal{A}}.\] The next two lemmas bound the two terms on the right hand side of the inequality above, thus providing an upper bound on \(\norm{\mathbf{L}-\mathcal{L}}\), and hence on \(\norm{\mathbf{Y}^\intercal \mathbf{L} \mathbf{Y}-\mathbf{Y}^\intercal \mathcal{L} \mathbf{Y}}\) by [\[eq:reducing_YLY_to_L\]](#eq:reducing_YLY_to_L){reference-type="eqref" reference="eq:reducing_YLY_to_L"}.
From Lemmas [\[lemma:bound_on_D-calD\]](#lemma:bound_on_D-calD){reference-type="ref" reference="lemma:bound_on_D-calD"} and [\[lemma:bound_on_A-calA\]](#lemma:bound_on_A-calA){reference-type="ref" reference="lemma:bound_on_A-calA"}, we conclude that there is always a constant \(\mathrm{const}_3(C, \alpha) = \max\{\mathrm{const}_1(C, \alpha), \mathrm{const}_2(C, \alpha)\}\) such that, for any \(\alpha > 0\), with probability at least \(1-2N^{-\alpha}\), \[\label{eq:L-calL_bound} \norm{\mathbf{Y}^\intercal \mathbf{L} \mathbf{Y}-\mathbf{Y}^\intercal \mathcal{L} \mathbf{Y}} \leq \norm{\mathbf{L}-\mathcal{L}} \leq \mathrm{const}_3(C, \alpha) \sqrt{p N \ln N}.\] Let \(\mathcal{Z}\) and \(\mathbf{Z}\) denote the optimal solution of [\[eq:optimization_problem\]](#eq:optimization_problem){reference-type="eqref" reference="eq:optimization_problem"} in the expected (\(\mathbf{L}\) replaced with \(\mathcal{L}\)) and observed case. We use [\[eq:L-calL_bound\]](#eq:L-calL_bound){reference-type="eqref" reference="eq:L-calL_bound"} to show a bound on \(\norm{\mathbf{Y} \mathcal{Z}-\mathbf{Y} Z}[F]\) in Lemma [\[lemma:bound_on_eigenvector_diff\]](#lemma:bound_on_eigenvector_diff){reference-type="ref" reference="lemma:bound_on_eigenvector_diff"} and then use this bound to argue that Algorithm [\[alg:urepsc\]](#alg:urepsc){reference-type="ref" reference="alg:urepsc"} makes a small number of mistakes when the graph is sampled from \(\mathcal{R}\)-SBM.
Recall that \(\mathbf{X} \in \mathbb{R}^{N \times K}\) is a matrix that contains \(\mathbf{y}_1, \dots, \mathbf{y}_K\) as its columns. Let \(\mathbf{x}_i\) denote the \(i^{th}\) row of \(\mathbf{X}\). Simple calculation using Lemma [\[lemma:orthonormal_eigenvectors_y2_yK\]](#lemma:orthonormal_eigenvectors_y2_yK){reference-type="ref" reference="lemma:orthonormal_eigenvectors_y2_yK"} shows that, \[\norm{\mathbf{x}_i-\mathbf{x}_j}[2] = \begin{cases} 0 & \text{ if }v_i \text{ and }v_j \text{ belong to the same cluster} \\ \sqrt{\frac{2K}{N}} & \text{ otherwise.} \end{cases}\] By Lemma [\[lemma:first_K\_eigenvectors_of_L\]](#lemma:first_K_eigenvectors_of_L){reference-type="ref" reference="lemma:first_K_eigenvectors_of_L"}, \(\mathcal{Z}\) can be chosen such that \(\mathbf{Y} \mathcal{Z} = \mathbf{X}\). Let \(\mathbf{U}\) be the matrix that solves \(\inf_{\mathbf{U} \in \mathbb{R}^{K \times K}: \mathbf{U}\bfU^\intercal = \mathbf{U}^\intercal \mathbf{U} = \mathbf{I}} \norm{\mathbf{Y} \mathcal{Z}-\mathbf{Y} \mathbf{Z} \mathbf{U}}[F]\). As \(\mathbf{U}\) is orthogonal, \(\norm{\mathbf{x}_i^\intercal \mathbf{U}-\mathbf{x}_j^\intercal \mathbf{U}}[2] = \norm{\mathbf{x}_i-\mathbf{x}_j}[2]\). The following lemma is a direct consequence of Lemma 5.3 in.
By the definition of \(M(\bm{\Theta}, \hat{\bm{\Theta}})\), for the matrix \(\mathbf{J}\) used in Lemma [\[lemma:k_means_error\]](#lemma:k_means_error){reference-type="ref" reference="lemma:k_means_error"}, \(M(\bm{\Theta}, \hat{\bm{\Theta}}) \leq \frac{1}{N} \norm{\bm{\Theta}-\hat{\bm{\Theta}} \mathbf{J}}[0]\). But, according to Lemma [\[lemma:k_means_error\]](#lemma:k_means_error){reference-type="ref" reference="lemma:k_means_error"}, \(\norm{\bm{\Theta}-\hat{\bm{\Theta}} \mathbf{J}}[0] \leq 2 \sum_{k = 1}^K \abs{S_k}\). Using Lemma [\[lemma:bound_on_eigenvector_diff\]](#lemma:bound_on_eigenvector_diff){reference-type="ref" reference="lemma:bound_on_eigenvector_diff"} and [\[lemma:k_means_error\]](#lemma:k_means_error){reference-type="ref" reference="lemma:k_means_error"}, we get: \[\begin{aligned}
M(\bm{\Theta}, \hat{\bm{\Theta}}) \leq \frac{1}{N} \norm{\bm{\Theta}-\hat{\bm{\Theta}} \mathbf{J}}[0] \leq \frac{2}{N} \sum_{k = 1}^K \abs{S_k} &\leq& \frac{16(2 + \epsilon)}{N \delta^2} \norm{\mathbf{X} \mathbf{U}^\intercal-\mathbf{Y} \mathbf{Z}}[F][2] \\ &\leq& \mathrm{const}_3(C, \alpha)^2 \frac{512(2 + \epsilon)}{N \delta^2 \gamma^2} p N K \ln N. \end{aligned}\] Noting that \(\delta = \sqrt{\frac{2K}{N}}\) and setting \(\mathrm{const}(C, \alpha) = 256 \times \mathrm{const}_3(C, \alpha)^2\) finishes the proof.
### Proof of Theorem [\[theorem:consistency_result_normalized\]](#theorem:consistency_result_normalized){reference-type="ref" reference="theorem:consistency_result_normalized"} {#section:proof_consistency_normalized}
Recall that \(\mathbf{Q} = \sqrt{\mathbf{Y}^\intercal \mathbf{D} \mathbf{Y}}\) and analogously define \(\mathcal{Q} = \sqrt{\mathbf{Y}^\intercal \mathcal{D} \mathbf{Y}}\), where \(\mathcal{D}\) is the expected degree matrix. It was shown after Lemma [\[lemma:uk_eigenvector_of_tildeA\]](#lemma:uk_eigenvector_of_tildeA){reference-type="ref" reference="lemma:uk_eigenvector_of_tildeA"} that \(\mathcal{D} = (\lambda_1-p) \mathbf{I}\). Thus, \(\mathcal{Q} = \sqrt{\lambda_1-p} \;\mathbf{I}\) as \(\mathbf{Y}^\intercal \mathbf{Y} = \mathbf{I}\). Hence \(\mathcal{Q}^{-1} \mathbf{Y}^\intercal \mathcal{L} \mathbf{Y} \mathcal{Q}^{-1} = \frac{1}{\lambda_1-p} \mathbf{Y}^\intercal \mathcal{L} \mathbf{Y}\). Therefore, \(\mathcal{Q}^{-1} \mathbf{Y}^\intercal \mathcal{L} \mathbf{Y} \mathcal{Q}^{-1} \mathbf{x} = \frac{\lambda}{\lambda_1-p} \mathbf{x} \; \Longleftrightarrow \; \mathbf{Y}^\intercal \mathcal{L} \mathbf{Y} \mathbf{x} = \lambda \mathbf{x}\). Let \(\mathcal{Z} \in \mathbb{R}^{N-r \times K}\) contain the leading \(K\) eigenvectors of \(\mathcal{Q}^{-1} \mathbf{Y}^\intercal \mathcal{L} \mathbf{Y} \mathcal{Q}^{-1}\) as its columns. Algorithm [\[alg:nrepsc\]](#alg:nrepsc){reference-type="ref" reference="alg:nrepsc"} will cluster the rows of \(\mathbf{Y} \mathcal{Q}^{-1} \mathcal{Z}\) to recover the clusters in the expected case. As \(\mathcal{Q}^{-1} =\frac{1}{\sqrt{\lambda_1-p}} \mathbf{I}\), we have \(\mathbf{Y} \mathcal{Q}^{-1} \mathcal{Z} = \frac{1}{\sqrt{\lambda_1-p}} \mathbf{Y} \mathcal{Z}\). By Lemma [\[lemma:first_K\_eigenvectors_of_L\]](#lemma:first_K_eigenvectors_of_L){reference-type="ref" reference="lemma:first_K_eigenvectors_of_L"}, \(\mathcal{Z}\) can always be chosen such that \(\mathbf{Y} \mathcal{Z} = \mathbf{X}\), where recall that \(\mathbf{X} \in \mathbb{R}^{N \times K}\) has \(\mathbf{y}_1, \dots, \mathbf{y}_K\) as its columns. Because the rows of \(\mathbf{X}\) are identical for nodes that belong to the same cluster, Algorithm [\[alg:nrepsc\]](#alg:nrepsc){reference-type="ref" reference="alg:nrepsc"} returns the correct ground truth clusters in the expected case. To bound the number of mistakes made by Algorithm [\[alg:nrepsc\]](#alg:nrepsc){reference-type="ref" reference="alg:nrepsc"}, we show that \(\mathbf{Y} \mathbf{Q}^{-1} \mathbf{Z}\) is close to \(\mathbf{Y} \mathcal{Q}^{-1} \mathcal{Z}\). Here, \(\mathbf{Z} \in \mathbb{R}^{N-r \times K}\) contains the top \(K\) eigenvectors of \(\mathbf{Q}^{-1} \mathbf{Y}^\intercal \mathbf{L} \mathbf{Y} \mathbf{Q}^{-1}\). As in the proof of Lemma [\[lemma:bound_on_eigenvector_diff\]](#lemma:bound_on_eigenvector_diff){reference-type="ref" reference="lemma:bound_on_eigenvector_diff"}, we use Davis-Kahan theorem to bound this difference. This requires us to compute \(\norm{\mathcal{Q}^{-1} \mathbf{Y}^\intercal \mathcal{L} \mathbf{Y} \mathcal{Q}^{-1}-\mathbf{Q}^{-1} \mathbf{Y}^\intercal \mathbf{L} \mathbf{Y} \mathbf{Q}^{-1}}\). Note that: \[\begin{aligned}
\norm{\mathcal{Q}^{-1} \mathbf{Y}^\intercal \mathcal{L} \mathbf{Y} \mathcal{Q}^{-1}-\mathbf{Q}^{-1} \mathbf{Y}^\intercal \mathbf{L} \mathbf{Y} \mathbf{Q}^{-1}} = &\norm{\mathcal{Q}^{-1}-\mathbf{Q}^{-1}} \cdot \norm{\mathbf{Y}^\intercal \mathcal{L} \mathbf{Y}} \cdot \norm{\mathcal{Q}^{-1}} + \\ &\norm{\mathbf{Q}^{-1}} \cdot \norm{\mathbf{Y}^\intercal \mathcal{L} \mathbf{Y}-\mathbf{Y}^\intercal \mathbf{L} \mathbf{Y}} \cdot \norm{\mathcal{Q}^{-1}} + \\ &\norm{\mathbf{Q}^{-1}} \cdot \norm{\mathbf{Y}^\intercal \mathbf{L} \mathbf{Y}} \cdot \norm{\mathcal{Q}^{-1}-\mathbf{Q}^{-1}}. \end{aligned}\] We already have a bound on \(\norm{\mathbf{Y}^\intercal \mathcal{L} \mathbf{Y}-\mathbf{Y}^\intercal \mathbf{L} \mathbf{Y}}\) in [\[eq:L-calL_bound\]](#eq:L-calL_bound){reference-type="eqref" reference="eq:L-calL_bound"}. Also, note that \(\norm{\mathcal{Q}^{-1}} = \frac{1}{\sqrt{\lambda_1-p}}\) as \(\mathcal{Q}^{-1} = \frac{1}{\sqrt{\lambda_1-p}} \mathbf{I}\). Similarly, as \(\mathbf{Y}^\intercal \mathbf{Y} = \mathbf{I}\), \(\norm{\mathbf{Y}^\intercal \mathcal{L} \mathbf{Y}} \leq \norm{\mathcal{L}} = \lambda_1-\bar{\lambda}\), where \(\bar{\lambda} = \lambdamin{\tilde{\mathcal{A}}}\). Finally, \[\begin{aligned}
\norm{\mathbf{Q}^{-1}} &\leq \norm{\mathcal{Q}^{-1}-\mathbf{Q}^{-1}} + \norm{\mathcal{Q}^{-1}} = \norm{\mathcal{Q}^{-1}-\mathbf{Q}^{-1}} + \frac{1}{\sqrt{\lambda_1-p}} \text{, and} \\ \norm{\mathbf{Y}^\intercal \mathbf{L} \mathbf{Y}} &\leq \norm{\mathbf{Y}^\intercal \mathcal{L} \mathbf{Y}-\mathbf{Y}^\intercal \mathbf{L} \mathbf{Y}} + \norm{\mathbf{Y}^\intercal \mathcal{L} \mathbf{Y}} = \norm{\mathbf{Y}^\intercal \mathcal{L} \mathbf{Y}-\mathbf{Y}^\intercal \mathbf{L} \mathbf{Y}} + \lambda_1-\bar{\lambda}. \end{aligned}\] Thus, to compute a bound on \(\norm{\mathcal{Q}^{-1} \mathbf{Y}^\intercal \mathcal{L} \mathbf{Y} \mathcal{Q}^{-1}-\mathbf{Q}^{-1} \mathbf{Y}^\intercal \mathbf{L} \mathbf{Y} \mathbf{Q}^{-1}}\), we only need a bound on \(\norm{\mathcal{Q}^{-1}-\mathbf{Q}^{-1}}\). The next lemma provides this bound.
Using the lemma above with [\[eq:L-calL_bound\]](#eq:L-calL_bound){reference-type="eqref" reference="eq:L-calL_bound"}, we get \[\begin{aligned}
\label{eq:calQYcalLYcalQ-QYLYQ_bound} \begin{aligned} \norm{\mathcal{Q}^{-1} \mathbf{Y}^\intercal \mathcal{L} \mathbf{Y} \mathcal{Q}^{-1}-\mathbf{Q}^{-1} \mathbf{Y}^\intercal \mathbf{L} &\mathbf{Y} \mathbf{Q}^{-1}} \leq \frac{2(\lambda_1-\bar{\lambda})}{(\lambda_1-p)^2} \left[ \sqrt{2} + \frac{\norm{\mathbf{D}-\mathcal{D}}}{\lambda_1-p}\right] \norm{\mathbf{D}-\mathcal{D}} + \\ & \frac{\mathrm{const}_3(C, \alpha)}{\lambda_1-p} \left[\frac{2\sqrt{2} \norm{\mathbf{D}-\mathcal{D}}}{\lambda_1-p} + \frac{2 \norm{\mathbf{D}-\mathcal{D}}[][2]}{(\lambda_1-p)^2} + 1 \right] \sqrt{p N \ln N}. \end{aligned} \end{aligned}\] The next lemma uses the bound above to show that \(\mathbf{Y} \mathbf{Q}^{-1} \mathbf{Z}\) is close to \(\mathbf{Y} \mathcal{Q}^{-1} \mathcal{Z}\).
Recall that, by Lemma [\[lemma:first_K\_eigenvectors_of_L\]](#lemma:first_K_eigenvectors_of_L){reference-type="ref" reference="lemma:first_K_eigenvectors_of_L"}, \(\mathcal{Z}\) can always be chosen such that \(\mathbf{Y} \mathcal{Z} = \mathbf{X}\), where \(\mathbf{X}\) contains \(\mathbf{y}_1, \dots, \mathbf{y}_K\) as its columns. As \(\mathcal{Q}^{-1} = \frac{1}{\sqrt{\lambda_1-p}} \mathbf{I}\), one can show that: \[\norm{(\mathcal{Q}^{-1} \mathbf{X})_i-(\mathcal{Q}^{-1} \mathbf{X})_j}[2] = \begin{cases} 0 & \text{ if } v_i \text{ and } v_j \text{ belong to the same cluster} \\ \sqrt{\frac{2K}{N(\lambda_1-p)}} & \text{ otherwise.} \end{cases}\] Here, \((\mathcal{Q}^{-1} \mathbf{X})_i\) denotes the \(i^{th}\) row of the matrix \(\mathbf{Y} \mathcal{Q}^{-1} \mathcal{Z}\). Let \(\mathbf{U}\) be the matrix that solves \(\inf_{\mathbf{U} \in \mathbb{R}^{K \times K}: \mathbf{U}\bfU^\intercal = \mathbf{U}^\intercal \mathbf{U} = \mathbf{I}} \norm{\mathbf{Y} \mathcal{Q}^{-1} \mathcal{Z}-\mathbf{Y} \mathbf{Q}^{-1} \mathbf{Z} \mathbf{U}}[F]\). As \(\mathbf{U}\) is orthogonal, \(\norm{(\mathcal{Q}^{-1} \mathbf{X})_i^\intercal \mathbf{U}-(\mathcal{Q}^{-1} \mathbf{X})_j^\intercal \mathbf{U}}[2] = \norm{(\mathcal{Q}^{-1} \mathbf{X})_i-(\mathcal{Q}^{-1} \mathbf{X})_j}[2]\). As in the previous case, the following lemma is a direct consequence of Lemma 5.3 in.
The proof of Lemma [\[lemma:k_means_error_normalized\]](#lemma:k_means_error_normalized){reference-type="ref" reference="lemma:k_means_error_normalized"} is similar to that of Lemma [\[lemma:k_means_error\]](#lemma:k_means_error){reference-type="ref" reference="lemma:k_means_error"}, and has been omitted. The result follows by using a similar calculation as was done after Lemma [\[lemma:k_means_error\]](#lemma:k_means_error){reference-type="ref" reference="lemma:k_means_error"} in Section [4.4.1](#section:proof_consistency_unnormalized){reference-type="ref" reference="section:proof_consistency_unnormalized"}.
# Numerical Results {#section:numerical_results}
We perform three types of experiments. In the first two cases, we use synthetically generated data to validate our theoretical results using \(d\)-regular representation graphs (Section [5.1](#chapter:fairness:section:d_reg_experiments){reference-type="ref" reference="chapter:fairness:section:d_reg_experiments"}) and non-\(d\)-regular representation graphs (Section [5.2](#chapter:fairness:section:sbm_experiments){reference-type="ref" reference="chapter:fairness:section:sbm_experiments"}). In the third case, we demonstrate the effectiveness of the proposed algorithms on a real-world dataset (Section [5.3](#chapter:fairness:section:trade_experiments){reference-type="ref" reference="chapter:fairness:section:trade_experiments"}). Notably, our experiments in Sections [5.2](#chapter:fairness:section:sbm_experiments){reference-type="ref" reference="chapter:fairness:section:sbm_experiments"} and [5.3](#chapter:fairness:section:trade_experiments){reference-type="ref" reference="chapter:fairness:section:trade_experiments"} demonstrate that the \(d\)-regularity assumption on \(\mathcal{R}\) is not needed in practice. Before proceeding further, we mention two important details below: **(i)** How do we compare with the algorithms presented in ? and **(ii)** What do we do when the rank assumption on \(\mathcal{R}\) is not satisfied?
#### Comparison with {#comparison-with .unnumbered}
We refer to the algorithms proposed in as [UFairSC]{.smallcaps} and [NFairSC]{.smallcaps}, corresponding to the unnormalized and normalized fair spectral clustering, respectively. These algorithms assume that each node belongs to one of the \(P\) protected groups \(\mathcal{P}_1, \dots, \mathcal{P}_P \subseteq \mathcal{V}\) that are observed by the learner. Recall that these algorithms are special cases of our algorithms when \(\mathcal{R}\) is block diagonal (Section [3.1](#section:constraint){reference-type="ref" reference="section:constraint"}). To demonstrate the generality of our algorithms, we only experiment with representation graphs that are not of the form specified above. Naturally, [UFairSC]{.smallcaps} and [NFairSC]{.smallcaps} are not directly applicable in this setting. Nonetheless, to compare with these algorithms, we approximate the protected groups by clustering the nodes in \(\mathcal{R}\) using standard spectral clustering. Each discovered cluster is then treated as a protected group.
#### Approximate [URepSC]{.smallcaps} and [NRepSC]{.smallcaps} {#approximate-urepsc-and-nrepsc .unnumbered}
Recall that the rank assumption on \(\mathcal{R}\) requires \(\rank{\mathbf{R}} \leq N-K\). It is not possible to find \(K\) orthonormal eigenvectors in Algorithms [\[alg:urepsc\]](#alg:urepsc){reference-type="ref" reference="alg:urepsc"} and [\[alg:nrepsc\]](#alg:nrepsc){reference-type="ref" reference="alg:nrepsc"} if \(\mathbf{R}\) violates this assumption. Unlike other assumptions in our theoretical analysis, this assumption is necessary in practice. If a graph \(\mathcal{R}\) violates the rank assumption, we instead use the best rank \(R\) approximation of its adjacency matrix \(\mathbf{R}\) (\(R \leq N-K\)). This approximation does not have binary elements, but it works well in practice. Whenever this approximation is used, we refer to [URepSC]{.smallcaps} and [NRepSC]{.smallcaps} as [URepSC (approx.)]{.smallcaps} and [NRepSC (approx.)]{.smallcaps}, respectively.
## Experiments with \(d\)-regular representation graphs {#chapter:fairness:section:d_reg_experiments}
For these experiments, we sampled \(d\)-regular representation graphs using \(p=0.4\), \(q=0.3\), \(r=0.2\), and \(s=0.1\), for various values of \(d\), \(N\), and \(K\). We ensured that the sampled \(\mathcal{R}\) satisfies Assumption [\[assumption:R_is_d\_regular\]](#assumption:R_is_d_regular){reference-type="ref" reference="assumption:R_is_d_regular"} and \(\rank{\mathbf{R}} \leq N-k\). Further, the ground-truth clusters have equal size and are representation-aware by construction as described in Section [4.2](#section:consistency_results){reference-type="ref" reference="section:consistency_results"}. Figure [\[fig:d_reg_unnorm\]](#fig:d_reg_unnorm){reference-type="ref" reference="fig:d_reg_unnorm"} compares the performance of [URepSC]{.smallcaps} with unnormalized spectral clustering ([USC]{.smallcaps}) (Algorithm [\[alg:unnormalized_spectral_clustering\]](#alg:unnormalized_spectral_clustering){reference-type="ref" reference="alg:unnormalized_spectral_clustering"}) and [UFairSC]{.smallcaps}. Figure [\[fig:d_reg_unnorm:vs_N\]](#fig:d_reg_unnorm:vs_N){reference-type="ref" reference="fig:d_reg_unnorm:vs_N"} shows the effect of varying \(N\) for a fixed \(d = 40\) and \(K=5\). Figure [\[fig:d_reg_unnorm:vs_K\]](#fig:d_reg_unnorm:vs_K){reference-type="ref" reference="fig:d_reg_unnorm:vs_K"} varies \(K\) and keeps \(N = 1200\) and \(d = 40\) fixed. Similarly, Figure [\[fig:d_reg_unnorm:vs_d\]](#fig:d_reg_unnorm:vs_d){reference-type="ref" reference="fig:d_reg_unnorm:vs_d"} keeps \(N = 1200\) and \(K = 5\) fixed and varies \(d\). In all cases, we use \(R = P = N/10\), where recall that \(R\) is the rank used for approximation in [URepSC (approx.)]{.smallcaps} and \(P\) is the number of protected groups discovered in \(\mathcal{R}\) for running [UFairSC]{.smallcaps}. The figures plot the accuracy on \(y\)-axis and report the mean and standard deviation across \(10\) independent executions of the algorithms in each case. As the ground truth clusters satisfy Definition [\[def:representation_constraint\]](#def:representation_constraint){reference-type="ref" reference="def:representation_constraint"} by construction, a high accuracy of cluster recovery implies that the algorithm returns representation-aware clusters. Figure [\[fig:d_reg_norm\]](#fig:d_reg_norm){reference-type="ref" reference="fig:d_reg_norm"} shows the corresponding results for [NRepSC]{.smallcaps}, where we compare it with the normalized variants of other algorithms. In Figures [\[fig:d_reg_unnorm:vs_N\]](#fig:d_reg_unnorm:vs_N){reference-type="ref" reference="fig:d_reg_unnorm:vs_N"} and [\[fig:d_reg_norm:vs_N\]](#fig:d_reg_norm:vs_N){reference-type="ref" reference="fig:d_reg_norm:vs_N"}, it appears that even the standard spectral clustering algorithm will return representation-aware clusters for a large enough graph. However, Figures [\[fig:d_reg_unnorm:vs_K\]](#fig:d_reg_unnorm:vs_K){reference-type="ref" reference="fig:d_reg_unnorm:vs_K"} and [\[fig:d_reg_norm:vs_K\]](#fig:d_reg_norm:vs_K){reference-type="ref" reference="fig:d_reg_norm:vs_K"} show that this is not true if the number of clusters also increases with \(N\), as is more common in practice. It may also be tempting to think that [UFairSC]{.smallcaps} and [NFairSC]{.smallcaps} may perform well with a more carefully chosen value of \(P\), the number of protected groups. However, Figures [\[fig:d_reg_unnorm:rank_groups\]](#fig:d_reg_unnorm:rank_groups){reference-type="ref" reference="fig:d_reg_unnorm:rank_groups"} and [\[fig:d_reg_norm:rank_groups\]](#fig:d_reg_norm:rank_groups){reference-type="ref" reference="fig:d_reg_norm:rank_groups"} show that this is not true. These figures plot the performance of [UFairSC]{.smallcaps} and [NFairSC]{.smallcaps} as a function of the number of protected groups \(P\). Also shown in these plots is the performance of the approximate variants of our algorithms for various values of rank \(R\). As expected, the accuracy increases with \(R\) as the approximation of \(\mathbf{R}\) becomes better.
## Experiments with representation graphs sampled from SBM {#chapter:fairness:section:sbm_experiments}
In this case, we divide the nodes into \(P = 5\) protected groups and sample a representation graph \(\mathcal{R}\) using a Stochastic Block Model. Nodes in \(\mathcal{R}\) are connected with probability \(p_{\mathrm{in}} = 0.8\) (resp. \(p_{\mathrm{out}} = 0.2\)) if they belong to the same (resp. different) protected group(s). Conditioned on \(\mathcal{R}\), we then sample an adjacency matrix from \(\mathcal{R}\)-SBM as before. As an \(\mathcal{R}\) generated this way may violate the rank assumption, we only experiment with the approximate variants of [URepSC]{.smallcaps} and [NRepSC]{.smallcaps} in this case. Moreover, as such an \(\mathcal{R}\) may not be \(d\)-regular, the notion of accuracy no longer conveys information about the representation awareness of an algorithm. Thus, we instead compute the individual balance \(\rho_i\) with respect to each node, as defined in [\[eq:balance\]](#eq:balance){reference-type="eqref" reference="eq:balance"}. Recall that \(0 \leq \rho_i \leq 1\) and higher values indicate that the representatives of node \(v_i\) are well spread out across clusters \(\hat{\mathcal{C}}_1\), ..., \(\hat{\mathcal{C}}_K\). We use average balance \(\bar{\rho} = \frac{1}{N} \sum_{i = 1}^N \rho_i\) to measure the representation-awareness of the clusters. While average balance measures the representation awareness of the clusters, we also need to ensure that they have a high quality. Thus, we compute the ratio of the average balance to the ratio-cut objective. A high value indicates balanced clusters with a high quality (low ratio-cut score). Figure [\[fig:sbm_comparison_unnorm\]](#fig:sbm_comparison_unnorm){reference-type="ref" reference="fig:sbm_comparison_unnorm"} fixes the value of \(P = 5\) and shows the variation of the metric described above on \(y\)-axis as a function of the number of protected groups used by [UFairSC]{.smallcaps} and rank \(R\) used by [URepSC (approx.)]{.smallcaps}, for various values of \(N\) and \(K\). We used the same values of parameters \(p\), \(q\), \(r\), and \(s\), as in Section [5.1](#chapter:fairness:section:d_reg_experiments){reference-type="ref" reference="chapter:fairness:section:d_reg_experiments"}. The plots in Figure [\[fig:sbm_comparison_unnorm\]](#fig:sbm_comparison_unnorm){reference-type="ref" reference="fig:sbm_comparison_unnorm"} show a trade-off between clustering accuracy and representation awareness. One can choose an appropriate value of \(R\) and use [URepSC (approx.)]{.smallcaps} to get good quality clusters with a high balance. Figure [\[fig:sbm_comparison_norm\]](#fig:sbm_comparison_norm){reference-type="ref" reference="fig:sbm_comparison_norm"} presents analogous results for [NRepSC (approx.)]{.smallcaps}.
## Experiments with a real-world network {#chapter:fairness:section:trade_experiments}
For the final set of experiments, we use the FAO trade network, which is a multiplex network based on the data made available by the Food and Agriculture Organization (FAO) of the United Nations. It has \(214\) nodes representing countries and \(364\) layers corresponding to commodities like coffee, banana, barley, etc. An edge between two countries in a layer indicates the volume of the corresponding commodity traded between these countries. We convert the weighted graph in each layer to an unweighted graph by connecting every node with its five nearest neighbors. We then make all the edges undirected and use the first \(182\) layers to construct the representation graph \(\mathcal{R}\). Nodes in \(\mathcal{R}\) are connected if they are linked in either of these layers. Similarly, the next \(182\) layers are used to construct the similarity graph \(\mathcal{G}\). Note that \(\mathcal{R}\) constructed this way is not \(d\)-regular. The goal is to find clusters in \(\mathcal{G}\) that satisfy Definition [\[def:representation_constraint\]](#def:representation_constraint){reference-type="ref" reference="def:representation_constraint"} with respect to \(\mathcal{R}\). To motivate this further, note that clusters based only on \(\mathcal{G}\) only consider the trade of commodities \(183\)--\(364\). However, countries also have other trade relations in \(\mathcal{R}\), leading to shared economic interests. Assume that the members of each cluster would jointly formulate the economic policies for that cluster. However, the policies made in one cluster affect everyone, even if they are not part of the cluster, as they all share a global market. This incentivizes the countries to influence the economic policies of all the clusters. Being representation aware with respect to \(\mathcal{R}\) entails that each country has members in other clusters with shared interests. This enables a country to indirectly shape the policies of other clusters. As before, we use the low-rank approximation for the representation graph in [URepSC (approx.)]{.smallcaps} and [NRepSC (approx.)]{.smallcaps}. Figure [\[fig:real_data_comparison_unnorm\]](#fig:real_data_comparison_unnorm){reference-type="ref" reference="fig:real_data_comparison_unnorm"} compares [URepSC (approx.)]{.smallcaps} with [UFairSC]{.smallcaps}, and has the same semantics as Figure [\[fig:sbm_comparison_unnorm\]](#fig:sbm_comparison_unnorm){reference-type="ref" reference="fig:sbm_comparison_unnorm"}. Different plots in Figure [\[fig:real_data_comparison_unnorm\]](#fig:real_data_comparison_unnorm){reference-type="ref" reference="fig:real_data_comparison_unnorm"} correspond to different choices of \(K\). [URepSC (approx.)]{.smallcaps} achieves a higher ratio of average balance to ratio-cut. In practice, a user would choose \(R\) by assessing the relative importance of a quality metric like ratio-cut and representation metric like average balance. Figure [\[fig:real_data_comparison_norm\]](#fig:real_data_comparison_norm){reference-type="ref" reference="fig:real_data_comparison_norm"} presents analogous results for [NRepSC (approx.)]{.smallcaps}.
# Conclusion {#section:conclusion}
The primary focus of this work has been on studying the consistency of constrained spectral clustering under an individual-level representation constraint. The proposed representation constraint naturally generalizes similar population-level constraints by using auxiliary information encoded in a representation graph \(\mathcal{R}\). We showed that the constraint can be expressed as a linear expression that when added to the optimization problem solved by spectral clustering results in the representation-aware variants of the algorithm. An interesting consequence of this problem is a variant of the stochastic block model that plants the properties of \(\mathcal{R}\) in a similarity graph in addition to the given clusters to provide a hard problem instance to our algorithms. Under this model, we derive a high-probability upper bound on the number of mistakes made by the algorithms and establish conditions under which they are weakly consistent. To the best of our knowledge, these are the first consistency results for constrained spectral clustering under individual-level constraints. Next, we make a few additional remarks.
#### The \(d\)-regularity assumption {#the-d-regularity-assumption .unnumbered}
The \(d\)-regularity assumption on \(\mathcal{R}\) ensures the representation-awareness of the ground-truth clusters in our analysis. Note that the representation graph that recovers the statistical-level constraint is also \(d\)-regular (see Appendix [7](#appendix:constraint){reference-type="ref" reference="appendix:constraint"}), hence our analysis strictly generalizes the previously known results. It would be interesting to study the performance of our algorithms under weaker assumptions on \(\mathcal{R}\). One can also use a similar strategy as ours to modify more expressive variants of the stochastic block model, like the degree-corrected SBM, to establish the consistency of the algorithms on more realistic similarity graphs.
#### Computational complexity {#computational-complexity-1 .unnumbered}
Our current approach involves finding the null space of a \(N \times N\) matrix. This operation has \(O(N^3)\) complexity. Existing methods for speeding up the standard spectral clustering algorithm focus on making the eigen-decomposition and/or the \(k\)-means step faster (see and the references within). However, even with these modifications, the null space computation would still be the computationally dominant step. proposed an efficient algorithm for solving the normalized cut problem under a linear constraint. However, their algorithm assumes that \(K = 2\). Developing similar algorithms for general values of \(K\) and exploring their theoretical guarantees will enable the application domains that involve very large graphs to utilise our ideas. Other possible extensions of our work include similar algorithms for weighted similarity graphs, overlapping clusters, and other types of graphs such as hypergraphs. This paper provides the first step towards consistency analysis of spectral clustering under individual-level constraints. | {'timestamp': '2022-03-07T02:03:04', 'yymm': '2203', 'arxiv_id': '2203.02005', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02005'} |
# Introduction
In this paper, we consider the problem of *point counting* for principally polarized (p.p.) abelian varieties over finite fields: given a p.p. abelian variety \(A\) over \(\mathbb{F}_q\), we aim to compute the characteristic polynomial of Frobenius \(\chi(A)\in \mathbb{Z}[X]\). If \(A\) is an elliptic curve, this is equivalent to computing \(\# A(\mathbb{F}_q)\). The motivation behind this challenge comes from different directions. Counting points is a prerequisite for elliptic and hyperelliptic-curve cryptography [@koblitz_EllipticCurveCryptosystems1987; @koblitz_HyperellipticCryptosystems1989]. More recently, the hardness of the point counting problem itself was proposed as a source of cryptographic protocols . From a more mathematical point of view, if \(A\) is defined over a number field, then counting points on \(A\) modulo primes of good reduction determines the Euler factors of the \(L\)-function attached to \(A\). To this date, Schoof's polynomial-time algorithm remains the central approach to point counting for abelian varieties of dimension \(2\) or more over finite fields of large characteristic, and much work has been devoted to making this algorithm practical [@gaudry_CountingPointsHyperelliptic2000; @gaudry_CountingPointsGenus2011; @gaudry_GenusPointCounting2012; @abelard_ImprovedComplexityBounds2019]. In the case of abelian surfaces over \(\mathbb{F}_q\), the complexity of Schoof's method is \(\Otilde(\log^8q)\) binary operations in general, and \(\Otilde(\log^5q)\) binary operations if the abelian surfaces have explicit real multiplication (RM) by a fixed quadratic field. Note however that Schoof's approach is in competition with cohomological algorithms, surveyed in , when the base field has small characteristic; in the context of computing \(L\)-functions, it is in competition with average polynomial time algorithms based on Hasse-Witt matrices [@harvey_CountingPointsHyperelliptic2014; @harvey_ComputingHasseWittMatrices2016; @sutherland_CountingPointsSuperelliptic2020]. Schoof's approach is multi-modular: for a series of small primes \(\ell \neq p\), the reduction of \(\chi(A)\) mod \(\ell\) is computed as the characteristic polynomial of Frobenius on the \(\ell\)-torsion subgroup \(A[\ell]\), the latter being defined by explicit polynomial equations. The algorithm stops when sufficient information is collected to reconstruct \(\chi(A)\) using the Weil bounds and the Chinese remainder theorem. In the case of elliptic curves, Elkies showed how to accelerate Schoof's algorithm by replacing \(A[\ell]\), the kernel of the *endomorphism* \([\ell]\), by the kernel of an *isogeny* \(\phi\colon A\to A'\) of degree \(\ell\). Such an isogeny will exist as soon as \(\chi(A)\) splits in linear factors modulo \(\ell\); we say that \(\ell\) is *Elkies* in this case. Heuristically, about half of the small primes are Elkies for a given \(A\); this heuristic is true on average, either for all elliptic curves over a given finite field , or, assuming GRH, for all reductions of a given elliptic curve over a number field modulo primes of good reduction . Then the resulting point counting algorithm will run in \(\Otilde(\log^4q)\) binary operations, instead of \(\Otilde(\log^5q)\). Elkies's method is an essential part of the SEA algorithm , implemented in both Pari/GP and Magma . The central player in Elkies's method is the classical modular polynomial \(\Phi_\ell\) of level \(\ell\), an explicit polynomial equation cutting out the moduli space of pairs of \(\ell\)-isogenous elliptic curves. More precisely, Elkies's method relies on three main ingredients: first, upper bounds on the degree and height of \(\Phi_\ell\) [@cohen_CoefficientsTransformationPolynomials1984; @broker_ExplicitHeightBound2010]; second, an evaluation algorithm, to compute \(\Phi_\ell(j, Y)\) as well as its derivative \(\partial_X \Phi_\ell(j, X)\) for a given value of \(j\in\mathbb{F}_q\) [@enge_ComputingModularPolynomials2009; @broker_ModularPolynomialsIsogeny2012; @sutherland_EvaluationModularPolynomials2013]; and third, an isogeny algorithm to recover \(\phi\) as an explicit rational map from this data [@elkies_EllipticModularCurves1998; @bostan_FastAlgorithmsComputing2008]. The recent series of papers [@kieffer_DegreeHeightEstimates2022; @kieffer_EvaluatingModularEquations2021; @kieffer_ComputingIsogeniesModular2019] extend all these three ingredients to the context of p.p. abelian surfaces. In this setting, the classical modular polynomials are replaced by modular equations for abelian surfaces, as described in [@broker_ModularPolynomialsGenus2009; @milio_QuasilinearTimeAlgorithm2015; @martindale_HilbertModularPolynomials2020; @milio_ModularPolynomialsHilbert2020]. Here we reap the benefits of these works and describe their consequences on the point counting problem under heuristics related to the distribution of Elkies primes. We separate two cases depending on the moduli space of abelian surfaces we wish to consider. In the *Siegel case*, we assume nothing a priori on our abelian surfaces; in the *Hilbert case*, we fix a real quadratic field \(F\) and we only consider p.p. abelian surfaces with RM by its ring of integers \(\mathbb{Z}_F\) (but the action of \(\mathbb{Z}_F\) is not assumed to be explicitly computable). In the Hilbert case, we reach the same asymptotic complexity as the SEA algorithm up to constant factors depending on \(F\).
In the Siegel case, it turns out that Elkies's method brings no complexity improvement (except perhaps for logarithmic factors) over Schoof's method for a general abelian surface \(A\) over \(\mathbb{F}_q\). However, it does bring an improvement when the invariants of \(A\) admit lifts in characteristic zero of small heights. The exponent in the complexity estimate is further decreased if we wish to count points modulo sufficiently many primes at once.
We have released an implementation of the key step of the above algorithms in terms of running time, namely the evaluation of modular equations , building on the C libraries Flint and Arb . This allows us to roughly estimate the total cost of the above point-counting algorithms in practice. As remarked in , dimension \(2\) is the largest dimension where Elkies's method can be superior to Schoof's algorithm for generic abelian varieties, at least in the asymptotic sense. However, Elkies's method still seems promising in the context of counting points on p.p. abelian varieties with fixed RM in any dimension. This paper is organized as follows. In [2](#sec:background){reference-type="ref" reference="sec:background"}, we quickly review previous results on Schoof's method for abelian surfaces. In [\[sec:siegel,sec:hilbert\]](#sec:siegel,sec:hilbert){reference-type="ref" reference="sec:siegel,sec:hilbert"}, we describe Elkies's method for p.p. abelian surfaces in the Siegel and Hilbert case respectively. Experimental results appear in [5](#sec:exp){reference-type="ref" reference="sec:exp"}. Finally, [6](#sec:implem){reference-type="ref" reference="sec:implem"} presents possible directions to further reduce the cost of point counting for abelian surfaces in practice.
# Background on point-counting algorithms {#sec:background}
## The characteristic polynomial of Frobenius
Let \(A\) be a p.p. abelian surface over \(\mathbb{F}_q\), and denote its Frobenius endomorphism by \(\pi_A\). The characteristic polynomial \(\chi(A)\) of \(\pi_A\) takes the form \[\label{eq:charpoly-schoof} \chi(A) = X^4-s_1X^3 + (s_2+2q) X^2-q s_1 X + q^2,\] where \(s_1,s_2\) are integers satisfying the following inequalities ,: \[\label{eq:weil-rueck} \abs{s_1}\leq 4\sqrt{q},\quad \abs{s_2}\leq 4q, \quad s_1^2-4s_2\geq 0,\quad s_2 + 4q \geq 2\abs{s_1}.\] Denote the Rosati involution on \(\End(A)\) induced by the principal polarization of \(A\) by \(\dagger\). Then the *real Frobenius* \(\psi_A = \pi_A+\ros{\pi_A}\) is an element of the subgroup \(\Rend(A)\) of real endomorphisms of \(A\). Its characteristic polynomial is \[\label{eq:charpoly-rm}\] If \(\ell\neq q\) is a prime, then \(A[\ell] \subset A\) is a finite étale group scheme isomorphic to \((\mathbb{Z}/\ell\mathbb{Z})^4\), and we identify it with its set of points over an algebraic closure of \(\mathbb{F}_q\). The reduction of \(\chi(A)\) modulo \(\ell\) is the characteristic polynomial of \(\pi_A\) acting on \(A[\ell]\). Recall that \(A[\ell]\) is endowed with the Weil pairing, an alternating and nondegenerate bilinear form induced by the principal polarization of \(A\); we denote it by \((x,y)\mapsto \pair{x,y} \in \mathbb{Z}/\ell\mathbb{Z}\). For all \(x,y\in A[\ell]\), we have \[\label{eq:frob-pairing} \pair{\pi_A(x),\pi_A(y)} = q\pair{x,y}.\] The Rosati involution is equal to adjunction with respect to the Weil pairing, so [\[eq:frob-pairing\]](#eq:frob-pairing){reference-type="eqref" reference="eq:frob-pairing"} translates to the equality \(\pi_A\ros{\pi_A} = q\). Assume now that \(A\) has RM by \(\mathbb{Z}_F\), where \(F\) is a real quadratic field; this means that \(A\) is equipped with an embedding \(\mathbb{Z}_F\hookrightarrow \Rend(A)\). Let \(\ell\in\mathbb{Z}\) be a prime which splits in \(F\) in a product of two principal ideals, generated by \(\beta,\conj{\beta}\in \mathbb{Z}_F\). We then have an orthogonal decomposition \[\label{eq:rm-splitting} A[\ell] = A[\beta]\oplus A[\conj{\beta}],\] and both \(A[\beta]\) and \(A[\conj{\beta}]\) are stable under \(\pi_A\), \(\ros{\pi_A}\) and \(\psi_A\). Since \(A[\beta]\) and \(A[\conj{\beta}]\) are not isotropic, the determinant of \(\pi_A\) on both of these subspaces is \(q\).
## Schoof's method in dimension 2 {#subsec:schoof}
Recall that any p.p. abelian surface \(A\) over \(k = \mathbb{F}_q\) is either a product of two elliptic curves or the Jacobian of a hyperelliptic genus \(2\) curve \(\mathcal{C}\) defined over \(k\). In the point-counting context, we only have to consider this second case. The fundamental building block of Schoof's method [@gaudry_CountingPointsHyperelliptic2000; @gaudry_GenusPointCounting2012] is to be able to work with the torsion subgroups \(A[\ell]\) in a computationally efficient way. Since Elkies's method ultimately involves computations with subgroups of Jacobians as well, the computational techniques developed for Schoof's method will still apply in our context. The first step is to choose birational coordinates on \(A\). A popular choice is to consider Mumford coordinates. Let \(y^2 = P(x)\) be an equation of \(\mathcal{C}\), and let \(K_\mathcal{C}\) be the canonical divisor of \(\mathcal{C}\). A generic point of \(A\) is linearly equivalent to \(D-K_\mathcal{C}\) for a unique degree-two divisor \(D\) on \(\mathcal{C}\); in turn, a generic divisor of degree two can be written as the zero locus of polynomials of the form \(x^2 + u_1 x + u_0\) and \(y-v_1x-v_0\) in a unique way. This defines the Mumford coordinates \((u_0,u_1,v_0,v_1)\) as a rational map from \(A\) to the affine space \(\mathbb{A}_k^4\), and \(A\) is birational to its image. Denote the coordinate ring of \(\mathbb{A}_k^4\) by \(k[U_0,U_1,V_0,V_1]\). If \(S\) is any finite subgroup of \(A\), then \(S\) is stable by \(D\mapsto i(D)\) where \(i(D)\) denotes the hyperelliptic involution, and hence by change of sign of \(v\)-coordinates. Assume that \(S\) is *generic* in the sense that Mumford coordinates are well-defined at all points of \(S\) and that all pairs \(\set{D,i(D)}\) in \(S\) have distinct \(u_1\)-coordinates. Then the Gröbner basis cutting out \(S\) in terms of Mumford coordinates, in the monomial ordering \(U_1 < U_0 < V_1 < V_0\), will take the convenient form \[\label{eq:groebner-basis} \begin{cases} V_0-V_1 S_0(U_1) = 0,\\ V_1^2-S_1(U_1) = 0, \\ U_0-R_0(U_1) = 0, \\ R_1(U_1) = 0 \end{cases}\] for some univariate polynomials \(R_1,R_0,S_1,S_0\in k[U_1]\). The methods of describe how to compute this Gröbner basis when \(S = A[\ell]\), assuming that the equation of \(\mathcal{C}\) is given by a polynomial \(P\) of degree five, in other words that \(\mathcal{C}\) admits a rational Weierstrass point \(\infty\). The input of their algorithm is given by Cantor's division polynomials, which provide an explicit description of the following composition as a rational map: \[\begin{tikzcd} \mathcal{C} \ar[rr, "{p \mapsto [p]-[\infty]}"] && A \ar[r, "{[\ell]}"] & A \ar[rr, "{(u_0,u_1,v_0,v_1)}"] && \mathbb{A}^4. \end{tikzcd}\] More generally, if \(A'\) is the Jacobian of another hyperelliptic genus \(2\) curve \(\mathcal{C}'\) over \(k\), is \(f\colon A\to A'\) is any isogeny, and if \(p_0\in \mathcal{C}(k)\) is any rational point, then the same methods will compute a Gröbner basis describing \(\ker(f)\subset A\) given the explicit expression of the composed map \[\label{eq:rational-map} \begin{tikzcd} \mathcal{C} \ar[rr, "{p \mapsto [p]-[p_0]}"] && A \ar[r, "{f}"] & A' \ar[rr, "{(u_0,u_1,v_0,v_1)}"] && \mathbb{A}^4. \end{tikzcd}\] If the degrees of these rational fractions is bounded above by \(d\), then the whole Gröbner basis computation takes \(\Otilde(d^3)\) operations in \(k\), hence \(\Otilde(d^3\log q)\) binary operations. Note that a complexity \(\Otilde(d^{3-1/\omega} \log q)\), where \(\omega\) denotes the exponent of matrix multiplication, could probably be achieved by computing bivariate resultants using an algorithm of Villard instead of the more classical evaluation-interpolation method. The resulting polynomials in [\[eq:groebner-basis\]](#eq:groebner-basis){reference-type="eqref" reference="eq:groebner-basis"} have degree \(O(d^2)\). Once the Gröbner basis [\[eq:groebner-basis\]](#eq:groebner-basis){reference-type="eqref" reference="eq:groebner-basis"} is known, computing the Frobenius endomorphism on \(S\) is simply a matter of computing \((U_0^q,U_1^q,V_0^q,V_1^q)\) using a square-and-multiply algorithm, reducing the result modulo the defining ideal of \(S\) at each step, for a total cost of \(\Otilde(d^2\log^2 q)\) binary operations. When running Schoof's method in the generic case, one takes \(S = A[\ell]\) and \(d = O(\ell^2)\). It only remains to find the correct values of \(s_1\) and \(s_2\) in \(\mathbb{Z}/\ell\mathbb{Z}\) such that Frobenius characteristic equation [\[eq:charpoly-schoof\]](#eq:charpoly-schoof){reference-type="eqref" reference="eq:charpoly-schoof"} holds on \(A[\ell]\). The dominant step in the whole method is the Gröbner basis computation, which accounts for the final complexity of \(\Otilde(\log^8q)\) binary operations. In the RM case, one can take \(S = A[\beta]\) instead provided that \(\ell\) splits correctly in \(\mathbb{Z}_F\) . Then one has \(d = O(\ell)\), giving a total point-counting complexity of \(\Otilde(\log^5 q)\) binary operations; both the Gröbner step and the Frobenius computation are asymptotically dominant. In , the real multiplication action of \(\mathbb{Z}_F\) is assumed to be explicitly computable; in this case the Chinese remainder theorem can be used to recover \(\psi_A\in \mathbb{Z}_F\) directly.
## Non-generic cases
The above genericity assumption on \(S\) does not necessarily hold in general. As detailed in , it could fail in a finite number of different ways: certain elements of \(S\) might be of the form \([p]-[\infty]\) or \(2[p]-K\) for some \(p\in \mathcal{C}(k)\), so that their Mumford coordinates are not defined; or they might take the generic form \([p_1] + [p_2]-K\), but the Mumford coordinates of \(\ell([p_1]-[\infty])\) might not be defined. Each of these possible degeneracy types can be managed by writing another polynomial system with a smaller number of variables or lower degrees than the original one; therefore, considering the generic case is sufficient from a complexity-theoretic point of view. It is also sufficient from a practical point of view: in large characteristics, \(S\) will be generic with overwhelming probability, and any particular \(\ell\) causing problems can simply be skipped.
# Elkies's method for abelian surfaces: the Siegel case {#sec:siegel}
## Polarized isogenies between abelian surfaces
Modular polynomials describing \(\ell\)-isogenies between elliptic curves play a central role in Elkies's method in dimension \(1\). Similarly, explicit equations for moduli spaces of suitably isogenous abelian surfaces will play a central role in Elkies's method for p.p. abelian surfaces. Such moduli spaces only exist for certain isogeny types that are directly related to the polarizations and endomorphism rings of the abelian varieties we consider. Recall that \(\NS(A)\) denotes the Néron--Severi group of \(A\), consisting of line bundles on \(A\) defined over an algebraic closure of the base field, up to algebraic equivalence.
If \(A\) and \(A'\) are p.p. abelian varieties of the same dimension over \(k\), and if \(\beta\in \Rend(A)\), we say that \(f\colon A\to A'\) is a *\(\beta\)-isogeny* if \(f^*\L_{A'}(1) = \L_A(\beta)\). In particular, \(\beta\) must be totally positive. If \(\beta\) is moreover prime to \(\chr(k)\), an isogeny \(f\) is a \(\beta\)-isogeny if and only if the following conditions are satisfied :
1. [\[it:isotropic\]]{#it:isotropic label="it:isotropic"} \(\ker(f)\subset A[\beta]\) and \(\ker(f)\) is maximal isotropic for the Weil pairing attached to this subgroup;
2. The image \(A'\) is endowed with the natural principal polarization of \(A/\ker(f)\) coming from the conditions [\[it:isotropic\]](#it:isotropic){reference-type="eqref" reference="it:isotropic"}.
Since \(\Rend(A)\) always contains a copy of \(\mathbb{Z}\), it makes sense to talk about \(\ell\)-isogenies for any \(\ell\in \mathbb{Z}_{\geq 1}\). In the case of elliptic curves, this corresponds to the usual notion of cyclic isogenies of degree \(\ell\); but in dimension \(g\) the degree of an \(\ell\)-isogeny is \(\ell^g\). In general, the degree of a \(\beta\)-isogeny is \((\deg\beta)^{1/2}\). We say that two isogenies \(f_1\colon A\to A'\) and \(f_2\colon A\to A''\) are *equivalent* if there exists an isomorphism of p.p. abelian varieties \(\eta\colon A'\to A''\) such that \(f_2 = \eta\circ f_1\).
## Elkies primes
The goal of Elkies's method in the Siegel case is, given a p.p. abelian surface \(A\) over \(\mathbb{F}_q\) and a prime \(\ell\), to obtain information on \(\chi(A)\mod\ell\) using an \(\ell\)-isogeny \(f\), with domain \(A\), defined over \(\mathbb{F}_p\). We say that \(\ell\) is *Elkies* for \(A\) if such an \(f\) exists. Before explaining how to obtain such an \(f\), let us describe how \(\chi(A)\) can be computed from the action of \(\pi_A\) on \(\ker(f)\); and conversely, how the splitting behavior of \(\chi(A)\) modulo \(\ell\) can guarantee that \(\ell\) is Elkies. If \(P\) is a monic polynomial of degree \(d\) whose constant coefficient \(a_0\) is invertible, we denote by \(\Rec_q(P)\) the monic polynomial \(a_0^{-1} X^d P(q/X)\).
Recall that the roots of \(\chi(A)\) over \(\mathbb{C}\) take the form \(\lambda_1,q/\lambda_1,\lambda_2,q/\lambda_2\) where \(\lambda_1,\lambda_2\) are complex numbers of modulus \(\sqrt{q}\); hence assumption [\[it:coprime-split\]](#it:coprime-split){reference-type="eqref" reference="it:coprime-split"} means that \(\chi(A)\) splits modulo \(\ell\) in two coprime degree \(2\) factors whose roots are \(\set{\lambda_1,\lambda_2}\) and \(\set{q/\lambda_1,q/\lambda_2}\) respectively (up to a possible renaming of \(q/\lambda_2\mapsto \lambda_2\)). Merely assuming that \(\chi(A)\) splits in degree \(2\) factors is not sufficient to ensure that \(\ell\) is Elkies: for instance, \(A\) might be product of two elliptic curves over \(\mathbb{F}_q\) for which \(\ell\) is an Atkin prime.
Given [\[prop:siegel-elkies-sufficient\]](#prop:siegel-elkies-sufficient){reference-type="ref" reference="prop:siegel-elkies-sufficient"}, it is reasonable to expect that a positive proportion of small primes \(\ell\) (in general, about three in eight) will be Elkies for a given \(A\). This heuristic will motivate the more precise [\[def:elkies-siegel\]](#def:elkies-siegel){reference-type="ref" reference="def:elkies-siegel"} later on.
## Modular equations of Siegel type {#subsec:siegel-modeq}
Denote by \(\mathcal{A}_g\) the Siegel moduli space of p.p. abelian varieties of dimension \(g\), considered as an algebraic variety over \(\mathbb{Q}\). Then for each prime \(\ell\), we have the following diagram of \(\mathbb{Q}\)-varieties: \[\label{diag:siegel} \begin{tikzcd} & \mathcal{A}_g^0(\ell) \ar[ld, "p_1", swap] \ar[rd, "p_2"] & \\ \mathcal{A}_g & & \mathcal{A}_g \end{tikzcd}\] where \(\mathcal{A}_g^0(\ell)\) denotes the coarse moduli space of pairs \((A,K)\) where \(A\) is a p.p. abelian variety of dimension \(g\) and \(K\subset A[\ell]\) is the kernel of an \(\ell\)-isogeny. The morphisms \(p_1\) and \(p_2\) are \((A,K)\mapsto A\) and \((A,K)\mapsto A/K\) respectively. Both \(p_1\) and \(p_2\) and are finite coverings; moreover \((p_1,p_2)\) realizes a birational isomorphism between \(\mathcal{A}_g^0(\ell)\) and its image in \(\mathcal{A}_g\times\mathcal{A}_g\). If \(g=2\), the graded \(\mathbb{Q}\)-algebra of Siegel modular forms is free over four generators \(I_4,I_6',I_{10},I_{12}\) . Therefore \(\mathcal{A}_2\) is a rational variety. The zero locus of \(I_{10}\) exactly corresponds to the locus of products of elliptic curves; moreover, it is computationally convenient to work with coordinates on \(\mathcal{A}_2\) which share a common, small-degree denominator, so a common choice of coordinates \(j = (j_1,j_2,j_3)\) on \(\mathcal{A}_g\) is given by the *Igusa invariants* , which are scalar multiples of \[\label{eq:igusa} \frac{I_4 I_6'}{I_{10}}, \quad \frac{I_4 I_{12}}{I_{10}^2}, \quad \text{and}\quad \frac{I_4^5}{I_{10}^2}.\] The Igusa invariants define a local isomorphism from \(\mathcal{A}_2\) to \(\mathbb{A}^3\) at every point where both \(I_4\) and \(I_{10}\) are nonzero. Hitting this singular locus may cause problems during the point-counting algorithm. In this case, one can always consider another set of coordinates on \(\mathcal{A}_2\); we postpone this discussion to §[3.6](#subsec:siegel-degenerate){reference-type="ref" reference="subsec:siegel-degenerate"} below. The *Siegel modular equations* of level \(\ell\) are explicit equations for the image of \(\mathcal{A}_2^0(\ell)\) in \(\mathcal{A}_2\times \mathcal{A}_2\). They take the form of three multivariate rational fractions \(\Psi_{\ell,k}\in \mathbb{Q}(J_1,J_2,J_3)[Y]\) for \(1\leq k\leq 3\). Writing \(j\circ p_1 = (j_1,j_2,j_3)\) and \(j\circ p_2 = (j_1',j_2',j_3')\), the equations of \(\mathcal{A}_2^0(\ell)\) are the following: \[\label{eq:siegel-modeq} \begin{cases} \Psi_{\ell,1}(j_1,j_2,j_3,j_1') = 0,\\ \partial_X \Psi_{\ell,1}(j_1,j_2,j_3,j_1')\cdot j_k'- \Psi_{\ell,k}(j_1,j_2,j_3,j_1') = 0 \quad \text{for \(k = 2,3\)}. \end{cases}\] Let \(\dd(\ell) = \ell^3+\ell^2+\ell+1\) be the degree of \(p_1\colon\mathcal{A}_2^0(\ell)\to\mathcal{A}_2\). Then, for any p.p. abelian surface \(A\) over \(\mathbb{C}\), there are exactly \(d(\ell)\) non-equivalent \(\ell\)-isogenies with domain \(A\). Let \(A'_i\) for \(1\leq i\leq \dd(\ell)\) be their codomains. Assume that neither \(A\) nor any of the isogenous surfaces \(A_i'\) lie in the singular locus of \(j\) as defined above; assume moreover that all coordinates \(j_1(A_i')\) are distinct. Then the denominator of Siegel modular equations does not vanish at \(j(A)\); moreover the roots of Siegel modular equations evaluated at \(A\), by which we mean all tuples \((j_1',j_2',j_3')\in \mathbb{C}^3\) such that the equations [\[eq:siegel-modeq\]](#eq:siegel-modeq){reference-type="eqref" reference="eq:siegel-modeq"} are satisfied with \(j_k = j_k(A)\) for \(1\leq k\leq 3\), are precisely the \(d(\ell)\) tuples of the form \(j(A_i')\) for \(1\leq i\leq d(\ell)\). The same properties holds if we replace \(\mathbb{C}\) by an algebraic closure of the finite field \(\mathbb{F}_p\) for any prime \(p\neq \ell\) such that \(p>3\); this can be deduced either from the classical lifting theorems, or from the fact that both \(\mathcal{A}_2\) and \(\mathcal{A}_2^0(\ell)\) are actually smooth stacks over \(\mathbb{Z}[1/\ell]\) .
## Algorithms for Siegel modular equations
We now present the prerequisites of Elkies's method in the Siegel case, namely an upper bound on the size of modular equations of Siegel type, as well as algorithms that allow us to evaluate modular equations at a given point and compute the associated \(\ell\)-isogenies. In the following result, the *total degree* of a multivariate rational fraction \(F\) over \(\mathbb{Q}\) means the maximum between the total degrees of its numerator and denomiator; moreover, the *height* of \(F\) is the maximum of \(\log\abs{c}\), where \(c\in \mathbb{Z}\) runs through the coefficients of \(F\) written in irreducible form. The notion of height generalizes to arbitrary number fields.
## Complexity bounds for Elkies's method {#subsec:siegel-complexity}
Let \(K\) be a fixed number field, and let \(A_0\) be a p.p. abelian surface over \(K\). Let \(\mathfrak{p}\) be a prime of \(K\), of residue field \(\mathbb{F}_q\), where \(A_0\) has good reduction; we denote the reduced abelian variety over \(\mathbb{F}_q\) by \(A\). In order to count points on \(A\), we apply Elkies's method in the following way.
1. For a series of small primes \(\ell\), we apply [\[thm:eval-siegel\]](#thm:eval-siegel){reference-type="ref" reference="thm:eval-siegel"} to evaluate the Siegel modular equations at \(j(A_0)\), and reduce the result to \(\mathbb{F}_q\). This step costs \(\Otilde_K(\ell^6H)\) binary operations, and will dominate the rest of the algorithm; however, it needs to be done only once if we with to count points on \(A\) modulo \(\mathfrak{p}_i\) for several primes \(\mathfrak{p}_i\).
2. We then attempt to find a root of the reduced Siegel modular equations [\[eq:siegel-modeq\]](#eq:siegel-modeq){reference-type="eqref" reference="eq:siegel-modeq"} over \(\mathbb{F}_q\); this costs \(\Otilde(\ell^3\log^2 q)\) binary operations. If there are none, we simply skip \(\ell\).
3. If we find one, then we hope that it corresponds to the Igusa invariants of a p.p. abelian surface \(A'\) over \(\mathbb{F}_q\) for which the genericity conditions of [\[thm:isog-siegel\]](#thm:isog-siegel){reference-type="ref" reference="thm:isog-siegel"} hold. If they do, then \(\ell\) is Elkies for \(A\), and we are able to compute an explicit rational representation of such an \(f\) using \(\Otilde(\ell\log q)\) binary operations.
4. At this point, the methods described in §[2.2](#subsec:schoof){reference-type="ref" reference="subsec:schoof"} allow us to compute with formal points of \(\ker(f)\), and hence recover the characteristic polynomial of Frobenius on this subgroup; the Gröbner basis and Frobenius computations cost \(\Otilde(\ell^3\log q)\) and \(\Otilde(\ell^2\log^2 q)\) binary operations respectively. The polynomial \(\chi(A)\mod\ell\) itself is finally computed using .
By the Hasse-Weil bounds, carrying out this algorithm successfully for a series of primes \(\ell_i\) such that \(\prod\ell_i > 8q\) is sufficient to recover \(\chi(A)\in \mathbb{Z}[X]\) using the Chinese remainder theorem.
## Degenerate cases {#subsec:siegel-degenerate}
We now analyze the different failure cases of the algorithm sketched above. The following issues may arise for any Elkies prime \(\ell\):
1. [\[pb:singular-locus\]]{#pb:singular-locus label="pb:singular-locus"} One or more of the p.p. abelian surfaces \(\ell\)-isogenous to \(A\) over an algebraic closure of \(\mathbb{F}_q\) may lie on the singular locus of \(j\).
2. [\[pb:same-j1\]]{#pb:same-j1 label="pb:same-j1"} Several of these abelian surfaces may have the same \(j_1\)-coordinate.
3. [\[pb:elliptic\]]{#pb:elliptic label="pb:elliptic"} Either \(A\) or \(A'\) may be the product of two elliptic curves.
4. [\[pb:automorphisms\]]{#pb:automorphisms label="pb:automorphisms"} Either \(A\) or \(A'\) may have extra automorphisms.
5. [\[pb:not-normal\]]{#pb:not-normal label="pb:not-normal"} The subvariety of \(\mathbb{A}^3\times\mathbb{A}^3\) cut out by the Siegel modular equations of level \(\ell\) may not be normal at \((j(A),j(A'))\).
Both failure cases [\[pb:singular-locus\]](#pb:singular-locus){reference-type="eqref" reference="pb:singular-locus"} and [\[pb:same-j1\]](#pb:same-j1){reference-type="eqref" reference="pb:same-j1"} can be detected during the execution of the algorithm of [\[thm:eval-siegel\]](#thm:eval-siegel){reference-type="ref" reference="thm:eval-siegel"}; they are easily solved by taking different birational coordinates on \(\mathcal{A}_2\). For instance, we can apply a projective linear transformation \(m\) with integer coefficients on the weight \(20\) coordinates \((I_4^5: I_4^2 I_6'^2: I_4^2 I_{12}: I_4 I_6' I_{10}: I_{10}^2)\) before taking the quotients [\[eq:igusa\]](#eq:igusa){reference-type="eqref" reference="eq:igusa"}. When choosing \(m\), we must make sure that \(O(\ell^6)\) non-equalities in the algebraic closure of \(\mathbb{F}_q\) are satisfied. This can always be achieved provided that we choose coefficients in \(m\) of height \(O(\log \ell)\). The degree and height bounds of [\[thm:height-siegel\]](#thm:height-siegel){reference-type="ref" reference="thm:height-siegel"} still hold for the modified modular equations using this new set of invariants. In case [\[pb:elliptic\]](#pb:elliptic){reference-type="eqref" reference="pb:elliptic"}, we can apply the SEA algorithm on both factors. In case [\[pb:automorphisms\]](#pb:automorphisms){reference-type="eqref" reference="pb:automorphisms"}, we obtain a lot of new information about \(A\): either \(A\) is a twist of the Jacobian of the hyperelliptic curve \(y^2 = x^5-1\) with complex multiplication by \(\mathbb{Q}(\zeta_5)\), so that \(\chi(A)\) can be determined by the CM method ; or we can find an explicit isogeny from \(A\) to the product of two elliptic curves . Finally, in case [\[pb:not-normal\]](#pb:not-normal){reference-type="eqref" reference="pb:not-normal"}, a geometric argument shows that \((A,A')\) must be the reduction to \(\mathbb{F}_q\) of a singular point in characteristic zero . Using the complex-analytic uniformization of \(\mathcal{A}_2\) then shows that such singular points either admit extraneous automorphisms, or have the property that there exist two non-equivalent \(\ell\)-isogenies from \(A\) to \(A'\). This implies that \(A\) possesses a non-integral endomorphism of norm \(\ell^4\). Unlike the elliptic curve case, where we would switch to the CM method straighaway, this new piece of information seems insufficient to describe \(\End(A)\) in a precise way in higher dimensions. Instead, we simply skip \(\ell\) and carry on with Elkies's method for other primes; we make the heuristic assumption that sufficiently many Elkies primes still exist.
If a proportion \(\varepsilon\) of primes are Elkies for \(A\), then we are able to collect sufficiently many Elkies primes \(\ell_i\) such that \(\ell_i\in O_\varepsilon(\log q)\). Thus, directly follows from the complexity estimates given in §[3.5](#subsec:siegel-complexity){reference-type="ref" reference="subsec:siegel-complexity"}.
# Elkies's method for abelian surfaces: the Hilbert case {#sec:hilbert}
## Elkies primes
In this section, we fix a real quadratic field \(F\) of discriminant \(\Delta_F\), and we consider the point counting problem for a p.p. abelian surface \(A\) over \(\mathbb{F}_q\) with real multiplication by \(\mathbb{Z}_F\). By [\[thm:End-NS\]](#thm:End-NS){reference-type="ref" reference="thm:End-NS"}, this real multiplication structure guarantees the presence of supplementary isogenies compared to the Siegel case: for each totally positive \(\beta\in \mathbb{Z}_F\), we can look for \(\beta\)-isogenies \(f\colon A\to A'\) defined over \(\mathbb{F}_q\). Assume further that \(\beta\in \mathbb{Z}_F\) is prime, prime to \(\Delta_F\), and that \(\ell = N_{F/\mathbb{Q}}(\beta)\in \mathbb{Z}\) is also prime; in other words \(\ell\) is a prime that splits in \(F\) in a product of two ideals \((\beta)\cdot(\conj{\beta})\) that are trivial in the narrow class group of \(\mathbb{Z}_F\). By the Čebotarev density theorem, this kind of splitting will occur for a positive proportion of primes \(\ell\in\mathbb{Z}\). We say that \(\beta\) is *Elkies* for \(A\) if a \(\beta\)-isogeny \(f\) with domain \(A\) exists over \(\mathbb{F}_q\). Then \(\ker(f)\subset A[\ell]\) is a \(\pi_A\)-stable subgroup of order \(\ell\); therefore we can hope to obtain information on \(\chi(A)\) mod \(\ell\) by manipulating polynomials of degree \(O(\ell)\) only, as in Elkies's original method for elliptic curves. In the Hilbert case, the Chinese remaindering step is formulated in terms of the real Frobenius endomorphism \(\psi_A = \pi_A+\ros{\pi_A}\) as an element of \(\mathbb{Z}_F\). By the Weil bounds [\[eq:weil-rueck\]](#eq:weil-rueck){reference-type="eqref" reference="eq:weil-rueck"}, we have \[\label{eq:weilbounds-rm} |\Tr(\psi_A)|\leq 4\sqrt{q} \quad \text{and}\quad \Disc(\mathbb{Z}[\psi_A])\leq 4q.\] Assume that \(\beta\) is Elkies, and the eigenvalue \(\lambda\in \mathbb{Z}/\ell\mathbb{Z}\) of \(\pi_A\) on \(\ker(f)\) has been computed. Then we have \[\psi_A = \lambda + q/\lambda \mod\beta\] under the canonical isomorphism \(\mathbb{Z}_F/\beta\mathbb{Z}_F\simeq \mathbb{Z}/\ell\mathbb{Z}\). In the algorithm, we consider a series totally positive Elkies primes \(\beta_i\) in \(\mathbb{Z}_F\), with norms \(\ell_i\in \mathbb{Z}\). We collect the values of \(\psi_A\) modulo \(\beta_i\) as elements of \(\mathbb{Z}/\ell_i\mathbb{Z}\) as above. The Chinese remainder theorem in \(\mathbb{Z}_F\) allows us to reconstruct the value of \(\psi_A\) modulo the ideal \(\id{B} = \prod_i (\beta_i)\). The cost of this reconstruction is negligible when compared to the rest of the algorithm.
Once \(\psi_A\in \mathbb{Z}_F\) has been determined, its characteristic polynomial completely describes \(\chi(A)\), as equations [\[eq:charpoly-schoof\]](#eq:charpoly-schoof){reference-type="eqref" reference="eq:charpoly-schoof"} and [\[eq:charpoly-rm\]](#eq:charpoly-rm){reference-type="eqref" reference="eq:charpoly-rm"} show. Heuristically, we expect that roughly half of the suitable primes \(\beta\) will be Elkies: indeed \(\beta\) is Elkies if and only if the characteristic polynomial of \(\pi_A\) on \(A[\beta]\), a polynomial of degree \(2\), splits in \(\mathbb{Z}/\ell\mathbb{Z}\).
## Modular equations of Hilbert type
The key fact that allows us to reach similar point-counting complexities in the RM case and the case of elliptic curves is that the associated *Hilbert modular equations* have a reasonable size. Denote by \(\mathcal{A}_{2,F}\) the Hilbert moduli space of p.p. abelian surfaces with real multiplication by \(\mathbb{Z}_F\), seen as an algebraic variety over \(\mathbb{Q}\). For each \(\beta\) as above, we have a diagram of \(\mathbb{Q}\)-varieties \[\label{diag:hilbert} \begin{tikzcd} & \mathcal{A}_{2,F}^0(\beta) \ar[ld, "p_1", swap] \ar[rd, "p_2"] & \\ \mathcal{A}_{2,F} & & \mathcal{A}_{2,F} \end{tikzcd}\] where \(\mathcal{A}_{2,F}^0(\beta)\) denotes the coarse moduli space of pairs \((A,K)\) where \(A\) is a p.p. abelian surface with real multiplication by \(\mathbb{Z}_F\), and \(K\subset A[\beta]\) is the kernel of a \(\beta\)-isogeny. The Hilbert modular equations of level \(\beta\) are explicit equations for the image of \(\mathcal{A}_{2,F}^0(\beta)\) in \(\mathcal{A}_{2,F}\times\mathcal{A}_{2,F}\). To define them, we make a choice of coordinates \(j = (j_1,j_2,j_3)\) on \(\mathcal{A}_{2,F}\), related by an explicit equation of the form \[E(j_1,j_2,j_3) = 0.\] Assume further that \(j_1\) and \(j_2\) are algebraically independent, and write \(e = \deg_{j_3}(E)\). The Hilbert modular equations are then the data of the three multivariate rational fractions \(\Psi_{\beta,k}\in \mathbb{Q}(J_1,J_2)[J_3,X]\) of degree at most \(e-1\) in \(J_3\) such that the system of equations [\[eq:siegel-modeq\]](#eq:siegel-modeq){reference-type="eqref" reference="eq:siegel-modeq"} holds with \(\ell\) replaced by \(\beta\). In concrete cases, it is sometimes convenient to modify this definition and consider *symmetric* modular equations on Humbert, rather than Hilbert, surfaces. Recall that there exists a forgetful map \(\mathcal{A}_{2,F}\to \mathcal{A}_2\) which is generically \(2\)-\(1\). The image \(\H_F\) of \(\mathcal{A}_{2,F}\), called the Humbert surface attached to \(\mathbb{Z}_F\), is often less geometrically complicated than \(\mathcal{A}_{2,F}\). Explicit coordinates on \(\H_F\) are also easier to describe: for instance, the Igusa invariants [\[eq:igusa\]](#eq:igusa){reference-type="eqref" reference="eq:igusa"} are always a valid choice. If the discriminant of \(F\) is less than \(100\), then \(\H_F\) is rational, and explicit parametrizations appear in . In the case \(F = \mathbb{Q}(\sqrt{5})\), the Gundlach invariants denoted by \(g_1,g_2\) (see, although other normalizations are also used) are convenient coordinates on \(\H_F\) derived from an explicit description of the associated graded ring of symmetric Hilbert modular forms. We will denote the (symmetric) Hilbert modular equations in Igusa invariants by \(\Psi_{\beta,k}^J\) for \(1\leq k\leq 3\); they are equal for the prime \(\beta\) and its real conjugate \(\conj{\beta}\). Similarly, we denote the Hilbert modular equations of level \(\beta\) in Gundlach invariants for \(F = \mathbb{Q}(\sqrt{5})\) by \(\Psi_{\beta,k}^G\) for \(k = 1,2\); they are multivariate rational fractions in \(\mathbb{Q}(G_1,G_2)[Y]\). Modular equations on Hilbert surfaces describe \(\beta\)-isogenies between abelian surfaces with RM by \(\mathbb{Z}_F\), in a similar way as in §[3.3](#subsec:siegel-modeq){reference-type="ref" reference="subsec:siegel-modeq"} for modular equations of Siegel type. In the symmetric case, modular equations describe \(\beta\)-and \(\conj{\beta}\)-isogenies simultaneously.
## Algorithms for Hilbert modular equations
Let \(\dd(\beta) = \ell +1\) be the degree of \(p_1\) in diagram [\[diag:hilbert\]](#diag:hilbert){reference-type="eqref" reference="diag:hilbert"}. We fix a choice of coordinates \((j_1,j_2,j_3)\) on \(\mathcal{A}_{2,F}\).
This result generalizes to any other real quadratic field \(F\) for which explicit generators of the graded rings of Hilbert modular forms over \(\mathbb{Z}\) are known. Otherwise, the evaluation algorithm can still be run, but it involves a heuristic reconstruction of rational numbers from their complex approximations.
As in [\[thm:isog-siegel\]](#thm:isog-siegel){reference-type="ref" reference="thm:isog-siegel"}, the open subvariety \(U\subset \mathcal{A}_{2,F}^0(\beta)\) in [\[thm:isog-hilbert\]](#thm:isog-hilbert){reference-type="ref" reference="thm:isog-hilbert"} can be described explicitly. It is sufficient to impose the following conditions :
- Both \(A\) and \(A'\) have no extraneous automorphisms as p.p. abelian surfaces;
- There exists only one isogeny \(f\colon A\to A'\) over an algebraic closure of \(k\) whose kernel is cyclic of degree \(\ell\), up to equivalence;
- There exists only one possible real multiplication embedding of \(\mathbb{Z}_F\) inside both \(\End(A)\) up to real conjugation on \(\mathbb{Z}_F\), and the same holds for \(A'\);
- Both \(A\) and \(A'\) lie outside of the singular locus of Igusa invariants.
## Complexity bounds
Let \(q = p^r\) be a prime power, and let \(A\) be a p.p. abelian surface over \(\mathbb{F}_q\) with RM by \(\mathbb{Z}_F\). We apply Elkies's method as follows.
1. Let \(\ell\in \mathbb{Z}\) be a prime with the correct splitting behavior in \(\mathbb{Z}_F\), and let \(\beta\in \mathbb{Z}_F\) be a totally positive prime above \(\ell\). By , it is possible to choose \(\beta\) such that \(\Tr_{F/\mathbb{Q}}(\beta)\in O_F(\sqrt{\ell})\). We evaluate the corresponding modular equations using [\[thm:eval-hilbert\]](#thm:eval-hilbert){reference-type="ref" reference="thm:eval-hilbert"}, for instance in Igusa invariants. Assuming that \(r = o(\log p)\), this costs \(\Otilde_F(\ell^2 \log q)\) binary operations.
2. We then attempt to find a root of these modular equations over \(\mathbb{F}_q\); this costs \(\Otilde(\ell\log^2 q)\) binary operations. If there are none, we skip \(\ell\).
3. If we find one, we attempt to compute a cyclic isogeny \(f\colon A\to A'\) of degree \(\ell\) using [\[thm:isog-hilbert\]](#thm:isog-hilbert){reference-type="ref" reference="thm:isog-hilbert"}. If this computation is successful, we obtain the rational representation of \(f\) as in [\[eq:rational-map\]](#eq:rational-map){reference-type="eqref" reference="eq:rational-map"} in terms of rational functions of degree \(O_F(\sqrt{\ell})\). This costs \(\Otilde_F(\sqrt{\ell})\) binary operations.
4. After that, computing a Gröbner basis describing \(\ker(f)\) costs \(\Otilde(\ell^{3/2}\log q)\) binary operations; the resulting polynomials have degree \(O(\ell)\). Computing the Frobenius eigenvalue on \(\ker(f)\) costs \(\Otilde(\ell\log^2 q)\) binary operations.
By [\[prop:crt-hilbert\]](#prop:crt-hilbert){reference-type="ref" reference="prop:crt-hilbert"}, the total algorithm costs \(\Otilde_F(\log^4 q)\) binary operations provided that sufficiently many Elkies primes exist and the computations of [\[thm:isog-hilbert\]](#thm:isog-hilbert){reference-type="ref" reference="thm:isog-hilbert"} succeed sufficiently often.
## Degenerate cases {#degenerate-cases}
The treatment of degenerate cases which may occur the algorithm above is similar to the Siegel case. The only new possible problems are the following:
1. [\[pb:rm-cm\]]{#pb:rm-cm label="pb:rm-cm"} The algorithm may involve a p.p. abelian surface \(A\) that corresponds to a point where the map from \(\mathcal{A}_{2,F}\) to \(\mathcal{A}_2\) is not étale;
2. [\[pb:rm-end\]]{#pb:rm-end label="pb:rm-end"} \(\End(A)\) may contain an element of norm \(\ell^2\) outside \(\mathbb{Z}_F\);
3. [\[pb:parasites\]]{#pb:parasites label="pb:parasites"} The isogeny algorithm of [\[thm:isog-hilbert\]](#thm:isog-hilbert){reference-type="ref" reference="thm:isog-hilbert"} may output several possibilities for the rational representation of \(f\).
In case [\[pb:rm-cm\]](#pb:rm-cm){reference-type="eqref" reference="pb:rm-cm"}, we can always consider coordinates on the Hilbert surface \(\mathcal{A}_{2,F}\) instead. As in the Siegel case, we incorporate the assumtion that case [\[pb:rm-end\]](#pb:rm-end){reference-type="eqref" reference="pb:rm-end"} does not happen too often into [\[def:elkies-hilbert\]](#def:elkies-hilbert){reference-type="ref" reference="def:elkies-hilbert"} below. Finally, in case [\[pb:parasites\]](#pb:parasites){reference-type="eqref" reference="pb:parasites"}, we can check which of the candidate values actually describes a group morphism between Jacobians; if more than one candidate passes this test, we are led back to case [\[pb:rm-end\]](#pb:rm-end){reference-type="eqref" reference="pb:rm-end"}.
# Experimental results {#sec:exp}
We have implemented algorithms to evaluate modular equations for p.p. abelian surfaces over \(\mathbb{Q}\) and prime finite fields in C . The experiments presented here can be reproduced by downloading the library and running `make reproduce`. In practice, we expect that the evaluation of modular equations will exceed the cost of other polynomial manipulations in Elkies's method by a large margin. In the Siegel case, we consider the "random" tuple of Igusa invariants of small height given by \((159/239,-19/28,-193/246)\). We record the time to evaluate Siegel modular equations at this point for prime levels \(\ell \leq 17\) on a single core (AMD EPYC 7713), and compare it with the cost estimation of \(0.002\, \ell^6 \log(\ell)^3\log\log(\ell)\) seconds.
In light of these results, a point-counting approach based exclusively on Elkies's method for general p.p. abelian surfaces would be unlikely to beat Schoof's method in practical instances. However, using modular equations would still allow one to introduce several improvements inspired from the SEA algorithm (see §[6](#sec:implem){reference-type="ref" reference="sec:implem"}). In the Hilbert case for \(F = \mathbb{Q}(\sqrt{5})\), we consider the pair of "random" Gundlach invariants of small height given by \((-117/64,-199/172)\). We evaluate Hilbert modular equations of level \(\beta\), where \(\beta\in \mathbb{Z}_F\) is totally positive of prime norm \(\ell\leq 500\) at that point, and compare it with the estimation of \(2\cdot 10^{-4}\, \ell^2 \log(\ell)^3 \log\log\ell\) seconds.
For larger primes, counting in core-hours is perhaps more readable.
Consider the problem of counting points on a p.p. abelian surface \(A\) over a prime field \(\mathbb{F}_q\) with \(\log q\simeq 512\) given by these Gundlach invariants. Assuming that half of the primes \(\beta\) are Elkies, a strategy based purely on Elkies's method would involve all primes \(\ell\) up to roughly \(800\) with the correct splitting behavior in \(\mathbb{Z}_F\). We can roughly estimate a total cost of a few core-weeks for this computation, thus indicating that Schoof's method can perhaps be beaten in this context . Finally, we report on the time (in seconds) to evaluate modular equations for Hilbert type in Igusa invariants for \(\ell\leq 50\), at the point given by the parameters \((-239/152, 224/193)\) in the different parametrizations of Humbert surfaces found in , for all real quadratic fields of discriminants up to \(100\).
On the first line, we observe that Hilbert modular equations in Igusa invariants for \(F = \mathbb{Q}(\sqrt{5})\) are indeed more expensive to evaluate than their counterparts in Gundlach invariants.
# Perspectives {#sec:implem}
In this final section, we sketch possible improvements to Elkies's method for abelian surfaces as described above, following existing works in the dimension \(1\) case. They would either reduce the constant factors hidden in complexity estimates by large amounts, or introduce exponential-time gains.
## Smaller modular equations
The modular equations of Siegel and Hilbert type presented above are higher-dimensional analogues of the classical modular polynomials \(\Phi_\ell\) in dimension \(1\). It is well-known that other kinds of modular polynomials provide explicit equations for essentially the same modular curve which are much smaller, despite sharing the same \(O(\ell^3\log\ell)\) size asymptotic: see for instance and the data available at . In the dimension \(2\) case, modular equations written in terms of theta constants are considerably smaller than Siegel or Hilbert modular equations as defined above . One can ask whether this choice of coordinates is the optimal one. More generally, it could well be that systems of equations of the form [\[eq:siegel-modeq\]](#eq:siegel-modeq){reference-type="eqref" reference="eq:siegel-modeq"} inherently force modular equations to have large coefficients; other ways of describing the diagram [\[diag:siegel\]](#diag:siegel){reference-type="eqref" reference="diag:siegel"} might lead to smaller polynomials--for instance, a more intrinsic equation for \(\mathcal{A}_2^0(\ell)\) along with the Atkin--Lehner involution exchanging \(p_1\) and \(p_2\). Such equations do not even have to be defined by a formula valid for each \(\ell\); all we need is an algorithm to compute such equations when \(\ell\) is given, perhaps by computing a basis of Siegel modular forms of level \(\Gamma^0(\ell)\), or Hilbert modular forms of level \(\Gamma^0(\beta)\), on the fly.
## Other SEA strategies
In the case of elliptic curves, there is more to the SEA algorithm than applying Elkies's method to a series of distinct primes. We list some of the possible improvements below. Due to the larger implied constants in complexity estimates about modular equations, we expect these improvements to have an even larger impact on practical running times in higher dimensions.
1. *Isogeny chains.* In favorable situations, modular polynomials of level \(\ell\) can be used to compute not only an \(\ell\)-isogeny \(E\to E'\), but a chain of \(\ell\)-isogenies \(E \to E_1\to \cdots \to E_r\) whose composition is an \(\ell^r\)-isogeny, for some \(r\geq 2\) . This yields the value of \(\chi(E)\) modulo \(\ell^r\). In order to remain within the same complexity bound, one should take \(r\) no greater than \(\log\log(q)/\log(\ell) + O(1)\). The existence of an isogeny chain of the desired length over \(\mathbb{F}_q\) depends on the shape of the connected component of the \(\ell\)-isogeny graph on which \(E\) lies. Note that a chain of length \(r=2\) can be constructed by evaluating modular polynomials only once, at \(E_1\). In dimension \(2\), this strategy seems easier to apply in the Hilbert case, since isogeny graphs are still volcanoes in this case and the composition of a non-backtracking chain of \(\beta\)-isogenies will always be a \(\beta^r\)-isogeny. This property does not hold for \(\ell\)-isogenies in the Siegel case, and the shape of the associated isogeny graphs is also more complicated .
2. *Atkin's method.* It is known that studying the factorization patterns of modular equation of level \(\ell\) over \(\mathbb{F}_q\), even in the absence of rational roots, restrict the possible Frobenius eigenvalues modulo \(\ell\) , . This allows one to take advantage of Atkin (i.e. non-Elkies) primes as well. This information can be used at the end of the point-counting algorithm in an exponential-time sieve, whose practical effect is to reduce the number of necessary Elkies primes. In general, if we can compute \(n\geq 2\) possible values of \(\chi(A)\) modulo \(\ell\), the "value" of \(\ell\) as an Atkin prime is \(\log(\ell)/\log(n)\), and one should only keep the highest-valued primes for the final sieve. Thus, once a few Atkin primes have been collected, it only makes sense to look for low-degree factors of modular equations; this is cheaper than computing the full factorization.
3. *Schoof's method.* When \(\ell = O(\sqrt{\log q})\) is not Elkies, it is usually more interesting to apply Schoof's original method to compute \(\chi(A)\) mod \(\ell\) than attempting to keep \(\ell\) as part of the Atkin data; this makes space for larger primes in the final sieve. If \(\ell\) is very small (for instance \(\ell=2\)), then Schoof's method can also yield \(\chi(A)\) modulo a suitable power of \(\ell\) . | {'timestamp': '2022-03-07T02:03:08', 'yymm': '2203', 'arxiv_id': '2203.02009', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02009'} |
# Introduction
Superconformal field theories (SCFTs) in five spacetime dimensions have received much deserved attention in recent years. Their mere existence forces us to expand our view of quantum field theories, as these fixed points cannot be reached by traditional means of perturbing around free field Lagrangians. Yet, by now, there is overwhelming evidence to support their existence, mostly due to stringy constructions starting with the seminal papers. Broadly speaking, there are three independent, yet complementary points of view for studying these SCFTs, namely their embedding into type IIB brane webs, geometric engineering and holography. Many 5d SCFTs, admit supersymmetry preserving mass deformations, which trigger an RG flow, whose low energy dynamics is effectively captured by an \(\mathcal{N}=1\) gauge theory. Such deformations, preserve the SU(2)\(_R\) symmetry, while breaking the flavour symmetry. An important dynamical question is therefore to determine the full global symmetry of the parent SCFT of a given 5d gauge theory. 5d SCFTs and gauge theories, can possess a Higgs branch of their moduli space of vacua, which in the gauge theory regime can be constructed as the hyperKähler quotient. In the SCFT limit, the hyperKähler quotient, is no longer accessible, due to a lack of a Lagrangian description, making the study of the Higgs branch in this limit more challenging. There are, by now, a plethora of techniques to determine the enhanced global symmetry of the SCFT parent of a given 5d gauge theory, such as 7-brane analysis, superconformal indices, as well as geometric approaches. One particularly elegant approach to determine the SCFT flavour symmetries as well as the Higgs branch of the SCFT, pioneered in, is to consider their magnetic quivers. The magnetic quiver (MQ), of a given 5d theory, is a 3d \(\mathcal{N}=4\) quiver gauge theory, whose Coulomb branch is isomorphic to the Higgs branch of the 5d theory in question. In many cases, though not always, one can show that the magnetic quiver of a given 5d theory, is the 3d mirror of its torus compactification. This leads to an interesting interplay between 5d \(\mathcal{N}=1\) theories and 3d \(\mathcal{N}=4\) theories, and has prompted many recent studies. That 3d magnetic quivers are advantageous, is due to recent advances in extracting the algebraic geometry of 3d \(\mathcal{N}=4\) Coulomb branches. Coulomb branches of 3d \(\mathcal{N}=4\) theories, are parameterised by BPS monopole operators, whose R-charges can be determined from the R-charges of the fermionic content of the . Following the terminology of Gaiotto and Witten, we refer to a 3d \(\mathcal{N}=4\) theory as good, ugly or bad, depending on the conformal dimension of the monopole operators in that theory. A theory is said to be good, if the conformal dimension of all monopole operators is greater than \(\frac{1}{2}\), which is the dimension of a scalar in (2+1) dimensions. A bad theory is one in which some monopole operator has a conformal dimension less than \(\frac{1}{2}\). Finally, in an ugly theory, there are some monopole operators whose conformal dimension is exactly \(\frac{1}{2}\), but none that are smaller. For good or ugly theories, the monopole formula, can correctly produce the Hilbert series of the Coulomb branch, using the UV gauge theory data. However, for bad theories, the monopole formula fails, due to the fact that the UV R-symmetries of the theory are different from the superconformal R-symmetry, and hence the UV R-charge cannot be used to predict the conformal dimension of the SCFT operators. The full structure of the Coulomb branch of some bad theories was recently understood by Assel and Cremonesi in, building on earlier results in. In particular, it was found that for USp\((2N)\) SQCD with \(2N\) flavours in the fundamental representation, the Coulomb branch has two most singular points, where the theory flows to an interacting SCFT in the deep infra-red, with a local mirror Lagrangian in the vicinity of each singular point. This is unlike the situation for good theories, where the most singular point on the moduli space is unique, namely the origin, with an SCFT at the bottom of the RG flow in that vacuum. The Coulomb branch Hilbert series of the local geometry around one of the two most singular points of the USp(\(2N\)) SQCD with \(2N\) flavours was computed in, and shown to agree with the Higgs branch Hilbert series of the local mirror. The goal of this paper is to illuminate the Higgs branch of the SCFT parents of 5d gauge theories whose gauge group is either SO(6), or SO(8), and with matter in the vector, spinor, and conjugate spinor representations. Our motivation is partly due to the fact that, among classical simple gauge groups, the magnetic quivers for \(A_N\) and \(C_N\) cases are well studied, while those of \(B_N\) and \(C_N\) remain relatively unexplored. The magnetic quivers for SO\((N)\) gauge theories with matter in vector representation were recently constructed in, using their embedding into brane webs with O7\(^+\)-planes. The current work complements this study by adding matter in the spinor and the conjugate spinor representations. The reason for restricting the rank of the gauge group is mostly for practical reasons. The construction of magnetic quivers from brane webs with O5-planes, is at present, still not completely systematic. It is, therefore, useful to limit the discussion to situations where a consistency check of our computations is available. For SO(6) gauge theories, this is achieved by comparing the orthosymplectic magnetic quivers obtained from brane webs with an O5-plane, with the unitary magnetic quivers obtained from the brane webs of SU(4) gauge theories. Similarly, for SO(8) gauge theories, one can set up a consistency check, by exploiting SO(8) triality. As we shall see, in the rest of this paper, such considerations also lead to some interesting results for 3d \(\mathcal{N}=4\) theories. In particular, in Section [2](#SO6 theories){reference-type="ref" reference="SO6 theories"}, we exploit the isomorphism between SO(6) and SU(4), to conjecture exact highest weight generating functions for orthosymplectic magnetic quivers, simply by carrying over the results from their unitary counterparts. Similarly, in Section [\[SO8 theories\]](#SO8 theories){reference-type="ref" reference="SO8 theories"}, we uncover several intriguing equalities of moduli spaces, of naively unrelated quivers. Throughout the paper, we encounter magnetic quivers which contain bad USp\((2N)\) nodes, where the effective number of hypermultiplets is exactly \(2N\). We devise a method to associate a Hilbert series to these quivers, by using the local mirror description around one of their two most singular loci. We will refer to this procedure of associating the Coulomb branch Hilbert series of a good theory, to the local geometry of the Coulomb branch near a singular locus of a bad theory as "B2G\". For the specific case of USp\((2)\) with 2 flavours, the prescription is first encountered in section [\[sec:SO6+1S1C1V\]](#sec:SO6+1S1C1V){reference-type="ref" reference="sec:SO6+1S1C1V"}. A similar prescription for USp(\(2N\)) theories for \(N>2\) is used throughout the paper, though the technical details will be published elsewhere. The validity of our prescription is confirmed, by comparing the results with those computed using the Hall-Littlewood technique. In addition, many of the magnetic quivers that involve bad nodes, can have a good "dual\" description, since we have several inequivalent brane constructions for each 5d theory we consider. The Hilbert series computed using our proposed prescription, is also consistent with the good "dual\" quivers. The content of the remainder of this paper is organised as follows: Section [2](#SO6 theories){reference-type="ref" reference="SO6 theories"} contains MQs for SO(6) gauge theories derived from brane webs with O5-planes, as well as MQs for SU(4) theories, derived from ordinary brane webs. Here we will encounter MQs with bad symplectic gauge nodes and devise various methods to extract the good interacting part. Section [\[SO8 theories\]](#SO8 theories){reference-type="ref" reference="SO8 theories"} is dedicated to studying the MQs for SO(8) theories, and a comparison is made between MQs of SO(8) theories related by triality, exchanging spinor, conjugate spinor, and vector representations of SO(8). We conclude with our wish list for future projects in [\[conclusions\]](#conclusions){reference-type="ref" reference="conclusions"}. Appendix [\[appendixA\]](#appendixA){reference-type="ref" reference="appendixA"} contains the unrefined Hilbert series results for the OSp quivers.
# SO(6) vs SU(4) {#SO6 theories}
In this section we consider magnetic quivers for 5d SCFTs that admit a mass deformation, such that their low-energy dynamics is captured by SO(6) gauge theory with \(s\) hypermultiplets in the spinor representation **S**, \(c\) hypermultiplets in the conjugate spinor representation **C** and \(v\) hypermultiplets in the vector representation **V** of SO(6). Since the Lie algebra of SO(6), is isomorphic to the Lie algebra of SU(4), the low-energy theory may also be thought of as SU(4) gauge theory, with \((s+c)\) hypermultiplets in the fundamental representation **F**, and \(v\) hypermultiplets in the 2nd rank antisymmetric representation **AS** of SU(4). The Chern-Simons level for the SU(4)\(_\kappa\) gauge theory is given by \(\kappa = \frac{s-c}{2}\): \[\text{SO}(6)+s\textbf{S}+c\textbf{C}+v\textbf{V}\leftrightarrow \text{SU}(4)_{\frac{s-c}{2}} +(s+c)\textbf{F}+v\textbf{AS}\;.\] One can engineer SO(6)+\(s\)**S**+\(c\)**C**+\(v\)**V** using a five-brane web with an O5-plane. In particular, (conjugate) spinors are introduced as a separate web on the left or right side of an SO(6) five-brane web as given in Figure [\[fig:webwithspinors\]](#fig:webwithspinors){reference-type="ref" reference="fig:webwithspinors"}. This web can be viewed as a quiver theory USp(0)--SO(6)--USp(0), where the USp(0) instanton, plays the role of the spinor matter. | {'timestamp': '2022-03-07T02:00:47', 'yymm': '2203', 'arxiv_id': '2203.01951', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01951'} |
{'timestamp': '2022-03-07T02:04:45', 'yymm': '2203', 'arxiv_id': '2203.02033', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02033'} |
|
# Introduction
Semileptonic rare charm decays are strongly Glashow-Iliopoulos-Maiani (GIM) suppressed in the Standard Model (SM) due to light down-type quarks running in one-loop diagrams . Therefore, Beyond Standard Model (BSM) effects can be probed in \(c\to u\ell^+\ell^-\) modes. However, several impediments need to be overcome in BSM searches in rare charm decays. These include the lack of sufficient theoretical control on decay amplitudes due to strong pollution from intermediate QCD resonances and poor convergence of the heavy quark expansion at the charm mass scale . Null test observables, already part of the ongoing precision programs of \(b\to s\ell^+\ell^-\) transitions, vanish in the SM and hence any signal indicates BSM physics, which makes null tests inevitable in New Physics (NP) searches in \(\vert \Delta c \vert=\vert \Delta u \vert=1\) processes. In particular, the spin structure in rare charm baryon decays offers a rich angular distribution, including several clean null tests . Recent experimental and theoretical progress of rare charm decays is compiled in Ref. . Research interest in the field is rapidly increasing, see *e.g.* . The plan of this paper is as follows. The effective field theory framework and SM phenomenology in rare charm baryon decays is presented in Sec. [2](#sec:eft_pheno){reference-type="ref" reference="sec:eft_pheno"}. Sec. [3](#sec:angular){reference-type="ref" reference="sec:angular"} discusses the NP sensitivity from null tests in angular observables of \(\Lambda_c\to p \mu^+\mu^-\). We discuss further opportunities in rare charm four-body decay modes based on recent results in Ref. and conclude in Sec. [5](#sec:concl){reference-type="ref" reference="sec:concl"}.
# Standard Model phenomenology of rare charm baryon decays {#sec:eft_pheno}
The effective Hamiltonian at the charm mass scale \(\mu_c\) inducing \(c\to u\mu^+\mu^-\) processes reads \[\mathcal{H}_{\rm eff} \supset-\frac{4G_F}{\sqrt2} \frac{\alpha_e}{4\pi} \sum_{k=7,9,10} \bigl( C_kO_k + C_k^\prime O_k^\prime \bigr)\,, \label{eq:Heff}\] where the dimension 6 operators relevant for this work are defined as follows: \[\begin{split} O_7 &= \frac{m_c}{e} (\overline{u}_L \sigma_{\alpha\beta} c_R) F^{\alpha\beta} \,,\\ O_9 &= (\overline{u}_L \gamma_\mu c_L) (\overline{\mu} \gamma^\mu \mu) \,,\\ O_{10} &= (\overline{u}_L \gamma_\mu c_L) (\overline{\mu} \gamma^\mu \gamma_5 \mu) \,, \\ \end{split} \quad\quad \begin{split} O^\prime_7 &= \frac{m_c}{e} (\overline{u}_R \sigma_{\alpha\beta} c_L) F^{\alpha\beta}\,, \\ O^\prime_9 &= (\overline{u}_R \gamma_\mu c_R) (\overline{\mu} \gamma^\mu \mu) \,, \\ O^\prime_{10} &= (\overline{u}_R \gamma_\mu c_R) (\overline{\mu} \gamma^\mu \gamma_5 \mu) \,, \\ \end{split} \label{eq:operators}\] with \(\sigma_{\alpha\beta}=\frac{\text{i}}{2}\left[\gamma_\alpha,\,\gamma_\beta\right]\) and the electromagnetic field strength tensor \(F^{\alpha\beta}\). Short distance contributions to operators in Eq. [\[eq:operators\]](#eq:operators){reference-type="eqref" reference="eq:operators"} in the SM are calculated consistently up to (partly) NNLLO in RG improved perturbation theory in Ref. . All contributions originate solely from four-quark operators at the \(W\) mass scale and are contained in effective \(q^2\) dependent coefficients \(C_7^{\text{eff}}(q^2),\,C_9^{\text{eff}}(q^2)\), where \(q^2\) is the dimuon invariant mass squared and \(C_7^{\text{eff}}\lesssim 10^{-3}\) and \(C_9^{\text{eff}}(q^2>0.1\,\text{GeV}^2)\lesssim 10^{-2}\), negligible for most phenomenological applications, see results in Ref. and discussions in . SM contributions to all primed operators and \(C_{10}\) vanish. Further contributions to \(\vert \Delta c\vert=\vert\Delta u \vert = 1\) come from intermediate resonances, which we parametrize in terms of a sum of Breit-Wigner distributions fit to data. These resonance effects are then added as a contribution to \(O_9\) in \(C_9^R(q^2)\) and are the main source of uncertainty due to unknown strong phases entering the parametrization. Dominant vector resonances include \(M=\rho(770)\), \(\omega(782)\) and \(\phi(1020)\) and parameters are fixed via \(\mathcal{B}_{C_9^R}(\Lambda_{c} \to p\mu^{+}\mu^{-}) = \mathcal{B}(\Lambda_{c} \to pM)\mathcal{B}(M \to \mu^{+}\mu^{-})\,\). Contributions from pseudoscalar mesons \(\eta,\,\eta^\prime\) are found to be negligible on the level of branching ratios in rare charm baryon decays . We demonstrate the dominance of long-range resonances over non-resonant short-distance SM contributions in Fig. [\[fig:br\]](#fig:br){reference-type="ref" reference="fig:br"}, where the \(q^2\) differential branching ratio for \(\Lambda_c \to p \mu^+\mu^-\) is shown in orange and blue, respectively. The main sources of uncertainty are from form factors and due to varying strong phases independently from \(-\pi\) to \(\pi\) for resonant contributions and due to varying the charm mass scale \(\mu_c\) for short-distance SM effects.
# Null test observables in angular distributions and beyond {#sec:angular}
The angular distribution of three-body rare charm baryon decays can be described by the dilepton invariant mass \(q^2\) and a single angle \(\theta_\ell\) associated to the angle between the \(\ell^+\) momentum and the negative direction of flight of the \(\Lambda_c\) in the dilepton rest frame. Then, contributions are split into angular coefficients as \[\frac{\text{d}^2\Gamma}{\text{d}q^2\text{d}\cos\theta_\ell}=\frac{3}{2}\,(K_{1ss}\,\sin^2\theta_\ell\,+\,K_{1cc}\,\cos^2\theta_\ell\,+\,K_{1c}\,\cos\theta_\ell)\, \label{eq:angl_distr}\] where the dependence on Wilson coefficients and form factors of \(K_{1ss},\,K_{1cc}\) and \(K_{1c}\) is given in Ref. . Next to the differential branching ratio, two angular observables can be defined, the fraction of longitudinally polarized dimuons \(F_L\) and the forward-backward asymmetry in the leptons \(A_{\text{FB}}\), defined as \[\begin{aligned}
\label{eq:angulars} F_L=\frac{2\,K_{1ss}-K_{1cc}}{2\,K_{1ss}+K_{1cc}}\,, \quad A_{\text{FB}}=\frac{3}{2}\,\frac{K_{1c}}{2\,K_{1ss}+K_{1cc}}\,, \end{aligned}\] where \(\frac{\text{d}\Gamma}{\text{d}q^2}=2\,K_{1ss}+K_{1cc}\), and one can also define \(\tilde{A}_{\text{FB}}=\frac{3}{2}\frac{K_{1c}}{\Gamma}\) with \(\Gamma=\int_{q_{\text{min}}^2}^{q_{\text{max}}^2}(2\,K_{1ss}+K_{1cc})\text{d}q^2\). We show \(F_L\) (top row), \(\tilde{A}_{\text{FB}}\) (bottom left) and \({A}_{\text{FB}}\) (bottom right) in the SM and in several BSM benchmark scenarios in Fig. [\[fig:ang\]](#fig:ang){reference-type="ref" reference="fig:ang"}. For \(F_L\), we learn that uncertainties associated with resonances drop out in the SM and \(F_L=\frac{1}{3}\) model-independently at both kinematic endpoints . The \(q^2\)-shape is significantly altered from the one in the SM in scenarios involving dipole couplings \(C_7^{(\prime)}\). There is sensitivity to values as low as \(\sim 0.02\), as illustrated in the upper right plot. \(A_{\text{FB}}\) is a SM null test, which is why no orange SM curve is shown (it is exactly zero). Depending on the normalization, the axial vector coupling \(C_{10}\) can also be probed down to \(\sim 0.01\). In \(\tilde{A}_{\text{FB}}\), the normalization is a constant in \(q^2\), and the signal is resonance enhanced, due to large values of \(C_9^R\) around the resonance masses interfering with the BSM coupling \(C_{10}\). This resonance enhancement can not be seen in \(A_{\text{FB}}\) with differential normalization as the peaking contributions in the differential branching ratio around the resonances suppress the signal in the numerator.
# Opportunities with self-analyzing four-body decays {#sec:fourbody}
Recently, further null test opportunities were presented for (quasi-) four-body decay chains of charmed baryons, where the final state baryon further decays weakly with sizable polarization parameter \(\alpha\) . These *self analyzing* four-body final states offer a rich angular distribution with complementary sensitivities to NP couplings. We refer to Ref. for further details, but exemplary discuss for the decay chain \(\Xi_c^+\to \Sigma^+(\to p\pi^0) \mu^+\mu^-\) the forward-backward asymmetry of the final state hadron system \(A_{\text{FB}}^{\text{H}}\), which can be defined in close analogy to \(A_{\text{FB}}\) in Eq. [\[eq:angulars\]](#eq:angulars){reference-type="eqref" reference="eq:angulars"}. \(A_{\text{FB}}^{\text{H}}\) is not a null test, but very sensitive to right-handed quark currents \(C_{7,\,9,\,10}^\prime\). This can be seen in Fig. [\[fig:ang2\]](#fig:ang2){reference-type="ref" reference="fig:ang2"}, where the upper plot shows the SM in orange and contributions for sizable right-handed currents in red and green, compared to small deviations induced by NP in \(C_7\) in blue, whereas NP benchmarks with \(C_9\) or \(C_{10}\) are not shown, as they are SM--like. The lower plots again illustrate sensitivities, the plot to the left for \(C_7^\prime\) and the plot to the right for \(C_{10}^\prime\), but a plot for \(C_9^\prime\) would be equal to the latter within uncertainties. As evident from the lower row plots, \(C_{7}^\prime\) can be probed down to \(\sim 0.01\), whereas the sensitivity in \(C_{9,\,(10)}^\prime\) is \(\mathcal{O}(0.1)\). Beyond \(A_{\text{FB}}^{\text{H}}\), the angular distribution offers three additional null tests, one of which is the combined forward-backward asymmetry of the lepton and hadron system. As discussed in detail in Ref. , \(F_L\) and the three forward-backward asymmetries are already sufficient to qualitatively disentangle NP effects from \(C_7,\,C_7^\prime, C_9^\prime, C_{10}\) and \(C_{10}^\prime\).
# Conclusions {#sec:concl}
We presented null tests in angular observables of three-and four-body decays of charmed baryons and investigated their NP sensitivity. Along with the fraction of longitudinally polarized dimuons \(F_L\) and the hadron-side forward-backward asymmetry \(A_{\text{FB}}^{\text{H}}\), dipole operators \(O_{7}^{(\prime)}\) can be probed down to values as small as \(\sim0.01\) and right-handed vector couplings \(C_{9}^{\prime}\) down to \(\mathcal{O}(0.1)\), whereas the null tests probe axial vector couplings \(C_{10}^{(\prime)}\), which are zero in the standard model, with a significance of few\(\,\times\,0.01\). This null test strategy exploits synergies between three-and four-body modes and complements null test searches in rare charm meson decays. Contributions to different Wilson coefficients are disentangled and thus the issue of dominating resonance effects in rare charm decays is overcome. The presented strategy therefore constitutes an excellent road towards a future global fit, crucial for BSM tests with flavor changing neutral currents in the up-type flavor sector. MG would like to thank the organizers for the wonderful web-format of the conference. This work is supported by the *Studienstiftung des Deutschen Volkes* (MG) and in part by the *Bundesministerium für Bildung und Forschung* (BMBF) under project number 05H21PECL2 (GH). | {'timestamp': '2022-03-07T02:01:05', 'yymm': '2203', 'arxiv_id': '2203.01965', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01965'} |
null | null |
# Introduction
The Transiting Exoplanet Survey Satellite (TESS; @Ricker_TESS) has vastly increased the number of planets available for detailed characterization; more than 5000 TESS Objects of Interest (TOI; @Guerrero2021) have now been detected [^1]. TOIs are candidate or confirmed transiting planets. With the launch of JWST and increasing numbers of space and ground based measurements of exoplanet atmospheres (e.g. @Benneke2019 [@DiamondLowe2020]), exoplanet science is moving beyond discovery into detailed characterization. Exoplanet characterization efforts require a careful treatment of starspots and flares to avoid false positives in atmospheric line or bio-signature detections and to probe non-equilibrium atmospheric states resulting from high rates of flaring.
Stellar flares occur when magnetic reconnection in the stellar atmosphere accelerates charged particles into the photosphere, heating the plasma and releasing energy across the electromagnetic spectrum. Low mass stars can remain active for \(\sim\)`<!-- -->`{=html}10 Gyr, frequently emitting superflares 10-1000\(\times\) larger than flares from our Sun. Superflares may impinge on the habitability of terrestrial planets orbiting in the liquid-water habitable zones (HZ) of these stars, although it remains uncertain if they are a net positive for surface life. A high flare rate may photo-dissociate atmospheric volatiles such as ozone, allowing lethal doses of UV surface radiation. On the other hand, the UV energy needed for pre-biotic chemistry on planets orbiting low mass stars can only come from flares.
Although flares impact both exoplanet characterization and habitability, no comprehensive survey of the flare rates of the TOI catalog exists. The impact of flaring on each confirmed TOI has been assessed largely on a case-by-case basis. Usually, discovery papers acknowledge whether flares were observed by TESS or not but do not measure the flare frequency distribution or place upper limits on the flare rate. As a result, \(\sim\)`<!-- -->`{=html}15 TOI host stars have measured flare rates (e.g. @Gunter2020 [@Pope2021; @Gilbert2021; @Bogner2021; @Colombo2022arXiv]). Most notably, performed a flare search on all single low mass stars in the southern sky within 15 pc. By employing injection and recovery testing, they measured flare rates or placed upper limits for 5 of the most promising TOIs for future characterization.
Most of the sky has now been observed continuously for at least 2 months during the TESS Prime and Extended Mission, sufficient to place strong upper limits on the flare rates of low mass TOIs. We carry out the first comprehensive search for flares for all 2250 non-retired TOIs with 2 min light curves (Fig. [\[fig:flaring_cartograph\]](#fig:flaring_cartograph){reference-type="ref" reference="fig:flaring_cartograph"}). Non-retired TOIs are those that have not been classified as false positives by the TESS mission. Following, we use injection testing to obtain upper limits on the flare rates of all non-flaring TOIs in order to determine "worst case scenarios\" for atmospheric characterization.
# Building the TOI Flare Catalog {#TOIsample}
TESS searches the entire sky for both transiting exoplanets and astrophysical variability in a tiling-based approach. The sky is split into 24\(\times\)`<!-- -->`{=html}96 deg\(^{2}\) sectors, which are each observed for 28 days at a time with four on-board 10.5 cm telescopes in a red (600-1000 nm) bandpass. A given sector is therefore revisited with a \(\sim2\) year cadence, although overlaps between sectors can increase coverage. Targets in the Continuous Viewing Zone are observed with almost unbroken coverage for a year. Since 2018, TESS has identified more than 5000 exoplanet candidates, or TOIs. We select all TOIs with 2 min photometry for our flare analysis, except for those TOIs with a TESS disposition indicating known false positives (FP). TOIs from 10-30 min cadence light curves are excluded due to a need to resolve flares. In sum, we download Simple Aperture Photometry (SAP) light curves for 2250 TOI planet candidates and 2096 host stars meeting these criteria from the Mikulski Archive for Space Telescopes (MAST).
Long-term variability is carefully removed from each light curve before searching for flares. First, the period of variability is estimated from a Lomb-Scargle periodogram of the light curve. The highest peak with a signal/noise ratio (S/N) above 50 is selected as the best period; otherwise the period is set to \(\sim\)`<!-- -->`{=html}2 d to ensure any out-of-flare variability at longer timescales is removed. Not all long-term variability is strictly periodic. Next, we fit and remove the out-of-flare variability using a Savitzky--Golay (SG) filter with a window size determined by the estimated variability period as described in. An example of this fitting process is shown in Fig. [\[fig:methods_overview_fig\]](#fig:methods_overview_fig){reference-type="ref" reference="fig:methods_overview_fig"}. Light curves are then converted into fractional flux units as in.
Flares are identified by an automated algorithm described in as \(\geq\)`<!-- -->`{=html}4.5\(\sigma\) excursions above the photometric scatter in the detrended light curve. Flare start and stop times are given as the first and last timestamps with fluxes more than 1\(\sigma\) above the noise and are subsequently adjusted by eye. Candidates are inspected for FPs. The equivalent duration (ED) of each flare is obtained by integrating the fractional flux between the start and stop times in seconds. The quiescent luminosity of each star \(Q_0\) is computed in \(T\) in erg \(s^{-1}\) using the \(T\)=0 to flux calibration, the stellar distance, and the \(T\) mag using values primarily from the TESS Input Catalog. Bolometric flare energies are computed as \(E_\mathrm{bol} = Q_0\times\)ED\(\times f_\mathrm{bol}^{-1}\) assuming a canonical \(\sim\)`<!-- -->`{=html}9000 K flare with a \(T\)-\(E_\mathrm{bol}\) conversion factor of \(f_\mathrm{bol}\)=0.19. In all, we observe 697 flares from 87 unique host stars to 93 TOIs.
## Flare rates for each TOI {#tess_FFDs}
Flare emission from the sun and other stars is described by a power law in which higher energy flares are emitted less frequently than lower energy flares. Flare frequency distributions (FFDs) are computed for each TOI given the cumulative rate at which flares of energy \(E\) or greater are observed per day and the total observing time. FFDs are fit in log-log space in the usual way: \[\log{\nu}=(1-\alpha)\log{E} + \beta\] Here, \(\nu\) is the number of flares with an energy greater than or equal to \(E\) erg per day, 1-\(\alpha\) describes the frequency at which flares of various energies occur, and \(\beta\) determines the overall rate of flaring. We calculate the uncertainty in the cumulative occurrence rate for each energy value with a binomial 1\(\sigma\) confidence interval (CI). Rates and uncertainties of the smallest flares are corrected/propagated when below the 100% completeness fraction as computed below. Previous studies find \(\alpha\approx 2\) (e.g. @Ilin2021a [@Medina2020]). We use this information to constrain 1-\(\alpha\) when fitting FFDs to stars with less than 5 flares. There is some debate in the literature whether \(\alpha=2\) or depends on factors such as stellar rotation. We therefore fit 200 trials for each FFD as shown in Fig. [\[fig:methods_overview_fig\]](#fig:methods_overview_fig){reference-type="ref" reference="fig:methods_overview_fig"}, varying the y-axis values within their uncertainties and allowing fits across the 1.3\(<\alpha<\)`<!-- -->`{=html}2.3 literature range (e.g. @Howard2019 [@Ilin2021a; @Feinstein2022]). Injection and recovery tests are performed for both flaring and non-flaring TOIs to determine the completeness fraction of flares recovered from each TOI as a function of flare energy following. Batches of 100 flares of a given size are randomly injected into separate instances of each light curve and the number of flares recovered is recorded. The process is repeated for increasingly large sets of flares in order to determine when the recovery fraction converges to one. The 10% completeness fractions (i.e. a proxy for the minimum fraction with sufficient signal to correct for incompleteness), and 100% completeness levels are reported in Table [\[table:all_toi_tab\]](#table:all_toi_tab){reference-type="ref" reference="table:all_toi_tab"}, respectively. Injection testing of the non-flaring TOIs enables upper limits to be placed on their flare rates when combined with the total observation time. First, the upper 1\(\sigma\) binomial uncertainty on the number of flares of energy \(E_\mathrm{min}\) observed across the total observation time in days is measured. Then the rate of flares per day of \(\geq E_\mathrm{min}\) is fit with 200 FFD trials across the full \(\alpha\) range. When no flares are observed, we report the number of flares as zero and the FFD fit parameters for the upper limit in Table [\[table:all_toi_tab\]](#table:all_toi_tab){reference-type="ref" reference="table:all_toi_tab"}.
# Suitability for atmospheric characterization and flare rates {#sorted_by_flaring}
TOIs are ranked by flaring on their suitability for follow-up, where the most promising targets for follow-up are low mass stars with low flare rates. Each TOI is assigned a ranking between zero and one, with one being highly-favorable for follow-up and zero very unfavorable. This TOI flare ranking metric (FRM) sorts TOIs by increasing flare rate within distinct groupings organized by stellar mass and distance, with nearby, low mass stars ranked higher than distant, high mass stars. The quiescent brightness of higher mass stars reduces the contrast of a given size flare and induces a flare detection bias toward higher energies from larger stars. Grouping the TOIs by stellar mass minimizes this bias and facilitates comparisons of the relative suitability for follow-up between stars of different masses. Grouping by distance accounts for the increased priority for follow-up of stars in the solar neighborhood. The first several groups are ordered as follows: 0.1-0.3\(M_\odot\) late M-dwarfs within 15 pc, 0.3-0.6\(M_\odot\) early M-dwarfs within 15 pc, 0.1-0.3\(M_\odot\) late M-dwarfs beyond 15 pc, 0.3-0.6\(M_\odot\) early M-dwarfs beyond 15 pc, 0.6-0.75\(M_\odot\) late K-dwarfs within 36 pc, 0.75-0.9\(M_\odot\) early K-dwarfs within 36 pc, 0.6-0.75\(M_\odot\) late K-dwarfs beyond 36 pc, 0.75-0.9\(M_\odot\) early K-dwarfs beyond 36 pc, and so on. The grouping order continues to higher-mass stars until all TOIs are included. gives 15 pc as the demarcation distance between nearby and distant M-dwarfs. We compute an equivalent demarcation distance for the larger mass bins such that the apparent magnitude of stars in each bin is approximately comparable to M-dwarfs observed from 15 pc.
Sorting by flare rates/upper limits within each of these mass-distance groupings broadly agrees with our intuitions that a nearby rocky planet orbiting an M-dwarf flare star is less suitable for characterization than a a nearby rocky planet orbiting a non-flaring M-dwarf, while still having a higher priority for follow-up than a planet orbiting a distant G-dwarf from which no flares were observed. The catalog ranking for the top 10% of targets is shown in Fig. [\[fig:results_fig\]](#fig:results_fig){reference-type="ref" reference="fig:results_fig"} to illustrate the effects of flare rate, stellar mass, and distance on the flare ranking. Specific use cases for our catalog may benefit from sorting the flare rates of the TOIs with different criteria or in a different order, which may be done using the columns provided in the machine-readable version of Table [\[table:all_toi_tab\]](#table:all_toi_tab){reference-type="ref" reference="table:all_toi_tab"}. The final flare ranking is generated by splitting the catalog into three categories based on TFOP working group disposition in ExoFOP-TESS. TFOP-confirmed planets and active candidates are placed first, then ambiguous candidates second, and candidates retired as FPs third. Within each TFOP category, the mass, distance, and flare rate ordering is preserved.
Once each TOI is assigned its final flare ranking, we cross-correlate the flare catalog with those targets for which a 10 hr JWST program could detect exoplanet atmospheres. Following, we compute a transmission spectroscopy metric (TSM) for each TOI in our sample as described by Equation 1 of, reproduced below: \[\mathrm{TSM} = f_s \times \frac{{R_p}^3 T_\mathrm{eq}}{M_p {R_{*}}^2} \times 10^{-m_J/5}\] Here, \(f_s\) is the scale factor as computed in Table 1 of. \(R_p\) is the ExoFOP planet radius, \(T_\mathrm{eq}\) is the estimated planet equilibrium temperature, \(M_p\) is the estimated planet mass, \(R_*\) is the estimated stellar radius, and \(m_J\) is the \(J\) magnitude estimated from. We refer the reader to for details. The TSM scales with the signal-to-noise of exoplanet atmospheric features, assuming a cloud-free atmosphere and 10 hr of JWST observations. define a detectable atmosphere to have TSM\(>\)`<!-- -->`{=html}10 for terrestrial planets and TSM\(>\)`<!-- -->`{=html}90 for larger planets. Since our inputs to the TSM equation are estimated from ExoFOP, we caution that terrestrial planets just above or below TSM=10 may be consistent with slightly lower or higher values across the cutoff. Highly-ranked TOIs in our flare catalog that also have high TSM values are particularly compelling for follow-up.
# Key results of the TOI flare catalog for atmospheric follow-up {#key_results_sect}
Across the sample, we find small (\(<\)`<!-- -->`{=html}1.5\(R_\oplus\)) TOIs are more likely to orbit flare stars than larger planets as shown in Fig. [\[fig:results_fig\]](#fig:results_fig){reference-type="ref" reference="fig:results_fig"}. This is a result of the high signal to noise of small planets orbiting low mass stars and the oftentimes high flare rates of these stars.
## Terrestrial planets potentially suitable for follow-up {#some_exciting_targets}
M-dwarf planets or likely candidates of \(<\)`<!-- -->`{=html}1.5\(R_\oplus\) flagged as suitable for JWST transmission spectroscopy make up 35 out of 2250 TOIs in the catalog. Of these, nine or 25.7\(\substack{+12 \\-7}\)% orbit stars observed to flare. These TOIs are LHS 3844 b, the L 98-59 system, the LTT 1445 system, TOI 486.01, TOI 540 b, the GJ 1132 system, TOI 1450.01, and TOI 2267.01 as shown in Fig. [\[fig:results_fig\]](#fig:results_fig){reference-type="ref" reference="fig:results_fig"}. Three orbit flare stars with FFDs previously reported from. The flare rate of LTT 1445 was previously measured by but the flares likely come from the BC component. fits dozens of FFDs which includes the host stars to LHS 1815 b, the L 98-59 system, TOI 486, and TOI 1450 but does not report FFD fit parameters for these stars.
We do not detect flares from the remaining 26 terrestrial TOIs amenable to characterization, but place upper limits on their flare rates in Table [\[table:all_toi_tab\]](#table:all_toi_tab){reference-type="ref" reference="table:all_toi_tab"}. More than 90% of these did not have previous upper limits. Each of the 35 flagged TOIs is in the top 10% of our flare suitability ranking, and even the most active do not reach the ozone depletion zone of, although some disequilibrium chemistry is consistent with the rates/upper limits of several TOIs.
## Other flaring and non-flaring TOIs of note {#other_exciting_targets}
The flare rates of the remaining TOIs in our sample enable characterization of super-earths, mini-Neptunes, and several planets in the HZ. Terrestrial HZ planets in our sample include TOI 700 d, LHS 1140 b, TOI 715.01, and TOI 4312.01 (Fig. [\[fig:results_fig\]](#fig:results_fig){reference-type="ref" reference="fig:results_fig"}). The first two are among the most exciting planets for large follow-up programs. We report upper limits on the rate of 10\(^{34}\) erg superflare yr\(^{-1}\) of 0.25 and 0.71 for these TOIs, respectively. TOI 715.01 is a 1.7\(R_\oplus\) super-earth orbiting a likely M-dwarf. It emits no more than 0.15 10\(^{34}\) erg superflare yr\(^{-1}\). TOI 4312.01 is a 2.4\(R_\oplus\) candidate with an upper limit of 4.7 10\(^{34}\) erg superflare yr\(^{-1}\).
# Conclusions {#conclude}
We present the first comprehensive TOI flare survey. A new flare ranking metric is created to aid proposers in selecting planets for further characterization. The metric of every TOI is cross-matched against a S/N metric for a 10 hr JWST program. As a result, we discover that \(\leq\)`<!-- -->`{=html}1.5\(R_\oplus\) TOIs orbit flare stars more frequently than do larger planets, and find 1/4 of all \(<\)`<!-- -->`{=html}1.5\(R_\oplus\) TOIs around M-dwarfs accessible to transmission spectroscopy with JWST orbit flare stars. Even though none of the hosts of terrestrial planets suitable for characterization reach the flares rates needed for complete ozone loss, it has been shown that flare rates a factor of \(\sim\)`<!-- -->`{=html}10\(\times\) lower may still induce significant dis-equilibrium states. These lower rates are comparable to the flare rates and upper limits of the TOIs presented here. Therefore, spectral modeling of dis-equilibrium chemistry and atmospheric survival will be needed on a case-by-case basis and population level to understand atmospheric signals. In addition to JWST, the upcoming 2029 launch of the Ariel mission to characterize the atmospheric properties of exoplanets would benefit from our catalog. Finally, our sample of flaring TOIs provides an excellent dataset for optical counterparts to radio star-planet interactions. | {'timestamp': '2022-03-07T02:00:48', 'yymm': '2203', 'arxiv_id': '2203.01954', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01954'} |
# Motivation and significance
Scanned probe techniques such as scanning tunneling microscopy (STM) and non-contact atomic force microscopy (nc-AFM) have now made direct investigation of on-surface reactions a routine experimental technique. As the diverse ecosystem of organic molecules accessible by these techniques continues to grow so does the need for more sophisticated tools to extract quantitative information from larger and more complicated datasets of molecule imaging. Extracting statistics from STM images is often done by hand. This necessarily limits the size and complexity of statistical problems that can be tackled using these datasets. To address this limitation in extracting and categorizing molecules in STM images, we developed an automated scheme utilizing existing image processing libraries written using the Python programming language. The existing widely used programs for the analysis of scanned probe data (WSxM and Gwyddion ) do not presently incorporate tools for automated image processing and feature extraction. ImageJ is a powerful and widely used piece of software in the biology community, but lacks compatibility and relevance for the datasets this package is designed to address. Another hindrance is that these image processing tools for biology applications are often written using commercial, closed source MATLAB code. Digital Surf has feature categorization tools but is also commercial and closed source. There has been recent progress in developing machine-learning based tools for the automated assignment of atomic structure and defect information from scanned probe datasets, as well as automated routines for improving the probe condition in STM. However these solutions address comparatively homogeneous datasets of more simple structures compared the present case, or require the computational resources and data (real or artificial) to train a convolutional neural network. We wanted to avoid this approach and instead develop a lightweight tool to quickly identify statistical trends in a large number of STM images with a diverse manifold of initially unknown molecular species; the functions offered in this package were used to prepare Fig. 3 in Hellerstedt *et. al*. Our approach addresses some specific obstacles. There are practical limitations to the data resolution versus the number of species sampled. The sorting method needs account for different adsorption configurations of the same species (*e.g.*, rotations and chirality). While explicit pairwise template matching has advantages in robustness, it suffers from the computational demands scaling in quadrature with the number of molecules to be sorted. Our solution to these problems relies on the Zernike polynomial basis set to provide a "fingerprint\" of coefficients representing every molecule. These coefficients are robust in response to rotations and noise in the data. In conjunction with other physically motivated coefficients, they provide the input to clustering algorithms for sorting the molecules. There are many different algorithms that can be applied to this type of data for the purposes of grouping like kinds of molecules together. We discuss some of the approaches we applied and their relative efficacy.
# Software description
This package consists of a set of functions written using the Python libraries Numpy, scikit-image, scikit-learn, Mahotas and Matplotlib. In practice, it is a series of functions called sequentially as shown in Fig. [\[flowchart\]](#flowchart){reference-type="ref" reference="flowchart"}. We developed the current implementation to be useful 'out-of-the-box' with only minimum skill prerequisites required (*e.g.*, installing a python distribution and necessary packages). The modular nature of the data processing flow allows for a great deal of flexibility to address different datasets. The open source, repository based distribution of this package allows for further customization, and the possibility for community based development and improvement on these core functionalities.
## Software Architecture
We first read in the image data and apply filters to make the image suitable for molecule template extraction using an adaptive threshold. After identifying closed contours corresponding to the perimeters of each molecule, we use the interior data of each contour as a representative template image. We then extract numerical features from each molecule, consisting of the calculated Zernike moments of the template images as well as the maximum topographic heights and the contour perimeter lengths. Finally, we use clustering algorithms to categorize these features. Further functionality is provided to visualize the sorted categories, and make manual corrections. Figure [\[flowchart\]](#flowchart){reference-type="ref" reference="flowchart"} shows the typical use of the provided functions. We rely on the Nanonispy library to read in data from one of the prevalent formats (Nanonis SXM files). This generates an array of pixel data and the rescaling factors to convert to real-space distances.
## Software Functionalities
The default filtering function provided performs a Gaussian filter and plane fit subtraction of the image data. We calculate the global Otsu threshold and use that to scale the offset value for feature extraction using a local thresholding method. We include diagnostic functions that can plot the filtered image data with the extracted contours, labeled by number, as well as a grid view of all the extracted molecule templates. Zernike moments are the coefficients for representing an image decomposed into the orthogonal Zernike polynomial basis set. This method has attracted attention and effort in the computer vision community for being rotationally invariant. This property is particularly useful in the context of our application because we wish to match molecules regardless of how they are absorbed on the sample surface. We utilize the Mahotas library for calculating the Zernike moments for each molecule template. We set the median template diagonal length as the default value of the Zernike radius input, an assumption that could fail depending on the homogeneity of the templates. In addition to rotational invariance, these moments are insensitive to translation, mirroring, and rescaling. To account for differences in the real space footprint of each molecule, we additionally calculate the length, as well as the maximum pixel value within each contour. With these characteristic moments and physical length scales, we perform a clustering analysis using the algorithms available in the Scikit-learn library. For the datasets studied in this work, we found the Birch algorithm with a threshold factor between 0.1 to 0.4 to be most effective at sorting images with no *a priori* knowledge of the number of categories. When the number of sorting categories is known, hierarchical clustering was found to be more accurate. The most effective sorting was accomplished using affinity propagation, where the cluster center preferences were defined using a hand-selected set of exemplar molecules. The invariance of the Zernike moments to mirror symmetry in particular, makes them insensitive to differentiating between chiral molecules. Absolute quantifications of chirality are surprisingly difficult to define. We developed a function to do a pairwise comparison of molecules within each sorted category. By comparing each molecule and its mirror image, they can be sorted into right-and left-handed categories. All these image, contour, correlations, and categorization data can be exported/ saved for later use. Also included is a function using the interactive features of Matplotlib to manually categorize all the molecules.
# Illustrative Examples
Representative outputs for the three example datasets from hand-selected exemplar molecules are shown in Figs. [\[APT-044-counted\]](#APT-044-counted){reference-type="ref" reference="APT-044-counted"}, [\[APT-111-counted\]](#APT-111-counted){reference-type="ref" reference="APT-111-counted"} and [\[helicene-counted\]](#helicene-counted){reference-type="ref" reference="helicene-counted"}. The work on the 9-azidophenanthrene system which was the source of the data in Figs. [\[APT-044-counted\]](#APT-044-counted){reference-type="ref" reference="APT-044-counted"} and [\[APT-111-counted\]](#APT-111-counted){reference-type="ref" reference="APT-111-counted"} provided the original impetus to develop this package. The helicene data shown in Fig. [\[helicene-counted\]](#helicene-counted){reference-type="ref" reference="helicene-counted"} has been previously described in the literature. These data were acquired via scanning tunneling microscopy at low temperature (\(\sim\) 5 K), with a pixel density of 10 nm\(^{-1}\) to 13 nm\(^{-1}\).
# Expected Impact
This is the first effort to our knowledge to create an open source scheme to automate the task of counting and sorting hundreds of molecules, specifically tailored for scanning probe microscopy datasets. We expect this package to be immediately useful for anyone tasked with extracting population statistics from images comparable to those included as examples. This tool has already proven useful by making it easy to quickly extract and visualize population statistics in image datasets. By scaling the statistics and quantitative information that can be extracted from these types of datasets, we anticipate that this will facilitate the ability to answer novel and more nuanced questions about how chemical processes unfold on a surface. We hope to reveal and address limitations by having this set of functions applied to the increasingly diverse ecosystem of on-surface chemistry being explored by the greater scanning probe community.
# Conclusions
Here we have presented our efforts to automate the counting and sorting of molecules in topographic images acquired with a scanning tunneling microscope. The example datasets, images with several hundred molecules, can be sorted on a personal computer in seconds. The python based, open source, modular design of the components strives to be immediately accessible to a non-expert user, and allow for significant modification/ customization to suit individual needs. We hope that use and feedback from the wider community will allow this tool to continue to be developed and provide utility for advancing the understanding of on-surface chemistry experiments.
# Software/ Data availability
This package is available on GitHub and archived at:<https://doi.org/10.5281/zenodo.6324850>The data in Figures [\[APT-044-counted\]](#APT-044-counted){reference-type="ref" reference="APT-044-counted"}, [\[APT-111-counted\]](#APT-111-counted){reference-type="ref" reference="APT-111-counted"}, [\[helicene-counted\]](#helicene-counted){reference-type="ref" reference="helicene-counted"} is available on figshare: <https://doi.org/10.6084/m9.figshare.19217556> | {'timestamp': '2022-03-07T02:02:49', 'yymm': '2203', 'arxiv_id': '2203.01998', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01998'} |
# Introduction {#sec:intro}
Active galactic nuclei (AGN) are amongst the most luminous objects (L = 10\(^{42}\) \(-\) 10\(^{46}\) erg s\(^{-1}\); @1999PNAS...96.4749F) in the Universe that emit radiation over a wide range of wavelengths. They are believed to be powered by accretion of matter onto SMBH (10\(^5\) \(-\) 10\(^9\) \(M_{\odot}\)) situated at the center of galaxies. The SMBH is generally supposed to be surrounded by an optically thick and geometrically thin accretion disk. The observed X-ray emission from the nuclear region of the radio-quiet category of AGN is believed to be produced by inverse Compton process, caused by the interaction of the seed ultra-violet (UV) photons from the accretion disk with the thermal electrons in a hot (\(\sim\)`<!-- -->`{=html}10\(^{8-9}\) K) region called the corona that is situated close to the accretion disk. This X-ray continuum gets reprocessed in the accretion disk giving rise to the reflection hump at around 15\(-\)`<!-- -->`{=html}30 keV and also the broad FeK\(\alpha\) line at 6.4 keV. Soft excess between 0.1 \(-\) 2 keV is ubiquitously observed in Type I AGN, although the physical origin of this component remains highly debated, different analyses showed that a two temperature Comptonization process agrees well with such a component either from an observational (e.g. @2012MNRAS.420.1825J [@2018A&A...609A..42P; @2018A&A...611A..59P; @2020A&A...640A..99M; @2020MNRAS.497.2352M]) or theoretical (e.g. @2015A&A...580A..77R [@2020A&A...634A..85P; @2020MNRAS.491.3553B; @2020MNRAS.496.4255B]) point of view. Analysis of these spectral features (reflection, FeK\(\alpha\) line, soft excess) will help in providing strong constraints on the nature of the X-ray emitting region. From X-ray reverberation studies AGN corona is believed to be a compact region situated above the accretion disk typically within 3\(-\)`<!-- -->`{=html}10 \(R_G\), where \(R_G\) is the gravitational radius and it is defined as, \(R_G = GM_{BH}/c^2\), here M\(_{BH}\) is the SMBH mass and \(G\) is the gravitational constant. However, there are strong debates concerning the geometry of the corona. The lamp post is one such possibility but other models also exist (e.g. @1994ApJ...432L..95H [@2012MNRAS.420.1848D; @2013A&A...549A..73P]).Also, rapid X-ray flux variability studies, the observed small time scales of X-ray eclipses and microlensing studies point to the small size of the X-ray corona of 5\(-\)`<!-- -->`{=html}10 \(R_G\). The observed shape of the X-ray continuum can be described by a power law with an exponential cut-off (\(\rm{E_{cut}}\)), and the spectral shape depends on the optical depth (\(\tau\)), temperature of the coronal plasma (\(\rm{kT_{e}}\)), seed photon temperature and the viewing angle. From a study of the Seyfert galaxy NGC 5548, showed the existence of an approximate relation between \(\rm{E_{cut}}\) and \(\rm{kT_{e}}\) as \(\rm{E_{cut}}\) = 2\(-\)`<!-- -->`{=html}3 \(\rm{kT_{e}}\). On analysis of a sample of Seyfert galaxies, according to, for an optically thin corona with \(\tau\) \(<\) 1; \(\rm{E_{cut}}\) \(\approx\) 2 \(\rm{kT_{e}}\), while for an optically thick corona with \(\tau\) \(>\) 1, \(\rm{E_{cut}}\) \(\approx\) 3 \(\rm{kT_{e}}\). However, by fitting Comptonized spectra simulated using a range of \(\tau\) and \(\rm{kT_{e}}\) with a power law with an exponential cut-off model,, showed that the commonly adopted relation of \(\rm{E_{cut}}\) = 2\(-\)`<!-- -->`{=html}3 \(\rm{kT_{e}}\) is not valid for all values of \(\tau\) and \(\rm{kT_{e}}\), instead valid for only low values of \(\tau\) and \(\rm{kT_{e}}\).
Observations from high energy X-ray missions such as *CGRO* , *BeppoSAX*, *INTEGRAL* [@2014ApJ...782L..25M; @2010MNRAS.408.1851L; @2016MNRAS.458.2454L; @2011A&A...532A.102R], *Swift*-BAT; and *Suzaku* showed that the corona in Seyfert galaxies has a wide range of temperature with \(\rm{E_{cut}}\) ranging from 50 \(-\) 500 keV. However, observations from those missions are limited to bright and nearby sources. Thus, it is very clear that many efforts were put to measure \(\rm{E_{cut}}\) in the X-ray spectra of several AGN. However, a major transformation in the studies of the Comptonization spectrum of AGN to determine \(\rm{E_{cut}}\) from an epoch of observation happened after the launch of the *Nuclear Spectroscopic Telescope Array* (*NuSTAR*; @2013ApJ...770..103H) in the year 2012, owing to its broad spectral coverage of 3\(-\)`<!-- -->`{=html}79 keV and its high sensitivity beyond 10 keV. Since the launch of *NuSTAR*, \(\rm{E_{cut}}\) values were obtained for many AGN. Importantly, in addition to the determination of \(\rm{E_{cut}}\) values (and thereby constraining \(\rm{kT_{e}}\)), in less than half-a-dozen sources there are also reports of variation in the \(\rm{E_{cut}}\) values pointing to variations in \(\rm{kT_{e}}\). For example in seven sources, namely MCG-5-23-16, 3C 382 , NGC 4593, NGC 5548, Mrk 335, NGC 3227 and SWIFT J2127.4+5654 variations in the \(\rm{E_{cut}}\) values are available in the literature. Recently, from a reanalysis of the *NuSTAR* spectra of five sources using a model independent approach, confirmed the \(\rm{E_{cut}}\) variation in three of the five sources namely 3C 382, NGC 5548 and Mrk 335. Most of these inferences were based on variations in \(\rm{E_{cut}}\) obtained from phenomenological model fits to the data. However, to know changes in \(\rm{kT_{e}}\) it is imperative to fit physical models to the data, because, it is known recently, that the relation \(\rm{E_{cut}}\) = 2-3 \(\rm{kT_{e}}\) does not always hold true. Therefore it is imperative to fit physical model fits to the observed spectra to get \(\rm{kT_{e}}\). Though \(\rm{E_{cut}}\) is known to vary, we do not yet know the causes for its variation. Despite that, it is important to increase the number of sources that show variation in the temperature of the corona. This is now achievable owing to the multiple-epochs of observation available on a large number of AGN in the *NuSTAR* archives[^1]. The primary motivation here is, therefore to increase the number of AGN that show variation in \(\rm{kT_{e}}\). We are in the process of a careful and systematic investigation of \(\rm{kT_{e}}\) variation in a large number of AGN. Here, we present the results from the multiple-epoch spectral analysis of three AGN, namely NGC 3227, NGC 5548 and MR 2251\(-\)`<!-- -->`{=html}178. This also includes few new observations not published so far. NGC 3227,at a redshift of z = 0.004 and powered by a black hole of mass 4.79 \(\times\) \(10^{6}\) \(M_{\odot}\), has been extensively studied in the X-ray band. Signatures of warm absorbers are evident in this source from observations with *ASCA* , *ROSAT* and *XMM-Newton*. In the *XMM-Newton* observations, FeK\(\alpha\) line was evident. It has also been recently studied by for flux variations combining *XMM-Newton* and *NuSTAR* observations. It has complex absorption features, which are also variable. Recently has reported the broad band spectral modeling of the source using multi-wavelength data from *XMM-Newton*, *NuSTAR* and *Hubble Space Telescope* *(HST)*. NGC 5548 is a galaxy located at \(z\) = 0.017 with a black hole of mass 5.0 \(\times\) 10\(^7\) \(M_{\odot}\). It has been extensively studied in the X-ray band using data from various satellites and has also been found to be strongly absorbed in soft X-rays. MR 2251\(-\)`<!-- -->`{=html}178, with a black hole mass of 2.0 \(\times\) 10\(^8\) \(M_{\odot}\), first discovered by its strong X-ray emission was found to be a low redshift AGN at \(z\) = 0.06. From VLA observations, found the source to show weak radio emission with elongated morphology resembling a FRI source. Details of the observations and reduction of the data are presented in Section 2, analysis is presented in Section 3, results and discussion are presented in Section 4 followed by the summary in the final section.
# Observations and Data Reduction
## Data reduction
We reduced *NuSTAR* data in the 3\(-\)`<!-- -->`{=html}79 keV band using the standard *NuSTAR* data reduction software NuSTARDAS[^2] distributed by HEASARC within HEASoft v6.29. Considering the passage of the satellite through the South Atlantic Anomaly (SAA) we selected, SAACALC , SAAMODE and also excluded the tentacle region. The calibrated, cleaned, and screened event files were generated by running the `nupipeline` task using the CALDB release 20210701. To extract the source counts we chose a circular region of radius 60 arcsec centered on the source. Similarly, to extract the background counts, we selected a circular region of the same radius away from the source on the same chip to avoid contamination from source photons. We then used the `nuproducts` task to generate energy spectra, response matrix files (RMFs) and auxiliary response files (ARFs), for both the hard X-ray detectors housed inside the corresponding focal plane modules FPMA and FPMB. For spectral analysis, using XSPEC version 12.12.0, we fitted the background subtracted spectra from FPMA and FPMB simultaneously (without combining them) allowing the cross normalization factor to vary freely during spectral fits. The spectra were binned to have a S/N ratio greater than 5 in each spectral channel using the *NuSTAR*-specific Python script *snrgrppha*[^3]. To get an estimate of the model parameters that best describe the observed data, we used the chi-square (\(\chi^2\)) statistics and for calculating the errors in the model parameters we used the \(\chi^2\) = 2.71 criterion i.e. 90 per cent confidence range in XSPEC.
# Analysis of the data
For few epochs of the sources studied in this work, we do have observations in the soft band from telescopes such as *XMM-Newton* for NGC 3227 and *XMM-Newton*, *Chandra* for NGC 5548 and *XMM-Newton* for MR 2251\(-\)`<!-- -->`{=html}178. However, for this work, we decided to use only *NuSTAR* data as (a) the good sensitivity of *NuSTAR* over the 3\(-\)`<!-- -->`{=html}79 keV energy band captures all the key reflection features of an AGN spectrum and as the main goal of this work is to model the high energy rollover of the Comptonized spectra we did not want the absorption in the soft band affecting our analysis in the determination of \(\rm{kT_{e}}\) and (b) observations in the soft band are not available simultaneous to the *NuSTAR* observations for all the epochs and for all the sources. However we note here, the inclusion of soft X-ray data in the fitting might have an effect on the photon index (\(\Gamma\)) obtained from using the *NuSTAR* data alone. However, a simplest approach to constrain \(\rm{kT_{e}}\) (which is the aim of this work) is the use of only *NuSTAR* data, but for better constraining the other physical characteristics of the sources broad band spectral analysis including data from UV to hard X-ray band is more appropriate. While analyzing only *NuSTAR* data, we ignored the 3\(-\)`<!-- -->`{=html}4 keV band to limit the effect of absorption if any and also did not consider data in the energy range beyond 60 keV due to lack of source photons. Thus, we carried out spectral fits to the *NuSTAR* data in the 4\(-\)`<!-- -->`{=html}60 keV energy band for all the OBSIDS except for epoch I of NGC 3227, epoch F of NGC 5548 and epoch E of MR 2251\(-\)`<!-- -->`{=html}178. Due to the unavailability of photons beyond 50 keV we restricted the spectral fit in the 4\(-\)`<!-- -->`{=html}50 keV energy band to the epoch I and epoch E spectra of NGC 3227 and MR 2251\(-\)`<!-- -->`{=html}178 respectively. Similarly, for the epoch F spectrum of NGC 5548, we used the FPMA/FPMB data in the 4\(-\)`<!-- -->`{=html}55 keV range. (see Fig [\[figure-1\]](#figure-1){reference-type="ref" reference="figure-1"}).
## Phenomenological spectral fits
For our spectral fits, to model the line of sight galactic absorption, the value of the neutral hydrogen column density (\(\rm{N_H}\)) for all the sources were frozen to the values obtained from. These \(\rm{N_H}\) values are given in Table [\[table-1\]](#table-1){reference-type="ref" reference="table-1"}. Similarly, the redshifts of the sources were frozen to their corresponding values given in Table [\[table-1\]](#table-1){reference-type="ref" reference="table-1"}. Also, we used the solar abundances from and the photoelectric cross sections from. For models that require inclination angle (\(i\)), we used \(i\) = 50\(^{\circ}\) for NGC 3227 (@1997ApJ...477..623S, @2019A&A...628A..65A, @2016MNRAS.457.1568M), \(i\) = 30\(^{\circ}\) for NGC 5548 and \(i\) = 60\(^{\circ}\) (i.e., the default value) for MR 2251\(-\)`<!-- -->`{=html}178.
### Absorbed power law
Firstly, to understand the continuum emission in our sample of sources we fitted the observed X-ray spectra with the baseline phenomenological absorbed power law model and having the following form in XSPEC \[const*TBabs(zpo)\] The first component of this model is the constant used to calibrate the two focal plane modules of *NuSTAR*. The second component, *TBabs* was used to model the line of sight galactic absorption. The parameters that were kept free are \(\Gamma\) and the normalization (i.e. photons keV\(^{-1}\) cm\(^{-2}\) s\(^{-1}\)). We found evidence of intrinsic absorption present in the lower energy end for all the epochs in NGC 5548, epoch G, H and I in NGC 3227 and epoch E in MR 2251\(-\)`<!-- -->`{=html}178. We therefore included a *zTBabs* component with the absorbed power law model to fit their spectra and the model looks like \[const*TBabs*zTBabs(zpo)\] in XSPEC. For all epochs in NGC 5548, two epochs in NGC 3227 and one epoch of MR 2251\(-\)`<!-- -->`{=html}178 non-inclusion of *zTBabs* returned a poor fit with \(\chi^2/dof\) larger than 1.2. Inclusion of *zTBabs* with \(\rm{N_H}\)(*zTBabs*) kept free improved the fit with \(\chi^2/dof\) close to unity. From the residual spectra obtained from the simple absorbed power law model fit to the observations, we noticed the presence of the fluorescent FeK\(\alpha\) line in NGC 3227, NGC 5548 and in epoch D spectra of MR 2251\(-\)`<!-- -->`{=html}178, but in the other observations of MR 2251\(-\)`<!-- -->`{=html}178, the residual spectra do not show conspicuous FeK\(\alpha\) line. The spectral fits are shown in Fig. [\[figure-1\]](#figure-1){reference-type="ref" reference="figure-1"} for NGC 3227 and NGC 5548 and MR 2251\(-\)`<!-- -->`{=html}178. Though this line is common in most of the X ray spectra of AGN there are exceptions. The apparent non-detection of FeK\(\alpha\) line in the spectra of MR 2251\(-\)`<!-- -->`{=html}178 could be due to weaker reflection owing to larger viewing angle, low signal-to-noise ratio spectra, very high ionized accretion disk or a combination of all. However, the presence of a weak FeK\(\alpha\) line in epoch D of MR 2251\(-\)`<!-- -->`{=html}178 could point to the physical characteristic of MR 2251\(-\)`<!-- -->`{=html}178 being different from the other two sources. A thorough analysis is needed to know the exact reasons for the absence/weakness of this line but this issue is beyond the scope of this work as we are in this work mainly interested in the changes in the temperature of the corona. To model the FeK\(\alpha\) line seen in the residual spectra in NGC 3227, NGC 5548 and in one observation (epoch D) of MR 2251\(-\)`<!-- -->`{=html}178, we included a gaussian component and with this inclusion the model takes the form *const\*TBabs(zpo + zgauss)* and the quality of the fit improved. After the inclusion of a gaussian component with the power law in the case of NGC 3227, in all nine epochs the \(\chi^2\) value reduced in the range between 60 and 242 for a reduction of 2 dof. In epochs C, D, G and I, non-inclusion of the gaussian component, resulted in a reduced \(\chi^2\) greater than 1.30. After the inclusion of the gaussian component the reduced \(\chi^2\) ranged between 1.04\(-\)`<!-- -->`{=html}1.16 in these epochs. For the other epochs, the \(\chi^2/dof\) was \(>\) 1.1 before and it became \(\sim\) 1.0 after the line inclusion. For MR2251\(-\)`<!-- -->`{=html}178, gaussian component was used to fit the FeK\(\alpha\) line only in epoch D. Inclusion of the line component lead to a change in \(\chi^2\) of 5 for a reduction of 2 dof. This negligible change in \(\chi^2\) over 2 dof did not improve the fit quality significantly in this case. For NGC 5548, on inclusion of gaussian line component in all the epochs, the value of the \(\chi^2\) reduced in the range 23 to 105 for a reduction of 2 dof. Just an absorbed power law fit to the data produced the reduced \(\chi^2\) greater than 1.2 for the epochs C, D, E and F. Adding the Gaussian with the power law lead to a reduced \(\chi^2\) of \(\sim\) 1.1 for epoch C and D and \(\sim\) 1.0 for epoch E and F. Similarly, for epochs A and B, the \(\chi^2/dof\) changed from 1.10 to 1.06 and 1.02 to 0.97 respectively. The width of the FeK\(\alpha\) line was frozen to the value of 0.1 keV during the fitting, letting it free to vary did not improve the fit significantly. The best fit parameters for the sources are given in Table [\[table-2\]](#table-2){reference-type="ref" reference="table-2"}, [\[table-3\]](#table-3){reference-type="ref" reference="table-3"} and [\[table-4\]](#table-4){reference-type="ref" reference="table-4"} for NGC 3227, MR 2251\(-\)`<!-- -->`{=html}178 and NGC 5548.
### Pexrav
In the residuals of the simple power law fit to all the spectra of the sources (see Fig. [\[figure-1\]](#figure-1){reference-type="ref" reference="figure-1"}) we found the signature of a high energy turn over and a reflection hump beyond 15 keV. To appropriately model both the high energy cut off and the reflection feature present in the spectra we replaced the *zpo* component in our earlier model with *pexrav* and the new model has the form \[const*TBabs(pexrav).\] While modelling the reflection component of NGC 5548, epoch G, H and I spectra of NGC 3227 and epoch E spectrum of MR 2251\(-\)`<!-- -->`{=html}178 an intrinsic absorption component, *zTBabs* was added with the above model. The intrinsic hydrogen column density, \(\rm{N_H}\)(*zTBabs*) was kept free during the fit. This model implements both photoelectric absorption and Compton scattering, however, it does not include fluorescence. Therefore to model the FeK\(\alpha\) line seen in the residual spectra in NGC 3227, NGC 5548 and epoch D in MR 2251\(-\)`<!-- -->`{=html}178, we included a gaussian component. So, the model takes the following form, \[const*TBabs(pexrav+zgauss)\] in XSPEC. The model *pexrav* improved the fitting compared to *zpo* as evident in the reduced \(\chi^2\) in Tables [\[table-2\]](#table-2){reference-type="ref" reference="table-2"}, [\[table-3\]](#table-3){reference-type="ref" reference="table-3"} and [\[table-4\]](#table-4){reference-type="ref" reference="table-4"}. This model includes primary emission having a power law form with an exponential cut-off and a reflection component. The reflector is considered to be an optically thick medium in an infinite plane geometry and covering a larger fraction of the X-ray source. A parameter that comes as an output in the model fit is the reflection parameter \(R\). This parameter gives a measure of the reflection component present in the observed spectra of the sources. For an isotropic source, this parameter is related to the solid angle (\(\Omega\)) as \(R \sim \Omega/2\pi\), and it is dependent on the angle of inclination (\(i\)) between the perpendicular to the accretion disk and the line of sight to the observer. The width of the FeK\(\alpha\) line was fixed at 0.1 keV, treating the parameter free did not improve the fit. For all the sources, the parameters that were left free in the model fits are \(\rm{E_{cut}}\), \(\Gamma\), R and normalization. Using *(pexrav+zgauss)* in all the nine epochs of NGC 3227, the \(\chi^2\) reduced in the range between 4 and 161 for a reduction of 2 dof compared to the *(zpo+zgauss)* fit. In MR 2251\(-\)`<!-- -->`{=html}178, the reduction in \(\chi^2\) is in the range between 0 and 22 with a reduction of 2 in dof. For all the six epochs in NGC 5548, the *(pexrav+zgauss)* fit produced a reduction in the \(\chi^2\) values between 9\(-\)`<!-- -->`{=html}60 with a reduction of 2 dof compared to (zpo+zgauss). The best fit parameters are given in Tables [\[table-2\]](#table-2){reference-type="ref" reference="table-2"}, [\[table-3\]](#table-3){reference-type="ref" reference="table-3"} and [\[table-4\]](#table-4){reference-type="ref" reference="table-4"}.
## Physical model fits
### xillver and xillverCP
Accretion disk reflection features in the form of narrow FeK\(\alpha\) line was conspicuously present in the residuals of NGC 3227, NGC 5548 and epoch D spectra of MR 2251\(-\)`<!-- -->`{=html}178 and the line was modelled using a gaussian component in *pexrav* model fits. For MR 2251\(-\)`<!-- -->`{=html}178 we have seen signatures of reflection (though weak) in few epochs. This is evident from the best fit values of the reflection fraction obtained using *pexrav* (see Table [\[table-3\]](#table-3){reference-type="ref" reference="table-3"}) and in the residuals of the *zpo* model fits (see Fig. [\[figure-4\]](#figure-4){reference-type="ref" reference="figure-4"}: top panel). We therefore modelled the spectra of the sources with the self consistent ionized reflection model *xillver*. The emergent reflected spectrum from the surface of the X-ray illuminated accretion disk is calculated in the model by solving the equations of radiative transfer, energy balance and ionization equilibrium in a Compton thick plane parallel medium. The model fit to the spectra has the following form in XSPEC, \[const*TBabs(xillver)\] Here also, to account for the effect of intrinsic absorption, *zTBabs* was used for all epochs of NGC 5548, three epochs (G, H and I) of NGC 3227 and epoch E of MR 2251\(-\)`<!-- -->`{=html}178. The intrinsic hydrogen column densities,\(N_{\rm H}\)(zTBabs) were kept as free parameters. In this model fit, the parameters describing the properties of the corona such as \(\Gamma\), \(\rm{E_{cut}}\) and R were made to vary, while the inclination angle was frozen to the value of 50\(^{\circ}\) for NGC 3227, 30\(^{\circ}\) for NGC 5548 and 60\(^{\circ}\) for MR 2251\(-\)`<!-- -->`{=html}178. The other parameter that was kept free is the normalization. To account for a fair comparison between the \(\rm{E_{cut}}\) values obtained from *pexrav* and *xillver* the reflector was assumed to be neutral i.e. log\(\zeta\) = 0 erg cm s\(^{-1}\). Treating the ionization as a free parameter too, returned results consistent with the ones obtained using log\(\zeta\) = 0 erg cm s\(^{-1}\). The value of Fe abundance was fixed to the solar value. The results of the model fits are given in Tables [\[table-2\]](#table-2){reference-type="ref" reference="table-2"}, [\[table-3\]](#table-3){reference-type="ref" reference="table-3"} and [\[table-4\]](#table-4){reference-type="ref" reference="table-4"}. Fitting the spectra using *xillver* yielded values of \(\rm{E_{cut}}\) similar to that obtained using *pexrav*, although the errors in the \(\rm{E_{cut}}\) measurements using *xillver* are relatively smaller. As we are interested in the determination of \(\rm{kT_{e}}\) and its variation we decided to use the thermal Comptonization model *xillverCP*. This model that takes into account the emission lines assuming it to be originating from disk reflection includes the Comptonization model *nthcomp* plus the ionized reflection model *xillver*. The model fit to the spectra has the following form in XSPEC, \[const*TBabs(xillverCP)\] We used *xillverCP* to model the primary continuum and the reflection spectrum simultaneously. Also, to take care of the intrinsic absoption present in all epochs of NGC 5548, epoch G, H and I of NGC 3227 and epoch E of MR 2251\(-\)`<!-- -->`{=html}178 spectra the *zTBabs* component was added with the described model. The results of the model fits are given in Tables [\[table-2\]](#table-2){reference-type="ref" reference="table-2"}, [\[table-3\]](#table-3){reference-type="ref" reference="table-3"} and [\[table-4\]](#table-4){reference-type="ref" reference="table-4"}.
# Results and Discussion
Here, we aimed to find changes of \(\rm{kT_{e}}\) in NGC 3227, NGC 5548 and MR 2251\(-\)`<!-- -->`{=html}178. We discuss below the results obtained on them.
## NGC 3227
*NuSTAR* observed this source nine times between November 2016 and December 2019. Of these, results on seven epochs were reported by, wherein they were able to constrain \(\rm{E_{cut}}\) in three epochs using phenomenological fits and \(\rm{kT_{e}}\) in two epochs using physical model fits. Here, we report results for two additional epochs and for all the nine epochs, we used both phenomenological and physical model fits to model the spectra. Ratios of the model *const\*TBabs(zpo + zgauss)*, *const\*TBabs(pexrav + zgauss)* and *const\*TBabs(xillverCP)* fits to the observed FPMA and FPMB spectra carried out on the OBSID 60202002002, the one with the longest exposure time are shown in Fig. [\[figure-2\]](#figure-2){reference-type="ref" reference="figure-2"}. Weak FeK\(\alpha\) line is present in all the OBSIDs and therefore in the *const\*TBabs(zpo)* and *const\*TBabs(pexrav)* model fits we included a *zgauss* component to account for the line. All the above models could fit the spectra of all epochs of NGC 3227 reasonably well except for epochs G, H and I, where the \(\chi^2/dof\) was greater than 1.2 and there is evidence for the presence of significant absorption at the low energy end (see Fig. [\[figure-5\]](#figure-5){reference-type="ref" reference="figure-5"}). Addition of an extra absorption component *zTBabs* that takes into account the effects of host galaxy absorption to all the models improved the fit significantly (see left, middle and right panel of Fig. [\[figure-8\]](#figure-8){reference-type="ref" reference="figure-8"}). The *const\*TBabs(pexrav + zgauss)* model fit to the FPMA/FPMB spectra showed evidence for variation in \(\rm{E_{cut}}\). To analyze the variation of \(\rm{E_{cut}}\) with time as well as to find the relation between \(\rm{E_{cut}}\) and \(\rm{kT_{e}}\) we used the \(\rm{E_{cut}}\) values obtained from *xillver* model fits. The lowest value of \(\rm{E_{cut}}\) of 92\(^{+10}_{-8}\) keV was obtained in epoch B and the highest value of \(\rm{E_{cut}}\) was observed in epoch E (378\(^{+152}_{-91}\) keV) while intermediate values of \(\rm{E_{cut}}\) were obtained during other epochs. These observed variation of \(\rm{E_{cut}}\) indicates that the coronal temperature of NGC 3227 must be changing with time. This is also evident in Fig. [\[figure-6\]](#figure-6){reference-type="ref" reference="figure-6"} (upper panel) where the values of \(\rm{E_{cut}}\) are plotted against epochs. To quantify the significance of the variation of \(\rm{E_{cut}}\) we fitted a constant (mean of all the \(\rm{E_{cut}}\) measurements) to the variation of \(\rm{E_{cut}}\) with epoch and calculated the \(\chi^2\) and the null hypothesis probability (p) that \(\rm{E_{cut}}\) does not change with time (shown as a dashed line in the top panel of Fig. [\[figure-6\]](#figure-6){reference-type="ref" reference="figure-6"}). We found \(\chi^2\)/dof \(>>\) 10, and a \(p\) value of 0.0 that the \(\rm{E_{cut}}\) does not change with time. The values of \(\rm{E_{cut}}\) obtained during the first two epochs (A and B) are similar to the value of \(\rm{E_{cut}}\) = 90\(\pm\)`<!-- -->`{=html}20 keV reported by . from an analysis of XMM and BAT spectra pointed \(\rm{E_{cut}}\) to lie outside the BAT range at \(>\) 636 keV. Recently too reported \(\rm{E_{cut}}\) values for epoch A, B and G, and lower limits for epochs C,D,E and F from *pexrav* model fits. The values of \(\rm{E_{cut}}\) obtained here using *xillver* for epochs A, B and G are in agreement with that of from using *pexrav* model. Also, our model fits could constrain \(\rm{E_{cut}}\) during epochs E and F using *xillver*. Comptonization model fits using *xillverCP* provided values of \(\rm{kT_{e}}\) which too was found to vary between epochs. We could constrain \(\rm{kT_{e}}\) for epochs A, B, C and G, and obtain lower limits for epochs D, E, F, H and I. using the same model used here could constrain \(\rm{kT_{e}}\) for only epochs A and B. Our results for epochs A and B are in agreement with that of. The variation of \(\rm{kT_{e}}\) is shown in the lower panel of Fig. [\[figure-6\]](#figure-6){reference-type="ref" reference="figure-6"}. The trend seen in the variation of \(\rm{kT_{e}}\) with epochs is similar to the variation of \(\rm{E_{cut}}\). From Comptonization model fits we found the lowest value of \(\rm{kT_{e}}\) = 28\(^{+9}_{-6}\) keV during epoch B while the highest value of \(\rm{kT_{e}}\) = 56\(^{+131}_{-18}\) keV was obtained for epoch E. We obtained lower limits of \(\rm{kT_{e}}\) of 80, 45, 47, 85 and 36 keV during epochs D, E, F, H and I respectively. Spectral fits using *xillverCP* along with the data to model ratio for all the epochs are shown in Figures [\[figure-7\]](#figure-7){reference-type="ref" reference="figure-7"} and [\[figure-8\]](#figure-8){reference-type="ref" reference="figure-8"}. The results of the model fits are given in Table [\[table-2\]](#table-2){reference-type="ref" reference="table-2"}. To quantify the significance of the variation of \(\rm{kT_{e}}\) we fitted a constant (mean of all the \(\rm{kT_{e}}\) measurements) to the variation of \(\rm{kT_{e}}\) with epoch and calculated the \(\chi^2\) and the null hypothesis probability (p) that \(\rm{kT_{e}}\) does not change with time (shown as a dashed line in Fig. [\[figure-6\]](#figure-6){reference-type="ref" reference="figure-6"}). We found \(\chi^2\)/dof of 12.86, and a \(p\) value of 0.005 that \(\rm{kT_{e}}\) does not change with time. The contour plots between \(\Gamma\) against \(\rm{kT_{e}}\) and R against \(\rm{kT_{e}}\) for NGC 3227 for all the epochs are shown in Fig. [\[figure-14\]](#figure-14){reference-type="ref" reference="figure-14"} and [\[figure-15\]](#figure-15){reference-type="ref" reference="figure-15"} (left panels).From the contour plots it is evident that the coronal temperature variation is prominent in NGC 3227. We therefore, conclude that we found variation in the temperature of the corona in NGC 3227. According to for an optically thick corona (\(\tau\) \(>\) 1) \(\rm{E_{cut}}\) = 3\(\rm{kT_{e}}\). However, the relation between \(\rm{E_{cut}}\) and \(\rm{kT_{e}}\) can be complicated in the case of a non-static corona such as the one with outflows. Also, according to, the relation of \(\rm{E_{cut}}\) = 2\(-\)`<!-- -->`{=html}3 \(\rm{kT_{e}}\) is valid only for low values of \(\tau\) and \(\rm{kT_{e}}\). For NGC 3227 using all the five epochs in which we could constrain both \(\rm{E_{cut}}\) and \(\rm{kT_{e}}\) we found \(\rm{E_{cut}}\) = 3.94\(\pm\)`<!-- -->`{=html}0.62 \(\rm{kT_{e}}\) which is similar to that of and
## MR 2251\(-\)`<!-- -->`{=html}178
This source has five epochs of observations that are public and having exposure \(>\) 20 ks. In this work we analyzed all of them. Simple power law fits to the FPMA spectra of all the epochs is shown in the right panel of Fig. [\[figure-1\]](#figure-1){reference-type="ref" reference="figure-1"}. From this figure, noticeable change in the spectra could not be ascertained. The ratio of the model fits *const\*TBabs(zpo)*, *const\*TBabs(pexrav)* and *const\*TBabs(xillverCP)* to the observed FPMA and FPMB spectra on OBSID 90601637002, the one with the longest exposure time are shown in Fig. [\[figure-4\]](#figure-4){reference-type="ref" reference="figure-4"}. From two sets of observations from *Einstein* separated by about a year found evidence of variable X-ray absorption in MR 2251\(-\)`<!-- -->`{=html}178, with the column density changing from \(<\) 5 \(\times\) 10\(^{21}\) cm\(^{-2}\) to 2 \(\times\) 10\(^{22}\) cm\(^{-2}\), suggested to be due to the presence of a warm absorber. *EXOSAT* and *Ginga* observations revealed strong correspondence between the absorbing column density and the flux of the source with the low energy absorption decreasing with the increasing flux of the source. These observations were explained by variable absorption in photo-ionized gas along the line of sight . However, from an analysis of the *EXOSAT* data argued that the variability seen in the source can be explained without invoking the presence of a warm absorber. From the ratio of the observed data to the model fit we did not find any signature of absorption that could affect the source spectra in all observations but in epoch E and to take care of this we added the *zTBabs* component to all the four models in epoch E(see Fig [\[figure-11\]](#figure-11){reference-type="ref" reference="figure-11"} and [\[figure-12\]](#figure-12){reference-type="ref" reference="figure-12"}). Model fits to the four sets of observations that span about five years using *const\*TBabs(zpo)* do not reveal the presence of FeK\(\alpha\) line in the spectra, the reflection bump was also found to be either negligible or weak (see top panel of Fig. [\[figure-4\]](#figure-4){reference-type="ref" reference="figure-4"}), more likely due to poor S/N. However, the ratio plot for the model *const\*TBabs(zpo)* to the epoch D spectra revealed the presence of the FeK\(\alpha\) line at around 6.4 keV. We therefore added a *zgauss* component with the model and found the energy of the line at 6.49\(^{+0.37}_{-0.27}\) keV with a fixed width of 0.1 keV, letting the parameter free did not significantly improve the fit. For this source previously the FeK\(\alpha\) line was reported to be present in the *Ginga* observations with an equivalent width of 125\(^{+100}_{-105}\) eV. Relatively strong FeK\(\alpha\) was also reported to be present in the *BeppoSaX* observation and a narrow FeK\(\alpha\) line was present in the *Chandra* observations. From *BeppoSAX* observations in the 0.1\(-\)`<!-- -->`{=html}200 keV band, found a \(\rm{E_{cut}}\) value of around 100 keV which is similar to that obtained here. To find evidence for the change in \(\rm{kT_{e}}\) if any, we carried out fitting of the observations with the physical model, *const\*TBabs(xillverCP)*. Examination of the results of the fit (Table [\[table-3\]](#table-3){reference-type="ref" reference="table-3"}) shows that the \(\rm{kT_{e}}\) obtained during all the epochs agree within errors. Though we could not find any signature of \(\rm{kT_{e}}\) variation with epochs from the *xillverCP* fit, the \(\rm{E_{cut}}\) values obtained from the *xillver* model fit during epochs A, C and D agree within errors except that of epoch B. This could be due to the quality of the data in epoch B, as the values of \(\rm{E_{cut}}\) and \(\rm{kT_{e}}\) obtained during that epoch also have large error bars. To test for the \(\rm{kT_{e}}\) variation if any, we plotted the 90 per cent contours between \(\rm{kT_{e}}\) and \(\Gamma\). The 90 percent contours of \(\rm{kT_{e}}\) against \(\Gamma\) overlap (see Fig. [\[figure-14\]](#figure-14){reference-type="ref" reference="figure-14"}) and we conclude that in MR 2251\(-\)`<!-- -->`{=html}178 we did not find any variation of \(\rm{kT_{e}}\) with time. The 90 per cent contours of R against \(\rm{kT_{e}}\) are also shown in the bottom panel of Fig. [\[figure-15\]](#figure-15){reference-type="ref" reference="figure-15"}. Considering all the four epochs where \(\rm{E_{cut}}\) and \(\rm{kT_{e}}\) could be constrained we found \(\rm{E_{cut}}\) = 4.84\(\pm\)`<!-- -->`{=html}0.11 \(\rm{kT_{e}}\). This is deviant from the generally adopted \(\rm{E_{cut}}\) = 2\(-\)`<!-- -->`{=html}3 \(\rm{kT_{e}}\). It is likely the relation between \(\rm{E_{cut}}\) and \(\rm{kT_{e}}\) is complex and may depend on other physical properties of the sources. Homogeneous analysis of a large number of sources are needed to establish the relation between \(\rm{E_{cut}}\) and \(\rm{kT_{e}}\) as well as on its dependence on other physical properties. Spectral fits using *xillverCP* along with the residuals for all the epochs are shown in Fig. [\[figure-11\]](#figure-11){reference-type="ref" reference="figure-11"} and [\[figure-12\]](#figure-12){reference-type="ref" reference="figure-12"}.
## NGC 5548
NGC 5548 was observed by *NuSTAR* six times between July 2013 to January 2021. Of these, have reported results for five epochs. In this work we carried out both phenomenological and physical model fits for all the six epochs. We fit the spectra using *const\*TBabs(zpo+zgauss)* and *const\*TBabs(pexrav+zgauss)* to model the primary power law emission and the reflection component along with the FeK\(\alpha\) line with the width of the line being frozen to the value of 0.1 keV. From the ratio of the observed data to the model fit using *TBabs* we found the presence of absorption component in the spectra. So unlike the other sources, for NGC 5548, we added an extra component *zTBabs* in each model to account for the absorption by the host galaxy. Moreover, as *xillver* self consistently models the reflected spectrum and its associated FeK\(\alpha\) line, we also fit the spectra using *xillver* and \(\rm{E_{cut}}\) values obtained using *xillver* model were used to find variation in \(\rm{E_{cut}}\). The \(\rm{E_{cut}}\) obtained from *xillver* model fits are \(>487\) keV, \(>480\) keV, 129\(^{+15}_{-13}\) keV, 179\(^{+40}_{-23}\) keV, 133\(^{+15}_{-13}\) and \(>\)`<!-- -->`{=html}394 keV for epochs A, B, C, D, E and F respectively. The residuals of the fit to the spectra for the epoch D that has the maximum exposure time, for various models are given in Fig. [\[figure-3\]](#figure-3){reference-type="ref" reference="figure-3"} and the results of the fit are given in Table [\[table-4\]](#table-4){reference-type="ref" reference="table-4"}. From *xillver* model fits, we could constrain \(\rm{E_{cut}}\) only for epochs C, D and E, while could constrain \(\rm{E_{cut}}\) in the four epochs (A, C, D and E). For the epochs in common, though our values of \(\rm{E_{cut}}\) are in agreement with the results do not match for epoch E. Though claims to have detected \(\rm{E_{cut}}\) variation in NGC 5548, our analysis could not confirm changes in \(\rm{E_{cut}}\). This could be due to differences in the choice of binning and the energy ranges used in both the work. via the joint fitting of *XMM-Newton*, *Chandra*, *NuSTAR*, and *INTEGRAL* data obtained lower limits for \(\rm{E_{cut}}\) in all the epochs except for epoch D. Using the simultaneous *XMM-Newton* and *NuSTAR* data from 2013 campaign also fitted the 4\(-\)`<!-- -->`{=html}79 keV epoch A/B, epoch D and epoch E spectra using cut-off power-law and *pexmon*. Their values of \(\rm{E_{cut}}\) are in agreement with the \(\rm{E_{cut}}\) values obtained in this work. Fitting the physical Comptonization model *xillverCP* to ascertain the change in coronal temperature, we got the highest \(\rm{kT_{e}}\) value of 65\(^{+147}_{-24}\) keV during epoch D, for epochs A, B and F we obtained lower limits of 53, 54 and 71 keV, while for the remaining two epochs C and E, we obtained similar values of 39\(^{+14}_{-10}\) keV and 38\(^{+12}_{-9}\) keV respectively. The values of \(\rm{kT_{e}}\) between epochs agree to each other within error bars. The model fits to the data along with the data to model ratio for all the epochs of observations are shown in Fig. [\[figure-9\]](#figure-9){reference-type="ref" reference="figure-9"} and [\[figure-10\]](#figure-10){reference-type="ref" reference="figure-10"}. The \(\rm{E_{cut}}\) values obtained here points to variability. However, the derived \(\rm{kT_{e}}\) values are consistent with each other within error bars. The contour plots between \(\rm{kT_{e}}\) against \(\Gamma\) as well as R against \(\rm{kT_{e}}\) are shown in the right most panels of Fig. [\[figure-14\]](#figure-14){reference-type="ref" reference="figure-14"} and [\[figure-15\]](#figure-15){reference-type="ref" reference="figure-15"}. From these plots, the change in \(\rm{kT_{e}}\) is not evident. We thus conclude that we have not found evidence for variation in \(\rm{kT_{e}}\) in NGC 5548. Considering all the epochs in which we could constrain both \(\rm{E_{cut}}\) and \(\rm{kT_{e}}\), we found \(\rm{E_{cut}}\) = 3.19\(\pm\)`<!-- -->`{=html}0.32 \(\rm{kT_{e}}\) which is in agreement with the empirical relation of.
## Correlation between different parameters
We discuss below the correlation between various parameters. This is restricted to the source NGC 3227 as the temperature of its corona is found to vary in this work. Since the errors in the measured \(\rm{E_{cut}}\) and \(\rm{kT_{e}}\) values are not symmetric and there is no conventional way to take care of such errors during correlation study we adopted two procedures to find the correlation between various parameters. In first case, we neglected the corresponding errors and considered only the best fit values of the parameters and performed the ordinary linear least square (OLS) fit between them. The Pearson's correlation coefficient (r) and the null hypothesis probability (p) for no correlation were also estimated using the best fit values. In the second case, to take into account the non-symmetric errors we simulated \(10^{5}\) points from each rectangular box around the best fit values (x,y) with x and y boundaries of (\(\rm{x_{low}}\),\(\rm{x_{high}}\)) and (\(\rm{y_{low}}\),\(\rm{y_{high}}\)) respectively. Here \(\rm{x_{low}}\), \(\rm{y_{low}}\) and \(\rm{x_{high}}\), \(\rm{y_{high}}\) refer to the lower and upper errors in x and y values. Linear least squares fit was done for \(10^{5}\) times yielding distribution of the slope (m), the intercept (c), the Pearson's rank correlation coefficient and the probability of no correlation. The median values of the distributions were taken to represent the best fit values of the correlation. All the values and the errors for the unweighted as well as for the simulated correlation are given in Table [\[table-5\]](#table-5){reference-type="ref" reference="table-5"}.
### \(\Gamma\) v/s Flux
In Seyfert galaxies, the X-ray spectra are generally found to be softer with increasing X-ray flux. We show in Fig. [\[figure-13\]](#figure-13){reference-type="ref" reference="figure-13"}, the correlation between \(\Gamma\) and the brightness of NGC 3227. For the source, each point in the Figure corresponds to \(\Gamma\) and flux obtained by *xillverCP* model fits to each epoch of spectra. Ordinary linear least squares fit to the data are shown by orange dashed lines. The black dashed lines show the linear least square fit using the median values of the simulated points using the lower and upper errors in \(\Gamma\) and flux values. The grey and green shaded regions are the area bounded by the errors in the least square fit parameters. For NGC 3227, we found anti correlation between \(\Gamma\) and flux (see Fig. [\[figure-13\]](#figure-13){reference-type="ref" reference="figure-13"} and Table [\[table-5\]](#table-5){reference-type="ref" reference="table-5"}) between epochs of observations significant at the greater than 90 per cent level.
### \(\rm{kT_{e}}\) v/s Flux
Correlation between the changes in the temperature of the corona with other physical parameters of the sources such as its apparent brightness as well as its spectral shape can provide important constraints in enhancing our understanding of AGN corona. The correlation between \(\rm{kT_{e}}\) and flux is shown in Fig. [\[figure-13\]](#figure-13){reference-type="ref" reference="figure-13"}. Also, shown in the figure are the ordinary and simulated linear least squares fit to the data. No correlation is found between \(\rm{kT_{e}}\) and flux in NGC 3227.
### \(\Gamma\) v/s \(\rm{kT_{e}}\)
In Fig. [\[figure-16\]](#figure-16){reference-type="ref" reference="figure-16"} the correlation between \(\Gamma\) and \(\rm{kT_{e}}\) is shown. The orange and black dashed lines represent the ordinary and simulated least square fit to the data. The correlation between \(\Gamma\) and \(\rm{kT_{e}}\) is found to be not significant.
### \(R\) v/s \(\rm{kT_{e}}\)
The correlation between the distant reflection fraction \(R\) and \(\rm{kT_{e}}\) is presented in the bottom panel of Fig. \(\ref{figure-16}\). We did not find any correlation between these two parameters.
## Nature of corona in AGN
The primary X-ray emission from thermal Comptonization depends on the optical depth \(\tau\) and \(\rm{kT_{e}}\) as , \[\tau = \sqrt{\frac{9}{4} + \frac{3}{\theta\Big[\Big(\Gamma + \frac{1}{2}\Big)^2-\frac{9}{4}\Big]}}-\frac{3}{2} \\ \] where, \(\theta = {kT_e}/{m_{e}c^2}\). We show in Fig. [\[figure-18\]](#figure-18){reference-type="ref" reference="figure-18"} the variation of the reflection fraction, the optical depth and the Compton parameter with flux. The Compton \(y\) parameter is defined as, \[y \simeq 4\Bigg(\frac{4kT_e}{mc^2}\Bigg)\Bigg[1+\Bigg(\frac{4kT_e}{mc^2}\Bigg)\Bigg] \tau(1+\tau)\] According to, a Comptonized corona must have a constant \(y\) in equilibrium. We too found no correlation of \(y\) with the flux of the source. The parameter \(\tau\) is found not to show any statistically significant variation with flux. \(R\) is found to be not correlated with flux(see Fig. [\[figure-17\]](#figure-17){reference-type="ref" reference="figure-17"}). Multiple epochs of observations on few AGN available today point to increased \(\rm{E_{cut}}\) with the flux of the sources. For example, from analysis of *NuSTAR* and XMM-Newton observations of NGC 5548, found \(\rm{E_{cut}}\) to be positively correlated with the flux of the source. Similarly in Mrk 335 too, through joint fitting of *Suzaku* and *NuSTAR* found \(\rm{E_{cut}}\) to be positively correlated with flux. Recently from flux resolved spectroscopy of Ark 564, found the temperature of the corona to decrease with increasing flux. Also, for the source ESO 103\(-\)`<!-- -->`{=html}035 found a positive correlation between \(\rm{kT_{e}}\) and flux. Scenarios that could cause the change in the temperature of the corona or \(\rm{E_{cut}}\) in AGN are (a) Compton cooling and (b) expanding corona. In the Compton cooling scenario, as the source brightens, there will be increased seed UV photons from the disk for Comptonization leading to a cooling of the corona. This leads to a . In the expanding corona scenario, the increase in \(\rm{kT_{e}}\) during high flux states of the AGN could be due to changes in the geometry of the corona. This has been invoked to explain the \(\rm{E_{cut}}\) changes in Mrk 335 and NGC 5548 . According to the expanding corona model, at low flux state, the corona is warm, optically thick, compact and close to the black hole. This causes more illumination of the disk leading to larger reflection fraction. As the source increases in brightness, the corona expands, the optical depth drops and the temperature rises. A reduced reflection fraction during this period argues that the corona expands vertically from the disk. In NGC 3227 too, the corona temperature is found to vary with time. We found a negative correlation between the optical depth \(\tau\) and \(\rm{kT_{e}}\), with \(\tau\) decreasing towards higher temperatures (see Fig. [\[figure-18\]](#figure-18){reference-type="ref" reference="figure-18"}). We calculated \(\tau\) using Equation 7 and according to \(\tau\) is geometry dependent and equals the radial optical depth in an uniform sphere. The negative correlation between \(\tau\) and \(\rm{kT_{e}}\) argues for a change in the geometry of the corona. too from the analysis of a sample of AGN found a negative correlation between \(\tau\) and \(\rm{kT_{e}}\). According to the authors this negative correlation could not be explained with a fixed disk-corona configuration in radiative balance. The possible explanation for this kind of behaviours could be (a) due to the change in the geometry and position of the corona and/or (b) variation in the fraction of the intrinsic disk emission to the total disk emission. We note that broad band spectral energy distribution fits to simultaneous UV to hard X-ray data alone will be able to provide strong constrain on \(\tau\). This in turn can put constrains on the role of accretion disk emission to \(\rm{kT_{e}}\) changes. In NGC 3227 we found no statistically significant correlation between \(\rm{kT_{e}}\) and flux, \(R\) and flux, \(\Gamma\) and flux as well as \(\Gamma\) and \(\rm{kT_{e}}\).
# Summary
In this work, we carried out spectral analysis of the *NuSTAR* data for three Seyfert type AGN namely NGC 3227, NGC 5548 and MR 2251\(-\)`<!-- -->`{=html}178 including a few OBSIDs not analyzed yet in comparison to previous works. We summarize our results below
1. All the sources were found to show moderate variations in their average brightness during the epochs analyzed in this work.
2. In NGC 3227, we found unambiguous evidence for the change in the temperature of the corona. This change in \(\rm{kT_{e}}\) is also reflected in the variation in \(\rm{E_{cut}}\). For NGC 5548 and MR 2251\(-\)`<!-- -->`{=html}178 we found no evidence for the variation in the temperature of the corona.
Our knowledge on the variation in the temperature of the corona is known only for less than half a dozen sources. Details on such coronal temperature variation in more AGN are needed to pin point the reasons for the temperature of the corona to vary and its effect on the other physical properties of the sources. | {'timestamp': '2022-03-07T02:03:08', 'yymm': '2203', 'arxiv_id': '2203.02007', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02007'} |
# Todo for revision
# Introduction
Zero-shot cross-lingual transfer is the ability of a model to learn from labeled data in one language and transfer the learning to another language without any labeled data. Transformer based multilingual models pre-trained on unlabeled data from multiple languages are the state-of-the-art means for cross-lingual transfer. While pre-training based cross-lingual transfer holds great promise for low web-resource languages (LRLs), such techniques are found to be more effective for transfer within high web-resource languages (HRLs). Vocabulary generation is an important step in multilingual model training, where vocabulary size directly impacts model capacity. Usually, the vocabulary is generated from a union of HRL and LRL data. This often results in under-allocation of vocabulary bandwidth to LRLs, as LRL data is significantly smaller in size compared to HRL. This under-allocation of model capacity results in lower LRL performance, as mentioned previously. In response, prior research has explored development of region-specific models, generating vocabulary specific to language clusters, and exploring relatedness among languages to build better LMs for LRLs. However, none of these methods have utilized relatedness among languages for better vocabulary generation during multilingual pre-training.
In this paper, we hypothesize that exploiting language relatedness can result in an overall more effective vocabulary, which is also better representative of LRLs. Closely related languages (e.g., languages belonging to a single family) have common origins for words with similar meanings. We show some examples across three different families of related languages in Table [\[tab:overlap-exampleAll\]](#tab:overlap-exampleAll){reference-type="ref" reference="tab:overlap-exampleAll"}. Morphological inflections of the root word lead to lexically overlapping tokens across languages. Learning representations for such subwords in lexically overlapping words shared across HRL and its related LRLs can enable better transfer of supervision from HRL to LRLs. During Masked Language Modelling (MLM) pretraining, the shared tokens can serve as anchors in learning contextual representations of neighboring tokens. However, choosing the correct granularity of sharing automatically is tricky. On one extreme, we can choose a vocabulary which favours longer units frequent in HRL without regard for sharing, thereby leading to better semantic representation of the tokens but no cross-lingual transfer. On the other extreme, we can choose character-level vocabulary, where every token is shared across languages but have no semantic significance. | {'timestamp': '2022-03-24T01:23:10', 'yymm': '2203', 'arxiv_id': '2203.01976', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01976'} |
null | null |
# Introduction {#sec:intro}
Robots supporting people in their daily activities at home or at the workplace need to accurately and robustly perceive objects, such as containers, and their physical properties, for example when they are manipulated by a person prior to a human-to-robot handover . Audio-visual perception should adapt--on-the-fly and with limited or no prior knowledge--to changing conditions in order to guarantee the correct execution of the task and the safety of the person. For assistive scenarios at home, audio-visual perception should accurately and robustly estimate the physical properties (e.g., weight and shape) of household containers, such as cups, drinking glasses, mugs, bottles, and food boxes . However, the material, texture, transparency and shape can vary considerably across containers and also change with their content, which may not be visible due to the opaqueness of the container or occlusions, and hence should be inferred through the behaviour of the human . In this paper, we present the tasks and the results of the CORSMAL challenge at IEEE ICASSP 2022, supporting the design and evaluation of audio-visual solutions for the estimation of the physical properties of a range of containers manipulated by a person prior to a handover (see Fig. [\[fig:avsamples\]](#fig:avsamples){reference-type="ref" reference="fig:avsamples"}). The specific containers and fillings are not known in advance, and the only priors are the sets of object categories (drinking glasses, cups, food boxes) and filling types (water, pasta, rice). The estimation of the mass and dimensions of the containers are novel tasks of this challenge, and complement the tasks of its previous version , such as the estimation of the container capacity and the type, mass and amount of the content. We carefully defined a set of performance scores to directly evaluate and systematically compare the algorithms on each task. Moreover, to assess the accuracy of the estimations and visualise the safeness of human-to-robot handovers, we implemented a real-to-simulation framework that provides indirect high-level evaluations on the impact of these tasks (see Fig. [\[fig:challengetasksdiagram\]](#fig:challengetasksdiagram){reference-type="ref" reference="fig:challengetasksdiagram"}). The source code of the entries to the challenge and the up-to-date leaderboards are available at <http://corsmal.eecs.qmul.ac.uk/challenge.html>.
# The tasks {#sec:tasks}
In the scope of the challenge and based on the reference dataset , containers vary in shape and size, and may be empty or filled with an unknown content at 50% or 90% of its capacity. We define a configuration as the manipulation of a container with a filling type and amount under a specific setting (i.e., background, illumination, scenario). The challenge features five tasks (Ts), each associated with a physical property to estimate for each configuration \(j\).
Filling level classification (T1).
: The goal is to classify the filling level (\(\tilde{\lambda}^j\)) as empty, 50%, or 90%.
Filling type classification (T2).
: The goal is to classify the type of filling (\(\tilde{\tau}^j\)), if any, as one of these classes: 0 (no content), 1 (pasta), 2 (rice), 3 (water).
Container capacity estimation (T3).
: The goal is to estimate the capacity of the container (\(\tilde{\gamma}^j\), in mL).
Container mass estimation (T4).
: The goal is to estimate the mass of the (empty) container (\(\tilde{m}_{c}^j\), in g).
Container dimensions estimation (T5).
: The goal is to estimate the width at the top (\(\tilde{w}_t^j\), in mm) and at the bottom (\(\tilde{w}_b^j\), in mm), and height (\(\tilde{h}^j\), in mm) of the container.
Algorithms designed for the challenge are expected to estimate these physical properties to compute the mass of the filling as \[\tilde{m}_f^j = \tilde{\lambda}^j \tilde{\gamma}^j D(\tilde{\tau}^j), \label{eq:fillingmass}\] where \(D(\cdot)\) selects a pre-computed density based on the classified filling type. The mass of the object \(\tilde{m}\) is calculated as the sum of the mass of the empty container and the mass of the content, if any.
# The evaluation {#sec:evaluation}
## Data
CORSMAL Containers Manipulation (CCM) is the reference dataset for the challenge and consists of 1,140 visual-audio-inertial recordings of people interacting with 15 container types: 5 drinking cups, 5 drinking glasses, and 5 food boxes. These containers are made of different materials, such as plastic, glass, and cardboard. Each container can be empty or filled with water, rice or pasta at two different levels of fullness: 50% or 90% with respect to the capacity of the container. In total, 12 subjects of different gender and ethnicity[^1] were invited to execute a set of 95 configurations as a result of the combination of containers and fillings, and for one of three manipulation scenarios. The scenarios are designed with an increasing level of difficulty caused by occlusions or subject motions, and recorded with two different backgrounds and two different lighting conditions to increase the visual challenges for the algorithms. The annotation of the data includes the capacity, mass, maximum width and height (and depth for boxes) of each container, and the type, level, and mass of the filling. The density of pasta and rice is computed from the annotation of the filling mass, capacity of the container, and filling level for each container. Density of water is 1 g/mL. For validation, CCM is split into a training set (recordings of 9 containers), a public test set (recordings of 3 containers), and a private test set (recordings of 3 containers). The containers for each set are evenly distributed among the three categories. The annotations are provided publicly only for the training set.
## Real-to-sim visualisation
The challenge adopts a real-to-simulation framework that complements the CCM dataset with a human-to-robot handover in the PyBullet simulation environment . The framework uses the physical properties of a manipulated container estimated by a perception algorithm. The handover setup recreated in simulation consists of a 6 DoF robotic arm (UR5) equipped with a 2-finger parallel gripper (Robotiq 2F-85), and two tables. The simulator renders a 3D object model reconstructed offline by a vision baseline in manually selected frames with no occlusions . The weight of the object used by the simulator is the true, annotated value. We manually annotated the poses of the containers for each configuration of CCM every 10 frames and interpolated the intermediate frames. We also annotated the frame where the person started delivering the object to the robot arm. We use the annotated and interpolated poses to render the motion of the object in simulation and control the robot arm to approach the object at the annotated frame for the handover. If the robot is not able to reach the container before the recording ends, the last location of the container is kept for 2 s. When reaching the container, the simulated robot arm closes the gripper to 2 cm less than the object width to ensure good contact with the object, and applies an amount of force determined by the estimated weight of the object to grasp the container. Note that in the scope of the challenge, we avoid simulating the human hands so that the object is fully visible and can be grasped by the robot arm. The simulator visualises whether the estimations enable the robot to successfully grasp the container without dropping it or squeezing it. After grasping the container, the robot delivers it to a target area on a table via a predefined trajectory.
## Scores
To provide sufficient granularity into the behaviour of the various components of the audio-visual algorithms and pipelines, we compute 13 performance scores individually for the public test set (no annotations available to the participants), the private test set (neither data nor annotations are available to the participants), and their combination. All scores are in the range \([0,1]\). With reference to Table [\[tab:scores\]](#tab:scores){reference-type="ref" reference="tab:scores"}, the first 7 scores quantify the accuracy of the estimations for the 5 main tasks and include filling level, filling type, container capacity, container width at the top, width at the bottom, and height, and container mass. Other 3 scores evaluate groups of tasks and assess filling mass, joint filling type and level classification, joint container capacity and dimensions estimation. The last 2 scores are an indirect evaluation of the impact of the estimations (i.e., the object mass) on the quality of human-to-robot handover and delivery of the container by the robot in simulation. **T1 and T2.** For filling level and type classification, we compute precision, recall, and F1-score for each class \(k\) across all the configurations of that class, \(J_k\). *Precision* is the number of true positives divided by the total number of true positives and false positives for each class \(k\) (\(P_k\)). *Recall* is the number of true positives divided by the total number of true positives and false negatives for each class \(k\) (\(R_k\)). *F1-score* is the harmonic mean of precision and recall, defined as \[F_k = 2\frac{P_k R_k}{P_k + R_k}.\] We compute the weighted average F1-score across \(K\) classes as, \[\bar{F}_1 = \sum_{k=1}^K \frac{J_k F_k}{J}, \label{eq:wafs}\] where \(J\) is the total number of configurations (for either the public test set, the private test set, or their combination). Note that \(K=3\) for the task of filling level classification and \(K=4\) for the task of filling type classification. **T3, T4 and T5.** For container capacity and mass estimation, we compute the relative absolute error between the estimated measure, \(a \in \{\tilde{\gamma}^j, \tilde{m}_c^j \}\), and the true measure, \(b \in \{\gamma^j, m_c^j \}\): \[\varepsilon(a, b) = \frac{|a-b |}{b}. \label{eq:ware}\] For container dimensions estimation, where \(a \in \left\{\tilde{w}_t^j,\tilde{w}_b^j,\tilde{h}^j\right\}\) and \(b\) is the corresponding annotation, we use the normalisation function \(\sigma_1(\cdot,\cdot)\) : \[\sigma_1(a,b)= \begin{cases} 1-\frac{|a-b |}{b} & \text{if} \quad | a-b | < b, \\ 0 & \text{otherwise}. \end{cases}\] For filling mass estimation[^2], we compute the relative absolute error between the estimated, \(\tilde{m}_{f}^j\), and the true filling mass, \(m_{f}^j\), unless the annotated mass is zero (empty filling level), \[\epsilon(\tilde{m}_f^j, m_f^j) = \begin{cases} 0, & \text{if } m_f^j = 0 \land \tilde{m}_f^j=0, \\ \tilde{m}_f^j & \text{if } m_f^j = 0 \land \tilde{m}_f^j \neq 0, \\ \frac{|\tilde{m}_f^j-m_f^j |}{m_f^j} & \text{otherwise}. \end{cases} \label{eq:ware2}\] With reference to Table [\[tab:scores\]](#tab:scores){reference-type="ref" reference="tab:scores"}, we compute the score, \(s_i\), with \(i=\left\{3,\dots,8\right\}\), across all the configurations \(J\) for each measure as: \[\noindent s_i = \begin{cases} \frac{1}{J}\sum_{j=1}^{J}{ \mathds{1}_j e^{-\varepsilon(a, b)}} & \text{if} \, a \in \left\{\tilde{\gamma}^j, \tilde{m}_c^j\right\},\\ \frac{1}{J}\sum_{j=1}^{J}{\mathds{1}_j \sigma_1(a,b)} & \text{if} \, a \in \left\{\tilde{w}^j,\tilde{w}_b^j,\tilde{h}^j\right\},\\ \frac{1}{J}\sum_{j=1}^{J}{ \mathds{1}_j e^{-\epsilon(a, b)}} & \text{if} \, a=\tilde{m}_f^j.\\ \end{cases}\] The value of the indicator function, \(\mathds{1}_j \in \{0,1\}\), is 0 only when \(a \in \left\{ \tilde{\gamma}^j, \tilde{m}_c^j, \tilde{w}_t^j,\tilde{w}_b^j,\tilde{h}^j, \tilde{m}_f^j \right\}\) is not estimated in configuration \(j\). Note that estimated and annotated measures are strictly positive, \(a>0\) and \(b>0\), except for filling mass in the empty case (i.e., \(\tilde{\lambda}^j = 0\) or \(\tilde{\tau}^j = 0\)).
**Object safety and accuracy of delivery.** Object safety is the probability that the force applied by the robot, \(\tilde{F}\), enables a gripper to hold the container without dropping it or breaking it . We approximate the force required to hold the container as \[\hat{F} \approx \frac{\hat{m} (g + a_{max})}{\mu}, \label{equ:grasp_force_theoretical}\] where \(\hat{m}\) is the annotated object mass; \(g=9.81\) m/s\(^2\) is the gravitational earth acceleration; \(a_{max}\) is the maximum acceleration of the robot arm when carrying the object; and \(\mu\) is the coefficient of friction between the container and the gripper (\(\mu=1.0\) ). The value of the force applied by the robot to grasp the object is calculated with Eq. [\[equ:grasp_force_theoretical\]](#equ:grasp_force_theoretical){reference-type="ref" reference="equ:grasp_force_theoretical"} using the predicted object mass \(\tilde{m}\). We compute object safety as an exponential function that accounts for the difference between the applied normal force \(\tilde{F}^j\) (measured in simulation) and the required normal force, \(\hat{F}^j\): \[\psi^j = e^{\frac{| \tilde{F}^j-\hat{F}^j |}{\hat{F}^j} \ln{(1-c)}} = {\ln{(1-c)}}^{\frac{| \tilde{F}^j-\hat{F}^j |}{\hat{F}^j}}, \label{eq:forcesafety}\] where the normal force is the component of the contact force perpendicular to the contact surface and \(c\) controls the sensitivity of \(\psi^j\) . A negative difference represents a higher probability of dropping the container, and a positive difference represents a higher probability of breaking the container. We quantify the accuracy of delivering the container upright and within the target area as \[\Delta_j = \begin{cases} 1-\frac{\alpha}{\eta} & \text{if } (\alpha < \eta) \text{ and } (\beta < \phi), \\ 0 & \text{otherwise}, \\ \end{cases}\] where \(\alpha\) is the distance from the centre of the base of the container to the target location \(\boldsymbol{d}\); \(\eta\) is the maximum distance allowed from the delivery target location; \(\beta\) is the angle between the vertical axis of the container and the vertical axis of the world coordinate system; and \(\phi\) is the value of \(\beta\) at which the container would tip over. We compute the score for object safety, \(s_9\), as \[s_{9} = \frac{1}{J}\sum_{j=1}^{J}{ \mathds{1}_j \psi^j(m^j, \hat{F}^j)}, \label{eq:totobjsafetyscore}\] where the value of the indicator function, \(\mathds{1}_j\), is 0 only when either the filling mass or the containers mass is not estimated for each configuration \(j\); and the score for the delivery accuracy, \(s_{10}\), as \[s_{10} = \frac{1}{J}\sum_{j=1}^{J}{ \Delta_j(\alpha^j,\beta^j,\eta,\phi)}. \label{eq:deliveryscore}\] The scores \(s_9\) and \(s_{10}\) are partially influenced by the simulator conditions (e.g, friction, contact, robot control), but we aimed at making the simulated handover reproducible across different algorithms through the annotated object trajectory, starting handover frame, and reconstructed 3D model. **Group tasks and overall score.** For joint filling type and level classification (\(s_{11}\)), estimations and annotations of both filling type and level are combined in \(K=7\) feasible classes, and \(\bar{F}_1\) is recomputed based on these classes. For joint container capacity and dimensions estimation, we compute the following weighted average: \[s_{12} = \frac{s_3}{2} + \frac{s4 + s5 + s6}{6}.\] Finally, the overall score is computed as the weighted average of the scores from \(s_1\) to \(s_{10}\). Note that \(s_8\), \(s_9\), and \(s_{10}\) may use random estimations for either of the tasks not addressed by an algorithm.
## IEEE ICASSP 2022 Challenge entries
Nine teams registered for the IEEE ICASSP 2022 challenge; three algorithms were submitted for container mass estimation (T4), two algorithms were submitted for classifying the filling level (T1) and type (T2), and two other algorithms were submitted for estimating the container properties (T3, T4, T5) by three teams. We refer to the submissions of the three teams as A1 , A2 , and A3 . A1 solved only the task of container mass estimation (T4) using RGB-D data from the fixed frontal view and by regressing the mass with a shallow Convolutional Neural Network (CNN) . To increase the accuracy, A1 extracted a set of patches of the detected container from automatically selected frames in a video, and averaged their predicted masses. To classify the filling level (T1) and type (T2), A2 used Vision Transformers , whereas A3 used pre-trained CNNs (e.g., Mobilenets ) combined with Long Short-Term Memory units or majority voting . Only audio or audio with visual information (RGB) from the fixed, frontal view is preferred as input. To estimate the container properties (T3, T4, T5), A2 used RGB data from the three fixed views, and A3 used RGB-D data from the fixed frontal view. A2 used a modified multi-view geometric approach that iteratively fits a hypothetical 3D model . A3 fine-tunes multiple Mobilenets via transfer learning from the task of dimensions estimation (T5) to the tasks of container capacity (T3) and mass (T4) estimation . These Mobilenets regress the properties using patches extracted from automatically selected frames where the container is mostly visible . To overcome over-fitting of the limited training data and improve generalisation on novel containers, these Mobilenets are fine-tuned with geometric-based augmentations and variance evaluation . Overall, A3 is designed to process a continuous stream (online), thus being more suitable for human-to-robot handovers. Table [\[tab:scores\]](#tab:scores){reference-type="ref" reference="tab:scores"} shows the scores of the submissions on the combined CCM test sets. As reference, we provide the results for the properties estimated by a pseudo-random generator (RAN), by using the average (AVG) of the training set for container capacity, mass, and dimensions; or by the algorithms of four earlier entries to the challenge . A3 achieves the highest \(\bar{F}_1\) for filling type classification (\(s_2 = 99.13\)), and joint filling type and level classification (\(s_{11} = 78.16\)). A3 is also the most accurate in estimating the container mass (\(s_4 = 58.78\)), followed by A1 (\(s_4=49.64\)), and the container dimensions. A2 is the most accurate in estimating the capacity (\(s_3 = 72.26\)). A2 is also the most accurate for filling mass (\(s_8 = 70.50\)). A3 has a high accuracy for filling level and type classification, but is affected by its lower accuracy for capacity estimation. Among the entries of the challenge at IEEE ICASSP 2022, A3 achieves the best score for object safety (\(s_9 = 71.19\)) and delivery accuracy (\(s_{10} = 79.32\)). In conclusion, A3 reaches the highest overall score (\(S = 73.43\)), followed by A2 (\(S = 66.16\)).
# Conclusion {#sec:conclusion}
Recent, fast advances in machine learning and artificial intelligence have created an expectation on the ability of robots to seamlessly operate in the real world by accurately and robustly perceiving and understanding dynamic environments, including the actions and intentions of humans. However, several challenges in audio-visual perception and modelling humans with their hard-to-predict behaviours hamper the deployment of robots in real-world scenarios. We presented the tasks, the real-to-simulation framework, the scores and the entries to the CORSMAL challenge at IEEE ICASSP 2022. These new entries complement the algorithms previously submitted to the challenge .
[^1]: An individual who performs the manipulation is referred to as *subject*. Ethical approval (QMREC2344a) was obtained at Queen Mary University of London, and consent from each person was collected prior to data collection.
[^2]: Note that an algorithm with lower scores for T1, T2 and T3, may obtain a higher filling mass score than other algorithms due to the multiplicative formula to compute the filling mass for each configuration. | {'timestamp': '2022-03-07T02:01:33', 'yymm': '2203', 'arxiv_id': '2203.01977', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01977'} |
# Introduction
Engineering systems are nowadays systematically designed for optimal efficiency in a resource-scarce environment. The optimization process is most often carried out using computational models predicting the behavior of the system for any given configuration. While these models are becoming more and more accurate thanks to algorithmic advances and the availability of low-cost computing power, the parameters required to describe the system are not always accurately known. This is due to the inherent variability of the system parameters or simply to the designer's lack of knowledge. Regardless of their nature, *uncertainties* need to be accounted for in the design process as they affect the prediction made by the computational model and henceforth the design solution. Within the probabilistic framework, various techniques have been developed for optimization under uncertainties. The optimization problem of interest in this paper comprises two components often treated separately in the literature, namely *robust design optimization* and *multi-objective optimization*. The first one, which directly deals with uncertainties, entails finding an optimal solution which is at the same time not sensitive to perturbations in its vicinity. This technique has been widely studied in the literature and state-of-the-art reviews can be found in, among others. By introducing the so-called sigma-to-noise ratio and using an experimental design strategy, Taguchi laid the conceptual basis for robust design. In this pioneering work, the sources of uncertainties were identified and their effects on the performance functions were reduced using various means. However, the most widespread approach in recent contributions relies on a different paradigm where the performance function and the effects of uncertainty are minimized simultaneously. These two quantities of interest may be represented by the first-and second-order moments (mean and variance) of the performance function. In practice, they are generally combined to form a scalar function which can then be minimized using traditional optimization techniques. When the probability distribution of the uncertain parameters are not well-known but bound estimates exist, worst-case approaches have proven to be effective despite their known extreme conservativeness. A more general robustness measure may be obtained by considering quantiles of the performance function instead. Owing to its simplicity and straightforward account of uncertainties through a unique scalar, this approach is considered in the present work. The second component, *i.e.*, multi-objective optimization, relates to the presence of multiple performance functions. Very often the objectives described by these functions are conflicting and a compromise needs to be found. The associated methods may be classified into *a priori* and *a posteriori* approaches, according to when the decision maker sets preferences among the different objectives. In the former, the designer reformulates the multi-objective problem into one or a series of single objectives by aggregation. A scalar objective function is often obtained using various scalarization techniques, including linear or exponential weighted sums and the Tchebycheff or \(\epsilon\)-constraint methods. Alternatively, nonscalarizing methods, which are often prompted by an inherent hierarchical ordering of the objectives, may be used, *e.g.*, lexicographic or max-ordering methods. In contrast, in *a posteriori* methods no preference is set before the optimization is carried out. Trade-off solutions are found first and only then are the decision makers given possible design solutions to choose from. In some cases, the preference setting parameters of *a priori* methods may be used as a mathematical tool to provide multiple equivalent solutions. The difficulty with such approaches is that the continuous variations of the resulting weights does not necessarily lead to an even exploration of the objective space. Evolutionary algorithms are another class of methods that have emerged and have shown to be powerful and particularly suited for multi-objective optimization, as they possess several desirable characteristics. These are basically metaheuristics that evolve a set of candidate designs by various mechanisms so as to converge to an approximation of the so-called *Pareto front*, *i.e.*, a series of optimal design solutions describing a trade-off between competing objectives. Examples of such methods include the vector evaluated genetic algorithm, the multi-objective genetic algorithm, the strength Pareto evolutionary algorithm 2 (SPEA2) or the Pareto archived evolution strategy. The last two algorithms possess an elite-preservation mechanism by which best solutions are never lost within iterations. Such mechanisms have proven to increase the rate of convergence of the algorithms. The non-dominated sorting genetic algorithm II (NSGA-II) belongs to this class of solvers and has been widely used in the literature. Considering its proven record of efficiency and its ease of implementation, NSGA-II is considered as the basis for the methodology developed in this paper. A commonly known drawback of evolutionary algorithms, and in particular of NSGA-II, is their high computational cost. This is even more problematic when the objective function stems from the propagation of uncertainties through a possibly expensive-to-evaluate computational model. Surrogate modelling is a proven solution to address these cost issues and has been widely used in both uncertainty quantification and design optimization fields. A surrogate model is an inexpensive approximation of a model that aims at replacing it in analyses requiring its repeated evaluation. One of the most popular methods, namely Kriging a.k.a. Gaussian process modelling, is considered in this work. Kriging has been extensively used for both multi-objective and robust optimization problems, as the brief literature review in Section [4.2](#sec:Kriging:LitRev){reference-type="ref" reference="sec:Kriging:LitRev"} shows. Finally, the developments in this paper were motivated by an application related to the optimal selection of renovation scenarios for building renovation under uncertainties. The formulated optimization problem is not only multi-objective and robust but also contains a subset of parameters which are categorical. *Categorical variables* are characterized by the fact that they are composed of a discrete and finite set of values which do not have any intrinsic ordering. There are also often referred to as *qualitative* or *nominal*. In the case of building renovation, a typical example is the heating system, which may be selected from technical solutions such as oil, gas, heat pump, etc. Both NSGA-II and Kriging, which are the two main methods used in the proposed methodology, were developed and are still mainly used for problems involving *only continuous parameters*, thus the need of further developments to tackle the problem of interest. In this paper, we consider adaptations of these two algorithms to handle mixed categorical-continuous problems. Based on these premises, the goal of this paper is to develop a general purpose multi-criterion algorithm for robust optimization problems using an adaptive Kriging model and capable of handling mixed categorical-continuous variables. The paper is organized as follows. In Section [2](#sec:ProbDef){reference-type="ref" reference="sec:ProbDef"}, the quantile-based formulation of the optimization problem is presented considering separately the robust and multi-objective components. Section [3](#sec:Solution){reference-type="ref" reference="sec:Solution"} presents a nested level solution scheme which couples optimization and quantile estimation. Section [4](#sec:Kriging){reference-type="ref" reference="sec:Kriging"} introduces Kriging to the framework following a short literature review. Section [5](#sec:Categorical){reference-type="ref" reference="sec:Categorical"} presents the adaptations of the proposed methodology to handle mixed categorical-continuous variables. Finally, Section [6](#sec:Applications){reference-type="ref" reference="sec:Applications"} presents two applications: an analytical example and a real case study which deals with the optimal renovation of a building under uncertainties using life cycle assessment.
# Problem formulation {#sec:ProbDef}
In this paper, we are interested in solving multi-objective *and* robust optimization problems. Even though robust design often involves minimizing two conflicting objectives (*e.g.*, a measure of performance and a measure of dispersion), these two classes of problems are most often treated separately in the literature. As briefly mentioned in the introduction, the state-of-the-art in robust optimization comprises various formulations. In this work, we are interested in minimizing conservative quantiles of the objective function given the uncertainties in the input. Mathematically, the following problem is solved: \[\label{eq:RobustOptim} \ve{d}^{\ast} = \arg \min_{\ve{d} \in \mathbb{D}} Q_{\alpha} \prt{\mathfrak{c};\ve{X}\prt{\ve{d}}, \ve{Z}} \quad \text{subject to:} \quad f_j \prt{\ve{d}} \leq 0 \quad \acc{j = 1, \ldots, c},\] where \(Q_{\alpha}\), which represents the \(\alpha\)-quantile of the cost function \(\mathfrak{c}\) and reads \[\label{eq:Quantile} Q_{\alpha} \prt{ \mathfrak{c}; \ve{X}\prt{\ve{d}},\ve{Z}} \equiv \inf \acc{q \in \mathbb{R}: \textrm{Prob}\bra{\mathfrak{c} \prt{\ve{X}\prt{\ve{d}},\ve{Z}} \leq q } \geq \alpha}.\] This quantile is minimized with respect to the design parameters \(\ve{d} \in \mathbb{D} \subset{R}^{M_d}\) under a set of \(c\) constraint functions \(\acc{f_j, \, j = 1 \enum c}\). In this work, the latter are assumed to be simple and easy-to-evaluate analytical functions bounding the design space. No other hard constraints are considered and to simplify the following developments, we will denote the subset of the design space that is feasible by \(\mathbb{S} = \acc{\ve{d} \in \mathbb{D}: f_j\prt{\ve{d}} \leq 0, j = 1 \enum c}\). In contrast, the cost function is assumed to result from the evaluation of a complex, and possibly expensive-to-evaluate, computational model \(\mathcal{M}\). This model takes as inputs the uncertain random parameters of the analysis, which are here split into two groups: the random variables \(\ve{X} \sim f_{\ve{X}|\ve{d}}\) represent the variability associated to the design parameters \(\ve{d}\) whereas \(\ve{Z} \sim f_{\ve{Z}}\) are the so-called *environmental variables* which affect the system response without necessarily being controlled by the designer. Manufacturing tolerances (design) and loading (environmental) are typical examples of the two categories of uncertain parameters in the context of structural engineering design. As in the applications considered in this work, engineering systems sometimes require the simultaneous optimization of multiple quantities of interest. Considering a set of \(m\) cost functions denoted by \(\acc{\mathfrak{c}_k, \, k = 1 \enum m}\), the optimization problem of interest now becomes \[\label{eq:RobustMultiObjOptim} \ve{d}^{\ast} = \arg \min_{\ve{d} \in \mathbb{S}} \acc{Q_{\alpha_1} \prt{\mathfrak{c}_1;\ve{X}\prt{\ve{d}}, \ve{Z}} \enum Q_{\alpha_m} \prt{\mathfrak{c}_m;\ve{X}\prt{\ve{d}}, \ve{Z}} },\] where \(\acc{\alpha_1 \enum \alpha_m} \in \bra{0,\,1}^m\) are the levels of the quantiles as introduced in Eq. [\[eq:Quantile\]](#eq:Quantile){reference-type="eqref" reference="eq:Quantile"}. It is assumed here without loss of generality that the \(m\) objective functions are derived from the same computational model \(\mathcal{M}\).
# Problem solution {#sec:Solution}
## Nested levels solution scheme
The direct solution of the optimization problem stated in Eq. [\[eq:RobustMultiObjOptim\]](#eq:RobustMultiObjOptim){reference-type="eqref" reference="eq:RobustMultiObjOptim"} classically involves two nested levels. In the outer level, the design space is explored whereas in the inner one the quantiles corresponding to a given design choice are computed. Even though variance-reduction simulation techniques can be used for the computation of quantiles, we consider here crude Monte Carlo simulation (MCS). Due to the fact that relatively large values of \(\alpha\) are considered for robust design optimization, MCS may indeed provide accurate estimates of the quantiles with relatively few sample points. More specifically, we consider \(\alpha_1 = \alpha_2 =... = \alpha_m = \alpha = 0.90\) throughout this paper. The first step in the inner level is to draw a Monte Carlo sample set for a given design choice \(\ve{d}^{(i)}\): \[\mathcal{C}\prt{\ve{d}^{(i)}} = \acc{\prt{\ve{x}^{(j)},\ve{z}^{(j)}}, j = 1 \enum N},\] where \(\ve{x}^{(j)}\) and \(\ve{z}^{(j)}\) are realizations of \(X \sim f_{\ve{X}|\ve{d}^{(i)}}\) and \(Z \sim f_{\ve{Z}}\), respectively. The computational model is then evaluated on each of these points and henceforth the corresponding cost function values are obtained. After ordering the latter, the quantiles corresponding to each output are eventually empirically estimated and denoted by \(q_{_k}\prt{\ve{d}^{(i)}}\). By their very nature, quantiles are random variables and plugging Monte Carlo estimates in Eq. [\[eq:RobustOptim\]](#eq:RobustOptim){reference-type="eqref" reference="eq:RobustOptim"} or [\[eq:RobustMultiObjOptim\]](#eq:RobustMultiObjOptim){reference-type="eqref" reference="eq:RobustMultiObjOptim"} would lead to a stochastic optimization problem. Solving such a problem may be cumbersome, and even more so in the presence of multiple objectives. To avoid dealing with the resulting issues, the concept of *common random numbers* is considered. This essentially translates into using the same stream of random numbers within iterations of the optimization problem. More specifically, the random variables \(\acc{\ve{x}\prt{\ve{d}^{(1)}}, \ve{x}\prt{\ve{d}^{(2)}}, \ve{x}\prt{\ve{d}^{(3)}},...}\) generated at each iteration of the optimization procedure share the same seed. For the environmental variables, the same set of realizations of \(\acc{\ve{z}^{(j)}, j= 1 \enum N}\) is used throughout the optimization. Using this trick, the mapping \(\ve{d}^{(i)} \mapsto q_k \prt{\ve{d}^{(i)}}\) becomes deterministic. As such, Eq. [\[eq:RobustMultiObjOptim\]](#eq:RobustMultiObjOptim){reference-type="eqref" reference="eq:RobustMultiObjOptim"} can be simplified into \[\label{eq:RMO_deter} \ve{d}^{\ast} = \arg \min_{\ve{d} \in \mathbb{S}} \acc{q_{1}\prt{\ve{d}} \enum q_{m}\prt{\ve{d}} }.\] This problem can then be solved using any classical multi-objective optimization solver. Such problems are however ill-defined in a sense, as there is generally no single solution that minimizes all the objective functions simultaneously. Therefore, the traditional approach is to seek for a set of solutions representing a compromise. To define such solutions, a widely-used concept is that of *Pareto dominance*. Given two solutions \(\ve{a}, \ve{b} \in \mathbb{D}\), \(\ve{a}\) dominates \(\ve{b}\) (denoted by \(\ve{a} \prec \ve{b}\)) if and only if the following two conditions hold: \[\left\{ \begin{array}{ll} \forall k \in \acc{1 \enum m}, \quad q_k\prt{\ve{a}} \leq q_k\prt{\ve{b}}, \\ \exists k \in \acc{1 \enum m}, \quad q_k\prt{\ve{a}} < q_k\prt{\ve{b}}. \end{array} \right.\] The goal of the search is then to find solutions which are not dominated by any other feasible point. A set of such solutions is said to be *Pareto optimal* and defined as follows: \[\mathcal{D}^{\ast} = \acc{\ve{d} \in \mathbb{S}:\, \nexists\, \ve{d}^\prime \in \mathbb{S}, \, \ve{d}^\prime \prec \ve{d}}.\] The *Pareto front* \(\mathcal{F} = \acc{\ve{q}\prt{\ve{d}} \in \mathbb{R}^m: \ve{d} \in \mathcal{D}^\ast}\) is the image of \(\mathcal{D}^\ast\) in the objective space. Typically, a discrete approximation of the Pareto front is sought. As mentioned in the introduction, we will consider in this paper an elitist evolutionary algorithm, namely the *non-dominated sorting genetic algorithm II* (NSGA-II). This algorithm is one of the most popular in the field of multi-objective optimization and is briefly described in the sequel.
## Non-dominated sorting genetic algorithm II
Generally speaking, genetic algorithms are a sub-class of evolutionary methods where a population of individuals is evolved so as to produce better and better solutions until convergence. Genetic algorithms attempt to mimic natural evolution theory where individuals are combined through so-called *cross-over* and *mutation* operators, the idea being that the fittest individuals would pass their genes to the next generation. The non-dominated sorting genetic algorithm II (NSGA-II) belongs to a class of algorithms developed specifically to handle multi-objective optimization problems. The latter introduce a new approach for assigning fitness according to a rank derived from a non-dominated sorting. NSGA-II is an elitist and fast non-dominated sorting algorithm introduced by as an enhancement of the original NSGA. Even though NSGA has shown to be a popular evolutionary method, it features a computationally complex and slow sorting algorithm and, most of all, lacks elitism. Elitism, a property by which the fittest solutions in a given generation are copied to the next one so as not to lose the best genes, has indeed proved to accelerate convergence. The general workflow of NSGA-II is illustrated in Figure [\[fig:FlowchartNSGA\]](#fig:FlowchartNSGA){reference-type="ref" reference="fig:FlowchartNSGA"}. The following section details the important steps of NSGA-II as described in Algorithm [\[alg:nsga2\]](#alg:nsga2){reference-type="ref" reference="alg:nsga2"}:
[\[alg:nsga2\]]{#alg:nsga2 label="alg:nsga2"}
Finally, to assess the accuracy of this analysis, we sample a validation set\
\(\mathcal{C}_{\textrm{val}} = \acc{\prt{\ve{d}^\ast, \ve{z}^{(i)}}, i = 1 \enum 500}\), where \(\ve{d}^\ast\) is the selected solution. Figure [\[fig:Example3:Y_Y\]](#fig:Example3:Y_Y){reference-type="ref" reference="fig:Example3:Y_Y"} compares the prediction by the final surrogate model and the original response on this validation set. As expected, the surrogate model is able to correctly approximate the original model around the chosen solution. This is confirmed by comparing the normalized mean-square error (NMSE) and the \(90\%\)-quantile shown in Table [4](#tab:Example3:NMSE_Q){reference-type="ref" reference="tab:Example3:NMSE_Q"}. Even though the Monte Carlo sample set size is reduced, the estimated quantiles allow us to have an idea of how accurate the surrogate models are. More specifically the relative errors of the quantiles of \(LCC\) and \(LCEI\) due to the introduction of the surrogates are approximately \(0.2\%\) and \(0.4\%\), respectively. The NMSE for \(LCEI\) is slightly larger compared to that of \(LCC\), which is consistent with the convergence history in Figure [\[fig:Example3:Conv\]](#fig:Example3:Conv){reference-type="ref" reference="fig:Example3:Conv"}. This value could be reduced by selecting a smaller value of \(\bar{\eta}_q\). This would however lead to a larger computational cost and analysis run time.
# Conclusion
In this paper, we proposed a methodology for the solution of multi-objective robust optimization problems involving categorical and continuous variables. The problem was formulated using quantiles as a measure of robustness, the level of which can be set to control the desired degree of robustness of the solution. A nested solution scheme was devised, where optimization is carried out in the outer loop while uncertainty propagation is performed in the inner loop. This however results in a stochastic optimization problem which may be cumbersome to solve. The concept of common random numbers was introduced to approximate this stochastic problem by a deterministic one, which is much easier to solve. This allows us then to use a general-purpose multi-objective solver, namely the non-dominated sorting genetic algorithm II (NSGA-II). To reduce the computational burden of this nested solution scheme, Kriging was introduced in the proposed framework using an adaptive sampling scheme. This is enabled by checking the accuracy of the quantile estimates in areas of interest, namely the area around the Pareto front. Finally, the proposed approach was adapted to account for mixed categorical-continuous parameters. A first validation example was built analytically while considering all the characteristics of the problem at hand. The methodology was then applied to the optimization of renovation scenarios for a building considering uncertainties in its entire life cycle post-renovation. This has shown that a driving parameter for such a renovation is the replacement of the heating system by either wood pellets or heat pump. This result was validated by running the original model around the selected solution, hence showing that the final surrogate model was accurate. This methodology was eventually applied in a detailed analysis presented in.
# Replication of results
The results presented in this paper were obtained using an implementation of the proposed methodology within [UQLab]{.smallcaps}, a [Matlab]{.smallcaps}-based framework for uncertainty quantification. The codes can be made available upon request. | {'timestamp': '2022-03-07T02:02:48', 'yymm': '2203', 'arxiv_id': '2203.01996', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01996'} |
# Introduction
The problem of developing control policies that guarantee stability and safety of nonlinear control systems has received significant attention in recent years. In particular, the unification of Control Lyapunov Functions (CLFs) and Control Barrier Functions (CBFs) has provided a pathway towards safe and stable control of complex nonlinear systems such as autonomous vehicles, multi-agent systems, and bipedal robots. Although powerful, the guarantees afforded by these approaches are model-based, hence the success in transferring such guarantees to real-world systems is inherently tied to the fidelity of the underlying system model. Inevitably, such models are only an approximation of the true system due to parametric uncertainties and unmodeled dynamics, thus there is strong motivation to study the synthesis of CLF and CBF-based controllers in the presence of model uncertainty. Although robust approaches have demonstrated success in this regard, in general, such techniques can be highly conservative. On the other hand, data-driven approaches have demonstrated the ability to reduce uncertainty and yield high-performance controllers in terms of both safety and stability. Popular data-driven approaches for reducing uncertainty include work based on episodic learning or by modeling the uncertainty using Gaussian processes (GPs). However, providing strong guarantees in an episodic learning setting is challenging and, although GP-based approaches account for very general classes of uncertainties, GPs can be computationally intensive and the generality offered by GPs generally results in probabilistic, rather than deterministic, guarantees on stability and safety. As adaptive control has a long history of success in controlling nonlinear systems with parametric uncertainty, there is also a rich line of work that unites CLFs and CBFs with techniques from adaptive control. The authors of extend the adaptive CLF (aCLF) paradigm to CBFs, yielding the first instance of an *adaptive* CBF[^1] (aCBF) that allows for the safe control of uncertain nonlinear systems with parametric uncertainty. The authors of extend the aCBF techniques from using set-membership identification, concurrent learning (CL), and hybrid techniques, respectively, which were shown to reduce the conservatism of original aCBF formulation. Nevertheless, all of the aforementioned aCBF techniques are limited to CBFs with relative degree one. In practice, however, many safety-critical constraints have relative degrees larger than one (e.g., constraints on the configuration of a mechanical system generally have at least relative degree two). The unification of CLFs/CBFs with techniques from CL adaptive control was also presented in; however, the resulting CLF controllers either only guarantee uniformly ultimately bounded stability or are limited to single-input feedback linearizable systems. Importantly, the CL-based aCBF controllers from do not provide strong safety guarantees since the CBF-based control inputs are generated using the estimated dynamics without accounting for estimation errors, leading to potential safety violations that can be understood through the notion of input-to-state-safety. To address high relative degree safety constraints for systems with *known* dynamics, the authors of introduce exponential and high order CBFs (HOCBFs), which provide a systematic framework to construct CBFs that account for high relative degree constraints. Importantly, as noted in, HOCBFs can also be used to simplify the search for valid CBFs since the dependence on higher order dynamics need not be directly encoded through the definition of the CBF itself (as in the relative degree one case). Rather, the dependence on higher order dynamics is *implicitly* encoded through conditions on higher order derivatives of the CBF candidate. Despite the advancements of both aCBFs and HOCBFs, to our knowledge, the intersection of these two techniques has yet to be explored in the literature. In this paper we unite aCBFs and HOCBFs to develop control policies satisfying high relative degree safety constraints for nonlinear systems with parametric uncertainty. Similar to, our approach leverages the concurrent learning technique presented in, which identifies uncertain parameters of the nonlinear system online by exploiting sufficiently rich data collected along the system trajectory. A key insight enabling our high relative degree approach is that if the relative degrees of the CBF with respect to the control and uncertain parameters are the same (in a sense to be clarified later in this paper), then the sufficient conditions for safety can be encoded through affine constraints on the control input, allowing control synthesis to be performed in a computationally efficient quadratic programming framework. Furthermore, unlike existing aCBF formulations for relative degree one constraints, we show that our High Order Robust Adaptive Control Barrier Functions (HO-RaCBFs) inherit the robustness properties of zeroing CBFs in the sense that our developed aCBFs not only render the safe set forward invariant, but also *asymptotically stable* when solutions begin outside the safe set. We then introduce a novel class of aCLF, termed exponentially stabilizing aCLFs (ES-aCLFs), that extends the CL paradigm from to a CLF setting by exploiting the same history stack used to reduce conservatism of the safety controller to endow a nominal CLF-based control policy with *exponential* stability guarantees. The efficacy of the combined HO-RaCBF/ES-aCLF controller is demonstrated through simulations of a robotic navigation task and an inverted pendulum, both of which involve high relative degree safety constraints that cannot be addressed by existing aCBF approaches.
# Mathematical Preliminaries
Consider a nonlinear control affine system of the form \[\label{eq:dyn} \dot{x}=f(x) + g(x)u,\] with state \(x\in\mathbb{R}^n\) and control \(u\in\mathcal{U}\subseteq\mathbb{R}^m\), where \(f\,:\,\mathbb{R}^n\rightarrow\mathbb{R}^n\) and \(g\,:\,\mathbb{R}^n\rightarrow\mathbb{R}^{n\times m}\) are locally Lipschitz vector fields modeling the drift and control directions, respectively. Given a feedback law \(u=k(x,t)\), locally Lipschitz in \(x\) and piecewise continuous in \(t\), the closed-loop vector field \(f_{\text{cl}}(x,t)\coloneqq f(x)+g(x)k(x,t)\) is also locally Lipschitz in \(x\) and piecewise continuous in \(t\), implying that [\[eq:dyn\]](#eq:dyn){reference-type="eqref" reference="eq:dyn"} admits a unique solution \(x\,:\,\mathcal{I}\rightarrow\mathbb{R}^n\) starting from \(x(0)\in\mathbb{R}^n\) on some maximal interval of existence \(\mathcal{I}\subset\mathbb{R}_{\geq0}\). A closed set \(\mathcal{C}\subset\mathbb{R}^n\) is said to be *forward invariant* for the closed-loop system \(\dot{x}=f_{\text{cl}}(x,t)\) if \(x(0)\in\mathcal{C}\implies x(t)\in\mathcal{C}\) for all \(t\in\mathcal{I}\). In this paper (and in the related literature) forward invariance is used to formalize the abstract notion of safety. Hence, if a given "safe\" set \(\mathcal{C}\) is forward invariant for \(\dot{x}=f_{\text{cl}}(x,t)\), then we say the closed-loop system is *safe* with respect to \(\mathcal{C}\). It will be assumed throughout this paper that any safe set \(\mathcal{C}\) can be expressed as the zero-superlevel set of a continuously differentiable function \(h\,:\,\mathbb{R}^n\rightarrow\mathbb{R}\) as \[\label{eq:C} \mathcal{C}=\{x\in\mathbb{R}^n\,|\,h(x)\geq0\}.\] A popular tool for developing controllers that render [\[eq:C\]](#eq:C){reference-type="eqref" reference="eq:C"} forward invariant for [\[eq:dyn\]](#eq:dyn){reference-type="eqref" reference="eq:dyn"} is the concept of a CBF, which places Lyapunov-like conditions on the derivative of \(h\) to guarantee safety. A limitation of traditional CBFs from, however, is that their effectiveness is conditioned upon the assumption that the function \(h\) has relative degree one. Yet, many relevant systems and safe sets fail to satisfy such a condition, which has motivated the introduction of exponential and higher order CBFs to account for safety constraints with *high relative degree*. Before proceeding, we recall that the *Lie derivative* of a differentiable function \(h\,:\,\mathbb{R}^n\rightarrow\mathbb{R}\) along a vector field \(f\,:\,\mathbb{R}^n\rightarrow\mathbb{R}^n\) is defined as \(L_fh(x)\coloneqq \tfrac{\partial h}{\partial x}f(x)\). This notation allows us to denote higher order Lie derivatives along an additional vector field \(g\) as \(L_gL_f^{i-1}h(x)=\tfrac{\partial(L_f^{i-1}h)}{\partial x}g(x)\) (see e.g. ).
To account for high relative degree safety constraints, the authors of introduce the notion of a HOCBF. Before stating the definition, we recall from that a continuous function \(\alpha\,:\,(-b,a)\rightarrow(-\infty,\infty)\), for some \(a,b\in\mathbb{R}_{>0}\), is said to be an *extended class* \(\mathcal{K}\) *function* if it is strictly increasing and \(\alpha(0)=0\).
If \(\mathcal{U}=\mathbb{R}^m\), the above states that \(h\) is a HOCBF if \(\|L_g\psi_{r-1}h(x)\|=0\) \(\implies\) \(L_f\psi_{r-1}h(x) \geq-\alpha_r(\psi_{r-1}(x))\), implying that \(h\) need not have *uniform* relative degree on \(\mathcal{D}\) as illustrated in, provided the unforced dynamics satisfy the above condition at points where \(\|L_g\psi_{r-1}h(x)\|=0\). The following result provides higher order conditions for safety.
# High Order Robust Adaptive Control Barrier Functions
This section introduces the concept of a High Order Robust Adaptive Control Barrier Function (HO-RaCBF), which provides a tool to synthesize controllers that guarantee the satisfaction of high relative degree safety constraints for nonlinear systems with parametric uncertainty. To this end, we now turn our attention to systems of the form \[\label{eq:dyn2} \dot{x}=f(x) + Y(x)\theta + g(x)u,\] where \(f\) and \(g\) are known locally Lipschitz vector fields as in [\[eq:dyn\]](#eq:dyn){reference-type="eqref" reference="eq:dyn"}, \(Y\,:\,\mathbb{R}^n\rightarrow\mathbb{R}^{n\times p}\) is a known locally Lipschitz regression matrix, and \(\theta\in\mathbb{R}^p\) is a constant vector of uncertain parameters. We assume that \(f(0)=0\) and \(Y(0)=0\) so that 0 is an equilibrium point of the unforced system. Our main objective is to synthesize controllers for [\[eq:dyn2\]](#eq:dyn2){reference-type="eqref" reference="eq:dyn2"} that guarantee safety under the presumption that the function \(h\) defining the safe set \(\mathcal{C}\) as in [\[eq:C\]](#eq:C){reference-type="eqref" reference="eq:C"} has a high relative degree with respect to [\[eq:dyn2\]](#eq:dyn2){reference-type="eqref" reference="eq:dyn2"}. To facilitate our approach, we make the following assumption on the structure of the uncertainty in [\[eq:dyn2\]](#eq:dyn2){reference-type="eqref" reference="eq:dyn2"}.
According to Theorem [\[theorem:HOCBF\]](#theorem:HOCBF){reference-type="ref" reference="theorem:HOCBF"}, the forward invariance of \(\mathcal{C}\) can be enforced by ensuring that the control input is selected such that the HOCBF condition from Def. [\[def:HOCBF\]](#def:HOCBF){reference-type="ref" reference="def:HOCBF"} is satisfied for all \(x\in\cap_{i=1}^{r}\mathcal{C}_i\); however, the presence of model uncertainty in [\[eq:dyn2\]](#eq:dyn2){reference-type="eqref" reference="eq:dyn2"} makes it impossible to directly enforce such a condition. To address this challenge, we aim to take a data-driven approach and update the estimates of the uncertain parameters online using techniques from adaptive control while guaranteeing safety at all times. Following the approach from, observe that integrating [\[eq:dyn2\]](#eq:dyn2){reference-type="eqref" reference="eq:dyn2"} over a time interval \([t-\Delta T, t]\subset\mathbb{R}\) using the Fundamental Theorem of Calculus allows [\[eq:dyn2\]](#eq:dyn2){reference-type="eqref" reference="eq:dyn2"} to be equivalently represented as \[\label{eq:intdyn} \Delta x(t)=x(t)-x(t-\Delta T)=\mathcal{F}(t) + \mathcal{Y}(t)\theta + \mathcal{G}(t),\] where \(\mathcal{F}(t)\coloneqq \int_{t-\Delta T}^{t}f(x(\tau))d\tau\), \(\mathcal{Y}(t)\coloneqq \int_{t-\Delta T}^{t}Y(x(\tau))d\tau\), \(\mathcal{G}(t)\coloneqq \int_{t-\Delta T}^{t}g(x(\tau))u(\tau)d\tau\). Now let \(\mathcal{H}\coloneqq\{(t_j,x_j,x_{j}^{-},u_j) \}_{j=1}^M\) be a history stack of \(M\in\mathbb{N}\) instances of input-output data, where \(t_j\in[\Delta T, t]\) denotes a sampling time, \(x_j\coloneqq x(t_j)\), \(x_j^{-}\coloneqq x(t_j-\Delta t)\), \(u_j\coloneqq u(t_j)\), and define[^2] \[\label{eq:Lambda} \Lambda(t)\coloneqq\sum_{j=1}^{M}\mathcal{Y}_j^\top\mathcal{Y}_j,\quad \lambda(t)\coloneqq \lambda_{\min}(\Lambda(t)),\] where \(\lambda_{\min}(\Lambda)\) denotes the minimum eigenvalue of \(\Lambda\). As noted in, the function \(\lambda\) is piecewise constant between sampling times and nonnegative since \(\Lambda(t)\) is at least positive semidefinite at all times. The following assumption will be used to ensure safety for all possible realizations of the uncertain parameters.
The above assumption implies that for any given parameter estimate \(\hat{\theta}\in\Theta\) there exists some maximum possible estimation error \(\tilde{\vartheta}\in\mathbb{R}^p\) in the sense that \(\|\theta-\hat{\theta}\|\leq\|\tilde{\vartheta}\|\) for all \(\hat{\theta}\in\Theta\). Given that \(\Theta\) is a convex polytope, each component of \(\tilde{\vartheta}\) can be computed as \[\tilde{\vartheta}_i=\max\big\{\big\vert\min_{\theta,\hat{\theta}\in\Theta}\theta_i-\hat{\theta}_i\big\vert,\, \big\vert\max_{\theta,\hat{\theta}\in\Theta}\theta_i-\hat{\theta}_i\big\vert\big\},\] where \(|\cdot|\) denotes aboslute value and \(\theta_i\) denotes the \(i\)th component of \(\theta\), which requires solving a pair of linear programs for each parameter.
The following lemma, adapted from, provides a verifiable bound on the parameter estimation error.
The above lemma implies that, under the update law in [\[eq:theta_dot_cbf\]](#eq:theta_dot_cbf){reference-type="eqref" reference="eq:theta_dot_cbf"}, the parameter estimation error is always bounded by a known value provided the initial parameter estimates are selected such that \(\hat{\theta}(0)\in\Theta\). Moreover, if there exists some time \(T\) such that \(\lambda(t)>0\) for all \(t>T\), then the bound in [\[eq:theta_bound\]](#eq:theta_bound){reference-type="eqref" reference="eq:theta_bound"} implies all estimated parameters exponentially converge to their true values[^3]. We now have the necessary tools in place to introduce a new class of aCBF that allows for the consideration of high relative degree safety constraints.
Intuitively, the above condition adds a buffer to the original HOCBF condition from Def. [\[def:HOCBF\]](#def:HOCBF){reference-type="ref" reference="def:HOCBF"} to account for all possible realizations of the uncertain parameters given the set \(\Theta\). This buffer may shrink over time as the uncertain parameters are identified and exponentially converges to zero in the limit as \(t\rightarrow\infty\) provided there exists a time \(T\) for which \(\lambda(t)>0\) for all \(t\geq T\). Furthermore, Def. [\[def:HO-RaCBF\]](#def:HO-RaCBF){reference-type="ref" reference="def:HO-RaCBF"} allows us to consider the set of all control values satisfying [\[eq:HO-RaCBF\]](#eq:HO-RaCBF){reference-type="eqref" reference="eq:HO-RaCBF"} as \[\label{eq:Kcbf} \begin{aligned} \hat{K}_{\text{cbf}}(x,\theta,t)\coloneqq & \{u\in\mathcal{U}\,|\, L_{f}\psi_{r-1}(x) + L_Y\psi_{r-1}(x)\theta \\ & + L_g\psi_{r-1}(x)u +\alpha_r(\psi_{r-1}(x)) \\ &-\|L_Y\psi_{r-1}(x)\|\nu(t) \geq0\}. \end{aligned}\] The following theorem shows that any well-posed control law \(u=k(x,\hat{\theta},t)\) satisfying \(k(x,\hat{\theta},t)\in \hat{K}_{\text{cbf}}(x,\hat{\theta},t)\) renders \(\cap_{i=1}^r\mathcal{C}_i\) forward invariant for [\[eq:dyn2\]](#eq:dyn2){reference-type="eqref" reference="eq:dyn2"}.
Definition [\[def:HO-RaCBF\]](#def:HO-RaCBF){reference-type="ref" reference="def:HO-RaCBF"} and Theorem [\[theorem:HO-RaCBF\]](#theorem:HO-RaCBF){reference-type="ref" reference="theorem:HO-RaCBF"} generalize the ideas introduced in to constraints with high relative degree, thereby facilitating the application of such ideas to more complex systems and safe sets. Although the results of apply to safe sets defined by multiple barrier functions, whereas ours apply only to those defined by a single barrier function, there exist various approaches in the CBF literature to formally combine multiple barrier functions[^4] using smooth approximations of min/max operators or nonsmooth analysis. We now show that if the conditions of Theorem [\[theorem:HO-RaCBF\]](#theorem:HO-RaCBF){reference-type="ref" reference="theorem:HO-RaCBF"} hold on \(\mathcal{D}\) and \(x(0)\in\mathcal{D}\backslash\cap_{i=1}^r\mathcal{C}_i\), then any controller satisfying \(k(x,\hat{\theta},t)\in \hat{K}_{\text{cbf}}(x,\hat{\theta},t)\) also guarantees asymptotic stability of \(\mathcal{C}\), which ensures the developed controller is robust to perturbations.
A controller satisfying the conditions of Theorem [\[theorem:HO-RaCBF\]](#theorem:HO-RaCBF){reference-type="ref" reference="theorem:HO-RaCBF"} can be computed through the use of quadratic programming (QP). Specifically, given an estimate of the uncertain parameters \(\hat{\theta}\) and a nominal feedback control policy \(k_d(x,\hat{\theta},t)\), a minimally invasive safe controller can be computed using the following HO-RaCBF-QP \[\label{eq:HO-RaCBF-QP} \begin{aligned} \min_{u\in\mathcal{U}} &\quad \tfrac{1}{2}\|u-k_d(x,\hat{\theta},t)\|^2 \\ \text{s.t.} & \quad L_{f}\psi_{r-1}(x) + L_Y\psi_{r-1}(x)\hat{\theta} + L_{g}\psi_{r-1}(x)u \\ & \geq-\alpha_{r}(\psi_{r-1}(x)) + \|L_Y\psi_{r-1}(x)\|\nu(t), \end{aligned}\] which enforces the conditions of Theorem [\[theorem:HO-RaCBF\]](#theorem:HO-RaCBF){reference-type="ref" reference="theorem:HO-RaCBF"} provided the resulting controller is Lipschitz continuous and \(h\) is a valid HO-RaCBF with \(u\in\mathcal{U}\). That is, the above QP [\[eq:HO-RaCBF-QP\]](#eq:HO-RaCBF-QP){reference-type="eqref" reference="eq:HO-RaCBF-QP"} allows the nominal policy \(k_d\) to be executed on [\[eq:dyn2\]](#eq:dyn2){reference-type="eqref" reference="eq:dyn2"} if \(k_d\) can be formally verified as safe and intervenes in a minimally invasive fashion to guarantee safety only if \(k_d\) cannot be certified as safe. We illustrate in the following section how one can leverage the same history stack used to reduce uncertainty in the parameter estimates to synthesize a desired policy \(k_d\) with exponential stability guarantees.
# Exponentially Stabilizing Adaptive Control Lyapunov Functions
In this section we introduce the concept of an exponentially stabilizing adaptive control Lyapunov function (ES-aCLF) as a tool to exponentially stabilize uncertain nonlinear systems in the presence of parametric uncertainty.
The following theorem shows that if sufficiently rich data is collected along the system trajectory, then \(x(t)\) and \(\tilde{\theta}(t)\) both exponentially converge to the origin.
Similar to the previous section, given an estimate of the uncertain parameters \(\hat{\theta}\), control inputs satisfying [\[eq:aclf\]](#eq:aclf){reference-type="eqref" reference="eq:aclf"} can be computed using the following ES-aCLF-QP \[\label{eq:ES-aCLF-QP} \begin{aligned} \min_{u\in\mathcal{U}}\quad & \tfrac{1}{2}u^\top u \\ \text{s.t.}\quad & L_fV(x) + L_YV(x)\hat{\theta} + L_gV(x)u\leq-c_3V(x). \end{aligned}\] A controller guaranteeing stability and safety[^5] can then be synthesized by either taking the solution to [\[eq:ES-aCLF-QP\]](#eq:ES-aCLF-QP){reference-type="eqref" reference="eq:ES-aCLF-QP"} as \(k_d\) in [\[eq:HO-RaCBF-QP\]](#eq:HO-RaCBF-QP){reference-type="eqref" reference="eq:HO-RaCBF-QP"} or by forming a single QP with the HO-RaCBF constraint from [\[eq:HO-RaCBF-QP\]](#eq:HO-RaCBF-QP){reference-type="eqref" reference="eq:HO-RaCBF-QP"} and a relaxed version of the ES-aCLF constraint from [\[eq:ES-aCLF-QP\]](#eq:ES-aCLF-QP){reference-type="eqref" reference="eq:ES-aCLF-QP"} to guarantee feasibility provided the resulting controller is Lipschitz continuous.
# Case Studies {#sec:sim}
## Robotic Navigation
Our first example involves a robotic navigation task for a system modeled as a double integrator with uncertain friction effects. The system is in the form of [\[eq:dyn2\]](#eq:dyn2){reference-type="eqref" reference="eq:dyn2"}: \[\begin{aligned} \underbrace{ \begin{bmatrix} \dot{x}_1 \\ \dot{x}_2 \\ \dot{x}_3 \\ \dot{x}_4 \end{bmatrix} }_{\dot{x}} = \underbrace{ \begin{bmatrix} x_3 \\ x_4\\ 0\\ 0 \end{bmatrix} }_{f(x)} + \underbrace{ \begin{bmatrix} 0 & 0 \\ 0 & 0 \\-\tfrac{x_3}{\mathrm{m}} & 0 \\ 0 &-\tfrac{x_4}{\mathrm{m}} \end{bmatrix} }_{Y(x)} \underbrace{ \begin{bmatrix} \mu_1 \\ \mu_2 \end{bmatrix} }_{\theta} + \underbrace{ \begin{bmatrix} 0 & 0\\ 0 & 0 \\ \tfrac{1}{\mathrm{m}} & 0 \\ 0 & \tfrac{1}{\mathrm{m}} \end{bmatrix} }_{g(x)} \underbrace{ \begin{bmatrix} u_1 \\ u_2 \end{bmatrix}}_{u}, \end{aligned}\] where \(\mathrm{m}\in\mathbb{R}_{>0}\) is a known mass and \(\mu_1,\mu_2\in\mathbb{R}_{>0}\) are uncertain viscous friction coefficients. For simplicity, we set \(\mathrm{m}=\mu_1=\mu_2=1\). The objective is to stabilize the system to the origin while avoiding a set of static obstacles in the state space. To achieve the stabilization task, we construct an ES-aCLF as \(V(x)\coloneqq x^\top Px\) with \(P=[2,\, 0,\, 1,\, 0; 0,\, 2,\, 0,\, 1; 1,\, 0,\, 1,\, 0; 0,\, 1,\, 0,\, 1]\) and \(c_3=1\). The safety objective is achieved by considering a collection of safe sets of the form [\[eq:C\]](#eq:C){reference-type="eqref" reference="eq:C"} with \(h^{(i)}(x)\coloneqq (x_1-p_{1,i})^2 + (x_2-p_{2,i})^2-R^2\), where \((p_{1,i},p_{2,i})\in\mathbb{R}^2\) denotes the center of a circular disk and \(R_i\in\mathbb{R}_{>0}\) its radius. With straightforward calculations one can verify that this CBF candidate has relative degree \(r=2\) with respect to the dynamics and that Assumption [\[assumption:rd\]](#assumption:rd){reference-type="ref" reference="assumption:rd"} is satisfied. Although the dynamics and safe set are relatively simple, the aCBF techniques from cannot be applied to solve the problem as currently constructed since the relative degree of \(h\) is larger than one[^6]. To illustrate the efficacy of the developed approach, we simulate the system under the HO-RaCBF/ES-aCLF control architecture presented herein and compare the results to controllers take a purely robust approach. The HO-RaCBF/ES-aCLF controller is computed by taking the solution to [\[eq:ES-aCLF-QP\]](#eq:ES-aCLF-QP){reference-type="eqref" reference="eq:ES-aCLF-QP"} as \(k_d\) in [\[eq:HO-RaCBF-QP\]](#eq:HO-RaCBF-QP){reference-type="eqref" reference="eq:HO-RaCBF-QP"}. For each simulation we construct two HOCBFs as outlined previously with \((p_{1,1},p_{2,1})=(-1.75,2)\), \((p_{1,2},p_{2,2})=(-1,0.5)\), and \(R_1=R_2=0.5\). For each simulation, the system is initialized as \(x(0)=(-2.5,2.5,0,0)\) and all parameter estimates are initialized at zero. All extended class \(\mathcal{K}\) functions used are defined as \(\alpha(r)=r\). For the learning-based approach, we maintain a history stack with \(M=20\) entries, the integration window is chosen as \(\Delta T=0.5\), and the learning rates are chosen as \(\Gamma=I_2\) and \(\gamma=10\). To demonstrate the relationship between adaptation and safety, we run set of simulations comparing system performance using the HO-RaCBF/ES-aCLF controller to that under a purely robust approach (i.e., accounting for the maximum possible parameter estimation error without adaptation), where the set of possible parameters \(\Theta\) is varied, the results of which are presented in Fig. [\[fig:double_int_traj\]](#fig:double_int_traj){reference-type="ref" reference="fig:double_int_traj"}-[\[fig:theta\]](#fig:theta){reference-type="ref" reference="fig:theta"}. The controller used in the robust approach is the same as that of the adaptive approach but with \(\gamma=0\). As shown in Fig. [\[fig:double_int_traj\]](#fig:double_int_traj){reference-type="ref" reference="fig:double_int_traj"} and Fig. [\[fig:cbf_traj\]](#fig:cbf_traj){reference-type="ref" reference="fig:cbf_traj"}, each trajetory is safe; however, for larger levels of uncertainty the purely robust controller is overly conservative, causing the system trajectory to diverge from the origin. In constrast, the adaptive controller reduces the uncertainty online and achieves dual objectives of stability and safety. In fact, the convergence of the trajectory to the origin under the adaptive controller is minimally affected by the initial level of uncertainty, whereas the trajectory under the robust controller fails to converge to the origin in the presence of large uncertainty. The ability of the learning scheme to identify the uncertain parameters is showcased in Fig. [\[fig:theta\]](#fig:theta){reference-type="ref" reference="fig:theta"}, which shows the trajectory of the estimated parameters used in the ES-aCLF QP and HO-RaCBF QP, both of which converge to their true values in just under 15 seconds.
## Inverted Pendulum
To demonstrate the applicability of the developed results to an unstable nonlinear system with uncertain parameters, we now consider an inverted pendulum of the form [\[eq:dyn2\]](#eq:dyn2){reference-type="eqref" reference="eq:dyn2"} as \[\begin{aligned} \underbrace{ \begin{bmatrix} \dot{x}_1 \\ \dot{x}_2 \end{bmatrix} }_{\dot{x}} = \underbrace{ \begin{bmatrix} x_2 \\ 0 \end{bmatrix} }_{f(x)} + \underbrace{ \begin{bmatrix} 0 & 0 \\ \tfrac{1}{\ell}\sin(x_1) &-\tfrac{1}{\mathrm{m}}x_2 \end{bmatrix} }_{Y(x)} \underbrace{ \begin{bmatrix} \mathrm{g} \\ \mathrm{c} \end{bmatrix} }_{\theta} + \underbrace{ \begin{bmatrix} 0 \\ \tfrac{1}{\mathrm{m}\ell^2} \end{bmatrix} }_{g(x)} u \end{aligned},\] with length \(\ell=0.7\), mass \(\mathrm{m}=0.7\), gravitational acceleration \(\mathrm{g}=9.8\), and damping coefficient \(\mathrm{c}=0.2\). The objective is to regulate \(x\) to the origin while satisfying \(-\tfrac{\pi}{4}\leq x_1(t)\leq \tfrac{\pi}{4}\) for all time. To achieve the stabilization objective we select the aCLF \(V(x)=x^\top Px\) with \(P=[1,\,0.5;\,0.5,\,0.5]\) and \(c_3=2.5\tfrac{\lambda_{\min}(Q)}{\lambda_{\max}(P)}\), where \(Q=[2,\,1;1,\,1]\). The safety objective is achieved by constructing two safe sets defined by \(h_1(x)=x_1 + \tfrac{\pi}{4}\) and \(h_2(x)=\tfrac{\pi}{4}-x_1\), both of which have relative degree 2 with respect to the dynamics. Again, the results of are not applicable to this example since \(h\) has relative degree larger than one. The uncertain parameters \(\theta=(\theta_1,\theta_2)=(\mathrm{g},\mathrm{c})\) are assumed to take values from \(\Theta=[7,13]\times[0,3]\subset\mathbb{R}^2\) and higher order terms from [\[eq:psi\]](#eq:psi){reference-type="eqref" reference="eq:psi"} are defined using \(\alpha_1(r)=\alpha_2(r)=5r\). To compare the performance between various control architectures, the system is simulated under the influence of 1) a HO-RaCBF/ES-aCLF controller as in [\[eq:HO-RaCBF-QP\]](#eq:HO-RaCBF-QP){reference-type="eqref" reference="eq:HO-RaCBF-QP"} with \(k_d\) obtained from solving the ES-aCLF QP [\[eq:ES-aCLF-QP\]](#eq:ES-aCLF-QP){reference-type="eqref" reference="eq:ES-aCLF-QP"}; 2) an ES-aCLF controller as in [\[eq:ES-aCLF-QP\]](#eq:ES-aCLF-QP){reference-type="eqref" reference="eq:ES-aCLF-QP"}; 3) an "open-loop\" HO-RaCBF controller as in [\[eq:HO-RaCBF-QP\]](#eq:HO-RaCBF-QP){reference-type="eqref" reference="eq:HO-RaCBF-QP"} with \(k_d\equiv 0\) and an initial condition outside the safe set. For each simulation all parameters associated with the learning scheme remain the same as in the previous example. The results the simulations are presented in Fig. [\[fig:inv_pen_traj\]](#fig:inv_pen_traj){reference-type="ref" reference="fig:inv_pen_traj"} and Fig. [\[fig:inv_pen_theta\]](#fig:inv_pen_theta){reference-type="ref" reference="fig:inv_pen_theta"}. Although the ES-aCLF controller achieves the stabilization objective (orange curves in Fig. [\[fig:inv_pen_traj\]](#fig:inv_pen_traj){reference-type="ref" reference="fig:inv_pen_traj"}), it does so at the cost of violating the safety constraints. In essence, for the ES-aCLF controller to achieve the stabilization objective, it must first allow the pendulum to tip over to collect sufficiently rich data for identifying the dynamics, which, once collected, allows for rapid stabilization to the origin. In contrast, by augmenting the ES-aCLF controller with a HO-RaCBF (blue curves in Fig. [\[fig:inv_pen_traj\]](#fig:inv_pen_traj){reference-type="ref" reference="fig:inv_pen_traj"}), the stabilization objective is achieved *safely* in an exponential fashion. As predicted by Corollary [\[corollary:HO-RaCBF\]](#corollary:HO-RaCBF){reference-type="ref" reference="corollary:HO-RaCBF"}, the HO-RaCBF controller is capable of stabilizing the system to the safe set even when starting from an unsafe initial condition (purple curve in Fig. [\[fig:inv_pen_traj\]](#fig:inv_pen_traj){reference-type="ref" reference="fig:inv_pen_traj"}). Furthermore, all conservatism associated with the initial parameter uncertainty has essentially been eliminated \| once the system is stabilized to the safe set, the HO-RaCBF controller allows the pendulum to lie on the boundary of the safe set without crossing it. Similar to the previous example, the uncertainty in the parameter estimates is exponentially driven to zero (see Fig. [\[fig:inv_pen_theta\]](#fig:inv_pen_theta){reference-type="ref" reference="fig:inv_pen_theta"}), implying that after only a few seconds of learning, the HO-RaCBF and ES-aCLF conditions from Def. [\[def:HO-RaCBF\]](#def:HO-RaCBF){reference-type="ref" reference="def:HO-RaCBF"} and Def. [\[def:ES-aCLF\]](#def:ES-aCLF){reference-type="ref" reference="def:ES-aCLF"}, respectively, closely approximate the original HOCBF condition from Def. [\[def:HOCBF\]](#def:HOCBF){reference-type="ref" reference="def:HOCBF"} and ES-CLF condition from e.g..
# Conclusions
In this paper we introduced HO-RaCBFs and ES-aCLFs as a means to synthesize safe and stable control policies for uncertain nonlinear systems with high relative degree safety constraints. The novel class of HO-RaCBF is, to the best of our knowledge, the first to extend the aCBF paradigm from to CBFs with arbitrary relative degree under mild assumptions regarding the structure of the uncertainty and, unlike existing formulations, the proposed HO-RaCBF inherits desirable robustness properties of zeroing CBFs. The class of ES-aCLFs introduced herein builds upon the classical aCLF formulation by leveraging data-driven techniques from CL adaptive control to guarantee exponential stability. The advantages of the proposed HO-RaCBFs/ES-aCLFs were illustrated through two numerical examples that cannot be addressed by existing approaches. Directions for future research include relaxing Assumption [\[assumption:rd\]](#assumption:rd){reference-type="ref" reference="assumption:rd"} and extending the approach to systems with nonparametric and actuation uncertainty. | {'timestamp': '2022-03-07T02:02:55', 'yymm': '2203', 'arxiv_id': '2203.01999', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01999'} |
# Introduction {#sec:intro}
Diffuse, non-thermal emission has been observed in more than 100 clusters of galaxies, revealing the existence of magnetic fields and relativistic particles on scales as large as a few megaparsecs. In the last decade, the advent of low-frequency, sensitive radio observations has brought about a major advance in the discovery of these objects and the characterization of their properties.\
Synchrotron emission from the intra-cluster medium (ICM) has been observed in the form of giant radio halos, mini halos, and radio relics, depending on their location and morphology. Giant radio halos are found at the centres of merging galaxy clusters, co-spatial with the X-ray emitting gas, and with sizes of 1-2 Mpc. Mini halos only have sizes of few hundreds of kpc and are found mostly in cool-core clusters. Finally, radio relics are arc-like sources located in cluster outskirts where they trace merger shock waves. We refer to for a recent review.\
Since their discovery, it has been proposed that radio halos and relics are generated by shocks and turbulence driven in the ICM by cluster mergers (see e.g. @BJ14 for a review, and ref. therein). Although the details of the proposed mechanisms are not understood yet, radio halos have preferentially been found in merging clusters, supporting a connection between mergers and radio emission, and radio relics are often coincident with gas discontinuities detected in the X-ray and Sunyaev-Zeldovich' (SZ) images. The origin of mini halos is still debated. They could either originate from turbulent motions that develop in the cluster core or from hadronic collisions between cosmic ray protons and thermal protons.\
In the last years, the picture has become more complicated, and it has been found that some clusters with mini halos also host a larger-scale radio component, resembling a dimmer version of the giant radio halos but in non-merging objects. Moreover, a giant halo has also been found in a strong cool-core cluster CL1821+643. In addition, relics and halos are sometimes connected through low-brightness radio bridges, that could be powered by mechanisms similar to those that are currently used to explain radio halos. On even larger scales, giant bridges of radio emission have been discovered, connecting massive clusters in a pre-merging state.\
Despite the differences between these types of sources, they all have a low surface brightness (\(\sim 1 \mu \rm{Jy/arcsec^2}\)) at GHz frequencies. Also they have steep radio spectra [^1], with a spectral index \(\alpha <-1\) that make them brighter at low radio frequencies. Hence, the advent of deep, low-frequency radio surveys, such as the LOFAR Two-metre Sky Survey has both increased the number of new detections (see e.g. @Biava21b [@Riseley21]; Botteon et al., accepted; Hoang et al, submitted) and allowed the study of known objects with unprecedented sensitivity and detail.\
The Coma cluster hosts the most famous and best studied radio halo, as well as a radio relic and a radio bridge connecting the two (see Fig. [\[fig:ComaRGB\]](#fig:ComaRGB){reference-type="ref" reference="fig:ComaRGB"}). The emission from the Coma field has been the subject of many studies since its discovery. In paper I, we have analysed the properties of the radio bridge and we have shown under which conditions it can be powered by turbulent acceleration. In this paper, we focus on the radio halo and relic of the Coma cluster. New LOFAR data give us information in regions that have been so far inaccessible, providing important clues on the origin of the radio emission.\
first found that the spectrum of the halo between 326 MHz and 1.28 GHz is characterized by two different regions: a central one with \(\alpha \sim-0.8\) and a peripheral one with \(\alpha \sim-1.2\). The integrated spectrum, computed between 30 MHz and 4.8 GHz shows a high-frequency steepening consistent with homogeneous in-situ re-acceleration models. They also reported a smooth distribution of the radio surface brightness, with no evidence for substructures at the resolution of \(\sim\)`<!-- -->`{=html}50\(^{\prime \prime} \,\). Their results have been confirmed later on by several authors who complemented the analysis with observations up to 4.8 GHz, where the halo is barely detected. The steepening of the halo at high frequencies has been subject to debate, as the decrement due to the SZ effect was initially not accounted for. After the observation of the SZ effect by the Planck satellite it has been possible to confirm the steepening of the radio emission. However, we note that data below 300 MHz, being taken in the 80s, lack the sensitivity, resolution, calibration and imaging accuracy that are allowed by present instruments and techniques. In particular, the observation at 151 MHz, i.e. the closest in frequency to LOFAR HBA, has a resolution of \(\sim\)`<!-- -->`{=html}70\(^{\prime \prime} \,\), and a sensitivity of a few 10 mJy/beam, that allowed the detection of the central part of the halo only. Similarly, observations at 43 and 73 MHz by did not allow to properly subtract the emission from radiogalaxies present in the cluster.\
In addition to integrated spectral studies, better resolved spatial analysis of radio halos spectral properties yields important information about the distribution of the non-thermal component in the ICM. The halo in the Coma cluster offers a unique chance to perform spatially resolved studies of the halo brightness and of its connection between thermal and non-thermal plasma. So far, these studies have been inhibited by the lack of resolution, as it is often necessary to convolve the radio images with large Gaussian beams to recover the full halo emission.\
LOFAR, thanks to its sensitivity and resolution, provides a step forward for precise measurements of the halo size and flux density, and for resolved studies. In this paper, we study the radio emission from the Coma cluster at 144 MHz, using data from LoTSS (@Shimwell19, Shimwell et al. in press) after ad-hoc reprocessing. We also use published data, and reprocessed archival X-ray and radio observations, to perform a multi-wavelength study of the emission.\
This paper is organized as follows: In Sec. [2](#sec:data){reference-type="ref" reference="sec:data"} we describe the observations and data reduction procedures, in Sec. [3](#sec:diffuse){reference-type="ref" reference="sec:diffuse"} we present the main sources of diffuse emission, both known and newly discovered. The radio halo is analysed in Sec. [4](#sec:halo_fit){reference-type="ref" reference="sec:halo_fit"}, its spectrum in Sec. [5](#sec:haloSpectrum){reference-type="ref" reference="sec:haloSpectrum"} and its correlation with the thermal gas are shown in Sec. [6](#sec:radioXcorrelation){reference-type="ref" reference="sec:radioXcorrelation"} and [7](#sec:radioSZ){reference-type="ref" reference="sec:radioSZ"}. In particular, in Sec. 5.3 and 6.4, the halo properties as discussed in the framework of turbulent re-acceleration models, and constraints to the model parameters are derived. In Sec. [8](#sec:simulations){reference-type="ref" reference="sec:simulations"}, we use cosmological MHD simulations to reproduce the thermal/non-thermal properties of the Coma cluster. In Sec. [9](#sec:haloFront){reference-type="ref" reference="sec:haloFront"}, the halo front is analysed and its origin is discussed in connection with the shock wave found by X-ray and SZ studies. We also analyse the emission detected between the relic and the radiogalaxy NGC4789 in Sec.[10](#sec:relicNAT){reference-type="ref" reference="sec:relicNAT"}. Finally, results are discussed in sec. [11](#sec:discussion){reference-type="ref" reference="sec:discussion"}. Throughout this paper, we use a \(\Lambda\)CDM cosmological model, with \(\Omega_{\Lambda}=0.714\), \(H_0=\)`<!-- -->`{=html}69.6 km/s/Mpc. At the Coma redshift (\(z=0.0231\)) the angular to linear scale is 0.469 kpc/arcsec and the Luminosity distance \(D_L=101.3\) Mpc.
# Observations used in this work {#sec:data}
## LOFAR data and data reduction
The data used in this work are part of the LoTSS (@Shimwell19, Shimwell et al. 2022) and consist of 2 pointings of 8 hr each taken with LOFAR (the LOw Frequency ARray, @vanHaarlem) High Band Array antennas, in the DUAL_INNER mode configuration. Each pointing is 8 hr long, book-ended by 10 min observations of a calibrator (3C196), used to correct for the ionospheric Faraday rotation, clock offsets, instrumental XX and YY phase offsets, and time-independent amplitude solutions. The pointings are specified in Tab. [1](#tab:obs){reference-type="ref" reference="tab:obs"} together with the distance from the central source NGC 4874, at the cluster centre. Observations are centered at 144 MHz and have a 48 MHz total bandwidth. After pre-processing and direction-independent calibration, data are averaged into 24 visibility files, each having a bandwidth of 1.953 MHz with a frequency resolution of 97.6 kHz and a time resolution of 8s. For details about pre-processing and direction-independent calibration steps, we refer to, where LoTSS data acquisition and processing are both explained in detail. The direction-dependent calibration has been made using the LoTSS DR2 pipeline, but with a slightly different procedure to account for the large-scale emission present in the Coma field. Specifically, we have included all baselines in imaging and calibration, while the LoTSS DR2 pipeline applies an inner *uv*-cut of the visibilities below 100 m to eliminate radio frequency interferences on the shortest baselines and filter out large-scale Galactic emission that would make the process of calibration and imaging more difficult. The two pointings have been calibrated separately and unrelated sources have been subtracted from the visibilities through a multi-step procedure, for which we refer the reader to. Briefly, we first subtracted all the sources outside a radius of 1.5\(^{\circ}\) centered on the cluster, using the model components obtained from an image at 20\(^{\prime \prime} \,\) resolution with no inner *uv*-cut, and using a threshold of 5\(\sigma\) (0.75 mJy/beam). The subtracted data have been reimaged using an *uv*-cut of 300 m to filter out the diffuse emission from the ICM, and the model components have been subtracted using a threshold of 0.6 mJy/beam. Data have been reimaged again to check for the presence of residual emission from discrete sources using an *uv*-cut of 100 m. Residual emission associated with Active Galacic Nuclei (AGN) and sources unrelated to the halo and relic emission has been identified and subtracted by the data. The sources NGC4789 and NGC4839 have not been subtracted in order to study how their emission is connected to the relic and bridge, respectively. Two diffuse patches of emission to the West of Coma are still present and have been deconvolved in the imaging runs. They are discussed in the following sections.\
The images used in this work have been done in a different way than in, taking advantage of the new implementations that have been added to the imaging software in the last months. Imaging has been done with DDFacet, using the recently added features that allow to deconvolve large-scale emission in joint-deconvolution mode. We used the Sub Space Deconvolution (SSD) algorithm (@Tasse18 and ref. therein) to better model the clean components. Typically, four major cycles were needed to achieve a noise-like residual map. The beam correction has been applied in the image plane, interpolating the beams of the two different pointings in the direction of Coma. Different images have been produced, as listed in Tab. [\[tab:images\]](#tab:images){reference-type="ref" reference="tab:images"}, at various resolution to highlight the emission from discrete sources and from the diffuse emission. To align the flux scale to LoTSS, we have extracted the fluxes from the sources in the Coma field, and followed the same bootstrap procedure described in, which is based on the NVSS (NRAO VLA Sky Survey, @NVSS).
## XMM-Newton and ROSAT data
We used the *XMM-Newton* Science Analysis System (SAS) v18.0.0 for data reduction. The ObsIDs we used are listed in Appendix [\[appendix:obsid\]](#appendix:obsid){reference-type="ref" reference="appendix:obsid"}. Event files from the MOS and pn detectors were generated from the observation data files with the tasks `emproc` and `epproc`. The out-of-time (OoT) events of pn were corrected following the user guide[^2]. We used stacked Filter Wheel Closed (FWC) event files to generate non X-ray background (NXB) maps. For each ObsID, the FWC event files were reprojected using task `evproject` to match the observation. NXB maps were scaled to match the NXB level of each count image. For MOS, the scale factor was calculated using the ratio of out-of-field-of-view (OoFoV) count rates. For pn, even the OoFoV area can be contaminated by soft protons, and cannot be used for an accurate rescaling of the NXB. On the other hand, the pn instrumental background shows a similar long term variability as that of *Chandra*'s ACIS-S3 chip; therefore we used this information for rescaling the pn NXB level in the observations (details are provided in Zhang et al. in prep).\
The corresponding exposure maps were generated using the task `eexpmap` with parameter `withvignetting=yes`. Point sources were detected and filled by the tasks `wavdetect` and `dmfilth` in the \(Chandra\) Interactive Analysis of Observations (CIAO) v4.13 package. We stacked individual count maps, exposure maps, and NXB maps, respectively, using the 0.5--2.0 keV energy band. We divided the NXB subtracted count image by the exposure map to generate the flux map. After removing the instrumental background and correcting for telescope vignetting, a constant sky background was further subtracted from the images. The level of this background was estimated from the median flux in an annulus spanning radii of 60-70 arcmin. Note that do detect a signal from the Coma ICM even at these large radii, albeit in a narrower energy interval of 0.7-1.2 keV where the signal to background is optimized. The sky background used here may therefore be slightly overestimated, but this does not have an impact on the radii of interest considered in our *XMM-Newton* analysis (limited in this case mostly within the cluster's R\(_{500}\)).\
We furthermore used the four archival observations of the Coma cluster performed in June 1991 by the ROSAT Position Sensitive Proportional Counter (PSPC). These pointings extend out to radii of 60-70 arcmin, totaling a clean exposure time of 78 ks. The data reduction was performed exactly as already described in. The low instrumental background of ROSAT makes these data an important complement to *XMM-Newton* in the faint cluster outskirts.
## Planck data
We used six Planck frequency maps acquired by the High Frequency Instrument (HFI) and the corresponding energy responses released in 2018 by the Planck collaboration. The average frequencies of the HFI maps are 100, 143, 217, 353, 545 and 857 GHz. The nominal angular resolution of the maps are 9.69, 7.30, 5.02, 4.94, 4.83, and 4.64 arcminutes, respectively. Following prescriptions of Galactic thermal dust studies performed by the Planck collaboration (Planck collaboration, 14), we corrected HFI maps for individual offsets that maximise their spatial correlation with neutral hydrogen density column measurements performed in regions of the sky characterised by their low dust emissivity and by the exclusion of prominent Sunyaev-Zel'dovich (SZ) sources.\
This multi-frequency data set allowed us to map the thermal SZ Compton parameter in a four square degree sky area centred on Coma, following the spectral-imaging algorithm described in. Briefly, the Compton parameter, \(y\), is jointly mapped in the wavelet space with the Cosmic Microwave Background anisotropies and with the Galactic thermal dust emissivity. This is achieved via a spatially-weighted likelihood approach that includes the smoothing effect of individual HFI beams in the reconstruction of B3-spline wavelet coefficients. In order to best restore anisotropic details, a curvelet transform is eventually computed from these wavelet coefficients, and denoised via a soft-thresholding that we parametrise as a function of local values of the noise standard deviation. The resulting \(y\)-map has a resolution (FWHM of the PSF) of 5 arcmin, i.e. a factor 2 higher than the one published in.\
## WSRT data
We use data from the Westerbork Synthesis Radio Telescope (WSRT) at \(\sim\) 325 MHz. Part of these data come from the observations published in, that we have reimaged as explained in. In this work, we also use more recent WSRT observations published by that recover a larger fraction of the radio halo, but are more affected by imaging and calibration artefacts due to the presence of the source Coma A, North of the relic. observations are used here to study the spectral properties of the halo, while observations are used here to study the spectral index in the relic region. In Tab. [\[tab:images\]](#tab:images){reference-type="ref" reference="tab:images"}, these images and their main properties are listed. We refer to the image published by as WSRT H, as it is used to study the halo emission, and to the image published by as WSRT R, as it is used to study the relic region.
[\[tab:obs\]]{#tab:obs label="tab:obs"}
# Components of the diffuse emission {#sec:diffuse}
The radio emission from the Coma field consists of several different components, either associated with the ICM or originating from the interaction of the radio galaxies with the environment. In Fig. [\[fig:Coma_fov\]](#fig:Coma_fov){reference-type="ref" reference="fig:Coma_fov"}, the diffuse emission from the Coma cluster field is shown, after the subtraction of radio galaxies and point sources. The most relevant features are labelled. As already known, the Coma cluster hosts a radio halo, a radio relic, and a bridge of low surface brightness emission connecting the two. In addition to these components, several new features are detected in our LOFAR observations. In this Section, we present the emission from the diffuse sources as imaged by LOFAR at 144 MHz. An analysis of their properties that includes radio images at other frequencies and the comparison with the X-ray emission from the ICM is presented in the following sections for each source separately.
## The radio halo
At 144 MHz, the radio halo appears larger than at higher frequencies, with a LAS of 1.2 deg, measured East West, corresponding to \(\sim\) 2 Mpc (see Tab. [\[tab:sources\]](#tab:sources){reference-type="ref" reference="tab:sources"}). The halo appears to be composed of a central, bright core and a larger, weaker component that is asymmetrical and more pronounced towards the West (see Fig. [\[fig:zoomHalo\]](#fig:zoomHalo){reference-type="ref" reference="fig:zoomHalo"}). The inner portion of the halo, is what we define the "halo core\"[^3]. This part of the halo is the one visible in the LoTSS images which impose an inner *uv*-cut of \(80 \lambda\), corresponding to \(\sim 43'\). The 20\(^{\prime \prime} \,\) resolution of LoTSS, and here reproduced using the same *uv*-range restriction, provides a detailed image of the inner portion of the halo. Clearly, the emission from the halo core is brighter than the rest, and its surface brightness is characterized by bright filaments of radio emission, marked with arrows in Fig. [\[fig:zoomHalo\]](#fig:zoomHalo){reference-type="ref" reference="fig:zoomHalo"}. Despite being the best studied radio halo, this is the first time that features such as these filaments are detected in its diffuse emission.\
Outside the halo core, low surface brightness emission is detected, which is brighter towards the West. We call this emission the "outer halo" and discuss in Secs. [4](#sec:halo_fit){reference-type="ref" reference="sec:halo_fit"} and [6](#sec:radioXcorrelation){reference-type="ref" reference="sec:radioXcorrelation"} whether the halo core and the outer halo show different properties, as recently proposed for some cool-core clusters (@Savini_2018 [@Savini_2019; @Biava21b; @Riseley21]). The emission from the outer halo is only visible when baselines shorter than 80\(\lambda\) are included in the image, and hence it is filtered out in the LoTSS images.\
In the right panel of Fig. [\[fig:zoomHalo\]](#fig:zoomHalo){reference-type="ref" reference="fig:zoomHalo"}, we show the halo in the LOFAR 35\(^{\prime \prime} \,\) image, after the subtraction of the unrelated radio sources. To the West, the halo has a sharp edge coincident with the halo front (see Fig. [\[fig:Coma_fov\]](#fig:Coma_fov){reference-type="ref" reference="fig:Coma_fov"} for labelling) already found by and coincident with the shock front detected in the X-rays and SZ. In Fig. [\[fig:profile_front\]](#fig:profile_front){reference-type="ref" reference="fig:profile_front"} we show the radio profile computed in annuli across the halo front in comparison with the rest of the cluster. The two sectors have azimuth angles from 47\(^{\circ}\) to 287\(^{\circ}\) (Coma) and from 323\(^{\circ}\) to 48\(^{\circ}\) (Front, centered in RA=12:59:07, DEC=+28:01:31). The Southwest part of the halo, towards the radio bridge, has been excluded. While the average cluster profile shows a smooth radial decline, a sharp edge is visible around \(\sim\)`<!-- -->`{=html}1900from the cluster centre, coincident with the radio front found by.\
Towards the southwest, the spherical front continues and its brightness becomes weaker and merges with the emission from the radio bridge. The total flux density of the radio halo, measured from the images above 2\(\sigma_{\rm rms}\) is 10\(\pm\)`<!-- -->`{=html}2 Jy at 144 MHz. The main properties of the radio halo are listed in Tab. [\[tab:sources\]](#tab:sources){reference-type="ref" reference="tab:sources"}.
## The radio relic and the NAT-relic connection
To the South-West of the Coma cluster, a radio relic has been discovered by and studied by several authors afterwards. However, the presence of the bright source ComaA, at the north-west of the relic, has always made its study difficult. Residual calibration errors remain in the LOFAR image (see Fig. [\[fig:zoomRelic\]](#fig:zoomRelic){reference-type="ref" reference="fig:zoomRelic"}) and make it difficult to determine whether the relic extension to the NW is real. We note that the same extension has also been detected by single dish observations at 1.4 GHz, where it also appears polarized. Despite this, because of its questionable nature, we adopt a conservative approach and do not include it in our discussion of the relic.\
The radio relic has a LAS of 38\('\), corresponding to \(\sim\) 1.1 Mpc at the Coma redshift. Its emission is connected on both sides to two head-tail radio galaxies, namely NGC 4839 to the North-East, and NGC 4789 to the South-West of the relic. From NGC4839, we detect diffuse emission that blends into the bridge and relic emission. The surface brightness of the relic is not uniform, but composed of patchy and filamentary sub-structures (see Fig. [\[fig:zoomRelic\]](#fig:zoomRelic){reference-type="ref" reference="fig:zoomRelic"}). Stripes of radio emission depart from the relic and are directed towards the bridge and NGC 4839. A similar stripe is detected also near the tail of NGC 4839, directed towards the relic. These features could be regions where the magnetic field has been amplified and/or where the plasma has been stripped from the tail of NGC 4789. The surface brightness of these stripes is a factor 2-3 higher than the nearby emission, and their size is \(\sim\) 11.7\('\) that corresponds to 300 kpc at the Coma's redshift.\
Beyond the relic, towards the SW, the narrow angle tail galaxy (NAT) NGC 4789 appears connected to the relic, as already found by e.g. @Giovannini91. The connection between the relic and NGC 4789 has been interpreted as the tail of NGC 4789 feeding the relic with radio plasma. In Sec. [10](#sec:relicNAT){reference-type="ref" reference="sec:relicNAT"}, we will investigate the possible origin of this emission.\
## Diffuse emission from NGC4849
To the South of Coma, we detect diffuse emission, elongated in the North-South direction, with a size of \(\sim\)`<!-- -->`{=html}27\(^{\prime}\). This emission seems associated with the radiogalaxy NGC 4839, located at RA\(\rm{=12h58m12.679s}\), DEC\(\rm{=+26d23m48.77s}\), at redshift \(z=0.01966\). Its angular size translates into a linear size of \(\sim\)`<!-- -->`{=html}650 kpc (see Fig. [\[fig:NGC4849\]](#fig:NGC4849){reference-type="ref" reference="fig:NGC4849"}). From the 6\(^{\prime \prime} \,\) resolution image, the core of NGC 4849 is visible, and a hint of jet emission in the North-South direction is also present. A second bright component is located at the South of the core, which could either be an unrelated radio source seen in projection, or the lobes of NGC 4849. The maximum extension of this tail in the WSRT image is \(\sim\)`<!-- -->`{=html}7\(^{\prime}\). Using the WSRT H and "LOFAR as WSRT H\" images (see Sec. [2](#sec:data){reference-type="ref" reference="sec:data"} and Tab. [\[tab:images\]](#tab:images){reference-type="ref" reference="tab:images"}) and taking into account the higher noise of the WSRT image in that region, we derive a 2-\(\sigma\) limit for the spectral index of the tail \(\alpha <-2\). Analysing the emission of this source is not the aim of this paper, we note that similar steep spectrum tails have been found in the outskirts of other clusters (e.g. Abell 1132 @Wilber17, Abell 2255 @Botteon20) likely tracing the motion of the galaxy in the ICM. The long tail of aged cosmic ray electrons (CRe) left behind by these sources during their motion provides seed electrons that could be re-accelerated by turbulence and shocks.
## Accretion relic
After the subtraction of unrelated sources, two extended patches of diffuse emission are visible at the periphery of Coma, to its North-East and East (see Fig. [\[fig:zoomAR\]](#fig:zoomAR){reference-type="ref" reference="fig:zoomAR"}). The diffuse component at the Eastern side of Coma is not associated to any Coma cluster galaxy. also noticed that this source lies at the crossroad of two filaments of galaxies, pointing towards the clusters A 2197 and A 2199, respectively, and suggest that this emission could be due to the accretion of matter towards the Coma cluster. Our images have a higher resolution and allow us to recognize a double-lobe structure that resembles a radiogalaxy. However, no core is obviously associated with it in the 6\(^{\prime \prime} \,\) and 20\(^{\prime \prime} \,\) images (see Fig. [\[fig:zoomAR\]](#fig:zoomAR){reference-type="ref" reference="fig:zoomAR"}). We tentatively label this source as a "candidate remnant\", but we note that its classification remains uncertain. Indeed, given its large angular size (\(\sim\) 27\(^{'}\)) and the lack of an optical identification at the Coma cluster redshift, it would have a very large linear size if it was in the background of Coma.\
The other diffuse patch in the NE part of Coma is entirely new and has an arc-like morphology, and a weak uniform brightness. This emission does not appear connected to any discrete source (see Fig. [\[fig:zoomAR\]](#fig:zoomAR){reference-type="ref" reference="fig:zoomAR"}). When convolving the image to a resolution of 2 arcmin, it has a largest angular size of \(\sim\) 55', that would correspond to 1.5 Mpc at the cluster redshift, and it is located at \(\sim \, 2.1^{\circ}\) from the cluster centre. At the Coma redshift, this distance corresponds to \(\sim\)`<!-- -->`{=html}3.6 Mpc, while the cluster virial radius[^4] is \(\sim 2.9\) Mpc. Since recent studies have found an intergalactic filament of galaxies in the NW direction from the Coma cluster, this source could be connected to the cluster and its large-scale environment. Hence, we consider it plausible that this is an "accretion relic\", though more data supporting our hypothesis are needed. Considering that accretion shocks on these scales should be characterized by a strong Mach number (\(\mathcal{M} \gg 5\), e.g. @Hong14), a strong prediction in this case would be that the radio spectrum of this emission should be \(\alpha \propto \nu^{-1}\), and also characterized by a large degree of polarisation. The properties of this accretion relic are listed in Table [\[tab:sources\]](#tab:sources){reference-type="ref" reference="tab:sources"}.
# The radio halo profile {#sec:halo_fit}
To characterize the halo properties, we have fitted its surface brightness profile adopting the approach firstly proposed by and more recently generalized by to account for asymmetric halo shapes. The main novelty of this procedure is that the profiles are fitted to a two-dimensional image directly, using MCMC to explore the parameter space, rather than to a radially averaged profile. In addition, the fitting procedure by allows one to fit also elliptical and skewed (asymmetric) models. We refer to for a detailed explanation and summarize here the relevant parameters. The surface brightness model is given by: \[I(r) = I_0 \exp^{-G(r)}, \label{eq:exp}\] where \(I_0\) is the central surface brightness and \(G(r)\) a radial function. \(G(r)= \left( \frac{|r^2|}{r_e^2}\right)^{0.5}\) for the circular model, while \(G(r)= \left( \frac{x^2}{r_1^2} + \frac{y^2}{r_2^2}\right)^{0.5}\) for the elliptical models, where \(r_e\) is the characteristic e-folding radius, and \(r^2=x^2 + y^2\). The skewed model allows for an off-center maximum of the brightness distribution, and is characterized by four different scale radii (\(r_1\), \(r_2\), \(r_3\), \(r_4\)) and by an angle to describe the asymmetric brightness distribution.\
We have investigated these three profiles (circular, elliptical, and skewed), and results of the fit are given in Table [\[tab:fit_halo\]](#tab:fit_halo){reference-type="ref" reference="tab:fit_halo"}. In this table, we only list the statistical error, while the systematic one is 15% of the listed flux density, and due to the uncertainty on the absolute flux scale. All models give a consistent total radio power (\(P_{144 \rm{MHz}} \sim 1.47 \times 10^{25} \, \rm{W \, Hz^{-1}}\) computed within 3 times the e-folding radius) and central radio brightness (\(I_0 \sim 5 \, \mu \rm{Jy/arcsec^{2}}\)). We note that the flux density and consequently the power measured by the fit are in perfect agreement with the estimate derived from the images above 2\(\sigma_{\rm rms}\) (see Sec. [3](#sec:diffuse){reference-type="ref" reference="sec:diffuse"}). As the reduced-\(\chi^2\) values are similar in the skewed and elliptical model, we consider the latter in the following analysis.\
In Fig. [\[fig:halo_profile\]](#fig:halo_profile){reference-type="ref" reference="fig:halo_profile"}, we show the radial profile of the halo brightness at 144 MHz. We have computed the mean of the radio brightness and its error within elliptical annuli having a width than changes progressively from 1\(^{'}\) in the centre to 4\(^{'}\) in the outer regions, to maximise the resolution at the centre and the sensitivity to low surface-brightness emission in the halo peripheral regions. The bridge region s excluded starting from elliptical annuli with major and minor axis larger than 3\(r_1\) and 3\(r_2\), respectively. We considered upper limits the values where we have a mean smaller than 3 times the rms noise. From this plot, we derive that we have detected the halo emission up to \(r\sim 1.3\) Mpc, that corresponds to \(\sim\) 4.5\(r_1\) and \(r_2\) (see Tab. [\[tab:fit_halo\]](#tab:fit_halo){reference-type="ref" reference="tab:fit_halo"}).\
In the following, we refer to the halo core as the emission contained within an ellipse having as major and minor axis \(r_1\) and \(r_2\), respectively, and to the outer halo as the emission contained within 4\(r_1\) and 4\(r_2\), excluding the halo core. We note that the halo core and outer halo are well represented by a single exponential model and do not need to be considered as two separate components, if we consider the average surface brightness of the halo emission. However, as we show in the following analysis, they are characterized by different properties.\
We applied the same fitting procedure to the WSRT image (WSRT H in Tab. [\[tab:images\]](#tab:images){reference-type="ref" reference="tab:images"}), after blanking the sources that were contaminating the emission. We only attempted an elliptical and circular model fit. Results are listed in the bottom part of Table [\[tab:fit_halo\]](#tab:fit_halo){reference-type="ref" reference="tab:fit_halo"}. Both fits give the same total flux density and radio power, and have the same \(\chi^2_r\) value, smaller than 1, possibly indicating that the errors are being overestimated. We note that the \(r_1\) and \(r_2\) values are slightly smaller than those found in the LOFAR image, indicating a more peaked profile of the radio emission, hence of the emitting CRe at higher frequencies.
# Spectral properties of the radio halo {#sec:haloSpectrum}
## The integrated spectrum
Using literature results, and the halo flux density at 144 and 342 MHz, we can constrain the low-frequency part of the radio halo spectrum. The spectrum of radio halos provides important information about the underlying re-acceleration mechanism. Indeed, it allowed in the past to conclude that a very steep spectrum (\(\alpha <-1.5\), also called ultra-steep spectrum halos) cannot be produced by hadronic models.\
Using the flux densities that result from the fits, we can measure the spectral index between 144 MHz and 342 MHz yielding \(\alpha =-1.0 \pm 0.2\). Though residuals from sources could still be present, the fitting procedure we have used should minimise that contribution, hence, a considerable impact to the whole halo emission is unlikely. We find that the spectrum is slightly flatter than previously reported in the literature, although still consistent within the errors. The spectrum of the halo in the Coma cluster has been extensively studied in the literature, using both interferometric images and single-dish data. At low frequencies, the contribution of radio galaxies is difficult to account for, for mainly two reasons: (i) the low resolution of observations published so far, (ii) the larger extent of tailed radio galaxies whose emission blends with the halo emission. Our sensitive and high-resolution LOFAR images allow us to alleviate both of these problems. In addition, we now have a more accurate method to estimate the halo flux density. We have collected the data available in the literature, i.e., those presented in, and re-scaled to the same absolute flux scale as in, and added our measurement at 144 MHz. In Fig. [\[fig:haloSpectrum\]](#fig:haloSpectrum){reference-type="ref" reference="fig:haloSpectrum"} we show the spectrum of the halo. Green bullets refer to values taken from, and do not refer to the same aperture radius. The red and orange point refer to the LOFAR and WSRT map computed within the same aperture (corresponding to 3 e-folding radii of the LOFAR image, see Tab. [\[tab:fit_halo\]](#tab:fit_halo){reference-type="ref" reference="tab:fit_halo"}). In Fig. [\[fig:haloSpectrum\]](#fig:haloSpectrum){reference-type="ref" reference="fig:haloSpectrum"}, left panel, we show one possible spectrum that would be produced by re-acceleration models. However, for a proper derivation of the halo spectral properties, one should compare the flux densities from images done with the same *uv*-range, the same procedure for compact source subtraction, and using the same aperture radius. We also note that using a fitting algorithm, as the one proposed by and used here, would also minimise the effect of different noise obtained at different frequencies.\
Recently, have shown that the hint for a spectral break claimed in the radio relic of Abell 2256 below 1.4 GHz is not confirmed once the analysis is performed with matching *uv*-coverage and unrelated sources are subtracted properly. In the case of the Coma halo, we note that the high-frequency measurements are almost a factor 10 below the value extrapolated from a power-law at low frequencies. However, the exact shape of the spectrum could be affected by the effects mentioned above. In addition, it is important to get a precise flux density at frequencies below 100 MHz to characterize the integrated radio spectrum. Here, data from the LOFAR Low-Band Antennas (LBA) will provide powerful constraints.
## Spectral index profile
Using WSRT and LOFAR HBA data, we can obtain a radial profile of the halo spectral index. A steepening of the radial profile has been found by using data between 326 MHz and 1.38 GHz. They found that the radio halo has a smooth spectrum in the central regions (inner 480 \(^{\prime \prime} \,\) radius) with \(\alpha \sim-0.8\), and a steeper value (\(\alpha \sim-1.2\) down to \(-1.8\) in the outer regions).\
Using WSRT and LOFAR HBA images, we can now compute the spectral index profile out to larger distances. We have re-imaged the LOFAR data using only baselines larger than 40m, i.e. the shortest WSRT baseline, and convolved the LOFAR image to the same resolution as the WSRT image. The sources embedded in the diffuse emission are subtracted from the WSRT image, however, as some residuals were still present, we applied the multi-filtering technique described in and blanked the WSRT image wherever the filtered image was above 3 mJy/beam. We blanked the LOFAR image accordingly. We have divided the radio halo into 4 sectors (NW, NE, SE, and SW) and computed the mean spectral index \(\alpha\) in elliptical annuli having the major and minor axis proportional to \(r_1\) and \(r_2\), up to the maximum distance where the halo is detected (see Sec. [4](#sec:halo_fit){reference-type="ref" reference="sec:halo_fit"} and Fig. [\[fig:halo_profile\]](#fig:halo_profile){reference-type="ref" reference="fig:halo_profile"}).\
The 4 outermost annuli of the SW sector have been removed to exclude the bridge region. We have computed the spectral index in each annulus, and considered upper limits the annuli that have a total flux density smaller than 3\(\sigma_{\rm rms} \times \sqrt(N_{\rm{Beams}})\), with \(N_{\rm{beams}}\) being the number of independent beams sampled in each annulus. As the radio halo is more extended in the LOFAR image than in the WSRT image, we mainly derive upper limits at distances larger than \(\sim\) 2000\(^{\prime \prime} \,\) (950 kpc). The radial trend of the spectral index is shown in Fig. [\[fig:haloSpectrum\]](#fig:haloSpectrum){reference-type="ref" reference="fig:haloSpectrum"}, right panel. We note that values in some annuli are surprisingly flat, possibly because of residual contamination from unrelated sources. The increasing values of the upper limit in the outer annulli are due to the larger area sampled by the annuli. All the sectors show a spectral index that becomes steeper at distances of \(\sim\)`<!-- -->`{=html}1500\(^{\prime \prime} \,\) from the cluster centre. In the SW sector, we also clearly detect a steepening towards the cluster centre. A similar, though less pronounced, trend is also observed in the other sectors, though we note that in the NE sector the radial profile of \(\alpha\) is more complex, and no clear trend at distances smaller than \(r \sim 2000\[^{\prime \prime} \,\) can be established. The SW sector is affected by the passage of the NGC 4839 group, hence is it possible that different physical conditions are present there. Overall, we can cocnlude that the spectral trend is characterized by clear steepening at the cluster outskirts, and a mild steepening towards the cluster centre.\
In the next Sec., we will discuss the physical implications of these results in the framework of turbulent re-acceleration models.
## Radial variations of the spectral index and re-acceleration models
In the presence of a break in the integrated spectrum of radio halos, homogeneous re-acceleration models predict that increasingly steeper spectra will be seen at increasing distance from the cluster center. Assuming homogeneous conditions, the frequency at which steepening occurs, \(\nu_s\), is proportional to: \]\nu_s \propto \tau_{acc}^{-2} \frac{B}{ (B^2+ B_{IC}^2)^2}\[ \(\tau_{acc}\) is the re-acceleration time (see @CassanoBrunetti05, @BrunettiLazarian07) that depends on the assumed turbulent properties and re-acceleration mechanism. \(B_{IC}\) is the inverse Compton equivalent magnetic field. In the case of a constant \(\tau_{acc}\), the steepening frequency depends only on the magnetic field strength. To better follow the discussion below, let us define a critical magnetic field value \]B_{cr}=\frac{B_{IC}}{ \sqrt{3}} \sim 2 \mu G.\[ As long as \(B<B_{cr}\), one expects to see a radial steepening of the spectral index at distances larger and larger from the cluster centre as we move towards lower observing frequencies. This is what we observe beyond a radius of \(\sim 30 ^{\prime}\). also detected a steepening between the higher frequency pair 325 MHz and 1.38 GHz, beyond a radius of \(\sim 8^{\prime}\) from the cluster centre. While we do expect more dramatic steepening at the higher frequencies, whether these two sets of measurements are consistent with a single physical model requires further investigation.\
Moreover, we detect for the first time a steepening of the spectral index towards the cluster centre. This can also be explained in the framework of homogeneous re-acceleration models, if in the cluster centre we have \(B>B_{cr}\). Assuming a magnetic field profile as derived from RM studies ( \(B\propto B_0 n_e^{0.5)}\), @Bonafede10), we have indeed a central magnetic field of \(B_0 \sim 5 \mu\)G, hence \(B>B_{cr}\). We note that a similar steepening towards the cluster centre should be visible also in the higher frequency spectral index map by. However, in that work the authors only report a spectral index trend through a line passing from the cluster from SE to NW. It is possible that a radial analysis similar to the one we present here would show the same trend. Alternatively, one should think of ad-hoc re-acceleration conditions that make this steepening visible only at low frequency. Future observations at higher ferquencies could shed light on this point.\
We can conclude that the data presented in this work, together with literature data by and provide a coherent picture with the expectations from homogeneous turbulent re-acceleration models, though the spectral index trend in the cluster centre leaves some open questions that could be addressed by future observations.\
### Towards a constrain of the re-acceleration model parameters {#sec:haloSpectrum_theo}
Constraining the model parameters, such as \(\tau_{acc}\), would require a detailed 3D modeling and a precise constrain on the radial position of \(\nu_s\). However, we can try to make first order calculations to see whether the qualitative coherent picture outlined above is quantitatively supported. have detected a spectral steepening at \(\sim\)`<!-- -->`{=html}8\(^{\prime}\) between 326 MHz and 1.38 GHz. Assuming a central magnetic field \(B_0=4.7 \mu\)G, one would expect to detect the steepening between 144 and 342 MHz where the magnetic field is \(B\sim 0.7 \mu\)G, i.e. at \(r \sim 2\) Mpc (\(\sim 71^{\prime}\)) from the cluster centre. Instead, the steepening is detected at \(r\sim\) 30\(^{\prime}\) from the cluster centre, i.e. a factor 2 closer to the expected location This may suggest that \(\tau_{acc}\) is not constant and increasing with the distance from the cluster centre. Though this result is not surprising from a theoretical point of view, it would be the first time that data support this claim. Instead of a constant \(\tau_{acc}\), we can make a step further and assume a constant turbulent Mach number \(\mathcal{M}_t\). In this case, the steepening frequency is proportional to: \]\nu_s \propto T^{2a} \frac{B}{ (B^2+ B_{ICM}^2)^2}\[ where T is the cluster temperature and \(a\) is a constant that is \(a=1\) for re-acceleration via Transit-Time-Damping mechanism with compressive turbulence, and \(a=1.5\) for non-resonant second-order acceleration with solenoidal turbulence[^5]. In order to explain the spectral index steepening at \(r\sim 30^{\prime}\) from the cluster centre, the temperature should be \(\sim\)`<!-- -->`{=html}35-45% lower at a distance of 30\(^{\prime'}\) than at a distance of 8\(^{\prime}\), where the steepening is detected at higher frequency. We note that this temperature drop is consistent with the temperature profile found by [^6]. We stress again that the calculations we have just performed do not allow us to make any claim, as long as \(\nu_s\) is not precisely determined from data and projection effects are not taken into account. However, they show that the qualitative picture outlined above is not in at odds with first order quantitative estimates.\
[\[tab:radioX\]]{#tab:radioX label="tab:radioX"}
# Thermal and non-thermal correlations in the radio halo {#sec:radioXcorrelation}
## Point-to-point analysis
Investigating the point-to-point correlation between the radio and the X-ray surface brightness can give important information about the relation between the thermal and non-thermal components of the ICM. Also, it has the potential of constraining the mechanism responsible for the radio emission. have first investigated this correlation for a small sample of radio halos, finding a sub-linear scaling of the radio brightness with respect to the X-ray brightness. More recently, have investigated the same correlation for radio halos and mini halos, respectively, finding that halos tend to have a sub-linear or linear scaling, and mini halos show linear or super-linear behaviours.\
Since the Coma radio halo is the one for which most spatially resolved and multi-wavelength data are available, it is important to establish the statistical relation between its thermal and non-thermal components.\
We have investigated the thermal to non-thermal correlation for the Coma cluster, fitting the radio (\(I_R\)) and X-ray (\(I_X\)) surface brightness in log-log space, according to: \]\log I_R= \beta \log I_X + \gamma\[ where \(\beta\) is the correlation slope. We have used a hierarchical Bayesian model, that allows us to perform linear regression of \(I_R\) on \(I_X\) accounting for intrinsic scatter in the regression relationship, possibly correlated measurement errors, and selection effects (e.g., Malmquist bias). Using this method, we have derived a likelihood function for the data. We consider the mean of the posterior distribution as the best-fit slope. Following, we considered as upper limits the radio values that are below 2\(\sigma_{\rm rms}\).\
Despite the fact that we detect the radio halo up to a distance of \(\sim\)`<!-- -->`{=html}1.3 Mpc, the analysis of the radio-X ray correlation is limited by the extent of the *XMM-Newton* mosaic. In particular, because of soft-proton contamination, the analysis is restricted to a distance of 2400\(^{\prime \prime} \,\) (\(\sim\) 1.1 Mpc) from the cluster centre. To gain sensitivity towards the low surface brightness emission of the halo outskirts, we have convolved the radio image with Gaussian beams having FWHM of 1,2,3,4,5, and 6 arcminutes. We have computed the mean of the radio and X-ray brightness in square boxes having an area equal to a Gaussian beam of the radio image, and computed the fit using X-ray images smoothed at the same resolution. We have considered upper limits the values that are below 2\(\sigma_{\rm rms}\), i.e. twice the noise of the radio image. The results of the fits are listed in Tab. [2](#tab:radioX){reference-type="ref" reference="tab:radioX"}. The image at 6\('\) resolution allows to recover the outermost regions of the halo keeping the highest possible resolution. \(I_X\) and \(I_R\) are positively correlated with a slope \(\beta=0.76^{+0.05}_{-0.04}\) and a Pearson correlation coefficient \(\rho_p=0.89\). We note that the finest grid (boxes spaced by 1\(^{\prime}\)) recovers a slope similar to the one initially found by. The slope increases as we gain sensitivity to the low surface brightness emission that characterizes the outermost regions of the radio halo. This is suggesting that the slope of the correlation is not constant throughout the radio halo, with the slope \(\beta\) increasing when low surface brightness emission is added.\
## Correlations in the halo core and outer halo
Our analysis suggests that the point-to-point \(I_R-I_X\) correlation may be different in the halo central regions and in its outskirts.\
Recent low-frequency observations have found radio emission in galaxy clusters that can be interpreted as the coexistence of a mini halo in the cluster core and a giant halo on larger scales (@Savini_2019, @Biava21b). A different \(I_R-I_X\) trend is found in the core and in the outer part of the halo of these clusters, with a super-linear scaling in the mini halo region and a sub-linear scaling in the outer part (@Biava21b, Lusetti et al., in prep).\
Although those clusters have a cool-core and a radio halo with a steep spectrum, we note that a change in the \(I_R\)-\(I_X\) correlation slope for radio halos has never been explicitly investigated in the literature. In the cluster Abell 2142, a radio halo with two components has been found, yet no analysis of the radio and X-ray correlation has been performed so far. Also, in the cluster Abell 2744, a multi-component halo has been discovered with a different radio-X ray correlation slope for the northern and southern components.\
Since a point-to-point analysis of radio and X-ray surface brightness has been so far presented only for a few clusters, we investigate whether or not the different trends observed in the core and in the outer part of the Coma halo can be a common property of radio halos. We have repeated the analysis described in Sec. [6](#sec:radioXcorrelation){reference-type="ref" reference="sec:radioXcorrelation"} considering the "halo core\" and the "outer halo\" separately (see Fig. [\[fig:corr_core_outer\]](#fig:corr_core_outer){reference-type="ref" reference="fig:corr_core_outer"}). For the halo core, we have used the finest grid of 1\(^{\prime}\) cell size, while for the outer halo we have used the 6\(^{\prime}\) grid, to recover the faintest emission.\
We find that the slope of the "halo core" is \(\beta=0.41^{+0.04}\), while for the "outer halo\" we find \(\beta=0.76 \pm {+0.05}\).\
Hence, we can conclude that in the "halo core\" we find a flatter slope for the \(I_R-I_X\) correlation, with respect to the outer part, which is the opposite trend found in cool-core clusters that host a mini halo and a halo-type component. (e.g. RXC J1720.1\(+\)`<!-- -->`{=html}2638, @Biava21b; Abell 1413, Lusetti et al, in prep). We note that this is the first time that a change in the \(I_R-I_X\) correlation has been investigated, hence it could be a common property of radio halos. This result indicates that the inner part of the Coma radio halo has different properties than mini halos observed in more relaxed clusters, likely indicating different local plasma conditions. In particular, the detection of a sub-linear trend in the brightest part of the halo hints at a negligible contribution to the halo central emission from the hadronic mechanism.
## Radial analysis
The point-to-point analysis above is important to understand the local connection between thermal and non-thermal plasma, and allows one to understand if regions with higher non-thermal energy are traced by high X-ray brightness. The point-to-point analysis has also been used to probe the radial scaling of the radio and X-ray brightness. To better analyse the radial trend of \(I_X\) and \(I_R\) and to investigate a possible change with radius, we have performed an additional analysis by comparing the X-ray and radio brightness in elliptical annuli and dividing the radio halo in sectors. Specifically, we have excluded from the analysis the SW sector, where the bridge is, and we have considered separately the NW, NE, and SE sectors. The profiles are computed in elliptical annuli with progressively increasing width to gain sensitivity towards low surface brightness emission in the halo outermost regions. X-ray profiles have been computed using the same regions. These plots, shown in Fig. [\[fig:plot_profile_radioX\]](#fig:plot_profile_radioX){reference-type="ref" reference="fig:plot_profile_radioX"}, show a different radio profile in the three sectors we have considered, and show clearly a shallower decline of the radio brightness with respect to the X-ray brightness. In the NW sector, we detect a sharp decline of the radio brightness at \(\sim\)`<!-- -->`{=html}1900\(^{\prime \prime} \,\) i.e. the location of the radio front (see sec. [9](#sec:haloFront){reference-type="ref" reference="sec:haloFront"}). In the NE sector a sharp decline of the radio emission is detected at \(\sim\) 1400\(^{\prime \prime} \,\) (670 kpc). This is due to the presence of the filaments of the radio halo (Fig. [\[fig:zoomHalo\]](#fig:zoomHalo){reference-type="ref" reference="fig:zoomHalo"}) and to the asymmetry of the halo emission, that is more pronounced towards the W. The radio profile in the SE sector shows, instead, a smooth decline.\
To inspect the possible change in the relative radial trend of \(I_R\) and \(I_X\), we show in Fig. [\[fig:RadioVersusX\]](#fig:RadioVersusX){reference-type="ref" reference="fig:RadioVersusX"}, top panel, the ratio \(I_R/I_X\) in Logarithmic base 10 scale, for the different sectors (NW, NE, and SW). The trend is similar in the 3 sectors, with a ratio that is smaller in the central part of the halo and that progressively increases. In the 3 outermost annuli (approximatively at 1600\(^{\prime \prime} \,\), i.e. \(\sim\) 750 kpc ) the ratio decreases in the NE and SE sectors. This plot shows that the ratio of the two quantities is not constant throughout the halo, consistent with the results obtained in the point-to-point analysis. In the middle panel of Fig. [\[fig:RadioVersusX\]](#fig:RadioVersusX){reference-type="ref" reference="fig:RadioVersusX"}, we show the ratio of \(I_R\) to \(I_X^{\beta}\), using the value of \(\beta\) obtained from the point-to-point analysis (\(\beta=0.76\)). If the same value of \(\beta\) were representative of the whole halo, we would expect to see a horizontal line. Instead, the plot shows that a single value of \(\beta\) does not represent the whole halo emission. The change in the slope of \(\beta\) is shown more clearly in the bottom panel of Fig. [\[fig:RadioVersusX\]](#fig:RadioVersusX){reference-type="ref" reference="fig:RadioVersusX"}, where we plot \(I_R/I_X^{\beta_{core}}\), where \(\beta_{core}=0.41\) is the best fit value obtained from the point-to-point analysis restricted to the halo core.\
Hence, we conclude that the \(I_R-I_X\) correlation has a slope that changes with the radial distance from the cluster centre, being flatter in the halo core (where we find \(\beta\sim0.41\)) and steeper in the outer halo (where we find \(\beta \sim 0.76\). While the slope in the core seems to remain constant, the ratio \(I_R-I_X^{\beta}\), shown in the middle panel of Fig. [\[fig:RadioVersusX\]](#fig:RadioVersusX){reference-type="ref" reference="fig:RadioVersusX"} indicates a progressive steepening of the correlation with increasing distance from the cluster centre.\
## Modelling the \(I_R-I_X\) correlation and its radial trend
A steepening of the \(I_R-I_X\) correlation outside the core is expected as a consequence of the different relative weight of IC and synchrotron losses in a magnetic field declining with radius. Hence, under some assumptions on the magnetic field profile, we can investigate whether the expected radial drop of magnetic field can be entirely responsible for the steepening of the correlation, or whether additional effects are required. We assume a magnetic field profile scaling with the thermal gas as \(B(r)\propto B_0 \cdot n_e(r)^{0.5}\), consistent with. Note that in this case the Alfvén velocity in the ICM is constant. The radio emissivity in turbulent re-acceleration models can be expressed as: \]\label{eq:epsilonr} \epsilon_R \propto F \eta_e {{B^2}\over{B^2 + B_{IC}^2}}\[ where \(\eta_e\) is the acceleration efficiency, \(B_{IC}\) is the CMB equivalent magnetic field, and \(F\) is the turbulent energy flux: \]\label{eq:fluxTurb} F \sim \frac{1}{2} \rho \frac{\sigma_v^3}{ L }\[ Here, \(\sigma_v\) is the velocity dispersion on scale L, and \(\rho\) is the gas density. Assuming an isotropic distribution of electrons in the momentum space, \(f(p)\), the acceleration efficiency is: \]\eta_e \sim F^{-1} \int d^3p {{E}\over{p^2}} {{\partial }\over{\partial p}} \big( p^2 D_{pp} {{\partial f}\over{\partial p}} \big) \approx {{U_{CRe}}\over{F}} ( D_{pp}/p^2 )\[ where \(U_{CRe}\) is the energy density of reaccelerated electrons, and \(D_{pp}/p^2\) has different expressions in different re-acceleration models. Specifically, \]\frac{D_{pp}}{p^2} \propto \frac{c_s^2 \mathcal{M}_t^4}{L}\[ in the case of Transit-Time-Damping acceleration with compressive modes, and: \]\frac{D_{pp}}{p^2} \propto \frac{ c_s^3 \mathcal{M}_t^3 }{L v_A}\[ in case of non-resonant second-order Fermi acceleration with solenoidal modes . If we also assume a constant temperature and a scenario based on a constant turbulent Mach number, the synchrotron emissivity is: \]\epsilon_R(r) =\epsilon_R(0) {{X(r)}\over{X(0)}} \left( {{\epsilon_X(r)}\over{\epsilon_X(0)}} \right)^{1 \over 2} {{ 1+ \left({{B_{IC}}\over{B_0}}\right)^2 }\over{1+\left({{B_{IC}}\over{B(r)}}\right) ^2} \left({{\epsilon_X(0)}\over{\epsilon_X(r)}}\right)^{1 \over 2} }\[ where \(\epsilon_X \propto n^2\) is the X-ray (bremsstrahlung) emissivity and \(X= \frac{U_{CRe}}{U_{th}}\) the ratio of the energy density of CRe to thermal gas. From the radio and X-ray emissivity, we have computed the projected radio brightness assuming constant \(X\), and different values of the central magnetic field, \(B_0\), ranging from 3 \(\mu G\) to 10 \(\mu G\), and the X-ray brightness using the parameters obtained by. Then, we have computed the slope of the correlation \(I_X-I_R\) as a function of the radial distance from the cluster centre. The trend of \(\beta\) versus the radial distance is shown in Fig. [\[fig:beta_th_core_outer\]](#fig:beta_th_core_outer){reference-type="ref" reference="fig:beta_th_core_outer"} for different values of \(B_0\). We have overplotted as shaded areas the values obtained in the halo core and in the outer halo.\
Although all the models predict a steepening of the radio-X-ray scaling with radius, none of them is able to reproduce all observed values. In particular, except for the profile with \(B_0=5\mu\)G, the magnetic field profiles that would be compatible with the value of \(\beta\) in the outer halo are higher than those derived from RM studies. A possible scenario to explain the observed trend, is to assume that the ratio of the CRe to thermal gas energy densities (\(X\)) increases with radial distance from the cluster centre. This is indeed expected, as the lifetime of CRe in the ICM increases with the distance from the cluster center due to the lower Coulomb and synchrotron losses. However, it is the first time that a radially decreasing \(X\) seems to be suggested by observational data.\
As for the calculations done in Sec. [5.3.1](#sec:haloSpectrum_theo){reference-type="ref" reference="sec:haloSpectrum_theo"}, we stress that the calculations outlined here are subject to several assumptions and the decrease of \(X\) with the distance from the cluster centre is only one of the possible causes of the observed \(I_R-I_X\) slope.
# Radio-thermal pressure correlation in the radio halo {#sec:radioSZ}
Resolved SZ maps of the Coma cluster can be used to understand the connection between the thermal gas and the radio emission. Since the comptonization parameter \(y\) is proportional to the gas pressure integrated along the line of sight (\(y \propto n_e T\)), it is less contaminated by cold gas clumps with respect to X-ray emission. We have computed the \(I_{SZ}-I_R\) point to point correlation, following the same approach as described above for the \(I_R-I_X\) correlation. We have used the radio image convolved to 5 arcmin resolution, to match the \(y\)-map resolution.\
Initially, we have fit \(I_{SZ}\) versus \(I_R\) in the same region as the one considered in the \(I_R-I_X\) correlation, finding a super-linear slope \(\beta_{SZ}= 1.76\pm0.08\). Assuming an isothermal model, one would expect that the value found from the \(I_{SZ}-I_R\) correlation would be twice the scaling of the \(I_R-I_X\). Hence, given the values found from the \(I_R-I_X\) correlation, one would expect \(\beta_{SZ}= 1.4-1.6\). There is a small tension between SZ and X-ray, that could be due e.g. to dense and cold X-ray clumps in regions of low surface brightness emission. Understanding the details of this small tension is not the scope of this work, what is relevant for our analysis is that regions of high non-thermal energy are regions of high thermal energy, as probed by the \(I_{SZ}-I_R\) correlation.\
The \(y\)-map is more extended than the *XMM-Newton* mosaic, and covers regions at the cluster outskirts where we have a radio halo detection. Hence, we can use the \(y\) parameter map to investigate the correlation between thermal and non-thermal regions up to larger radii from the cluster centre, though we miss the resolution given by X-ray data. We have fitted \(I_{SZ}\) versus \(I_R\) out to a distance of \(\sim\)`<!-- -->`{=html}1.3 Mpc (\(\sim\)`<!-- -->`{=html}2800\(^{\prime \prime} \,\) radius) from the cluster centre, that is the maximum distance where we have detected the radio halo. As shown in sec. [6](#sec:radioXcorrelation){reference-type="ref" reference="sec:radioXcorrelation"}, we have indication from the X-ray analysis that the slope would further increase when outer regions of the halo are considered. We find \(\beta=1.78 \pm 0.08\), which is slightly steeper than the slope found in the inner 2400\(^{\prime \prime} \,\) radius, though consistent within the errors. The \(I_{SZ}-I_R\) correlation is shown in Fig. [\[fig:corr_radioSZ\]](#fig:corr_radioSZ){reference-type="ref" reference="fig:corr_radioSZ"}. Both X-ray and SZ analysis show that when outer regions of the halo are considered, the correlation slope increases, i.e. the outermost regions of the radio halo have a different ratio of thermal/non-thermal energy than the inner ones.\
A correlation between the radio emission and the \(y\)-signal has been firstly obtained by, who fitted \(I_{SZ}\) versus \(I_R\), finding a quasi-linear relation: \(I_{SZ} \propto I_{R}^{0.92 \pm 0.04}\), that would correspond to our \(\beta \sim 1.1\). They used the WSRT 325 MHz map and \(y\) images at 10 arcmin resolution, and extracted the radio and \(y\)-signal from \(r<50\) arcmin region. As we find a steeper slope, using a lower frequency radio image we investigate in the following the possible causes of the different trend. First of all, we are looking at the \(I_R-I_{SZ}\) correlation using a radio image at a different frequency than used in. In addition, we are able to perform a more accurate subtraction of the contaminating sources, as the highest LOFAR resolution is 6\(^{\prime \prime} \,\), and we are less affected from calibration artefacts than the WSRT image. Residuals from contaminating sources would increase the values of the radio brightness in each box, and this effect could be more prominent for boxes at the halo periphery. In this case, the effect would be a flattening of the correlation. The data we have at the moment of writing do not allow to exclude that this is the cause of the different slope found with LOFAR and WSRT. However, we note that a higher value of the correlation slope for the \(I_R-I_X\) at lower frequencies has recently been found by Rajpurohit et al. (submitted) in the halo of the cluster Abell 2256, and by in the halo of CIG 0217+70.
# Comparison with numerical simulations {#sec:simulations}
Having the radio halo resolved in great detail, we can try to understand its origin with the help of numerical simulations. Specifically, we try in this Section to understand whether the observed scaling \(I_R-I_X\) can provide useful information to better constrain the particle acceleration mechanism.
### Simulated thermal to non-thermal correlations
We use a Coma-like galaxy cluster, simulated at high resolution and with ideal Magneto-Hydrodynamics using the cosmological Eulerian code ENZO (enzo-project.org) by. This system has a \(z \approx 0.02\) total mass comparable with the real Coma cluster, and it shows a radial decline of the magnetic field compatible with the estimates from Rotation Measures. The simulation includes eight levels of Adaptive Mesh Refinement (AMR) to increase the spatial and force resolution in most of the innermost cluster volume, down to \(\Delta x=3.95 \rm ~ kpc/cell\). While this simulation assumes an initial volume-filling background of weak magnetic field, \(B_0=10^{-4} \rm \mu G\) (comoving) at \(z=40\), the low redshift properties of the magnetic field are fairly independent of the exact origin scenario, due to the effect of the efficient small-scale dynamo amplification. Using the filtering technique described in, we have computed the turbulent energy flux, \(F_{Comp,Sol}\), associated to the compressive and solenoidal velocity components: \]F_{Comp,Sol}= \rho \frac{\sigma_{v_{Comp,Sol}}^3}{L}\times \frac{B^2}{B^2 + B_{IC}^2},\[ where, similarly as in Eq. [\[eq:fluxTurb\]](#eq:fluxTurb){reference-type="ref" reference="eq:fluxTurb"}, \(\sigma_{v_{Comp,Sol}}\) is the dispersion of the compressive, solenoidal velocity field on scale \(L\), different for solenoidal and compressive modes. From \(F\), one can compute the simulated synchrotron luminosity (see Eq. [\[eq:epsilonr\]](#eq:epsilonr){reference-type="ref" reference="eq:epsilonr"}) as: \]L_{Comp,Sol}= \eta_e F_{Comp,Sol}\[ The constant \(\eta_e \leq 1\) gives the dissipation efficiencies for solenoidal and compressive modes into cosmic ray acceleration, which depend on the complex physics of cosmic ray acceleration via Fermi II process. However, since in this application to our new LOFAR observations of Coma we are only concerned in the relative distribution of the two energy fluxes, we fix \(\eta\) for simplicity, acknowledging that both fluxes will represent an overestimate (likely by a factor \(\sim \geq 10^2\)) of the effective dissipation onto cosmic ray acceleration. Hence, we have used \(F_{Comp,Sol}\) as a proxy for the synchrotron luminosity instead of \(L_{Comp,Sol}\). The maps of projected \(F_{Comp}\) and \(F_{Sol}\) are shown in Fig. [\[fig:sim_images\]](#fig:sim_images){reference-type="ref" reference="fig:sim_images"}. We have computed the correlation between \(F_{Comp,Sol}\) and the simulated X-ray brightness \(I_X\) as we have done for the radio and X-ray emission. We note that some assumptions must be done to compare the simulated \(F_{Comp,Sol}\) to the observed radio emission. Specifically, we have assumed that the halo emission is generated by turbulent re-acceleration, and that \(\eta_e\) is constant throughout the cluster volume. Furthermore, as we are not modeling the CRe component, we have averaged \(F_{Comp,Sol}\) on scales larger than the electron diffusion length at 144 MHz. The diffusion length \(l_e\) of electrons emitting at 144 MHz can be estimated at first order as \]l_e \sim 2 \sqrt{D \tau_{rad}} \sim 100 \rm kpc.\(\) Here, \(\tau_{rad}\) is the electrons' radiative age at 144 MHz (\(\tau_{rad} \approx 200\) Myr) and \(D\) is the spatial diffusion coefficient. A simple estimate for \(D\) (i.e. ignoring pitch angle scattering along magnetic field lines) can be obtained from the typical scale for MHD turbulence in the ICM (\(l_A \sim 0.1-0.5\) kpc) as \(D \approx \frac{1}{3} l_A c\).\
We have computed the mean of \(F_{Comp,Sol}\) and \(I_X\) in boxes of 160 kpc side, that is larger than \(l_e\) and comparable to the size of the boxes used to compute the \(I_R-I_X\) correlation from data (see Sec. [6](#sec:radioXcorrelation){reference-type="ref" reference="sec:radioXcorrelation"}).\
In Fig. [\[fig:corr_sim\]](#fig:corr_sim){reference-type="ref" reference="fig:corr_sim"}, the two correlations obtained with simulated data are shown. Both \(F_{Comp}\) and \(F_{Sol}\) are positively correlated with the simulated \(I_X\). The correlation slope is similar, though a bit steeper in the case of \(F_{Sol}\)-\(I_X\) (see Tab. [3](#tab:corr_sim){reference-type="ref" reference="tab:corr_sim"}. Both slopes are consistent with the observed \(I_R-I_X\) correlation, supporting the connection between turbulence and radio diffuse emission. We note that the power in the solenoidal energy flux is \(\sim\) 10% higher than in the compressive energy flux. Once the CRe emission is properly modelled, this could be used to disentangle the role played by the two modes for CRe re-acceleration.
## Correlations in the centre and peripheral regions
As shown in the previous section, the global \(I_R-I_X\) in the Coma cluster can be recovered using both compressive and solenoidal energy fluxes as a tracer for the radio emission. MHD simulations show that solenoidal modes are dominant in the cluster central regions, and compressive modes dominate the cluster outskirts. We have seen in Sec. [6](#sec:radioXcorrelation){reference-type="ref" reference="sec:radioXcorrelation"}, that the different \(\beta\) obtained in the halo core and in the outer halo can not be explained by the decline of the magnetic field only. Here, we investigate whether different turbulent modes could play a role. We have fitted the simulated \(F_{comp,sol}\) versus the simulated X-ray brightness \(I_X\) in the cluster core and in the cluster external regions, separately. We used boxes of 32 kpc size to have a better sampling of the halo core. The results are listed in Table [3](#tab:corr_sim){reference-type="ref" reference="tab:corr_sim"}. The best-fit slope in the halo core is flatter than in the outer halo for both solenoidal and turbulent energy flux. The Pearson correlation coefficient, though, indicates that the correlation between \(I_X\) and \(F_{comp,sol}\) is weak in the halo core.\
Hence, we conclude that globally the trends are in agreement with the scenario where turbulent re-acceleration produces the radio halo. In order to understand the process in more detail, the CRe distribution needs to be modelled.
[\[tab:corr_sim\]]{#tab:corr_sim label="tab:corr_sim"}
# The halo front {#sec:haloFront}
Previous studies pointed out the presence of discontinuities in the thermal gas cluster properties located at the western edge of the radio halo. This discontinuity, detected in both the Comptonisation parameter \(y\) and in the temperature and deprojected density profiles, is consistent with an outwardly-propagating shock front, located at \(\sim\) 33 arcmin (910 kpc) from the cluster centre. More recently, used X-ray data from eROSITA and confirmed the presence of a shock wave in the West, with a Mach number \(M \sim 1.5\). This shock is interpreted as a secondary shock, or "mini accretion shock\" driven by the first passage of the NGC 4839 group through the cluster before reaching the apocenter and inverting its orbital motion. According to this scenario, both the relic and the W shock would be caused by the merger of NGC 4839 with the Coma cluster. During its first passage NGC4839 would have driven a first shock that should now be located at the position marked by the radio relic. The gas displaced by the merger would settle back into hydrostatic equilibruim, forming a "mini accretion\" shock. We refer the reader to , ,, for a more detailed explanation of the proposed merging scenario.\
Our LOFAR image confirms the presence of an edge of the radio halo towards the West (see Fig. [\[fig:profile_front\]](#fig:profile_front){reference-type="ref" reference="fig:profile_front"}), that could be in line with the scenario explained above. Shocks in the ICM are often associated with radio relics, where they leave a clear imprint on the spectral index distribution. The spectral index profile is flatter where particles are freshly re-accelerated and steeper moving towards the downstream region where particles radiate their energy via synchrotron and Inverse Compton losses. We have investigated whether a similar trend is found in the "halo front\", computing the spectral index profile in annuli that follow the front (Fig. [\[fig:spix_front\]](#fig:spix_front){reference-type="ref" reference="fig:spix_front"}). To derive the spectral index values, we have used the same images presented in Sec. [5](#sec:haloSpectrum){reference-type="ref" reference="sec:haloSpectrum"}[^7]. In Fig. [\[fig:spix_front\]](#fig:spix_front){reference-type="ref" reference="fig:spix_front"}, we show the spectral index profile obtained in annuli that follow the front, in comparison with the global spectral index trend obtained in annuli centred on the cluster and excluding the halo front region (Fig. [\[fig:spix_front\]](#fig:spix_front){reference-type="ref" reference="fig:spix_front"}, left panel). We note that in the direction of the front, the spectral index is flatter, but no steepening in the putative downstream region is present. However, the outermost annuli seem to follow a different trend than the global halo profile: the spectral index remains almost constant, while a radial steepening is detected when the whole halo is considered. It is possible that we are limited by the resolution, as the width of the annuli is \(\sim\)`<!-- -->`{=html}2\('\), corresponding to \(\sim\)`<!-- -->`{=html}60 kpc, that is larger than the electron cooling length in the post shock region. Hence, it is possible that we do not have the resolution to separate the shock front from the post-shock region, where particles have already experienced strong radiative losses. An alternative scenario is that the radio front could be radio plasma re-accelerated by the same mechanism responsible for the halo emission, and then dragged by the shock passage and compressed by it. Possibly, future high-resolution observations at higher or lower frequency will allow us to understand whether the halo front shows the typical shocked spectral index profile that we detect in radio relics or not.\
# The relic-NAT connection {#sec:relicNAT}
The diffuse emission connecting the relic to the NAT radio galaxy NGC4789 is imaged here with unprecedented resolution, that allows us to detect substructures in its surface brightness distribution. In particular, the bent jets of NGC4789 do not blend smoothly into the diffuse emission, as observed in other cases of radio galaxies nearby relics, and two discontinuities between the endpoint of the jets and the diffuse emissions are detected. At the centre of the diffuse source region, there is a bright transverse bar. Such a bar has been detected in other bent tails (e.g. in Abell 2443, @Clarke13, and recently in the Shapley supercluster @Venturi22) and are predicted by simulations of interacting AGN tails and shocks. The length of this source, measured from the relic's edge down to the endpoints of the jets, is 10 arcmin, corresponding to 280 kpc at the Coma redshift.\
To investigate the possible connection of the radio plasma with the thermal gas, we have used the ROSAT image and the radio image at 35 \(^{\prime \prime} \,\) resolution, and investigated the existence of a correlation between the thermal and non-thermal plasma, as done already for the radio halo (see Sec. [6](#sec:radioXcorrelation){reference-type="ref" reference="sec:radioXcorrelation"}), and for the Coma bridge. The average brightness profile of the relic-NAT connection is largely constant, increasing close to the relic edge where the radio bar is located. In addition, the low counts in the X-ray image do not allow us to make a proper analysis. Hence, though no correlation or anti-correlation between the two quantities seems to be present, no firm conclusions can be derived, and we can not rule out that the radio emisison originates from phenomena similar to those responsible for the bridge. However, given its morphology, we will investigate below an alternative scenario.\
The spectral index trend along the Relic-NAT connection main axis is shown in Fig. [\[fig:Relic_NAT_profiles\]](#fig:Relic_NAT_profiles){reference-type="ref" reference="fig:Relic_NAT_profiles"}. We have used the WSRT R image (see Tab. [\[tab:images\]](#tab:images){reference-type="ref" reference="tab:images"}, @Giovannini91) that has been used already in to analyse the bridge. Although the higher resolution of the image by would provide a better description of the spectral index trend, calibration errors from ComaA are strongly affecting that region. The spectrum of the radio emission computed between 144 MHz and 326 MHz shows a gradual steepening from regions close to the AGN core towards the relic's outer edge, reaching values of \(\alpha =-1.6 \pm 0.2\). At the relic's outer edge, the spectral index flattens to \(\alpha=-1.2 \pm 0.2\), and it steepens towards the NE, i.e. the putative post-shock region, reaching again \(\alpha=-1.6 \pm 0.2\). We note that the spectrum starts to flatten already in front of the relic edge (at \(\sim\)`<!-- -->`{=html}77\(^{\prime}\) from the cluster centre), though within the error that value is consistent with the steepest point. This apparent flattening could be due to projection effects, as if the relic has a velocity component along the line of sight, some relic emission could appear in front of the relic edge in projection.\
Overall, the spectral trend detected along the tail of NCG4789 and in the relic-NAT connection is consistent with AGN particle ageing. NGC4789 would be moving towards the SW of the cluster injecting particles into the ICM. Thus more recently injected particles are closer to the AGN core than the older ones that have been left behind. The shape of the source and the connection with the radio relic make this source peculiar and suggest a link between the relic-NAT connection and the shock wave that would power the radio relic.\
However, according to the merging scenario outlined in several papers, NGC4789 would be in the pre-shock region. Hence, it is puzzling to understand how features like the bar could have been formed, because that emission has not yet interacted with the shock. have proposed that the plasma from NGC4789 is dragged by the infalling matter (falling into Coma's cluster) to the location of the relic, where it is re-energised adiabatically by the shock wave.\
Three possible scenarios could in principle explain the emission of the NAT and its connection with the relic, and we briefly outline them here:
- \(i\) NGC4789 is in the pre-shock region, and the shock wave responsible for the relic is moving towards the southwest and approaching the tail. In this scenario, the emission from the tail in the Relic-NAT connection region would be unaffected by the shock passage. However, the plasma injected in the ICM by the tail would play an important role to explain the relic emission, as it would furnish energetic electrons that the low Mach number shock wave would reaccelerate.
- \(ii\) The relic is powered by a quasi-stationary accretion shock, and that NGC4789 is moving supersonically and crossing the shock region from NE to SW. Hence, NGC4789 would be in the pre-shock region, but its tail would have crossed the shock wave responsible for the relic emission.
- \(iii\) The relic is powered by a shock wave that is moving towards the cluster centre. NGC4789 has been crossed by the shock and it is now in the post-shock region.
Scenario (iii) has been recently studied by using numerical simulations. They have analysed the case of a shock wave that crosses an AGN when the shock normal is perpendicular to the jets. They find that, when a shock passes through the active jets and lobes of an AGN, jets are distorted by the shock passage, creating a NAT morphology, and a structure similar to the radio bar, as observed here. The spectral index trend resulting from the simulations by is in agreement with the one observed here along the tail and relic-NAT connection, though the values are slightly flatter after 200 Myr from the shock passage, when the simulation stops. This scenario would require a shock wave moving towards the cluster centre, that seems disfavoured by some authors and also by the spectral index trend across the relic that we detect, which is steepening NE, in agreement with expectation from an outwards moving shock wave. In scenario (ii), the situation would have some similarities with the simulation by, as also in this scenario the AGN would be crossed by a shock. However, in this case, the AGN would be in the pre-shock region, and its tail would be interacting with a less dense environment than the one simulated by. Scenario (ii) seems also supported by the analysis of, where they detect a relative velocity of \(\sim\)`<!-- -->`{=html}1000 km/s between NGC 4789 and NGC 4839, at the cluster centre. Our analysis does not allow us to discard scenario (i), where the shock is overtaking the pre-existing tail from the back. We can see that the tail and shock must be interacting, because the tail abruptly stops at the position of the relic. This situation has not been simulated yet, but it is likely that it would require some fine-tuning of the parameters. We indicate scenario (ii) as the favoured one, given the data we have now, though it remains to be seen whether the interaction of the AGN tail with a pre-shocked environment at the cluster outskirts would create the substructures that we observe. In all scenarios, the NAT NGC 4789 would be providing seed electrons that are (re)accelerated by the shock and originate the radio relic. In the literature, there are a few other cases where a link between an AGN tail and a relic has been established (see @Bonafede14b [@vanWeeren17_Nature; @Stuardi19].
# Discussion and conclusions {#sec:discussion}
In this work, we have used new data at 144 MHz from LOFAR to analyse the emission from the Coma cluster. We summarise our findings in the following and discuss how these observations allow us to advance our understanding of the non-thermal emission in clusters of galaxies.\
We have focused our analysis on the properties of the radio halo which-detected at 144 MHz with the resolution and sensitivity allowed by LOFAR-presents new interesting features and allows us to perform detailed resolved studies of the radio emission. We find that:
- the radio halo at 144 MHz appears larger than previously reported in the literature, with a largest angular scale of \(\sim\)`<!-- -->`{=html}71\('\), corresponding to \(\sim\) 2 Mpc. The halo is connected to the relic through a low surface brightness radio bridge, and the relic is connected to the AGN NGC 4879 to the southwest. In total, the radio emission from the halo to the head of NGC4879 spans \(\sim\)`<!-- -->`{=html}2\(^{\circ}\), corresponding to \(\sim\)`<!-- -->`{=html}3.4 Mpc.
- The halo brightness profile is well fitted by an exponential elliptical profile. At 144 MHz, it is characterized by e-folding radii \(r_1\)= 355 kpc and \(r_2\)= 268 kpc. At 325 MHz, the profile is more peaked, with \(r_1\)= 268 kpc and \(r_2\)= 240 kpc. This is consistent with a spectral steepening of the radio emission towards the halo outskirts, in agreement with the results by. It would be useful to perform these fits also at other frequencies in order to study how the halo size changes with frequency.
- The spectrum of the radio halo between 144 MHz and 342 MHz is flatter than previously reported, though consistent within the errors. We find \(\alpha=-1.0 \pm 0.2\), while previous studies indicate \(\alpha \sim-1.2\). We have computed the flux density of the halo at both frequencies from the best-fit exponential model, that is less affected by the different sensitivities of the two images and the possible presence of residuals from unrelated sources.
- We have computed the radial trend of the spectral index \(\alpha\) dividing the halo in four symmetric sectors. Our estimates could still be affected by residual contamination from unrelated source and calibration errors, but these should not have a major impact on the global results. We detect for the first time a moderate steepening towards the cluster center of the spectral index, and confirm the steepening towards the cluster outskirt found at higher frequencies by. This trend is in agreement with the expectations of homogeneous turbulent re-acceleration models. Though a detailed modeling is needed to understand the effect of projection affects and the exact location of the steepening frequency, we argue that the steepening detected at the cluster outskirts could indicate a non-constant acceleration time, and hint to a constant turbulent Mach number. The spectral index steepening towards the cluster centre is more or less pronounced in the different sectors, being prominent in the SW sector and not clearly detected in the NE sector. It is possible that the SW sector has been perturbed by the passage of the NGC4839 group, and shows now different properties.
- The point-to-point analysis between radio and X-ray surface brightness indicates a sub-linear slope of non-thermal plasma with respect to the thermal plasma. We obtain \(I_R\propto I_X^{0.64}\) when the correlation is computed on images at 1\(^{\prime}\) resolution. We detect a steeper, yet sublinear, correlation, when the radio image is convolved with Gaussian kernels of 2, 3, 4, 5 and 6 arcmin, and it converges to \(I_R \propto I_X^{0.76}\). Indeed, images at lower resolution are more sensitive to the weak emission in the halo outermost regions. We note that the total halo flux density does not change when computed from the 35\(^{\prime \prime} \,\) or 6\(^{\prime}\) image, because the outermost regions of the halo yield a very minor contribution to the total halo flux density. However, these regions affect the radio-X-ray correlation making it steeper.
- We have investigated whether the radio-X-ray correlation has a different slope in the halo core than in the outer halo, finding that the correlation is flatter in the core (\(I_R\propto I_X^{0.41}\)) than in the outer halo (\(I_R\propto I_X^{0.76}\)). By investigating the radial trend of the quantity \(I_R-I_X\), we have confirmed that this trend can be interpreted as a radial trend of \(I_R\) versus \(I_X\) being flatter in the halo core. An opposite slope-change has been recently found in some cool-core clusters, where the mini halo emission is surrounded by a weaker and more extended component. A flatter slope in the halo core is inconsistent with a major contribution of secondary electrons produced through hadronic interaction between thermal protons and cosmic ray protons in the ICM.
- In the framework of homogeneous re-acceleration models, the change of the slope of the \(I_R-I_X\) correlation can be only partially accounted for by a declining magnetic field profile. We have investigated the role of \(X\), i.e. the ratio of CRe to thermal energy density, and find that a radially increasing value of \(X\) would provide a better match with data. Although more detailed modeling should be done to derive firm conclusions, we note that an increasing value of \(X\) with the distance from the cluster centre is also expected from a theoretical point of view.
- With the help of MHD cosmological simulations, we have computed the turbulent energy flux associated to the compressive and solenoidal velocity components in a Coma-like cluster, and we find that both quantities show a sub-linear scaling with the simulated X-ray emission, that is in agreement with the observed scaling of \(I_R\) versus \(I_X\). Assuming the same efficiency for both modes, the flux associated to the solenoidal velocity component is a factor 10 higher than the flux associated to the compressive component. Hence, once the CRe distribution throughout the volume is assumed, it would be possible to constrain the relative importance of the two modes in the process of particle acceleration.
From the analysis of the Coma field, we also conclude that:
- To the northeast of Coma, at a projected distance of \(\sim\) 1.2 \(R_{vir}\), an arc-like diffuse patch of emission is discovered. As a large-scale filament of galaxies is detected in that direction, we tentatively propose that this emission is due to particles re-accelerated by an accretion shock, and name this emission "accretion relic\". If confirmed, this would be the first detection of particle acceleration from an accretion shock.
- The halo front, already reported by is here confirmed coincident with the position of a shock front detected in both X-ray and SZ studies. The radio spectral index does not seem to follow the typical trend found in radio relics. However, the large errors due to the small frequency range used to compute the spectral index do not allow us to exclude such a trend. It is possible that the halo front is caused by the radio halo plasma dragged along by the shock wave amd compressed by it. In any case, we can conclude that the properties of the halo in the W region are affected by the shock passage.
- The radio relic in the Coma cluster is here imaged with unprecedented detail, thanks to both the sensitivity of the LOFAR observations and to the calibration techniques that we have used, that allow us to minimise the artefacts from Coma A. The relic emission is connected to the tail of NGC4879, that is likely moving towards southwest. The connection between the relic and NGC4879 is what we name relic-NAT connection. The 20\(^{\prime \prime} \,\) resolution image shows that the endpoints of the NGC4879 jets are well distinct from the weak diffuse emission of the relic-NAT connection. A bright bar of radio emission is detected, similar to what has been found in other cluster tails. We have discussed three possible scenarios to explain the presence of the relic-NAT connection, and propose that NGC4879 is moving supersonically towards south-west. During its motion it has crossed the shock at the position of the relic. The shock has re-energised the particles injected by the tail in the ICM in the past and left behind during the galaxy's motion through the ICM.
Using literature information about the merging scenario of Coma and its large-scale structure environment, we can outline a global picture to explain the observed radio emission. The Coma cluster is currently accreting matter through filaments of galaxies that connect it to Abell 1367. A recent merger has happened between Coma and the galaxy group NGC 4839, that has passed the cluster from North-East to South-West, injecting a first shock wave in the ICM that is now powering the radio relic emission. The cluster core has been perturbed by this merger, and possibly from previous less massive mergers, that have released thermal energy in the ICM. A small fraction of this energy has been dissipated in turbulent motions, that have re-accelerated a mildly relativistic population of CRe already present in the ICM originating the radio halo.\
From the global spectral index of the halo, its radial trend, and the analysis of the radio-X ray correlation, we are able to derive a coherent picture where particles are re-accelerated by homogeneous turbulence in the ICM. In this picture, we have made several working assumptions that indicate possible regimes for re-acceleration to operate (i.e. constant turbulent Mach number and a radial increase of the CRe energy density with respect to the thermal energy density). We have attempted to distinguish between re-acceleration by Transit-Time-Damping with compressive modes and non-resonant second order Fermi acceleration with solenoidal modes, and although present data are not accurate enough, we have shown that observations are entering a regime where the details of the model can be in principle tested. It is possible that future observations, either with LOFAR 2.0 and/or with MeerKAT will be able to make an additional step forward and unveil the details of turbulent re-acceleration.\
The cluster core has been perturbed by the passage of NGC4839, and its motion around its equilibrium position has caused a second shock wave whose front is now coincident with the halo front. We find that the spectrum of the halo front has been affected by the shock passage, but we are not able to distinguish between shock re-acceleration or compression by the shock wave.\
NGC4839 is now at its second passage towards the cluster centre. Its motion might have injected additional turbulence in the ICM and a considerable amount of seed electrons, that originate to the radio bridge. The NAT NGC 4789 that is now located to the South-West of the relic is moving away from the cluster center at a supersonic velocity after crossing the shock wave at the location of the relic. From this interaction, the radio plasma injected in the ICM by NGC 4789 has been re-energised, leading to the emission that we detect in the relic-NAT connection.\
Finally, a filament of matter is detected to the Northeast of the Coma cluster. The matter accreting towards the cluster from that direction could result in the tentative "accretion relic\" that we have discovered.\
The scenario that we outline here is not the only possible one, and it leaves open questions. However, our analysis shows that we are entering a new era for the physics of non-thermal ICM emission, where we can constrain the model parameters. | {'timestamp': '2022-03-07T02:00:53', 'yymm': '2203', 'arxiv_id': '2203.01958', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01958'} |
# Introduction {#intro.sec}
FBOTs have peak brightnesses comparable to those of (typical or superluminous) supernovae (SNe). As implied by their name, however, they exhibit very blue colors and evolve with much shorter timescales. Their rapid evolution is hard to explain with radioactive decay that powers most SNe, suggesting that they are a distinct new type of transients (e.g. @X21, hereafter ). At a distance of only 63 Mpc, AT2018cow is the closest FBOT ever discovered. It has a peak luminosity of \(\sim\)`<!-- -->`{=html}10\(^{44}\) erg s\(^{-1}\), rises to peak in just a few days and then declines dramatically (@P18; @P19, hereafter ; @X21). The photospheric temperature is \(\sim\)`<!-- -->`{=html}30,000 K near peak and still as high as \(\sim\)`<!-- -->`{=html}10,000 K at \(\sim\)`<!-- -->`{=html}50 d after explosion (@Kuin2019; ). It is still unclear what progenitor is responsible for AT2018cow and what process(es) powers its rapid evolution. Current models include TDE (@Liu2018 [@Kuin2019]; ), CSM interaction (@Fox2019; ), magnetar (@P18; @Fang2019), pulsational pair-instability SN, jet-envelope interaction in a core-collapse SN, or a jet-driven SN impostor from a common-envelope binary system. It is worth mentioning that AT2018cow is located in an environment typical for core-collapse SNe; more recently, found evidence for a rapidly spinning compact object, which could be a neutron star or a black hole of mass \(<\)`<!-- -->`{=html}850 \(M_\odot\). For a number of SNe, late-time observations sometimes reveal significant brightness unexpected from their early-time evolution. The late-time sources contain important information for these SNe as their possible light echos, binary companions, host star clusters, late CSM interaction or something else. In comparison, no late-time sources have ever been reported for FBOTs, most of which are located in distant galaxies and observations become very difficult beyond several months after their explosions. Thanks to its relative proximity, AT2018cow may be the only possible FBOT to study its brightness at significantly late times. In this paper, we report the discovery of a bright source at the position of AT2018cow at 2--3 years after its explosion. This is somewhat surprising for a fast evolving transient with a steeply declining light curve. We describe the observed features and then discuss its possible origin scenarios. Throughout this paper, we use a redshift of 0.01406 and a distance of 63 Mpc for the host galaxy and a Galactic reddening of \(E(B-V)\) = 0.078 mag for AT2018cow. Its internal reddening within the host galaxy is negligible . All epochs are relative to an estimated explosion date of MJD = 58,284.79 .
# Data {#data.sec}
\
PIs: (a) Foley R.; (b) Levan A.; (c) Filippenko A.\
(d) Epoch is relative to an explosion date of MJD = 58,284.79 .\
(e) All magnitudes are in the Vega system. [\[obs.tab\]]{#obs.tab label="obs.tab"}
AT2018cow was observed by three HST programs (Table [1](#obs.tab){reference-type="ref" reference="obs.tab"}), all conducted with the Ultraviolet-Visible (UVIS) channel of the Wide Field Camera 3 (WFC3). The first program (ID: GO-15600) was performed at \(t\) = 52, 57 and 62 d while the other two programs (IDs: 15974 and 16179) were carried out at significantly later times of \(t\) = 714 and 1136 d, respectively. We retrieved the images from the Mikulski Archive for Space Telescopes (<https://archive.stsci.edu/index.html>) and re-drizzled them with `driz_cr_grow = 3` for better cosmic ray removal (all other parameters were left unchanged as in the standard calibration pipeline). In this work, we also use AT2018cow's early-time light curves of out to \(t\) \(\gtrsim\) 60 days. At optical wavelengths, the reported magnitudes in the Swift/UVOT and SDSS-like filters were converted into the Johnson-Cousins \(UBVRI\) system, using the relative offsets shown in Fig. 2 of . Magnitudes in the \(V\) and \(I\) bands are very similar to those in the F555W and F814W bands, respectively, with differences no larger than the photometric uncertainties. Light curves in the Swift/UVOT UVM2 and UVW1 filters and in the \(U\) band were transformed to the HST F218W, F225W, F275W and F336W bands using relations derived with synthetic magnitudes of blackbody spectra of 7000--50,000 K (calculated with the [pysynphot]{.smallcaps} package). used the AB magnitude system and we converted their magnitudes into the Vega magnitude system with \(m_{\rm AB}-m_{\rm Vega}\) = 1.68, 1.66, 1.50, 1.19, \(-\)`<!-- -->`{=html}0.02 and 0.43 mag for the F218W, F225W, F275W, F336W, F555W and F814W bands, respectively. These offsets were also calculated with the [pysynphot]{.smallcaps} package and are valid for hot sources like AT2018cow.
# Detection of a late-time source {#source.sec}
We performed point-spread-function (PSF) photometry on the HST images with the [dolphot]{.smallcaps} package. At the position of AT2018cow, a point source is significantly detected in all the broad-band images, only marginally detected in the F665N image with a 4.6\(\sigma\) significance, and not detected in the F657N image (Fig. [\[image.fig\]](#image.fig){reference-type="ref" reference="image.fig"}). The magnitudes or magnitude limits (obtained with artificial star tests) for this source are listed in the last column of Table [1](#obs.tab){reference-type="ref" reference="obs.tab"}. Note that the late-time source is not spatially resolved; therefore, its size should not significantly exceed that of the PSF, which corresponds to \(\sim\)`<!-- -->`{=html}20 pc at the distance of AT2018cow.
#### Light curves {#light-curves .unnumbered}
At the first three epochs of the HST observations (\(t\) = 52, 57 and 62 d), the derived magnitudes are consistent with the light curves of within the uncertainties (Fig. [\[curve.fig\]](#curve.fig){reference-type="ref" reference="curve.fig"}). AT2018cow's brightness evolves very rapidly; if we simply extrapolate the light curve tails, the brightness should decline to a very low level within a few months. Somewhat surprisingly, there is still a bright source at the position of AT2018cow at \(t\) = 714 and 1136 d, or \(\sim\)`<!-- -->`{=html}2--3 years after its explosion. It is also worth noting that the magnitudes of the late-time source are strikingly stable, in both F555W and F814W bands, over a time span of \(\sim\)`<!-- -->`{=html}1.2 yr between the last two epochs. The magnitude differences are only 0.01 mag and 0.14 mag, respectively, much smaller than the photometric uncertainties.
#### SED {#sed .unnumbered}
The late-time source has an SED even bluer than AT2018cow at early times (@P18; @Kuin2019; ). In Fig. [\[sed.fig\]](#sed.fig){reference-type="ref" reference="sed.fig"} the observed SED is compared with model spectra for blackbodies, single normal stars and star clusters with a initial mass function (IMF) from [bpass]{.smallcaps} v2.1 binary population synthesis models. The late-time source has significant UV excess even compared with the hottest stars of 50,000 K[^1] or the youngest star clusters of 1 Myr[^2]. We find a power-law solution of \(f_\lambda\) \(\propto\) \(\lambda^{-4.1 \pm 0.1}\) by fitting to the data, consistent with the Rayleigh-Jeans tail of very hot blackbodies.
#### Position on the HR diagram {#position-on-the-hr-diagram .unnumbered}
In Fig. [\[hrd.fig\]](#hrd.fig){reference-type="ref" reference="hrd.fig"} we show the possible positions of blackbodies on the HR diagram, whose synthetic magnitudes can match the observed ones for the late-time source. The result suggests that, if the late-time source is indeed a blackbody, it should have a very high temperature of log(\(T_{\rm eff}\)/K) \(>\) 4.7 and luminosity of log(\(L\)/\(L_\odot\)) \(>\) 7.0, corresponding to a blackbody radius of several tens of solar radii. The derived luminosity is significantly higher than any typical single stars, which is obvious by comparing it with the limit[^3], the [parsec]{.smallcaps} single-stellar isochrones, and some of the most luminous very massive stars of \(>\)`<!-- -->`{=html}100 \(M_\odot\) in the Milky Way or in the Large Magellanic Cloud (@Crowther2010; see also @Bestenlehner2020). Note, however, that the bolometric luminosity remains very uncertain since it is not clear whether the late-time source deviates from a blackbody SED outside the observed wavelength range.
#### H\(\alpha\) emisssion {#halpha-emisssion .unnumbered}
The F665N detection indicates prominent H\(\alpha\) emission from the late-time source (Fig. [\[sed.fig\]](#sed.fig){reference-type="ref" reference="sed.fig"}). Note that the wavelength of H\(\alpha\) is redshifted away from F657N into the F665N band due to the recession of the host galaxy. By subtracting a continuum interpolated between the F555W and F814W bands, we estimate a wavelength-integrated line flux of \(\sim\) 10\(^{-17}\) erg s\(^{-1}\) cm\(^{-2}\) or an H\(\alpha\) luminosity of \(\sim\)`<!-- -->`{=html}4 \(\times\) 10\(^{36}\) erg s\(^{-1}\) (corrected for extinction). It is not clear whether the H\(\alpha\) emission arise from stellar sources (e.g. WNh stars; @Schaerer1998) and/or from a modest and compact H [ii]{.smallcaps} region at the position of AT2018cow (for comparison, H [ii]{.smallcaps} regions have H\(\alpha\) luminosities ranging from 10\(^{37}\) erg s\(^{-1}\) for the Orion Nebula to \(>\)`<!-- -->`{=html}10\(^{40}\) erg s\(^{-1}\) for 30 Doradus; @Crowther2013). With integral-field spectroscopy, found AT2018cow to be associated with a giant H [ii]{.smallcaps} region. The F665N image, which has a much higher spatial resolution, shows that the giant H [ii]{.smallcaps} region is actually to the northwest of AT2018cow with an offset of \(\sim\)`<!-- -->`{=html}100 pc. Therefore, the detected F665N source is not due to the giant H [ii]{.smallcaps} region in the environment of AT2018cow.
# Possible origins {#origin.sec}
In this section we discuss what objects or physical mechanism(s) may give rise to the late-time brightness of AT2018cow.
#### Chance alignment {#chance-alignment .unnumbered}
The detected late-time source is less likely due to an unrelated object in chance alignment. We performed relative astrometry with 11 reference stars between the late-time images and the F218W image at \(t\) = 62 d. The (transformed) positions have an offset of only 0.3 pixel between AT2018cow and the late-time source, smaller than the astrometric uncertainty of 0.5 pixel. Additionally, there are only 22 sources significantly detected within 1\" from AT2018cow (Fig. [\[image.fig\]](#image.fig){reference-type="ref" reference="image.fig"}k); the probability is \(<\)`<!-- -->`{=html}1% for a randomly positioned source to coincide with AT2018cow within the 1\(\sigma\) error radius. Moreover, very few sources in the surrounding region can match AT2018cow's late-time brightness and its very blue SED. Therefore, we suggest the late-time source is not in chance alignment but physically associated with AT2018cow.
#### Light echo {#light-echo .unnumbered}
It is very difficult to explain AT2018cow's late-time brightness with a light echo. The H\(\alpha\) emission is inconsistent with AT2018cow's featureless spectrum near peak , and it may require a very specific dust configuration to reproduce its very blue SED. For circumstellar dust from a steady wind, the brightness of its light echo declines continuously , inconsistent with the observed stable F555W/F814W brightness from \(t\) = 714 d to 1136 d. A foreground dust sheet may produce a stable light echo brightness if it is distant enough from the transient. However, AT2018cow has a negligible amount of dust in its foreground since observations find very little extinction from within the host galaxy (). For dust in the background, the scattering is much less efficient due to the large scattering angles. Therefore, it seems unlikely that the late-time source is a light echo.
#### Stellar source(s) {#stellar-sources .unnumbered}
A late-time source with stable brightness is naturally expected if the transient's progenitor is located inside a binary/multiple system or star cluster. For AT2018cow, the late-time source is inconsistent with a single companion star; the very high luminosity requires it to be at least 2--3 very massive (\(>\)`<!-- -->`{=html}100 \(M_\odot\)) stars inside a multiple system (Fig. [\[hrd.fig\]](#hrd.fig){reference-type="ref" reference="hrd.fig"}). Star clusters with standard IMFs are difficult to match the observed SED (Fig. [\[sed.fig\]](#sed.fig){reference-type="ref" reference="sed.fig"}); if the late-time source were indeed a star cluster, it may have a very top-heavy IMF so that the brightness is dominated by the very massive stars. It is unclear if FBOTs mark the death of massive stars or arise from their non-terminal explosions. In a PPISN, for example, material ejected at a later epoch may collide with earlier ejecta, producing a luminous transient, but the progenitor may not have completely destroyed itself and can still be observed at late times. It is, however, still difficult to explain the high luminosity of AT2018cow's late-time source unless the progenitor is overluminous due to some special mechanisms. In a PPISN model of AT2018cow, found a progenitor mass of \(M_{\rm ini}\) \(\sim\) 80 \(M_\odot\) in order to fit the fast evolving light curves. In these scenarios, the H\(\alpha\) emission may arise from stars with strong winds or from the local ionized gas, and AT2018cow is (probably) related to a very young and massive progenitor. Caution, however, that some SNe spatially aligned with young star clusters are found to have much older progenitors due to sequentially triggered star formation.
#### Late emission from AT2018cow {#late-emission-from-at2018cow .unnumbered}
AT2018cow has been proposed to be a core-collapse SN powered by CSM interaction (@Fox2019, ). In the model of , AT2018cow was surrounded by CSM with a flat density profile from 3 to 1200 \(R_\odot\). If the late-time source were also due to CSM interaction, then the CSM should extend out to a much larger distance of \(\gtrsim\) 5 \(\times\) 10\(^{16}\) cm (for an ejecta velocity of 5000 km/s); the CSM density may also be different at larger distances in order to explain the significant light curve flattening from early to late times. In this scenario, the late-time emission may be contributed by emission lines. However, it may be challenging to reproduce the very stable brightness from \(t\) = 714 to 1136 d; most interacting SNe have time-varying brightness and their light curve plateaus, if any, last for much shorter periods (@Mauerhan2013a [@Mauerhan2013b]; but see @Smith2009 for the exceptions of extremely enduring SN 1988Z and SN 2005ip). In a magnetar-powered model of AT2018cow, derived a spin period of 11 ms and a magnetic field strength of 2.0 \(\times\) 10\(^{15}\) G, corresponding to a magnetic dipole spin-down timescale of 0.3 d. In this case, the energy injection rate is expected to decline by 60% from \(t\) = 714 d to 1136 d, inconsistent with the observed very stable late-time brightness. AT2018cow has also been suggested to arise from a low-mass star disrupted by an intermediate-mass black hole (@Liu2018 [@Kuin2019]; ). In such a TDE, the stellar debris is usually assumed to be swallowed within a few orbits, giving rise to a \(t^{-5/3}\) declining light curve after peak. We might expect some late-time brightness if there is significant time delay for some of the debris to be accreted. In this case, a constant accretion rate is needed to explain the stable F555W/F814W brightness at 714--1136 d; the H\(\alpha\) detection also requires the disrupted star to be hydrogen-rich.
# Summary
In this paper we report the discovery of a late-time source of the FBOT AT2018cow at 714 d and 1136 d after its explosion. It has a very stable brightness between the two epochs and a very blue SED consistent with the Rayleigh-Jeans tail of a blackbody spectrum with temperature log(\(T\)/K) \(>\) 4.7 and luminosity log(\(L\)/\(L_\odot\)) \(>\) 7.0. Significant H\(\alpha\) emission is also detected. This late-time source is unlikely an unrelated object in chance alignment, or due to a light echo of AT2018cow. We discussed other possible scenarios as stellar source(s) (companion stars, star cluster, or the survived progenitor star) or due to AT2018cow's late emission (CSM interaction, magnetar, or delayed accretion in a TDE). All these scenarios have some difficulties in explaining this late-time source and require some fine tuning or special mechanisms to match the observations. It cannot be ruled out, however, that the late-time brightness is contributed by multiple components and/or processes. We believe this late-time source may contain important information for AT2018cow, but long-term monitoring and multi-wavelength observations are required to resolve its origin. | {'timestamp': '2022-03-07T02:00:54', 'yymm': '2203', 'arxiv_id': '2203.01960', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01960'} |
null | null |
null | null |
# Faint blue white dwarfs in the GCNS color-magnitude diagram
*Gaia* color-magnitude diagrams (CMDs) reveal small numbers of faint blue white dwarfs (FBWDs) with absolute *Gaia* magnitudes of \(Gabs \gtrapprox 15\) mag and a wide range of blue *Gaia* colors. These FBWDs may constitute of "ultracool" or "infrared-faint", but possibly also "ultramassive\" WDs. The *Gaia* catalogue of nearby stars is based on the *Gaia* Early Data Release 3. Based on many *Gaia* astrometric parameters and quality flags, about 500000 EDR3 objects with measured magnitudes \(Gmag\) and colors \(G-RP\) and parallaxes \(Plx>10\) mas were divided into a GCNS-selected 100 pc sample of \(\approx\)`<!-- -->`{=html}296000 stars (59%) and a GCNS-rejected sample of \(\approx\)`<!-- -->`{=html}204000 (41%) objects. Except for a few objects with extremely red \(G-RP\) colors, all GCNS-selected stars are shown in Fig. [\[fig:abcd\]](#fig:abcd){reference-type="ref" reference="fig:abcd"}(a). In this CMD the main sequence is well separated from the white dwarf (WD) sequence, which is mainly located within the marked color-magnitude box defined by for all nearby WDs within 20 pc measured in the previous *Gaia* DR2. However, 60 FBWDs appear below this box, with absolute magnitudes \[Gabs>14.7+4.7(G-RP). \label{Eq1}\] The GCNS-rejected sample is dominated by very faint objects towards the Galactic centre (GC) and the Magellanic clouds (MCs), where the *Gaia* photometry, in particular in the \(RP\) and \(BP\) bands, and astrometry is strongly affected by image crowding. Therefore, the tails of their \(G-RP\) color distribution extend even outside the blue and red limits shown in Fig. [\[fig:abcd\]](#fig:abcd){reference-type="ref" reference="fig:abcd"}(b). Interestingly, there is an overlap of the blue tail of GCNS-rejected objects (411 objects following Eq. [\[Eq1\]](#Eq1){reference-type="ref" reference="Eq1"}) with the above mentioned CMD region of FBWDs that may throw discredit on the 60 GCNS-selected stars. On the other hand, only 55 WDs in the EDR3-based catalog of are found with Eq. [\[Eq1\]](#Eq1){reference-type="ref" reference="Eq1"}, and 8 of them are members of the GCNS-rejected sample (Fig. [\[fig:abcd\]](#fig:abcd){reference-type="ref" reference="fig:abcd"}(c)).
# Astrometric verification of FBWD candidates by proper motion check
To investigate how much the apparent branch of FBWDs may be caused by *Gaia* measuring errors, I inspected their optical finder charts (including own measurements in corresponding FITS images) and catalogs from different sources. The idea was to not only estimate the influence of crowding or close companions but confirm EDR3 proper motions above a chosen limit of 15 mas/yr by combining the available *Gaia* DR1-DR3 (epochs 2015-2016) positions with additional positional data. The presence of a confirmed proper motion was considered as supporting the EDR3 parallax, and consequently the absolute magnitude of a FBWD candidate. However, I took also into account the occurrence of other EDR3 sources at small (\(\lessapprox\)`<!-- -->`{=html}2 arcsec) separations and EDR3 common proper motion (CPM) objects within 3 arcmin and their available parallaxes. External data were taken from the APM and SuperCOSMOS measurements of photographic Schmidt plates, the Sloan Digital Sky Survey and Pan-STARRS release 1. A proper motion comparison was also made with the extended *Gaia*-PS1-SDSS catalog . In addition, I used the DESI Legacy Imaging Surveys, but only in exceptional cases near-infrared data from the VISTA Hemisphere Survey. The EDR3 total proper motions \(PM\) and numbers of visibility periods \(Nper\) (an important astrometric quality parameters, in particular in crowded regions) of 411 GCNS-rejected objects are both systematically smaller than those of 60 GCNS-selected stars (Fig. [\[fig:abcd\]](#fig:abcd){reference-type="ref" reference="fig:abcd"}(d)). Compared to the full sample of \(\approx\)`<!-- -->`{=html}302000 GCNS-selected stars with \(Plx>10\) mas, where 27% have \(PM\) around the peak of the distribution at 50\(\pm\)`<!-- -->`{=html}20 mas/yr, only 15% of the 60 stars fall in this interval. Consequently, their tangential velocities are relatively high (median \(\approx\)`<!-- -->`{=html}50 km/s, maximum \(\approx\)`<!-- -->`{=html}160 km/s). I confirmed the relatively high proper motions of all 60 GCNS-selected stars, including the brightest (B = ) and faintest (F = ) of them (Figs. [\[fig:abcd\]](#fig:abcd){reference-type="ref" reference="fig:abcd"}(c,d)). With \(Gabs \approx 17.3\) mag, the latter is nearly as faint as, but much bluer than, the unusual cool WD candidate . Only one of the 60 blue stars (H = ) was previously classified as high-mass WD by. It has another WD () as CPM companion (separation 8.9 arcsec) with similar parallax. The 60 objects are uniformly distributed over the sky, but one (W = ) appears in PS1 and Legacy Surveys as a blue foreground object in the GC. It has a redder CPM companion separated by 4 arcsec with a slightly smaller but more precise parallax. Using the latter, the absolute magnitude changes as indicated by an arrow in Fig. [\[fig:abcd\]](#fig:abcd){reference-type="ref" reference="fig:abcd"}(c). Of 13 GCNS-selected stars missing in I confirmed 12 as FBWDs. As seen in Fig. [\[fig:abcd\]](#fig:abcd){reference-type="ref" reference="fig:abcd"}(d), half of them have \(Nper < 12\) (one overlaps here with the unconfirmed object R, see below). All eight WDs of in the GCNS-rejected sample have very small \(PM\) and \(Nper\) (Fig. [\[fig:abcd\]](#fig:abcd){reference-type="ref" reference="fig:abcd"}(d)) including five objects in the GC and MCs regions and a quasar candidate (Q = ) from. Only one (C = ) has a relatively high \(PM \approx 25\) mas/yr that I confirmed using SDSS, PS1, and Legacy Surveys data. However, it has a large parallax error of about 3 mas and a CPM companion (separation 46 arcsec) with a much smaller parallax and ten times smaller error indicating a distance of 700 pc. When checking the proper motions of about 70 more GCNS-rejected objects with \(PM > 15\) mas/yr, 85% of which were in the crowded GC and MCs regions, I did not find further FBWD candidates.
# Crowding and close companions affecting *Gaia* color measurements
The error bars shown in Fig. [\[fig:abcd\]](#fig:abcd){reference-type="ref" reference="fig:abcd"}(c) are dominated by \(RP\) magnitude errors and relative parallax uncertainties. For GCNS-rejected objects (green) they are larger than for GCNS-selected stars (black). Most (53 of 60) GCNS-selected stars were also measured in PS1 or Legacy Surveys (22 in both). All but one of these appear blue on the corresponding finder charts. Surprisingly, the exception is the object at the blue end of the shown CMD (R = ), which in fact appears red in PS1 and VHS and is probably not a WD. It has a close (separation 3 arcsec) brighter CPM companion (\(\Delta G \approx 5.8\) mag but \(\Delta J \approx 3.0\) mag !) with a similar parallax that obviously affected the \(RP\) photometry. | {'timestamp': '2022-03-07T02:03:42', 'yymm': '2203', 'arxiv_id': '2203.02022', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02022'} |
# Introduction
Rotational bands are ubiquitous in the spectra of medium-mass and heavy nuclei. As has been known for seventy years , they emerge in a description of the nucleus as a nearly rigid axially-symmetric rotor . For even-even nuclei the simplest rotational bands consist of \(0^+\), \(2^+\), ...states and their energies are described by an expansion in powers of \(I(I+1)\) . This behavior has recently been obtained in *ab initio* calculations of the Be isotope chain and \(^{34}\)Mg . Odd-mass neighbors of a rotor nucleus can then be understood as a fermion coupled to the rotor. The fermion dynamics is simpler in the intrinsic frame in which the nucleus is not rotating, but this frame is non-inertial, so solving the problem there induces a Coriolis force proportional to \(\vec{j} \cdot \vec{I}\), the dot product of the single-fermion angular momentum and the total angular momentum of the fermion-rotor system. When combined with other mechanisms, such as excitation of the fermion to higher-single particle states and the fermion disturbing the rotor, this induces a string of terms in the energy-level formula . Odd powers of \(I\) appear, and produce staggering between adjacent levels. Which powers of \(I\) are present depends on the value of the quantum number, \(K\), the projection of the fermion angular momentum on the rotor axis. For \(K=1/2\) bands the energy-level formula is: \[\begin{aligned}
&& E(I)=A_K I(I+1) + E_K + A_{1} (-1)^{I+1/2} (I+1/2) \nonumber\\ && \quad + B_{1} I(I+1) (-1)^{I+1/2} (I+\tfrac{1}{2}) + B_K [I(I+1)]^2 \label{eq:energies} \end{aligned}\] where \(A_K\), \(E_K\), \(A_1\), \(B_1\), and \(B_K\) are parameters, related to rotor properties and single-particle matrix elements, that need to be either derived from a microscopic model or estimated from data. Over the years a number of models have had success describing this pattern from underlying density functional theory or shell-model dynamics. The models also predict specific values for the coefficients that appear in Eq. ([\[eq:energies\]](#eq:energies){reference-type="ref" reference="eq:energies"}). In Ref. we took a different approach, organizing the formula ([\[eq:energies\]](#eq:energies){reference-type="ref" reference="eq:energies"}) as an effective field theory (EFT) expansion in powers of the small parameter \(Q \equiv 1/I_{br}\), with \(I_{br}\) the spin of the nuclear state at which dynamical effects associated with single-particle and/or vibrational degrees of freedom cause the polynomial expansion in powers of \(I\) to break down. This description of rotational bands in odd-mass nuclei builds on the successful EFT developed for even-even nuclei in Refs. . Other efforts to develop an EFT for these rotational bands can be found in Refs. . In the odd-mass rotor EFT, Eq. ([\[eq:energies\]](#eq:energies){reference-type="ref" reference="eq:energies"}) is the next-to-next-to-next-to-next-to leading order () result for the energies, and the first corrections to it are \(\mathcal{O}(E Q^4)\). The EFT analysis of Eq. ([\[eq:energies\]](#eq:energies){reference-type="ref" reference="eq:energies"}) organizes it in terms of increasingly accurate predictions: the N\(^k\)LO energy-level formula has accuracy \(\mathcal{O}(E Q^{k})\). All short-distance/high-energy physical mechanisms that affect the energies up to that accuracy are subsumed into the parameters or low-energy constants (LECs) that multiply the \(I\)-dependent terms in Eq. ([\[eq:energies\]](#eq:energies){reference-type="ref" reference="eq:energies"}). In Ref. we determined these LECs by fitting the lowest levels in the different rotational bands we analyzed. However, this runs the risk of fine-tuning the values of the LECs to those levels, and it does not provide uncertainty estimates for them. Better parameter estimation would use all the data available on a particular band, and account for the \(\mathcal{O}(E Q^{k})\) truncation uncertainty present at order N\(^k\)LO . Bayesian methods for EFT parameter estimation do just that . Reference showed that the effect of neglected terms in the EFT expansion could be included in the error model by modifying the likelihood so that the covariance matrix that appears there includes both experimental uncertainties and EFT truncation errors. More recently, Ref. showed that MCMC sampling of that likelihood enabled the simultaneous determination of the LECs and the parameters of the error model, i.e., the value of \(Q\) and the typical size of the "order 1" dimensionless coefficients that appear in the EFT expansion. In this work we apply the EFT parameter estimation technology developed in Refs. to the problem of rotational bands in odd-mass nuclei. We consider \(K=1/2\) bands in \(^{99}\)Tc, \({}^{167, 169}\)Er, \({}^{167, 169}\)Tm, \({}^{183}\)W, \({}^{235}\)U and \({}^{239}\)Pu as well as \(K=3/2\) bands in \({}^{155,157}\)Gd and \({}^{159}\)Dy. Section [8](#sec:rotorfermionEFT){reference-type="ref" reference="sec:rotorfermionEFT"} summarizes the elements of the EFT that are relevant for this paper. Section [9](#sec:Bayesianmodel){reference-type="ref" reference="sec:Bayesianmodel"} then develops the Bayesian statistical model we use to analyze data on rotational bands. We first write down the likelihood that includes both experimental and theory uncertainties, and then explain how we use known information on the expected size of the LECs and the expansion parameter to set priors. A novel feature of this work, compared to earlier Bayesian EFT parameter-estimation studies, is that our statistical model incorporates the possibility that the LECs at even and odd orders have different typical sizes. This reflects the physics of odd-order LECs that are associated with matrix elements of the fermion spin, while even-order LECs contain a combination of effects from the rotor and the fermion. Section [10](#sec:sampler){reference-type="ref" reference="sec:sampler"} contains details of our Markov Chain Monte Carlo sampler, and then Sec. [11](#sec:results){reference-type="ref" reference="sec:results"} presents the results for LECs and the expansion parameter, \(Q\), that we obtain from sampling the Bayesian posterior. We conclude in Sec. [12](#sec:conclusion){reference-type="ref" reference="sec:conclusion"}. All the results and figures generated from this work can be reproduced using publicly available Jupyter notebooks .
# Rotational EFT Background {#sec:rotorfermionEFT}
Here we summarize the results of the EFT for rotational bands in odd-mass nuclei that was developed up to fourth order in the angular velocity of the system in Ref. . This theory constructs the Lagrangian of the particle-rotor system using its angular velocity and the angular momentum of the unpaired fermion, \(\vec{j}\), as building blocks. The resulting Lagrangian corrects that of a rigid rotor with contributions arranged as a series in powers of a small expansion parameter, \(Q\), according to a power-counting scheme that counts powers of the system's angular velocity. Naively, we expect \(Q\) to be of order \(E_{\rm rot}/ E_{\rm high}\), where \(E_{\rm rot}\) is the energy scale at which rotational excitation take place and \(E_{\rm high}\) is the scale of high-energy physics not explicitly taken into account by the EFT. At leading order (LO), the energy of a rotational band on top of a bandhead with spin \(K\) is \[\label{Energy_LO} E_{\rm LO}(I,K) =A_{\rm rot} I(I+1) + E_K,\] where \(I\) is the spin of the rotational state (or, equivalently, the total angular momentum of the fermion-rotor system), and \(A_{\rm rot}\) and \(E_K\) are LECs that must be fitted to experimental data. \(A_{\rm rot}\) is determined by the moment of inertia of the even-even nucleus (the rotor) to which the unpaired fermion is coupled. At next-to-leading order (NLO) rotational bands with \(K=1/2\) are affected by a term that takes the same \(\vec{j} \cdot \vec{I}\) form as the Coriolis force. This produces: \[\label{Energy_NLO} \begin{aligned} E_{\rm NLO}(I,K) =& A_{\rm rot} I(I+1) + E_K\\ & + A_{1} (-1)^{I+1/2} \left(I+\tfrac{1}{2}\right) \delta^K_{1/2}. \end{aligned}\] The LEC \(A_1\) is expected to be of order \(A_{\rm rot}\) times a sum of matrix elements involving the fermion's total angular momentum operator (for details see Ref. ). From previous studies we see that \(A_1/A_{\rm rot}<1\). This correction, sometimes called the signature term, causes staggering between adjacent states in \(K=1/2\) bands. The energy of a rotational band at next-to-next-to-leading order (\({\rm N}{}^2{\rm LO}\) \[\begin{aligned} E_{\ensuremath{{\rm N}{}^2{\rm LO}} &+ A_{1} (-1)^{I+1/2} \left(I+\tfrac{1}{2}\right) \delta^K_{1/2}. \end{aligned}\] The term proportional to \(A_K\) combines the LO term proportional to \(A_{\rm rot}\) and corrections entering at this order with the same spin dependence. From our power counting we expect the shift \(\Delta A=A_{\rm rot}-A_K\) to be of order \(A_{\rm rot} Q\). In contrast to \(A_{\rm rot}\), \(A_K\) is band dependent and so should be fitted to data on the rotational band of interest. The \({\rm N}{}^3{\rm LO}\) \[\begin{aligned} \Delta E_{\ensuremath{{\rm N}{}^3{\rm LO}} = B_{1}& (-1)^{I+1/2} \left(I+\tfrac{1}{2}\right)I(I+1) \delta^K_{1/2} \\ +& A_{3} (-1)^{I+3/2} \left(I+\tfrac{1}{2}\right)\left(I-\tfrac{1}{2}\right)\left(I+\tfrac{3}{2}\right) \delta^K_{3/2}. \end{aligned}\] with \(B_1\) and \(A_3\) expected to be of order \(A_1 Q^2\). Last, at \({\rm N}{}^4{\rm LO}\) \[\Delta E_{\ensuremath{{\rm N}{}^4{\rm LO}}\] with \(B_K\) expected to be of order \(A_{\rm rot} Q^3\). This pattern continues: at odd orders we add terms that correct the staggering term and have LECs of order \(A_1Q^{n-1}\), while the even-order terms provide the overall trend with \(I\) and have LECs of order \(A_{\rm rot}Q^{n-1}\). (In both cases \(n\) is the order of our expansion.) This difference in the expected sizes of odd and even LECs comes from the physics. Odd-order LECs are associated with operators in the effective Lagrangian that couple rotor and fermionic degrees of freedom, while even-order LECs encode both rotor-fermion interactions and effects coming from the non-rigidity of the rotor itself. In what follows we denote the LECs \(A_1\), \(\Delta A\), \(B_1\), and \(B_K\) generically as \(\{a_n:n=1,\ldots,k\} \equiv {\bf a}_k\), where \(k\) is the order of the EFT calculation. (In the case of \(K=3/2\) bands the set is \(\Delta A\), \(A_3\), and \(B_K\), and \(a_1=0\).) We then divide the \(n\)th-order LEC, \(a_n\), by the the reference scale and the power of the expansion parameter assigned to it by the EFT power counting, i.e., construct: \[c_n=\frac{a_n}{A_{\rm rot} Q^{n-1}}. \label{eq:cs}\] We expect these coefficients \(c_n\) to be of order one, i.e., they should be natural coefficients. However, because sets of odd and even natural coefficients seem to have different sizes we will assume the even and odd \(c_n\)'s are drawn from two different distributions with different characteristic sizes that we denote by \(\bar{c}_{even}\) and \(\bar{c}_{odd}\).
# Building the Bayesian Model {#sec:Bayesianmodel}
## Building the Posterior
Our goal in this analysis is to use the information on the expected size of LECs to stablize the extraction of their values as we add more levels to the analysis, or as we use energy-level formulae computed at different EFT orders. At the same time, we want to estimate the expansion parameter, \(Q\), of the theory, as well as the characteristic sizes for even and odd coefficients, \(\bar{c}_{even}\) and \(\bar{c}_{odd}\). We want to obtain the posterior distribution for all the LECs that appear at order \(k\), a set we collectively denote by \({\bf a}_k\). Here we will obtain the joint posterior pdf of \({\bf a}_k\), the expansion parameter \(Q\), and the characteristic sizes. To do this we follow the successful endeavor by the BUQEYE collaboration in Refs. , and write the posterior, given experimental data, \(\vec{y}_{exp}\), and prior information on the model, \(P*\), as \[\begin{aligned} \pr({\bf a}_k,Q,\bar{c}_{even},\bar{c}_{odd}|&\vec{y}_{exp},P*)\\ =&\pr({\bf a}_k|Q,\bar{c}_{even},\bar{c}_{odd},\vec{y}_{exp},P*)\\ \times&\pr(Q|\bar{c}_{even},\bar{c}_{odd},\vec{y}_{exp},P*)\\ \times&\pr(\bar{c}_{even}|\bar{c}_{odd},\vec{y}_{exp},P*)\\ \times&\pr(\bar{c}_{odd}|\vec{y}_{exp},P*). \label{eq:master} \end{aligned}\] Marginalization of this posterior distribution over \(Q\), \(\bar{c}_{even}\) and \(\bar{c}_{odd}\) yields the posterior distribution for \({\bf a}_k\). Other marginalizations can be carried out to obtain posteriors for \(Q\), \(\bar{c}_{even}\) and \(\bar{c}_{odd}\). This joint posterior distribution tells us the probability of the LECs and the error model parameters given experimental data. We could use this posterior distribution to get other quantities or observables, such as the energy of a particular rotational level, which depend on the LECs or the error model parameters. These are now represented by distributions and not single numbers. Their distributions are called posterior predictive distributions (PPD). We write the PPD of an observable \(\mathcal{O}\) as \[\label{PPD} \pr(\mathcal{O}|\vec{y}_{exp},P*)=\int d\vec{\theta}\delta(\mathcal{O}-\mathcal{O}(\vec{\theta})) \pr(\vec{\theta}|\vec{y}_{exp},P*)\] where \(\vec{\theta}\) represents the LECs and the error model parameters. Calculating the observable at each point in the parameter space \(\vec{\theta}\) and then integrating over the parameters \(\vec{\theta}\) allows one to carefully account for correlations between the parameters. Using Bayes' theorem, we can express the posterior ([\[eq:master\]](#eq:master){reference-type="ref" reference="eq:master"}) as \[\label{posterior} \begin{aligned} \pr({\bf a}_k,Q,\bar{c}_{even},\bar{c}_{odd}|&\vec{y}_{exp},P*)\\ =&\pr(\vec{y}_{exp}|{\bf a}_k,Q,\bar{c}_{even},\bar{c}_{odd},P*)\\ \times& \pr({\bf a}_k|Q,\bar{c}_{even},\bar{c}_{odd},P*)\\ \times& \pr(Q|\bar{c}_{even},\bar{c}_{odd},P*)\\ \times& \pr(\bar{c}_{even}|P*)\pr(\bar{c}_{odd}|P*)\\ \times& \frac{1}{{\pr(\vec{y}_{exp}|P*)}}. \end{aligned}\] The terms on the right-hand side of Eq. ([\[posterior\]](#posterior){reference-type="ref" reference="posterior"}) have the following interpretations:
1. \(\pr(\vec{y}_{exp}|{\bf a}_k,Q,\bar{c}_{even},\bar{c}_{odd},P*)\) is the likelihood of the experimental data given specific values of both the LECs that appear in the energy formula at order \(k\) and the parameters in our error model.
2. \(\pr({\bf a}_k|Q,\bar{c}_{even},\bar{c}_{odd},P*)\) is the prior distribution of the LECs given the parameters encoding the systematic expansion of the EFT.
3. \(\pr(Q|\bar{c}_{even},\bar{c}_{odd},P*)\) is the prior distribution of the expansion parameter given the characteristic sizes of even and odd natural coefficients.
4. \(\pr(\bar{c}_{even}|P*)\) and \(\pr(\bar{c}_{odd}|P*)\) are the prior distributions of the even and odd characteristic sizes. (In Eq. [\[posterior\]](#posterior){reference-type="eqref" reference="posterior"} we assume an uncorrelated prior on \(\bar{c}_{even}\) and \(\bar{c}_{odd}\).)
5. \(\pr(\vec{y}_{exp}|P*)\) is the evidence, which we drop in what follows as it does not depend on the parameters we are interested in extracting and functions only as a normalization constant.
## Building the Likelihood
We now build the likelihood function accounting for the expected error between the experimental and theoretical values, for data on \(K=1/2\) rotational bands. The corresponding likelihood for \(K=3/2\) bands is built analogously. Following we start by writing our observable (the energy of a particular rotation level) at order \(k\) as \[\label{eq:energy} \begin{aligned} E(I) &= A_{\rm rot}I(I+1)\\ \Bigg\{1 &+ \sum_{n=odd}^{k} c_n Q^{n-1} (-1)^{I+1/2}\left(I+\tfrac{1}{2}\right)[I(I+1)]^{(n-3)/2}\\ &+ \sum_{n=even}^{k} c_n Q^{n-1} [I(I+1)]^{(n-2)/2}\Bigg\}. \end{aligned}\] We choose the leading-order energy for each level, \(A_{\rm rot}I(I+1)\), to be the reference scale \(E_{\rm ref}\) for the observable. The dimensionless coefficients \(c_n\) (see Eq. ([\[eq:cs\]](#eq:cs){reference-type="ref" reference="eq:cs"})) are assumed to be \(\mathcal{O}(1)\). The theory error \(\vec{\sigma}_{th}\) at any order is due to terms omitted from the summations in Eq. [\[eq:energy\]](#eq:energy){reference-type="eqref" reference="eq:energy"}. Its most significant contribution comes from the first omitted term in the EFT expansion. Accounting only for this term yields an estimate for the theory error that is fully correlated across levels if \(k+1\) is even, and anticorrelated for adjacent levels if \(k+1\) is odd. To account for this correlation or anticorrelation we write the theory covariance matrix as the outer product of a vector representing the theory error, \(\Sigma_{th} \equiv \vec{\sigma}_{th} \otimes \vec{\sigma}_{th}\). The vector \(\vec{\sigma}_{th}\) contains the value of the first omitted term for each of the \(m\) energy levels that enter the likelihood. We also account for experimental errors by writing the covariance matrix as \[\Sigma=\Sigma_{th}+\Sigma_{exp}\] where we take \((\Sigma_{exp})_{ij} \equiv (\vec{\sigma}_{exp})_i^2\delta_{ij}\). The likelihood function is then \[\begin{aligned} \pr(\vec{y}_{exp}|&{\bf a}_k,Q,\bar{c}_{even},\bar{c}_{odd},P*)\\ =& \sqrt{\frac{1}{(2\pi)^m |\Sigma|}} \exp\left(-\frac{1}{2}\vec{r}^T \Sigma^{-1} \vec{r} \right), \end{aligned}\] where \(\vec{r}\equiv\vec{y}_{exp}-\vec{y}_{th}\) is the residual between the central experimental energy for a level and the theory result ([\[eq:energy\]](#eq:energy){reference-type="ref" reference="eq:energy"}) and \(m\) is the number of levels included in the likelihood estimation. We note that since the theory error is the outer product of the theory error with itself, the theory covariance \(\Sigma_{th}\) is singular. Including the experimental error solves this singularity problem for the covariance \(\Sigma\). However, \(\Sigma\) can still become ill-conditioned for higher values of \(Q\) if the experimental errors are too small; numerical issues then arise when we try to invert the covariance matrix. Including more terms in the estimate for the theoretical error produces a steeper peak in the likelihood function, see Fig. [\[fig:likelihood\]](#fig:likelihood){reference-type="ref" reference="fig:likelihood"}, which, in turn, restricts the values sampled for \(Q\) to a narrower region. Because it precludes the sampler exploring large values of \(Q\), this inclusion of more omitted terms in the model of the theoretical error solves the numerical problem of ill-conditioned matrices and gives a more accurate extraction of the LECs and the error-model parameters. In what follows we estimate the theory error including omitted terms up to a certain cutoff order \(k_{max}\). Our theory error estimate for the level with spin \(I\) is then \[\sigma_{th}(I)=A_{\rm rot}\sum_{l=k+1}^{k_{max}}\bar{c}_{even,odd} Q^{l-1} P_l(I), \label{eq:theoryerror}\] where the \(\bar{c}\) that is used here is \(\bar{c}_{even}\) for even values of \(l\) and \(\bar{c}_{odd}\) otherwise. The \(I\)-dependence of the \(l\)th term is chosen to match that in Eq. [\[eq:energy\]](#eq:energy){reference-type="eqref" reference="eq:energy"}, and is denoted here by \(P_l(I)\), a polynomial of power \(l\). We arrange the contributions to the theory error, ([\[eq:theoryerror\]](#eq:theoryerror){reference-type="ref" reference="eq:theoryerror"}) as the \(p\) columns of a \(m\times p\) matrix \(\sigma_{th}\), where \(p=k_{max}-k\) is the number of omitted terms. Each column in this matrix then corresponds to the theory-error structure, while each row corresponds to a different energy level. To obtain \(\Sigma_{th}\) we then again take the outer product of \(\sigma_{th}\) with itself, i.e., we construct an outer product in our \(m\)-dimensional data space, while also taking an inner product in order space. This results in the theory error associated with different orders being added in quadrature, while maintaining the correlation structure of the theory error across the data space.
## Building the Priors {#priors}
The prior distributions for an order-\(n\) LEC is taken to be a Gaussian with mean zero and standard deviation \[\sigma_n= \left\{ \begin{array}{lc} A_{\rm rot} \bar{c}_{even} Q^{n-1} & \mbox{if \(n\) is even;}\\ A_{\rm rot} \bar{c}_{odd} Q^{n-1} & \mbox {if \(n\) is odd.} \end{array} \right. \label{eq:sdeviation}\] encoding the EFT expectations for the sizes of the LECs arising from the power counting described in Sec. [8](#sec:rotorfermionEFT){reference-type="ref" reference="sec:rotorfermionEFT"}. The standard deviation in Eq. [\[eq:sdeviation\]](#eq:sdeviation){reference-type="eqref" reference="eq:sdeviation"} allows the possibility for even and odd LECs to have different typical sizes. Combining the Gaussian priors for the LECs yields \[\begin{aligned} \pr({\bf a}_k|&Q,\bar{c}_{even},\bar{c}_{odd},P*)\\=&\frac{1}{\bar{E} \sqrt{2\pi}} \exp\left(-\frac{E_k^2}{2 \bar{E}^2}\right) \prod_{n=1}^k \frac{1}{\sigma_n \sqrt{2\pi}}{\rm exp}\left(-\frac{a_n^2}{2\sigma_n^2}\right). \end{aligned}\] The LEC \(E_K\) is just an energy shift and its size is not determined by the EFT power counting. We set the prior on it to be Gaussian with mean zero and a standard deviation, \(\bar{E}\), that is wide enough to capture its value. The value for \(\bar{E}\) is determined from the energy of the bandhead and \(A_{\rm rot}\) by means of Eq. ([\[Energy_NLO\]](#Energy_NLO){reference-type="ref" reference="Energy_NLO"}). We choose not to impose any expectations regarding the size of expansion parameter in the prior for \(Q\) and so take it to be flat between two limits: \[\pr(Q|\bar{c}_{even},\bar{c}_{odd},P*)\propto \begin{cases} 1 & Q \in (0,Q_{cut}) \\ 0 & {\rm otherwise}. \end{cases}\] Limiting \(Q\) from above restricts the sampler from going to high values of \(Q\), as they make the covariance matrix ill-conditioned and harder to invert. For all cases we check that the posterior for \(Q\) is confined to values well below \(Q_{cut}\). The priors on the characteristic sizes \(\bar{c}_{even}\) and \(\bar{c}_{odd}\), are taken to be identical scaled-inverse-\(\chi^2\) distributions \[\pr(\bar{c}_l^2|P*) \propto \begin{cases} \chi^{-2}(\nu=1,\tau^2=1) & \bar{c}_l^2 \in (0, \bar{c}_{cut}^2) \\ 0 & {\rm otherwise}, \end{cases}\] where the cutoff \(\bar{c}_{cut}\) prevents numerical issues inverting the covariance matrix. The scaled-inverse-\(\chi^2\) distribution, given by \[\chi^{-2}(x; \nu, \tau^2)= \frac{(\tau^2\nu/2)^{\nu/2}}{\Gamma(\nu/2)}~ \frac{\exp\left[-\frac{\nu \tau^2}{2 x}\right]}{x^{1+\nu/2}},\] is shown for different values of \(\nu\) and \(\tau\) in Fig. [\[fig:prior_c\_bars\]](#fig:prior_c_bars){reference-type="ref" reference="fig:prior_c_bars"}. We stress that we chose identical priors for \(\bar{c}_{even}\) and \(\bar{c}_{odd}\) even though we expect the former to be larger than the latter based on previous analyses of data on rotational bands . We did not want to bias our analysis by imposing this hierarchy on the prior, instead anticipating that it will emerge naturally in the posteriors for those parameters. The scaled-inverse-\(\chi^2\) favors small values of \(\bar{c}^2\) and has long tails. This allows the sampler to explore higher values of \(\bar{c}^2\). The sharp decrease in this distribution for very small values of \(\bar{c}^2\) could be a problem for cases where \(\bar{c}_{odd}\) is much smaller than one. This is a concern in some \(K=3/2\) bands where we expect smaller odd-order corrections to the leading-order energy than in \(K=1/2\) bands.
# Running the Sampler {#sec:sampler}
To sample the posterior distribution in Eq. [\[posterior\]](#posterior){reference-type="eqref" reference="posterior"} we use the Python ensemble sampling toolkit for affine-invariant MCMC (emcee). We run the sampler for each nucleus at a certain EFT order using the \(m\) rotational levels from the bandhead up to some \(I_{max}\) and accounting for \(p\) omitted terms in the theory error. We use 64 walkers to sample the posterior distribution for an initial 10000 steps. We then continue running the sampler with 3000 step increments. After every 3000 steps we calculate the autocorrelation time, \(\tau_\alpha\), where \(\alpha\) indexes an LEC or an error-model parameter. We declare the sampler to be converged if the sampler meets two criteria. First, the number of steps has to be more than 50 times the highest \(\tau_\alpha\). Second, the change in any of the \(\tau_\alpha\)'s has to be less than 2% from its value after the last 3000 step increment. To get the posterior distributions we discard \(2\times {\rm max}(\tau_\alpha)\) steps from the beginning of the chain (*burn-in*) and \(0.5\times {\rm min}(\tau_\alpha)\) steps in between steps we accept (*thinning*). A sample corner plot of the marginalized distributions of the LECs and the error-model parameters \(Q\), \(\bar{c}_{even}\) and \(\bar{c}_{odd}\), for the case of \({}^{167}\)Er is shown in Fig. [\[fig:corner\]](#fig:corner){reference-type="ref" reference="fig:corner"}. This figure clearly shows that the posterior distributions for all parameters are fully converged. For this particular case we set \(Q_{cut}=0.16\) and \(\bar{c}_{cut}=22\) for both \(\bar{c}_{even}\) and \(\bar{c}_{odd}\). As explained in Sec. [9.3](#priors){reference-type="ref" reference="priors"}, the cutoffs on \(Q\) and the characteristic sizes prevent the covariance matrix from being ill-conditioned. We also ran the sampler for \(^{167}\)Er at different values of \(Q_{cut}\) and \(\bar{c}_{cut}\) and found that different choices of these hyperparameters do not result in a significant change in the posterior distributions. For some cases, namely \(^{99}\)Tc and \(^{183}\)W, the posterior distribution of \(Q\) was initially at the upper limit of the prior. We then ran into numerical problems when increasing \(Q_{cut}\) trying to encompass the entire posterior. This problem was solved by decreasing the number of levels included in the analysis, i.e., decreasing \(I_{max}\). It was then possible to increase \(Q_{cut}\) without encountering problems with degenerate matrices. This means that for \(^{99}\)Tc we were only able to extract the LECs and \(Q\) at \(I_{max}=11.5\). For \(^{183}\)W we needed to remove two levels from the upper end of the data set for the sampler to be numerically stable. In Fig. [\[fig:corner\]](#fig:corner){reference-type="ref" reference="fig:corner"} we see clear correlations between \(E_K\), \(A\), and \(B\) and also between \(A_1\) and \(B_1\). (Here we have dropped the subscript \(K\) on \(A\) and \(B\); it is to be understood that all LECs are band dependent.) The correlation coefficients given in the inset in the top-right corner of the figure make the block-diagonal structure of the covariance matrix clear. To a good approximation the correlation matrix can be decomposed into a correlation matrix for even-order LECs, one for odd-order LECs, and one for the error-model parameters. We note that, as expected, \(\bar{c}_{odd}\) is smaller than \(\bar{c}_{even}\). Corrections to the energy levels carrying odd powers of \(I\) are smaller than those carrying even powers of \(I\). This size difference is connected to different physics correcting the effective Lagrangian at even and odd orders. To see which of the parameters has the narrowest distribution and therefore places the strongest constraint on the posterior distribution, we did a Singular Value Decomposition (SVD) of the Hessian matrix. We found that the eigenvector with the highest eigenvalue, i.e., the parameter combination with smallest absolute error, is made up mostly of the highest-order LEC. This is unsurprising, since that LEC, \(B\), is markedly smaller than the others (we note that its relative error is actually larger than that on, e.g., \(A_1\)). We initially found a peculiar correlation between LECs in some cases where the rotational band was built on the ground state of the nucleus we were looking at. There we found the eigenvector with the highest eigenvalue was a very particular linear combination that involved all the LECs. We ultimately traced this correlation to the fact that the ground state experimental error had been set to zero, and so the combination of LECs that entered the formula for the ground-state energy was very well constrained (theory error is also very small there). This problem was solved by adding a small experimental error to the ground state. We chose it to be equal to the error that the NNDC quotes on the energy of the first excited state.
# Results {#sec:results}
In this section we show results for our Bayesian analysis of the rotational energy levels in \(^{99}\)Tc, \({}^{155,157}\)Gd, \({}^{159}\)Dy, \({}^{167, 169}\)Er, \({}^{167, 169}\)Tm, \({}^{183}\)W, \({}^{235}\)U and \({}^{239}\)Pu. The experimental data are taken from the National Nuclear Data Center (NNDC) . Except for the cases of \({}^{99}\)Tc and \({}^{183}\)W noted above, we included all levels in a certain rotational band according to the adopted level determination in the NNDC.
## Stable LEC Extraction Across EFT Orders and Additional Data
In this subsection we show that lower-order LECs extracted for the selected rotational bands are stable across EFT orders and with the addition of high-energy data, provided that we account for enough omitted terms when treating the theory error. For most nuclei including omitted terms up to \(k_{max}=10\), i.e., accounting for six omitted terms at \({\rm N}{}^4{\rm LO}\) As an example, we show the stability of the extracted LEC, \(A_1\), across number of levels included at different EFT orders in Fig. [\[fig:wes_A1_above_orders\]](#fig:wes_A1_above_orders){reference-type="ref" reference="fig:wes_A1_above_orders"}. In this figure, \(I_{max}\) is the spin of the highest-energy level included in a particular analysis. The central values of the resulting posteriors are consistent with each other within 68% credible intervals, shown as error bars in the figure. Adding more levels to the analysis narrows the posteriors for the LECs up to a certain \(I_{max}\), after which the widths of these distributions saturate. Fig. [\[fig:wes_A1_above_orders\]](#fig:wes_A1_above_orders){reference-type="ref" reference="fig:wes_A1_above_orders"} also demonstrates striking agreement between the distributions obtained at low and high EFT orders: they are almost identical as long as omitted terms up to the same \(k_{max}\) are accounted for in both analyses. The importance of including more than one omitted term in the theory error estimate is evident in Fig. [\[fig:wes_B\_above_errors\]](#fig:wes_B_above_errors){reference-type="ref" reference="fig:wes_B_above_errors"}. The top and bottom panels of the figure show the way that posteriors for \(B_1\) and \(B\) evolve as \(I_{max}\) increases. This is done using three error models that include different numbers of omitted terms. These results show that including more omitted terms in the model of the theory error removes the drifting and staggering of the central values. For both cases the distributions at \(k_{max}=10\) agree within errors as we go higher in \(I_{max}\). The narrowing of the distribution as we go higher in \(I_{max}\) is clearly seen in those two figures. In addition to having less data, the broadening of the error bands at low \(I_{max}\) comes from the fact that including less levels in the analysis leads to highly correlated LECs. This allows the numerically larger errors on the lower-order LECs to contribute to the errors on the higher-order LECs, thereby enhancing them. In Fig. [\[fig:wes_corr\]](#fig:wes_corr){reference-type="ref" reference="fig:wes_corr"} we show the decrease in the correlations between the LECs as \(I_{max}\) increases. The high correlation between the LECs at low \(I_{max}\) occurs because these analyses do not include enough data to constrain all LECs independently. Furthermore, the high correlation between the LECs at low \(I_{max}\) also results in an unreliable extraction of the expansion parameter \(Q\). This comes from the fact that at low energies the theory truncation error is very small compared to the experimental error. Indeed, adding more terms to our EFT error model (i. e., increasing \(k_{max}\)) leads to higher correlation between the LECs at low \(I_{max}\). Thus, the number of levels required to reliably extract \(Q\) increases with increasing \(k_{max}\). Starting instead at the low-\(I\) end of the data: when we progressively remove the lowest-energy levels from the data set \(D\) used to construct the likelihood we rapidly lose the ability to reliably extract the LECs. Figure [\[fig:wes_EK_below\]](#fig:wes_EK_below){reference-type="ref" reference="fig:wes_EK_below"} shows that the distribution for \(E_K\) starts narrow and broadens as we remove levels from below. When we remove the six lowest energy levels the distribution of \(E_K\) is exactly the same as the prior distribution: the likelihood is making no contribution to the \(E_K\) posterior. The previous results were nearly the same for all cases considered in this work. However, even for \(k_{max}=10\), staggering and shifting of the LECs remains sizable for the \(K=1/2\) bands in \(^{183}\)W, \(^{167}\)Tm and \(^{235}\)U. In \(^{183}\)W and \(^{167}\)Tm, these effects could be attributed to large expansion parameters, as they translate to large omitted contributions to the energies of the rotational levels. In \(^{235}\)U, the fermionic matrix elements could be larger than naively expected, causing the systematic expansion of the EFT to be questionable as discussed in Ref. . For \(K=3/2\) bands, we were able to extract stable LECs from the \(^{159}\)Dy analysis by setting \(I_{max}=15.5\). This extraction required us to consider omitted terms up to \(k_{max}=12\). This is because the spin at which the EFT breaks in this nucleus is \(I_{br}\approx 15.5\). (This, then, is the third case in which we do not use all the NNDC energy-level data available on a particular band.) \(^{157}\)Gd is stable across orders and \(I_{max}\), while \(^{155}\)Gd exhibits shifting and staggering due to a larger expansion parameter, \(Q \approx 0.07\).
The values of the LECs and the error-model parameters at \({\rm N}{}^4{\rm LO}\)
## Prior Sensitivity
In addition to using the scaled-inverse-\(\chi^2\) distribution as a prior for \(\bar{c}_{even}\) and \(\bar{c}_{odd}\) we tried truncated Gaussians with mean zero and standard deviations \(\sigma=7\) and \(\sigma=3\) respectively for all cases. These truncated Gaussian priors allow for smaller values of the characteristic sizes. But the standard deviations were chosen to still allow values for \(\bar{c}_{odd}\) and \(\bar{c}_{even}\) larger than those resulting from scaled-inverse-\(\chi^2\) priors with \(\nu=1\) and \(\tau^2=1\). The change in prior for \(\bar{c}_{odd}\) and \(\bar{c}_{even}\) does not significantly change the posteriors for the LECs: the corresponding central values differ by less than 1%, and are consistent with each other within the 68% credible intervals. Central values of the posteriors for \(Q\) differ by less than 15%, and were similarly consistent. The strongest dependence on the prior is that exhibited by the posteriors for \(\bar{c}_{odd}\) and \(\bar{c}_{even}\): the central values differ in some cases by more than 50%. However, even these values are consistent with each other within 68% credible intervals, since the posteriors for the characteristic sizes are broad. The changes in the posteriors of \(Q\) on one hand and \(\bar{c}_{odd}\) & \(\bar{c}_{even}\) on the other are anticorrelated. We only care about combinations of them to set the size of the theory error and the expected size of the LECs. Thus, the dependence of the theory error and the expected size of the LECs on the prior for the characteristic sizes is less profound. The difference in sizes of the theory error resulting from the chosen priors is less than 20% for all cases except \(^{157}\)Gd, where the difference is about 40%. For all results that follow we used the scaled-inverse-\(\chi^2\) distribution with \(\nu=1\) and \(\tau^2=1\) as the prior for both \(\bar{c}_{odd}\) and \(\bar{c}_{even}\), in keeping with the naturalness assumption.
## Posterior Predictive Distributions
Figure [\[fig:Er_ppd,U_ppd\]](#fig:Er_ppd,U_ppd){reference-type="ref" reference="fig:Er_ppd,U_ppd"} shows the PPDs of the energy residuals as a function of the spin \(I\) for two cases considered in this work. These distributions are calculated using Eq. ([\[PPD\]](#PPD){reference-type="ref" reference="PPD"}). In each figure, translucent blue lines connect energy residuals resulting from different LECs sets sampled from the posterior distribution in Eq. [\[eq:master\]](#eq:master){reference-type="eqref" reference="eq:master"}. The solid black line represents the median of the PPD, and the dashed lines encompass the region between the 16th and 84th percentiles. The dark and light red bands show the truncation error and the experimental error added in quadrature at 68% and 95% credible levels respectively. To calculate the truncation error, we consider a theory error that accounts for six omitted terms. They are added in quadrature, just as they are in the likelihood defined in Sec. [9](#sec:Bayesianmodel){reference-type="ref" reference="sec:Bayesianmodel"}. This calculation was done using the median values of \(Q, \bar{c}_{even}\), and \(\bar{c}_{odd}\). The dependence of the size of the theory error on the prior on \(\bar{c}_{even}\) and \(\bar{c}_{odd}\) is small in these cases: the theory error changes by about 10% when the prior is changed. The correlation coefficient written in the legend in Fig. [\[fig:Er_ppd,U_ppd\]](#fig:Er_ppd,U_ppd){reference-type="ref" reference="fig:Er_ppd,U_ppd"} is the largest between any LEC and any error-model parameter for the shown analysis. When this value is small, the truncation error and the propagated LEC error could in principle be added together in quadrature. In viewing Fig. [\[fig:Er_ppd,U_ppd\]](#fig:Er_ppd,U_ppd){reference-type="ref" reference="fig:Er_ppd,U_ppd"} it is important to remember that the truncation error on the energy residuals is highly correlated across levels. This comes from the high correlation between levels when building the correlation matrix that goes into the likelihood. This correlation also flows into a correlation between levels in the PPD of the energies. A correlation plot between two energy levels, like the ones in Fig. [\[fig:Er_2d_ppd,U_2d_ppd\]](#fig:Er_2d_ppd,U_2d_ppd){reference-type="ref" reference="fig:Er_2d_ppd,U_2d_ppd"}, gives a 2D cut of this multi-dimensional correlation. In both panels we see the importance of accounting for more than one omitted term in the theory error. This is clearly shown in the reverse in the direction of the correlation from a negative to a positive correlation when going from the orange ellipse to the red ellipse. The orange ellipse is obtained when we account for only one omitted term, while the red ellipse includes the effect of two omitted terms. After accounting for six omitted terms the green ellipse is obtained and the 68% ellipse in principle expands. This is more clearly seen when we go to high-energy levels plotted in the lower panel in Fig. [\[fig:Er_2d_ppd,U_2d_ppd\]](#fig:Er_2d_ppd,U_2d_ppd){reference-type="ref" reference="fig:Er_2d_ppd,U_2d_ppd"}. Note also that for lower-energy levels the correlation is smaller since the experimental error dominates over the truncation error, and we assumed that the experimental errors are not correlated across energy levels.
## Model Checking
In Figs. [\[fig:A_vs_Q\]](#fig:A_vs_Q){reference-type="ref" reference="fig:A_vs_Q"}, [\[fig:B1_vs_Q\]](#fig:B1_vs_Q){reference-type="ref" reference="fig:B1_vs_Q"} and [\[fig:B_vs_Q\]](#fig:B_vs_Q){reference-type="ref" reference="fig:B_vs_Q"} we compare the marginalized posterior distributions of the LECs, on the y-axis, with their expected sizes from the EFT power counting, on the x-axis. Since we also extract the theory error parameters from the sampler and they are highly correlated among themselves, we calculate the expected size from the distributions of the error model parameters using Eq. ([\[PPD\]](#PPD){reference-type="ref" reference="PPD"}). We notice that the error on the distribution of the LECs is very small compared to the error on the expected sizes that comes from the distribution of the theory error parameters. As these graphs are model-checking graphs, and since the estimates of LEC sizes plotted on the x-axis are meant as order-of-magnitude estimates, we do not expect perfect linear correlations. Nevertheless, Fig. [\[fig:A_vs_Q\]](#fig:A_vs_Q){reference-type="ref" reference="fig:A_vs_Q"} shows that, for all \(K=1/2\) bands considered, the LEC \(\Delta A\) agrees with its expected size within error bands. This result is surprisingly better than expected. In contrast, the size of \(\Delta A\) for \(K=3/2\) bands is larger than expected, especially for \(^{155}\)Gd (see blue points in Fig. [\[fig:A_vs_Q\]](#fig:A_vs_Q){reference-type="ref" reference="fig:A_vs_Q"}). There are two factors that could contribute to this. First, the \(K=3/2\) bands have larger fermionic matrix elements. This could hinder the systematic expansion of the EFT. Second, the \(K=3/2\) bands have relatively larger expansion parameters, see Fig. [\[fig:Q_vs_Q\]](#fig:Q_vs_Q){reference-type="ref" reference="fig:Q_vs_Q"}. The same discussion applies to the results in Figs. [\[fig:B1_vs_Q\]](#fig:B1_vs_Q){reference-type="ref" reference="fig:B1_vs_Q"} and [\[fig:B_vs_Q\]](#fig:B_vs_Q){reference-type="ref" reference="fig:B_vs_Q"}, where we see good agreement between the LECs and their expected sizes for \(K=1/2\) bands. The disagreement with power-counting estimates for \(K=3/2\) bands at is less of a concern than the one at seen in Fig. [\[fig:A_vs_Q\]](#fig:A_vs_Q){reference-type="ref" reference="fig:A_vs_Q"}, since these higher-order LECs are smaller than their expected sizes. This doesn't undermine the convergence of the EFT expansion. We also note here that the scale of the x-axis is prior dependent and could change by more than 50% in some nuclei, depending on the choice of prior on \(\bar{c}_{even}\) and \(\bar{c}_{odd}\). For \(^{157}\)Gd changing the prior on \(\bar{c}_{even}\) and \(\bar{c}_{odd}\) to a truncated normal allowed for smaller values of \(\bar{c}_{odd}\) and \(A_3\) was then equal to the expected size (i. e.,the point for \(^{157}\)Gd then falls exactly on the line in figure [\[fig:B1_vs_Q\]](#fig:B1_vs_Q){reference-type="ref" reference="fig:B1_vs_Q"}). This did not happen when the truncated normal is chosen as a prior for the analysis in \(^{155}\)Gd and \(^{159}\)Dy; this may occur because there is strong energy-level staggering present in the data for these nuclei. The size of \(\bar{c}_{even}\) and \(\bar{c}_{odd}\) is constrained by both the sizes of the LECs and the size of the theory error. In a good systematic expansion the tension between those factors on setting the size of the \(\bar{c}\)'s would be small and one number apiece would suffice to represent the even and odd order corrections. However when the systematic expansion is hindered, as in the case for \(K=3/2\) bands due to large fermionic matrix elements, this tension becomes clear. One example of this is seen in Figs. [\[fig:A_vs_Q\]](#fig:A_vs_Q){reference-type="ref" reference="fig:A_vs_Q"} and [\[fig:B_vs_Q\]](#fig:B_vs_Q){reference-type="ref" reference="fig:B_vs_Q"} for \(K=3/2\) bands. There \(\Delta A\) is large and favors large values of \(\bar{c}_{even}\), however, \(B\) is small and favors smaller values of \(\bar{c}_{even}\). The eventual result is a compromise. This tension may be exacerbated by the truncation error also providing information on the size of the \(\bar{c}\)'s.
## Higher than Expected Break-down Scale
In Fig. [\[fig:Q_vs_Q\]](#fig:Q_vs_Q){reference-type="ref" reference="fig:Q_vs_Q"} we see a clear correlation between the extracted values of \(Q\) and those that are expected based on each nucleus' single-particle and vibrational energy scales, \(E_{\rm sp}\) and \(E_{\rm vib}\). The expected \(Q\) is the larger of \(E_{\rm rot}/E_{\rm sp}\) and \(E_{\rm rot}/E_{\rm vib}\), while the extracted \(Q\) comes from sampling the posterior in Eq. [\[posterior\]](#posterior){reference-type="ref" reference="posterior"}. This extracted \(Q\) is what actually determines the convergence of the EFT expansion. It is markedly smaller than would be naively expected. The break-down scale of the theory is thus higher than naively expected: our rotational EFT works to much higher \(I\) than energy-scale arguments would suggest. This could occur because coupling between the higher rotational states explicitly included in the EFT and the high-energy states that are not explicitly included in our EFT is hindered by the large difference in angular momentum between them.
# Conclusions {#sec:conclusion}
We performed a Bayesian analysis to extract the LECs and expansion parameters \(Q\) describing the rotational energy levels of diverse odd-mass nuclei within a recently developed EFT. This analysis corroborates the EFT organization for energy-level formulae which results from the assumed power-counting scheme: the extracted LECs of order \(k\) scale as \(Q^{k-1}\), i.e., according to EFT expectations. While our analysis reached this conclusion for both \(K=1/2\) and \(K=3/2\) rotational bands, the sizes of the LECs describing the latter exhibit larger deviations from their expected values than those describing the former. We attribute this behavior to the size of fermionic matrix elements, assumed to be of order one while organizing energy-level formulae. Since these matrix elements involve the angular momentum of the fermion, \(\vec{j}\), we cannot exclude the possibility that the systematic behavior of the EFT is hindered in bands build on top of single-particle orbitals with larger values of \(K\). For the \(K=3/2\) bands studied in this work, however, this discrepancy does not destroy the systematic improvement of calculated energies up to \({\rm N}{}^4{\rm LO}\) In order to ensure that the extracted values are independent of the EFT order and number of energy levels entering the analysis, we employed a theory error beyond the first-omitted-term approximation, considering omitted terms in the expansion for the energy of rotational levels up to order \(k_{max}\). As we increased the number of omitted terms considered in the theory error, the corresponding log likelihood exhibited steeper and steeper peaks. Therefore, the 'widths' of the sampled posteriors decrease as \(k_{max}\) increases. Considering six omitted terms at \({\rm N}{}^4{\rm LO}\) In addition to the posteriors for the LECs and expansion parameters, our analysis yielded distributions for the characteristic sizes of even and odd \(c_n\)'s, \(\bar{c}_{even}\) and \(\bar{c}_{odd}\). The values of \(\bar{c}_{odd}\) are typically smaller than those for \(\bar{c}_{even}\), in agreement with results from previous studies where the LECs were fitted to the smallest possible data sets. The difference of the characteristic sizes of even and odd LECs has its origin in the physics behind the corresponding contributions to the effective Lagrangian: while odd-order contributions correct the particle-rotor interaction, even-order contributions include terms that depend exclusively on the rotor degrees of freedom, thus correcting the physics of the core to which the particle is coupled. Here this conclusion was reached solely on the basis of experimental data; we assumed equal priors for both characteristic sizes. Although the distributions of \(\bar{c}_{odd}\) and \(\bar{c}_{even}\) change depending on the choice of the their priors, that does not significantly change the distributions of the LECs. Altering the priors also does not have a large effect on the size of the theory error, which changes by less than 20% for nearly all cases. These considerations mean that our extractions of the LECs and the theory error parameters in the EFT of rotational bands in odd-mass nuclei are robust under the choice of prior. The formalism presented here also gives robust results for LECs across orders and as more data is added to the analysis. We conclude that a Bayesian framework that incorporates theory errors in the likelihood offers significant advantages for LEC extraction in EFTs. This methodology has already been used for the extraction of LECs in the NN potential from phase shifts and to constrain parameters of the three-nucleon force . But it is a very general approach which should improve the parameter estimation for LECs in any EFT.
# Introduction
Rotational bands are ubiquitous in the spectra of medium-mass and heavy nuclei. As has been known for seventy years , they emerge in a description of the nucleus as a nearly rigid axially-symmetric rotor . For even-even nuclei the simplest rotational bands consist of \(0^+\), \(2^+\), ...states and their energies are described by an expansion in powers of \(I(I+1)\) . This behavior has recently been obtained in *ab initio* calculations of the Be isotope chain and \(^{34}\)Mg . Odd-mass neighbors of a rotor nucleus can then be understood as a fermion coupled to the rotor. The fermion dynamics is simpler in the intrinsic frame in which the nucleus is not rotating, but this frame is non-inertial, so solving the problem there induces a Coriolis force proportional to \(\vec{j} \cdot \vec{I}\), the dot product of the single-fermion angular momentum and the total angular momentum of the fermion-rotor system. When combined with other mechanisms, such as excitation of the fermion to higher-single particle states and the fermion disturbing the rotor, this induces a string of terms in the energy-level formula . Odd powers of \(I\) appear, and produce staggering between adjacent levels. Which powers of \(I\) are present depends on the value of the quantum number, \(K\), the projection of the fermion angular momentum on the rotor axis. For \(K=1/2\) bands the energy-level formula is: \[\begin{aligned}
&& E(I)=A_K I(I+1) + E_K + A_{1} (-1)^{I+1/2} (I+1/2) \nonumber\\ && \quad + B_{1} I(I+1) (-1)^{I+1/2} (I+\tfrac{1}{2}) + B_K [I(I+1)]^2 \label{eq:energies} \end{aligned}\] where \(A_K\), \(E_K\), \(A_1\), \(B_1\), and \(B_K\) are parameters, related to rotor properties and single-particle matrix elements, that need to be either derived from a microscopic model or estimated from data. Over the years a number of models have had success describing this pattern from underlying density functional theory or shell-model dynamics. The models also predict specific values for the coefficients that appear in Eq. ([\[eq:energies\]](#eq:energies){reference-type="ref" reference="eq:energies"}). In Ref. we took a different approach, organizing the formula ([\[eq:energies\]](#eq:energies){reference-type="ref" reference="eq:energies"}) as an effective field theory (EFT) expansion in powers of the small parameter \(Q \equiv 1/I_{br}\), with \(I_{br}\) the spin of the nuclear state at which dynamical effects associated with single-particle and/or vibrational degrees of freedom cause the polynomial expansion in powers of \(I\) to break down. This description of rotational bands in odd-mass nuclei builds on the successful EFT developed for even-even nuclei in Refs. . Other efforts to develop an EFT for these rotational bands can be found in Refs. . In the odd-mass rotor EFT, Eq. ([\[eq:energies\]](#eq:energies){reference-type="ref" reference="eq:energies"}) is the next-to-next-to-next-to-next-to leading order () result for the energies, and the first corrections to it are \(\mathcal{O}(E Q^4)\). The EFT analysis of Eq. ([\[eq:energies\]](#eq:energies){reference-type="ref" reference="eq:energies"}) organizes it in terms of increasingly accurate predictions: the N\(^k\)LO energy-level formula has accuracy \(\mathcal{O}(E Q^{k})\). All short-distance/high-energy physical mechanisms that affect the energies up to that accuracy are subsumed into the parameters or low-energy constants (LECs) that multiply the \(I\)-dependent terms in Eq. ([\[eq:energies\]](#eq:energies){reference-type="ref" reference="eq:energies"}). In Ref. we determined these LECs by fitting the lowest levels in the different rotational bands we analyzed. However, this runs the risk of fine-tuning the values of the LECs to those levels, and it does not provide uncertainty estimates for them. Better parameter estimation would use all the data available on a particular band, and account for the \(\mathcal{O}(E Q^{k})\) truncation uncertainty present at order N\(^k\)LO . Bayesian methods for EFT parameter estimation do just that . Reference showed that the effect of neglected terms in the EFT expansion could be included in the error model by modifying the likelihood so that the covariance matrix that appears there includes both experimental uncertainties and EFT truncation errors. More recently, Ref. showed that MCMC sampling of that likelihood enabled the simultaneous determination of the LECs and the parameters of the error model, i.e., the value of \(Q\) and the typical size of the "order 1" dimensionless coefficients that appear in the EFT expansion. In this work we apply the EFT parameter estimation technology developed in Refs. to the problem of rotational bands in odd-mass nuclei. We consider \(K=1/2\) bands in \(^{99}\)Tc, \({}^{167, 169}\)Er, \({}^{167, 169}\)Tm, \({}^{183}\)W, \({}^{235}\)U and \({}^{239}\)Pu as well as \(K=3/2\) bands in \({}^{155,157}\)Gd and \({}^{159}\)Dy. Section [8](#sec:rotorfermionEFT){reference-type="ref" reference="sec:rotorfermionEFT"} summarizes the elements of the EFT that are relevant for this paper. Section [9](#sec:Bayesianmodel){reference-type="ref" reference="sec:Bayesianmodel"} then develops the Bayesian statistical model we use to analyze data on rotational bands. We first write down the likelihood that includes both experimental and theory uncertainties, and then explain how we use known information on the expected size of the LECs and the expansion parameter to set priors. A novel feature of this work, compared to earlier Bayesian EFT parameter-estimation studies, is that our statistical model incorporates the possibility that the LECs at even and odd orders have different typical sizes. This reflects the physics of odd-order LECs that are associated with matrix elements of the fermion spin, while even-order LECs contain a combination of effects from the rotor and the fermion. Section [10](#sec:sampler){reference-type="ref" reference="sec:sampler"} contains details of our Markov Chain Monte Carlo sampler, and then Sec. [11](#sec:results){reference-type="ref" reference="sec:results"} presents the results for LECs and the expansion parameter, \(Q\), that we obtain from sampling the Bayesian posterior. We conclude in Sec. [12](#sec:conclusion){reference-type="ref" reference="sec:conclusion"}. All the results and figures generated from this work can be reproduced using publicly available Jupyter notebooks .
# Rotational EFT Background {#sec:rotorfermionEFT}
Here we summarize the results of the EFT for rotational bands in odd-mass nuclei that was developed up to fourth order in the angular velocity of the system in Ref. . This theory constructs the Lagrangian of the particle-rotor system using its angular velocity and the angular momentum of the unpaired fermion, \(\vec{j}\), as building blocks. The resulting Lagrangian corrects that of a rigid rotor with contributions arranged as a series in powers of a small expansion parameter, \(Q\), according to a power-counting scheme that counts powers of the system's angular velocity. Naively, we expect \(Q\) to be of order \(E_{\rm rot}/ E_{\rm high}\), where \(E_{\rm rot}\) is the energy scale at which rotational excitation take place and \(E_{\rm high}\) is the scale of high-energy physics not explicitly taken into account by the EFT. At leading order (LO), the energy of a rotational band on top of a bandhead with spin \(K\) is \[\label{Energy_LO} E_{\rm LO}(I,K) =A_{\rm rot} I(I+1) + E_K,\] where \(I\) is the spin of the rotational state (or, equivalently, the total angular momentum of the fermion-rotor system), and \(A_{\rm rot}\) and \(E_K\) are LECs that must be fitted to experimental data. \(A_{\rm rot}\) is determined by the moment of inertia of the even-even nucleus (the rotor) to which the unpaired fermion is coupled. At next-to-leading order (NLO) rotational bands with \(K=1/2\) are affected by a term that takes the same \(\vec{j} \cdot \vec{I}\) form as the Coriolis force. This produces: \[\label{Energy_NLO} \begin{aligned} E_{\rm NLO}(I,K) =& A_{\rm rot} I(I+1) + E_K\\ & + A_{1} (-1)^{I+1/2} \left(I+\tfrac{1}{2}\right) \delta^K_{1/2}. \end{aligned}\] The LEC \(A_1\) is expected to be of order \(A_{\rm rot}\) times a sum of matrix elements involving the fermion's total angular momentum operator (for details see Ref. ). From previous studies we see that \(A_1/A_{\rm rot}<1\). This correction, sometimes called the signature term, causes staggering between adjacent states in \(K=1/2\) bands. The energy of a rotational band at next-to-next-to-leading order (\({\rm N}{}^2{\rm LO}\) \[\begin{aligned} E_{\ensuremath{{\rm N}{}^2{\rm LO}} &+ A_{1} (-1)^{I+1/2} \left(I+\tfrac{1}{2}\right) \delta^K_{1/2}. \end{aligned}\] The term proportional to \(A_K\) combines the LO term proportional to \(A_{\rm rot}\) and corrections entering at this order with the same spin dependence. From our power counting we expect the shift \(\Delta A=A_{\rm rot}-A_K\) to be of order \(A_{\rm rot} Q\). In contrast to \(A_{\rm rot}\), \(A_K\) is band dependent and so should be fitted to data on the rotational band of interest. The \({\rm N}{}^3{\rm LO}\) \[\begin{aligned} \Delta E_{\ensuremath{{\rm N}{}^3{\rm LO}} = B_{1}& (-1)^{I+1/2} \left(I+\tfrac{1}{2}\right)I(I+1) \delta^K_{1/2} \\ +& A_{3} (-1)^{I+3/2} \left(I+\tfrac{1}{2}\right)\left(I-\tfrac{1}{2}\right)\left(I+\tfrac{3}{2}\right) \delta^K_{3/2}. \end{aligned}\] with \(B_1\) and \(A_3\) expected to be of order \(A_1 Q^2\). Last, at \({\rm N}{}^4{\rm LO}\) \[\Delta E_{\ensuremath{{\rm N}{}^4{\rm LO}}\] with \(B_K\) expected to be of order \(A_{\rm rot} Q^3\). This pattern continues: at odd orders we add terms that correct the staggering term and have LECs of order \(A_1Q^{n-1}\), while the even-order terms provide the overall trend with \(I\) and have LECs of order \(A_{\rm rot}Q^{n-1}\). (In both cases \(n\) is the order of our expansion.) This difference in the expected sizes of odd and even LECs comes from the physics. Odd-order LECs are associated with operators in the effective Lagrangian that couple rotor and fermionic degrees of freedom, while even-order LECs encode both rotor-fermion interactions and effects coming from the non-rigidity of the rotor itself. In what follows we denote the LECs \(A_1\), \(\Delta A\), \(B_1\), and \(B_K\) generically as \(\{a_n:n=1,\ldots,k\} \equiv {\bf a}_k\), where \(k\) is the order of the EFT calculation. (In the case of \(K=3/2\) bands the set is \(\Delta A\), \(A_3\), and \(B_K\), and \(a_1=0\).) We then divide the \(n\)th-order LEC, \(a_n\), by the the reference scale and the power of the expansion parameter assigned to it by the EFT power counting, i.e., construct: \[c_n=\frac{a_n}{A_{\rm rot} Q^{n-1}}. \label{eq:cs}\] We expect these coefficients \(c_n\) to be of order one, i.e., they should be natural coefficients. However, because sets of odd and even natural coefficients seem to have different sizes we will assume the even and odd \(c_n\)'s are drawn from two different distributions with different characteristic sizes that we denote by \(\bar{c}_{even}\) and \(\bar{c}_{odd}\).
# Building the Bayesian Model {#sec:Bayesianmodel}
## Building the Posterior
Our goal in this analysis is to use the information on the expected size of LECs to stablize the extraction of their values as we add more levels to the analysis, or as we use energy-level formulae computed at different EFT orders. At the same time, we want to estimate the expansion parameter, \(Q\), of the theory, as well as the characteristic sizes for even and odd coefficients, \(\bar{c}_{even}\) and \(\bar{c}_{odd}\). We want to obtain the posterior distribution for all the LECs that appear at order \(k\), a set we collectively denote by \({\bf a}_k\). Here we will obtain the joint posterior pdf of \({\bf a}_k\), the expansion parameter \(Q\), and the characteristic sizes. To do this we follow the successful endeavor by the BUQEYE collaboration in Refs. , and write the posterior, given experimental data, \(\vec{y}_{exp}\), and prior information on the model, \(P*\), as \[\begin{aligned} \pr({\bf a}_k,Q,\bar{c}_{even},\bar{c}_{odd}|&\vec{y}_{exp},P*)\\ =&\pr({\bf a}_k|Q,\bar{c}_{even},\bar{c}_{odd},\vec{y}_{exp},P*)\\ \times&\pr(Q|\bar{c}_{even},\bar{c}_{odd},\vec{y}_{exp},P*)\\ \times&\pr(\bar{c}_{even}|\bar{c}_{odd},\vec{y}_{exp},P*)\\ \times&\pr(\bar{c}_{odd}|\vec{y}_{exp},P*). \label{eq:master} \end{aligned}\] Marginalization of this posterior distribution over \(Q\), \(\bar{c}_{even}\) and \(\bar{c}_{odd}\) yields the posterior distribution for \({\bf a}_k\). Other marginalizations can be carried out to obtain posteriors for \(Q\), \(\bar{c}_{even}\) and \(\bar{c}_{odd}\). This joint posterior distribution tells us the probability of the LECs and the error model parameters given experimental data. We could use this posterior distribution to get other quantities or observables, such as the energy of a particular rotational level, which depend on the LECs or the error model parameters. These are now represented by distributions and not single numbers. Their distributions are called posterior predictive distributions (PPD). We write the PPD of an observable \(\mathcal{O}\) as \[\label{PPD} \pr(\mathcal{O}|\vec{y}_{exp},P*)=\int d\vec{\theta}\delta(\mathcal{O}-\mathcal{O}(\vec{\theta})) \pr(\vec{\theta}|\vec{y}_{exp},P*)\] where \(\vec{\theta}\) represents the LECs and the error model parameters. Calculating the observable at each point in the parameter space \(\vec{\theta}\) and then integrating over the parameters \(\vec{\theta}\) allows one to carefully account for correlations between the parameters. Using Bayes' theorem, we can express the posterior ([\[eq:master\]](#eq:master){reference-type="ref" reference="eq:master"}) as \[\label{posterior} \begin{aligned} \pr({\bf a}_k,Q,\bar{c}_{even},\bar{c}_{odd}|&\vec{y}_{exp},P*)\\ =&\pr(\vec{y}_{exp}|{\bf a}_k,Q,\bar{c}_{even},\bar{c}_{odd},P*)\\ \times& \pr({\bf a}_k|Q,\bar{c}_{even},\bar{c}_{odd},P*)\\ \times& \pr(Q|\bar{c}_{even},\bar{c}_{odd},P*)\\ \times& \pr(\bar{c}_{even}|P*)\pr(\bar{c}_{odd}|P*)\\ \times& \frac{1}{{\pr(\vec{y}_{exp}|P*)}}. \end{aligned}\] The terms on the right-hand side of Eq. ([\[posterior\]](#posterior){reference-type="ref" reference="posterior"}) have the following interpretations:
1. \(\pr(\vec{y}_{exp}|{\bf a}_k,Q,\bar{c}_{even},\bar{c}_{odd},P*)\) is the likelihood of the experimental data given specific values of both the LECs that appear in the energy formula at order \(k\) and the parameters in our error model.
2. \(\pr({\bf a}_k|Q,\bar{c}_{even},\bar{c}_{odd},P*)\) is the prior distribution of the LECs given the parameters encoding the systematic expansion of the EFT.
3. \(\pr(Q|\bar{c}_{even},\bar{c}_{odd},P*)\) is the prior distribution of the expansion parameter given the characteristic sizes of even and odd natural coefficients.
4. \(\pr(\bar{c}_{even}|P*)\) and \(\pr(\bar{c}_{odd}|P*)\) are the prior distributions of the even and odd characteristic sizes. (In Eq. [\[posterior\]](#posterior){reference-type="eqref" reference="posterior"} we assume an uncorrelated prior on \(\bar{c}_{even}\) and \(\bar{c}_{odd}\).)
5. \(\pr(\vec{y}_{exp}|P*)\) is the evidence, which we drop in what follows as it does not depend on the parameters we are interested in extracting and functions only as a normalization constant.
## Building the Likelihood
We now build the likelihood function accounting for the expected error between the experimental and theoretical values, for data on \(K=1/2\) rotational bands. The corresponding likelihood for \(K=3/2\) bands is built analogously. Following we start by writing our observable (the energy of a particular rotation level) at order \(k\) as \[\label{eq:energy} \begin{aligned} E(I) &= A_{\rm rot}I(I+1)\\ \Bigg\{1 &+ \sum_{n=odd}^{k} c_n Q^{n-1} (-1)^{I+1/2}\left(I+\tfrac{1}{2}\right)[I(I+1)]^{(n-3)/2}\\ &+ \sum_{n=even}^{k} c_n Q^{n-1} [I(I+1)]^{(n-2)/2}\Bigg\}. \end{aligned}\] We choose the leading-order energy for each level, \(A_{\rm rot}I(I+1)\), to be the reference scale \(E_{\rm ref}\) for the observable. The dimensionless coefficients \(c_n\) (see Eq. ([\[eq:cs\]](#eq:cs){reference-type="ref" reference="eq:cs"})) are assumed to be \(\mathcal{O}(1)\). The theory error \(\vec{\sigma}_{th}\) at any order is due to terms omitted from the summations in Eq. [\[eq:energy\]](#eq:energy){reference-type="eqref" reference="eq:energy"}. Its most significant contribution comes from the first omitted term in the EFT expansion. Accounting only for this term yields an estimate for the theory error that is fully correlated across levels if \(k+1\) is even, and anticorrelated for adjacent levels if \(k+1\) is odd. To account for this correlation or anticorrelation we write the theory covariance matrix as the outer product of a vector representing the theory error, \(\Sigma_{th} \equiv \vec{\sigma}_{th} \otimes \vec{\sigma}_{th}\). The vector \(\vec{\sigma}_{th}\) contains the value of the first omitted term for each of the \(m\) energy levels that enter the likelihood. We also account for experimental errors by writing the covariance matrix as \[\Sigma=\Sigma_{th}+\Sigma_{exp}\] where we take \((\Sigma_{exp})_{ij} \equiv (\vec{\sigma}_{exp})_i^2\delta_{ij}\). The likelihood function is then \[\begin{aligned} \pr(\vec{y}_{exp}|&{\bf a}_k,Q,\bar{c}_{even},\bar{c}_{odd},P*)\\ =& \sqrt{\frac{1}{(2\pi)^m |\Sigma|}} \exp\left(-\frac{1}{2}\vec{r}^T \Sigma^{-1} \vec{r} \right), \end{aligned}\] where \(\vec{r}\equiv\vec{y}_{exp}-\vec{y}_{th}\) is the residual between the central experimental energy for a level and the theory result ([\[eq:energy\]](#eq:energy){reference-type="ref" reference="eq:energy"}) and \(m\) is the number of levels included in the likelihood estimation. We note that since the theory error is the outer product of the theory error with itself, the theory covariance \(\Sigma_{th}\) is singular. Including the experimental error solves this singularity problem for the covariance \(\Sigma\). However, \(\Sigma\) can still become ill-conditioned for higher values of \(Q\) if the experimental errors are too small; numerical issues then arise when we try to invert the covariance matrix. Including more terms in the estimate for the theoretical error produces a steeper peak in the likelihood function, see Fig. [\[fig:likelihood\]](#fig:likelihood){reference-type="ref" reference="fig:likelihood"}, which, in turn, restricts the values sampled for \(Q\) to a narrower region. Because it precludes the sampler exploring large values of \(Q\), this inclusion of more omitted terms in the model of the theoretical error solves the numerical problem of ill-conditioned matrices and gives a more accurate extraction of the LECs and the error-model parameters. In what follows we estimate the theory error including omitted terms up to a certain cutoff order \(k_{max}\). Our theory error estimate for the level with spin \(I\) is then \[\sigma_{th}(I)=A_{\rm rot}\sum_{l=k+1}^{k_{max}}\bar{c}_{even,odd} Q^{l-1} P_l(I), \label{eq:theoryerror}\] where the \(\bar{c}\) that is used here is \(\bar{c}_{even}\) for even values of \(l\) and \(\bar{c}_{odd}\) otherwise. The \(I\)-dependence of the \(l\)th term is chosen to match that in Eq. [\[eq:energy\]](#eq:energy){reference-type="eqref" reference="eq:energy"}, and is denoted here by \(P_l(I)\), a polynomial of power \(l\). We arrange the contributions to the theory error, ([\[eq:theoryerror\]](#eq:theoryerror){reference-type="ref" reference="eq:theoryerror"}) as the \(p\) columns of a \(m\times p\) matrix \(\sigma_{th}\), where \(p=k_{max}-k\) is the number of omitted terms. Each column in this matrix then corresponds to the theory-error structure, while each row corresponds to a different energy level. To obtain \(\Sigma_{th}\) we then again take the outer product of \(\sigma_{th}\) with itself, i.e., we construct an outer product in our \(m\)-dimensional data space, while also taking an inner product in order space. This results in the theory error associated with different orders being added in quadrature, while maintaining the correlation structure of the theory error across the data space.
## Building the Priors {#priors}
The prior distributions for an order-\(n\) LEC is taken to be a Gaussian with mean zero and standard deviation \[\sigma_n= \left\{ \begin{array}{lc} A_{\rm rot} \bar{c}_{even} Q^{n-1} & \mbox{if \(n\) is even;}\\ A_{\rm rot} \bar{c}_{odd} Q^{n-1} & \mbox {if \(n\) is odd.} \end{array} \right. \label{eq:sdeviation}\] encoding the EFT expectations for the sizes of the LECs arising from the power counting described in Sec. [8](#sec:rotorfermionEFT){reference-type="ref" reference="sec:rotorfermionEFT"}. The standard deviation in Eq. [\[eq:sdeviation\]](#eq:sdeviation){reference-type="eqref" reference="eq:sdeviation"} allows the possibility for even and odd LECs to have different typical sizes. Combining the Gaussian priors for the LECs yields \[\begin{aligned} \pr({\bf a}_k|&Q,\bar{c}_{even},\bar{c}_{odd},P*)\\=&\frac{1}{\bar{E} \sqrt{2\pi}} \exp\left(-\frac{E_k^2}{2 \bar{E}^2}\right) \prod_{n=1}^k \frac{1}{\sigma_n \sqrt{2\pi}}{\rm exp}\left(-\frac{a_n^2}{2\sigma_n^2}\right). \end{aligned}\] The LEC \(E_K\) is just an energy shift and its size is not determined by the EFT power counting. We set the prior on it to be Gaussian with mean zero and a standard deviation, \(\bar{E}\), that is wide enough to capture its value. The value for \(\bar{E}\) is determined from the energy of the bandhead and \(A_{\rm rot}\) by means of Eq. ([\[Energy_NLO\]](#Energy_NLO){reference-type="ref" reference="Energy_NLO"}). We choose not to impose any expectations regarding the size of expansion parameter in the prior for \(Q\) and so take it to be flat between two limits: \[\pr(Q|\bar{c}_{even},\bar{c}_{odd},P*)\propto \begin{cases} 1 & Q \in (0,Q_{cut}) \\ 0 & {\rm otherwise}. \end{cases}\] Limiting \(Q\) from above restricts the sampler from going to high values of \(Q\), as they make the covariance matrix ill-conditioned and harder to invert. For all cases we check that the posterior for \(Q\) is confined to values well below \(Q_{cut}\). The priors on the characteristic sizes \(\bar{c}_{even}\) and \(\bar{c}_{odd}\), are taken to be identical scaled-inverse-\(\chi^2\) distributions \[\pr(\bar{c}_l^2|P*) \propto \begin{cases} \chi^{-2}(\nu=1,\tau^2=1) & \bar{c}_l^2 \in (0, \bar{c}_{cut}^2) \\ 0 & {\rm otherwise}, \end{cases}\] where the cutoff \(\bar{c}_{cut}\) prevents numerical issues inverting the covariance matrix. The scaled-inverse-\(\chi^2\) distribution, given by \[\chi^{-2}(x; \nu, \tau^2)= \frac{(\tau^2\nu/2)^{\nu/2}}{\Gamma(\nu/2)}~ \frac{\exp\left[-\frac{\nu \tau^2}{2 x}\right]}{x^{1+\nu/2}},\] is shown for different values of \(\nu\) and \(\tau\) in Fig. [\[fig:prior_c\_bars\]](#fig:prior_c_bars){reference-type="ref" reference="fig:prior_c_bars"}. We stress that we chose identical priors for \(\bar{c}_{even}\) and \(\bar{c}_{odd}\) even though we expect the former to be larger than the latter based on previous analyses of data on rotational bands . We did not want to bias our analysis by imposing this hierarchy on the prior, instead anticipating that it will emerge naturally in the posteriors for those parameters. The scaled-inverse-\(\chi^2\) favors small values of \(\bar{c}^2\) and has long tails. This allows the sampler to explore higher values of \(\bar{c}^2\). The sharp decrease in this distribution for very small values of \(\bar{c}^2\) could be a problem for cases where \(\bar{c}_{odd}\) is much smaller than one. This is a concern in some \(K=3/2\) bands where we expect smaller odd-order corrections to the leading-order energy than in \(K=1/2\) bands.
# Running the Sampler {#sec:sampler}
To sample the posterior distribution in Eq. [\[posterior\]](#posterior){reference-type="eqref" reference="posterior"} we use the Python ensemble sampling toolkit for affine-invariant MCMC (emcee). We run the sampler for each nucleus at a certain EFT order using the \(m\) rotational levels from the bandhead up to some \(I_{max}\) and accounting for \(p\) omitted terms in the theory error. We use 64 walkers to sample the posterior distribution for an initial 10000 steps. We then continue running the sampler with 3000 step increments. After every 3000 steps we calculate the autocorrelation time, \(\tau_\alpha\), where \(\alpha\) indexes an LEC or an error-model parameter. We declare the sampler to be converged if the sampler meets two criteria. First, the number of steps has to be more than 50 times the highest \(\tau_\alpha\). Second, the change in any of the \(\tau_\alpha\)'s has to be less than 2% from its value after the last 3000 step increment. To get the posterior distributions we discard \(2\times {\rm max}(\tau_\alpha)\) steps from the beginning of the chain (*burn-in*) and \(0.5\times {\rm min}(\tau_\alpha)\) steps in between steps we accept (*thinning*). A sample corner plot of the marginalized distributions of the LECs and the error-model parameters \(Q\), \(\bar{c}_{even}\) and \(\bar{c}_{odd}\), for the case of \({}^{167}\)Er is shown in Fig. [\[fig:corner\]](#fig:corner){reference-type="ref" reference="fig:corner"}. This figure clearly shows that the posterior distributions for all parameters are fully converged. For this particular case we set \(Q_{cut}=0.16\) and \(\bar{c}_{cut}=22\) for both \(\bar{c}_{even}\) and \(\bar{c}_{odd}\). As explained in Sec. [9.3](#priors){reference-type="ref" reference="priors"}, the cutoffs on \(Q\) and the characteristic sizes prevent the covariance matrix from being ill-conditioned. We also ran the sampler for \(^{167}\)Er at different values of \(Q_{cut}\) and \(\bar{c}_{cut}\) and found that different choices of these hyperparameters do not result in a significant change in the posterior distributions. For some cases, namely \(^{99}\)Tc and \(^{183}\)W, the posterior distribution of \(Q\) was initially at the upper limit of the prior. We then ran into numerical problems when increasing \(Q_{cut}\) trying to encompass the entire posterior. This problem was solved by decreasing the number of levels included in the analysis, i.e., decreasing \(I_{max}\). It was then possible to increase \(Q_{cut}\) without encountering problems with degenerate matrices. This means that for \(^{99}\)Tc we were only able to extract the LECs and \(Q\) at \(I_{max}=11.5\). For \(^{183}\)W we needed to remove two levels from the upper end of the data set for the sampler to be numerically stable. In Fig. [\[fig:corner\]](#fig:corner){reference-type="ref" reference="fig:corner"} we see clear correlations between \(E_K\), \(A\), and \(B\) and also between \(A_1\) and \(B_1\). (Here we have dropped the subscript \(K\) on \(A\) and \(B\); it is to be understood that all LECs are band dependent.) The correlation coefficients given in the inset in the top-right corner of the figure make the block-diagonal structure of the covariance matrix clear. To a good approximation the correlation matrix can be decomposed into a correlation matrix for even-order LECs, one for odd-order LECs, and one for the error-model parameters. We note that, as expected, \(\bar{c}_{odd}\) is smaller than \(\bar{c}_{even}\). Corrections to the energy levels carrying odd powers of \(I\) are smaller than those carrying even powers of \(I\). This size difference is connected to different physics correcting the effective Lagrangian at even and odd orders. To see which of the parameters has the narrowest distribution and therefore places the strongest constraint on the posterior distribution, we did a Singular Value Decomposition (SVD) of the Hessian matrix. We found that the eigenvector with the highest eigenvalue, i.e., the parameter combination with smallest absolute error, is made up mostly of the highest-order LEC. This is unsurprising, since that LEC, \(B\), is markedly smaller than the others (we note that its relative error is actually larger than that on, e.g., \(A_1\)). We initially found a peculiar correlation between LECs in some cases where the rotational band was built on the ground state of the nucleus we were looking at. There we found the eigenvector with the highest eigenvalue was a very particular linear combination that involved all the LECs. We ultimately traced this correlation to the fact that the ground state experimental error had been set to zero, and so the combination of LECs that entered the formula for the ground-state energy was very well constrained (theory error is also very small there). This problem was solved by adding a small experimental error to the ground state. We chose it to be equal to the error that the NNDC quotes on the energy of the first excited state.
# Results {#sec:results}
In this section we show results for our Bayesian analysis of the rotational energy levels in \(^{99}\)Tc, \({}^{155,157}\)Gd, \({}^{159}\)Dy, \({}^{167, 169}\)Er, \({}^{167, 169}\)Tm, \({}^{183}\)W, \({}^{235}\)U and \({}^{239}\)Pu. The experimental data are taken from the National Nuclear Data Center (NNDC) . Except for the cases of \({}^{99}\)Tc and \({}^{183}\)W noted above, we included all levels in a certain rotational band according to the adopted level determination in the NNDC.
## Stable LEC Extraction Across EFT Orders and Additional Data
In this subsection we show that lower-order LECs extracted for the selected rotational bands are stable across EFT orders and with the addition of high-energy data, provided that we account for enough omitted terms when treating the theory error. For most nuclei including omitted terms up to \(k_{max}=10\), i.e., accounting for six omitted terms at \({\rm N}{}^4{\rm LO}\) As an example, we show the stability of the extracted LEC, \(A_1\), across number of levels included at different EFT orders in Fig. [\[fig:wes_A1_above_orders\]](#fig:wes_A1_above_orders){reference-type="ref" reference="fig:wes_A1_above_orders"}. In this figure, \(I_{max}\) is the spin of the highest-energy level included in a particular analysis. The central values of the resulting posteriors are consistent with each other within 68% credible intervals, shown as error bars in the figure. Adding more levels to the analysis narrows the posteriors for the LECs up to a certain \(I_{max}\), after which the widths of these distributions saturate. Fig. [\[fig:wes_A1_above_orders\]](#fig:wes_A1_above_orders){reference-type="ref" reference="fig:wes_A1_above_orders"} also demonstrates striking agreement between the distributions obtained at low and high EFT orders: they are almost identical as long as omitted terms up to the same \(k_{max}\) are accounted for in both analyses. The importance of including more than one omitted term in the theory error estimate is evident in Fig. [\[fig:wes_B\_above_errors\]](#fig:wes_B_above_errors){reference-type="ref" reference="fig:wes_B_above_errors"}. The top and bottom panels of the figure show the way that posteriors for \(B_1\) and \(B\) evolve as \(I_{max}\) increases. This is done using three error models that include different numbers of omitted terms. These results show that including more omitted terms in the model of the theory error removes the drifting and staggering of the central values. For both cases the distributions at \(k_{max}=10\) agree within errors as we go higher in \(I_{max}\). The narrowing of the distribution as we go higher in \(I_{max}\) is clearly seen in those two figures. In addition to having less data, the broadening of the error bands at low \(I_{max}\) comes from the fact that including less levels in the analysis leads to highly correlated LECs. This allows the numerically larger errors on the lower-order LECs to contribute to the errors on the higher-order LECs, thereby enhancing them. In Fig. [\[fig:wes_corr\]](#fig:wes_corr){reference-type="ref" reference="fig:wes_corr"} we show the decrease in the correlations between the LECs as \(I_{max}\) increases. The high correlation between the LECs at low \(I_{max}\) occurs because these analyses do not include enough data to constrain all LECs independently. Furthermore, the high correlation between the LECs at low \(I_{max}\) also results in an unreliable extraction of the expansion parameter \(Q\). This comes from the fact that at low energies the theory truncation error is very small compared to the experimental error. Indeed, adding more terms to our EFT error model (i. e., increasing \(k_{max}\)) leads to higher correlation between the LECs at low \(I_{max}\). Thus, the number of levels required to reliably extract \(Q\) increases with increasing \(k_{max}\). Starting instead at the low-\(I\) end of the data: when we progressively remove the lowest-energy levels from the data set \(D\) used to construct the likelihood we rapidly lose the ability to reliably extract the LECs. Figure [\[fig:wes_EK_below\]](#fig:wes_EK_below){reference-type="ref" reference="fig:wes_EK_below"} shows that the distribution for \(E_K\) starts narrow and broadens as we remove levels from below. When we remove the six lowest energy levels the distribution of \(E_K\) is exactly the same as the prior distribution: the likelihood is making no contribution to the \(E_K\) posterior. The previous results were nearly the same for all cases considered in this work. However, even for \(k_{max}=10\), staggering and shifting of the LECs remains sizable for the \(K=1/2\) bands in \(^{183}\)W, \(^{167}\)Tm and \(^{235}\)U. In \(^{183}\)W and \(^{167}\)Tm, these effects could be attributed to large expansion parameters, as they translate to large omitted contributions to the energies of the rotational levels. In \(^{235}\)U, the fermionic matrix elements could be larger than naively expected, causing the systematic expansion of the EFT to be questionable as discussed in Ref. . For \(K=3/2\) bands, we were able to extract stable LECs from the \(^{159}\)Dy analysis by setting \(I_{max}=15.5\). This extraction required us to consider omitted terms up to \(k_{max}=12\). This is because the spin at which the EFT breaks in this nucleus is \(I_{br}\approx 15.5\). (This, then, is the third case in which we do not use all the NNDC energy-level data available on a particular band.) \(^{157}\)Gd is stable across orders and \(I_{max}\), while \(^{155}\)Gd exhibits shifting and staggering due to a larger expansion parameter, \(Q \approx 0.07\).
The values of the LECs and the error-model parameters at \({\rm N}{}^4{\rm LO}\)
## Prior Sensitivity
In addition to using the scaled-inverse-\(\chi^2\) distribution as a prior for \(\bar{c}_{even}\) and \(\bar{c}_{odd}\) we tried truncated Gaussians with mean zero and standard deviations \(\sigma=7\) and \(\sigma=3\) respectively for all cases. These truncated Gaussian priors allow for smaller values of the characteristic sizes. But the standard deviations were chosen to still allow values for \(\bar{c}_{odd}\) and \(\bar{c}_{even}\) larger than those resulting from scaled-inverse-\(\chi^2\) priors with \(\nu=1\) and \(\tau^2=1\). The change in prior for \(\bar{c}_{odd}\) and \(\bar{c}_{even}\) does not significantly change the posteriors for the LECs: the corresponding central values differ by less than 1%, and are consistent with each other within the 68% credible intervals. Central values of the posteriors for \(Q\) differ by less than 15%, and were similarly consistent. The strongest dependence on the prior is that exhibited by the posteriors for \(\bar{c}_{odd}\) and \(\bar{c}_{even}\): the central values differ in some cases by more than 50%. However, even these values are consistent with each other within 68% credible intervals, since the posteriors for the characteristic sizes are broad. The changes in the posteriors of \(Q\) on one hand and \(\bar{c}_{odd}\) & \(\bar{c}_{even}\) on the other are anticorrelated. We only care about combinations of them to set the size of the theory error and the expected size of the LECs. Thus, the dependence of the theory error and the expected size of the LECs on the prior for the characteristic sizes is less profound. The difference in sizes of the theory error resulting from the chosen priors is less than 20% for all cases except \(^{157}\)Gd, where the difference is about 40%. For all results that follow we used the scaled-inverse-\(\chi^2\) distribution with \(\nu=1\) and \(\tau^2=1\) as the prior for both \(\bar{c}_{odd}\) and \(\bar{c}_{even}\), in keeping with the naturalness assumption.
## Posterior Predictive Distributions
Figure [\[fig:Er_ppd,U_ppd\]](#fig:Er_ppd,U_ppd){reference-type="ref" reference="fig:Er_ppd,U_ppd"} shows the PPDs of the energy residuals as a function of the spin \(I\) for two cases considered in this work. These distributions are calculated using Eq. ([\[PPD\]](#PPD){reference-type="ref" reference="PPD"}). In each figure, translucent blue lines connect energy residuals resulting from different LECs sets sampled from the posterior distribution in Eq. [\[eq:master\]](#eq:master){reference-type="eqref" reference="eq:master"}. The solid black line represents the median of the PPD, and the dashed lines encompass the region between the 16th and 84th percentiles. The dark and light red bands show the truncation error and the experimental error added in quadrature at 68% and 95% credible levels respectively. To calculate the truncation error, we consider a theory error that accounts for six omitted terms. They are added in quadrature, just as they are in the likelihood defined in Sec. [9](#sec:Bayesianmodel){reference-type="ref" reference="sec:Bayesianmodel"}. This calculation was done using the median values of \(Q, \bar{c}_{even}\), and \(\bar{c}_{odd}\). The dependence of the size of the theory error on the prior on \(\bar{c}_{even}\) and \(\bar{c}_{odd}\) is small in these cases: the theory error changes by about 10% when the prior is changed. The correlation coefficient written in the legend in Fig. [\[fig:Er_ppd,U_ppd\]](#fig:Er_ppd,U_ppd){reference-type="ref" reference="fig:Er_ppd,U_ppd"} is the largest between any LEC and any error-model parameter for the shown analysis. When this value is small, the truncation error and the propagated LEC error could in principle be added together in quadrature. In viewing Fig. [\[fig:Er_ppd,U_ppd\]](#fig:Er_ppd,U_ppd){reference-type="ref" reference="fig:Er_ppd,U_ppd"} it is important to remember that the truncation error on the energy residuals is highly correlated across levels. This comes from the high correlation between levels when building the correlation matrix that goes into the likelihood. This correlation also flows into a correlation between levels in the PPD of the energies. A correlation plot between two energy levels, like the ones in Fig. [\[fig:Er_2d_ppd,U_2d_ppd\]](#fig:Er_2d_ppd,U_2d_ppd){reference-type="ref" reference="fig:Er_2d_ppd,U_2d_ppd"}, gives a 2D cut of this multi-dimensional correlation. In both panels we see the importance of accounting for more than one omitted term in the theory error. This is clearly shown in the reverse in the direction of the correlation from a negative to a positive correlation when going from the orange ellipse to the red ellipse. The orange ellipse is obtained when we account for only one omitted term, while the red ellipse includes the effect of two omitted terms. After accounting for six omitted terms the green ellipse is obtained and the 68% ellipse in principle expands. This is more clearly seen when we go to high-energy levels plotted in the lower panel in Fig. [\[fig:Er_2d_ppd,U_2d_ppd\]](#fig:Er_2d_ppd,U_2d_ppd){reference-type="ref" reference="fig:Er_2d_ppd,U_2d_ppd"}. Note also that for lower-energy levels the correlation is smaller since the experimental error dominates over the truncation error, and we assumed that the experimental errors are not correlated across energy levels.
## Model Checking
In Figs. [\[fig:A_vs_Q\]](#fig:A_vs_Q){reference-type="ref" reference="fig:A_vs_Q"}, [\[fig:B1_vs_Q\]](#fig:B1_vs_Q){reference-type="ref" reference="fig:B1_vs_Q"} and [\[fig:B_vs_Q\]](#fig:B_vs_Q){reference-type="ref" reference="fig:B_vs_Q"} we compare the marginalized posterior distributions of the LECs, on the y-axis, with their expected sizes from the EFT power counting, on the x-axis. Since we also extract the theory error parameters from the sampler and they are highly correlated among themselves, we calculate the expected size from the distributions of the error model parameters using Eq. ([\[PPD\]](#PPD){reference-type="ref" reference="PPD"}). We notice that the error on the distribution of the LECs is very small compared to the error on the expected sizes that comes from the distribution of the theory error parameters. As these graphs are model-checking graphs, and since the estimates of LEC sizes plotted on the x-axis are meant as order-of-magnitude estimates, we do not expect perfect linear correlations. Nevertheless, Fig. [\[fig:A_vs_Q\]](#fig:A_vs_Q){reference-type="ref" reference="fig:A_vs_Q"} shows that, for all \(K=1/2\) bands considered, the LEC \(\Delta A\) agrees with its expected size within error bands. This result is surprisingly better than expected. In contrast, the size of \(\Delta A\) for \(K=3/2\) bands is larger than expected, especially for \(^{155}\)Gd (see blue points in Fig. [\[fig:A_vs_Q\]](#fig:A_vs_Q){reference-type="ref" reference="fig:A_vs_Q"}). There are two factors that could contribute to this. First, the \(K=3/2\) bands have larger fermionic matrix elements. This could hinder the systematic expansion of the EFT. Second, the \(K=3/2\) bands have relatively larger expansion parameters, see Fig. [\[fig:Q_vs_Q\]](#fig:Q_vs_Q){reference-type="ref" reference="fig:Q_vs_Q"}. The same discussion applies to the results in Figs. [\[fig:B1_vs_Q\]](#fig:B1_vs_Q){reference-type="ref" reference="fig:B1_vs_Q"} and [\[fig:B_vs_Q\]](#fig:B_vs_Q){reference-type="ref" reference="fig:B_vs_Q"}, where we see good agreement between the LECs and their expected sizes for \(K=1/2\) bands. The disagreement with power-counting estimates for \(K=3/2\) bands at is less of a concern than the one at seen in Fig. [\[fig:A_vs_Q\]](#fig:A_vs_Q){reference-type="ref" reference="fig:A_vs_Q"}, since these higher-order LECs are smaller than their expected sizes. This doesn't undermine the convergence of the EFT expansion. We also note here that the scale of the x-axis is prior dependent and could change by more than 50% in some nuclei, depending on the choice of prior on \(\bar{c}_{even}\) and \(\bar{c}_{odd}\). For \(^{157}\)Gd changing the prior on \(\bar{c}_{even}\) and \(\bar{c}_{odd}\) to a truncated normal allowed for smaller values of \(\bar{c}_{odd}\) and \(A_3\) was then equal to the expected size (i. e.,the point for \(^{157}\)Gd then falls exactly on the line in figure [\[fig:B1_vs_Q\]](#fig:B1_vs_Q){reference-type="ref" reference="fig:B1_vs_Q"}). This did not happen when the truncated normal is chosen as a prior for the analysis in \(^{155}\)Gd and \(^{159}\)Dy; this may occur because there is strong energy-level staggering present in the data for these nuclei. The size of \(\bar{c}_{even}\) and \(\bar{c}_{odd}\) is constrained by both the sizes of the LECs and the size of the theory error. In a good systematic expansion the tension between those factors on setting the size of the \(\bar{c}\)'s would be small and one number apiece would suffice to represent the even and odd order corrections. However when the systematic expansion is hindered, as in the case for \(K=3/2\) bands due to large fermionic matrix elements, this tension becomes clear. One example of this is seen in Figs. [\[fig:A_vs_Q\]](#fig:A_vs_Q){reference-type="ref" reference="fig:A_vs_Q"} and [\[fig:B_vs_Q\]](#fig:B_vs_Q){reference-type="ref" reference="fig:B_vs_Q"} for \(K=3/2\) bands. There \(\Delta A\) is large and favors large values of \(\bar{c}_{even}\), however, \(B\) is small and favors smaller values of \(\bar{c}_{even}\). The eventual result is a compromise. This tension may be exacerbated by the truncation error also providing information on the size of the \(\bar{c}\)'s.
## Higher than Expected Break-down Scale
In Fig. [\[fig:Q_vs_Q\]](#fig:Q_vs_Q){reference-type="ref" reference="fig:Q_vs_Q"} we see a clear correlation between the extracted values of \(Q\) and those that are expected based on each nucleus' single-particle and vibrational energy scales, \(E_{\rm sp}\) and \(E_{\rm vib}\). The expected \(Q\) is the larger of \(E_{\rm rot}/E_{\rm sp}\) and \(E_{\rm rot}/E_{\rm vib}\), while the extracted \(Q\) comes from sampling the posterior in Eq. [\[posterior\]](#posterior){reference-type="ref" reference="posterior"}. This extracted \(Q\) is what actually determines the convergence of the EFT expansion. It is markedly smaller than would be naively expected. The break-down scale of the theory is thus higher than naively expected: our rotational EFT works to much higher \(I\) than energy-scale arguments would suggest. This could occur because coupling between the higher rotational states explicitly included in the EFT and the high-energy states that are not explicitly included in our EFT is hindered by the large difference in angular momentum between them.
# Conclusions {#sec:conclusion}
We performed a Bayesian analysis to extract the LECs and expansion parameters \(Q\) describing the rotational energy levels of diverse odd-mass nuclei within a recently developed EFT. This analysis corroborates the EFT organization for energy-level formulae which results from the assumed power-counting scheme: the extracted LECs of order \(k\) scale as \(Q^{k-1}\), i.e., according to EFT expectations. While our analysis reached this conclusion for both \(K=1/2\) and \(K=3/2\) rotational bands, the sizes of the LECs describing the latter exhibit larger deviations from their expected values than those describing the former. We attribute this behavior to the size of fermionic matrix elements, assumed to be of order one while organizing energy-level formulae. Since these matrix elements involve the angular momentum of the fermion, \(\vec{j}\), we cannot exclude the possibility that the systematic behavior of the EFT is hindered in bands build on top of single-particle orbitals with larger values of \(K\). For the \(K=3/2\) bands studied in this work, however, this discrepancy does not destroy the systematic improvement of calculated energies up to \({\rm N}{}^4{\rm LO}\) In order to ensure that the extracted values are independent of the EFT order and number of energy levels entering the analysis, we employed a theory error beyond the first-omitted-term approximation, considering omitted terms in the expansion for the energy of rotational levels up to order \(k_{max}\). As we increased the number of omitted terms considered in the theory error, the corresponding log likelihood exhibited steeper and steeper peaks. Therefore, the 'widths' of the sampled posteriors decrease as \(k_{max}\) increases. Considering six omitted terms at \({\rm N}{}^4{\rm LO}\) In addition to the posteriors for the LECs and expansion parameters, our analysis yielded distributions for the characteristic sizes of even and odd \(c_n\)'s, \(\bar{c}_{even}\) and \(\bar{c}_{odd}\). The values of \(\bar{c}_{odd}\) are typically smaller than those for \(\bar{c}_{even}\), in agreement with results from previous studies where the LECs were fitted to the smallest possible data sets. The difference of the characteristic sizes of even and odd LECs has its origin in the physics behind the corresponding contributions to the effective Lagrangian: while odd-order contributions correct the particle-rotor interaction, even-order contributions include terms that depend exclusively on the rotor degrees of freedom, thus correcting the physics of the core to which the particle is coupled. Here this conclusion was reached solely on the basis of experimental data; we assumed equal priors for both characteristic sizes. Although the distributions of \(\bar{c}_{odd}\) and \(\bar{c}_{even}\) change depending on the choice of the their priors, that does not significantly change the distributions of the LECs. Altering the priors also does not have a large effect on the size of the theory error, which changes by less than 20% for nearly all cases. These considerations mean that our extractions of the LECs and the theory error parameters in the EFT of rotational bands in odd-mass nuclei are robust under the choice of prior. The formalism presented here also gives robust results for LECs across orders and as more data is added to the analysis. We conclude that a Bayesian framework that incorporates theory errors in the likelihood offers significant advantages for LEC extraction in EFTs. This methodology has already been used for the extraction of LECs in the NN potential from phase shifts and to constrain parameters of the three-nucleon force . But it is a very general approach which should improve the parameter estimation for LECs in any EFT. | {'timestamp': '2022-03-07T02:01:18', 'yymm': '2203', 'arxiv_id': '2203.01972', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01972'} |
null | null |
# Introduction {#sec:1}
Understanding how proto-planetary discs evolve and eventually dissipate is fundamental to building a comprehensive picture of the planet-formation process. It is commonly assumed that proto-planetary discs evolve under the effect of viscosity, which, allowing for angular momentum re-distribution within the disc, drives accretion onto the forming star. In this framework, the mass accretion rate on the central star, \(\dot{M}_\mathrm{acc}\), and the disc mass, \(M_\mathrm{disc}\), are expected to be correlated at any given age: \[\label{eq:1} M_\mathrm{disc}=t_\mathrm{acc}\dot{M}_\mathrm{acc}\propto(t+t_\nu)\dot{M}_\mathrm{acc},\] where \(t_\nu\) is the initial viscous time scale and we call \(t_\mathrm{acc}\) the accretion time scale[^1]. The advent of new facilities, such as the Atacama Large Millimeter/submillimeter Array (ALMA) and the X-shooter spectrograph at the Very Large Telescope (VLT), has made it possible to test disc evolutionary models observationally. In the last years, disc masses, estimated from (sub-)millimetre dust fluxes under the assumption of optically thin emission and a constant gas-to-dust ratio, as well as mass accretion rates, have been inferred for a large number of young stellar objects. Combining these data-sets, and detected a slightly sub-linear correlation between mass accretion rates and proto-planetary disc masses in the young Lupus and Chamaeleon I star-forming regions (aged \(\approx1\text{ to }3\,\mathrm{Myr}\)), that was interpreted as being compatible with viscous-diffusion models. A correlation was also identified by in the older Upper Scorpius OB association (aged \(\approx5\text{ to }10\,\mathrm{Myr}\)). However, at any given disc mass, the median accretion rate in Upper Sco is remarkably similar to that in young regions; moreover its scatter has not decreased with time. This is in contrast with the viscous evolution scenario, which predicts both lower \(\dot{M}_\mathrm{acc}\) and a tighter relation at later times (@Rosotti2017 [@Lodato2017] and Eq. [\[eq:1\]](#eq:1){reference-type="ref" reference="eq:1"}). Nevertheless, all the previous analyses of the correlation only focused on *gas* evolution. Instead, the disc mass estimates of and are based on (sub-)millimetre *dust* emission and are subject to systematic uncertainties (e.g., on dust opacity and the gas-to-dust ratio). To try to explain the observations, both gas and dust ought to be considered when modelling disc evolution. Moreover, theoretical predictions and observational trends must be compared in the *data space*, i.e. post-processing the model outputs to determine their (sub-)millimetre dust fluxes and masses as for real data. Such an exercise then removes the use of the restrictive assumptions about optical depth, opacities and the gas-to-dust ratio that are generally used to interpret (sub-)millimetre observations. adopted such a forward modelling approach and demonstrated that viscous simulations provide a remarkable agreement with both Lupus and Upper Sco data (in particular when internal photo-evaporation is included to account for late-time disc dispersal). However, even though the models of accounted for the underestimation of disc masses in current surveys, none of them were able to reproduce discs with accretion time scale shorter than \(t_\mathrm{acc}\lesssim0.1\,\mathrm{Myr}\), which contribute to most of the large scatter/high accretion rates in Upper Sco. As mass accretion rates are computed at a fixed snapshot in time, it might be thought that accretion variability is responsible for the outlying sources. Unfortunately, there are no studies addressing this issue at the age of Upper Sco, and very little is known about accretion variability on time scales longer than few days. In younger (\(t\lesssim3\,{\rm to}\,4\,{\rm Myr}\)) discs, \(\dot{M}_{\rm acc}\) variations are \(\lesssim0.4\,{\rm dex}\) on a time scale of days, not enough to account for the highest accretors in Upper Sco, with only a small fraction of the targets having larger variability. All the previous considerations are based on the assumption that planet-forming discs evolve in isolation. This picture is clearly idealised: the majority of stars are born in clusters, where nearby sources can influence proto-planetary disc evolution history and affect their planet-formation potential. This commonly occurs by either external photo-evaporation, when the UV radiation of a massive nearby star dissipates the less bound gas in the outer disc regions, or by tidal interactions, when a stellar companion in a gravitationally bound pair, or a flyby in a dense environment, truncates the disc. These processes have qualitatively similar effects, both reducing disc masses and sizes (e.g., @Harris2012 [@Akeson&Jensen2014; @Cox2017; @Akeson2019; @Manara2019] in binaries and @Ansdell2017 [@Otter2021] for the effects of photo-evaporation), eventually hastening disc dispersal. How external photo-evaporation and tidal truncation impact the correlation between mass accretion rates and disc masses was studied by and, respectively. These studies showed that both discs exposed to strong UV fields and discs in multiple stellar systems are expected to have shorter accretion time scales than those (viscously) evolving in isolation. This means that the influence of the environment could be a potential explanation for those highly-accreting old discs with low masses that the models of were not able to explain. However, these studies only focused on gas evolution. Since dust was not considered as a separate component, it was simply assumed that observationally inferred disc dust masses could be converted into total disc masses using a gas-to-dust ratio of 100. This motivates our present study based on modelling both gas and dust evolution and then comparing simulation-based synthetic observations with real data. The required properties of star-forming environments for which external photo-evaporation and tidal encounters are effective were studied by. They showed that stellar densities \(\gtrsim10^4\,{\rm pc}^{-3}\) are necessary for disc truncation by tidal encounters. This threshold is much higher than in the nearby star-forming regions, making fly-bys unlikely. As for external photo-evaporation, concluded that average UV fields \(\gtrsim3\times10^3\,G_0\) are required to disperse a disc. (Here \(G_0\) corresponds to an energy flux of \(1.6\times10^{-3}\,{\rm erg}\,{\rm cm}^{-2}\) between \(6\,{\rm and}\,13.6\,{\rm eV}\), @Habing1968.) In Lupus the average radiation field is expected to be remarkably low (e.g., in IM Lup it is \(\lesssim4\,G_0\), @Cleeves2016) while in Upper Sco it is somewhat higher (on average \(42.9\,G_0\), @Trapman2020). Since the median UV field in both regions is below the critical value for evaporation, we decided not to consider external photo-evaporation in this paper[^2]. Instead, in this work we focus on the role played by stellar multiplicity in disc evolution, confronting our theoretical expectations with the mass accretion rates and sub-millimetre fluxes from nearby young star-forming regions. First of all, from the currently published catalogues, we collect a state-of-the-art sample of homogeneously determined disc masses and accretion rates in Lupus, Chamaeleon I and Upper Sco. This sample is further updated making use of Gaia EDR3 distances as in the PPVII chapter of Manara et al. (subm.). Furthermore, searching the literature allows us to identify several pairs, i.e. gravitationally bound stars with projected separation, \(a_\mathrm{p}\), less than \(300\,\mathrm{au}\), in binaries or higher order multiple stellar systems among the previously selected sources. Subsequently, we run models of tidally truncated circumstellar binary discs for a large number of initial disc parameters following the approach of. To test our hypothesis that the accretion time scale is influenced by a companion, these are then compared with observations through modelling the predicted dust emission. This paper is organised as follows. In Section [8](#sec:2){reference-type="ref" reference="sec:2"} we introduce the Lupus, Chamaeleon I and Upper Sco samples. Discs in multiple stellar systems are identified (see Appendix [\[app:1\]](#app:1){reference-type="ref" reference="app:1"}) and their properties discussed in comparison to those in single-star systems. In Section [9](#sec:3){reference-type="ref" reference="sec:3"} dust and gas modelling is introduced, while Section [10](#sec:4){reference-type="ref" reference="sec:4"} describes our results, first of all discussing their dependence on parameter choices and then comparing models and observations. In Section [11](#sec:5){reference-type="ref" reference="sec:5"} we consider the model limitations and possible improvements to the agreement with observational data. Finally, in Section [12](#sec:6){reference-type="ref" reference="sec:6"} we draw our conclusions.
# Sample selection and data analysis {#sec:2}
## Sample selection
We focus on Lupus, Chamaeleon I and Upper Sco because they are among the best studied nearby star-forming regions: (sub-)millimetre dust fluxes and accretion rates were measured for a large fraction of their young stellar objects (YSOs), and their multiplicity fraction is often well known. The distances to individual targets are taken from inverting the parallaxes available in the Gaia EDR3 catalog. The only exception are the cases where the Gaia parallaxes are unreliable, i.e. \({\rm RUWE}>1.8\) and/or distance differing more than \(60\,{\rm pc}\) from the median distance to the region, or unavailable. In these cases, we assumed the median distance to the members of the region: \(d=158\,{\rm pc}\) for Lupus, \(d=190\,{\rm pc}\) for Chamaeleon I, and \(d=145\,{\rm pc}\) for Upper Sco. In Lupus, we make use of the (sub-)millimetre dust emission measured by, with the addition of the Lupus completion survey sources of, Sz 82/IM Lup and Sz 91. We convert the ALMA (sub-)millimetre dust fluxes into dust masses assuming optically thin emission: \[\label{eq:2} M_\mathrm{dust}=\dfrac{d^2F_\nu}{B_\nu(T_\mathrm{dust})\kappa_\nu^\mathrm{abs}},\text{ where }\kappa_\nu^\mathrm{abs}=2.3\left(\dfrac{\nu}{230~\mathrm{GHz}}\right)\text{cm}^2\text{g}^{-1}.\] Here \(F_\nu\) is the dust flux, \(d\) the distance of the source, \(B_\nu\) the black body emission at temperature \(T_\mathrm{dust}=20\,\mathrm{K}\), and \(\kappa_\nu^\mathrm{abs}\) the absorption opacity. Disc masses are then computed from dust masses assuming a standard ISM gas-to-dust ratio of 100. A target is a non-detection if its dust flux does not exceed three times the continuum rms noise. Mass accretion rates are inferred from the VLT/X-shooter spectroscopic measurements of. Briefly, stellar properties and the accretion parameters are derived self-consistently fitting the YSO spectra with the sum of the photospheric template of a non-accreting star and a slab model to reproduce the accretion luminosity excess in the Balmer continuum and also in the optical part of the spectrum, as described in. Following Manara et al. (subm.), the effective temperature, \(T_{\rm eff}\), of the stars were re-calculated using the relation between spectral type and \(T_{\rm eff}\) by, and the stellar luminosity and accretion luminosity were re-scaled to the distances from Gaia EDR3. To derive the stellar masses, needed to calculate the mass accretion rates, the non-magnetic evolutionary tracks by and where used for targets hotter and colder than 3900 K, respectively, while the models by were used for sources appearing too young/old for the former tracks. Under-luminous objects (see @Alcala2014), i.e., falling well below the main locus of pre-main sequence targets in the HR diagram, are excluded. If the excess continuum UV luminosity of a YSO with respect to the best-fit photospheric template is close to its chromospheric noise level, it is termed a non-accretor and its mass accretion rate is considered an upper-limit. The accretion rate of MY Lup is as computed from the HST observation results of. After updating stellar distances, an average uncertainty of \(0.35\,{\rm dex}\) is estimated. In Chamaeleon I and Upper Sco we follow a similar procedure. In the former region, we use the (sub-)millimetre dust emission of and, and the accretion luminosities of. In the latter region, we rely on sample for mass accretion rates, while disc masses are computed using the (sub-)millimetre dust emission of. Transition discs (TDs) are identified as both discs with a "resolved" (imaged) cavity and "unresolved" discs, whose classification is based on their SED shape as in and. Finally, we remark that Lupus and Chamaeleon I samples are more than 90 per cent complete[^3], while Upper Sco has high levels of completeness only for \(M_\mathrm{disc}\gtrsim5\times10^{-5}\,M_\mathrm{Sun}\) [^4]. We searched the literature for information on stellar multiplicity for the previously selected YSOs. Our main references are in Lupus, in Chamaeleon I and in Upper Sco. A total of 9 binaries or higher-order multiple stellar systems with projected separation less than \(300\,\mathrm{au}\) are found is Lupus, 16 in Chamaeleon and 9 in Upper Sco. 11 of these are in pairs closer than \(40\,\mathrm{au}\). We refer the reader to Appendix [\[app:1\]](#app:1){reference-type="ref" reference="app:1"} for a detailed discussion of the multiplicity detection methods and comparison among regions.
## Data analysis
#### General population trends {#general-population-trends .unnumbered}
In the left-hand panel of Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"} the mass accretion rate, \(\dot{M}_\mathrm{acc}\), is plotted as a function of the disc mass inferred from (sub-)millimetre dust emission, \(M_\mathrm{disc}=M_\mathrm{dust}\times100\), for all Lupus, Chamaeleon and Upper Sco discs in our sample. Grey dots are used for isolated stars, orange and blue for binary (\(a_\mathrm{p}<300\,\mathrm{au}\)) and close binary (\(a_\mathrm{p}<40\,\mathrm{au}\)) discs, while green for circumbinary discs. Non-accretors are displayed as downward-pointing triangles, while disc mass non-detections are identified by left-pointing arrows. Adopting the same convention of, transition discs can be recognised by a larger external circle of the same colour. In the background, lines of constant accretion time scale for \(t_\mathrm{acc}=0.1,\,1\,\mathrm{and}\,10\,\mathrm{Myr}\) are displayed as grey dashed-dotted lines. Single-star discs and discs in binary systems populate different regions of the data-space. The former span all the range of observed disc masses and accretion rates, while the latter are characterised by a systematically shorter accretion time scale and can be divided into three sub-regions. The bulk of discs in binaries (A) have \(t_\mathrm{acc}\approx0.1\,\mathrm{Myr}\). The remainder have longer accretion time scales, with \(t_\mathrm{acc}\gtrsim1\,\mathrm{Myr}\). Some of these are very faint (B), often undetected in the (sub-)millimetre, with \(M_\mathrm{disc}\lesssim2\times10^{-4}\,M_\mathrm{Sun}\), while a small number are massive (C), with \(M_\mathrm{disc}\gtrsim2\times10^{-3}\,M_\mathrm{Sun}\). Remarkably, very close binaries (\(a_\mathrm{p}<40\,\mathrm{au}\)) mainly live in region A, and \(5/11\approx45\) per cent have accretion time scales much shorter than \(0.1\,\mathrm{Myr}\), because of high accretion rates and (generally) low disc masses. To prove our inference of a shorter accretion time scale in discs in multiple systems we perform a Kolmogorov--Smirnov (K-S) test on the full sample made up of all data from the three star-forming regions together, excluding the three circumbinary discs in the sample. The null-hypothesis of single-star and binary discs being drawn from the same \(t_\mathrm{acc}\) distribution is rejected with \(p-\)values of \(7.00\times10^{-7}\) and \(3.54\times10^{-6}\), when non-accretors are considered or excluded, respectively. This is visually displayed in the right-hand panel of Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"}, where the accretion time scale cumulative distributions are plotted for single-star and binary discs in grey and orange, respectively. Solid lines are used for the full sample, while dashed ones when non-accretors are not considered. Clearly, discs in multiple systems have systematically shorter \(t_\mathrm{acc}\) than those evolving in isolation. Combining the targets from different regions allows us to collect a large enough sample to make statistically significant comparisons between single-star and binary discs. This is a fair procedure as long as it does not introduce any multiplicity biases in the target selection. Although it can be argued that only Upper Sco discs with \(5\times10^{-5}\lesssim M_\mathrm{disc}/M_\mathrm{Sun}\lesssim7\times10^{-4}\) have been surveyed for accretion rates with high completeness, such incompleteness does not discriminate between singles and binaries. Indeed, showed that, in this region, discs in binaries and around singles span a similar (sub-)millimetre brightness range Finally, we briefly comment on the treatment of (sub-)millimetre emission upper limits in our sample, highlighting that the significant difference between the accretion time scale in binary and single-star discs is not the result of uncertainties associated with how dust mass upper limits are assigned to non-detections. We test this claim in the worst case scenario, i.e. where we assign to non-detections values which make the data-sets for singles and binaries as similar as possible. Performing a K-S test on the new cumulative curve gives a \(p-\)values of \(2.22\times10^{-4}\)
#### Analysis by star-forming region {#analysis-by-star-forming-region .unnumbered}
While the combined data from Lupus, Chamaeleon I and Upper Sco clearly demonstrates the difference between singles and binaries, it washes out possible evolutionary effects resulting from the different ages of the regions. For this reason, in Fig. [\[fig:2.2\]](#fig:2.2){reference-type="ref" reference="fig:2.2"} the mass accretion rate, \(\dot{M}_\mathrm{acc}\), is plotted as a function of the disc mass, \(M_\mathrm{disc}=M_\mathrm{dust}\times100\) for Lupus, Chamaeleon I and Upper Sco individually. Fig. [\[fig:2.2\]](#fig:2.2){reference-type="ref" reference="fig:2.2"} shows that, while binary discs in the younger regions belong to all the previously identified families (A to C), only family A is represented in Upper Sco. To understand whether this is a disc evolution or sample-selection effect, further data are needed. We perform a K-S test on Lupus, Chamaeleon I and Upper Sco separately, finding that the null-hypothesis that single-star and binary discs are drawn from the same \(t_\mathrm{acc}\) distribution is rejected only in the latter (the K-S test \(p-\)values are reported in the bottom right of each panel in Fig. [\[fig:2.2\]](#fig:2.2){reference-type="ref" reference="fig:2.2"}). Again, assessing whether this is an evolutionary or sample-selection effect needs a higher level of completeness in Upper Sco and a homogeneous analysis of the stellar multiplicity among the three star-forming regions (see Appendix [\[app:1\]](#app:1){reference-type="ref" reference="app:1"}).\
To sum up, our data show that binary discs have statistically shorter accretion time scales than those around single stars. Further data and information on disc multiplicity are needed to compare different star-forming regions from the evolutionary point of view.
# Numerical methods {#sec:3}
In the remainder of this paper our focus is on exploring if the observed trend of a shorter accretion time scale in binaries is compatible with the expectations of models for gas and dust evolution in viscously evolving discs subject to tidal truncation by a stellar companion. To do so, we run a number of binary disc simulations that are post-processed to compute their (sub-)millimetre dust emission profiles. Throughout our analysis we use these synthetic observations to evaluate model disc properties (e.g., masses and accretion time scales) employing the same standard assumptions used in the literature (cf @Sellek2020 in the case of single-star discs). Those properties are then compared with real data. We model gas and dust evolution in circumstellar binary discs, neglecting re-supply of material from beyond the binary orbit and assuming that the disc cannot spread outside the tidal truncation limit imposed by the companion. For the gas we consider viscous evolution and omit the effects of photo-evaporation. For the dust the two-population model of is employed. As a post-processing step, dust emission and accretion rates from our models are used to generate synthetic observations to be compared with real data. The one-dimensional finite-differences code developed by is used, modified to take into account tidal truncation as did. Briefly, the viscous-diffusion equation is solved on a grid made up of 250 cells equally spaced in \(R^{1/2}\), assuming zero-flux at the outer boundary, \(R=R_\mathrm{trunc}\). We choose an exponentially-tapered power-law initial condition: \[\label{eq:3} \Sigma(R,t=0)=\dfrac{M_0}{2\pi R_0R}\exp\left(-\dfrac{R}{R_0}\right),\] where \(R_0\) is a characteristic scale radius, and \(M_0\) is the initial disc mass within \(R_\mathrm{trunc}\). We explore the region of the parameter space corresponding to \(R_0=10\) and \(100\,\mathrm{au}\), and \(M_0=1\), 3, 10, 30 and \(100\,M_\mathrm{Jup}\). A passively irradiated time-independent disc temperature profile is considered, radially decaying as \(R^{-1/2}\) and with reference temperature \(T_0=88.23\) K at 10 au, calibrated on a Solar-mass star. The prescription is used for viscosity: we set \(10^{-4}\leq\alpha\leq10^{-3}\), both for consistency with previous works and because at these viscosities similar models reproduce the flux-radius correlation most closely. For the dust, a uniform initial dust fraction of 0.01 is employed. The routine for grain growth implements the simplified treatment of. In short, at each disc radius two dust populations are evolved in time: a population of small grains, whose size is the monomer grain size, \(a_\mathrm{min}=0.1\,\mu\mathrm{m}\), and a population of large grains, dominating the mass, whose size, \(a_\text{max}\), is determined by the combined effect of grain growth (with a grain-growth efficiency \(f_\mathrm{grow}=1\), @Booth&Owen2020 [@Sellek2020]), fragmentation (with fragmentation velocity \(u_\mathrm{f}=10\,\mathrm{m}\,\mathrm{s}^{-1}\), @Gundlach&Blum2015) and radial drift. We refer to for more information and to for the specific implementation. Finally, the dust fraction is advected along the gas flow, following the prescription of and taking into account the dust back-reaction on gas. We compare models and observations in the data space. This means that our simulation results are post-processed to determine how they would look if observed with ALMA at the same wavelength as in and. Their mass is then computed as in these surveys and compared with real data. We call this quantity the *observer's equivalent* disc mass. Doing so, we can be agnostic on the assumptions made to compute disc masses in the observations and our results would not be influenced by the latter. Our procedure is as follows. For each of our models, we first determine a synthetic surface brightness, \(S_\mathrm{b}\), at frequency \(\nu\approx338.75\,{\rm GHz}\) (ALMA band 7): \[\label{eq:4} S_\text{b}(R)=B_\nu(T)\bigl\{1-\exp{(-\kappa_\nu\Sigma_\text{d})}\bigr\},\] where \(\Sigma_\text{d}\) is the dust surface density, \(B_\nu\) is the black body radiation spectrum at temperature \(T\) and \(\kappa_\nu\) the dust (absorption) opacity, computed as in and. We assumed face-on discs. If one considers the distribution of disc inclinations on the sky, it can be shown that this approximation is correct within a factor of \(\langle\cos i\rangle=\pi/4\approx0.8\). Moreover, showed that correcting for the disc inclination improves the disc masses in by less than a factor of 2. Then, the *observer's equivalent* dust mass, \(M_\mathrm{dust}\), is computed as in Eq. [\[eq:2\]](#eq:2){reference-type="ref" reference="eq:2"}, where the disc luminosity, \(L_\nu=d^2F_\nu\), is given by the surface integral of the synthetic surface brightness.
# Results {#sec:4}
In this Section we outline our results, discussing how the models are affected by the initial parameters. Subsequently, models and observations are confronted, in order to assess their compatibility.
## Model dependence on the initial disc parameters
As a starting point, we illustrate how our results depend on the initial disc parameters. In Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"} the mass accretion rate, \(\dot{M}_\mathrm{acc}\), is shown as a function of the observer's equivalent disc mass, \(M_\mathrm{dust}\times 100\). The colour dotted lines identify model evolutionary tracks and their solid sections highlight the \(1\,\mathrm{Myr}\leq t\leq10\,\mathrm{Myr}\) age interval. In the background, lines of constant accretion time scale for \(t_\mathrm{acc}=0.1,\,1.0\,\mathrm{and}\,10\,\mathrm{Myr}\) are displayed as grey dashed-dotted lines. Lupus and Upper Sco discs are also plotted in grey for singles and black for binaries, respectively. Let us begin with the upper-left panel of Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"}, where models with different values of the tidal truncation radius, \(R_\mathrm{trunc}\), are plotted for \(M_0=30\,M_\mathrm{Jup}\)[^5], \(R_0=30\,\mathrm{au}\) and \(\alpha=10^{-3}\). It can be seen from the plot that the models populate different regions of the plane. In particular, as the truncation radius decreases, the accretion time scale, \(t_\mathrm{acc}\), also decreases. This reduction in \(t_\mathrm{acc}\) with \(R_\mathrm{trunc}\) is apparent even in the initial conditions and results from the fact that the initial accretion rate is higher for a compact, high density disc and the millimetre flux is somewhat smaller due to optical depth effects. For \(t\gg0\), this trend is determined by binary discs both being fainter and accreting more. The former effect is due to the faster drift of grains for smaller values of \(R_\mathrm{trunc}\), which precipitates mass depletion; the latter is a consequence of the smaller viscous time scale of truncated discs. Remarkably, while in the case of single-star models, evolutionary tracks are limited by \(t_\mathrm{acc}=0.1\,\mathrm{Myr}\) for \(R_0=10\,\mathrm{au}\), when \(R_\mathrm{trunc}\leq100\,\mathrm{au}\), the binary models are able to populate the region of the data-plane with shorter accretion time scales, where many of the observed sources lie. We remark that the short \(t_\mathrm{acc}\) in the models do *not* imply that the gas reservoir of the disc is severely depleted but instead that the discs have evolved to low (sub-)millimetre fluxes as a result of dust radial drift. The actual gas masses in our models are up to a factor of \(1000\) larger than what would be obtained by assuming a standard dust-to-gas ratio. This effect is discussed extensively in and we note that it is more marked in binary discs due to the way that tidal truncation accelerates radial drift. In the upper-right panel of Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"}, models with different values of the initial disc scale radius, \(R_0\), are plotted for \(M_0=30\,M_\mathrm{Jup}\) and \(\alpha=10^{-3}\), in the case of a single-star disc (solid lines) and a binary disc with \(R_\mathrm{trunc}=50\,\mathrm{au}\) (dashed lines). The plot shows that the tidally truncated models are only slightly influenced by the scale radius. In fact, while in single-star models \(R_0\) sets the initial viscous time scale, determining the scaling of \(\dot{M}_\mathrm{acc}\), and the efficiency of radial drift, such a time scale is only determined by \(R_\mathrm{trunc}\) in close binary discs. Finally, let us move on to the bottom, where the model dependence on viscosity, \(\alpha\), is explored. The observer's equivalent dust mass is hardly affected by the viscous parameter when discs are young. However, by the age of Upper Sco, (sub-)millimetre fluxes are reduced more for higher values of \(\alpha\), because the faster evolution of the gas raises the Stokes number and accelerates the radial drift of grains. This trend is observed also in single-star discs, although to a lesser extent. Instead, the accretion rates depend more on viscosity and increase with \(\alpha\), because it sets the velocity for gas transport thought the disc.
## Confronting models and data
We compare binary disc models and observations in Lupus and Upper Sco. Although the Chamaeleon I disc population and stellar multiplicity are well studied, the similar-age Lupus region is preferred because of its lower scatter in accretion time scale, better constrained (sub-)millimetre emission (85.7 *vs* 79.8 per cent detections), and evenly censused stellar multiplicity (see details in Appendix [\[app:1\]](#app:1){reference-type="ref" reference="app:1"}). A systematic comparison between models and observations requires the disc truncation radius to be fixed to some value inferred from the data. As dealing with each source individually would be too complex (because of the difficulty of estimating individual truncation radii given the unknown binary eccentricity and projection effects: see Section 5.3), our models enforce a single value of the tidal truncation radius in each region. This is determined as \(R_\mathrm{trunc}=0.33\times\langle a_\mathrm{p}\rangle\), where \(\langle a_\mathrm{p}\rangle\) is the average binary separation in the data, and the previous relation applies to equal mass pairs in co-planar circular orbit. As a result of a systematically closer binary population in Upper Sco, the values of \(R_\mathrm{trunc}\) are different in the two regions. For this reason, we do not discuss any evolutionary dependence between Lupus and Upper Sco discs in multiple stellar systems, which would be possible only if the binary separation distributions in the two regions were very similar. Our results are displayed in Fig. [\[fig:4.2\]](#fig:4.2){reference-type="ref" reference="fig:4.2"} where the mass accretion rate, \(\dot{M}_\mathrm{acc}\), is plotted as a function of the observer's equivalent disc mass, \(M_\mathrm{dust}\times 100\), for models with \(\alpha=3\times10^{-4}\), and different values of the initial disc mass, \(M_0\), and scale radius, \(R_0\). Lines of constant \(t_\mathrm{acc}\) are displayed as dashed-dotted lines. In the left-hand panel their solid sections refer to the \(1\,\mathrm{Myr}\leq t\leq3\,\mathrm{Myr}\) age range, to be compared with Lupus data, while in the right-hand panel to the \(5\,\mathrm{Myr}\leq t\leq10\,\mathrm{Myr}\) age range to be compared with Upper Sco data. The dotted lines describe the evolution outside these time intervals. As expected, tidal truncation causes models to pass through the region of short accretion time scale occupied by the bulk of the binary data (region A in Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"}). This is due to dust being depleted more rapidly, because truncation prevents the retention of solids at large radii, which can otherwise resupply the disc at late times (see @Sellek2020_photo for a discussion of how external photo-evaporation similarly leads to a more rapid depletion of solids by radial drift). In fact, the highest accretors in Upper Sco can be explained using viscous models with radial dust drift as long as multiplicity effects are considered. Nevertheless, both in Lupus and Upper Sco, model evolutionary tracks under-predict the observed disc masses. While in Lupus this issue concerns only few sources, particularly with long accretion time scale, the bulk of the Upper Sco population is roughly ten times brighter than our models. Searching the literature provides possible explanations for Lupus outliers: some of them are sub-structured (e.g., GQ Lup and HT Lup), while others could be affected by thermal winds (e.g., Lup 818s), as is discussed in detail in Appendix [\[app:2\]](#app:2){reference-type="ref" reference="app:2"}. In Upper Sco the under-prediction of the (sub-)millimetre fluxes by 5 to \(10\,\mathrm{Myr}\) models is rather marked and applies to most of the sources in the region. Clearly, this also depends on uncertainties in opacity, although it should be noted that the assumptions we made on the grain composition correspond to an opacity at the upper end of the possible range of variation (cf. e.g., @Birnstiel2018), and therefore with any other assumption the theoretical tracks would shift to even lower masses, exacerbating the problem. A further reason that the observed fluxes could be higher than in the models could be that (sub-)millimetre observations of closer binaries could contain emission from two discs, since more than a half of binary pairs are not resolved at the angular resolution (\(\approx0.45\,\mathrm{arcsec}\)) of. This would however boost the emission by at most a factor of 2, which is not enough to account for the differences with our models. Alternatively, an evolutionary argument would suggest that only the most massive binary discs survive until the age of Upper Sco. However, models with \(R_\mathrm{trunc}\) values that are too large for the observed binary separations would be required to match the data, as shown in the upper-left panel in Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"}. To sum up, tidally-truncated models of viscously evolving discs can reproduce the short accretion time scales in the bulk of the observed binary population. Halting the fast drift of solids is required to account for the (sub-)millimetre brightness of Upper Sco and some sources in Lupus.
# Discussion {#sec:5}
## Sub-structures in binary discs
The first detection of gaps and rings in HL Tau provided striking evidence of sub-structures in planet-forming discs (see @Andrews2020 for a review). Despite such structures often being assumed to be ubiquitous, their presence/absence in compact or low mass discs is yet to be established (e.g., @Long2019, Jennings et al. subm.). Sub-structures have been detected in binary discs as well: e.g., spirals in HT Lup A and AS 205 N, inner cavities in XZ Tau B, UZ Tau E and CIDA 9A, gaps and rings in AS 205 S, GQ Lup A and T Tau N. However, it is not clear if they are as common as in isolated discs. In fact, since binary discs are systematically smaller than those in single stars, identifying sub-structures in the former is more challenging than in the latter. Here we focus on axisymmetric annular features and discuss their influence on the correlation between mass accretion rates and disc masses. In the case of single-star discs, suggested that bright rings, consistent with trapping large grains in local pressure maxima, could be an explanation for discs with long accretion time scales too massive for their smooth models (region C in Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"}). It is then tempting to hypothesise that binary discs in region C are likewise sub-structured and their longer accretion time scale compared with those in region A could be similarly explained. However, while for single-star discs this inference is supported by the presence of imaged gaps and rings, none of our binary sources in region C has clearly detected gaps or cavities, making such systems preferential targets for a first higher-resolution analysis of sub-structures in binary discs. Noticeably, whereas discs around single stars fill the region between population B and C continuously, disc in binaries appear to be well separated: for accretion rates \(\lesssim10^{-10} M_\mathrm{Sun}\,\mathrm{yr}^{-1}\) there is a lack of such discs over about an order of magnitude in disc mass (see Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"}). While it cannot be ruled out that this effect is driven by the smaller sample size of discs in binaries, it may hint at a dichotomy of evolutionary paths. Binary discs containing sub-structures may remain over several Myr in region C, comparable to the situation in structured single-star discs. Instead, in the absence of sub-structures, our models predict a more rapid decay of disc luminosity in binaries than in singles (see top-left panel of Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"}), particularly for discs with low initial disc masses. The presence of dust traps could thus explain the apparent lack of binary discs with low accretion rates and intermediate disc masses. Such a picture, both for binaries and singles, implies that traps maintain discs in region C over time scales of a few Myr since sources are found in region C in both Lupus and Chamaeleon I which are approximately this age. Notably, this region is almost devoid of sources in Upper Sco. This would suggest that sources do not evolve *vertically* downwards from region C, since otherwise Upper Sco would contain several systems with high (sub-)millimetre fluxes but low/undetected accretion rates. Alternatively dust traps may be disrupted on a time scale of 5 to \(10\,\mathrm{Myr}\), so that systems evolve out of region C *horizontally* to the left. Evidence of remnant sub-structures in Upper Sco discs would support such an interpretation. Furthermore, our understanding of the late time trajectory of discs in the plane of accretion rates vs (sub-)millimetre fluxes would be improved by increasing the completeness of accretion rate determinations in Upper Sco for the discs with the highest (sub-)millimetre fluxes. The most intriguing interpretation of dust gaps is that of being carved by planets in the act of formation. If we retain the hypothesis that region C sources (whether binary or single) are sub-structured, then it is tempting to extend to binaries the argument of that discs in region C are forming giant planets, whose deep gaps not only halt radial drift but also reduce accretion. The existence of some binaries in region C would thus support the idea that giant planet formation may be under way in at least some of these discs. We also consider whether sub-structures can explain the fact that the observed binaries in Upper Sco are too bright compared with model predictions (see right-hand panel of Fig. [\[fig:4.2\]](#fig:4.2){reference-type="ref" reference="fig:4.2"}, contrasting the data, shown as black dots, with the models, displayed as solid curves). If this were the case then we would need dust traps to be almost ubiquitous. However, apart from GQ Lup A, a source \(\approx10\) times more massive than those in Upper Sco, we have no evidence of imaged gaps and rings in any of our binary discs. This can be easily explained by the limited angular resolution of the relevant surveys[^6]. A more compelling problem is that in this picture sub-structured discs would live in region A, very far from region C where they would be expected according to our previous argument. However, looking at single-star sources in region C highlights that all transition discs with imaged cavities are clustered here, suggesting that these sub-structures play a role in maintaining conditions not only of high disc masses but also relatively low accretion rates. We can then hypothesise that, in the binary as in the single-star case, while discs in region C are characterised by prominent, large scale sub-structures affecting both gas and dust evolution, shallower, small scale dust traps would be required in the case of Upper Sco, halting dust drift but not impacting substantially the gas. Testing this hypothesis quantitatively requires detailed modelling of secular binary evolution in the presence of sub-structures, as well as higher-resolution observations in Upper Sco.
## Coagulation efficiency in binary discs
Shallow dust traps at small radial locations are not the only solution to the mass budget problem in Upper Sco. This can be alternatively explained in terms of a reduced grain growth efficiency in close binary discs. Tidal interactions between gravitationally bound stars and their discs can be at the origin of asymmetries, spiral arms, eccentric modes, vertical hydraulic jumps, mass transfer between discs and relative shocks\... (e.g., @Nelson2000 [@Muller&Kley2012; @Picogna&Marzari2013]). It is commonly hypothesised that these higher-dimensional effects could halt grain growth in circumstellar discs orbiting close binaries (\(a\leq30\text{ to }50\,\mathrm{au}\), @Nelson2000 [@Picogna&Marzari2013])[^7]. When spirals are triggered by tidal interactions, the disc temperature rises enough for water and other volatile species to be vaporised. As ices make up to 60 per cent of our grain composition, vaporisation would lead to solid dis-aggregation and thus promote fragmentation[^8]. Even though grain growth could take place between spirals, it would then need to begin from material in gaseous phase and would be disrupted by the frequent interactions with the spirals themselves (expected to occur on a time scale of less than \(100\,\mathrm{yr}\), @Nelson2000). These effects can be taken into account in our one-dimensional models by reducing the grain growth efficiency. To do so, we introduce a coagulation efficiency factor, \(f_\mathrm{grow}\). So far we assumed \(f_\mathrm{grow}=1\), meaning that all grain collisions lead to coagulation. Instead, if \(f_\mathrm{grow}>1\), only a fraction \(f_\mathrm{grow}^{-1}\) of the collisions result in growth, and sticking is thus less efficient, as expected in binary discs. A lower coagulation efficiency would also increase the drift time scale, given the balance between dust growth and drift achieved in the drift-dominated regime. Recently, suggested that assuming \(f_\mathrm{grow}=10\) could be beneficial for explaining the depletion of refractory elements in the Sun relative to nearby Solar twins. ran single-star disc models with \(f_\mathrm{grow}=10\), showing that they were able to reproduce massive Lupus discs that they could not explain assuming more efficient growth. However \(f_\mathrm{grow}=10\) single star models could not match the data in Upper Sco, being too massive at any given accretion rate. We retain \(f_\mathrm{grow}=10\) as in these works because it provides a balance between fast growth, where solids drift fast, and slow growth, where grains are fragmentation-dominated throughout and the dust follows the gas. The results of our binary disc models with \(f_\mathrm{grow}=10\), in the case of \(R_\mathrm{trunc}=18.13\,\mathrm{au}\) and \(\alpha=3\times10^{-3}\), are shown in Fig. [\[fig:5.1\]](#fig:5.1){reference-type="ref" reference="fig:5.1"}. Regardless of the initial disc parameters, our models evolve towards disc masses that are ten times higher than for \(f_\mathrm{grow}=1\) (as seen by @Sellek2020). This difference reconciles binary models and observations in Upper Sco, with the caveat that the highest accretors are still not reproduced. This is easily explained by our choice of an average binary separation. Enforcing \(R_\mathrm{trunc}=6.7\,\mathrm{au}\), corresponding to the minimum binary separation in Upper Sco, allows models to reproduce high accretors as well. This is shown in the representative case of \(R_0=30\,\mathrm{au}\) and \(M_0=100\,M_\mathrm{Jup}\), depicted with a solid green line in Fig. [\[fig:5.1\]](#fig:5.1){reference-type="ref" reference="fig:5.1"}.
## Accretion time scale *vs* binary projected separation
Using one-dimensional viscous models, we have shown that the fact that proto-planetary discs in multiple systems occupy region A in Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"} (where \(t_\mathrm{acc}\approx0.1\,\mathrm{Myr}\)) can be reproduced by the secular effects of outer disc truncation on dust and gas evolution. Such models suggest that a shorter accretion time scale in discs in closer binaries should be expected, owing to the larger accretion rates and lower dust masses predicted in those systems (see e.g., top-left panel of Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"}). Let us therefore examine how the observationally-inferred accretion time scale, \(t_\mathrm{acc}\), depends on the measured projected binary separation, \(a_\mathrm{p}\). This is displayed in Fig. [\[fig:5.2\]](#fig:5.2){reference-type="ref" reference="fig:5.2"} for Lupus, Chamaeleon I and Upper Sco binary discs, using orange dots. Single-star discs are also shown for comparison, using grey dots. No particular trend of \(t_\mathrm{acc}\) with \(a_\mathrm{p}\) can be recognised in the data, at odds with our expectations. These are highlighted by the blue tracks and shaded area for the representative case with \(M_0=30\,M_\mathrm{Jup},\,R_0=30\,\mathrm{au},\,\alpha=3\times10^{-4}\) and its \(1\sigma\) spread. However, what primarily sets the accretion time scale in our models is the location where truncation occurs. In fact, this is not determined by the binary projected separation only, but is expected to be affected by other effects, such as the relative inclination of the interacting pair with respect to the plane of the sky, the binary mass ratio and eccentricity, and the relative misalignment between the disc and the binary plane. In particular, comparing the binary separation distribution in our data with the observed relation between main sequence binaries eccentricity and orbital period, would imply that some discs in our sample could have a significant eccentricity, thus washing out the expected dependence of \(t_\mathrm{acc}\) on \(a_\mathrm{p}\). Recent evidence that eccentricity in wider binaries follows a thermal rather than uniform distribution (see @Hwang2021, Fig. 6) would suggest that the most eccentric pairs would be those with larger \(a_\mathrm{p}\). As long as the bulk of the population has relatively smaller eccentricities (\(e\approx0.3\) as expected in the field, e.g., @Duchene&Kraus2013), this is not in tension with the fact that the the dust disc sizes in Taurus and \(\rho\) Ophiuchus can be well explained assuming low eccentric orbits (@Zagaria2021_obs and @Rota2022). Even though the comparison between models and specific sources can be challenged by uncertainties on binary eccentricities, we do not expect them to substantially modify our results in Section [10](#sec:4){reference-type="ref" reference="sec:4"}, because they would reduce the average truncation radius only by a factor of a few and this is potentially compensated by the underestimation of the binary separation by its projection on the plane of the sky. Nevertheless, recovering the theoretically-expected trend of \(t_\mathrm{acc}\) with \(a_\mathrm{p}\) is only part of the problem, given the large scatter in Fig. [\[fig:5.2\]](#fig:5.2){reference-type="ref" reference="fig:5.2"}. In fact, on top of the previously mentioned mechanisms, other effects related to grain coagulation efficiency, disc evolution and dispersal can influence the accretion time scale. We do not explore further these possibilities because, given our uncertainty on the determination of \(R_\mathrm{trunc}\), modelling would be under constrained by the data. Finally, some of the sources in Fig. [\[fig:5.2\]](#fig:5.2){reference-type="ref" reference="fig:5.2"} can also be components of undetected higher-order multiples.
# Summary and conclusions {#sec:6}
In this paper we made use of gas and dust one-dimensional simulations to address how stellar multiplicity can influence the correlation between mass accretion rates onto forming stars and the masses of their proto-planetary discs. Hereafter our main conclusions are summarised:
- We searched the literature for information on the stellar multiplicity of Lupus, Chamaeleon I and Upper Sco discs with both (sub-)millimetre emission and accretion rates in and. We found that roughly 20 per cent of the targeted discs are in binary or higher-order multiple stellar systems;
- We introduced the accretion time scale, \(t_{\rm acc}\), as the ratio of observationally estimated disc mass to accretion rate (see Eq. [\[eq:1\]](#eq:1){reference-type="ref" reference="eq:1"}) and found that discs in gravitationally bound pairs have a systematically shorter accretion time scale than discs evolving in isolation, clustering around \(t_\mathrm{acc}\approx0.1\,\mathrm{Myr}\). The short accretion time scales is a consequence both of the well known fact that dust masses are lower in binaries compared with single stars *and* of the fact that accretion rates are somewhat higher than in single stars (see Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"});
- To understand the trend in the data, we ran models of tidally truncated proto-planetary discs subject to viscous evolution, grain growth and radial drift. We found that our models show shorter accretion time scales for lower values of \(R_\mathrm{trunc}\), as a consequence of the faster radial drift and reduced disc lifetime determined by tidal truncation (see upper-left panel of Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"});
- Models and data agree reasonably well in Lupus (see left-hand panel of Fig. [\[fig:4.2\]](#fig:4.2){reference-type="ref" reference="fig:4.2"}); we suggest that a small number of anomalously (sub-)millimetre bright discs may be explained by the existence of sub-structures, while a disc with anomalously long \(t_\mathrm{acc}\), may potentially undergo internal photo-evaporation;
- In Upper Sco our models systematically under-predict disc masses by up to a factor of ten (see right-hand panel of Fig. [\[fig:4.2\]](#fig:4.2){reference-type="ref" reference="fig:4.2"}). It is unclear if this could be the effect of undetected traps halting the drift of solids. We also find that the agreement is improved if the grain growth efficiency is reduced (see Fig. [\[fig:5.1\]](#fig:5.1){reference-type="ref" reference="fig:5.1"}) as has been hypothesised in the dynamically active environments of discs in binaries:
- Finally, we find no clear evidence that the observationally-inferred accretion time scale increases with the binary projected separation (see Fig. [\[fig:5.2\]](#fig:5.2){reference-type="ref" reference="fig:5.2"}), at odds with our theoretical expectation that the accretion time scale should increase with the tidal truncation radius of the disc. However, the relationship between projected separation and tidal truncation radius is complicated by projection effects and the orbital eccentricity: given the relatively limited dynamic range of projected separations in the sample, this lack of correlation is therefore not necessarily surprising.
# Introduction {#sec:1}
Understanding how proto-planetary discs evolve and eventually dissipate is fundamental to building a comprehensive picture of the planet-formation process. It is commonly assumed that proto-planetary discs evolve under the effect of viscosity, which, allowing for angular momentum re-distribution within the disc, drives accretion onto the forming star. In this framework, the mass accretion rate on the central star, \(\dot{M}_\mathrm{acc}\), and the disc mass, \(M_\mathrm{disc}\), are expected to be correlated at any given age: \[\label{eq:1} M_\mathrm{disc}=t_\mathrm{acc}\dot{M}_\mathrm{acc}\propto(t+t_\nu)\dot{M}_\mathrm{acc},\] where \(t_\nu\) is the initial viscous time scale and we call \(t_\mathrm{acc}\) the accretion time scale[^9]. The advent of new facilities, such as the Atacama Large Millimeter/submillimeter Array (ALMA) and the X-shooter spectrograph at the Very Large Telescope (VLT), has made it possible to test disc evolutionary models observationally. In the last years, disc masses, estimated from (sub-)millimetre dust fluxes under the assumption of optically thin emission and a constant gas-to-dust ratio, as well as mass accretion rates, have been inferred for a large number of young stellar objects. Combining these data-sets, and detected a slightly sub-linear correlation between mass accretion rates and proto-planetary disc masses in the young Lupus and Chamaeleon I star-forming regions (aged \(\approx1\text{ to }3\,\mathrm{Myr}\)), that was interpreted as being compatible with viscous-diffusion models. A correlation was also identified by in the older Upper Scorpius OB association (aged \(\approx5\text{ to }10\,\mathrm{Myr}\)). However, at any given disc mass, the median accretion rate in Upper Sco is remarkably similar to that in young regions; moreover its scatter has not decreased with time. This is in contrast with the viscous evolution scenario, which predicts both lower \(\dot{M}_\mathrm{acc}\) and a tighter relation at later times (@Rosotti2017 [@Lodato2017] and Eq. [\[eq:1\]](#eq:1){reference-type="ref" reference="eq:1"}). Nevertheless, all the previous analyses of the correlation only focused on *gas* evolution. Instead, the disc mass estimates of and are based on (sub-)millimetre *dust* emission and are subject to systematic uncertainties (e.g., on dust opacity and the gas-to-dust ratio). To try to explain the observations, both gas and dust ought to be considered when modelling disc evolution. Moreover, theoretical predictions and observational trends must be compared in the *data space*, i.e. post-processing the model outputs to determine their (sub-)millimetre dust fluxes and masses as for real data. Such an exercise then removes the use of the restrictive assumptions about optical depth, opacities and the gas-to-dust ratio that are generally used to interpret (sub-)millimetre observations. adopted such a forward modelling approach and demonstrated that viscous simulations provide a remarkable agreement with both Lupus and Upper Sco data (in particular when internal photo-evaporation is included to account for late-time disc dispersal). However, even though the models of accounted for the underestimation of disc masses in current surveys, none of them were able to reproduce discs with accretion time scale shorter than \(t_\mathrm{acc}\lesssim0.1\,\mathrm{Myr}\), which contribute to most of the large scatter/high accretion rates in Upper Sco. As mass accretion rates are computed at a fixed snapshot in time, it might be thought that accretion variability is responsible for the outlying sources. Unfortunately, there are no studies addressing this issue at the age of Upper Sco, and very little is known about accretion variability on time scales longer than few days. In younger (\(t\lesssim3\,{\rm to}\,4\,{\rm Myr}\)) discs, \(\dot{M}_{\rm acc}\) variations are \(\lesssim0.4\,{\rm dex}\) on a time scale of days, not enough to account for the highest accretors in Upper Sco, with only a small fraction of the targets having larger variability. All the previous considerations are based on the assumption that planet-forming discs evolve in isolation. This picture is clearly idealised: the majority of stars are born in clusters, where nearby sources can influence proto-planetary disc evolution history and affect their planet-formation potential. This commonly occurs by either external photo-evaporation, when the UV radiation of a massive nearby star dissipates the less bound gas in the outer disc regions, or by tidal interactions, when a stellar companion in a gravitationally bound pair, or a flyby in a dense environment, truncates the disc. These processes have qualitatively similar effects, both reducing disc masses and sizes (e.g., @Harris2012 [@Akeson&Jensen2014; @Cox2017; @Akeson2019; @Manara2019] in binaries and @Ansdell2017 [@Otter2021] for the effects of photo-evaporation), eventually hastening disc dispersal. How external photo-evaporation and tidal truncation impact the correlation between mass accretion rates and disc masses was studied by and, respectively. These studies showed that both discs exposed to strong UV fields and discs in multiple stellar systems are expected to have shorter accretion time scales than those (viscously) evolving in isolation. This means that the influence of the environment could be a potential explanation for those highly-accreting old discs with low masses that the models of were not able to explain. However, these studies only focused on gas evolution. Since dust was not considered as a separate component, it was simply assumed that observationally inferred disc dust masses could be converted into total disc masses using a gas-to-dust ratio of 100. This motivates our present study based on modelling both gas and dust evolution and then comparing simulation-based synthetic observations with real data. The required properties of star-forming environments for which external photo-evaporation and tidal encounters are effective were studied by. They showed that stellar densities \(\gtrsim10^4\,{\rm pc}^{-3}\) are necessary for disc truncation by tidal encounters. This threshold is much higher than in the nearby star-forming regions, making fly-bys unlikely. As for external photo-evaporation, concluded that average UV fields \(\gtrsim3\times10^3\,G_0\) are required to disperse a disc. (Here \(G_0\) corresponds to an energy flux of \(1.6\times10^{-3}\,{\rm erg}\,{\rm cm}^{-2}\) between \(6\,{\rm and}\,13.6\,{\rm eV}\), @Habing1968.) In Lupus the average radiation field is expected to be remarkably low (e.g., in IM Lup it is \(\lesssim4\,G_0\), @Cleeves2016) while in Upper Sco it is somewhat higher (on average \(42.9\,G_0\), @Trapman2020). Since the median UV field in both regions is below the critical value for evaporation, we decided not to consider external photo-evaporation in this paper[^10]. Instead, in this work we focus on the role played by stellar multiplicity in disc evolution, confronting our theoretical expectations with the mass accretion rates and sub-millimetre fluxes from nearby young star-forming regions. First of all, from the currently published catalogues, we collect a state-of-the-art sample of homogeneously determined disc masses and accretion rates in Lupus, Chamaeleon I and Upper Sco. This sample is further updated making use of Gaia EDR3 distances as in the PPVII chapter of Manara et al. (subm.). Furthermore, searching the literature allows us to identify several pairs, i.e. gravitationally bound stars with projected separation, \(a_\mathrm{p}\), less than \(300\,\mathrm{au}\), in binaries or higher order multiple stellar systems among the previously selected sources. Subsequently, we run models of tidally truncated circumstellar binary discs for a large number of initial disc parameters following the approach of. To test our hypothesis that the accretion time scale is influenced by a companion, these are then compared with observations through modelling the predicted dust emission. This paper is organised as follows. In Section [8](#sec:2){reference-type="ref" reference="sec:2"} we introduce the Lupus, Chamaeleon I and Upper Sco samples. Discs in multiple stellar systems are identified (see Appendix [\[app:1\]](#app:1){reference-type="ref" reference="app:1"}) and their properties discussed in comparison to those in single-star systems. In Section [9](#sec:3){reference-type="ref" reference="sec:3"} dust and gas modelling is introduced, while Section [10](#sec:4){reference-type="ref" reference="sec:4"} describes our results, first of all discussing their dependence on parameter choices and then comparing models and observations. In Section [11](#sec:5){reference-type="ref" reference="sec:5"} we consider the model limitations and possible improvements to the agreement with observational data. Finally, in Section [12](#sec:6){reference-type="ref" reference="sec:6"} we draw our conclusions.
# Sample selection and data analysis {#sec:2}
## Sample selection
We focus on Lupus, Chamaeleon I and Upper Sco because they are among the best studied nearby star-forming regions: (sub-)millimetre dust fluxes and accretion rates were measured for a large fraction of their young stellar objects (YSOs), and their multiplicity fraction is often well known. The distances to individual targets are taken from inverting the parallaxes available in the Gaia EDR3 catalog. The only exception are the cases where the Gaia parallaxes are unreliable, i.e. \({\rm RUWE}>1.8\) and/or distance differing more than \(60\,{\rm pc}\) from the median distance to the region, or unavailable. In these cases, we assumed the median distance to the members of the region: \(d=158\,{\rm pc}\) for Lupus, \(d=190\,{\rm pc}\) for Chamaeleon I, and \(d=145\,{\rm pc}\) for Upper Sco. In Lupus, we make use of the (sub-)millimetre dust emission measured by, with the addition of the Lupus completion survey sources of, Sz 82/IM Lup and Sz 91. We convert the ALMA (sub-)millimetre dust fluxes into dust masses assuming optically thin emission: \[\label{eq:2} M_\mathrm{dust}=\dfrac{d^2F_\nu}{B_\nu(T_\mathrm{dust})\kappa_\nu^\mathrm{abs}},\text{ where }\kappa_\nu^\mathrm{abs}=2.3\left(\dfrac{\nu}{230~\mathrm{GHz}}\right)\text{cm}^2\text{g}^{-1}.\] Here \(F_\nu\) is the dust flux, \(d\) the distance of the source, \(B_\nu\) the black body emission at temperature \(T_\mathrm{dust}=20\,\mathrm{K}\), and \(\kappa_\nu^\mathrm{abs}\) the absorption opacity. Disc masses are then computed from dust masses assuming a standard ISM gas-to-dust ratio of 100. A target is a non-detection if its dust flux does not exceed three times the continuum rms noise. Mass accretion rates are inferred from the VLT/X-shooter spectroscopic measurements of. Briefly, stellar properties and the accretion parameters are derived self-consistently fitting the YSO spectra with the sum of the photospheric template of a non-accreting star and a slab model to reproduce the accretion luminosity excess in the Balmer continuum and also in the optical part of the spectrum, as described in. Following Manara et al. (subm.), the effective temperature, \(T_{\rm eff}\), of the stars were re-calculated using the relation between spectral type and \(T_{\rm eff}\) by, and the stellar luminosity and accretion luminosity were re-scaled to the distances from Gaia EDR3. To derive the stellar masses, needed to calculate the mass accretion rates, the non-magnetic evolutionary tracks by and where used for targets hotter and colder than 3900 K, respectively, while the models by were used for sources appearing too young/old for the former tracks. Under-luminous objects (see @Alcala2014), i.e., falling well below the main locus of pre-main sequence targets in the HR diagram, are excluded. If the excess continuum UV luminosity of a YSO with respect to the best-fit photospheric template is close to its chromospheric noise level, it is termed a non-accretor and its mass accretion rate is considered an upper-limit. The accretion rate of MY Lup is as computed from the HST observation results of. After updating stellar distances, an average uncertainty of \(0.35\,{\rm dex}\) is estimated. In Chamaeleon I and Upper Sco we follow a similar procedure. In the former region, we use the (sub-)millimetre dust emission of and, and the accretion luminosities of. In the latter region, we rely on sample for mass accretion rates, while disc masses are computed using the (sub-)millimetre dust emission of. Transition discs (TDs) are identified as both discs with a "resolved" (imaged) cavity and "unresolved" discs, whose classification is based on their SED shape as in and. Finally, we remark that Lupus and Chamaeleon I samples are more than 90 per cent complete[^11], while Upper Sco has high levels of completeness only for \(M_\mathrm{disc}\gtrsim5\times10^{-5}\,M_\mathrm{Sun}\) [^12]. We searched the literature for information on stellar multiplicity for the previously selected YSOs. Our main references are in Lupus, in Chamaeleon I and in Upper Sco. A total of 9 binaries or higher-order multiple stellar systems with projected separation less than \(300\,\mathrm{au}\) are found is Lupus, 16 in Chamaeleon and 9 in Upper Sco. 11 of these are in pairs closer than \(40\,\mathrm{au}\). We refer the reader to Appendix [\[app:1\]](#app:1){reference-type="ref" reference="app:1"} for a detailed discussion of the multiplicity detection methods and comparison among regions.
## Data analysis
#### General population trends {#general-population-trends-1 .unnumbered}
In the left-hand panel of Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"} the mass accretion rate, \(\dot{M}_\mathrm{acc}\), is plotted as a function of the disc mass inferred from (sub-)millimetre dust emission, \(M_\mathrm{disc}=M_\mathrm{dust}\times100\), for all Lupus, Chamaeleon and Upper Sco discs in our sample. Grey dots are used for isolated stars, orange and blue for binary (\(a_\mathrm{p}<300\,\mathrm{au}\)) and close binary (\(a_\mathrm{p}<40\,\mathrm{au}\)) discs, while green for circumbinary discs. Non-accretors are displayed as downward-pointing triangles, while disc mass non-detections are identified by left-pointing arrows. Adopting the same convention of, transition discs can be recognised by a larger external circle of the same colour. In the background, lines of constant accretion time scale for \(t_\mathrm{acc}=0.1,\,1\,\mathrm{and}\,10\,\mathrm{Myr}\) are displayed as grey dashed-dotted lines. Single-star discs and discs in binary systems populate different regions of the data-space. The former span all the range of observed disc masses and accretion rates, while the latter are characterised by a systematically shorter accretion time scale and can be divided into three sub-regions. The bulk of discs in binaries (A) have \(t_\mathrm{acc}\approx0.1\,\mathrm{Myr}\). The remainder have longer accretion time scales, with \(t_\mathrm{acc}\gtrsim1\,\mathrm{Myr}\). Some of these are very faint (B), often undetected in the (sub-)millimetre, with \(M_\mathrm{disc}\lesssim2\times10^{-4}\,M_\mathrm{Sun}\), while a small number are massive (C), with \(M_\mathrm{disc}\gtrsim2\times10^{-3}\,M_\mathrm{Sun}\). Remarkably, very close binaries (\(a_\mathrm{p}<40\,\mathrm{au}\)) mainly live in region A, and \(5/11\approx45\) per cent have accretion time scales much shorter than \(0.1\,\mathrm{Myr}\), because of high accretion rates and (generally) low disc masses. To prove our inference of a shorter accretion time scale in discs in multiple systems we perform a Kolmogorov--Smirnov (K-S) test on the full sample made up of all data from the three star-forming regions together, excluding the three circumbinary discs in the sample. The null-hypothesis of single-star and binary discs being drawn from the same \(t_\mathrm{acc}\) distribution is rejected with \(p-\)values of \(7.00\times10^{-7}\) and \(3.54\times10^{-6}\), when non-accretors are considered or excluded, respectively. This is visually displayed in the right-hand panel of Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"}, where the accretion time scale cumulative distributions are plotted for single-star and binary discs in grey and orange, respectively. Solid lines are used for the full sample, while dashed ones when non-accretors are not considered. Clearly, discs in multiple systems have systematically shorter \(t_\mathrm{acc}\) than those evolving in isolation. Combining the targets from different regions allows us to collect a large enough sample to make statistically significant comparisons between single-star and binary discs. This is a fair procedure as long as it does not introduce any multiplicity biases in the target selection. Although it can be argued that only Upper Sco discs with \(5\times10^{-5}\lesssim M_\mathrm{disc}/M_\mathrm{Sun}\lesssim7\times10^{-4}\) have been surveyed for accretion rates with high completeness, such incompleteness does not discriminate between singles and binaries. Indeed, showed that, in this region, discs in binaries and around singles span a similar (sub-)millimetre brightness range Finally, we briefly comment on the treatment of (sub-)millimetre emission upper limits in our sample, highlighting that the significant difference between the accretion time scale in binary and single-star discs is not the result of uncertainties associated with how dust mass upper limits are assigned to non-detections. We test this claim in the worst case scenario, i.e. where we assign to non-detections values which make the data-sets for singles and binaries as similar as possible. Performing a K-S test on the new cumulative curve gives a \(p-\)values of \(2.22\times10^{-4}\)
#### Analysis by star-forming region {#analysis-by-star-forming-region-1 .unnumbered}
While the combined data from Lupus, Chamaeleon I and Upper Sco clearly demonstrates the difference between singles and binaries, it washes out possible evolutionary effects resulting from the different ages of the regions. For this reason, in Fig. [\[fig:2.2\]](#fig:2.2){reference-type="ref" reference="fig:2.2"} the mass accretion rate, \(\dot{M}_\mathrm{acc}\), is plotted as a function of the disc mass, \(M_\mathrm{disc}=M_\mathrm{dust}\times100\) for Lupus, Chamaeleon I and Upper Sco individually. Fig. [\[fig:2.2\]](#fig:2.2){reference-type="ref" reference="fig:2.2"} shows that, while binary discs in the younger regions belong to all the previously identified families (A to C), only family A is represented in Upper Sco. To understand whether this is a disc evolution or sample-selection effect, further data are needed. We perform a K-S test on Lupus, Chamaeleon I and Upper Sco separately, finding that the null-hypothesis that single-star and binary discs are drawn from the same \(t_\mathrm{acc}\) distribution is rejected only in the latter (the K-S test \(p-\)values are reported in the bottom right of each panel in Fig. [\[fig:2.2\]](#fig:2.2){reference-type="ref" reference="fig:2.2"}). Again, assessing whether this is an evolutionary or sample-selection effect needs a higher level of completeness in Upper Sco and a homogeneous analysis of the stellar multiplicity among the three star-forming regions (see Appendix [\[app:1\]](#app:1){reference-type="ref" reference="app:1"}).\
To sum up, our data show that binary discs have statistically shorter accretion time scales than those around single stars. Further data and information on disc multiplicity are needed to compare different star-forming regions from the evolutionary point of view.
# Numerical methods {#sec:3}
In the remainder of this paper our focus is on exploring if the observed trend of a shorter accretion time scale in binaries is compatible with the expectations of models for gas and dust evolution in viscously evolving discs subject to tidal truncation by a stellar companion. To do so, we run a number of binary disc simulations that are post-processed to compute their (sub-)millimetre dust emission profiles. Throughout our analysis we use these synthetic observations to evaluate model disc properties (e.g., masses and accretion time scales) employing the same standard assumptions used in the literature (cf @Sellek2020 in the case of single-star discs). Those properties are then compared with real data. We model gas and dust evolution in circumstellar binary discs, neglecting re-supply of material from beyond the binary orbit and assuming that the disc cannot spread outside the tidal truncation limit imposed by the companion. For the gas we consider viscous evolution and omit the effects of photo-evaporation. For the dust the two-population model of is employed. As a post-processing step, dust emission and accretion rates from our models are used to generate synthetic observations to be compared with real data. The one-dimensional finite-differences code developed by is used, modified to take into account tidal truncation as did. Briefly, the viscous-diffusion equation is solved on a grid made up of 250 cells equally spaced in \(R^{1/2}\), assuming zero-flux at the outer boundary, \(R=R_\mathrm{trunc}\). We choose an exponentially-tapered power-law initial condition: \[\label{eq:3} \Sigma(R,t=0)=\dfrac{M_0}{2\pi R_0R}\exp\left(-\dfrac{R}{R_0}\right),\] where \(R_0\) is a characteristic scale radius, and \(M_0\) is the initial disc mass within \(R_\mathrm{trunc}\). We explore the region of the parameter space corresponding to \(R_0=10\) and \(100\,\mathrm{au}\), and \(M_0=1\), 3, 10, 30 and \(100\,M_\mathrm{Jup}\). A passively irradiated time-independent disc temperature profile is considered, radially decaying as \(R^{-1/2}\) and with reference temperature \(T_0=88.23\) K at 10 au, calibrated on a Solar-mass star. The prescription is used for viscosity: we set \(10^{-4}\leq\alpha\leq10^{-3}\), both for consistency with previous works and because at these viscosities similar models reproduce the flux-radius correlation most closely. For the dust, a uniform initial dust fraction of 0.01 is employed. The routine for grain growth implements the simplified treatment of. In short, at each disc radius two dust populations are evolved in time: a population of small grains, whose size is the monomer grain size, \(a_\mathrm{min}=0.1\,\mu\mathrm{m}\), and a population of large grains, dominating the mass, whose size, \(a_\text{max}\), is determined by the combined effect of grain growth (with a grain-growth efficiency \(f_\mathrm{grow}=1\), @Booth&Owen2020 [@Sellek2020]), fragmentation (with fragmentation velocity \(u_\mathrm{f}=10\,\mathrm{m}\,\mathrm{s}^{-1}\), @Gundlach&Blum2015) and radial drift. We refer to for more information and to for the specific implementation. Finally, the dust fraction is advected along the gas flow, following the prescription of and taking into account the dust back-reaction on gas. We compare models and observations in the data space. This means that our simulation results are post-processed to determine how they would look if observed with ALMA at the same wavelength as in and. Their mass is then computed as in these surveys and compared with real data. We call this quantity the *observer's equivalent* disc mass. Doing so, we can be agnostic on the assumptions made to compute disc masses in the observations and our results would not be influenced by the latter. Our procedure is as follows. For each of our models, we first determine a synthetic surface brightness, \(S_\mathrm{b}\), at frequency \(\nu\approx338.75\,{\rm GHz}\) (ALMA band 7): \[\label{eq:4} S_\text{b}(R)=B_\nu(T)\bigl\{1-\exp{(-\kappa_\nu\Sigma_\text{d})}\bigr\},\] where \(\Sigma_\text{d}\) is the dust surface density, \(B_\nu\) is the black body radiation spectrum at temperature \(T\) and \(\kappa_\nu\) the dust (absorption) opacity, computed as in and. We assumed face-on discs. If one considers the distribution of disc inclinations on the sky, it can be shown that this approximation is correct within a factor of \(\langle\cos i\rangle=\pi/4\approx0.8\). Moreover, showed that correcting for the disc inclination improves the disc masses in by less than a factor of 2. Then, the *observer's equivalent* dust mass, \(M_\mathrm{dust}\), is computed as in Eq. [\[eq:2\]](#eq:2){reference-type="ref" reference="eq:2"}, where the disc luminosity, \(L_\nu=d^2F_\nu\), is given by the surface integral of the synthetic surface brightness.
# Results {#sec:4}
In this Section we outline our results, discussing how the models are affected by the initial parameters. Subsequently, models and observations are confronted, in order to assess their compatibility.
## Model dependence on the initial disc parameters
As a starting point, we illustrate how our results depend on the initial disc parameters. In Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"} the mass accretion rate, \(\dot{M}_\mathrm{acc}\), is shown as a function of the observer's equivalent disc mass, \(M_\mathrm{dust}\times 100\). The colour dotted lines identify model evolutionary tracks and their solid sections highlight the \(1\,\mathrm{Myr}\leq t\leq10\,\mathrm{Myr}\) age interval. In the background, lines of constant accretion time scale for \(t_\mathrm{acc}=0.1,\,1.0\,\mathrm{and}\,10\,\mathrm{Myr}\) are displayed as grey dashed-dotted lines. Lupus and Upper Sco discs are also plotted in grey for singles and black for binaries, respectively. Let us begin with the upper-left panel of Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"}, where models with different values of the tidal truncation radius, \(R_\mathrm{trunc}\), are plotted for \(M_0=30\,M_\mathrm{Jup}\)[^13], \(R_0=30\,\mathrm{au}\) and \(\alpha=10^{-3}\). It can be seen from the plot that the models populate different regions of the plane. In particular, as the truncation radius decreases, the accretion time scale, \(t_\mathrm{acc}\), also decreases. This reduction in \(t_\mathrm{acc}\) with \(R_\mathrm{trunc}\) is apparent even in the initial conditions and results from the fact that the initial accretion rate is higher for a compact, high density disc and the millimetre flux is somewhat smaller due to optical depth effects. For \(t\gg0\), this trend is determined by binary discs both being fainter and accreting more. The former effect is due to the faster drift of grains for smaller values of \(R_\mathrm{trunc}\), which precipitates mass depletion; the latter is a consequence of the smaller viscous time scale of truncated discs. Remarkably, while in the case of single-star models, evolutionary tracks are limited by \(t_\mathrm{acc}=0.1\,\mathrm{Myr}\) for \(R_0=10\,\mathrm{au}\), when \(R_\mathrm{trunc}\leq100\,\mathrm{au}\), the binary models are able to populate the region of the data-plane with shorter accretion time scales, where many of the observed sources lie. We remark that the short \(t_\mathrm{acc}\) in the models do *not* imply that the gas reservoir of the disc is severely depleted but instead that the discs have evolved to low (sub-)millimetre fluxes as a result of dust radial drift. The actual gas masses in our models are up to a factor of \(1000\) larger than what would be obtained by assuming a standard dust-to-gas ratio. This effect is discussed extensively in and we note that it is more marked in binary discs due to the way that tidal truncation accelerates radial drift. In the upper-right panel of Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"}, models with different values of the initial disc scale radius, \(R_0\), are plotted for \(M_0=30\,M_\mathrm{Jup}\) and \(\alpha=10^{-3}\), in the case of a single-star disc (solid lines) and a binary disc with \(R_\mathrm{trunc}=50\,\mathrm{au}\) (dashed lines). The plot shows that the tidally truncated models are only slightly influenced by the scale radius. In fact, while in single-star models \(R_0\) sets the initial viscous time scale, determining the scaling of \(\dot{M}_\mathrm{acc}\), and the efficiency of radial drift, such a time scale is only determined by \(R_\mathrm{trunc}\) in close binary discs. Finally, let us move on to the bottom, where the model dependence on viscosity, \(\alpha\), is explored. The observer's equivalent dust mass is hardly affected by the viscous parameter when discs are young. However, by the age of Upper Sco, (sub-)millimetre fluxes are reduced more for higher values of \(\alpha\), because the faster evolution of the gas raises the Stokes number and accelerates the radial drift of grains. This trend is observed also in single-star discs, although to a lesser extent. Instead, the accretion rates depend more on viscosity and increase with \(\alpha\), because it sets the velocity for gas transport thought the disc.
## Confronting models and data
We compare binary disc models and observations in Lupus and Upper Sco. Although the Chamaeleon I disc population and stellar multiplicity are well studied, the similar-age Lupus region is preferred because of its lower scatter in accretion time scale, better constrained (sub-)millimetre emission (85.7 *vs* 79.8 per cent detections), and evenly censused stellar multiplicity (see details in Appendix [\[app:1\]](#app:1){reference-type="ref" reference="app:1"}). A systematic comparison between models and observations requires the disc truncation radius to be fixed to some value inferred from the data. As dealing with each source individually would be too complex (because of the difficulty of estimating individual truncation radii given the unknown binary eccentricity and projection effects: see Section 5.3), our models enforce a single value of the tidal truncation radius in each region. This is determined as \(R_\mathrm{trunc}=0.33\times\langle a_\mathrm{p}\rangle\), where \(\langle a_\mathrm{p}\rangle\) is the average binary separation in the data, and the previous relation applies to equal mass pairs in co-planar circular orbit. As a result of a systematically closer binary population in Upper Sco, the values of \(R_\mathrm{trunc}\) are different in the two regions. For this reason, we do not discuss any evolutionary dependence between Lupus and Upper Sco discs in multiple stellar systems, which would be possible only if the binary separation distributions in the two regions were very similar. Our results are displayed in Fig. [\[fig:4.2\]](#fig:4.2){reference-type="ref" reference="fig:4.2"} where the mass accretion rate, \(\dot{M}_\mathrm{acc}\), is plotted as a function of the observer's equivalent disc mass, \(M_\mathrm{dust}\times 100\), for models with \(\alpha=3\times10^{-4}\), and different values of the initial disc mass, \(M_0\), and scale radius, \(R_0\). Lines of constant \(t_\mathrm{acc}\) are displayed as dashed-dotted lines. In the left-hand panel their solid sections refer to the \(1\,\mathrm{Myr}\leq t\leq3\,\mathrm{Myr}\) age range, to be compared with Lupus data, while in the right-hand panel to the \(5\,\mathrm{Myr}\leq t\leq10\,\mathrm{Myr}\) age range to be compared with Upper Sco data. The dotted lines describe the evolution outside these time intervals. As expected, tidal truncation causes models to pass through the region of short accretion time scale occupied by the bulk of the binary data (region A in Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"}). This is due to dust being depleted more rapidly, because truncation prevents the retention of solids at large radii, which can otherwise resupply the disc at late times (see @Sellek2020_photo for a discussion of how external photo-evaporation similarly leads to a more rapid depletion of solids by radial drift). In fact, the highest accretors in Upper Sco can be explained using viscous models with radial dust drift as long as multiplicity effects are considered. Nevertheless, both in Lupus and Upper Sco, model evolutionary tracks under-predict the observed disc masses. While in Lupus this issue concerns only few sources, particularly with long accretion time scale, the bulk of the Upper Sco population is roughly ten times brighter than our models. Searching the literature provides possible explanations for Lupus outliers: some of them are sub-structured (e.g., GQ Lup and HT Lup), while others could be affected by thermal winds (e.g., Lup 818s), as is discussed in detail in Appendix [\[app:2\]](#app:2){reference-type="ref" reference="app:2"}. In Upper Sco the under-prediction of the (sub-)millimetre fluxes by 5 to \(10\,\mathrm{Myr}\) models is rather marked and applies to most of the sources in the region. Clearly, this also depends on uncertainties in opacity, although it should be noted that the assumptions we made on the grain composition correspond to an opacity at the upper end of the possible range of variation (cf. e.g., @Birnstiel2018), and therefore with any other assumption the theoretical tracks would shift to even lower masses, exacerbating the problem. A further reason that the observed fluxes could be higher than in the models could be that (sub-)millimetre observations of closer binaries could contain emission from two discs, since more than a half of binary pairs are not resolved at the angular resolution (\(\approx0.45\,\mathrm{arcsec}\)) of. This would however boost the emission by at most a factor of 2, which is not enough to account for the differences with our models. Alternatively, an evolutionary argument would suggest that only the most massive binary discs survive until the age of Upper Sco. However, models with \(R_\mathrm{trunc}\) values that are too large for the observed binary separations would be required to match the data, as shown in the upper-left panel in Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"}. To sum up, tidally-truncated models of viscously evolving discs can reproduce the short accretion time scales in the bulk of the observed binary population. Halting the fast drift of solids is required to account for the (sub-)millimetre brightness of Upper Sco and some sources in Lupus.
# Discussion {#sec:5}
## Sub-structures in binary discs
The first detection of gaps and rings in HL Tau provided striking evidence of sub-structures in planet-forming discs (see @Andrews2020 for a review). Despite such structures often being assumed to be ubiquitous, their presence/absence in compact or low mass discs is yet to be established (e.g., @Long2019, Jennings et al. subm.). Sub-structures have been detected in binary discs as well: e.g., spirals in HT Lup A and AS 205 N, inner cavities in XZ Tau B, UZ Tau E and CIDA 9A, gaps and rings in AS 205 S, GQ Lup A and T Tau N. However, it is not clear if they are as common as in isolated discs. In fact, since binary discs are systematically smaller than those in single stars, identifying sub-structures in the former is more challenging than in the latter. Here we focus on axisymmetric annular features and discuss their influence on the correlation between mass accretion rates and disc masses. In the case of single-star discs, suggested that bright rings, consistent with trapping large grains in local pressure maxima, could be an explanation for discs with long accretion time scales too massive for their smooth models (region C in Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"}). It is then tempting to hypothesise that binary discs in region C are likewise sub-structured and their longer accretion time scale compared with those in region A could be similarly explained. However, while for single-star discs this inference is supported by the presence of imaged gaps and rings, none of our binary sources in region C has clearly detected gaps or cavities, making such systems preferential targets for a first higher-resolution analysis of sub-structures in binary discs. Noticeably, whereas discs around single stars fill the region between population B and C continuously, disc in binaries appear to be well separated: for accretion rates \(\lesssim10^{-10} M_\mathrm{Sun}\,\mathrm{yr}^{-1}\) there is a lack of such discs over about an order of magnitude in disc mass (see Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"}). While it cannot be ruled out that this effect is driven by the smaller sample size of discs in binaries, it may hint at a dichotomy of evolutionary paths. Binary discs containing sub-structures may remain over several Myr in region C, comparable to the situation in structured single-star discs. Instead, in the absence of sub-structures, our models predict a more rapid decay of disc luminosity in binaries than in singles (see top-left panel of Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"}), particularly for discs with low initial disc masses. The presence of dust traps could thus explain the apparent lack of binary discs with low accretion rates and intermediate disc masses. Such a picture, both for binaries and singles, implies that traps maintain discs in region C over time scales of a few Myr since sources are found in region C in both Lupus and Chamaeleon I which are approximately this age. Notably, this region is almost devoid of sources in Upper Sco. This would suggest that sources do not evolve *vertically* downwards from region C, since otherwise Upper Sco would contain several systems with high (sub-)millimetre fluxes but low/undetected accretion rates. Alternatively dust traps may be disrupted on a time scale of 5 to \(10\,\mathrm{Myr}\), so that systems evolve out of region C *horizontally* to the left. Evidence of remnant sub-structures in Upper Sco discs would support such an interpretation. Furthermore, our understanding of the late time trajectory of discs in the plane of accretion rates vs (sub-)millimetre fluxes would be improved by increasing the completeness of accretion rate determinations in Upper Sco for the discs with the highest (sub-)millimetre fluxes. The most intriguing interpretation of dust gaps is that of being carved by planets in the act of formation. If we retain the hypothesis that region C sources (whether binary or single) are sub-structured, then it is tempting to extend to binaries the argument of that discs in region C are forming giant planets, whose deep gaps not only halt radial drift but also reduce accretion. The existence of some binaries in region C would thus support the idea that giant planet formation may be under way in at least some of these discs. We also consider whether sub-structures can explain the fact that the observed binaries in Upper Sco are too bright compared with model predictions (see right-hand panel of Fig. [\[fig:4.2\]](#fig:4.2){reference-type="ref" reference="fig:4.2"}, contrasting the data, shown as black dots, with the models, displayed as solid curves). If this were the case then we would need dust traps to be almost ubiquitous. However, apart from GQ Lup A, a source \(\approx10\) times more massive than those in Upper Sco, we have no evidence of imaged gaps and rings in any of our binary discs. This can be easily explained by the limited angular resolution of the relevant surveys[^14]. A more compelling problem is that in this picture sub-structured discs would live in region A, very far from region C where they would be expected according to our previous argument. However, looking at single-star sources in region C highlights that all transition discs with imaged cavities are clustered here, suggesting that these sub-structures play a role in maintaining conditions not only of high disc masses but also relatively low accretion rates. We can then hypothesise that, in the binary as in the single-star case, while discs in region C are characterised by prominent, large scale sub-structures affecting both gas and dust evolution, shallower, small scale dust traps would be required in the case of Upper Sco, halting dust drift but not impacting substantially the gas. Testing this hypothesis quantitatively requires detailed modelling of secular binary evolution in the presence of sub-structures, as well as higher-resolution observations in Upper Sco.
## Coagulation efficiency in binary discs
Shallow dust traps at small radial locations are not the only solution to the mass budget problem in Upper Sco. This can be alternatively explained in terms of a reduced grain growth efficiency in close binary discs. Tidal interactions between gravitationally bound stars and their discs can be at the origin of asymmetries, spiral arms, eccentric modes, vertical hydraulic jumps, mass transfer between discs and relative shocks\... (e.g., @Nelson2000 [@Muller&Kley2012; @Picogna&Marzari2013]). It is commonly hypothesised that these higher-dimensional effects could halt grain growth in circumstellar discs orbiting close binaries (\(a\leq30\text{ to }50\,\mathrm{au}\), @Nelson2000 [@Picogna&Marzari2013])[^15]. When spirals are triggered by tidal interactions, the disc temperature rises enough for water and other volatile species to be vaporised. As ices make up to 60 per cent of our grain composition, vaporisation would lead to solid dis-aggregation and thus promote fragmentation[^16]. Even though grain growth could take place between spirals, it would then need to begin from material in gaseous phase and would be disrupted by the frequent interactions with the spirals themselves (expected to occur on a time scale of less than \(100\,\mathrm{yr}\), @Nelson2000). These effects can be taken into account in our one-dimensional models by reducing the grain growth efficiency. To do so, we introduce a coagulation efficiency factor, \(f_\mathrm{grow}\). So far we assumed \(f_\mathrm{grow}=1\), meaning that all grain collisions lead to coagulation. Instead, if \(f_\mathrm{grow}>1\), only a fraction \(f_\mathrm{grow}^{-1}\) of the collisions result in growth, and sticking is thus less efficient, as expected in binary discs. A lower coagulation efficiency would also increase the drift time scale, given the balance between dust growth and drift achieved in the drift-dominated regime. Recently, suggested that assuming \(f_\mathrm{grow}=10\) could be beneficial for explaining the depletion of refractory elements in the Sun relative to nearby Solar twins. ran single-star disc models with \(f_\mathrm{grow}=10\), showing that they were able to reproduce massive Lupus discs that they could not explain assuming more efficient growth. However \(f_\mathrm{grow}=10\) single star models could not match the data in Upper Sco, being too massive at any given accretion rate. We retain \(f_\mathrm{grow}=10\) as in these works because it provides a balance between fast growth, where solids drift fast, and slow growth, where grains are fragmentation-dominated throughout and the dust follows the gas. The results of our binary disc models with \(f_\mathrm{grow}=10\), in the case of \(R_\mathrm{trunc}=18.13\,\mathrm{au}\) and \(\alpha=3\times10^{-3}\), are shown in Fig. [\[fig:5.1\]](#fig:5.1){reference-type="ref" reference="fig:5.1"}. Regardless of the initial disc parameters, our models evolve towards disc masses that are ten times higher than for \(f_\mathrm{grow}=1\) (as seen by @Sellek2020). This difference reconciles binary models and observations in Upper Sco, with the caveat that the highest accretors are still not reproduced. This is easily explained by our choice of an average binary separation. Enforcing \(R_\mathrm{trunc}=6.7\,\mathrm{au}\), corresponding to the minimum binary separation in Upper Sco, allows models to reproduce high accretors as well. This is shown in the representative case of \(R_0=30\,\mathrm{au}\) and \(M_0=100\,M_\mathrm{Jup}\), depicted with a solid green line in Fig. [\[fig:5.1\]](#fig:5.1){reference-type="ref" reference="fig:5.1"}.
## Accretion time scale *vs* binary projected separation
Using one-dimensional viscous models, we have shown that the fact that proto-planetary discs in multiple systems occupy region A in Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"} (where \(t_\mathrm{acc}\approx0.1\,\mathrm{Myr}\)) can be reproduced by the secular effects of outer disc truncation on dust and gas evolution. Such models suggest that a shorter accretion time scale in discs in closer binaries should be expected, owing to the larger accretion rates and lower dust masses predicted in those systems (see e.g., top-left panel of Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"}). Let us therefore examine how the observationally-inferred accretion time scale, \(t_\mathrm{acc}\), depends on the measured projected binary separation, \(a_\mathrm{p}\). This is displayed in Fig. [\[fig:5.2\]](#fig:5.2){reference-type="ref" reference="fig:5.2"} for Lupus, Chamaeleon I and Upper Sco binary discs, using orange dots. Single-star discs are also shown for comparison, using grey dots. No particular trend of \(t_\mathrm{acc}\) with \(a_\mathrm{p}\) can be recognised in the data, at odds with our expectations. These are highlighted by the blue tracks and shaded area for the representative case with \(M_0=30\,M_\mathrm{Jup},\,R_0=30\,\mathrm{au},\,\alpha=3\times10^{-4}\) and its \(1\sigma\) spread. However, what primarily sets the accretion time scale in our models is the location where truncation occurs. In fact, this is not determined by the binary projected separation only, but is expected to be affected by other effects, such as the relative inclination of the interacting pair with respect to the plane of the sky, the binary mass ratio and eccentricity, and the relative misalignment between the disc and the binary plane. In particular, comparing the binary separation distribution in our data with the observed relation between main sequence binaries eccentricity and orbital period, would imply that some discs in our sample could have a significant eccentricity, thus washing out the expected dependence of \(t_\mathrm{acc}\) on \(a_\mathrm{p}\). Recent evidence that eccentricity in wider binaries follows a thermal rather than uniform distribution (see @Hwang2021, Fig. 6) would suggest that the most eccentric pairs would be those with larger \(a_\mathrm{p}\). As long as the bulk of the population has relatively smaller eccentricities (\(e\approx0.3\) as expected in the field, e.g., @Duchene&Kraus2013), this is not in tension with the fact that the the dust disc sizes in Taurus and \(\rho\) Ophiuchus can be well explained assuming low eccentric orbits (@Zagaria2021_obs and @Rota2022). Even though the comparison between models and specific sources can be challenged by uncertainties on binary eccentricities, we do not expect them to substantially modify our results in Section [10](#sec:4){reference-type="ref" reference="sec:4"}, because they would reduce the average truncation radius only by a factor of a few and this is potentially compensated by the underestimation of the binary separation by its projection on the plane of the sky. Nevertheless, recovering the theoretically-expected trend of \(t_\mathrm{acc}\) with \(a_\mathrm{p}\) is only part of the problem, given the large scatter in Fig. [\[fig:5.2\]](#fig:5.2){reference-type="ref" reference="fig:5.2"}. In fact, on top of the previously mentioned mechanisms, other effects related to grain coagulation efficiency, disc evolution and dispersal can influence the accretion time scale. We do not explore further these possibilities because, given our uncertainty on the determination of \(R_\mathrm{trunc}\), modelling would be under constrained by the data. Finally, some of the sources in Fig. [\[fig:5.2\]](#fig:5.2){reference-type="ref" reference="fig:5.2"} can also be components of undetected higher-order multiples.
# Summary and conclusions {#sec:6}
In this paper we made use of gas and dust one-dimensional simulations to address how stellar multiplicity can influence the correlation between mass accretion rates onto forming stars and the masses of their proto-planetary discs. Hereafter our main conclusions are summarised:
- We searched the literature for information on the stellar multiplicity of Lupus, Chamaeleon I and Upper Sco discs with both (sub-)millimetre emission and accretion rates in and. We found that roughly 20 per cent of the targeted discs are in binary or higher-order multiple stellar systems;
- We introduced the accretion time scale, \(t_{\rm acc}\), as the ratio of observationally estimated disc mass to accretion rate (see Eq. [\[eq:1\]](#eq:1){reference-type="ref" reference="eq:1"}) and found that discs in gravitationally bound pairs have a systematically shorter accretion time scale than discs evolving in isolation, clustering around \(t_\mathrm{acc}\approx0.1\,\mathrm{Myr}\). The short accretion time scales is a consequence both of the well known fact that dust masses are lower in binaries compared with single stars *and* of the fact that accretion rates are somewhat higher than in single stars (see Fig. [\[fig:2.1\]](#fig:2.1){reference-type="ref" reference="fig:2.1"});
- To understand the trend in the data, we ran models of tidally truncated proto-planetary discs subject to viscous evolution, grain growth and radial drift. We found that our models show shorter accretion time scales for lower values of \(R_\mathrm{trunc}\), as a consequence of the faster radial drift and reduced disc lifetime determined by tidal truncation (see upper-left panel of Fig. [\[fig:4.1\]](#fig:4.1){reference-type="ref" reference="fig:4.1"});
- Models and data agree reasonably well in Lupus (see left-hand panel of Fig. [\[fig:4.2\]](#fig:4.2){reference-type="ref" reference="fig:4.2"}); we suggest that a small number of anomalously (sub-)millimetre bright discs may be explained by the existence of sub-structures, while a disc with anomalously long \(t_\mathrm{acc}\), may potentially undergo internal photo-evaporation;
- In Upper Sco our models systematically under-predict disc masses by up to a factor of ten (see right-hand panel of Fig. [\[fig:4.2\]](#fig:4.2){reference-type="ref" reference="fig:4.2"}). It is unclear if this could be the effect of undetected traps halting the drift of solids. We also find that the agreement is improved if the grain growth efficiency is reduced (see Fig. [\[fig:5.1\]](#fig:5.1){reference-type="ref" reference="fig:5.1"}) as has been hypothesised in the dynamically active environments of discs in binaries:
- Finally, we find no clear evidence that the observationally-inferred accretion time scale increases with the binary projected separation (see Fig. [\[fig:5.2\]](#fig:5.2){reference-type="ref" reference="fig:5.2"}), at odds with our theoretical expectation that the accretion time scale should increase with the tidal truncation radius of the disc. However, the relationship between projected separation and tidal truncation radius is complicated by projection effects and the orbital eccentricity: given the relatively limited dynamic range of projected separations in the sample, this lack of correlation is therefore not necessarily surprising. | {'timestamp': '2022-03-07T02:02:06', 'yymm': '2203', 'arxiv_id': '2203.01986', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01986'} |
null | null |
null | null |
# Introduction
Acoustic levitation has recently demonstrated the creation of volumetric content in mid-air by exploiting the Persistence of Vision (PoV) effect. This is achieved by using acoustic traps to rapidly move single or multiple particles along a periodic reference path, revealing a shape within \(0.1s\) (i.e., the integration interval of human eyes ). However, the way to define such PoV content remains unsolved. That is, there are no automated approaches to compute the *trap trajectories*, i.e., the positioning and timing of the acoustic traps that will allow us to reveal the desired shape. Currently, content creators can only rely on trial and error to find physically feasible trap trajectories resembling their intended target shapes, resulting in a time consuming and challenging process. For instance, the creator will need to define the timing of the path (i.e., not only *where* the particle must be, but also *when*). Such timing is not trivial and will affect the overall rendering time and the accelerations applied to the particle, which must be within the capabilities of the levitator. The way forces distribute around the acoustic trap will also need to be considered to decide where traps must be located. Considering these challenges is crucial to design feasible trap trajectories, as a single infeasible point along the trajectory typically results in the particle being ejected from the levitator (e.g., approaching a sharp corner too quickly). Thus, while it has been theorised that linear PoV paths of up to 4m and peak speeds of 17m/s are possible , actual content demonstrated to date has been limited to simple shapes with almost constant curvature along the path and much lower speeds (e.g., 0.72m/s in ; 1.2m/s in ; 2.25m/s in, combining six particles). In this paper, we present *OptiTrap*, the first structured numerical approach to compute trap trajectories for acoustic levitation displays. *OptiTrap* automates the definition of levitated PoV content, computing physically feasible and nearly time-optimal trap trajectories given only a reference path, i.e., the desired shape. As shown in Figure [\[fig:teaser\]](#fig:teaser){reference-type="ref" reference="fig:teaser"}, this allows for larger and more complex shapes than previously demonstrated, as well as shapes featuring significant changes in curvature and/or sharp corners. Our approach is summarised in Figure [\[fig:teaser_diagram\]](#fig:teaser_diagram){reference-type="ref" reference="fig:teaser_diagram"}. *OptiTrap* assumes only a generic reference path \(\textbf{q}(\theta)\) as an input, with no temporal information (see Figure [\[fig:teaser_diagram\]](#fig:teaser_diagram){reference-type="ref" reference="fig:teaser_diagram"}(A)). *OptiTrap* formulates this as a path following problem (see Figure [\[fig:teaser_diagram\]](#fig:teaser_diagram){reference-type="ref" reference="fig:teaser_diagram"}(B)), computing the optimum timing in which a particle can traverse such path. Our formulation considers the *Trap-Particle Dynamics* of the system, using a 3D model of acoustic forces around a trap. This results in a non-invertible model, which cannot exploit differential flatness , on which most path following approaches rely. We instead provide a coupling stage for the dynamics of our system and numerically invert the system. This approach produces a trap trajectory \(\textbf{u}(t)\) (Figure [\[fig:teaser_diagram\]](#fig:teaser_diagram){reference-type="ref" reference="fig:teaser_diagram"}(C)) that results in the intended and nearly time-optimal particle motion. That is, \(\textbf{u}(t)\) defines the positions and timing of the traps that cause the particle to reveal the target shape \(\textbf{q}(\theta)\), according to the capabilities of the actual device, cf. Figure [\[fig:teaser_diagram\]](#fig:teaser_diagram){reference-type="ref" reference="fig:teaser_diagram"}(D). In summary, we contribute the first structured numerical approach to compute physically feasible and nearly time-optimal trap trajectories for levitation displays, given only a reference path that the particle should follow. As a core contribution, we provide a theoretical formulation of the problem in terms of path following approaches, allowing optimum timing and device properties (e.g., trap-particle dynamics) to be jointly considered. All the details of the approach we propose are provided in Section [11](#sec:opt){reference-type="ref" reference="sec:opt"}. We illustrate the potential of our approach by rendering shapes featuring straight lines, sharp corners, and complex shapes, such as those in Figure [\[fig:teaser\]](#fig:teaser){reference-type="ref" reference="fig:teaser"}. We then provide an experimental validation of our approach, demonstrating increases of up to 563% in the size of rendered objects, up to 150% in the rendering frequency, and improvements in accuracy (e.g., shape revealed more accurately). While the baseline shapes we compare against require trial and error to determine optimal sizes or frequencies, our approach always yields feasible paths (i.e., working in at least 9 out of 10 attempts) and makes consistent use of accelerations very close to (but not exceeding) the maximum achievable by the device, independently of the target shape. These features allow *OptiTrap* to render complex objects involving sharp edges and significant changes in curvature that have never been demonstrated before. Even more importantly, it provides a tool to systematically explore the range of contents that levitation displays can create, as a key step to exploit their potential.
# Background and Challenges {#sec:prob_stat}
Our goal is is to minimise complexity for content creators. Thus, given a reference path (i.e., a shape defined by the content creator), our approach must produce physically feasible trap trajectories, which accurately reveal the desired path, while making optimal use of the capabilities of the device. We formalise our content as a reference path \(Q\), provided by the content creator without any preassigned time information. It is an explicitly parametrized curve \[\label{eq:path} Q:=\{\] where \(\textbf{q}\colon\mathbb{R} \rightarrow \mathbb{R}^3\), as later justified in Section [11.2](#ssec:OPT){reference-type="ref" reference="ssec:OPT"}, must be a twice continuously differentiable function with respect to \(\theta\), which is called the path parameter. Increasing values of \(\theta\) denote forward movement along the path \(Q\). The starting point on the path is \(\textbf{q}(\theta_0)\), while \(\textbf{q}(\theta_f)\) marks the end of the path. For periodic paths, such as a particle cyclically revealing a PoV shape, \(\textbf{q}(\theta_0) = \textbf{q}(\theta_f)\) and \(\dot{\textbf{q}}(\theta_0) = \dot{\textbf{q}}(\theta_f)\) hold. Please note that while splines would provide a generic solution to this parametrization (i.e., twice continuously differentiable fitting the points in \(Q\)), any other parametric functions can be used. For example, taking \(\theta\in[0, 2\pi]\) and \(r>0\), a cardioid as in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}, can be described by: \[\label{eq:cardioid} \textbf{q}(\theta)=(0, r\sin(\theta)(1+\cos(\theta)),-r\cos(\theta)(1+\cos(\theta))+r)^\top.\] Whatever the approach used, revealing such reference paths typically involves rapid particle movements, as PoV content must be revealed within about \(0.1s\) ) and must consider the feasibility of the path (i.e., the trap-particle dynamics, the topology of the trap, and the capabilities of the levitator). This results in the following two main challenges for *OptiTrap*: 1) determining the optimal timing for the particle revealing the path; and 2) computing the trap positions generating the required forces on the particle.
## Challenge 1: Determining an Optimal Path Timing
The reference path \(Q\) defines the geometry but not the timing (i.e., it describes *where* the particle needs to be, but not *when* it needs to be there). Our approach must compute such a timing, and the strategy followed will have important implications on the velocity and accelerations applied to the particle and, hence, on the physical feasibility of the content. Different timing strategies and their effects on the feasibility can be illustrated using the cardioid example from [\[eq:cardioid\]](#eq:cardioid){reference-type="eqref" reference="eq:cardioid"}. Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"} depicts various timing strategies applied to this shape, all of them traversing the same path in the same overall time. A straight-forward approach would be to sample equidistantly along the path, as shown in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(A). This works well for lines and circles, where a constant speed can be maintained, but fails at sudden changes in curvature due to uncontrolled accelerations (see the acceleration at the corner of cardioid in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(D), at \(\theta=\pi\)). The second example in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(B) shows a simple equidistant sampling on the path parameter \(\theta\). As shown in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(D), this results in areas of strong curvature naturally involving low accelerations, and can work particularly well for low-frequency path parametrizations in terms of sinusoidals (e.g., showed such sinusoidal timing along straight paths, to theorise optimum/optimistic content sizes). In any case, the quality of the result obtained by this approach will vary depending on the specific shape and parametrization used. As an alternative, the third example shows the timing produced by our approach, based on the shape and capabilities of the device (i.e., forces it can produce in each direction). Please note how this timing reduces the maximum accelerations required (i.e., retains them below the limits of the device), by allowing the particle to travel faster in parts that were unnecessarily slow (e.g., Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(D), at \(\theta=\pi\)). For the same maximum accelerations (i.e., the same device), this timing strategy could produce larger shapes or render them in shorter times, for better refresh rates. This illustrates the impact of a careful timing strategy when revealing any given reference path. We address this challenge in Section [11.2](#ssec:OPT){reference-type="ref" reference="ssec:OPT"}.
## Challenge 2: Computation of Trap Positions
In addition to the timing, the approach must also compute the location of the traps. Previous approaches placed the traps along the shape to be presented, under the implied assumption that the particle would remain in the centre of such trap. However, the location where the traps must be created almost never matches the location of the particle. Acoustic traps feature (almost) null forces at the centre of the trap and high restorative forces around them. As such, the only way a trap can accelerate a particle is by having it placed at a distance from the centre of the trap. Such trap-particle distances were measured by to assess performance achieved during their speed tests. Distortions related to rendering fast moving PoV shapes were also shown in. However, none of them considered or corrected for such displacements. Please note the specific displacement between the trap and the particle will depend on several factors, such as the particle acceleration required at each point along the shape, as well as the trap topology (i.e., how forces distribute around it). No assumptions can be made that the traps will remain constrained to positions along or tangential to the target shape. We describe how our approach solves this challenge in Section [11.3](#ssec:extract-trap-trajectory){reference-type="ref" reference="ssec:extract-trap-trajectory"}.
# Related Work
*OptiTrap* addresses the challenges above by drawing from advances in the fields of acoustic levitation and control theory, which we review in this section.
## Acoustic Levitation
Single frequency sound-waves were first observed to trap dust particles in the lobes of a standing wave more than 150 years ago . This has been used to create mid-air displays with particles acting as 3D voxels , but such standing waves do not allow control of individual particles. Other approaches have included Bessel beams , self-bending beams , boundary holograms or near-field levitation . However, most display approaches have relied on the generic levitation framework proposed by , combining a focus pattern and a levitation signature. Although several trap topologies (i.e., twin traps, vortex traps or bottle beams) and layouts (i.e., one-sided, two-sided, v-shape) are possible, most displays proposed have adopted a top-bottom levitation setup and twin traps, as these result in highest vertical trapping forces. This has allowed individually controllable particles/voxels or even particles attached to other props and projection surfaces for richer types of content . The use of single or multiple fast moving particles have allowed for dynamic and free-form volumetric content, but is still limited to small sizes and simple vector graphics . Several practical aspects have been explored around such displays, such as selection and manipulation techniques , content detection and initialisation or collision avoidance . However, no efforts have been made towards optimising content considering the capabilities (i.e., the dynamics) of such displays, particularly for challenging content such as the one created by PoV high-speed particles. showed sound-fields must be updated at very high rates for the trap-particle system to engage in high accelerations, identifying optimum control for rates above 10kHz. However, they only provided a few guidelines (e.g., maximum speed in corners, maximum horizontal/vertical accelerations) to guide the definition of the PoV content. provided a theoretical exploration of this topic, looking at maximum achievable speeds and content sizes, according to the particle sizes and sound frequency used. While the dynamics of the system were considered, these were extremely simplified, using a model of acoustic trap forces and system dynamics that are only applicable for oscillating recti-linear trajectories along the vertical axis of the levitator. proposed a generic system simulating the dynamics of a top-bottom levitation system. This operates as a forward model simulating the behaviour of the particle given a specific path for the traps, but unlike our approach it does not address the inverse problem. Thus, *OptiTrap* is the first algorithm allowing the definition of PoV content of generic shapes, starting only from a geometric definition (i.e., shape to present, no timing information) and optimising it according to the capabilities of the device and the dynamics of the trap-particle system.
## Path Following and Optimal Control {#sec:PFopt}
The particle in the trap constitutes a dynamical system, which can be controlled by setting the location of the trap. As such, making the particle traverse the reference path can be seen as an optimal control problem (OCP). In the context of computer graphics, optimal control approaches have been studied particularly in the areas of physics-based character animation and aerial videography . Such OCPs can be considered as function-space variants of nonlinear programs, whereby nonlinear dynamics are considered as equality constraints. In engineering applications, OCPs are frequently solved via direct discretization , which leads to finite-dimensional nonlinear programs. In physics-based character animation, such direct solution methods are known as spacetime constraints . If framed as *a levitated particle along a given geometric reference path (i.e., the PoV shape)*, the problem can be seen as an instance of a path following problem . Such problems also occur in aerial videography, when a drone is to fly along a reference path . In order to yield a physically feasible trajectory, it is necessary to adjust the timing along that trajectory. This can be done by computing feed-forward input signals or, if the system dynamics and computational resources allow, using closed-loop solutions, such as Model Predictive Control in . However, optimal control of acoustically levitated particles cannot be approached using such techniques. All of the above approaches require *differential flatness* . That is, the underlying system dynamics must be invertible, allowing for the problem to be solved by projecting the dynamics of the moving object onto the path manifold . This inversion approach also enables formulating general path following problems in the language of optimal control, encoding desired objectives (e.g., minimum time, see ). As discussed later in Section [11.1](#ssec:model-acoustic-forces){reference-type="ref" reference="ssec:model-acoustic-forces"}, the distribution of forces around the acoustic trap (i.e., our system dynamics) are not invertible, requiring approaches that have not been widely developed in the literature. We do this by coupling the non-invertible particle dynamics into a virtual system, solvable with a conventional path following approach. We then use these coupling parameters and our model of particle dynamics to solve for the location of the traps.
# Optimal Control for Levitation Displays {#sec:opt}
This section provides a description of our *OptiTrap* approach, which automates the definition of levitated content, computing physically feasible and nearly time-optimal trap trajectories using only a reference path as an input. In Section [11.1](#ssec:model-acoustic-forces){reference-type="ref" reference="ssec:model-acoustic-forces"}, we first describe our specific hardware setup and the general mathematical framework, then we consider existing models of the trap-particle dynamics (Subsection [11.1.1](#sssec:exsting-models){reference-type="ref" reference="sssec:exsting-models"}), before introducing our proposed model (Subsection [11.1.2](#sssec:our-model){reference-type="ref" reference="sssec:our-model"}). Next, we describe the two stages in our algorithm, which match the challenges identified in Section [9](#sec:prob_stat){reference-type="ref" reference="sec:prob_stat"}. That is, Section [11.2](#ssec:OPT){reference-type="ref" reference="ssec:OPT"} describes the computation of optimum timing, approached as an optimal path following problem, while Section [11.3](#ssec:extract-trap-trajectory){reference-type="ref" reference="ssec:extract-trap-trajectory"} explains how to compute the trap locations. Please note that Section [11](#sec:opt){reference-type="ref" reference="sec:opt"} focuses on the general case of presenting levitated content, that is, particles cyclically traversing a reference path (shape) as to reveal it. Other cases, such as a particle accelerating from rest as to reach the initial state (i.e., initial position and speed) required to render the content can be easily derived from the general case presented here, and are detailed in the Supplementary Material S1.
## Modelling the Trap-Particle Dynamics {#ssec:model-acoustic-forces}
We start by describing the model of the trap-particle dynamics used for our specific setup, shown in Figure [\[fig:setup\]](#fig:setup){reference-type="ref" reference="fig:setup"}. This setup uses two opposed arrays of 16×16 transducers controlled by an FPGA and an OptiTrack tracking system (Prime 13 motion capture system at a frequency of 240Hz). The design of the arrays is a reproduction of the setup in , modified to operate at 20Vpp and higher update rates of 10kHz. The device generates a single twin-trap using the method described in, allowing for vertical and horizontal forces of \(4.2\cdot10^{-5}\)N and \(2.1\cdot10^{-5}\)N, respectively, experimentally computed using the linear speed tests in (i.e., 10cm paths, binary search with 9 out 10 success ratios, with particle mass \(m\approx 0.7\cdot10^{-7}\) kg). Note the substantial difference between the maximum forces in the vertical and horizontal directions. Our approach will need to remain aware of direction as this determines maximum accelerations. In general, the trap-particle dynamics of such system can be described by simple Newtonian mechanics, i.e., \[\label{eq:system} m\ddot{\textbf{p}}(t) = F(\textbf{p}(t),\dot{\textbf{p}}(t),\textbf{u}(t)).\] Here, \(\textbf{p}(t)=(p_x, p_y, p_z)^\top \in \mathbb{R}^3\) represents the particle position in Cartesian \((x,y,z)\) coordinates at time \(t\in\mathbb{R}_0^+\), and \(\dot{\textbf{p}}(t)\) and \(\ddot{\textbf{p}}(t)\) are the velocity and acceleration of the particle, respectively. The force acting on the particle is mostly driven by the acoustic radiation forces and, as such, drag and gravitational forces can be neglected. Therefore, the net force acting on the particle will depend only on \(\textbf{p}(t)\) and on the position of the acoustic trap at time \(t\) denoted by \(\textbf{u}(t)=(u_x(t),u_y(t),u_z(t))^\top\in\mathbb{R}^3\). As a result, our approach requires an accurate and ideally invertible model of the acoustic forces delivered by an acoustic trap. That is, we seek an accurate model predicting forces at any point around a trap only in terms of \(\textbf{u}(t)\) and \(\textbf{p}(t)\). Moreover, an invertible model would allow us to analytically determine where to place the trap as to produce a specific force on the particle given the particle location. For spherical particles considerably smaller than the acoustic wavelength and operating in the far-field regime, such as those used by our device, the acoustic forces exerted can be modelled by the gradient of the Gor'kov potential . This is a generic model, suitable to model acoustic forces resulting from any combination of transducer locations and transducer activations, but it also depends on all these parameters, making it inadequate for our approach. Our case, using a top-bottom setup and vertical twin traps is much more specific. This allows for simplified analytical models with forces depending only on the relative position of the trap and the particle, which we compare to forces as predicted from the Gor'kov potential in Figure [\[fig:modelForces\]](#fig:modelForces){reference-type="ref" reference="fig:modelForces"}.
### Existing Models of the Trap-Particle Dynamics {#sssec:exsting-models}
Simple *spring* models have been used extensively, modelling trapping forces according to a *stiffness* parameter \(\mathcal{K}_i\), that is, with forces being proportional to the distance of the particle to the centre of the trap: \[F_i(\textbf{p},\textbf{u}) := \mathcal{K}_i \cdot |u_i-p_i|, \quad i \in \{x,y,z\}.\] Such models are usually refined by providing specific stiffness values for each dimension, but they are only suitable for particles remaining in close proximity to the centre of the trap, i.e., the linear region near the centre of the trap. As a result, *spring* models are only accurate for systems moving particles slowly, requiring low acceleration and forces (so that particles remain within the linear region). *Sinusoidal* models have been proposed as an alternative , providing accurate fitting from the centre of the trap to the peaks of the force distribution in Figure [\[fig:modelForces\]](#fig:modelForces){reference-type="ref" reference="fig:modelForces"}, according to the peak trapping force \(\mathcal{A}_i\) and characteristic frequency \(\mathcal{V}_i\): \[F_i(\textbf{p},\textbf{u}) := \mathcal{A}_i \cdot \sin(\mathcal{V}_i \cdot (u_i-p_i)), \quad i \in \{x,y,z\},\] However, both of these models (i.e., *spring* and *sinusoidal*) are only suitable for particles placed along one of the main axes of the acoustic trap, not for particles arbitrarily placed at any point around it. This is illustrated on the right of Figure [\[fig:modelForces\]](#fig:modelForces){reference-type="ref" reference="fig:modelForces"}, which provides an overview of how forces distribute on a horizontal and vertical 2D plane around a trap, according to each model (i.e., Gor'kov, *spring*, *sinusoidal*, and *Ours*, detailed in the next subsection). Please note how the three previous models show good matching along the horizontal and vertical axes (represented as blue and red lines). However, the *spring* and *sinusoidal* models are of one-dimensional nature (e.g., force \(F_x\) only depends on X distance \((u_x-p_x)\)) and become inaccurate at points deviating from the main axes.
### Our Model {#sssec:our-model}
The complexity of the force distribution modelled by the Gor'kov potential increases as the distance to the centre of the trap increases. However, we only need to derive a model allowing us to predict where to place the trap to produce a specific force on the particle. This allows us to limit our considerations to the region corresponding to the peaks designated by \(\mathcal{A}_r\) and \(\mathcal{A}_z\) in Figure [\[fig:modelForces\]](#fig:modelForces){reference-type="ref" reference="fig:modelForces"}. For points within this region, forces around twin traps distribute in a mostly *axis-symmetric* fashion, which can be approximated as:
where \(\mathcal{A}_r, \mathcal{A}_z\) represent peak trapping forces along the radial and vertical directions of the trap, respectively. \(\mathcal{V}_z\), \(\mathcal{V}_{xr}\), \(\mathcal{V}_{zr}\) represent characteristic frequencies of the sinusoidals describing how the forces evolve around the trap. The resulting forces can be converted into acoustic forces in 3D space from these cylindrical coordinates, with azimuth \(\phi = \arctan ((u_y-p_y)/(u_x-p_x))\): \[\label{eq:Facou} F(\textbf{p},\textbf{u}) = \begin{pmatrix} F_x(\textbf{p},\textbf{u}) \\ F_y(\textbf{p},\textbf{u}) \\ F_z(\textbf{p},\textbf{u}) \end{pmatrix} := \begin{pmatrix} F_r(\textbf{p},\textbf{u}) \cos\phi \\ F_r(\textbf{p},\textbf{u}) \sin\phi \\ F_z(\textbf{p},\textbf{u}) \end{pmatrix}.\] We validated our model by comparing its accuracy against the forces predicted by the gradient of the Gor'kov potential. More specifically, we simulated 729 single traps homogeneously distributed across the working volume of our levitator (i.e., 8x8x8cm, in line with ), testing 400 points around each trap for a total of 400x729 force estimations.
[\[table:fit_parameters\]]{#table:fit_parameters label="table:fit_parameters"}
Table [4](#table:fit_parameters){reference-type="ref" reference="table:fit_parameters"} summarises the error distribution achieved by these three models when compared to Gor'kov, showing an average relative error as low as 4% for our model and much poorer fitting for the other two models. Full details and raw data used in this validation can be found in the Supplementary Material S2. As a final summary, this results in a model for our trap-particle dynamics that only depends on \(\textbf{p}\) and \(\textbf{u}\) and which fits the definition of a second-order ordinary differential equation: \[\label{eq:system_acoustic} m\ddot{\textbf{p}}(t) = F(\textbf{p}(t),\textbf{u}(t)).\] While the resulting model is accurate (4% relative error), we note that it is not invertible, which will complicate the formulation of our solution approach. For instance, for a particle at \(\textbf{p}=(0,0,0)\), force \(F(\textbf{p},\textbf{u}) = (0,0, \mathcal{A}_z \cdot \cos\left(\mathcal{V}_{zr} \cdot x \right))\) can be obtained with either \(\textbf{u}= (x, 0, \pi/(2\mathcal{V}_z))\) or \(\textbf{u}= (-x, 0, \pi/(2\mathcal{V}_z))\).
## Open-Loop Optimal Path Following {#ssec:OPT}
This section computes the timing for the particle, so that it moves along the given reference path \(Q\) from [\[eq:path\]](#eq:path){reference-type="eqref" reference="eq:path"} in minimum time and according to the dynamics of the system. We approach this as an open-loop (or feed-forward) path following problem, as typically done in robotics . That is, we design an optimal control problem that computes the timing \(t \mapsto\theta(t)\) as to keep the levitated particle on the prescribed path, to traverse the path in optimum (minimum) time while considering the trap-particle dynamics (i.e., minimum *feasible* time). Our non-invertible model of particle dynamics calls for a more complex treatment of the problem, which we split in two parts. In the first part we derive a virtual system for the timing law, which we describe as a system of first-order differential equations, solvable with traditional methods. In the second part we couple the timing law with our non-invertible dynamics, introducing auxiliary variables that will later enable pseudo-inversion (i.e., to compute trap placement for a given force) as described in Section [11.3](#ssec:extract-trap-trajectory){reference-type="ref" reference="ssec:extract-trap-trajectory"}.
### Error Dynamics and the Timing Law. {#sssec:OPT_timing}
The requirement that the particle follows the path \(Q\) exactly and for all times means that the deviation from the path equals zero for all \(t\in\mathbb{R}^+_0\), i.e., \[\textbf{e}(t) := \textbf{p}(t)-\textbf{q}(\theta(t)) \equiv 0.\] If the path deviation \(\textbf{e}(t)\) is \(0\) during the whole interval \([t_0, t_1]\), this implies that the time derivatives of \(\textbf{e}(t)\) also have to vanish on \((t_0, t_1)\). Considering this (i.e., \(\dot e(t)\equiv 0\) and \(\ddot e(t)\equiv 0\)) results in:
Thus, for particles on the path \(Q\), system dynamics of the form [\[eq:system_acoustic\]](#eq:system_acoustic){reference-type="eqref" reference="eq:system_acoustic"}, and provided we are able to express \(\textbf{u}\) as a function of \(\textbf{p}\) and \(\ddot{\textbf{p}}\) (i.e., the system inversion described in Section [10.2](#sec:PFopt){reference-type="ref" reference="sec:PFopt"}), the position, the velocity, and the acceleration of the particle can be expressed via \(\theta, \dot\theta, \ddot\theta\), respectively. For details, a formal derivation, and tutorial introductions we refer to . Observe that in [\[eq:dpath_para\]](#eq:dpath_para){reference-type="eqref" reference="eq:dpath_para"} the partial derivatives \(\frac{\partial^2 \textbf{q}}{\partial \theta^2}\) and \(\frac{\partial \textbf{q}}{\partial \theta}\), as well as \(\dot\theta\) and \(\ddot\theta\) appear. This leads to two additional observations: First, the parametrisation \(\textbf{q}\) from [\[eq:path\]](#eq:path){reference-type="eqref" reference="eq:path"} should be at least twice continuously differentiable with respect to \(\theta\), so that the partial derivatives are well-defined. This justifies our constraint in Section [9](#sec:prob_stat){reference-type="ref" reference="sec:prob_stat"}. Please note this does not rule out corners in the path \(Q\), as shown by the parametrisation [\[eq:cardioid\]](#eq:cardioid){reference-type="eqref" reference="eq:cardioid"} of the cardioid. Second, the time evolution of \(\theta\) should be continuously differentiable, as otherwise large jumps can occur in the acceleration. To avoid said jumps, we generate the timing \(t\mapsto \theta(t)\) via the double integrator \[\label{eq:timingLaw} \ddot\theta(t) = v(t),\] where \(v(t) \in \mathbb{R}\) is a computational degree of freedom, used to control the progress of the particle along \(Q\). The function \(v(t)\) enables us to later cast the computation of time-optimal motions along reference paths as an OCP, see [\[eq:OCP2\]](#eq:OCP2){reference-type="eqref" reference="eq:OCP2"}. The in-homogeneous second-order ordinary differential equation [\[eq:timingLaw\]](#eq:timingLaw){reference-type="eqref" reference="eq:timingLaw"} takes care of jumps, but needs to be augmented by conditions on \(\theta\) and \(\dot{\theta}\) at initial time \(t=0\) and final time \(t=T\). This is done to represent the periodic nature of our content (i.e., the particle reveals the same path many times per second): \[\label{eq:timingLaw_bc} \theta(0)=\theta_0, \quad \theta(T)=\theta_f, \quad \dot{\theta}(0)=\dot{\theta}(T),\] where \(\theta_0\) and \(\theta_f\) are taken from [\[eq:path\]](#eq:path){reference-type="eqref" reference="eq:path"} and the total time \(T\) will be optimally determined by the OCP. The first two equations in [\[eq:timingLaw_bc\]](#eq:timingLaw_bc){reference-type="eqref" reference="eq:timingLaw_bc"} ensure that the path \(Q\) is fully traversed, while the third one ensures the speeds at the beginning and end of the path match. With these additional considerations, we define the (state) vector \(\textbf{z}(t):=(\theta(t), \dot{\theta}(t))^\top\), which finally allows us rewrite our second-order differential equations in [\[eq:timingLaw\]](#eq:timingLaw){reference-type="eqref" reference="eq:timingLaw"} as a system of first-order differential equations: \[\label{eq:dz_dt} \dot{\textbf{z}}(t)= \begin{pmatrix} 0&1\\ 0&0 \end{pmatrix}\textbf{z}(t)+\begin{pmatrix} 0\\ 1 \end{pmatrix}v(t), \quad \textbf{z}(0)=\textbf{z}_0, ~\textbf{z}(T) = \textbf{z}_T.\] Please note that [\[eq:dz_dt\]](#eq:dz_dt){reference-type="eqref" reference="eq:dz_dt"} is an equivalent *virtual* system to [\[eq:timingLaw\]](#eq:timingLaw){reference-type="eqref" reference="eq:timingLaw"} and [\[eq:timingLaw_bc\]](#eq:timingLaw_bc){reference-type="eqref" reference="eq:timingLaw_bc"}, solvable using standard Runge-Kutta methods . The system [\[eq:dz_dt\]](#eq:dz_dt){reference-type="eqref" reference="eq:dz_dt"} is suitable to generate the timing law, but the particle dynamics [\[eq:system_acoustic\]](#eq:system_acoustic){reference-type="eqref" reference="eq:system_acoustic"} still need to be included, as described next.
### Coupling of non-invertible particle dynamics: {#sssec:OPT_trap_placement}
To include the particle dynamics [\[eq:system_acoustic\]](#eq:system_acoustic){reference-type="eqref" reference="eq:system_acoustic"} in the computation of the timing, we need to couple them with the system [\[eq:dz_dt\]](#eq:dz_dt){reference-type="eqref" reference="eq:dz_dt"}. The typical approach is to rewrite [\[eq:system_acoustic\]](#eq:system_acoustic){reference-type="eqref" reference="eq:system_acoustic"} as: \[\label{eq:M_implicit} M(\ddot{\textbf{p}}(t), {\textbf{p}}(t), {\textbf{u}}(t)):= m\ddot{\textbf{p}}(t)-F(\textbf{p}(t),\textbf{u}(t)) = 0\] and make sure that this equation locally admits an inverse function: \[\label{eq:invModel} {\textbf{u}}(t) = M^{-1}(\ddot{\textbf{p}}(t), {\textbf{p}}(t)),\] This would allow us to easily compute the location of our traps. However, such inversion is not straightforward for our model, and to the best of our knowledge, standard solution methods do not exist for such cases. We deal with this challenge by introducing constraints related to our particle dynamics. These will allow us to compute feasible timings while delaying the computation of the exact trap location to a later stage in the process. More specifically, we introduce auxiliary variables \(\zeta_1...,\zeta_6\) for each trigonometric term in the force \(F\), and we replace \(p_i = q_i(\theta)\) for \(i \in \{x,y,z\}\) (i.e., particle position exactly matches our reference path):
With this, we are now able to formally express the force [\[eq:Facou\]](#eq:Facou){reference-type="eqref" reference="eq:Facou"} in terms of \(\zeta:=(\zeta_1...,\zeta_6)\), i.e., \[\tilde{F}(\zeta) := \begin{pmatrix} \mathcal{A}_r \zeta_1\zeta_2 \zeta_6 \\ \mathcal{A}_r \zeta_1\zeta_2 \zeta_5\\ \mathcal{A}_z \zeta_4\zeta_3 \end{pmatrix}.\] Using these auxiliary variables, we can now couple the trap-particle dynamics [\[eq:system_acoustic\]](#eq:system_acoustic){reference-type="eqref" reference="eq:system_acoustic"} with the virtual system [\[eq:dz_dt\]](#eq:dz_dt){reference-type="eqref" reference="eq:dz_dt"}. To this end, similar to [\[eq:M_implicit\]](#eq:M_implicit){reference-type="eqref" reference="eq:M_implicit"}, we define the following constraint along path \(Q\): \[\widetilde M(\theta(t), \dot\theta(t), v(t), \zeta(t)) := m\ddot{\textbf{q}}(\theta(t))-\tilde{F}({\zeta}(t)) = 0.\] Observe that i) we need \(\dot{\theta}(t)\) due to [\[eq:dpath_dpara_2\]](#eq:dpath_dpara_2){reference-type="eqref" reference="eq:dpath_dpara_2"}; and ii) \(\ddot{\theta}(t)\) can be replaced by \(v(t)\) due to [\[eq:timingLaw\]](#eq:timingLaw){reference-type="eqref" reference="eq:timingLaw"}. Finally, combining this with the prior first-order differential system allows us to conceptually formulate the problem of computing a minimum-time motion along the path \(Q\) as: \[\label{eq:OCP2} \begin{aligned} \min_{v,T, \zeta}&~T + \gamma\int_0^T v(t)^2 \mathrm{d}t \\ \text{subject to}& \\ \dot{\textbf{z}}(t)&= \begin{pmatrix}0&1\\0&0\end{pmatrix}\textbf{z}(t)+\begin{pmatrix} 0\\1\end{pmatrix}v(t), \quad \textbf{z}(0) =\textbf{z}_0, ~\textbf{z}(T) = \textbf{z}_T, \\ 0&=\widetilde M(\textbf{z}(t), v(t), \zeta(t)), \\ \zeta(t)&\in [-1,1]^6. \end{aligned}\] The constraint on \(\zeta(t)\) is added since the trigonometric structure of [\[eq:zeta\]](#eq:zeta){reference-type="eqref" reference="eq:zeta"} is not directly encoded in the OCP, while \(\gamma\geq 0\) is a regularisation parameter. The case \(\gamma=0\) corresponds to strictly minimising time, which typically leads to an aggressive use of the forces around the trap. The example in Figure [\[fig:gamma_comparison\]](#fig:gamma_comparison){reference-type="ref" reference="fig:gamma_comparison"}(A) shows the trap accelerating the particle before arriving at the corner, then applying aggressive deceleration before it reaches the corner. At the top and bottom of the shape, again the particle is accelerated strongly, then it is suddenly decelerated by the traps placed behind it, in order to move around the curve. This would be the optimum solution in an ideal case (i.e., a device working *exactly* as per our model), but inaccuracies in the real device can make them unstable. Moreover, we observed the overall reductions in rendering time to usually be quite small. The regularisation (\(\gamma>0\)) enables *nearly* time-optimal solutions. More specifically, this is a strictly convex regularisation that penalises high magnitudes of the virtual input \(v = \ddot{\theta}\). This is most closely related to the accelerations applied to the particle, hence avoiding aggressive acceleration/deceleration as shown in Figures [\[fig:gamma_comparison\]](#fig:gamma_comparison){reference-type="ref" reference="fig:gamma_comparison"}(B) and (C). Several heuristics could be proposed to automate selection of a suitable value for \(\gamma\) (e.g., use smallest \(\gamma\) ensuring that the dot product of \(\dot{\textbf{p}}(t)\) and \(\dot{\textbf{u}}(t)\) remains always positive), but this step is considered beyond the scope of the current paper. Note that the OCP in [\[eq:OCP2\]](#eq:OCP2){reference-type="eqref" reference="eq:OCP2"} yields the (nearly) optimal timing along the path \(Q\), respecting the particle dynamics and hence solving *Challenge 1*. Moreover, it yields the required forces through \(\zeta(t)\). However, it does not give the trap trajectory \(\textbf{u}(t)\) that generates these forces. To obtain the trap trajectory and thus solve *Challenge 2*, we refine [\[eq:OCP2\]](#eq:OCP2){reference-type="eqref" reference="eq:OCP2"} in the following section.
## Computing the Trap Trajectory {#ssec:extract-trap-trajectory}
The second stage in our approach deals with *Challenge 2*, computing the trap trajectory \(\textbf{u}(t)\) based on the solution of [\[eq:OCP2\]](#eq:OCP2){reference-type="eqref" reference="eq:OCP2"}. In theory, we would use the values for \(\zeta_i(t)\), \(i=1...,6\) and \(q_j(\theta(t))\), \(j\in\{x,y,z\}\) to determine the particle position and force required at each moment in time, obtaining the required trap position \(\textbf{u}(t)\) by solving [\[eq:zeta\]](#eq:zeta){reference-type="eqref" reference="eq:zeta"}. In practice, solving \(\textbf{u}(t)\) from [\[eq:zeta\]](#eq:zeta){reference-type="eqref" reference="eq:zeta"} numerically is not trivial, particularly for values of \(\zeta_i\) close to \(\pm 1\), where numerical instabilities could occur, particularly for \(\zeta_1\) and \(\zeta_4\). We attenuate these difficulties by providing further structure to the OCP [\[eq:OCP2\]](#eq:OCP2){reference-type="eqref" reference="eq:OCP2"}, specifically regarding \(\zeta\): \[\label{eq:zeta_trig_pythagoras} \zeta_2^2+\zeta_3^2 = 1, \quad \zeta_5^2+\zeta_6^2 = 1.\] We also constrain the solvability of [\[eq:zeta\]](#eq:zeta){reference-type="eqref" reference="eq:zeta"} by using a constant back-off \(\varepsilon\in\interval[open]{0}{1}\) in order to avoid numerical instabilities: \[\label{eq:consistConstraints} -1+\varepsilon \leq \zeta_i \leq 1-\varepsilon, \quad i=1...,6.\] For the sake of compact notation, we summarise the above constraints in the following set notation \[\mathcal{Z} := \left\{\zeta \in \mathbb{R}^6 ~ | ~\eqref{eq:zeta_trig_pythagoras} \text{ and } \eqref{eq:consistConstraints} \text{ are satisfied}\right\}.\] The final OCP is then given by \[\label{eq:OCP3} \begin{aligned} \min_{v,T, \zeta}&~T + \gamma\int_0^T v(t)^2 \mathrm{d}t \\ \text{subject to}& \\ \dot{\textbf{z}}(t)&= \begin{pmatrix}0&1\\0&0\end{pmatrix}\textbf{z}(t)+\begin{pmatrix} 0\\1\end{pmatrix}v(t), \quad \textbf{z}(0) =\textbf{z}_0, ~\textbf{z}(T) = \textbf{z}_T, \\ 0&=\widetilde M(\textbf{z}(t), v(t), \zeta(t)), \\ \zeta(t)&\in \mathcal{Z}. \end{aligned}\] Finally, given \(\zeta(t) \in \mathcal{Z}\) and \(\theta(t)\) from the solution of [\[eq:OCP3\]](#eq:OCP3){reference-type="eqref" reference="eq:OCP3"}, we numerically solve [\[eq:zeta\]](#eq:zeta){reference-type="eqref" reference="eq:zeta"} for \(u_i\), \(i\in\{x,y,z\}\), using Powell's dog leg method . Please note that higher values of \(\varepsilon\) will limit the magnitudes of the forces exploited by our approach. A simple solution is to perform a linear search over \(\varepsilon\), only increasing its value and recomputing the solution if Powell's method fails to converge to a feasible trap location. For details on discretising the OCP [\[eq:OCP3\]](#eq:OCP3){reference-type="eqref" reference="eq:OCP3"}, we refer to the Supplementary Material S3.
# Evaluation {#sec:eval}
This section evaluates the capability of our algorithm to support content creation by generating physically feasible trap trajectories given only a reference path (i.e., a shape) as an input. We select a range of shapes and analyse the effects each step in our approach has on the final achievable size, rendering frequency, and reconstruction error, for each shape. We also inspect how these steps influence the presence of visual distortions in the end result. Finally, we analyse the resulting acceleration profiles.
## Test Shapes {#ssec:eval_test_shapes}
We used four test shapes for the evaluation: a circle, a cardioid, a squircle, and a fish, all shown in Figure [\[fig:EvalShapes\]](#fig:EvalShapes){reference-type="ref" reference="fig:EvalShapes"}. The circle is selected as a trivial case in terms of timing. It can be optimally sampled by using a constant angular speed (i.e., constant acceleration), and is there to test whether our solution converges towards such optimum solutions. The cardioid and squircle represent simple shapes featuring sharp corners (cardioid) and straight lines (squircle), both of them challenging features. Finally, the fish is selected as an example composite shape, featuring all elements (i.e., corners, straight lines, and curves). All of these shapes can be parameterised by low-frequency sinusoids (see Supplementary Material S4), ensuring the path parameter \(\theta\) progresses slowly in areas of high curvature. This provides a good starting point for our baseline comparison that we explain in Section [12.2](#ssec:eval_conditions){reference-type="ref" reference="ssec:eval_conditions"}. While our approach works for content in 3D, we perform the evaluation on shapes in a 2D plane of the 3D space to facilitate the analysis of accelerations in Section [12.6](#ssec:eval_accelerations){reference-type="ref" reference="ssec:eval_accelerations"}, which we will perform in terms of horizontal and vertical accelerations (i.e., the independent factors given our axis-symmetric model of forces), allowing us to validate *OptiTrap*'s awareness of particle directions and how close it can get to the maximum accelerations allowed by the dynamics of acoustic traps, as discussed in Section [11.1](#ssec:model-acoustic-forces){reference-type="ref" reference="ssec:model-acoustic-forces"}. Notice in Figure [\[fig:EvalShapes\]](#fig:EvalShapes){reference-type="ref" reference="fig:EvalShapes"}, that due to the timing differences, different shape elements exhibit different levels of brightness. To obtain homogeneous brightness along the shape, please refer to the solution proposed by, where the particle illumination is adjusted to the particle speed.
## Conditions Compared {#ssec:eval_conditions}
We compare three approaches to rendering levitated shapes, where each approach subsequently addresses one of the challenges introduced in Section [9](#sec:prob_stat){reference-type="ref" reference="sec:prob_stat"}. This will help us assess the impact that each challenge has on the final results obtained. The first condition is a straight-forward *Baseline*, with homogeneous sampling of the path parameter, which matches the example strategy shown in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(B), and placing traps where the particle should be. The *Baseline* still does not address any of the challenges identified (i.e., optimum timing or trap placement), but it matches approaches used in previous works and will illustrate their dependence on the specific shape and initial parametrisation used. The second condition, *OCP_Timing*, makes use of our *OptiTrap* approach to compute optimum and feasible timing (see Subsection [11.2.1](#sssec:OPT_timing){reference-type="ref" reference="sssec:OPT_timing"}), but still ignores *Challenge 2*, assuming that particles match trap location (i.e., it skips Subsection [11.2.2](#sssec:OPT_trap_placement){reference-type="ref" reference="sssec:OPT_trap_placement"}). The third condition is the full *OptiTrap* approach, which considers feasibility and trap-particle dynamics and deals with both the timing and trap placement challenges. These conditions are used in a range of comparisons involving size, frequency, reconstruction error as well as comparative analysis of the effects of each condition on the resulting particle motion, detailed in the following sections.
## Maximum Achievable Sizes {#ssec:eval_sizes}
This section focuses on the maximum sizes that can be achieved for each test shape and condition, while retaining an overall rendering time of 100ms[^1] (i.e., PoV threshold). For each of these cases, we report the maximum achievable size and reliability, which were determined as follows. Maximum size is reported in terms of shape width and in terms of meters of *content per second* rendered, and their determination was connected to the feasibility of the trap trajectories, particularly for the *Baseline* condition.
More specifically, we determined maximum feasible sizes for the *Baseline* condition by conducting an iterative search. That is, we increased the size at each step and tested the reliability of the resulting shape. We considered the shape feasible if it could be successfully rendered at least 9 out of 10 times in the actual levitator. On a success, we would increase size by increasing the shape width by half a centimetre. On a failure, we would perform a binary search between the smallest size failure and the largest size success, stopping after two consecutive failures and reporting the largest successful size. This illustrates the kind of trial and error that a content designer would need to go through without our approach and it was the most time consuming part of this evaluation. For the other two conditions (i.e., *OCP_Timing* and *OptiTrap*), maximum sizes could be determined without needing to validate their feasibility in the final device. Again, we iteratively increased the shape size using the same search criteria as before (i.e., 5mm increases, binary search). We assumed any result provided would be feasible (which is a reasonable assumption; see below) and checked the resulting total rendering time, increasing the size if the time was still less than 100ms. At each step, a linear search was used, iteratively increasing \(\varepsilon\), until feasible trap locations could be found (i.e., equation [\[eq:zeta\]](#eq:zeta){reference-type="eqref" reference="eq:zeta"} could be solved without numerical instabilities). Adjusting the value of the regularisation parameter \(\gamma\) was done by visually inspecting the resulting trap trajectories, until no discontinuities could be observed (see Figure [\[fig:gamma_comparison\]](#fig:gamma_comparison){reference-type="ref" reference="fig:gamma_comparison"}). Please note that this is a simple and quick task, which, unlike the *Baseline* condition, does not involve actual testing on the levitation device and could even be automated. All solutions provided can be assumed feasible, and the designer only needs to choose the one that better fits their needs. Once the maximum achievable sizes were determined, these were tested in the actual device. We determined the feasibility of each shape and condition by conducting ten tests and reporting the number of cases where the particle succeeded to reveal the shape. This included the particle accelerating from rest, traversing/revealing the shape for 6 seconds and returning to rest. Table [\[table:shape_sizes_results\]](#table:shape_sizes_results){reference-type="ref" reference="table:shape_sizes_results"} summarises the results achieved for each test shape and condition. First of all, it is worth noting that all trials were successful for *OptiTrap* and *OCP_Timing* approaches, confirming our assumption that the resulting paths are indeed feasible and underpinning *OptiTrap*'s ability to avoid trial and error on the actual device during content creation. The results and relative improvements in terms of size vary according to the particular condition and shape considered. For instance, it is interesting to see that all conditions yield similar final sizes for the circle, showing that *OptiTrap* (and *OCP_Timing*) indeed converge towards optimum solutions. More complex shapes where the *Baseline* parametrisation is not optimal (i.e., cardioid, squircle, and fish), show increases in size when using *OCP_Timing* and *OptiTrap*. More interestingly, the increases in size vary greatly between shapes, showing increases of around \(12\%\) for the fish and cardioid, and up to \(562\%\) for the squircle. This is the result of the explicit parametrisation used, with reduced speeds at corners in the fish and cardioid cases, but not in the case of the squircle. It is also interesting to see that *OCP_Timing* and *OptiTrap* maintain high values of *content per second* rendered, independently of the shape. That is, while the performance of the *Baseline* approach is heavily determined by the specific shape (and parametrisation) used, the OCP-based approaches (*OCP_Timing* and *OptiTrap*) yield results with consistent *content per second*, determined by the capabilities of the device (but not so much by the specific shape). Finally, please note that no changes in terms of maximum size can be observed between *OCP_Timing* and *OptiTrap*.
## Maximum Rendering Frequencies {#ssec:eval_frequencies}
[\[table:shape_frequency_results\]]{#table:shape_frequency_results label="table:shape_frequency_results"}
In this second evaluation, we assessed the effect of the timing strategy on the maximum achievable rendering frequencies. To do this, we selected the maximum achievable sizes obtained in the prior evaluation for each shape. We then reproduced such sizes with the *Baseline* approach, searching for the maximum frequency at which this approach could reliably render the shape (using the same searching and acceptance criteria as above). That is, while we knew *OCP_Timing* and *OptiTrap* could provide 10Hz for these shapes and sizes, we wanted to determine the maximum frequency at which the *Baseline* would render them, as to characterise the benefits provided by optimising the timing. The results are summarised in Table [5](#table:shape_frequency_results){reference-type="ref" reference="table:shape_frequency_results"}. As expected, no changes are produced for the circle. However, there is a 25% increase for the cardioid, 150% for the squircle, and 11% increase for the fish using the *OptiTrap* method. Again, please note that no differences can be observed in terms of maximum frequency between *OCP_Timing* and *OptiTrap*.
## Reconstruction Accuracy {#ssec:eval_accuracy}
To evaluate the reconstruction accuracy, we recorded each of the trials in our maximum size evaluations (see Section [12.3](#ssec:eval_sizes){reference-type="ref" reference="ssec:eval_sizes"}) using an OptiTrack camera system. We then computed the Root Mean Squared Error (RMSE) between the recorded data and the intended target shape, taking 2s of shape rendering into account (exclusively during the cyclic part, ignoring ramp-up/ramp-down). For a fair comparison across trials, we normalise the RMSE with respect to the traversed paths, by dividing the RMSE by the total path length of each individual test shape. The results are summarised in Table [6](#table:RMSE_results){reference-type="ref" reference="table:RMSE_results"}.
[\[table:RMSE_results\]]{#table:RMSE_results label="table:RMSE_results"}
On average, both *OCP_Timing* and *OptiTrap* provide better results in terms of accuracy, when compared to the *Baseline*. It is particularly worth noting that the accuracy results, in terms of the raw RMSE for *OptiTrap* and *OCP_Timing*, are better for the cardioid when compared to the *Baseline*, even though a larger shape is being rendered. While the raw RMSE of *OCP_Timing* and *OptiTrap* is slightly larger for the squircle, we need to take into account that the size rendered by *OCP_Timing* and *OptiTrap* is almost 6 times larger. Comparing accuracy in terms of normalised RMSE shows consistent increases of accuracy for *OptiTrap* compared to the *Baseline*, with overall decreases in the RMSE of \(41.7\%\) (circle), \(25.4\%\) (cardioid), \(78.5\%\) (squircle), and \(53.8\%\) (fish). *OCP_Timing* shows a decrease of \(25.4\%\), \(5.14\%\), and \(77.8\%\) of the normalised RMSE for the circle, cardioid, and squircle, with the exception of the fish, where the normalised RMSE increased by \(17.1\%\), when compared to the *Baseline*. Comparing the reconstruction accuracy of *OCP_Timing* and *OptiTrap* highlights the relevance of considering trap dynamics to determine trap locations (i.e., Section [11.3](#ssec:extract-trap-trajectory){reference-type="ref" reference="ssec:extract-trap-trajectory"}). *OptiTrap* consistently provides smaller RMSE than *OCP_Timing*, as a result of considering and accounting for the trap-to-particle displacements required to apply specific accelerations. We obtain a \(21.8\%\), \(21.3\%\), \(2.9\%\) and \(60.5\%\) decrease in the normalised RMSE, for the circle, cardioid, squircle, and fish, respectively. Such differences are visually illustrated in Figure [\[fig:eval_trap_location\]](#fig:eval_trap_location){reference-type="ref" reference="fig:eval_trap_location"}, showing the effects on the cardioid and fish, for the *OCP_Timing* and *OptiTrap* approaches. It is worth noting how placing the traps along the reference path results in the cardioid being horizontally stretched, as the particle needs to retain larger distances to the trap to keep the required acceleration (horizontal forces are weaker than vertical ones). This also results in overshooting of the particle at corner locations, which can be easily observed at the corner of the cardioid and in the fins of the fish. For completeness, the visual comparison for the remaining two test shapes is provided in the Supplementary Material S5.
## Analysis of Acceleration profiles {#ssec:eval_accelerations}
Finally, we examined the acceleration profiles produced by *OptiTrap* and how these differ from the pre-determined acceleration profiles of the *Baseline*. Please note that we only compare and discuss *OptiTrap* and *Baseline* in Figure [\[fig:force_plots\]](#fig:force_plots){reference-type="ref" reference="fig:force_plots"}, and only for the fish shape. *OCP_Timing* is not included, as it results in similar acceleration profiles as *OptiTrap*. Only the fish is discussed, as it already allows us to describe the key observations that can be derived from our analysis. For completeness, the acceleration profiles for all remaining test shapes are included in the Supplementary Material S6. As introduced above, Figure [\[fig:force_plots\]](#fig:force_plots){reference-type="ref" reference="fig:force_plots"} shows the particle accelerations and speeds of a particle revealing a fish shape of maximum size (i.e., a width of 8.76cm), rendered over 100ms using the *OptiTrap* and *Baseline* approaches. It is worth noting that while *OptiTrap* succeeded in rendering this shape, *Baseline* did not (the maximum width for *Baseline* was 7.77cm). A first interesting observation is that although *OptiTrap* provides lower total accelerations than the *Baseline* during some parts of the path (see Figure [\[fig:force_plots\]](#fig:force_plots){reference-type="ref" reference="fig:force_plots"}(A)), it still manages to reveal the shape in the same time. The key observation here is that the regions where the total acceleration is lower for *OptiTrap* match with the parts of the path where the horizontal acceleration is very close to its maximum; for example, note the flat regions in Figure [\[fig:force_plots\]](#fig:force_plots){reference-type="ref" reference="fig:force_plots"}(B) of around \(\pm 300 m/{s}^2\)). This is an example of *OptiTrap*'s awareness of the dynamics and capabilities of the actual device, limiting the acceleration applied as to retain the feasibility of the path. Second, it is worth noting that maximum horizontal accelerations are significantly smaller than vertical accelerations. As such, it does make sense for horizontal displacements to become the limiting factor. In any case, neither acceleration exceeds its respective maximum value. The *OptiTrap* approach recovers any missing time by better exploiting areas where acceleration is unnecessarily small. It is also worth noting that the value of the horizontal and vertical accelerations are not simply being capped to a maximum acceleration value per direction (e.g., simultaneously maxing out at \(\pm 300 m/{s}^2\) and \(\pm 600 m/{s}^2\) in the horizontal and vertical directions), as such cases are not feasible according to the dynamics of our acoustic traps. Third, it is interesting to note that the final acceleration profile is complex, retaining little resemblance with the initial parametrisation used. This is not exclusive for this shape and can be observed even in relatively simple shapes, such as the cardioid in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(D) or the remaining shapes, provided in the Supplementary Material S6. The complexity of these profiles is even more striking if we look at the final speeds resulting from both approaches (see Figure [\[fig:force_plots\]](#fig:force_plots){reference-type="ref" reference="fig:force_plots"}(D)). Even if the acceleration profiles of *Baseline* and *OptiTrap* are very different, their velocity profiles show only relatively subtle differences. But even if these differences are subtle, they mark the difference between a feasible path (i.e., *OptiTrap*) and a failed one (i.e., *Baseline*). These complex yet subtle differences also illustrate how it is simply not sensible to expect content designers to deal with such complexity, and how *OptiTrap* is a necessary tool to enable effective exploitation of PoV levitated content.
# Discussion
This paper presented *OptiTrap*, an automated approach for optimising timings and trap placements, as to achieve feasible target shapes. We believe this is a particularly relevant step for the adoption of levitation PoV displays, as it allows the content creator to focus on the shapes to present, with feasible solutions being computed automatically, while making effective usage of the capabilities of the device. As such, we hope *OptiTrap* to become an instrumental tool in helping explore the actual potential of these displays. However, *OptiTrap* is far from a complete content creation tool. Such a tool should consider the artist's workflows and practices. Similarly, testing and identifying most useful heuristics to tune our approach (e.g., the regularisation) or visualisation tools identifying tricky parts of the shapes (i.e., requiring high accelerations) should be included as a part of this process. Our goal is simply to provide the base approach enabling this kind of tools. Even this base approach can be extended in a variety of ways. Our levitator prototype is built from off-the-shelf hardware, and is still subject to inaccuracies that result in distortions in the sound-fields generated. As such, more accurate levitation hardware or, alternatively, a model reflecting the dynamics of the system in a more accurate manner would be the most obvious pathway to improve our approach. It is worth noting that both factors should be advanced jointly. A more accurate model could also be less numerically stable, potentially leading to worse results if the hardware is not accurate enough. The high update rates of 10kHz required by the levitator and the millisecond delays introduced by optical tracking systems indicate that closed-loop approaches can be both promising and challenging avenues to explore. Assuming a tracking device synchronised with the levitation device (as to map current trap locations with real particle positions), *OptiTrap* could be combined with learning-based approaches. These learning-based approaches will require example paths (i.e., with initial timing and trap placement), and their achievable complexity and convergence will be limited by the examples provided. In such cases, *OptiTrap* can be used to always generate feasible initial trajectories (i.e., to avoid system restarts on failure). Thus learning-based approaches could be used to further refine *OptiTrap* beyond our current model, as to account for device inaccuracies such as those discussed by . However, higher gains can be obtained from more radical changes in the approach. For instance, our approach optimises the timing and trap placement, but it does not modify the target shapes. As illustrated in Figure [\[fig:force_plots\]](#fig:force_plots){reference-type="ref" reference="fig:force_plots"}, slight changes in speed have significant effects on the acceleration profiles (and feasibility) of the shapes. This is even more prominent for position, where small changes can heavily influence the acceleration and feasibility of target shapes. As such, approaches exploiting subtle modifications to the shape could lead to significant gains in rendering performance. Another interesting possibility would be extending our approach to use several particles. As shown in, while the use of several particles does not increase the overall power that can be leveraged, it does allow for increased flexibility. That is, the intensity/forces of each trap can be individually and dynamically adjusted, as to match the needs of the region of the path that each particle is revealing. Also, particles can each be rendering specific independent features, so the content is not limited to a single connected path, and the particles do not waste time/accelerations traversing parts of the path that will not be illuminated (i.e., visible). This approach, however, entails significant challenges. The first obvious challenge is the reliability of the intensity control of the traps. demonstrate accurate control of the stiffness at the centre of the traps, but the effects of multiple (interfering) traps in each trap's topology (i.e., how forces distribute around the trap) is yet to be studied. A second challenge is that each particle is not forced to traverse the path at the same speed/rates, with such independent timing progression becoming an additional degree of freedom to account for. Finally, further extensions to our work can come from its application to domains other than PoV displays. An obvious next step would be to adapt *OptiTrap* to photophoretic displays, which trap particles using optical traps instead of acoustic traps. This would involve including a model of the dynamics of such optical traps, but it can also involve further challenges, such as modelling the response times of galvanometers and LC panels involved in creating the trap. Our approach can also be adapted to applications requiring objects to be transported quickly and accurately. For example, contactless transportation of matter has a wealth of applications in areas such as the study of physical phenomena, biochemical processes, materials processing, or pharmaceutics. Our method can help solving such problems by directly computing a rest-to-rest solution of the matter to be transported, given an estimation of the mass of that matter, the acoustic force acting on the matter, and a path from start to target position.
# Conclusion
In this paper we proposed the first structured numerical approach to compute trap trajectories for acoustic levitation displays. *OptiTrap* automatically computes physically feasible and nearly time-optimal trap trajectories to reveal generic mid-air shapes, given only a reference path. Building on a novel multi-dimensional approximation of the acoustic forces around the trap, we formulate and show how to solve a non-linear path following problem without requiring or exploiting differential flatness of the system dynamics. We demonstrate increases of up to 563% in size and up to 150% in frequency for several shapes. Additionally, we obtain better reconstruction accuracy with up to a 79% decrease in the path-normalised RMSE. While previously, feasible trap trajectories needed to be tuned manually for each shape and levitator, our approach requires calibration of each individual levitator just once. We are confident that the ideas in this paper could form the basis for future content authoring tools for acoustic levitation displays and bring them a key step closer to real-world applications.
# Introduction
Acoustic levitation has recently demonstrated the creation of volumetric content in mid-air by exploiting the Persistence of Vision (PoV) effect. This is achieved by using acoustic traps to rapidly move single or multiple particles along a periodic reference path, revealing a shape within \(0.1s\) (i.e., the integration interval of human eyes ). However, the way to define such PoV content remains unsolved. That is, there are no automated approaches to compute the *trap trajectories*, i.e., the positioning and timing of the acoustic traps that will allow us to reveal the desired shape. Currently, content creators can only rely on trial and error to find physically feasible trap trajectories resembling their intended target shapes, resulting in a time consuming and challenging process. For instance, the creator will need to define the timing of the path (i.e., not only *where* the particle must be, but also *when*). Such timing is not trivial and will affect the overall rendering time and the accelerations applied to the particle, which must be within the capabilities of the levitator. The way forces distribute around the acoustic trap will also need to be considered to decide where traps must be located. Considering these challenges is crucial to design feasible trap trajectories, as a single infeasible point along the trajectory typically results in the particle being ejected from the levitator (e.g., approaching a sharp corner too quickly). Thus, while it has been theorised that linear PoV paths of up to 4m and peak speeds of 17m/s are possible , actual content demonstrated to date has been limited to simple shapes with almost constant curvature along the path and much lower speeds (e.g., 0.72m/s in ; 1.2m/s in ; 2.25m/s in, combining six particles). In this paper, we present *OptiTrap*, the first structured numerical approach to compute trap trajectories for acoustic levitation displays. *OptiTrap* automates the definition of levitated PoV content, computing physically feasible and nearly time-optimal trap trajectories given only a reference path, i.e., the desired shape. As shown in Figure [\[fig:teaser\]](#fig:teaser){reference-type="ref" reference="fig:teaser"}, this allows for larger and more complex shapes than previously demonstrated, as well as shapes featuring significant changes in curvature and/or sharp corners. Our approach is summarised in Figure [\[fig:teaser_diagram\]](#fig:teaser_diagram){reference-type="ref" reference="fig:teaser_diagram"}. *OptiTrap* assumes only a generic reference path \(\textbf{q}(\theta)\) as an input, with no temporal information (see Figure [\[fig:teaser_diagram\]](#fig:teaser_diagram){reference-type="ref" reference="fig:teaser_diagram"}(A)). *OptiTrap* formulates this as a path following problem (see Figure [\[fig:teaser_diagram\]](#fig:teaser_diagram){reference-type="ref" reference="fig:teaser_diagram"}(B)), computing the optimum timing in which a particle can traverse such path. Our formulation considers the *Trap-Particle Dynamics* of the system, using a 3D model of acoustic forces around a trap. This results in a non-invertible model, which cannot exploit differential flatness , on which most path following approaches rely. We instead provide a coupling stage for the dynamics of our system and numerically invert the system. This approach produces a trap trajectory \(\textbf{u}(t)\) (Figure [\[fig:teaser_diagram\]](#fig:teaser_diagram){reference-type="ref" reference="fig:teaser_diagram"}(C)) that results in the intended and nearly time-optimal particle motion. That is, \(\textbf{u}(t)\) defines the positions and timing of the traps that cause the particle to reveal the target shape \(\textbf{q}(\theta)\), according to the capabilities of the actual device, cf. Figure [\[fig:teaser_diagram\]](#fig:teaser_diagram){reference-type="ref" reference="fig:teaser_diagram"}(D). In summary, we contribute the first structured numerical approach to compute physically feasible and nearly time-optimal trap trajectories for levitation displays, given only a reference path that the particle should follow. As a core contribution, we provide a theoretical formulation of the problem in terms of path following approaches, allowing optimum timing and device properties (e.g., trap-particle dynamics) to be jointly considered. All the details of the approach we propose are provided in Section [11](#sec:opt){reference-type="ref" reference="sec:opt"}. We illustrate the potential of our approach by rendering shapes featuring straight lines, sharp corners, and complex shapes, such as those in Figure [\[fig:teaser\]](#fig:teaser){reference-type="ref" reference="fig:teaser"}. We then provide an experimental validation of our approach, demonstrating increases of up to 563% in the size of rendered objects, up to 150% in the rendering frequency, and improvements in accuracy (e.g., shape revealed more accurately). While the baseline shapes we compare against require trial and error to determine optimal sizes or frequencies, our approach always yields feasible paths (i.e., working in at least 9 out of 10 attempts) and makes consistent use of accelerations very close to (but not exceeding) the maximum achievable by the device, independently of the target shape. These features allow *OptiTrap* to render complex objects involving sharp edges and significant changes in curvature that have never been demonstrated before. Even more importantly, it provides a tool to systematically explore the range of contents that levitation displays can create, as a key step to exploit their potential.
# Background and Challenges {#sec:prob_stat}
Our goal is is to minimise complexity for content creators. Thus, given a reference path (i.e., a shape defined by the content creator), our approach must produce physically feasible trap trajectories, which accurately reveal the desired path, while making optimal use of the capabilities of the device. We formalise our content as a reference path \(Q\), provided by the content creator without any preassigned time information. It is an explicitly parametrized curve \[\label{eq:path} Q:=\{\] where \(\textbf{q}\colon\mathbb{R} \rightarrow \mathbb{R}^3\), as later justified in Section [11.2](#ssec:OPT){reference-type="ref" reference="ssec:OPT"}, must be a twice continuously differentiable function with respect to \(\theta\), which is called the path parameter. Increasing values of \(\theta\) denote forward movement along the path \(Q\). The starting point on the path is \(\textbf{q}(\theta_0)\), while \(\textbf{q}(\theta_f)\) marks the end of the path. For periodic paths, such as a particle cyclically revealing a PoV shape, \(\textbf{q}(\theta_0) = \textbf{q}(\theta_f)\) and \(\dot{\textbf{q}}(\theta_0) = \dot{\textbf{q}}(\theta_f)\) hold. Please note that while splines would provide a generic solution to this parametrization (i.e., twice continuously differentiable fitting the points in \(Q\)), any other parametric functions can be used. For example, taking \(\theta\in[0, 2\pi]\) and \(r>0\), a cardioid as in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}, can be described by: \[\label{eq:cardioid} \textbf{q}(\theta)=(0, r\sin(\theta)(1+\cos(\theta)),-r\cos(\theta)(1+\cos(\theta))+r)^\top.\] Whatever the approach used, revealing such reference paths typically involves rapid particle movements, as PoV content must be revealed within about \(0.1s\) ) and must consider the feasibility of the path (i.e., the trap-particle dynamics, the topology of the trap, and the capabilities of the levitator). This results in the following two main challenges for *OptiTrap*: 1) determining the optimal timing for the particle revealing the path; and 2) computing the trap positions generating the required forces on the particle.
## Challenge 1: Determining an Optimal Path Timing
The reference path \(Q\) defines the geometry but not the timing (i.e., it describes *where* the particle needs to be, but not *when* it needs to be there). Our approach must compute such a timing, and the strategy followed will have important implications on the velocity and accelerations applied to the particle and, hence, on the physical feasibility of the content. Different timing strategies and their effects on the feasibility can be illustrated using the cardioid example from [\[eq:cardioid\]](#eq:cardioid){reference-type="eqref" reference="eq:cardioid"}. Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"} depicts various timing strategies applied to this shape, all of them traversing the same path in the same overall time. A straight-forward approach would be to sample equidistantly along the path, as shown in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(A). This works well for lines and circles, where a constant speed can be maintained, but fails at sudden changes in curvature due to uncontrolled accelerations (see the acceleration at the corner of cardioid in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(D), at \(\theta=\pi\)). The second example in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(B) shows a simple equidistant sampling on the path parameter \(\theta\). As shown in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(D), this results in areas of strong curvature naturally involving low accelerations, and can work particularly well for low-frequency path parametrizations in terms of sinusoidals (e.g., showed such sinusoidal timing along straight paths, to theorise optimum/optimistic content sizes). In any case, the quality of the result obtained by this approach will vary depending on the specific shape and parametrization used. As an alternative, the third example shows the timing produced by our approach, based on the shape and capabilities of the device (i.e., forces it can produce in each direction). Please note how this timing reduces the maximum accelerations required (i.e., retains them below the limits of the device), by allowing the particle to travel faster in parts that were unnecessarily slow (e.g., Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(D), at \(\theta=\pi\)). For the same maximum accelerations (i.e., the same device), this timing strategy could produce larger shapes or render them in shorter times, for better refresh rates. This illustrates the impact of a careful timing strategy when revealing any given reference path. We address this challenge in Section [11.2](#ssec:OPT){reference-type="ref" reference="ssec:OPT"}.
## Challenge 2: Computation of Trap Positions
In addition to the timing, the approach must also compute the location of the traps. Previous approaches placed the traps along the shape to be presented, under the implied assumption that the particle would remain in the centre of such trap. However, the location where the traps must be created almost never matches the location of the particle. Acoustic traps feature (almost) null forces at the centre of the trap and high restorative forces around them. As such, the only way a trap can accelerate a particle is by having it placed at a distance from the centre of the trap. Such trap-particle distances were measured by to assess performance achieved during their speed tests. Distortions related to rendering fast moving PoV shapes were also shown in. However, none of them considered or corrected for such displacements. Please note the specific displacement between the trap and the particle will depend on several factors, such as the particle acceleration required at each point along the shape, as well as the trap topology (i.e., how forces distribute around it). No assumptions can be made that the traps will remain constrained to positions along or tangential to the target shape. We describe how our approach solves this challenge in Section [11.3](#ssec:extract-trap-trajectory){reference-type="ref" reference="ssec:extract-trap-trajectory"}.
# Related Work
*OptiTrap* addresses the challenges above by drawing from advances in the fields of acoustic levitation and control theory, which we review in this section.
## Acoustic Levitation
Single frequency sound-waves were first observed to trap dust particles in the lobes of a standing wave more than 150 years ago . This has been used to create mid-air displays with particles acting as 3D voxels , but such standing waves do not allow control of individual particles. Other approaches have included Bessel beams , self-bending beams , boundary holograms or near-field levitation . However, most display approaches have relied on the generic levitation framework proposed by , combining a focus pattern and a levitation signature. Although several trap topologies (i.e., twin traps, vortex traps or bottle beams) and layouts (i.e., one-sided, two-sided, v-shape) are possible, most displays proposed have adopted a top-bottom levitation setup and twin traps, as these result in highest vertical trapping forces. This has allowed individually controllable particles/voxels or even particles attached to other props and projection surfaces for richer types of content . The use of single or multiple fast moving particles have allowed for dynamic and free-form volumetric content, but is still limited to small sizes and simple vector graphics . Several practical aspects have been explored around such displays, such as selection and manipulation techniques , content detection and initialisation or collision avoidance . However, no efforts have been made towards optimising content considering the capabilities (i.e., the dynamics) of such displays, particularly for challenging content such as the one created by PoV high-speed particles. showed sound-fields must be updated at very high rates for the trap-particle system to engage in high accelerations, identifying optimum control for rates above 10kHz. However, they only provided a few guidelines (e.g., maximum speed in corners, maximum horizontal/vertical accelerations) to guide the definition of the PoV content. provided a theoretical exploration of this topic, looking at maximum achievable speeds and content sizes, according to the particle sizes and sound frequency used. While the dynamics of the system were considered, these were extremely simplified, using a model of acoustic trap forces and system dynamics that are only applicable for oscillating recti-linear trajectories along the vertical axis of the levitator. proposed a generic system simulating the dynamics of a top-bottom levitation system. This operates as a forward model simulating the behaviour of the particle given a specific path for the traps, but unlike our approach it does not address the inverse problem. Thus, *OptiTrap* is the first algorithm allowing the definition of PoV content of generic shapes, starting only from a geometric definition (i.e., shape to present, no timing information) and optimising it according to the capabilities of the device and the dynamics of the trap-particle system.
## Path Following and Optimal Control {#sec:PFopt}
The particle in the trap constitutes a dynamical system, which can be controlled by setting the location of the trap. As such, making the particle traverse the reference path can be seen as an optimal control problem (OCP). In the context of computer graphics, optimal control approaches have been studied particularly in the areas of physics-based character animation and aerial videography . Such OCPs can be considered as function-space variants of nonlinear programs, whereby nonlinear dynamics are considered as equality constraints. In engineering applications, OCPs are frequently solved via direct discretization , which leads to finite-dimensional nonlinear programs. In physics-based character animation, such direct solution methods are known as spacetime constraints . If framed as *a levitated particle along a given geometric reference path (i.e., the PoV shape)*, the problem can be seen as an instance of a path following problem . Such problems also occur in aerial videography, when a drone is to fly along a reference path . In order to yield a physically feasible trajectory, it is necessary to adjust the timing along that trajectory. This can be done by computing feed-forward input signals or, if the system dynamics and computational resources allow, using closed-loop solutions, such as Model Predictive Control in . However, optimal control of acoustically levitated particles cannot be approached using such techniques. All of the above approaches require *differential flatness* . That is, the underlying system dynamics must be invertible, allowing for the problem to be solved by projecting the dynamics of the moving object onto the path manifold . This inversion approach also enables formulating general path following problems in the language of optimal control, encoding desired objectives (e.g., minimum time, see ). As discussed later in Section [11.1](#ssec:model-acoustic-forces){reference-type="ref" reference="ssec:model-acoustic-forces"}, the distribution of forces around the acoustic trap (i.e., our system dynamics) are not invertible, requiring approaches that have not been widely developed in the literature. We do this by coupling the non-invertible particle dynamics into a virtual system, solvable with a conventional path following approach. We then use these coupling parameters and our model of particle dynamics to solve for the location of the traps.
# Optimal Control for Levitation Displays {#sec:opt}
This section provides a description of our *OptiTrap* approach, which automates the definition of levitated content, computing physically feasible and nearly time-optimal trap trajectories using only a reference path as an input. In Section [11.1](#ssec:model-acoustic-forces){reference-type="ref" reference="ssec:model-acoustic-forces"}, we first describe our specific hardware setup and the general mathematical framework, then we consider existing models of the trap-particle dynamics (Subsection [11.1.1](#sssec:exsting-models){reference-type="ref" reference="sssec:exsting-models"}), before introducing our proposed model (Subsection [11.1.2](#sssec:our-model){reference-type="ref" reference="sssec:our-model"}). Next, we describe the two stages in our algorithm, which match the challenges identified in Section [9](#sec:prob_stat){reference-type="ref" reference="sec:prob_stat"}. That is, Section [11.2](#ssec:OPT){reference-type="ref" reference="ssec:OPT"} describes the computation of optimum timing, approached as an optimal path following problem, while Section [11.3](#ssec:extract-trap-trajectory){reference-type="ref" reference="ssec:extract-trap-trajectory"} explains how to compute the trap locations. Please note that Section [11](#sec:opt){reference-type="ref" reference="sec:opt"} focuses on the general case of presenting levitated content, that is, particles cyclically traversing a reference path (shape) as to reveal it. Other cases, such as a particle accelerating from rest as to reach the initial state (i.e., initial position and speed) required to render the content can be easily derived from the general case presented here, and are detailed in the Supplementary Material S1.
## Modelling the Trap-Particle Dynamics {#ssec:model-acoustic-forces}
We start by describing the model of the trap-particle dynamics used for our specific setup, shown in Figure [\[fig:setup\]](#fig:setup){reference-type="ref" reference="fig:setup"}. This setup uses two opposed arrays of 16×16 transducers controlled by an FPGA and an OptiTrack tracking system (Prime 13 motion capture system at a frequency of 240Hz). The design of the arrays is a reproduction of the setup in , modified to operate at 20Vpp and higher update rates of 10kHz. The device generates a single twin-trap using the method described in, allowing for vertical and horizontal forces of \(4.2\cdot10^{-5}\)N and \(2.1\cdot10^{-5}\)N, respectively, experimentally computed using the linear speed tests in (i.e., 10cm paths, binary search with 9 out 10 success ratios, with particle mass \(m\approx 0.7\cdot10^{-7}\) kg). Note the substantial difference between the maximum forces in the vertical and horizontal directions. Our approach will need to remain aware of direction as this determines maximum accelerations. In general, the trap-particle dynamics of such system can be described by simple Newtonian mechanics, i.e., \[\label{eq:system} m\ddot{\textbf{p}}(t) = F(\textbf{p}(t),\dot{\textbf{p}}(t),\textbf{u}(t)).\] Here, \(\textbf{p}(t)=(p_x, p_y, p_z)^\top \in \mathbb{R}^3\) represents the particle position in Cartesian \((x,y,z)\) coordinates at time \(t\in\mathbb{R}_0^+\), and \(\dot{\textbf{p}}(t)\) and \(\ddot{\textbf{p}}(t)\) are the velocity and acceleration of the particle, respectively. The force acting on the particle is mostly driven by the acoustic radiation forces and, as such, drag and gravitational forces can be neglected. Therefore, the net force acting on the particle will depend only on \(\textbf{p}(t)\) and on the position of the acoustic trap at time \(t\) denoted by \(\textbf{u}(t)=(u_x(t),u_y(t),u_z(t))^\top\in\mathbb{R}^3\). As a result, our approach requires an accurate and ideally invertible model of the acoustic forces delivered by an acoustic trap. That is, we seek an accurate model predicting forces at any point around a trap only in terms of \(\textbf{u}(t)\) and \(\textbf{p}(t)\). Moreover, an invertible model would allow us to analytically determine where to place the trap as to produce a specific force on the particle given the particle location. For spherical particles considerably smaller than the acoustic wavelength and operating in the far-field regime, such as those used by our device, the acoustic forces exerted can be modelled by the gradient of the Gor'kov potential . This is a generic model, suitable to model acoustic forces resulting from any combination of transducer locations and transducer activations, but it also depends on all these parameters, making it inadequate for our approach. Our case, using a top-bottom setup and vertical twin traps is much more specific. This allows for simplified analytical models with forces depending only on the relative position of the trap and the particle, which we compare to forces as predicted from the Gor'kov potential in Figure [\[fig:modelForces\]](#fig:modelForces){reference-type="ref" reference="fig:modelForces"}.
### Existing Models of the Trap-Particle Dynamics {#sssec:exsting-models}
Simple *spring* models have been used extensively, modelling trapping forces according to a *stiffness* parameter \(\mathcal{K}_i\), that is, with forces being proportional to the distance of the particle to the centre of the trap: \[F_i(\textbf{p},\textbf{u}) := \mathcal{K}_i \cdot |u_i-p_i|, \quad i \in \{x,y,z\}.\] Such models are usually refined by providing specific stiffness values for each dimension, but they are only suitable for particles remaining in close proximity to the centre of the trap, i.e., the linear region near the centre of the trap. As a result, *spring* models are only accurate for systems moving particles slowly, requiring low acceleration and forces (so that particles remain within the linear region). *Sinusoidal* models have been proposed as an alternative , providing accurate fitting from the centre of the trap to the peaks of the force distribution in Figure [\[fig:modelForces\]](#fig:modelForces){reference-type="ref" reference="fig:modelForces"}, according to the peak trapping force \(\mathcal{A}_i\) and characteristic frequency \(\mathcal{V}_i\): \[F_i(\textbf{p},\textbf{u}) := \mathcal{A}_i \cdot \sin(\mathcal{V}_i \cdot (u_i-p_i)), \quad i \in \{x,y,z\},\] However, both of these models (i.e., *spring* and *sinusoidal*) are only suitable for particles placed along one of the main axes of the acoustic trap, not for particles arbitrarily placed at any point around it. This is illustrated on the right of Figure [\[fig:modelForces\]](#fig:modelForces){reference-type="ref" reference="fig:modelForces"}, which provides an overview of how forces distribute on a horizontal and vertical 2D plane around a trap, according to each model (i.e., Gor'kov, *spring*, *sinusoidal*, and *Ours*, detailed in the next subsection). Please note how the three previous models show good matching along the horizontal and vertical axes (represented as blue and red lines). However, the *spring* and *sinusoidal* models are of one-dimensional nature (e.g., force \(F_x\) only depends on X distance \((u_x-p_x)\)) and become inaccurate at points deviating from the main axes.
### Our Model {#sssec:our-model}
The complexity of the force distribution modelled by the Gor'kov potential increases as the distance to the centre of the trap increases. However, we only need to derive a model allowing us to predict where to place the trap to produce a specific force on the particle. This allows us to limit our considerations to the region corresponding to the peaks designated by \(\mathcal{A}_r\) and \(\mathcal{A}_z\) in Figure [\[fig:modelForces\]](#fig:modelForces){reference-type="ref" reference="fig:modelForces"}. For points within this region, forces around twin traps distribute in a mostly *axis-symmetric* fashion, which can be approximated as:
where \(\mathcal{A}_r, \mathcal{A}_z\) represent peak trapping forces along the radial and vertical directions of the trap, respectively. \(\mathcal{V}_z\), \(\mathcal{V}_{xr}\), \(\mathcal{V}_{zr}\) represent characteristic frequencies of the sinusoidals describing how the forces evolve around the trap. The resulting forces can be converted into acoustic forces in 3D space from these cylindrical coordinates, with azimuth \(\phi = \arctan ((u_y-p_y)/(u_x-p_x))\): \[\label{eq:Facou} F(\textbf{p},\textbf{u}) = \begin{pmatrix} F_x(\textbf{p},\textbf{u}) \\ F_y(\textbf{p},\textbf{u}) \\ F_z(\textbf{p},\textbf{u}) \end{pmatrix} := \begin{pmatrix} F_r(\textbf{p},\textbf{u}) \cos\phi \\ F_r(\textbf{p},\textbf{u}) \sin\phi \\ F_z(\textbf{p},\textbf{u}) \end{pmatrix}.\] We validated our model by comparing its accuracy against the forces predicted by the gradient of the Gor'kov potential. More specifically, we simulated 729 single traps homogeneously distributed across the working volume of our levitator (i.e., 8x8x8cm, in line with ), testing 400 points around each trap for a total of 400x729 force estimations.
[\[table:fit_parameters\]]{#table:fit_parameters label="table:fit_parameters"}
Table [4](#table:fit_parameters){reference-type="ref" reference="table:fit_parameters"} summarises the error distribution achieved by these three models when compared to Gor'kov, showing an average relative error as low as 4% for our model and much poorer fitting for the other two models. Full details and raw data used in this validation can be found in the Supplementary Material S2. As a final summary, this results in a model for our trap-particle dynamics that only depends on \(\textbf{p}\) and \(\textbf{u}\) and which fits the definition of a second-order ordinary differential equation: \[\label{eq:system_acoustic} m\ddot{\textbf{p}}(t) = F(\textbf{p}(t),\textbf{u}(t)).\] While the resulting model is accurate (4% relative error), we note that it is not invertible, which will complicate the formulation of our solution approach. For instance, for a particle at \(\textbf{p}=(0,0,0)\), force \(F(\textbf{p},\textbf{u}) = (0,0, \mathcal{A}_z \cdot \cos\left(\mathcal{V}_{zr} \cdot x \right))\) can be obtained with either \(\textbf{u}= (x, 0, \pi/(2\mathcal{V}_z))\) or \(\textbf{u}= (-x, 0, \pi/(2\mathcal{V}_z))\).
## Open-Loop Optimal Path Following {#ssec:OPT}
This section computes the timing for the particle, so that it moves along the given reference path \(Q\) from [\[eq:path\]](#eq:path){reference-type="eqref" reference="eq:path"} in minimum time and according to the dynamics of the system. We approach this as an open-loop (or feed-forward) path following problem, as typically done in robotics . That is, we design an optimal control problem that computes the timing \(t \mapsto\theta(t)\) as to keep the levitated particle on the prescribed path, to traverse the path in optimum (minimum) time while considering the trap-particle dynamics (i.e., minimum *feasible* time). Our non-invertible model of particle dynamics calls for a more complex treatment of the problem, which we split in two parts. In the first part we derive a virtual system for the timing law, which we describe as a system of first-order differential equations, solvable with traditional methods. In the second part we couple the timing law with our non-invertible dynamics, introducing auxiliary variables that will later enable pseudo-inversion (i.e., to compute trap placement for a given force) as described in Section [11.3](#ssec:extract-trap-trajectory){reference-type="ref" reference="ssec:extract-trap-trajectory"}.
### Error Dynamics and the Timing Law. {#sssec:OPT_timing}
The requirement that the particle follows the path \(Q\) exactly and for all times means that the deviation from the path equals zero for all \(t\in\mathbb{R}^+_0\), i.e., \[\textbf{e}(t) := \textbf{p}(t)-\textbf{q}(\theta(t)) \equiv 0.\] If the path deviation \(\textbf{e}(t)\) is \(0\) during the whole interval \([t_0, t_1]\), this implies that the time derivatives of \(\textbf{e}(t)\) also have to vanish on \((t_0, t_1)\). Considering this (i.e., \(\dot e(t)\equiv 0\) and \(\ddot e(t)\equiv 0\)) results in:
Thus, for particles on the path \(Q\), system dynamics of the form [\[eq:system_acoustic\]](#eq:system_acoustic){reference-type="eqref" reference="eq:system_acoustic"}, and provided we are able to express \(\textbf{u}\) as a function of \(\textbf{p}\) and \(\ddot{\textbf{p}}\) (i.e., the system inversion described in Section [10.2](#sec:PFopt){reference-type="ref" reference="sec:PFopt"}), the position, the velocity, and the acceleration of the particle can be expressed via \(\theta, \dot\theta, \ddot\theta\), respectively. For details, a formal derivation, and tutorial introductions we refer to . Observe that in [\[eq:dpath_para\]](#eq:dpath_para){reference-type="eqref" reference="eq:dpath_para"} the partial derivatives \(\frac{\partial^2 \textbf{q}}{\partial \theta^2}\) and \(\frac{\partial \textbf{q}}{\partial \theta}\), as well as \(\dot\theta\) and \(\ddot\theta\) appear. This leads to two additional observations: First, the parametrisation \(\textbf{q}\) from [\[eq:path\]](#eq:path){reference-type="eqref" reference="eq:path"} should be at least twice continuously differentiable with respect to \(\theta\), so that the partial derivatives are well-defined. This justifies our constraint in Section [9](#sec:prob_stat){reference-type="ref" reference="sec:prob_stat"}. Please note this does not rule out corners in the path \(Q\), as shown by the parametrisation [\[eq:cardioid\]](#eq:cardioid){reference-type="eqref" reference="eq:cardioid"} of the cardioid. Second, the time evolution of \(\theta\) should be continuously differentiable, as otherwise large jumps can occur in the acceleration. To avoid said jumps, we generate the timing \(t\mapsto \theta(t)\) via the double integrator \[\label{eq:timingLaw} \ddot\theta(t) = v(t),\] where \(v(t) \in \mathbb{R}\) is a computational degree of freedom, used to control the progress of the particle along \(Q\). The function \(v(t)\) enables us to later cast the computation of time-optimal motions along reference paths as an OCP, see [\[eq:OCP2\]](#eq:OCP2){reference-type="eqref" reference="eq:OCP2"}. The in-homogeneous second-order ordinary differential equation [\[eq:timingLaw\]](#eq:timingLaw){reference-type="eqref" reference="eq:timingLaw"} takes care of jumps, but needs to be augmented by conditions on \(\theta\) and \(\dot{\theta}\) at initial time \(t=0\) and final time \(t=T\). This is done to represent the periodic nature of our content (i.e., the particle reveals the same path many times per second): \[\label{eq:timingLaw_bc} \theta(0)=\theta_0, \quad \theta(T)=\theta_f, \quad \dot{\theta}(0)=\dot{\theta}(T),\] where \(\theta_0\) and \(\theta_f\) are taken from [\[eq:path\]](#eq:path){reference-type="eqref" reference="eq:path"} and the total time \(T\) will be optimally determined by the OCP. The first two equations in [\[eq:timingLaw_bc\]](#eq:timingLaw_bc){reference-type="eqref" reference="eq:timingLaw_bc"} ensure that the path \(Q\) is fully traversed, while the third one ensures the speeds at the beginning and end of the path match. With these additional considerations, we define the (state) vector \(\textbf{z}(t):=(\theta(t), \dot{\theta}(t))^\top\), which finally allows us rewrite our second-order differential equations in [\[eq:timingLaw\]](#eq:timingLaw){reference-type="eqref" reference="eq:timingLaw"} as a system of first-order differential equations: \[\label{eq:dz_dt} \dot{\textbf{z}}(t)= \begin{pmatrix} 0&1\\ 0&0 \end{pmatrix}\textbf{z}(t)+\begin{pmatrix} 0\\ 1 \end{pmatrix}v(t), \quad \textbf{z}(0)=\textbf{z}_0, ~\textbf{z}(T) = \textbf{z}_T.\] Please note that [\[eq:dz_dt\]](#eq:dz_dt){reference-type="eqref" reference="eq:dz_dt"} is an equivalent *virtual* system to [\[eq:timingLaw\]](#eq:timingLaw){reference-type="eqref" reference="eq:timingLaw"} and [\[eq:timingLaw_bc\]](#eq:timingLaw_bc){reference-type="eqref" reference="eq:timingLaw_bc"}, solvable using standard Runge-Kutta methods . The system [\[eq:dz_dt\]](#eq:dz_dt){reference-type="eqref" reference="eq:dz_dt"} is suitable to generate the timing law, but the particle dynamics [\[eq:system_acoustic\]](#eq:system_acoustic){reference-type="eqref" reference="eq:system_acoustic"} still need to be included, as described next.
### Coupling of non-invertible particle dynamics: {#sssec:OPT_trap_placement}
To include the particle dynamics [\[eq:system_acoustic\]](#eq:system_acoustic){reference-type="eqref" reference="eq:system_acoustic"} in the computation of the timing, we need to couple them with the system [\[eq:dz_dt\]](#eq:dz_dt){reference-type="eqref" reference="eq:dz_dt"}. The typical approach is to rewrite [\[eq:system_acoustic\]](#eq:system_acoustic){reference-type="eqref" reference="eq:system_acoustic"} as: \[\label{eq:M_implicit} M(\ddot{\textbf{p}}(t), {\textbf{p}}(t), {\textbf{u}}(t)):= m\ddot{\textbf{p}}(t)-F(\textbf{p}(t),\textbf{u}(t)) = 0\] and make sure that this equation locally admits an inverse function: \[\label{eq:invModel} {\textbf{u}}(t) = M^{-1}(\ddot{\textbf{p}}(t), {\textbf{p}}(t)),\] This would allow us to easily compute the location of our traps. However, such inversion is not straightforward for our model, and to the best of our knowledge, standard solution methods do not exist for such cases. We deal with this challenge by introducing constraints related to our particle dynamics. These will allow us to compute feasible timings while delaying the computation of the exact trap location to a later stage in the process. More specifically, we introduce auxiliary variables \(\zeta_1...,\zeta_6\) for each trigonometric term in the force \(F\), and we replace \(p_i = q_i(\theta)\) for \(i \in \{x,y,z\}\) (i.e., particle position exactly matches our reference path):
With this, we are now able to formally express the force [\[eq:Facou\]](#eq:Facou){reference-type="eqref" reference="eq:Facou"} in terms of \(\zeta:=(\zeta_1...,\zeta_6)\), i.e., \[\tilde{F}(\zeta) := \begin{pmatrix} \mathcal{A}_r \zeta_1\zeta_2 \zeta_6 \\ \mathcal{A}_r \zeta_1\zeta_2 \zeta_5\\ \mathcal{A}_z \zeta_4\zeta_3 \end{pmatrix}.\] Using these auxiliary variables, we can now couple the trap-particle dynamics [\[eq:system_acoustic\]](#eq:system_acoustic){reference-type="eqref" reference="eq:system_acoustic"} with the virtual system [\[eq:dz_dt\]](#eq:dz_dt){reference-type="eqref" reference="eq:dz_dt"}. To this end, similar to [\[eq:M_implicit\]](#eq:M_implicit){reference-type="eqref" reference="eq:M_implicit"}, we define the following constraint along path \(Q\): \[\widetilde M(\theta(t), \dot\theta(t), v(t), \zeta(t)) := m\ddot{\textbf{q}}(\theta(t))-\tilde{F}({\zeta}(t)) = 0.\] Observe that i) we need \(\dot{\theta}(t)\) due to [\[eq:dpath_dpara_2\]](#eq:dpath_dpara_2){reference-type="eqref" reference="eq:dpath_dpara_2"}; and ii) \(\ddot{\theta}(t)\) can be replaced by \(v(t)\) due to [\[eq:timingLaw\]](#eq:timingLaw){reference-type="eqref" reference="eq:timingLaw"}. Finally, combining this with the prior first-order differential system allows us to conceptually formulate the problem of computing a minimum-time motion along the path \(Q\) as: \[\label{eq:OCP2} \begin{aligned} \min_{v,T, \zeta}&~T + \gamma\int_0^T v(t)^2 \mathrm{d}t \\ \text{subject to}& \\ \dot{\textbf{z}}(t)&= \begin{pmatrix}0&1\\0&0\end{pmatrix}\textbf{z}(t)+\begin{pmatrix} 0\\1\end{pmatrix}v(t), \quad \textbf{z}(0) =\textbf{z}_0, ~\textbf{z}(T) = \textbf{z}_T, \\ 0&=\widetilde M(\textbf{z}(t), v(t), \zeta(t)), \\ \zeta(t)&\in [-1,1]^6. \end{aligned}\] The constraint on \(\zeta(t)\) is added since the trigonometric structure of [\[eq:zeta\]](#eq:zeta){reference-type="eqref" reference="eq:zeta"} is not directly encoded in the OCP, while \(\gamma\geq 0\) is a regularisation parameter. The case \(\gamma=0\) corresponds to strictly minimising time, which typically leads to an aggressive use of the forces around the trap. The example in Figure [\[fig:gamma_comparison\]](#fig:gamma_comparison){reference-type="ref" reference="fig:gamma_comparison"}(A) shows the trap accelerating the particle before arriving at the corner, then applying aggressive deceleration before it reaches the corner. At the top and bottom of the shape, again the particle is accelerated strongly, then it is suddenly decelerated by the traps placed behind it, in order to move around the curve. This would be the optimum solution in an ideal case (i.e., a device working *exactly* as per our model), but inaccuracies in the real device can make them unstable. Moreover, we observed the overall reductions in rendering time to usually be quite small. The regularisation (\(\gamma>0\)) enables *nearly* time-optimal solutions. More specifically, this is a strictly convex regularisation that penalises high magnitudes of the virtual input \(v = \ddot{\theta}\). This is most closely related to the accelerations applied to the particle, hence avoiding aggressive acceleration/deceleration as shown in Figures [\[fig:gamma_comparison\]](#fig:gamma_comparison){reference-type="ref" reference="fig:gamma_comparison"}(B) and (C). Several heuristics could be proposed to automate selection of a suitable value for \(\gamma\) (e.g., use smallest \(\gamma\) ensuring that the dot product of \(\dot{\textbf{p}}(t)\) and \(\dot{\textbf{u}}(t)\) remains always positive), but this step is considered beyond the scope of the current paper. Note that the OCP in [\[eq:OCP2\]](#eq:OCP2){reference-type="eqref" reference="eq:OCP2"} yields the (nearly) optimal timing along the path \(Q\), respecting the particle dynamics and hence solving *Challenge 1*. Moreover, it yields the required forces through \(\zeta(t)\). However, it does not give the trap trajectory \(\textbf{u}(t)\) that generates these forces. To obtain the trap trajectory and thus solve *Challenge 2*, we refine [\[eq:OCP2\]](#eq:OCP2){reference-type="eqref" reference="eq:OCP2"} in the following section.
## Computing the Trap Trajectory {#ssec:extract-trap-trajectory}
The second stage in our approach deals with *Challenge 2*, computing the trap trajectory \(\textbf{u}(t)\) based on the solution of [\[eq:OCP2\]](#eq:OCP2){reference-type="eqref" reference="eq:OCP2"}. In theory, we would use the values for \(\zeta_i(t)\), \(i=1...,6\) and \(q_j(\theta(t))\), \(j\in\{x,y,z\}\) to determine the particle position and force required at each moment in time, obtaining the required trap position \(\textbf{u}(t)\) by solving [\[eq:zeta\]](#eq:zeta){reference-type="eqref" reference="eq:zeta"}. In practice, solving \(\textbf{u}(t)\) from [\[eq:zeta\]](#eq:zeta){reference-type="eqref" reference="eq:zeta"} numerically is not trivial, particularly for values of \(\zeta_i\) close to \(\pm 1\), where numerical instabilities could occur, particularly for \(\zeta_1\) and \(\zeta_4\). We attenuate these difficulties by providing further structure to the OCP [\[eq:OCP2\]](#eq:OCP2){reference-type="eqref" reference="eq:OCP2"}, specifically regarding \(\zeta\): \[\label{eq:zeta_trig_pythagoras} \zeta_2^2+\zeta_3^2 = 1, \quad \zeta_5^2+\zeta_6^2 = 1.\] We also constrain the solvability of [\[eq:zeta\]](#eq:zeta){reference-type="eqref" reference="eq:zeta"} by using a constant back-off \(\varepsilon\in\interval[open]{0}{1}\) in order to avoid numerical instabilities: \[\label{eq:consistConstraints} -1+\varepsilon \leq \zeta_i \leq 1-\varepsilon, \quad i=1...,6.\] For the sake of compact notation, we summarise the above constraints in the following set notation \[\mathcal{Z} := \left\{\zeta \in \mathbb{R}^6 ~ | ~\eqref{eq:zeta_trig_pythagoras} \text{ and } \eqref{eq:consistConstraints} \text{ are satisfied}\right\}.\] The final OCP is then given by \[\label{eq:OCP3} \begin{aligned} \min_{v,T, \zeta}&~T + \gamma\int_0^T v(t)^2 \mathrm{d}t \\ \text{subject to}& \\ \dot{\textbf{z}}(t)&= \begin{pmatrix}0&1\\0&0\end{pmatrix}\textbf{z}(t)+\begin{pmatrix} 0\\1\end{pmatrix}v(t), \quad \textbf{z}(0) =\textbf{z}_0, ~\textbf{z}(T) = \textbf{z}_T, \\ 0&=\widetilde M(\textbf{z}(t), v(t), \zeta(t)), \\ \zeta(t)&\in \mathcal{Z}. \end{aligned}\] Finally, given \(\zeta(t) \in \mathcal{Z}\) and \(\theta(t)\) from the solution of [\[eq:OCP3\]](#eq:OCP3){reference-type="eqref" reference="eq:OCP3"}, we numerically solve [\[eq:zeta\]](#eq:zeta){reference-type="eqref" reference="eq:zeta"} for \(u_i\), \(i\in\{x,y,z\}\), using Powell's dog leg method . Please note that higher values of \(\varepsilon\) will limit the magnitudes of the forces exploited by our approach. A simple solution is to perform a linear search over \(\varepsilon\), only increasing its value and recomputing the solution if Powell's method fails to converge to a feasible trap location. For details on discretising the OCP [\[eq:OCP3\]](#eq:OCP3){reference-type="eqref" reference="eq:OCP3"}, we refer to the Supplementary Material S3.
# Evaluation {#sec:eval}
This section evaluates the capability of our algorithm to support content creation by generating physically feasible trap trajectories given only a reference path (i.e., a shape) as an input. We select a range of shapes and analyse the effects each step in our approach has on the final achievable size, rendering frequency, and reconstruction error, for each shape. We also inspect how these steps influence the presence of visual distortions in the end result. Finally, we analyse the resulting acceleration profiles.
## Test Shapes {#ssec:eval_test_shapes}
We used four test shapes for the evaluation: a circle, a cardioid, a squircle, and a fish, all shown in Figure [\[fig:EvalShapes\]](#fig:EvalShapes){reference-type="ref" reference="fig:EvalShapes"}. The circle is selected as a trivial case in terms of timing. It can be optimally sampled by using a constant angular speed (i.e., constant acceleration), and is there to test whether our solution converges towards such optimum solutions. The cardioid and squircle represent simple shapes featuring sharp corners (cardioid) and straight lines (squircle), both of them challenging features. Finally, the fish is selected as an example composite shape, featuring all elements (i.e., corners, straight lines, and curves). All of these shapes can be parameterised by low-frequency sinusoids (see Supplementary Material S4), ensuring the path parameter \(\theta\) progresses slowly in areas of high curvature. This provides a good starting point for our baseline comparison that we explain in Section [12.2](#ssec:eval_conditions){reference-type="ref" reference="ssec:eval_conditions"}. While our approach works for content in 3D, we perform the evaluation on shapes in a 2D plane of the 3D space to facilitate the analysis of accelerations in Section [12.6](#ssec:eval_accelerations){reference-type="ref" reference="ssec:eval_accelerations"}, which we will perform in terms of horizontal and vertical accelerations (i.e., the independent factors given our axis-symmetric model of forces), allowing us to validate *OptiTrap*'s awareness of particle directions and how close it can get to the maximum accelerations allowed by the dynamics of acoustic traps, as discussed in Section [11.1](#ssec:model-acoustic-forces){reference-type="ref" reference="ssec:model-acoustic-forces"}. Notice in Figure [\[fig:EvalShapes\]](#fig:EvalShapes){reference-type="ref" reference="fig:EvalShapes"}, that due to the timing differences, different shape elements exhibit different levels of brightness. To obtain homogeneous brightness along the shape, please refer to the solution proposed by, where the particle illumination is adjusted to the particle speed.
## Conditions Compared {#ssec:eval_conditions}
We compare three approaches to rendering levitated shapes, where each approach subsequently addresses one of the challenges introduced in Section [9](#sec:prob_stat){reference-type="ref" reference="sec:prob_stat"}. This will help us assess the impact that each challenge has on the final results obtained. The first condition is a straight-forward *Baseline*, with homogeneous sampling of the path parameter, which matches the example strategy shown in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(B), and placing traps where the particle should be. The *Baseline* still does not address any of the challenges identified (i.e., optimum timing or trap placement), but it matches approaches used in previous works and will illustrate their dependence on the specific shape and initial parametrisation used. The second condition, *OCP_Timing*, makes use of our *OptiTrap* approach to compute optimum and feasible timing (see Subsection [11.2.1](#sssec:OPT_timing){reference-type="ref" reference="sssec:OPT_timing"}), but still ignores *Challenge 2*, assuming that particles match trap location (i.e., it skips Subsection [11.2.2](#sssec:OPT_trap_placement){reference-type="ref" reference="sssec:OPT_trap_placement"}). The third condition is the full *OptiTrap* approach, which considers feasibility and trap-particle dynamics and deals with both the timing and trap placement challenges. These conditions are used in a range of comparisons involving size, frequency, reconstruction error as well as comparative analysis of the effects of each condition on the resulting particle motion, detailed in the following sections.
## Maximum Achievable Sizes {#ssec:eval_sizes}
This section focuses on the maximum sizes that can be achieved for each test shape and condition, while retaining an overall rendering time of 100ms[^2] (i.e., PoV threshold). For each of these cases, we report the maximum achievable size and reliability, which were determined as follows. Maximum size is reported in terms of shape width and in terms of meters of *content per second* rendered, and their determination was connected to the feasibility of the trap trajectories, particularly for the *Baseline* condition.
More specifically, we determined maximum feasible sizes for the *Baseline* condition by conducting an iterative search. That is, we increased the size at each step and tested the reliability of the resulting shape. We considered the shape feasible if it could be successfully rendered at least 9 out of 10 times in the actual levitator. On a success, we would increase size by increasing the shape width by half a centimetre. On a failure, we would perform a binary search between the smallest size failure and the largest size success, stopping after two consecutive failures and reporting the largest successful size. This illustrates the kind of trial and error that a content designer would need to go through without our approach and it was the most time consuming part of this evaluation. For the other two conditions (i.e., *OCP_Timing* and *OptiTrap*), maximum sizes could be determined without needing to validate their feasibility in the final device. Again, we iteratively increased the shape size using the same search criteria as before (i.e., 5mm increases, binary search). We assumed any result provided would be feasible (which is a reasonable assumption; see below) and checked the resulting total rendering time, increasing the size if the time was still less than 100ms. At each step, a linear search was used, iteratively increasing \(\varepsilon\), until feasible trap locations could be found (i.e., equation [\[eq:zeta\]](#eq:zeta){reference-type="eqref" reference="eq:zeta"} could be solved without numerical instabilities). Adjusting the value of the regularisation parameter \(\gamma\) was done by visually inspecting the resulting trap trajectories, until no discontinuities could be observed (see Figure [\[fig:gamma_comparison\]](#fig:gamma_comparison){reference-type="ref" reference="fig:gamma_comparison"}). Please note that this is a simple and quick task, which, unlike the *Baseline* condition, does not involve actual testing on the levitation device and could even be automated. All solutions provided can be assumed feasible, and the designer only needs to choose the one that better fits their needs. Once the maximum achievable sizes were determined, these were tested in the actual device. We determined the feasibility of each shape and condition by conducting ten tests and reporting the number of cases where the particle succeeded to reveal the shape. This included the particle accelerating from rest, traversing/revealing the shape for 6 seconds and returning to rest. Table [\[table:shape_sizes_results\]](#table:shape_sizes_results){reference-type="ref" reference="table:shape_sizes_results"} summarises the results achieved for each test shape and condition. First of all, it is worth noting that all trials were successful for *OptiTrap* and *OCP_Timing* approaches, confirming our assumption that the resulting paths are indeed feasible and underpinning *OptiTrap*'s ability to avoid trial and error on the actual device during content creation. The results and relative improvements in terms of size vary according to the particular condition and shape considered. For instance, it is interesting to see that all conditions yield similar final sizes for the circle, showing that *OptiTrap* (and *OCP_Timing*) indeed converge towards optimum solutions. More complex shapes where the *Baseline* parametrisation is not optimal (i.e., cardioid, squircle, and fish), show increases in size when using *OCP_Timing* and *OptiTrap*. More interestingly, the increases in size vary greatly between shapes, showing increases of around \(12\%\) for the fish and cardioid, and up to \(562\%\) for the squircle. This is the result of the explicit parametrisation used, with reduced speeds at corners in the fish and cardioid cases, but not in the case of the squircle. It is also interesting to see that *OCP_Timing* and *OptiTrap* maintain high values of *content per second* rendered, independently of the shape. That is, while the performance of the *Baseline* approach is heavily determined by the specific shape (and parametrisation) used, the OCP-based approaches (*OCP_Timing* and *OptiTrap*) yield results with consistent *content per second*, determined by the capabilities of the device (but not so much by the specific shape). Finally, please note that no changes in terms of maximum size can be observed between *OCP_Timing* and *OptiTrap*.
## Maximum Rendering Frequencies {#ssec:eval_frequencies}
[\[table:shape_frequency_results\]]{#table:shape_frequency_results label="table:shape_frequency_results"}
In this second evaluation, we assessed the effect of the timing strategy on the maximum achievable rendering frequencies. To do this, we selected the maximum achievable sizes obtained in the prior evaluation for each shape. We then reproduced such sizes with the *Baseline* approach, searching for the maximum frequency at which this approach could reliably render the shape (using the same searching and acceptance criteria as above). That is, while we knew *OCP_Timing* and *OptiTrap* could provide 10Hz for these shapes and sizes, we wanted to determine the maximum frequency at which the *Baseline* would render them, as to characterise the benefits provided by optimising the timing. The results are summarised in Table [5](#table:shape_frequency_results){reference-type="ref" reference="table:shape_frequency_results"}. As expected, no changes are produced for the circle. However, there is a 25% increase for the cardioid, 150% for the squircle, and 11% increase for the fish using the *OptiTrap* method. Again, please note that no differences can be observed in terms of maximum frequency between *OCP_Timing* and *OptiTrap*.
## Reconstruction Accuracy {#ssec:eval_accuracy}
To evaluate the reconstruction accuracy, we recorded each of the trials in our maximum size evaluations (see Section [12.3](#ssec:eval_sizes){reference-type="ref" reference="ssec:eval_sizes"}) using an OptiTrack camera system. We then computed the Root Mean Squared Error (RMSE) between the recorded data and the intended target shape, taking 2s of shape rendering into account (exclusively during the cyclic part, ignoring ramp-up/ramp-down). For a fair comparison across trials, we normalise the RMSE with respect to the traversed paths, by dividing the RMSE by the total path length of each individual test shape. The results are summarised in Table [6](#table:RMSE_results){reference-type="ref" reference="table:RMSE_results"}.
[\[table:RMSE_results\]]{#table:RMSE_results label="table:RMSE_results"}
On average, both *OCP_Timing* and *OptiTrap* provide better results in terms of accuracy, when compared to the *Baseline*. It is particularly worth noting that the accuracy results, in terms of the raw RMSE for *OptiTrap* and *OCP_Timing*, are better for the cardioid when compared to the *Baseline*, even though a larger shape is being rendered. While the raw RMSE of *OCP_Timing* and *OptiTrap* is slightly larger for the squircle, we need to take into account that the size rendered by *OCP_Timing* and *OptiTrap* is almost 6 times larger. Comparing accuracy in terms of normalised RMSE shows consistent increases of accuracy for *OptiTrap* compared to the *Baseline*, with overall decreases in the RMSE of \(41.7\%\) (circle), \(25.4\%\) (cardioid), \(78.5\%\) (squircle), and \(53.8\%\) (fish). *OCP_Timing* shows a decrease of \(25.4\%\), \(5.14\%\), and \(77.8\%\) of the normalised RMSE for the circle, cardioid, and squircle, with the exception of the fish, where the normalised RMSE increased by \(17.1\%\), when compared to the *Baseline*. Comparing the reconstruction accuracy of *OCP_Timing* and *OptiTrap* highlights the relevance of considering trap dynamics to determine trap locations (i.e., Section [11.3](#ssec:extract-trap-trajectory){reference-type="ref" reference="ssec:extract-trap-trajectory"}). *OptiTrap* consistently provides smaller RMSE than *OCP_Timing*, as a result of considering and accounting for the trap-to-particle displacements required to apply specific accelerations. We obtain a \(21.8\%\), \(21.3\%\), \(2.9\%\) and \(60.5\%\) decrease in the normalised RMSE, for the circle, cardioid, squircle, and fish, respectively. Such differences are visually illustrated in Figure [\[fig:eval_trap_location\]](#fig:eval_trap_location){reference-type="ref" reference="fig:eval_trap_location"}, showing the effects on the cardioid and fish, for the *OCP_Timing* and *OptiTrap* approaches. It is worth noting how placing the traps along the reference path results in the cardioid being horizontally stretched, as the particle needs to retain larger distances to the trap to keep the required acceleration (horizontal forces are weaker than vertical ones). This also results in overshooting of the particle at corner locations, which can be easily observed at the corner of the cardioid and in the fins of the fish. For completeness, the visual comparison for the remaining two test shapes is provided in the Supplementary Material S5.
## Analysis of Acceleration profiles {#ssec:eval_accelerations}
Finally, we examined the acceleration profiles produced by *OptiTrap* and how these differ from the pre-determined acceleration profiles of the *Baseline*. Please note that we only compare and discuss *OptiTrap* and *Baseline* in Figure [\[fig:force_plots\]](#fig:force_plots){reference-type="ref" reference="fig:force_plots"}, and only for the fish shape. *OCP_Timing* is not included, as it results in similar acceleration profiles as *OptiTrap*. Only the fish is discussed, as it already allows us to describe the key observations that can be derived from our analysis. For completeness, the acceleration profiles for all remaining test shapes are included in the Supplementary Material S6. As introduced above, Figure [\[fig:force_plots\]](#fig:force_plots){reference-type="ref" reference="fig:force_plots"} shows the particle accelerations and speeds of a particle revealing a fish shape of maximum size (i.e., a width of 8.76cm), rendered over 100ms using the *OptiTrap* and *Baseline* approaches. It is worth noting that while *OptiTrap* succeeded in rendering this shape, *Baseline* did not (the maximum width for *Baseline* was 7.77cm). A first interesting observation is that although *OptiTrap* provides lower total accelerations than the *Baseline* during some parts of the path (see Figure [\[fig:force_plots\]](#fig:force_plots){reference-type="ref" reference="fig:force_plots"}(A)), it still manages to reveal the shape in the same time. The key observation here is that the regions where the total acceleration is lower for *OptiTrap* match with the parts of the path where the horizontal acceleration is very close to its maximum; for example, note the flat regions in Figure [\[fig:force_plots\]](#fig:force_plots){reference-type="ref" reference="fig:force_plots"}(B) of around \(\pm 300 m/{s}^2\)). This is an example of *OptiTrap*'s awareness of the dynamics and capabilities of the actual device, limiting the acceleration applied as to retain the feasibility of the path. Second, it is worth noting that maximum horizontal accelerations are significantly smaller than vertical accelerations. As such, it does make sense for horizontal displacements to become the limiting factor. In any case, neither acceleration exceeds its respective maximum value. The *OptiTrap* approach recovers any missing time by better exploiting areas where acceleration is unnecessarily small. It is also worth noting that the value of the horizontal and vertical accelerations are not simply being capped to a maximum acceleration value per direction (e.g., simultaneously maxing out at \(\pm 300 m/{s}^2\) and \(\pm 600 m/{s}^2\) in the horizontal and vertical directions), as such cases are not feasible according to the dynamics of our acoustic traps. Third, it is interesting to note that the final acceleration profile is complex, retaining little resemblance with the initial parametrisation used. This is not exclusive for this shape and can be observed even in relatively simple shapes, such as the cardioid in Figure [\[fig:timings\]](#fig:timings){reference-type="ref" reference="fig:timings"}(D) or the remaining shapes, provided in the Supplementary Material S6. The complexity of these profiles is even more striking if we look at the final speeds resulting from both approaches (see Figure [\[fig:force_plots\]](#fig:force_plots){reference-type="ref" reference="fig:force_plots"}(D)). Even if the acceleration profiles of *Baseline* and *OptiTrap* are very different, their velocity profiles show only relatively subtle differences. But even if these differences are subtle, they mark the difference between a feasible path (i.e., *OptiTrap*) and a failed one (i.e., *Baseline*). These complex yet subtle differences also illustrate how it is simply not sensible to expect content designers to deal with such complexity, and how *OptiTrap* is a necessary tool to enable effective exploitation of PoV levitated content.
# Discussion
This paper presented *OptiTrap*, an automated approach for optimising timings and trap placements, as to achieve feasible target shapes. We believe this is a particularly relevant step for the adoption of levitation PoV displays, as it allows the content creator to focus on the shapes to present, with feasible solutions being computed automatically, while making effective usage of the capabilities of the device. As such, we hope *OptiTrap* to become an instrumental tool in helping explore the actual potential of these displays. However, *OptiTrap* is far from a complete content creation tool. Such a tool should consider the artist's workflows and practices. Similarly, testing and identifying most useful heuristics to tune our approach (e.g., the regularisation) or visualisation tools identifying tricky parts of the shapes (i.e., requiring high accelerations) should be included as a part of this process. Our goal is simply to provide the base approach enabling this kind of tools. Even this base approach can be extended in a variety of ways. Our levitator prototype is built from off-the-shelf hardware, and is still subject to inaccuracies that result in distortions in the sound-fields generated. As such, more accurate levitation hardware or, alternatively, a model reflecting the dynamics of the system in a more accurate manner would be the most obvious pathway to improve our approach. It is worth noting that both factors should be advanced jointly. A more accurate model could also be less numerically stable, potentially leading to worse results if the hardware is not accurate enough. The high update rates of 10kHz required by the levitator and the millisecond delays introduced by optical tracking systems indicate that closed-loop approaches can be both promising and challenging avenues to explore. Assuming a tracking device synchronised with the levitation device (as to map current trap locations with real particle positions), *OptiTrap* could be combined with learning-based approaches. These learning-based approaches will require example paths (i.e., with initial timing and trap placement), and their achievable complexity and convergence will be limited by the examples provided. In such cases, *OptiTrap* can be used to always generate feasible initial trajectories (i.e., to avoid system restarts on failure). Thus learning-based approaches could be used to further refine *OptiTrap* beyond our current model, as to account for device inaccuracies such as those discussed by . However, higher gains can be obtained from more radical changes in the approach. For instance, our approach optimises the timing and trap placement, but it does not modify the target shapes. As illustrated in Figure [\[fig:force_plots\]](#fig:force_plots){reference-type="ref" reference="fig:force_plots"}, slight changes in speed have significant effects on the acceleration profiles (and feasibility) of the shapes. This is even more prominent for position, where small changes can heavily influence the acceleration and feasibility of target shapes. As such, approaches exploiting subtle modifications to the shape could lead to significant gains in rendering performance. Another interesting possibility would be extending our approach to use several particles. As shown in, while the use of several particles does not increase the overall power that can be leveraged, it does allow for increased flexibility. That is, the intensity/forces of each trap can be individually and dynamically adjusted, as to match the needs of the region of the path that each particle is revealing. Also, particles can each be rendering specific independent features, so the content is not limited to a single connected path, and the particles do not waste time/accelerations traversing parts of the path that will not be illuminated (i.e., visible). This approach, however, entails significant challenges. The first obvious challenge is the reliability of the intensity control of the traps. demonstrate accurate control of the stiffness at the centre of the traps, but the effects of multiple (interfering) traps in each trap's topology (i.e., how forces distribute around the trap) is yet to be studied. A second challenge is that each particle is not forced to traverse the path at the same speed/rates, with such independent timing progression becoming an additional degree of freedom to account for. Finally, further extensions to our work can come from its application to domains other than PoV displays. An obvious next step would be to adapt *OptiTrap* to photophoretic displays, which trap particles using optical traps instead of acoustic traps. This would involve including a model of the dynamics of such optical traps, but it can also involve further challenges, such as modelling the response times of galvanometers and LC panels involved in creating the trap. Our approach can also be adapted to applications requiring objects to be transported quickly and accurately. For example, contactless transportation of matter has a wealth of applications in areas such as the study of physical phenomena, biochemical processes, materials processing, or pharmaceutics. Our method can help solving such problems by directly computing a rest-to-rest solution of the matter to be transported, given an estimation of the mass of that matter, the acoustic force acting on the matter, and a path from start to target position.
# Conclusion
In this paper we proposed the first structured numerical approach to compute trap trajectories for acoustic levitation displays. *OptiTrap* automatically computes physically feasible and nearly time-optimal trap trajectories to reveal generic mid-air shapes, given only a reference path. Building on a novel multi-dimensional approximation of the acoustic forces around the trap, we formulate and show how to solve a non-linear path following problem without requiring or exploiting differential flatness of the system dynamics. We demonstrate increases of up to 563% in size and up to 150% in frequency for several shapes. Additionally, we obtain better reconstruction accuracy with up to a 79% decrease in the path-normalised RMSE. While previously, feasible trap trajectories needed to be tuned manually for each shape and levitator, our approach requires calibration of each individual levitator just once. We are confident that the ideas in this paper could form the basis for future content authoring tools for acoustic levitation displays and bring them a key step closer to real-world applications.
[^1]: The circle rendered at 100ms would exceed the size of our device's working volume. Thus, this shape was rendered at 67ms.
[^2]: The circle rendered at 100ms would exceed the size of our device's working volume. Thus, this shape was rendered at 67ms. | {'timestamp': '2022-03-07T02:02:14', 'yymm': '2203', 'arxiv_id': '2203.01987', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01987'} |
null | null |
null | null |
# Introduction
Randomized experimentation is a fundamental tool for obtaining counterfactual estimates. The efficacy of randomization comes from a very simple intuition--by randomly assigning treatment status dependence between observed (and unobserved) treatment and pre-treatment covariates necessarily tends to zero as a function of the number of units. In the context of experimentation, this independence condition on observed covariates, commonly known as balance , reduces the variance of estimates of the average treatment effect . Under the appropriate conditions such corrections can result in large increases in effective sample size, allowing for the detection of the small effects which are commonplace in many large scale studies and industrial applications . These contexts rely heavily on experimentation for decision-making, so reduced variance directly translates into more reliable decisions . Traditional experimental design like blocking or even the novel Gram-Schmidt Walk design require more than one pass over the sample and their sample complexity is greater than \(\mathcal{O}(n)\). Even algorithms which admit sequential assignment such as suffer from the fact that the algorithm is not linear time and, thus, respondents late in the experiment may take substantially longer to receive a treatment assignment . Our work is motivated by this setting to provide a linear-time, single-pass (i.e. sequential) algorithm for balancing experimental design. Our focus is on linear measures of balance (often of particular interest to applied researchers). This provides a new avenue through which experimenters can ensure that their experiments optimize the information they gain from costly samples. We start by presenting four desiderata for effective, practical online experimental design. First, a method must be computationally efficient. In a review of existing methods for online assignment in the case of survey experiments, finds that existing methods become slow to unusable as increasingly more respondents are included in a study. This resulting speed is fundamentally incompatible with effective administration of an experiment. In short, high latency will cause disproportionately large dropoff in an experiment, which may completely nullify the gains from using more sophisticated experimental design. Any algorithm with greater than linear time complexity exacerbate this problem: higher latency for later subjects than earlier subjects will tend to cause non-random sample attrition, as later subjects (who may be different than earlier respondents) will be more likely to drop out. Second, an experimental design must reduce covariate imbalance to be effective. This is the entire justification for using methods more sophisticated than Bernoulli randomization, so if the design is not able to improve on balance, then there will be no subsequent reduction in variance and therefore no compelling reason to use it. Third, the design must incorporate randomization. provides an extensive discussion on the inherent tradeoff between robustness and balance within experimental design. A design which solely optimizes for balance will tend to operate on a knife-edge of accidental bias : the potential bias from an adversarially chosen confounder. With higher accidental bias than Bernoulli randomization, if units do not arrive precisely i.i.d., then the entire design may be compromised. Given that experimental settings are prized specifically for their unbiasedness, this could completely undermine any gains from improved balance. Strong theoretical guarantees on robustness are extremely important in this setting in order to ensure that inferences rest squarely on the design. If assumptions about sampling procedures or data generating processes are necessary to ensure the reliability of estimation, then inferences are not based solely on properties of the experiment, but rather on factors outside the control of the experimenter . Fourth, units which do not show up in the sample should not be included in the balancing. An offline algorithm used in an online environment would fail this condition, because to use it would require to balance the entire population of units *expected* to show up to an experiment. Units within that population who fail to show would nevertheless be assigned a treatment. Depending on the distribution of units who actually show up in the sample, there are no longer any guarantees that balance will obtain. Our approach satisfies all four of these desiderata. We propose an online method for covariate balancing requiring linear time and space which provably provides variance reduction. Building upon recent work on discrepancy minimization---the self-balancing walk and kernel thinning ---we provide an algorithm whose \(L_2\)-imbalance matches the best known *online* discrepancy algorithm. Where \(\delta\) is a failure probability, performing this optimization online results in a \(\log(n/\delta)\) cost in convergence of the average treatment effect over the offline algorithm of discrepancy minimization by . A conjectured lower bound for online discrepancy minimization would further reduce this cost by a square root. We also provide an extension to multiple treatments and non-uniform treatment probabilities. The rest of the paper is organized as follows. Section [2](#sec:related){reference-type="ref" reference="sec:related"} with a discussion of related work to position our contribution in the literature. Section [3](#sec:problem){reference-type="ref" reference="sec:problem"} defines notation and formally introduces the problem. Section [4](#sec:method){reference-type="ref" reference="sec:method"} provides our proposed algorithms and methods. Section [\[sec:simulations\]](#sec:simulations){reference-type="ref" reference="sec:simulations"} provides a detailed simulation study of the behavior of the proposed algorithms.
# Related Work {#sec:related}
There are two common approaches for achieving improved covariate balance in experiments. The first, and most common especially within industrial settings, approach is to perform a post-hoc regression adjustment which includes pre-treatment covariates . The second approach is to consider covariate balance during the design phase of the experiment, i.e., explicitly optimizing treatment assignment in order to minimize imbalance between treatment groups . Post-hoc stratification may be seen as asymptotically equivalent in terms of variance reduction to its analogous pre-stratified design as shown by. analysis is limited by two factors: it assumes a fixed number of stratification cells (that do not grow with sample size) and it is conditioned on the post-stratification estimator being defined (e.g. treatment and control units within each stratification cell). These limitations may weaken it's asymptotic equivalence argument. A key limitation of post-hoc adjustment approaches is that the desire for simplicity and scalability implies that practitioners typically adjust for only a linear function of the pre-treatment covariates. Indeed, in the common "CUPED" approach, adjustment is performed solely on a linear function of a single pre-treatment outcome measurement . Second, many common approaches for constructing stratification cells (i.e. clustering algorithms) may be computationally infeasible in practice for industrial applications when the number of simultaneous experiments and the number of outcome variables of interest are large. Third, without sample splitting (or when naively applied) advanced machine-learning based methods for adjustment may slip in assumptions of correct-specification of the outcome model, or have confidence intervals with poor coverage properties. While cross-fitting may ameliorate some of these problems in larger samples, sample splitting may prove too high a cost when sample sizes are low. A key shortcoming of design-based covariate balance is the lack of computationally efficient algorithms which provide theoretical guarantees over worst case behavior. Blocking partitions variables into non-overlapping sets and performs complete randomization within each partition (\"blocks\"). introduced a computationally approximation of blocking which runs in \(\mathcal{O}(n\log(n))\) time. propose an optimization based approach, additionally considers a partially random approach using semi-definite programming. provide a method combining *batch-based* sequential experimentation with rerandomization to achieve balance, but which is not computationally feasible in moderate to large sample sizes. Perhaps the closest to the current work is which propose a balancing design using the Gram-Schmidt walk, an offline method for (linear) discrepancy minimization. Current state of the art for balancing treatment assignment requires polynomial running time and generally requires knowing all of the covariate vectors prior to determining assignment . As we discuss in section [3](#sec:problem){reference-type="ref" reference="sec:problem"}, this is a non-starter for online treatment assignment. In this setting, subjects must be allocated as they arrive; it does no good to know how you *should have* assigned a user at the end of the experiment; you need to know when that subject arrives. It's crucial that when a subject in an experiment arrives they be swiftly allocated to a unit. Especially in an online environment, high latency will lead to attrition, which may counteract any potential gains from greater efficiency. Moreover, the users who attrit may be the very subjects of interest . By inducing differential attrition based on patience, the sample in the experiment may differ greatly from the population of interest on unobserved characteristics that make it difficult to extrapolate to a population-level effect . There is also a variety of methods aimed at sequential, online assignment in experiments. The seminal work in this literature is which introduced an online variant of complete randomization which aims to ensure that a pre-specified marginal treatment probability is met without introducing too much accidental bias. provides a generalization of the approach which extends gracefully to multiple treatments. There are a variety of online balanced coin designs which seek to reduce covariate imbalance . is based around Mahalanobis distance. As such, it has polynomial time-complexity *at each arrival time*. In addition to inefficiency, the theoretical worst-case behavior of this algorithm has not been resolved, even in the stochastic setting. Theoretical guarantees of this sort are paramount in the design setting, as practitioners need to know the credibility of their inferences (and how they may differ from simple Bernoulli randomization).
# Background and Problem Setting {#sec:problem}
We first fix notation. Random variables will be denoted in upper case, with sets in bold. The problem setting, which we refer to as experimental treatment allocation, is as follows. We assume that we observe \(1, \dots, n\) i.i.d. observations of \(\boldsymbol{X} \in \mathbb{R}^{n \times d}\): the covariates[^1]. The experimenter is asked to assign a treatment assignment, \(A \in \{1,-1\}\) (we will later loosen this to multiple discrete treatment values). We will refer to the assignments of \(A\) as treatment and control, respectively. Each unit is imbued with *potential outcomes* for each treatment, the value of the outcome if that unit had been assigned to the given group: \(y(1)\) for treatment and \(y(-1)\) for control. After assignment we observe only the potential outcome corresponding to the realized treatment assignment, \(Y\). We assume that the outcomes are not available until the conclusion of the experiment. At the end of the experiment we are interested in measuring the sample average treatment effect (SATE) between any two treatments, \(k\) and \(k'\) with the difference in means estimator: \[\begin{aligned}
\label{eq:SATE} \hat{\tau}_{kk'} = \frac{1}{n}\sum_i^n \frac{A_i}{p(A_i)} Y_i \end{aligned}\] where \(p(A_i)\) denotes the probability of assigning treatment \(A_i\) to instance \(i\). Note that this is simply the difference-in-means rather than the more general Horwitz-Thompson estimator , as the treatment probability is marginal rather than conditional. More sophisticated estimators are usable in this setting , but we will focus on the simplest as we optimize design as is commonplace for studying design . If propensity scores are constant, the estimator of the SATE given by equation [\[eq:SATE\]](#eq:SATE){reference-type="ref" reference="eq:SATE"} will be unbiased and consistent for its oracle counterpart, \[\begin{aligned}
\tau_{kk'} = \frac{1}{n}\sum_i^n y_i(k)-y_i(k'), \end{aligned}\] the difference of potential outcomes of the \(k\) and \(k'\) treatments. This SATE is our estimand of interest, as estimated by equation [\[eq:SATE\]](#eq:SATE){reference-type="ref" reference="eq:SATE"}. We will maintain the following assumptions:
The problem of experimental allocation is to observe covariate vectors and assign \(A\) to units so as to achieve desirable properties of the SATE (for instance, to minimize variance). In the most general setting where no assumptions are placed the relationship between the covariates and outcome complete randomization---randomly drawing assignments without respect to background covariates---is known to be minimax optimal .
## Robustness in sequential design
Experiments are prized for their ability to provide unbiased estimates of causal effects with relatively mild assumptions. These assumptions, in fact, typically flow from the *design* of the experiment rather than more difficult assumptions about the data used in the course of analysis . In the study of vector balancing, there are three main sampling schemes of interest, listed in order of how adversarial they are:
In the stochastic arrivals setting, units are sampled i.i.d. from some fixed (possibly infinite) population. As such, a given covariate vector is just as likely to arrive early in the sequence as late. In the oblivious adversarial setting, the adversary knows the process which will be used to assign units to groups, but cannot condition specifically on those assignments in making its decisions about the order of arrival of units. This implies the following conditional independence:
This stands in contrast to the fully adversarial case, in which the adversary is able to condition its decision in each period on the full set of past assignments in addition to the history of the covariate vector. We will focus on the oblivious adversary in this paper.
# Online Assignment of Treatments {#sec:method}
**Weighted Online Discrepancy Minimization:** We consider a variant of the online Komlós problem , where vectors \(\boldsymbol{x}_1, \ldots \boldsymbol{x}_n\) arrive one by one and must be immediately assigned a weighted sign of either \(-2q\) or \(2(1-q)\), for \(0 < q < 1\), such that the weighed discrepancy \(\left\| \sum_{i=1}^n \eta_i \boldsymbol{x}_i \right\|_{\infty}\), where \(\eta_i\) is the weighted sign given to \(\boldsymbol{x}_i\), is minimized. Notice that when \(q = 1/2\), the signs become \(\pm 1\). Algorithm [\[alg:weighted\]](#alg:weighted){reference-type="ref" reference="alg:weighted"}, takes \(i=1,\dots,n\) unit vectors in sequentially and assigns them to a treatment and control, represented by the value of \(\eta_i\). The procedure, an extension of recent work in online discrepancy minimization , assigns treatment with probability proportional to the inner product between a running sum of the signed prior observations. The algorithm and analysis differs from prior work for discrepancy in two aspects which are necessary for use in experimentation. One is to give a ridge regression guarantee, we need to characterize the random vectors output by the algorithm in terms of the projection matrix \(\boldsymbol{P}.\) do that for an offline discrepancy minimization algorithm, and here we do it for an online version. The other way we differ is that our algorithm is a slight generalization of the one in in that we have a parameter \(q\). This allows for the case of imbalanced treatment assignments. A straightforward adoption of the analysis in to this case results in a worse dependence on \(1/q.\) Therefore, we derive a sub-exponential concentration bound and get a better dependence on \(1/q.\)
[\[alg:weighted\]]{#alg:weighted label="alg:weighted"}
Note that \(\eta_i\) is defined only when \(|\boldsymbol{w}_{i-1}^{\top} \boldsymbol{x}_i| \leq c\). Therefore, \(\boldsymbol{\eta}\) is defined with probability at least \(1-\delta.\)
We will use Threorem [\[thm:main\]](#thm:main){reference-type="ref" reference="thm:main"} to derive results on the average treatment effect using the framework developed by. Let \(z_i = \eta_i + 2q-1 \in \{-1, 1\}.\) We will show that \(\mathrm{E}[\eta_i] = 0,\) and so we have \(\mathrm{E}[z_i] = 2q-1\) and \(\boldsymbol{z}-\mathrm{E}[\boldsymbol{z}] = \boldsymbol{\eta}.\) Let \(\boldsymbol{\mu} = \frac{\boldsymbol{Y}(1)}{4 q} + \frac{\boldsymbol{Y}(0)}{4(1-q)}.\) give a linear algberaic expression for the error of HT-estimators in terms of \(\boldsymbol{\mu}\). In particular, they show
Theorem [\[thm:main\]](#thm:main){reference-type="ref" reference="thm:main"} immediately implies that assignments generated by Algorithm [\[alg:main\]](#alg:main){reference-type="ref" reference="alg:main"} are well balanced. But optimizing just for balance can lead to accidental bias . We have from Lemma [\[lem:ate-err\]](#lem:ate-err){reference-type="ref" reference="lem:ate-err"} that \(\text{Var}(\hat{\tau}) = \frac{4}{n^2} \lambda_{\max}\br{\mathrm{Cov}(\boldsymbol{z})} \|\boldsymbol{\mu}\|^2\) in the worst case when \(\boldsymbol{\mu}\) is along the top eigenvector of \(\mathrm{Cov}(\boldsymbol{z})\).
[^1]: We assume linear feature maps throughout. We note that nonlinearities can be handled with the same guarantees following at the cost of additional computational complexity. | {'timestamp': '2022-03-07T02:03:50', 'yymm': '2203', 'arxiv_id': '2203.02025', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02025'} |
# Introduction {#sec:intro}
Autophoretic colloids that isotropically emit or absorb solute molecules at their interface are prototypical examples of synthetic active matter. At low levels of chemical activity (quantified by a suitably small intrinsic Péclet number, ), diffusion is dominant enough to homogenize any perturbations to the solute distribution around such a particle, thereby rendering the concentration profile isotropic, and the particle stationary. Beyond a threshold Péclet number, however, small perturbations to the concentration field result in the breaking of the fore-aft symmetry of the concentration profile, and the particle may undergo self-propulsion along a rectilinear path, or, at sufficiently large \(\Pen\), execute meandering, helical or chaotic motion. The spontaneous self-propulsion of autophoretic particles and droplets has been predicted theoretically , as well as being observed in experiments and numerical simulations . While the steady self-propulsion of autophoretic particles is well-characterised, dynamics of autophoresis in the chaotic regime, and the transition from steady to chaotic self-propulsion, is relatively less so. established from numerical computations of rigid spherical autophoretic particles that a transition from quiescence to steady self-propulsion occurs at \(\Pen=4\). They observed a maximum in the swimming speed at \(\Pen\approx9\), after which the speed decreases up to \(\Pen=20\), which was the largest value of \(\Pen\) they studied. performed simulations on autophoretic particles with a tuneable parameter \(m\) that dictates the relative importance of diffusiophoretic effects to Marangoni flow, with \(m=0\) corresponding to an active droplet that moves solely under the effect of Marangoni stresses, and \(m\to\infty\) corresponding to a rigid particle moving solely due to diffusioosmotic slip. A larger range of Péclet numbers is explored in their work, and the transition of a particle (with \(m=2\)) from its quiescent state to rectilinear self-propulsion, and ultimately chaotic motion is predicted as \(\Pen\) is increased. Their calculations assume that the solute concentration and flow field around the particle remain axially symmetric about its initial direction of translation; hence, the particle undergoes unsteady, rectilinear translation. Interestingly, observe a ballistic mean square displacement (MSD) scaling in the chaotic regime: that is, they do not observe a transition to non-ballistic motion associated with the chaotic dynamics. They do, however, comment that much longer computations than they conducted might be needed to fully characterize the chaotic regime. They also note that their computational approach, which employs a truncated spectral expansion of the concentration field, converges slowly with the number of Legendre modes for large \(\Pen\), rendering computations expensive in this region of parameter space. Computations of autophoretic circular disks by , in which the particle is allowed to move in two dimensions, show that: (a) the transition to chaos occurs via an intermittency scenario ; and (b) the chaotic regime is characterized by a change in the scaling of the mean MSD of the particle as a function the lag time \(\tau\), from a short-time ballistic profile (\(\sim\tau^2\)), to normal diffusion (\(\sim\tau\)) at longer times. Experiments on autophoretic droplets confined between walls in a Hele-Shaw type configuration show that an increase in the Péclet number results in a transition from ballistic motion to a two-dimensional self-avoiding walk (\(\sim\tau^{3/2}\)) at long times, as the droplets tend to avoid the chemical trail that they emit. More broadly, it is known that chaotic maps can lead to either normal or anomalous diffusion . Delay-differential equations, used to model phenomena such as blood cell production and the transmission of light from optical ring cavities, have also been shown to exhibit chaotic diffusion . Given the differing theoretical and experimental results mentioned above, it is not evident what the MSD scaling of autophoretic particles in the chaotic regime is. In this paper, using a spectral element based algorithm to simultaneously solve the unsteady advection-diffusion equation governing the concentration profile of the solute, and the quasi-steady Stokes equations governing the velocity field, we aim to chart the transition of a rigid autophoretic particle from steady self-propulsion to chaotic motion. Our computations are performed on an axisymmetric model, so the motion is restricted to unsteady rectilinear translation. A primary question we will address is the nature of the chaotic motion, i.e., does the active particle execute ballistic motion as predicted by , normal diffusion as seen in , or super-diffusion as observed by ? In fact, our computations indicate that none of these outcomes are attained. Instead, we find that the chaotic dynamics are characterised by long-time subdiffusion, where the MSD scales sublinearly with \(\tau\). Notably, the scaling exponent is nearly identical for all values of \(\Pen\) studied. In [2](#sec:prob_form){reference-type="ref" reference="sec:prob_form"}, we specify the governing equations for a neutrally buoyant, rigid, spherical autophoretic particle. The numerical details for the solution of the coupled system of nonlinear partial differential equations governing the transient evolution of the concentration field and the quasi-steady velocity field about the rigid particle are provided in [3](#sec:num_details){reference-type="ref" reference="sec:num_details"}, along with the details of the MSD and the velocity autocorrelation (VAC) calculations. We present and discuss the results in [4](#sec:res_disc){reference-type="ref" reference="sec:res_disc"}, followed by concluding remarks in [5](#sec:conclusion){reference-type="ref" reference="sec:conclusion"}.
# Problem formulation {#sec:prob_form}
We consider a rigid, spherical autophoretic particle of radius \(a^{*}\), freely suspended in an incompressible Newtonian fluid of viscosity \(\eta^{*}\), whose flow obeys the Stokes equations. Above and henceforth, dimensional variables are marked with an asterisk as superscript. There is a constant flux \(\mathcal{A}^{*}\) of solute at the particle surface, which is positive (negative) when the solute is being emitted (absorbed) at the interface. Far away from the particle, the uniform solute concentration is \(C^{*}_{\infty}\), and the difference between the local concentration and its far-field value is denoted by \(c^{*}=C^{*}-C^{*}_{\infty}\). The solute molecules, of diffusivity \(D^{*}\), interact with the active particle via a short-ranged potential whose characteristic length is \(b^{*}\), such that \(b^{*}\ll a^{*}\). These interactions give rise to a tangential slip velocity along the particle surface , whose magnitude is set by the concentration gradient of the solute at the interface, and the mobility parameter, \(\mathcal{M}^{*}=\pm {k_B^{*}T^{*}b^{*2}}/{\eta^{*}}\), where \(k^{*}_{B}\) is Boltzmann's constant and \(T^{*}\) is the absolute temperature. Attractive (repulsive) interactions between the solute and the active particle are described by a negative (positive) \(\mathcal{M}^{*}\) . The concentration profile of the solute, therefore, evolves due to diffusion and advection by fluid flow. Following , length, time, fluid velocity, pressure, and concentration are scaled by \(a^{*}\), \({a^{*}D^{*}}/{|\mathcal{A}^{*}\mathcal{M}^{*}|}\), \({|\mathcal{A}^{*}\mathcal{M}^{*}|}/{D^{*}}\), \({\eta^{*}|\mathcal{A}^{*}\mathcal{M}^{*}|}/{a^{*}D^{*}}\), and \({a^{*}|\mathcal{A}^{*}|}/{D^{*}}\), respectively. In the subsequent discussion, variables without asterisks are the dimensionless equivalent of their dimensional counterparts. A key dimensionless parameter is the intrinsic Péclet number, \[\Pen=\dfrac{a^{*}|\mathcal{A}^{*}\mathcal{M}^{*}|}{D^{*2}},\] which quantifies the relative importance of the solute advection with respect to its diffusion, and is a measure of the chemical activity of the particle. It is convenient to introduce the scaled flux and mobility parameters, \[A=\dfrac{\mathcal{A}^{*}}{|\mathcal{A}^{*}|},\,M=\dfrac{\mathcal{M}^{*}}{|\mathcal{M}^{*}|}.\] The concentration field is governed by the unsteady advection-diffusion equation, \[\label{eq:adv_diff} \Pen\left(\dfrac{\partial c}{\partial t}+\boldsymbol{v}\bcdot\bnabla c\right)=\nabla^2 c,\] where \(t\) is time and \(\boldsymbol{v}\) denotes the velocity field. Eq. [\[eq:adv_diff\]](#eq:adv_diff){reference-type="ref" reference="eq:adv_diff"} is subject to the two boundary conditions of: (i) constant flux of the solute at the surface of the active particle \[\label{eq:const_flux} \dfrac{\partial c}{\partial r}=-A\quad\text{at}\quad r=1,\] and (ii) an attenuation condition far away from the sphere \[\label{eq:atten} c\to0\quad\text{as}\quad r\to\infty.\] We employ a cylindrical coordinate system \((z,\rho,\phi)\) with its origin attached to the particle centre. The \(z\)-axis represents the axis of symmetry along which the particle motion is constrained. The perpendicular distance from the \(z\)-axis is measured by the \(\rho\)-coordinate, and \(\phi\) denotes the azimuthal angle of rotation about the \(z\)-axis. This frame of reference is non-inertial since the particle is accelerating during its unsteady translation. However, this choice does not affect the advection-diffusion equation or the Stokes equations, since the motion occurs at zero Reynolds number. The particle surface is denoted by \(r=1\) where \(r=\sqrt{\rho^2+z^2}\). The axisymmetric flow around the particle is represented as \[\boldsymbol{v}={v}_{z}(\rho,z)\boldsymbol{e}_{z}+{v}_{\rho}(\rho,z)\boldsymbol{e}_{\rho},\] where \(\boldsymbol{e}_{z}\) and \(\boldsymbol{e}_{\rho}\) are unit vectors along the \(z\) and \(\rho\) axis, respectively. It is useful to define the polar angle \(\theta\equiv\arctan(\rho/z)\) measured anticlockwise such that \(\theta=0\) lies on the positive \(z\)-axis. The velocity field, \(\boldsymbol{v}\), in ([\[eq:adv_diff\]](#eq:adv_diff){reference-type="ref" reference="eq:adv_diff"}) is governed by the incompressibility criterion and the Stokes equation, \[\bnabla\bcdot\boldsymbol{v}=0,\nabla^2\boldsymbol{v}=\bnabla p,\] where \(p\) is the dynamic pressure, and subject to the following boundary conditions \[\label{eq:slip_con} \boldsymbol{v}\equiv M\bnabla_{\text{s}}c=v_{\text{s}}\left(\cos\theta\boldsymbol{e}_{\rho}-\sin\theta\boldsymbol{e}_{z}\right)\quad\text{at}\quad r=1,\] where \[v_{\text{s}}=M\left(\cos\theta\dfrac{\partial c}{\partial \rho}-\sin\theta\dfrac{\partial c}{\partial z}\right),\] and \[\label{eq:far_field_vel} \boldsymbol{v}\to-U\boldsymbol{e}_{z}\quad\text{as}\quad r\to\infty.\] The far-field speed \(U\) in eq. ([\[eq:far_field_vel\]](#eq:far_field_vel){reference-type="ref" reference="eq:far_field_vel"}) is unknown *a priori*, and is determined iteratively by requiring that the total hydrodynamic force on the particle in the \(z\)-direction is zero at all times. The presumed axisymmetry of the problem permits us to rewrite the velocity field in terms of the Stokes streamfunction \(\psi\), \[\label{eq:vel_def} \boldsymbol{v}=\dfrac{1}{\rho}\left(\boldsymbol{e}_{z}\dfrac{\partial \psi}{\partial \rho}-\boldsymbol{e}_{\rho}\dfrac{\partial \psi}{\partial z}\right).\] Taking the curl of the Stokes equations and introducing the vorticity vector \(\boldsymbol{\omega}=\bnabla\times\boldsymbol{v}\) eliminates the pressure from the governing equations, resulting in the following system of coupled partial differential equations, \[\label{eq:vort_def} \omega\rho+E^2\psi=0,\] \[\label{eq:vort_transport} \nabla^2 \omega-\dfrac{\omega}{\rho^2}=0,\] where \(\omega\) is the \(\phi\)-component of the vorticity \(\boldsymbol{\omega}\) about the \(z\)-axis, with the other components (\(\rho\) and \(z\)) of the vorticity vector vanishing due to symmetry, and the operators \[\label{eq:grad_op_def} \nabla^2=\dfrac{1}{\rho}\dfrac{\partial}{\partial \rho}\left(\rho\dfrac{\partial}{\partial \rho}\right)+\dfrac{\partial^2}{\partial z^2},\,E^2=\nabla^2-\dfrac{2}{\rho}\dfrac{\partial}{\partial \rho}.\] Equations ([\[eq:vort_def\]](#eq:vort_def){reference-type="ref" reference="eq:vort_def"}) and ([\[eq:vort_transport\]](#eq:vort_transport){reference-type="ref" reference="eq:vort_transport"}) must be solved subject to the following boundary conditions \[\label{eq:dn_grad_sfn_near} \boldsymbol{n}\bcdot\bnabla\psi=-\rho v_{\text{s}}\quad\text{at}\quad r=1,\] \[\label{eq:dn_grad_sfn_far} \boldsymbol{n}\bcdot\bnabla\psi\to-\rho U\sin\theta\quad\text{as}\quad r\to\infty,\] \[\label{eq:dn_grad_vort_far} \boldsymbol{n}\bcdot\bnabla\omega\to0\quad\text{as}\quad r\to\infty,\] \[\psi=0\quad\text{at}\quad r=1,\] with \(\boldsymbol{n}=\cos\theta\boldsymbol{e}_{z}+\sin\theta\boldsymbol{e}_{\rho}\) being the unit normal to the particle surface pointing into the fluid; and the symmetry condition \[\label{eq:symaxis} \psi=\omega=0\quad\text{along}\quad \rho=0.\] There exists a trivial solution to the system of equations given by eqs. ([\[eq:adv_diff\]](#eq:adv_diff){reference-type="ref" reference="eq:adv_diff"}), ([\[eq:vort_def\]](#eq:vort_def){reference-type="ref" reference="eq:vort_def"}), ([\[eq:vort_transport\]](#eq:vort_transport){reference-type="ref" reference="eq:vort_transport"}), which is the isotropic concentration profile \(c=1/r\), corresponding to the quiescent state of zero phoretic velocity and no fluid motion at all times. Beyond \(\Pen=4\), however, the quiescent state becomes unstable with respect to dipolar perturbations in the concentration field , and the autophoretic particle sets into motion. Further types of perturbation (such as quadrupolar) are unstable at larger values of the Péclet number as the higher hydrodynamic modes are excited. We therefore supply an asymmetrical concentration field as the initial condition to eq. ([\[eq:adv_diff\]](#eq:adv_diff){reference-type="ref" reference="eq:adv_diff"}), as follows \[\label{eq:init_cond} c(r,t=0)=\dfrac{1}{r}-\delta_{\text{per}}\left(\dfrac{\cos\theta}{r^2}\right),\] with \(|\delta_{\text{per}}|<1\).
# Numerical solution methodology {#sec:num_details}
As the first step in the numerical solution process, the initial condition given in ([\[eq:init_cond\]](#eq:init_cond){reference-type="ref" reference="eq:init_cond"}) is used to specify the slip boundary condition ([\[eq:slip_con\]](#eq:slip_con){reference-type="ref" reference="eq:slip_con"}) for the flow problem. The self-propulsion speed \(U(t)\) at any instant of time \(t\) must satisfy the requirement that total hydrodynamic drag force on the particle in the \(z\)-direction, \(F_{z}\), given by \[\label{eq:drag_calc} F_{z}\equiv\pi\int_{0}^{\pi}\left[\dfrac{\partial(\omega r)}{\partial r}-2\omega\right]_{r=1}\sin^2\theta\,d\theta\] vanishes at \(t\). The self-propulsion speed is evaluated iteratively using a secant method, as described in . Given two initial guesses \(U^{\left<j\right>}\) and \(U^{\left<j-1\right>}\) at time \(t\), where \(j\) denotes the iteration number, the hydrodynamic drag at the two values of the self-propulsion speed are evaluated. Using linear interpolation, an improved estimate for \(U\) is obtained as: \(U^{\left<j+1\right>}=\left(U^{\left<j\right>}F_z^{\left<j-1\right>}-U^{\left<j-1\right>}F_z^{\left<j\right>}\right)/\left(F_z^{\left<j-1\right>}-F_z^{\left<j\right>}\right)\). The procedure is terminated when the magnitude of the difference in the computed speeds between successive iterations \(|U^{\left<j\right>}-U^{\left<j-1\right>}|\) is reduced below \(10^{-5}\). The converged solution for the flowfield \(\left(\psi,\omega\right)\) at each time instant is then used to solve the advection-diffusion equation for the concentration field. Numerical computations require the stipulation of a finite outer boundary, and a value of \(R_{\text{o}}=100\) is chosen as the radius of the spherical shell on which the far-field boundary conditions are specified. The computational domain is discretized into quadrilateral spectral elements of order \(N_{\text{o}}=8\) using the GMSH software package , and the system of equations given by ([\[eq:adv_diff\]](#eq:adv_diff){reference-type="ref" reference="eq:adv_diff"}), ([\[eq:vort_def\]](#eq:vort_def){reference-type="ref" reference="eq:vort_def"}), and ([\[eq:vort_transport\]](#eq:vort_transport){reference-type="ref" reference="eq:vort_transport"}) is solved using a custom code based on the spectral element method . A detailed account of the solution methodology and its validation is provided in and . We only briefly recap the salient features here. The shape functions are defined as tensor products of 1D Lagrange polynomials of order \(N_{\text{o}}\), supported at \(N_{\text{o}}+1\) Gauss-Lobatto quadrature points over the standard region \([-1,1]^2\). The time-derivative in eq. ([\[eq:adv_diff\]](#eq:adv_diff){reference-type="ref" reference="eq:adv_diff"}) is discretized using the backward Euler algorithm, as follows \[\label{eq:euler_def} \dfrac{\partial c}{\partial t}\approx \dfrac{c^{(i+1)}-c^{(i)}}{\Delta t},\] where \(c^{(i)}\) denotes the value of the concentration at the discrete time \(t^{(i)}\), and \(\Delta t\equiv t^{(i+1)}-t^{(i)}\) is the width of the discrete timestep. The concentration variable is taken to be the arithmetic mean of its values at the current and previous timestep, that is, \[\label{eq:crank_nicol} c\equiv\dfrac{c^{(i+1)}+c^{(i)}}{2}.\] Equations ([\[eq:euler_def\]](#eq:euler_def){reference-type="ref" reference="eq:euler_def"}) and ([\[eq:crank_nicol\]](#eq:crank_nicol){reference-type="ref" reference="eq:crank_nicol"}) together represent the implicit Crank-Nicolson scheme that is second-order accurate in the timestep width, \(\Delta t\), and also unconditionally stable . A value of \(\Delta t=1.0\) is used for simulations with \(\Pen<20\), while a timestep width of 0.1 is used at higher values of the Péclet number. The spatial integral over each element is computed using the Gauss-Lobatto quadrature rule, resulting in a system of algebraic equations which is solved iteratively using a Newton-Raphson scheme. The discretised version of eq. ([\[eq:adv_diff\]](#eq:adv_diff){reference-type="ref" reference="eq:adv_diff"}), being linear (when the velocity field is prescribed), converges in one step, while the iterative procedure for the solution of the nonlinear system \[eqs. ([\[eq:vort_def\]](#eq:vort_def){reference-type="ref" reference="eq:vort_def"}) and ([\[eq:vort_transport\]](#eq:vort_transport){reference-type="ref" reference="eq:vort_transport"})\] is terminated when the \(L^2\)-norm of the difference between the solutions in successive steps, computed over all discretisation points, drops below \(10^{-6}\). Previous investigations on autophoresis have established that for particles with oppositely signed \(A\) and \(M\), perturbations to the concentration field vanish in the long-time limit, where the particle remains stationary. We therefore concern ourselves with the nontrivial case of similarly signed \(A\) and \(M\) values, which result in the self-propulsion of the active particle, and we pick \(A=M=1\) without loss of generality. At \(\Pen\leq10\) the solver is supplied an initial condition of the form given by eq. ([\[eq:init_cond\]](#eq:init_cond){reference-type="ref" reference="eq:init_cond"}), with the choice of \(\delta_{\text{per}}=0.1\). It is observed that different values of \(\delta_{\text{per}}\) in this regime result in the same long-time prediction for the steady phoretic velocity. At \(\Pen>10\) the concentration profile computed at a previous (lower) value of the Péclet number is used as the initial condition for the subsequent simulation at the next higher . The axisymmetry of the flow field restricts motion of the particle along the \(z\) axis. From the computed time-series of the swimming speed, the particle position at a discrete time \(i+1\) is evaluated as \[\label{eq:z_pos} z({i+1})=z({i})+U(i)\Delta t;\,\,z(0)=0.\] In the time interval \([0,t_{\text{sim}}]\), a total of \(N\equiv t_{\text{sim}}/\Delta t\) data points are recorded. The MSD and VAC, \(C_v\), at the \(n^{\text{th}}\) time interval are evaluated as follows \[\label{eq:msd_def} \text{MSD}(n)=\dfrac{1}{N-n}\sum_{i=0}^{N-n}\left[z(i+n)-z(i)\right]^2,\] \[\label{eq:vac_def} C_{v}(n)=\dfrac{1}{N-n}\sum_{i=0}^{N-n}\left[\boldsymbol{e}_{u}(i+n)\bcdot\boldsymbol{e}_{u}(i)\right].\] where \(\boldsymbol{e}_{u}(i)\equiv U(i)/|U(i)|\) is the unit direction vector of the self-propulsion speed at discrete time \(i\), and can take the value of \(+1\) or \(-1\). Equations ([\[eq:msd_def\]](#eq:msd_def){reference-type="ref" reference="eq:msd_def"}) and ([\[eq:vac_def\]](#eq:vac_def){reference-type="ref" reference="eq:vac_def"}) represent calculations of the time average over a single trajectory. The lag-time is defined as \(\tau\equiv n\Delta t\) and used in reporting the MSD and VAC results. For \(\Pen\geq50\), the total simulation time is at least \(t_{\text{sim}}=5\times10^3\), while that for \(\Pen=75\) and \(\Pen=80\) are \(t_{\text{sim}}=1\times10^4\) and \(t_{\text{sim}}=2\times10^4\), respectively. Data points corresponding to at least the first \(1\times 10^4\) timesteps in these runs are discarded prior to the calculation of the MSD and VAC, to remove the effects of transients.
# Results and discussion {#sec:res_disc}
We analyze the dynamics of the autophoretic particle as a function of the Péclet number. have shown that the particle remains stationary until \(\Pen=4\). This range, \(0\leq\Pen\leq4\), may be termed as the quiescent regime. As the Péclet number is increased beyond 4, the fore-aft symmetry in the concentration profile is broken, and the particle executes steady rectilinear self-propulsion. In fig. [\[fig:steady_swim\]](#fig:steady_swim){reference-type="ref" reference="fig:steady_swim"}, the steady self-propulsion speed \(U\) from our computations is plotted as a function of , and it is seen that \(U\) attains a maximum at \(\Pen\approx9\), and decreases smoothly up to a value of \(\Pen\approx26\). This range, \(4<\Pen\leq26\), is classified as the steady self-propulsion regime. Furthermore, the good agreement of our results with data from establishes the validity of the numerical procedure used in the present work. At \(Pe\approx27\), however, there is another qualitative change in the motion of the active particle, as it experiences a drop of almost three orders of magnitude in its self-propulsion speed, becoming practically stationary and entering what we refer to as a stirring regime. The seemingly abrupt transition in particle motion may be understood by considering the relative growth rates of the various angular modes near the Péclet number at which the transition is observed. In fig. 1 of , analytical solutions to the growth rates of the various unstable modes are plotted as a function of the Péclet number. Near \(Pe\approx30\), the growth rates of the higher order modes are seen to outweigh the dipolar self-propulsion mode, and this could be a reason for the qualitative change in the dynamics of the particle from the swimming to the stirring regime. The transition may also be examined by a comparison of the concentration profile of the solute cloud, and the streamlines of the flow profile, at two different values of \(\Pen\), as illustrated in fig. [\[fig:conc_sfn_map\]](#fig:conc_sfn_map){reference-type="ref" reference="fig:conc_sfn_map"}. The solute distribution around the autophoretic particle is fore-aft asymmetric at \(\Pen=20\), but is nearly fore-aft symmetric at \(\Pen=30\) with a maximum concentration at the front and rear stagnation points. Furthermore, the streamlines in fig. [\[fig:conc_sfn_map\]](#fig:conc_sfn_map){reference-type="ref" reference="fig:conc_sfn_map"} (d) indicate a recirculation of the fluid around the autophoretic particle, where fluid is brought in along the polar axis and expelled at the equator. This flow pattern is consistent with the dominance of a quadrupolar disturbance to concentration profile. This region of parameter space \(27\leq \Pen\leq 50\) is therefore analogous to the symmetric extensile pumping regime identified by , wherein the activity of the particle results in the stirring of the fluid around it, without resulting in its translation. In figure [\[fig:u_vs_time\]](#fig:u_vs_time){reference-type="ref" reference="fig:u_vs_time"}, the instantaneous self-propulsion speed of the autophoretic particle is plotted as a function of time for various values of \(\Pen\). The swimming speed in the steady regime, as seen from fig. [\[fig:u_vs_time\]](#fig:u_vs_time){reference-type="ref" reference="fig:u_vs_time"} (a), settles to a constant value of \(\textit{O}(10^{-1})\) following an initial transient, while that in the stirring regime (shown in fig. [\[fig:u_vs_time\]](#fig:u_vs_time){reference-type="ref" reference="fig:u_vs_time"} (b)) is orders of magnitude lower. Beyond \(\Pen=51\), an onset of oscillations in the swimming speed is observed. While these oscillations are transient and vanish at longer times for \(\Pen=52\), they become more persistent at \(\Pen=53\), as seen from figures [\[fig:u_vs_time\]](#fig:u_vs_time){reference-type="ref" reference="fig:u_vs_time"} (c) and (d), respectively. With a further increase in \(\Pen\), the particle begins to move back and forth along the \(z\)-axis, the time scale for the reversal in self-propulsion direction decreases and the magnitude of the instantaneous self-propulsion speed increases, as seen from figures [\[fig:u_vs_time\]](#fig:u_vs_time){reference-type="ref" reference="fig:u_vs_time"} (e) and (f). The region \(\Pen\geq55\) may be termed as the chaotic regime, characterized by short bursts of self-propulsion in arbitrary directions (along the \(\pm z\)-axis) and sharp changes in both the magnitude and direction of the self-propulsion speed. The dynamics in the chaotic regime is explored further by considering a representative case of \(\Pen=75\). The time series of instantaneous self-propulsion speed at \(\Pen=75\) is shown in figure [\[fig:pe75_analysis\]](#fig:pe75_analysis){reference-type="ref" reference="fig:pe75_analysis"} (a). Following an initial transient that lasts till \(t\approx3000\), the velocity settles into a characteristic pattern, with intermittent bursts of chaos that interrupt nearly regular oscillations of slowly varying amplitude . The instantaneous position of the particle along the \(z-\)axis, evaluated using eq. ([\[eq:z_pos\]](#eq:z_pos){reference-type="ref" reference="eq:z_pos"}), is plotted in fig [\[fig:pe75_analysis\]](#fig:pe75_analysis){reference-type="ref" reference="fig:pe75_analysis"} (b) as a function of time. After a transient period, the particle is seen to oscillate about a mean position of \(z=-1\). The time-averaged concentration profile and streamlines of flow around the autophoretic particle, evaluated in the window \(t\in\left(3000,8000\right)\), are plotted in figs. [\[fig:pe75_analysis\]](#fig:pe75_analysis){reference-type="ref" reference="fig:pe75_analysis"} (c) and (d), respectively. The concentration map is largely fore-aft symmetric, and this is consistent with the limited (net) mobility of the particle seen in (b). The pattern of the streamlines is qualitatively similar to that observed in the stirring regime (*cf*. fig. [\[fig:conc_sfn_map\]](#fig:conc_sfn_map){reference-type="ref" reference="fig:conc_sfn_map"} (d)). A similar behaviour is observed at \(\Pen=80\), following an initial transient period that lasts till \(t\approx1500\). The intermittent bursts of chaos are more frequent, however, as observed in figure [\[fig:pe80_analysis\]](#fig:pe80_analysis){reference-type="ref" reference="fig:pe80_analysis"} (a). Due to the more frequent injections of this 'turbulent' motion, the particle travels a larger distance than at \(\Pen=75\), as seen from figure [\[fig:pe80_analysis\]](#fig:pe80_analysis){reference-type="ref" reference="fig:pe80_analysis"} (b). While the velocity and displacement time series of the autophoretic particle in the chaotic regime vary markedly depending upon the Péclet number, an analysis of the particle's mean square displacement and velocity autocorrelation reveals certain unifying features, as discussed below. In figure [\[fig:msd_mult\]](#fig:msd_mult){reference-type="ref" reference="fig:msd_mult"}, the MSD of the particle is plotted as a function of the lag time for a range of Péclet numbers. At \(\Pen=5\), corresponding to steady self-propulsion, the MSD grows as \(\sim \tau^2\), since the particle moves rectilinearly at a constant speed. Péclet numbers in the range \(27\leq\Pen<50\) are not examined since the particle is in a state of dynamic arrest, with only the fluid around it undergoing symmetric pumping, or stirring. In the chaotic regime, the MSD initially grows ballistically before transitioning to subdiffusive motion (\(\sim \tau^{0.8}\)). The timescale for the crossover in scaling is pushed to smaller values as \(\Pen\) is increased. The subdiffusive exponent of \(0.8\) is observed over a range of Péclet numbers between \(55\leq\Pen\leq 80\), and thereby appears to be a universal signature of chaotic dynamics in the axisymmetric motion of autophoretic particles. Anomalous diffusion (that is, MSD \(\sim\tau^{\alpha}\) with \(\alpha\neq1\)) is observed in several contexts, including: the dynamics of colloidal tracers in entangled actin filament networks ; the motion of RNA tracers and DNA loci in living cells , and that of bacteriophages in mucus layers ; and the self-diffusion of sticky polymers in associated networks . The two most commonly attributed reasons for this phenomenon are fractional Brownian motion or continuous time random walk . While a particle subject to fractional Brownian motion evolves its position in time due to a Gaussian noise with a long-range correlation, that undergoing a continuous time random walk process takes steps of random length, with the waiting time between jumps also sampled from a probability distribution. Neither of these two stochastic models, however, directly describe the subdiffusive motion in our computations of an autophoretic particle, which is deterministic and free from external noise. have shown that discrete maps of the form \(x_{t+1}=x_{t}+hx^{\mu}_{t},\,\text{where}\,h>0,\,\text{and}\,\mu>1\), result in chaotic dynamics, and can exhibit subdiffusive behavior upon tuning the \(\mu\) parameter. This occurrence of subdiffusion in the chaotic dynamics of a deterministic system is in line with our computations. In fig [\[fig:vac_comparison\]](#fig:vac_comparison){reference-type="ref" reference="fig:vac_comparison"} (a), the velocity autocorrelation for an autophoretic particle with \(\Pen=80\) is plotted as a function of time. Rapid changes in the direction of self-propulsion result in a decorrelation of the signal, which crosses zero at \(\tau\approx15\). This is followed by the appearance of negative dips and oscillations in the VAC: these features have also been observed experimentally by and , as discussed below in detail. The variation in the VAC with \(\Pen\) is illustrated in fig [\[fig:vac_comparison\]](#fig:vac_comparison){reference-type="ref" reference="fig:vac_comparison"} (b), where the data for \(\Pen\geq55\) have been shown only till the first instance of their crossing zero, for clarity. A decrease in the Péclet number from \(\Pen=80\) results in less rapid changes in the particle motion, which is reflected in the longer time required for the velocity to decorrelate. Finally, at \(\Pen=5\), the VAC is constant in time, indicating a complete correlation in the velocity, due to the persistent unidirectional translation of the particle. The timescale for the loss in correlation with a variation in \(\Pen\) corresponds approximately to the time at which a crossover in the MSD scaling in figure [\[fig:msd_mult\]](#fig:msd_mult){reference-type="ref" reference="fig:msd_mult"} is observed. Such a decrease in the correlation time with an increase in \(\Pen\) has also been reported by , who performed 3D simulations of a phoretic particle using the immersed boundary method. That study, however, does not report a zero crossing in the VAC for the range of lag times investigated. We note a qualitative similarity between the trends in figures [\[fig:msd_mult\]](#fig:msd_mult){reference-type="ref" reference="fig:msd_mult"} and [\[fig:vac_comparison\]](#fig:vac_comparison){reference-type="ref" reference="fig:vac_comparison"}, and the experimental findings on active droplets suspended in an aqueous surfactant solution within a Hele-Shaw cell . In their experiments, the droplets undergo self-propulsion due to a Marangoni stress imbalance at the interface, driven by a reaction between the droplet contents and the surfactant, resulting in the generation of oil-filled micelles. The active droplets undergo a transition from ballistic motion to anomalous diffusion with an increase in the Péclet number, which is also accompanied by a faster decay in the velocity autocorrelation. The droplets are found to avoid the chemical trail that they generate, and undergo a two-dimensional self avoiding walk, with MSD \(\sim\tau^{3/2}\). In our model, the particle is restricted to motion along a line, where the only route for trail avoidance is a reversal in the direction of self-propulsion. The long-time MSD, therefore, grows less rapidly than the experimental system where the particle may move in two dimensions to avoid the self-generated chemical gradient.
# Conclusions {#sec:conclusion}
Using a spectral element method to solve for the velocity and concentration fields around a rigid, spherical autophoretic particle in axisymmetric translation, we have demonstrated that the transition to chaotic dynamics proceeds through quiescent, steady, and stirring regimes, as the chemical activity (\(\Pen\)) of the particle is increased. The motion of the particle in the chaotic regime is analyzed using the mean square displacement and the velocity autocorrelation, and the dynamics is observed to be subdiffusive in the long-time limit (that is, MSD\(\sim\tau^{\alpha}\), with \(\alpha<1\)) and not ballistic. Our findings thereby answer a question posed by on whether axisymmetric computations of autophoretic particles could give rise to non-ballistic long-time dynamics. In fact, the value of \(\alpha\) is found to be universal in the chaotic regime (\(55\leq Pe\leq80\)), with higher values of the Péclet number resulting in a faster decay of the velocity autocorrelation. It would be natural to extend our analysis to particles with a finite value of the \(m\) parameter, that is, where both diffusiophoresis and Marangoni flow contribute to self-propulsion. Here, one could examine if the scaling exponent of the MSD is dependent upon the value of \(m\). This in relation to the findings by , which suggest that some amount of diffusiophoresis is needed in order to induce the transition to chaos, thereby implying that only steady translation is observed for purely Marangoni propulsion, \(m=0\). The simulations in the present work are restricted to the axisymmetric case, where the particle can move along a single dimension. Active droplets swimming in 1D have been studied experimentally , albeit in the presence of a confining geometry. have recently investigated the motion of autophoretic particles under confinement in a tube using fully 3D simulations, and observe rectilinear steady self-propulsion up to \(Pe<15\). Should a transition to chaotic dynamics occur at larger \(\Pen\), it may be that the effect of the confinement in rendering the propulsion effectively one-dimensional leads to subdiffusion as predicted here. Experiments of on active droplets in a Hele-Shaw geometry reveal that the droplets undergo a self avoiding walk (\(\alpha=1.5\)) at sufficiently large \(\Pen\), while simulations of 2D active circular disks by predict normal diffusion (\(\alpha=1.0\)). The present results suggest that the values of these scaling exponents could be universal within the regime of chaotic self-propulsion. Of course, it would be interesting to determine the scaling exponent for an autophoretic particle free to move in three dimensions, although such computations would be numerically expensive. **Acknowledgements.** R.K. thanks Nicholas Chisholm for detailed discussions regarding the numerical solver. **Funding.** We gratefully acknowledge the support of the Charles E. Kaufmann Foundation of the Pittsburgh Foundation. **Declaration of interests.** The authors report no conflict of interest. | {'timestamp': '2022-03-07T02:02:22', 'yymm': '2203', 'arxiv_id': '2203.01988', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01988'} |
null | null |
# Introduction {#sec:introduction}
The Brazilian Supreme Court (*Supremo Tribunal Federal* (STF) in Portuguese) is the highest court of law in Brazil. It is primarily responsible for guarding the rights in the Brazilian Constitution. There are eleven justices, nominated by the President and confirmed by the Senate. Among its multiple attributions, STF can provide a final judgment on appeals from other courts and a judicial review on some norms created in the country. In 2004, Brazil had more than 100 million pending cases in the Judiciary. To reduce those numbers and avoid conflicting decisions, the National Congress amended the Constitution that same year, allowing STF to create binding precedents (Súmulas Vinculantes in Portuguese). These precedents consolidate understandings on judicial issues that both Executive and lower Judiciary branches must follow. From 2004 to 2020, the Court ruled 58 of those precedents, covering some of the most critical discussions from crime to tax law. For example, binding precedent 37 addresses the issue of salaries of public servants and has the following statement: *"It is not up to the Judiciary, which has no legislative function, to increase the salaries of public servants, on the grounds of isonomy."* At first, the intention was to end the controversy. Still, the STF ends up later resolving thousands of cases that present a divergence on the application of a binding precedent (BP). Consequently, STF's justices regularly cite these binding precedents in their decisions. We consider a decision as a justice's ruling on a particular legal case, written and published on a legal document afterward. The terms "decision" and "legal document" are used interchangeably in this paper. Given the large number of decisions in STF --- more than 1 million from 2011 to 2020 --- , lawyers and other judicial experts face difficulties finding citations to BPs and analyzing them. Such difficulties arise from the lack of a computational tool to help the experts to find, for instance, decisions that cite a particular BP of interest. Moreover, it is usual to have decisions with hundreds of pages, making it hard for lawyers and other experts to find parts of interest where justices cite, quote, or implicitly mention a BP. We worked alongside a domain expert to address these challenges to develop a web-based visual analytic tool named LegalVis. We designed this system to explore and analyze the texts of STF's legal documents, particularly their explicit or implicit relationships with binding precedents. In contrast to an explicit citation to a BP, which can be easily found by searching "Binding Precedent \#X" (in free translation) in the document's content, finding potential citations to a BP is not a straightforward task. To tackle this issue, LegalVis relies on a machine learning model to identify potential citations, building upon an interpretability mechanism to provide reliable explanations for the model's decisions. This system also provides mechanisms for quickly identifying documents and BPs of interest through multiple linked views and interactive tools. These features permit easy analysis of the content of the documents and, at the same time, allow us to interpret the relationships that exist between similar documents and their relation with the BPs. We demonstrate the potential of LegalVis through two usage scenarios that show insightful and relevant findings. Our usage scenarios were validated by six domain experts not involved in the system's development, who also outlined the usefulness and potential of LegalVis. Both components in LegalVis, the potential citation identification model and the visual analytics tool, could be applied to any court within the judicial system. We have chosen to deal with STF's decisions due to their relevance in the national context. Our main contributions are:
- A pipeline for the identification of potential (*i.e.*
- LegalVis, a visual analytics system that assists lawyers and other judicial experts in exploring legal documents and binding precedents.
- Two usage scenarios, validated by six domain experts not involved in the system's development, showing relevant judicial findings concerning STF's decisions.
# Conclusion
In this paper, we presented LegalVis, a web-based visual analytic system designed to assist lawyers and other judicial experts in analyzing legal documents that cite or could potentially cite binding precedents. LegalVis first identifies potential citations by implementing a simple yet powerful machine learning model based on classification. Then, an interpretability mechanism also incorporated into the system provides reliable explanations for the model's decisions. Finally, all this information becomes accessible through the three interactive and linked views that compose the system. Qualitative and quantitative analyses validated the performance of the proposed model and two usage scenarios demonstrated the usefulness and effectiveness of LegalVis system. Both scenarios were validated by six domain experts not involved in the system's development, who also reported positive feedback.
# Related Work
In this paper, we are interested in identifying and analyzing decisions somehow related to binding precedents, either by explicitly citing or implicitly mentioning them. In this context, a crucial step is to compute and visualize the similarity between the binding precedent and parts of a legal document. In the following, we discuss related research under two perspectives: visualization of similarities between parts of documents and works related to legal documents analysis.
## Visualizing Similarities between Parts of Documents
Several text visualization techniques have been proposed for many tasks, domains, and data types. We point the reader to the surveys by Alharbi and Laramee and by Kucher and Kerren for a broader understanding of this topic. One particular category of techniques focuses on visualizing document-level similarity, which is generally achieved by representing documents as points in a 2D or 3D visualization plane and positioning them accordingly . Rather than just knowing whether two documents are similar to each other, one may be interested in exploring similarity at a fragment-level, *i.e.* A high similarity between the two parts is expected when there is text repetition, which is one of the text reuse possibilities . Still, even parts that do not share many words may be similar to each other depending on the underlying semantics . Either way, a visual analysis of these similar parts' contents is helpful in various contexts, as in tasks related to technical writing and plagiarism identification . Examples include *PicaPica* , a visual analytic tool that highlights differences and commonalities between two documents to help users in detecting plagiarism, and the *Text Re-use Browser* , which highlights pairs of similar sentences of the Bible via a dot plot matrix. Different visualization techniques support the comparison between documents at a fragment-level, from grid-based heatmaps to side-by-side views . They usually fall into one of two basic categories depending on the level of details on the raw text they provide : while *close reading* techniques allow the analysis of the text itself (words, phrases, ideas, and so on --- see, *e.g.* One such example is the system proposed by Kiesel et al. to compare argument structures in essays . Our approach computes syntactic and semantic similarities (for explicit and potential citations, respectively) between parts of a document and the binding precedent being cited. To show such similarities intuitively and effectively, we rely on a hybrid approach that allows both distant and close readings in a top-down manner. Contrary to the mentioned systems, LegalVis is designed to handle Brazilian legal documents and particularities. We discuss studies related to the analysis of legal documents in the following section. Finally, different visual encoding strategies may be employed to optimize the analysis of similar parts' contents when in close reading. One such choice is the use of colors (in the background or font color) to indicate common words or shared ideas . Other possibilities include changes in the font size, connections, and glyphs . LegalVis employs the first option.
## Legal Documents Analysis
In common law countries, such as the United States and Australia, lawyers and other judicial experts often search for precedents, looking at how old decisions could help solve open cases . In this context, automated text processing becomes a valuable tool that allows these professionals to search and analyze legal documents , especially when the task of interest involves finding relevant precedents or similar decisions . Given the many benefits of visual analytics, some authors have created visualization tools to help users explore such a high amount of legal data. An example is *Knowlex* , a visual analytic system that links and exhibits Italian legal documents from different sources related to the user's law of interest. By employing citation networks, *EUCaseNet* allows one to visually explore citations involving judgments from the European Court of Justice through network structural properties that will enable, *e.g.* Despite advances in the development of visual frameworks to assist in legal documents analysis, users are still challenged in exploring and visualizing legal data in Brazil. The Brazilian courts' websites and other official platforms usually exhibit copious pages of results, each containing several and long decisions. A few efforts have been made to enhance the visualization of these data. One of them is the *Supremo 2.0* system , a tool designed to visualize STF's quantitative and multidimensional data. By working with a dataset similar to ours, Gomez-Nieto et al. proposed a visual analytic tool that allows exploring case-related aggregated information from STF through different representations (*e.g.* Our approach addresses a challenge not pursued by any other tool, even though some of them have characteristics in common with ours, such as linked views or the use of STF's data. LegalVis's primary goal is to provide a compelling exploration of legal documents that explicitly or potentially cite binding precedents. This involves an effective visualization and suitable machine learning and interpretability methods to identify and explain potential (non-explicit) citations. Not even those studies that also rely on STF's data consider this type of citation information in their work. Various platforms developed search engines for legal documents and jurisprudence. In Brazil, *Buscador Dizer o Direito* presents commented documents, although the number of commentaries may be considered small, and *OAB Juris * uses artificial intelligence algorithms to present more relevant results. Other Brazilian platforms include *JusBrasil* and *LexML* . In the Netherlands, *Bluetick* offers suggestions and similarity concepts during the search. In general, however, these platforms do not offer efficient visualization or natural language processing (NLP) algorithms that could improve results and time during a user's search. Some other tools are more elaborate, offering solutions based on analytics, visualization, machine learning, digitalization, and process automation. In Brazil, *Finch Platform* and *Legal One* are some of the most known tools, and, in United States, there are *Lexis* , *Westlaw* , and *Casetext* . The last one, in particular, allows the use of Transformer-based models to search for case laws that are similar to given sentences. As stated, none of these tools and search engines meets LegalVis's objectives.
# System Overview
After several weekly meetings with a domain expert, we identified the challenges behind exploring legal documents and binding precedents. We characterize a set of questions/requirements to be addressed by the analytical tool. We present the system's requirements and the concrete visualization tasks that guided our visual design throughout this section. We also provide an overview of the system's workflow.
## System Requirements
After elucidating the domain experts' needs, we came up with several questions grouped into three categories. The first category comprises questions related to the identification of decisions that cite or could potentially cite a binding precedent: Which decisions in the STF (overall, per Justice rapporteur, and type of decision) explicitly cite a specific binding precedent? Which decisions in the STF (overall, per Justice rapporteur, and type of decision) could potentially cite a specific binding precedent? In other words, which decisions end up citing a particular binding precedent in a non-explicit manner? Are there decisions related to a to-be-created binding precedent? The second category of questions are related to the filtering and analysis of relevant decisions: Which decisions cite a specific binding precedent on a given date? Given a date, are there similar decisions that cite the same binding precedent? Which are the most relevant decisions among those that cite a specific binding precedent on a given date regarding the similarity between binding precedent and decision? Finally, the third category of questions addresses issues related to the similarity between parts of decisions and BPs and the relevance of those parts: How similar is each part of a decision to the corresponding binding precedent? Which parts of a decision cite or are likely to cite a specific binding precedent? Given many decisions, can one quickly access multiple decisions of interest and their relevant parts when analyzing different dates and binding precedents?
## Design Tasks
Based on the requirements described above, we raised concrete visualization tasks to guide the LegalVis system's development, following the mantra *"overview first, zoom and filter, then details-on-demand\"* . The system should exhibit decisions that explicitly cite a specific binding precedent (Q1.1) and identify/exhibit those that could potentially mention it (non-explicit citation) (Q1.2, Q1.3). The system should provide an overview of all the decisions and binding precedents, highlighting the chronological order they appear (Q1.3). The system should allow filtering decisions by Justice rapporteur, by decision type, and by type of citation (explicit or potential) (Q1.1, Q1.2, Q1.3). It should also allow selecting decisions based on the date and binding precedent (Q2.1). The system should identify and group similar decisions that cite the same binding precedent on a given date (Q2.2) and order them in the layout according to the similarity between binding precedent and parts of a decision (Q2.3). The system should quickly identify the most similar paragraphs/sentences to the binding precedent (Q3.1). It should also highlight those parts that (either explicitly or potentially) cite that precedent (Q3.2). The system must provide means to access decisions already analyzed quickly, regardless of the date and binding precedent (Q3.3).
## Workflow
After mapping the requirements into design tasks, we define the system's workflow (see ). In the first stage, **data collection (a)**, we consult the digitized decisions stored in a database. They already contain the explicit citations that were found using regular expressions. However, it is necessary to query and label the decisions and binding precedents that we will use in the following stages (details in ). In the second stage, **identification of potential citations (b)**, we use the collected data to train a machine learning model that characterizes a citation to a particular binding precedent. After that, the procedure infers potential citations and explains the reason behind the decision by employing an interpretability method (details in ). Finally, in the third stage, **visualization (c)**, users explore and visualize documents that explicitly cite or that can potentially be citing binding precedents. LegalVis comprises three linked view components: Global View, which presents an overview of the data under a temporal perspective; Paragraph Similarities View, which allows for filtering and grouping relevant documents; and Document Reader, which shows a document's content and points out which parts of the document are likely to mention a binding precedent (details in ).
# Dataset {#sec:data_set}
When an STF justice decides a case, this decision is consolidated in a document. Each document contains the decision's text, publication date, the justice that conducted the process (justice rapporteur), and the document type (*e.g.* In this work, we are interested in STF decisions that are somehow related to a binding precedent, explicitly or *potentially* citing it. In total, we have 58 binding precedents, idealized as a mechanism to create a consolidated understanding among the STF's justices. We collected our dataset from a partnership with the *Supremo em Números* ("STF in Numbers", in free translation) project --- a project that seeks to assess legal and computer knowledge to produce unprecedented data on the Supreme Court. This dataset contains more than 2,500,000 documents since 1988 and metadata such as the number of the BP being cited (if that is the case) and document type. Considering only decisions that explicitly cite at least one of the 58 BPs, there are 38,364 documents, totaling 41,031 citations (some documents may mention more than one BP). The number of citations per BP does not follow a uniform distribution, as we can see in . As requested by the domain experts, the name of the justice rapporteur is essential for the analysis. | {'timestamp': '2022-03-07T02:02:58', 'yymm': '2203', 'arxiv_id': '2203.02001', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02001'} |
null | null |
# Introduction
Surgical resection is a common procedure in the treatment of pediatric posterior fossa tumors. However, surgical resection is associated with potential serious complications , such as postoperative cerebellar mutism and resultant long-term neuropsychological dysfunction . While brain tissue damage caused by the tumor itself may be minor, it is typically not possible to remove the tumor without impacting surrounding healthy brain tissue. Thus, surgical damage is often unavoidable. Understanding the relationship between the damaged cerebellar regions and postoperative neurological and cognitive outcomes has the potential to guide surgery and significantly affect quality of survival of patients. Therefore, a reliable localization and measure of cerebellar damage is needed and fundamental to conduct this type of investigation. Defining the volume-of-interest (VOI) for cerebellar damage in the postoperative brain MR image is challenging, even for human experts performing this task manually. First, the damage we want to identify herein is the "loss of normal brain tissue". Instead of showing an abnormal intensity in the MR image, this missing tissue presents as just an empty space (cavity) filled with cerebrospinal fluid (CSF). In addition, an abnormal CSF distribution does not necessarily reflect damage, because normal brain tissues may have already been displaced by the presence of the tumor and disease complications (e.g., hydrocephalus) before the surgery. Presence of the tumor near the fourth ventricle complicates this issue, as the ventricle space is connected to the postsurgical cavity. Given these challenges, we aim to develop a fully automatic procedure to define the damage VOI. We measure the damage by comparing the spatially unbiased atlas template (SUIT) of the cerebellum and the normalized patient's cerebellum, which distinguishes the missing brain tissue from the fourth ventricle space. Efforts have been made in cerebellum normalization to understand structure-function relationships . Grosse et al. related cerebellar lesion to the cognitive and motor deficits in pediatric brain tumor survivors. However, their approach to identify cerebellar lesion was achieved manually. A lesion mask was manually created in both native and atlas space. Our approach is fully automatic, and is closely related to SUIT normalization, first proposed in by Diedrichsen. In their approach, an isolation algorithm is applied to segment the cerebellum from the whole brain, using the ICBM152 template and prior information on the brain tissue. The the cerebellum is then normalized to the SUIT atlas via the algorithm proposed in and implemented in the SPM2 package , an early version of SPM. Diedrichen et al. later developed a VOI-based SUIT normalization, which uses the VOI of the dentate nuclei to guide normalization. The VOI-guided approach yields more accurate normalization, but requires the dentate nuclei VOI as an additional input. The SUIT normalization software is available at , which uses SPM12 segmentation for brain tissue segmentation and DARTEL as the normalization algorithm in its latest implementation. Despite its success in many applications , the SUIT normalization technique, however, cannot be directly applied here to detect cerebellar damage, because it does not take the surgical cavity into account and damage to the dentate nuclei may be present. The cerebellum isolation algorithm is likely to fail in the first place by miss-classifying surgical cavity as gray matter, regardless of the normalization algorithm used later. In addition, given an accurate cerebellum mask, the DARTEL algorithm tends to over stretch the brain tissues to match the template, resulting in little or no damage in the atlas space. Therefore, both the brain tissue segmentation and the cerebellum normalization need to be carefully designed for postoperative images. In this work, we propose a novel automatic approach to detect and measure cerebellar damage. This work has three major contributions: (1) We develop a brain tissue segmentation algorithm that considers the presence of surgical cavity, enlarged ventricles and other non-tissue components such as the presence of absorbable hemostat and blood products, which are commonly seen in postoperative images. (2) We develop a customized cerebellum normalization procedure that uses anatomical information in combination with the state-of-the-art nonlinear registration algorithm, SyN , implemented in the Advanced Normalization Tools (ANTs) . The normalization technique proposed here is more accurate than SUIT normalization on postoperative images, thus can also be useful for applications other than damage detection, such as functional magnetic resonance imaging (fMRI) analyses where mapping from the blood-oxygen-level-dependent (BOLD) signal to the cerebellum functional regions is required. (3) We provide an automatic and accurate VOI estimate of cerebellar damage in the atlas space, which is vital to study structural damage and function relationship and also to perform group comparisons.
# Methods {#sec:method}
## Overview
Detecting surgical damage is challenging because the void region in the postoperative image does not necessarily indicate damage. This is evidenced by the following: 1) If the tumor was near the fourth ventricle before resection, the void region of the postoperative image would show both the cerebellar damage and the fourth ventricle space as one unified fluid-filled space. 2) Even for lateral tumors, the volume of the void region does not reflect the volume of damage, because the degree of deformation of normal brain tissues varies by patient. Hence, we detect surgical damage in the atlas space instead of native space. The accuracy of the damage detection then heavily relies on the accuracy of segmentation and normalization algorithms. Therefore, we specifically design a brain tissue segmentation algorithm and a cerebellum normalization approach to address this issue, which constitute two major components of the overall damage detection tool. An overview of the proposed framework is shown in Fig. [\[fig:workflow\]](#fig:workflow){reference-type="ref" reference="fig:workflow"}. The 3D T1 image is first preprocessed by cropping, bias correction and brain extraction. The white matter (WM) and gray matter (GM) are then segmented via a brain tissue segmentation algorithm we developed taking the surgical cavity into account (see detailed description in Section [7.4](#sec:brain_tissue_seg){reference-type="ref" reference="sec:brain_tissue_seg"}). The cerebellum is isolated by nonlinear registration of the ICBM template to the native space, keeping only WM and GM in the moving and fixed image. The isolated cerebellum of the patient is then normalized into the SUIT template space using labeled (background: 0, WM: 1, GM: 2, stem: 3) fixed and moving images. Finally, the surgical damage is detected by comparing the difference between the normalized image and the SUIT template.
## Templates and processing {#sec:templates}
### ICBM
The ICBM template is available at UCLA brain mapping center and is used here as our the whole brain template. Our implementation uses only WM and GM for more accurate registration to the native space. WM and GM can be obtained by thresholding the template after brain extraction using FSL BET . The cerebellum mask of ICBM is the combined region of the zones with the following labels: 58, 67, 237, 238, and 251. The probability maps of WM and GM of this atlas are used in our brain tissue segmentation algorithm as prior probabilities.
### SUIT
The SUIT atlas is used as the cerebellum template for cerebellum normalization. The same brain tissue segmentation algorithm is used to generate probability maps of WM and GM and label this template (WM: 1, GM: 2). The stem VOI was created manually and labeled as 3. The original and processed templates used in our implementation are shown in Fig [\[fig:templates\]](#fig:templates){reference-type="ref" reference="fig:templates"}.
## Input preprocessing {#sec:preprocessing}
Neck and lower head are first removed using FSL robustfov from the input postsugical 3D T1 image. The cropped image is then bias corrected using N4 bias correction , and brain extracted using FSL BET . Because of the presence of the surgical cavity and potentially contaminated brain tissues, the BET mask is generally not satisfactory. Thus, a better brain mask is obtained by affine registration of the brain extracted ICBM template to the brain extracted input image, and then binarizing the warped template.
## Brain tissue segmentation {#sec:brain_tissue_seg}
Patients being treated for posterior fossa brain tumors present with abnormalities that complicate standard neuroimaging anatomical analysis such as segmentation of brain tissues. In addition to the presence of a tumor, or relatively large postsurgical cavity (which may progressively contract later), abnormalities such as enlarged ventricles (i.e., hydrocephalus) are common. Therefore, commonly used brain tissue segmentation tools (e.g., SPM unified segmentation ) designed for the healthy population are susceptible to failure on postoperative images. Here we present a brain tissue segmentation approach modified from the brain tumor segmentation algorithm based on outlier detection, proposed in . As this work is aimed to detect damage on postoperative images, we assume that there is no tumor present in the image. Therefore, only three classes are modeled in our algorithm: WM, GM and other, i.e., class label \(\mathbb{Y}=\{\mathrm{WM},\mathrm{GM},\mathrm{other}\}\). The "other" class contains primarily CSF, but may also contain blood products, hemostat, non-brain regions (due to imperfect brain extraction), and other components that are not considered as normal brain tissue. The WM and GM probabilities are initialized as ICBM atlas priors (affine transformed into the native space). Because of the presence of surgical cavity, enlarged ventricles and other non-tissue components, probability of the "other" class is initialized as uniform distribution (\(\Pr(\mathrm{other})=0.5\)), rather than using the CSF prior of ICBM. Then, the probability density function of each class, denoted as \(p(x|Y)\), is estimated via kernel density estimation using voxels sampled according to prior probability. Because the WM and GM samples can have contaminants (due to inaccurate priors), an outlier detection approach is used to detect and remove the contaminants (key idea proposed in ). Outlier detection is performed by using the Minimum Covariance Determinant estimator, setting the support fraction to 0.5. Unlike where T1 and T2 are taken as inputs, our implementation uses only 3D T1 as the input, as it provides good spatial resolution and good contrast between WM, GM, and others. The outlier detection in our implementation is hence performed in one dimension (T1 only) instead of two (T1 and T2 as in ), and not performed for the "other" class, since we allow this class to have contaminants. The posterior probabilities are then calculated according to Bayes' theorem: \[Pr(Y|x)=\frac{p(x|Y)Pr(Y)}{p(x)},\] where \(p(x)=\sum_{Y\in \mathbb{Y}}p(x|Y)Pr(Y).\) The posteriors are used as priors in the next iteration, and the probabilities are updated through a total of 3 iterations in our implementation. The final WM and GM masks are generated by thresholding the smoothed posteriors at 0.5. The union mask of WM and GM is denoted as \(\mathrm{WM} \cup \mathrm{GM}\).
## Cerebellum isolation, normalization and damage detection
### Cerebellum isolation
The cerebellum is isolated by non-linear transformation of the ICBM atlas to the native space. To achieve a better alignment, only WM and GM regions of the moving and the fixed images are used for registration. Registration is performed using ANTs , with affine transformation as the initial step followed by nonlinear transformation using the SyN algorithm . The cerebellum mask of the ICBM template is then warped into the native space. The warped ICBM cerebellum mask is denoted as \(\mathrm{Cb_w}\). The patient's cerebellum mask is the intersection of \(\mathrm{WM} \cup \mathrm{GM}\) and \(\mathrm{Cb_w}\) adjusted by morphological operations and smoothing.
### Cerebellum normalization
The initial step of cerebellum normalization is affine registration of the patient's cerebellum (along with the WM and GM masks) to the SUIT template. Next, to achieve detailed matching in the nonlinear transformation, both the moving (affine transformed input image) and fixed (SUIT template) images are labeled (background: 0, WM: 1, GM: 2, stem: 3). The stem mask of the patient was generated after affine registration using the template's label information. The ANTs SyN is used to perform the final step of normalization.
### Cerebellar damage detection
We define the cerebellar damage as the missing brain tissue (WM or GM) of the patient's cerebellum. Therefore, assuming a perfect normalization, the damage VOI is segmented in the SUIT atlas space by subtracting the normalized cerebellum from the template after binarization of both, followed by taking the largest connected component. Detecting damage in the atlas space has two major advantages: 1) the fourth ventricle space is not counted as damage because it has the background intensity in the SUIT template; 2) the damage VOIs can be compared (e.g., size, location) across patients.
# Experimental Results
## Datasets
We used 3D T1 scans of a prospective study (SJMB12; NCT 01878617) at St. Jude Children's Research Hospital to test our cerebellar damage detection algorithm. Specifically, we included 245 patients diagnosed with medulloblastoma (MB) and had the complete tumor resected (no remaining tumor or metastasis). Our damage detection approach was applied on one postoperative 3D T1 scan for each patient. 3D T1 images were acquired 1-368 days after the last surgery. Evaluation of performance was established on a subset of imaging (N=153) with ground truth created by human experts. To better understand the performance of the proposed approach in wider scenarios, we also created a simulated dataset by generating damages on healthy brain images. The manual evaluation procedure and the simulation design are described below.
### The CMS Dataset
Manual evaluation was performed on results of 153 patients who either had postoperative cerebellar mutism syndrome (CMS) or was asymptomatic after surgery, for the purpose of studying CMS related surgical damage. Evaluation of the results is challenging, as it is extremely difficult for human experts to draw the damage VOI on the SUIT template by just looking at the 3D T1 in native space, blinded to the auto generated results (the normalized T1 and auto mask). To reduce bias, we asked two raters, an expert in cerebellar anatomy and a neuroradiologist, to evaluate the damage VOIs generated by the algorithm. During the evaluation, the raters first inspected the 3D T1 scan, and then examined the normalized image and the damage mask in the atlas space. Each damage mask was either considered accurate as is or edited manually and approved by both raters. Then, the performance of the algorithm was measured by the S\(\phi\)rensen-Dice Similarity Coefficient (Dice) between the auto generated mask (AM) and the approved ground truth (GT) mask. The Dice score is defined as \[Dice = \frac{2|GT\cap AM|}{|GT|+|AM|}.\]
### Simulated Dataset
The evaluation on the CMS dataset had some limitations. First, this dataset was relatively small, and only 13 out of 153 cases had a lateral damage. Thus, it's hard to conclude how well the algorithm does in detecting lateral damages. Second, the raters were potentially biased by the auto prediction due the natural of the evaluation process. Hence, we designed a simulation procedure to generate sufficient data that covers both ventricular and lateral damages of different sizes. The main idea of the simulation was to generate a postoperative 3D T1 image in the native space, the normalized cerebellum in the SUIT atlas space, a damage VOI showing the missing tissue, and the transformation that maps the two spaces. To achieve this, we also used 3D T1 images of 69 healthy children (not necessarily age matched to the patients) recruited for a separate study. The healthy controls do not have a history of cancer or are a first degree relative or direct friend of the MB patients. The simulation contains the following steps: 1) Brain tissue segmentation and cerebellum isolation (described in Section [7](#sec:method){reference-type="ref" reference="sec:method"}) was performed on a 3D T1 of a healthy brain. 2) The SUIT template was registered to the isolated healthy cerebellum using ATNs SyN. The transformation of this registration was reliable because the anatomies of both the moving and fixed images were complete. The registration was also inspected to ensure quality. 3) A simulated damage VOI was created on the SUIT atlas by randomly sampling one VOI from all the 245 VOIs generated by the algorithm on the SJMB12 patients (including those that were not verified by human expects), followed by applying random deformation. 4) The simulated damage VOI was then overlaid on the native image by applying the transformation generated from step 2. 5) The simulated postoperative 3D T1 image was created by replacing the damage VOI in the native space with CSF intensities using Gaussian distribution \(\mathcal{N}(\mu,10)\), followed by random deformation of the whole image. The mean of CSF \(\mu\) can be set as the median intensity in the "other" mask from brain tissue segmentation, since the "other" class has no containment in healthy brains. We generated 10 random damage VOIs for each of the 69 healthy children, which resulted in a total of 690 pairs of simulated 3D T1 and GT damage VOI. Our damage detection tool was applied on the simulated 3D T1 and the auto generated damage VOI was compared to GT using Dice score.
## Results
### The CMS Dataset
The average run time of the whole damage detection pipeline was about 40 minutes and the average memory usage was about 2 GB. 82 out of 153 damage masks were considered accurate as is, and for the remaining cases that required manual adjustment, the average time needed for editing was about 10 minutes. The mean Dice score of 153 patients was \(0.892 (\pm 0.217)\). The GT mask size range from 0 (no damage) to 37210 \(mm^3\), with a mean of 3455 \(mm^3\). In this dataset, there were 4 patients that had no surigical damage observed by the raters. Because the algorithm always detect the missing voxels in the normalized image as damage, the Dice score for these 4 cases was 0. The masks that were approved as is had a Dice score of 1. We observed that the performance of the algorithm depends on the size of the damage. The smaller the damage, the harder to detect. This is because when the surgical cavity is small, the result can be skewed by MR artifact, abnormal anatomy not caused by resection, or misalignment during normalization, etc. The mean Dice scores of different damage size ranges are summarized in Table 1.
![image](figures/dice_size.png){width="\\textwidth"}
To better demonstrate our results, we selected one patient from each size range that had a Dice score close to the mean value (per Table [\[table:dice_size\]](#table:dice_size){reference-type="ref" reference="table:dice_size"}). The results of the five example cases are shown in Fig. [\[fig:results\]](#fig:results){reference-type="ref" reference="fig:results"}. The first row shows the 3D T1 scans that the algorithm took as inputs. The second row shows the WM (red) and GM (green) segmentations from our brain tissue segmentation model. The third row shows the cerebellar mask (red) overlaid on the 3D T1 image. The fourth row shows the auto generated cerebellar damage mask (red) overlaid on the normalized cerebellum in the atlas space. The fifth row shows the GT mask (green) overlaid on the SUIT template. The results show the superior performance of our proposed approach under various scenarios (different damage sizes and locations). Figure [\[fig:FN_FP\]](#fig:FN_FP){reference-type="ref" reference="fig:FN_FP"} shows the heatmaps of false negative (FN) (Figure [\[fig:FN_FP\]](#fig:FN_FP){reference-type="ref" reference="fig:FN_FP"}A) and false positive (FP) (Figure [\[fig:FN_FP\]](#fig:FN_FP){reference-type="ref" reference="fig:FN_FP"}B) voxels detected by our approach. The count of FN is relatively small, with the maximum count being 7, and FN voxels appear to be randomly distributed. The FP voxels are centered near the superior cerebellar peduncles (SCPs). This is a result from misalignment in the SCP region during the normalization process. The SCPs have very thin structure and therefore are under emphasized by the registration algorithm.
### Simulated Dataset
The performance of the damage detection algorithm on the simulated data is summarized in Table [\[table:simulation\]](#table:simulation){reference-type="ref" reference="table:simulation"}. The mean Dice score on ventricular damages was 0.723, higher than the score on lateral cases, which was 0.365. Similar to what was observed from the CMS dataset, the algorithm was more accurate on damages with larger size. Qualitative results are shown in Fig. [\[fig:simulation\]](#fig:simulation){reference-type="ref" reference="fig:simulation"}. For each size range, we selected a representative example that had the closest Dice to the mean value (per Table [\[table:simulation\]](#table:simulation){reference-type="ref" reference="table:simulation"}) for both ventricular (Fig. [\[fig:simulation\]](#fig:simulation){reference-type="ref" reference="fig:simulation"}A) and lateral damages (Fig. [\[fig:simulation\]](#fig:simulation){reference-type="ref" reference="fig:simulation"}B). The algorithm was able to accurately locate the damage, even when damage was small (first case in Fig. [\[fig:simulation\]](#fig:simulation){reference-type="ref" reference="fig:simulation"}A and first two cases in Fig. [\[fig:simulation\]](#fig:simulation){reference-type="ref" reference="fig:simulation"}B). Because the normalization was not perfect, a small degree of misalignment of the healthy brain tissues near the damage would dramatically lower the dice score if the missing VOI was small. These results suggest that inspection and manual editing by human expect is required to ensure the quality of damage detection. Overall, the simulation provided an unbiased evaluation of the proposed damage detection approach, which achieved reasonable normalization of the cerebellum and robust damage detection.
![image](figures/table_simulation.png){width="\\textwidth"}
# Discussions
Existing cerebellum normalization tools are typically designed for healthy brain imaging data, thus tend to fail when lesions are present. As a by-product of this cerebellar damage detection approach, the normalization of cerebellum is also suitable for broader neuroimaging applications (e.g., fMRI preprocessing and analysis), and is more accurate than SUIT normalization on postoperative images. Our normalization is more accurate because (1) it has a more accurate cerebellum mask and WM/GM segmentation to start with, (2) labeled inputs allow for easier and better optimization, and (3) the choice of state-of-the art nonlinear registration algorithm, Syn . Our work has some limitations: (1) An important assumption of this approach is the absence of the tumor in the image. Hence, this method cannot handle cases with partial tumor resection or metastases. (2) Our brain tissue segmentation algorithm assumes everything with abnormal intensity (hyper or hypo) is not healthy brain tissue, which may not always be the case. For example, brain tissue might be stained by blood and therefore have an abnormal appearance in the image, but be otherwise healthy. However, this is not easy to tell from image at the time point immediately following surgery. MR scans at later time points may further inform healthy or damaged anatomy after the stain has been removed via natural processes. (3) Our damage detection algorithm is not learning-based. As a result, its performance can not be improved by collecting more accurate labels (manually edited masks). Our future work is to develop a deep learning based model to further improve the performance by taking advantage of the inputs from neuroradiologists.
# Conclusions
In this paper, we present a fully automatic localization and measurement of postoperative damage in the cerebellum in the atlas space using postoperative MRI. The proposed framework has a novel brain tissue segmentation algorithms that considers surgery-related features (e.g., postsurgical cavity, absorbable hemostat, blood products) and other non-surgical features (e.g., enlarged ventricles), a more accurate cerebellum normalization procedure, and provides quantification of cerebellar damage in the atlas space. This automation greatly reduced human annotation time from hours to about 10 minutes. The normalization proposed in this work is also helpful to perform other neuroimaging analyses (e.g., fMRI analyses) where cerebellum normalization is needed, especially on postoperative images.
# Introduction
Surgical resection is a common procedure in the treatment of pediatric posterior fossa tumors. However, surgical resection is associated with potential serious complications , such as postoperative cerebellar mutism and resultant long-term neuropsychological dysfunction . While brain tissue damage caused by the tumor itself may be minor, it is typically not possible to remove the tumor without impacting surrounding healthy brain tissue. Thus, surgical damage is often unavoidable. Understanding the relationship between the damaged cerebellar regions and postoperative neurological and cognitive outcomes has the potential to guide surgery and significantly affect quality of survival of patients. Therefore, a reliable localization and measure of cerebellar damage is needed and fundamental to conduct this type of investigation. Defining the volume-of-interest (VOI) for cerebellar damage in the postoperative brain MR image is challenging, even for human experts performing this task manually. First, the damage we want to identify herein is the "loss of normal brain tissue". Instead of showing an abnormal intensity in the MR image, this missing tissue presents as just an empty space (cavity) filled with cerebrospinal fluid (CSF). In addition, an abnormal CSF distribution does not necessarily reflect damage, because normal brain tissues may have already been displaced by the presence of the tumor and disease complications (e.g., hydrocephalus) before the surgery. Presence of the tumor near the fourth ventricle complicates this issue, as the ventricle space is connected to the postsurgical cavity. Given these challenges, we aim to develop a fully automatic procedure to define the damage VOI. We measure the damage by comparing the spatially unbiased atlas template (SUIT) of the cerebellum and the normalized patient's cerebellum, which distinguishes the missing brain tissue from the fourth ventricle space. Efforts have been made in cerebellum normalization to understand structure-function relationships . Grosse et al. related cerebellar lesion to the cognitive and motor deficits in pediatric brain tumor survivors. However, their approach to identify cerebellar lesion was achieved manually. A lesion mask was manually created in both native and atlas space. Our approach is fully automatic, and is closely related to SUIT normalization, first proposed in by Diedrichsen. In their approach, an isolation algorithm is applied to segment the cerebellum from the whole brain, using the ICBM152 template and prior information on the brain tissue. The the cerebellum is then normalized to the SUIT atlas via the algorithm proposed in and implemented in the SPM2 package , an early version of SPM. Diedrichen et al. later developed a VOI-based SUIT normalization, which uses the VOI of the dentate nuclei to guide normalization. The VOI-guided approach yields more accurate normalization, but requires the dentate nuclei VOI as an additional input. The SUIT normalization software is available at , which uses SPM12 segmentation for brain tissue segmentation and DARTEL as the normalization algorithm in its latest implementation. Despite its success in many applications , the SUIT normalization technique, however, cannot be directly applied here to detect cerebellar damage, because it does not take the surgical cavity into account and damage to the dentate nuclei may be present. The cerebellum isolation algorithm is likely to fail in the first place by miss-classifying surgical cavity as gray matter, regardless of the normalization algorithm used later. In addition, given an accurate cerebellum mask, the DARTEL algorithm tends to over stretch the brain tissues to match the template, resulting in little or no damage in the atlas space. Therefore, both the brain tissue segmentation and the cerebellum normalization need to be carefully designed for postoperative images. In this work, we propose a novel automatic approach to detect and measure cerebellar damage. This work has three major contributions: (1) We develop a brain tissue segmentation algorithm that considers the presence of surgical cavity, enlarged ventricles and other non-tissue components such as the presence of absorbable hemostat and blood products, which are commonly seen in postoperative images. (2) We develop a customized cerebellum normalization procedure that uses anatomical information in combination with the state-of-the-art nonlinear registration algorithm, SyN , implemented in the Advanced Normalization Tools (ANTs) . The normalization technique proposed here is more accurate than SUIT normalization on postoperative images, thus can also be useful for applications other than damage detection, such as functional magnetic resonance imaging (fMRI) analyses where mapping from the blood-oxygen-level-dependent (BOLD) signal to the cerebellum functional regions is required. (3) We provide an automatic and accurate VOI estimate of cerebellar damage in the atlas space, which is vital to study structural damage and function relationship and also to perform group comparisons.
# Methods {#sec:method}
## Overview
Detecting surgical damage is challenging because the void region in the postoperative image does not necessarily indicate damage. This is evidenced by the following: 1) If the tumor was near the fourth ventricle before resection, the void region of the postoperative image would show both the cerebellar damage and the fourth ventricle space as one unified fluid-filled space. 2) Even for lateral tumors, the volume of the void region does not reflect the volume of damage, because the degree of deformation of normal brain tissues varies by patient. Hence, we detect surgical damage in the atlas space instead of native space. The accuracy of the damage detection then heavily relies on the accuracy of segmentation and normalization algorithms. Therefore, we specifically design a brain tissue segmentation algorithm and a cerebellum normalization approach to address this issue, which constitute two major components of the overall damage detection tool. An overview of the proposed framework is shown in Fig. [\[fig:workflow\]](#fig:workflow){reference-type="ref" reference="fig:workflow"}. The 3D T1 image is first preprocessed by cropping, bias correction and brain extraction. The white matter (WM) and gray matter (GM) are then segmented via a brain tissue segmentation algorithm we developed taking the surgical cavity into account (see detailed description in Section [7.4](#sec:brain_tissue_seg){reference-type="ref" reference="sec:brain_tissue_seg"}). The cerebellum is isolated by nonlinear registration of the ICBM template to the native space, keeping only WM and GM in the moving and fixed image. The isolated cerebellum of the patient is then normalized into the SUIT template space using labeled (background: 0, WM: 1, GM: 2, stem: 3) fixed and moving images. Finally, the surgical damage is detected by comparing the difference between the normalized image and the SUIT template.
## Templates and processing {#sec:templates}
### ICBM
The ICBM template is available at UCLA brain mapping center and is used here as our the whole brain template. Our implementation uses only WM and GM for more accurate registration to the native space. WM and GM can be obtained by thresholding the template after brain extraction using FSL BET . The cerebellum mask of ICBM is the combined region of the zones with the following labels: 58, 67, 237, 238, and 251. The probability maps of WM and GM of this atlas are used in our brain tissue segmentation algorithm as prior probabilities.
### SUIT
The SUIT atlas is used as the cerebellum template for cerebellum normalization. The same brain tissue segmentation algorithm is used to generate probability maps of WM and GM and label this template (WM: 1, GM: 2). The stem VOI was created manually and labeled as 3. The original and processed templates used in our implementation are shown in Fig [\[fig:templates\]](#fig:templates){reference-type="ref" reference="fig:templates"}.
## Input preprocessing {#sec:preprocessing}
Neck and lower head are first removed using FSL robustfov from the input postsugical 3D T1 image. The cropped image is then bias corrected using N4 bias correction , and brain extracted using FSL BET . Because of the presence of the surgical cavity and potentially contaminated brain tissues, the BET mask is generally not satisfactory. Thus, a better brain mask is obtained by affine registration of the brain extracted ICBM template to the brain extracted input image, and then binarizing the warped template.
## Brain tissue segmentation {#sec:brain_tissue_seg}
Patients being treated for posterior fossa brain tumors present with abnormalities that complicate standard neuroimaging anatomical analysis such as segmentation of brain tissues. In addition to the presence of a tumor, or relatively large postsurgical cavity (which may progressively contract later), abnormalities such as enlarged ventricles (i.e., hydrocephalus) are common. Therefore, commonly used brain tissue segmentation tools (e.g., SPM unified segmentation ) designed for the healthy population are susceptible to failure on postoperative images. Here we present a brain tissue segmentation approach modified from the brain tumor segmentation algorithm based on outlier detection, proposed in . As this work is aimed to detect damage on postoperative images, we assume that there is no tumor present in the image. Therefore, only three classes are modeled in our algorithm: WM, GM and other, i.e., class label \(\mathbb{Y}=\{\mathrm{WM},\mathrm{GM},\mathrm{other}\}\). The "other" class contains primarily CSF, but may also contain blood products, hemostat, non-brain regions (due to imperfect brain extraction), and other components that are not considered as normal brain tissue. The WM and GM probabilities are initialized as ICBM atlas priors (affine transformed into the native space). Because of the presence of surgical cavity, enlarged ventricles and other non-tissue components, probability of the "other" class is initialized as uniform distribution (\(\Pr(\mathrm{other})=0.5\)), rather than using the CSF prior of ICBM. Then, the probability density function of each class, denoted as \(p(x|Y)\), is estimated via kernel density estimation using voxels sampled according to prior probability. Because the WM and GM samples can have contaminants (due to inaccurate priors), an outlier detection approach is used to detect and remove the contaminants (key idea proposed in ). Outlier detection is performed by using the Minimum Covariance Determinant estimator, setting the support fraction to 0.5. Unlike where T1 and T2 are taken as inputs, our implementation uses only 3D T1 as the input, as it provides good spatial resolution and good contrast between WM, GM, and others. The outlier detection in our implementation is hence performed in one dimension (T1 only) instead of two (T1 and T2 as in ), and not performed for the "other" class, since we allow this class to have contaminants. The posterior probabilities are then calculated according to Bayes' theorem: \[Pr(Y|x)=\frac{p(x|Y)Pr(Y)}{p(x)},\] where \(p(x)=\sum_{Y\in \mathbb{Y}}p(x|Y)Pr(Y).\) The posteriors are used as priors in the next iteration, and the probabilities are updated through a total of 3 iterations in our implementation. The final WM and GM masks are generated by thresholding the smoothed posteriors at 0.5. The union mask of WM and GM is denoted as \(\mathrm{WM} \cup \mathrm{GM}\).
## Cerebellum isolation, normalization and damage detection
### Cerebellum isolation
The cerebellum is isolated by non-linear transformation of the ICBM atlas to the native space. To achieve a better alignment, only WM and GM regions of the moving and the fixed images are used for registration. Registration is performed using ANTs , with affine transformation as the initial step followed by nonlinear transformation using the SyN algorithm . The cerebellum mask of the ICBM template is then warped into the native space. The warped ICBM cerebellum mask is denoted as \(\mathrm{Cb_w}\). The patient's cerebellum mask is the intersection of \(\mathrm{WM} \cup \mathrm{GM}\) and \(\mathrm{Cb_w}\) adjusted by morphological operations and smoothing.
### Cerebellum normalization
The initial step of cerebellum normalization is affine registration of the patient's cerebellum (along with the WM and GM masks) to the SUIT template. Next, to achieve detailed matching in the nonlinear transformation, both the moving (affine transformed input image) and fixed (SUIT template) images are labeled (background: 0, WM: 1, GM: 2, stem: 3). The stem mask of the patient was generated after affine registration using the template's label information. The ANTs SyN is used to perform the final step of normalization.
### Cerebellar damage detection
We define the cerebellar damage as the missing brain tissue (WM or GM) of the patient's cerebellum. Therefore, assuming a perfect normalization, the damage VOI is segmented in the SUIT atlas space by subtracting the normalized cerebellum from the template after binarization of both, followed by taking the largest connected component. Detecting damage in the atlas space has two major advantages: 1) the fourth ventricle space is not counted as damage because it has the background intensity in the SUIT template; 2) the damage VOIs can be compared (e.g., size, location) across patients.
# Experimental Results
## Datasets
We used 3D T1 scans of a prospective study (SJMB12; NCT 01878617) at St. Jude Children's Research Hospital to test our cerebellar damage detection algorithm. Specifically, we included 245 patients diagnosed with medulloblastoma (MB) and had the complete tumor resected (no remaining tumor or metastasis). Our damage detection approach was applied on one postoperative 3D T1 scan for each patient. 3D T1 images were acquired 1-368 days after the last surgery. Evaluation of performance was established on a subset of imaging (N=153) with ground truth created by human experts. To better understand the performance of the proposed approach in wider scenarios, we also created a simulated dataset by generating damages on healthy brain images. The manual evaluation procedure and the simulation design are described below.
### The CMS Dataset
Manual evaluation was performed on results of 153 patients who either had postoperative cerebellar mutism syndrome (CMS) or was asymptomatic after surgery, for the purpose of studying CMS related surgical damage. Evaluation of the results is challenging, as it is extremely difficult for human experts to draw the damage VOI on the SUIT template by just looking at the 3D T1 in native space, blinded to the auto generated results (the normalized T1 and auto mask). To reduce bias, we asked two raters, an expert in cerebellar anatomy and a neuroradiologist, to evaluate the damage VOIs generated by the algorithm. During the evaluation, the raters first inspected the 3D T1 scan, and then examined the normalized image and the damage mask in the atlas space. Each damage mask was either considered accurate as is or edited manually and approved by both raters. Then, the performance of the algorithm was measured by the S\(\phi\)rensen-Dice Similarity Coefficient (Dice) between the auto generated mask (AM) and the approved ground truth (GT) mask. The Dice score is defined as \[Dice = \frac{2|GT\cap AM|}{|GT|+|AM|}.\]
### Simulated Dataset
The evaluation on the CMS dataset had some limitations. First, this dataset was relatively small, and only 13 out of 153 cases had a lateral damage. Thus, it's hard to conclude how well the algorithm does in detecting lateral damages. Second, the raters were potentially biased by the auto prediction due the natural of the evaluation process. Hence, we designed a simulation procedure to generate sufficient data that covers both ventricular and lateral damages of different sizes. The main idea of the simulation was to generate a postoperative 3D T1 image in the native space, the normalized cerebellum in the SUIT atlas space, a damage VOI showing the missing tissue, and the transformation that maps the two spaces. To achieve this, we also used 3D T1 images of 69 healthy children (not necessarily age matched to the patients) recruited for a separate study. The healthy controls do not have a history of cancer or are a first degree relative or direct friend of the MB patients. The simulation contains the following steps: 1) Brain tissue segmentation and cerebellum isolation (described in Section [7](#sec:method){reference-type="ref" reference="sec:method"}) was performed on a 3D T1 of a healthy brain. 2) The SUIT template was registered to the isolated healthy cerebellum using ATNs SyN. The transformation of this registration was reliable because the anatomies of both the moving and fixed images were complete. The registration was also inspected to ensure quality. 3) A simulated damage VOI was created on the SUIT atlas by randomly sampling one VOI from all the 245 VOIs generated by the algorithm on the SJMB12 patients (including those that were not verified by human expects), followed by applying random deformation. 4) The simulated damage VOI was then overlaid on the native image by applying the transformation generated from step 2. 5) The simulated postoperative 3D T1 image was created by replacing the damage VOI in the native space with CSF intensities using Gaussian distribution \(\mathcal{N}(\mu,10)\), followed by random deformation of the whole image. The mean of CSF \(\mu\) can be set as the median intensity in the "other" mask from brain tissue segmentation, since the "other" class has no containment in healthy brains. We generated 10 random damage VOIs for each of the 69 healthy children, which resulted in a total of 690 pairs of simulated 3D T1 and GT damage VOI. Our damage detection tool was applied on the simulated 3D T1 and the auto generated damage VOI was compared to GT using Dice score.
## Results
### The CMS Dataset
The average run time of the whole damage detection pipeline was about 40 minutes and the average memory usage was about 2 GB. 82 out of 153 damage masks were considered accurate as is, and for the remaining cases that required manual adjustment, the average time needed for editing was about 10 minutes. The mean Dice score of 153 patients was \(0.892 (\pm 0.217)\). The GT mask size range from 0 (no damage) to 37210 \(mm^3\), with a mean of 3455 \(mm^3\). In this dataset, there were 4 patients that had no surigical damage observed by the raters. Because the algorithm always detect the missing voxels in the normalized image as damage, the Dice score for these 4 cases was 0. The masks that were approved as is had a Dice score of 1. We observed that the performance of the algorithm depends on the size of the damage. The smaller the damage, the harder to detect. This is because when the surgical cavity is small, the result can be skewed by MR artifact, abnormal anatomy not caused by resection, or misalignment during normalization, etc. The mean Dice scores of different damage size ranges are summarized in Table 1.
![image](figures/dice_size.png){width="\\textwidth"}
To better demonstrate our results, we selected one patient from each size range that had a Dice score close to the mean value (per Table [\[table:dice_size\]](#table:dice_size){reference-type="ref" reference="table:dice_size"}). The results of the five example cases are shown in Fig. [\[fig:results\]](#fig:results){reference-type="ref" reference="fig:results"}. The first row shows the 3D T1 scans that the algorithm took as inputs. The second row shows the WM (red) and GM (green) segmentations from our brain tissue segmentation model. The third row shows the cerebellar mask (red) overlaid on the 3D T1 image. The fourth row shows the auto generated cerebellar damage mask (red) overlaid on the normalized cerebellum in the atlas space. The fifth row shows the GT mask (green) overlaid on the SUIT template. The results show the superior performance of our proposed approach under various scenarios (different damage sizes and locations). Figure [\[fig:FN_FP\]](#fig:FN_FP){reference-type="ref" reference="fig:FN_FP"} shows the heatmaps of false negative (FN) (Figure [\[fig:FN_FP\]](#fig:FN_FP){reference-type="ref" reference="fig:FN_FP"}A) and false positive (FP) (Figure [\[fig:FN_FP\]](#fig:FN_FP){reference-type="ref" reference="fig:FN_FP"}B) voxels detected by our approach. The count of FN is relatively small, with the maximum count being 7, and FN voxels appear to be randomly distributed. The FP voxels are centered near the superior cerebellar peduncles (SCPs). This is a result from misalignment in the SCP region during the normalization process. The SCPs have very thin structure and therefore are under emphasized by the registration algorithm.
### Simulated Dataset
The performance of the damage detection algorithm on the simulated data is summarized in Table [\[table:simulation\]](#table:simulation){reference-type="ref" reference="table:simulation"}. The mean Dice score on ventricular damages was 0.723, higher than the score on lateral cases, which was 0.365. Similar to what was observed from the CMS dataset, the algorithm was more accurate on damages with larger size. Qualitative results are shown in Fig. [\[fig:simulation\]](#fig:simulation){reference-type="ref" reference="fig:simulation"}. For each size range, we selected a representative example that had the closest Dice to the mean value (per Table [\[table:simulation\]](#table:simulation){reference-type="ref" reference="table:simulation"}) for both ventricular (Fig. [\[fig:simulation\]](#fig:simulation){reference-type="ref" reference="fig:simulation"}A) and lateral damages (Fig. [\[fig:simulation\]](#fig:simulation){reference-type="ref" reference="fig:simulation"}B). The algorithm was able to accurately locate the damage, even when damage was small (first case in Fig. [\[fig:simulation\]](#fig:simulation){reference-type="ref" reference="fig:simulation"}A and first two cases in Fig. [\[fig:simulation\]](#fig:simulation){reference-type="ref" reference="fig:simulation"}B). Because the normalization was not perfect, a small degree of misalignment of the healthy brain tissues near the damage would dramatically lower the dice score if the missing VOI was small. These results suggest that inspection and manual editing by human expect is required to ensure the quality of damage detection. Overall, the simulation provided an unbiased evaluation of the proposed damage detection approach, which achieved reasonable normalization of the cerebellum and robust damage detection.
![image](figures/table_simulation.png){width="\\textwidth"}
# Discussions
Existing cerebellum normalization tools are typically designed for healthy brain imaging data, thus tend to fail when lesions are present. As a by-product of this cerebellar damage detection approach, the normalization of cerebellum is also suitable for broader neuroimaging applications (e.g., fMRI preprocessing and analysis), and is more accurate than SUIT normalization on postoperative images. Our normalization is more accurate because (1) it has a more accurate cerebellum mask and WM/GM segmentation to start with, (2) labeled inputs allow for easier and better optimization, and (3) the choice of state-of-the art nonlinear registration algorithm, Syn . Our work has some limitations: (1) An important assumption of this approach is the absence of the tumor in the image. Hence, this method cannot handle cases with partial tumor resection or metastases. (2) Our brain tissue segmentation algorithm assumes everything with abnormal intensity (hyper or hypo) is not healthy brain tissue, which may not always be the case. For example, brain tissue might be stained by blood and therefore have an abnormal appearance in the image, but be otherwise healthy. However, this is not easy to tell from image at the time point immediately following surgery. MR scans at later time points may further inform healthy or damaged anatomy after the stain has been removed via natural processes. (3) Our damage detection algorithm is not learning-based. As a result, its performance can not be improved by collecting more accurate labels (manually edited masks). Our future work is to develop a deep learning based model to further improve the performance by taking advantage of the inputs from neuroradiologists.
# Conclusions
In this paper, we present a fully automatic localization and measurement of postoperative damage in the cerebellum in the atlas space using postoperative MRI. The proposed framework has a novel brain tissue segmentation algorithms that considers surgery-related features (e.g., postsurgical cavity, absorbable hemostat, blood products) and other non-surgical features (e.g., enlarged ventricles), a more accurate cerebellum normalization procedure, and provides quantification of cerebellar damage in the atlas space. This automation greatly reduced human annotation time from hours to about 10 minutes. The normalization proposed in this work is also helpful to perform other neuroimaging analyses (e.g., fMRI analyses) where cerebellum normalization is needed, especially on postoperative images. | {'timestamp': '2022-03-07T02:05:15', 'yymm': '2203', 'arxiv_id': '2203.02042', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02042'} |
# Introduction {#section:intro}
## Overview
sensing has recently received extensive research interests . Wi-Fi is ubiquitous as it has been equipped in many consumable electronics including laptops, smartphones, tablets, wearable devices such as Fitbits, and smart home appliances, to name but a few. Various interesting applications have been inspired, including large-scale movements such as human activity recognition , fall detection, , and gait recognition,, as well as small-scale movements such as gesture recognition , sign language recognition,, and vital sign detection ,. These applications are very useful for our everyday life. For example, gesture recognition can be applied in human-computer interaction and smart home to enable smooth control of devices. Wi-Fi transmissions experience line-of-sight propagation, reflection, refraction, and scattering, which are affected by the environment and the objects within it . When a person performs an activity, e.g., walking or hand moving, the activity will cause unique changes to the radio propagation, which can be measured via the channel state information (CSI). Deep learning can be adopted to learn the unique mapping between the CSI patterns and activity types due to its effective feature extraction and classification capability . A deep learning-based sensing protocol involves two stages. In the training stage, a training dataset should be constructed and a deep learning model is trained offline. Specifically, when an activity is performed, the Wi-Fi signals will get perturbed. The receiver will estimate the CSI whose variation is affected by the activity. For each activity, many CSI records are collected. The process is repeated for all the activities and the training dataset is established. A deep learning model can then be trained offline, which only needs to be done once. During the testing stage, based on the captured CSI, the derived deep learning model will be utilized to infer the activity type.
## Limitations of Existing Systems
Although the above deep learning-based sensing systems can recognise human activities with reasonable accuracy, there are still limitations that restrict practical applications.
### Limited Scalability
A classic deep learning-based sensing system explores the uniqueness of the mapping between the CSI variations and activities. A common limitation of such systems is that they can only handle the same classes/activities as the ones used during the training process. Whenever a new class needs to be added to or an existing class needs to be removed from the well-trained model, the model should be retrained using data of the existing classes and the new classes. The retraining results in three types of overhead:
- The storage of the existing training data, which occupies hard disk space and requires extra maintenance.
- The collection of the new data that is time consuming and labour extensive.
- The computational overhead for retraining is quite high when there is a large amount of data, which cannot be completed in real time.
However, adjusting including adding and deleting classes is common in practical applications, e.g., a new sign gesture may need to be enrolled. The lack of scalability in the current approach and design makes it difficult to be deployed in real world scenarios.
### Domain Shift
The radio signal experiences multipath propagation whose characteristics are determined by the environment and the sensing activity. The same activity performed in different environments will cause deviated CSI variations. In addition, the same activity performed by different users may also have various CSI variations because the users may perform the same activity in a slightly different way or their heights/body shapes are different. The parameters uncorrelated to the activity can be denoted as a domain , e.g., the environment and/or the user. Source and target domains refer to the domains of training and testing stages, respectively. When the source and target domains are different, there is a domain shift. The obtained CSI will be varied, and the recognition will be impacted. However, it is very common to apply Wi-Fi sensing in different environments and/or for different users. Existing solutions can be classified into three categories, namely domain adversarial training-based , transfer learning-based , and domain-independent feature-based approaches. However, these approaches are subject to the following limitations:
- The domain adversarial training-based approach requires the training dataset to cover data from many domains but there are numerous possible domains.
- The transfer learning-based approach needs extensive data from the target domain, which sometimes may not be possible.
- The domain-independent feature-based method relies on special knowledge to design unique features and may also need extra receivers, e.g., body-coordinate velocity profile (BVP) in . In addition, it may suffer from high computational costs, which make it impossible for practical use.
Hence, a lightweight cross-domain sensing approach is urgently required to reduce the overhead of collecting data from source or target domains as well as eliminate constrains of extra hardware and computational resources.
## Few-Shot Learning
Few-shot learning (FSL) has been widely investigated in computer vision for image classification . A classic deep learning model aims to learn the unique feature of each class and predict the label based on the feature mapping. In contrast, FSL is a meta-learning technique. Instead of learning unique features, it makes the prediction based on the similarity of the feature sets. Specifically, a feature extractor will be pre-trained using the base set. Then, a support set will be constructed with a few pairs of data and labels. Finally, a query set contains data whose label is to be inferred. The prediction is made by comparing the similarity between features of support and query sets. FSL has recently been applied to Wi-Fi sensing as well to address the scalability and cross-domain issues. The support set can be flexibly adjusted because very few samples are required for each class, and no cumbersome training is needed. The performance of FSL relies on the generalisation capability of the feature extractor, which however requires an extensive base set. Hence, the work in designed a virtual gesture generation algorithm to transform existing gestures into virtual gestures. The base set can thus be enriched and the data collection overhead can be mitigated. However, designing the virtual gesture generation algorithm requires sophisticated knowledge which cannot be extended to other tasks straightforwardly.
# Background and Motivation {#statement}
## Background {#sec:system_model}
As shown in Fig. [\[fig:system_model\]](#fig:system_model){reference-type="ref" reference="fig:system_model"}, when a signal is sent from a transmitter and captured by a receiver, it experiences various propagation paths in a multipath environment. Specifically, there are static paths, which may include line-of-sight (LOS) and signals reflected by static objects such as walls and furniture, e.g., tables. There are also dynamic paths, which are reflected and/or scattered by moving objects in the environment . Taking gesture recognition as an example, the movement of the palm will lead to dynamic paths of signal propagation. The channel model can be mathematically given as \[\begin{aligned}
h(\tau,t) = \sum_{s \in {S}} h(\tau_s,t) \delta(\tau-\tau_s) + \sum_{d \in {D}} h(\tau_d,t) \delta(\tau-\tau_d), \end{aligned}\] where \(h(\tau_s,t)\) and \(h(\tau_d,t)\) are the channel attenuation of the static (grouped as \(\{\mathcal{S}\}\)) and dynamic paths (grouped as \(\{\mathcal{D}\}\)), respectively, and \(\delta(\cdot)\) is the Dirac delta function. In the context of Wi-Fi sensing, orthogonal frequency-division multiplexing (OFDM) is the physical layer modulation used for IEEE 802.11a/g/n/ac/ax, which can obtain CSI in the frequency domain, given as \[\begin{aligned}
\label{eqn:csimodel} H(f, t) = \sum_{s \in {S}} h(\tau_s, t) e^{-j 2 \pi f \tau_{s}} + \sum_{d \in {D}} h(\tau_d, t) e^{-j 2 \pi f \tau_{d}}. \end{aligned}\] The CSI variations over time are directly affected by the objects and environments. Different gestures will have different moving patterns, which lead to unique CSI variations. Deep learning can be adopted to reveal the relationship between the CSI variations and the corresponding gestures. By collecting a series of continuous packets when a gesture is performed, we can estimate and store records of CSI. During the training stage, the deep learning model can learn the specific patterns related to different gestures. Then in the testing stage, the receiver will obtain a collection of CSI and infer the gesture based on the pre-trained deep learning model.
## Motivation
Deep learning has been widely adopted for Wi-Fi sensing and achieved excellent classification performance. Convolutional neural networks (CNN), and long-short term memory (LSTM) can learn and reveal complex feature patterns in a supervised learning manner. However, they are still subject to novel class recognition and cross-domain sensing.
### Limited Scalability/Novel Class Recognition
In real-life applications, it is common to add new gestures to and/or remove existing ones from a gesture recognition system, which will result in changes of the number of classes (gestures). However, as already discussed, the classic deep learning techniques such as CNN and LSTM have limited scalability because they can only handle fixed-size classes once trained. Whenever new classes, e.g., unseen hand gestures, should be added, the neural network model needs to be retrained with a massive number of training samples. Data collection and retraining overheads thus occur , which are time-consuming and laborious.
### Cross-Domain Sensing
In order to achieve a good classification performance, the training and test datasets should share the same data distribution. Most existing works let the same user perform the gestures in the same environment. In another word, the static CSI part in ([\[eqn:csimodel\]](#eqn:csimodel){reference-type="ref" reference="eqn:csimodel"}) remains the same but the dynamic part is uniquely caused by the gestures of the user. This is termed in-domain sensing; here the domains refer to the environment and the user. However, cross-domain sensing is actually more common in real-life deployments. The gestures will be probably performed by different users in different environments, i.e., cross-domain. The domain shift impacts the performance of Wi-Fi sensing systems due to two reasons.
- When the environment changes, the static parts of ([\[eqn:csimodel\]](#eqn:csimodel){reference-type="ref" reference="eqn:csimodel"}) for training and testing are different, which will result in different CSI patterns, i.e., varied data distributions.
- Different users may perform the same gesture in slightly different ways, which will also lead to different CSI dynamic parts of ([\[eqn:csimodel\]](#eqn:csimodel){reference-type="ref" reference="eqn:csimodel"}).
In order to illustrate the domain shift, we use sign languages from a public dataset SignFi that will be introduced in Section [6.1.1](#sec:dataset){reference-type="ref" reference="sec:dataset"}. Specifically, we selected three sign gestures that are performed by two users at home and in a lab environment. Their distributions are visualised using t-SNE , which maps the CSI samples to a two-dimensional space. As shown in Fig. [\[fig:t_sne\]](#fig:t_sne){reference-type="ref" reference="fig:t_sne"}, the same sign performed in different environments or by different users has totally different distributions. Therefore, directly applying the neural network model trained on one domain to a new domain would not work.
# System Design {#systemOverview}
## System Overview
This paper employs metric-based FSL to address the above limitations. Our goal is to recognise novel classes in cross-domain scenarios, i.e., different environments and/or users, using only a few samples. Specifically, a three-stage approach is designed, namely feature extractor training, feature matrix generation, and classification, as shown in Fig. [\[fig:system_overview\]](#fig:system_overview){reference-type="ref" reference="fig:system_overview"}. Note that the same signal preprocessing algorithm is used for all three stages.
## Feature Extractor Training
We will first sample and preprocess raw CSI records and obtain CSI tensors \(\mathbf{x}\), whose construction will be elaborated in Section [4.1](#sec:preprocess){reference-type="ref" reference="sec:preprocess"}. A base set, \(\mathbf{B}=\left\{\left(\mathcal{X}^{b}, \mathcal{Y}^{b}\right)\right\}\), will be constructed by obtaining CSI tensors for different classes (e.g., sign gestures), where \(\mathcal{X}^{b}=\left\{\mathbf{x}^{b}_{1}, \mathbf{x}^{b}_{2}, \cdots, \mathbf{x}^{b}_{\tilde{N}_b}\right\}\) are the CSI tensors and \(\mathcal{Y}^{b}=\left\{y_{1}^b, y_{2}^b, \cdots, y_{\tilde{N}_b}^b\right\}\) are the corresponding labels. The number of instances in the base set is denoted as \(\tilde{N}_b\), and \(\tilde{N}_b = N_b \times K_b\), where \(N_b\) is the number of base classes and \(K_b\) is the number of samples per base class. The domain of the base set is referred as the source domain, denoted as \(\mathcal{D}_{s}\). We use a standard supervised learning manner to train a feature extractor \(f_{\theta}\) and a classifier \(C\left(\cdot \mid \mathbf{W_b}\right)\), parametrised by \(\mathbf{W_{\theta}}\) and \(\mathbf{W_{b}}\), respectively. A large number of classes in the base set enables the feature extractor to learn unique latent features from base classes so that the distances between instances of the same class are closer while instances of different classes are further apart. Once the training is completed, the classifier will be removed to obtain the trained feature extractor. The training only needs to be done once.
## Feature Matrix Generation
The data involved in this stage is called the support set, which is defined as \(\mathbf{S}=\left\{\left(\mathcal{X}^{s}, \mathcal{Y}^{s}\right)\right\}\), where \(\mathcal{X}^{s}=\left\{\mathbf{x}^{s}_{1}, \mathbf{x}^{s}_{2}, \cdots, \mathbf{x}^{s}_{\tilde{N}_s}\right\}\) and \(\mathcal{Y}^{s}=\left\{y_{1}^s, y_{2}^s, \cdots, y_{\tilde{N}_s}^s\right\}\) are the CSI tensors and labels, respectively. \(\tilde{N}_s = N \times K\), where \(N\) is the number of novel classes, and \(K\) is the number of samples for each class. FSL is usually described as \(N\)-way \(K\)-shot classification. The classes in the support set have no overlap with the classes in the base set, i.e., \(\mathcal{Y}^{b} \cap \mathcal{Y}^{s}=\emptyset\). Therefore, they are called novel classes. The domain of the support set is named as the target domain, denoted as \(\mathcal{D}_t\). In practice the source domain and target domain are likely different, i.e., \(\mathcal{D}_t \neq \mathcal{D}_s\), thus cross-domain sensing occurs. We first collect \(K\) labelled shots (samples) for each novel class to construct the support set, which will be denoised by the preprocessing scheme. With samples from the support set, the pre-trained feature extractor \(f_{\theta}\) will learn the latent feature representations of the novel classes, termed as the feature matrix in this paper. We propose two methods to generate it, i.e., direct feature matrix generation and fine-tuned feature matrix generation, as shown in Fig. [\[fig:twomethods\]](#fig:twomethods){reference-type="ref" reference="fig:twomethods"}.
- Direct Feature Matrix Generation: The feature extractor will extract the feature embedding directly from the support set. The feature embedding is stored in the database and output as the feature matrix.
- Fine-tuned Feature Matrix Generation: A new classifier will be introduced after the feature extractor. The weight matrix of the classifier and the feature extractor will be optimised using the samples in the support set. The adapted weight matrix will be the feature matrix.
## Classification
The data involved in this stage is named as the query set \(\mathbf{Q}=\left\{\left(\mathcal{X}^{q}, \mathcal{Y}^{q}\right)\right\}\), where \(\mathcal{X}^{q}=\left\{\mathbf{x}^{q}_{1}, \mathbf{x}^{q}_{2}, \cdots, \mathbf{x}^{q}_{\tilde{N}_q}\right\}\) are the CSI tensors and \(\mathcal{Y}^{q} =\left\{\mathbf{y}^{q}_{1}, \mathbf{y}^{q}_{2}, \cdots, \mathbf{y}^{q}_{\tilde{N}_q}\right\}\) represents the labels that to be inferred. Note that the support set and query set share the same label space and are performed in the same domain. Therefore, they have the same distribution. The signal preprocessing scheme is used to remove the phase noise of the query set. The feature extractor, \(f_{\theta}\), is used to extract the latent features from the denoised query set. The final results are determined by computing the cosine similarity score between the latent features of the query set and the feature matrix generated from the previous stage.
# Methodology {#sec:method}
In this section, we first introduce the signal preprocessing algorithm that is used in all three stages of the proposed FSL-based system. We then elaborate on each of these three stages.
## Signal Preprocessing {#sec:preprocess}
A Wi-Fi transmitter will continuously send packets that are captured by receivers within the communication range. The CSI can be estimated but will be impacted by sampling frequency offset (SFO), packet detection delay (PDD) and carrier frequency offset (CFO) , which can be given as \[\begin{aligned}
\widehat{H}(f,t) = e^{-j\phi(t)}H(f,t), \end{aligned}\] where \(\phi(t)\) is the phase shift collectively caused by the above issues. Most of the existing works only employ amplitude for sensing. The phase of CSI is more sensitive than the amplitude and will be beneficial to the system performance. In this work, we leverage a linear transformation proposed in to sanitise the CSI. According to the specific implementation of the Intel 5300 Wi-Fi network interface card (NIC) , the process can be given as \[\angle \widetilde{H}(f_i,t) = \angle \widehat{H}(f_i,t)-k m_i-b,\] where \(i\) is the subcarrier index ranging from 1 to 30, \(f_i\) is the corresponding subcarrier frequency, \(m_i\) is the subcarrier index ranging from-28 to 28, and \[\begin{aligned}
k&=\frac{\angle \widehat{H}(f_{30},t)-\angle \widehat{H}(f_{1},t)}{m_{30}-m_1},\\ b&=\frac{1}{30} \sum_{i=1}^{30} \angle \widehat{H}(f_i,t). \end{aligned}\] In this work, we concatenate the amplitude, \(|\widehat{H}(f_i,t)|\), and the sanitised phase, \(\angle \widetilde{H}(f_i,t)\). By combining the data from all the antennas, we finally construct a CSI tensor \(\mathbf{x}\in \mathbb{R}^{U_s \times U_{ap} \times U_{ant}}\), where \(U_s\) is the number of sampling points, \(U_{ap}\) is the number of elements of amplitude plus phase, and the \(U_{ant}\) is the number of antenna pairs.
## Feature Extractor Training Stage
The main purpose of the feature extractor training stage is to train a feature extractor that can extract discriminative features from input samples. The structure of the feature extractor is shown in Fig. [\[fig:Alexnet\]](#fig:Alexnet){reference-type="ref" reference="fig:Alexnet"}, which is revised from the classic AlexNet architecture . An \(L_2\)-norm layer is added before the classifier, which normalises the embedded latent feature vectors as follows: \[\label{eqn:l2norm} f_{\theta}(\mathbf{x})=\frac{f^{\prime}_{\theta}(\mathbf{x})}{\|f^{\prime}_{\theta}(\mathbf{x})\|_{2}},\] where \(f^{\prime}_{\theta}(\mathbf{x})\) is the output of the previous fully connected (FC) layer, and \(\|\cdot\|_{2}\) denotes the \(L_2\)-norm operation. By adding an \(L_2\)-norm layer, the embedded features will be forced to lie on a hypersphere of a fixed radius . Adopting \(L_2\)-norm layer will improve the system's converging speed and accuracy, because it forces the embedded features from the same class closer and moves the features from different classes further apart. A classifier, \(C\left(\cdot \mid \mathbf{W}\right)\), consists of a fully connected layer with softmax activation function. In this stage, the classifier is parametrised by the weight matrix \(\mathbf{W_{b}}\in \mathbb{R}^{n \times N_b}\), where \(n\) is the dimension of extracted features from the feature extractor. The classifier takes the normalised feature and then computes \((\mathbf{W_b})^{\top} f_{\theta}\left(\mathbf{x}^{b}_{i}\right)\), where \((\cdot)^{\top}\) denotes transpose operation. Finally, the prediction is made via the softmax function, mathematically given as \[\label{eqn:cos} \sigma(\mathbf{v})_{i} = \frac{e^{v_i}}{\sum_{j=1}^{G} e^{v_{j}}},\] where \(\mathbf{v}\) is the output of the fully connected layer, and \(G\) is the number of classes. Here, \(\mathbf{v} = (\mathbf{W_b})^{\top} f_{\theta}\left(\mathbf{x}^{b}_{i}\right)\) and \(G = N_b\). The output of the softmax function is a probability vector that represents confidence levels over different classes. The class with the highest probability is selected. We train the feature extractor using the samples of the base set, \(\mathbf{B}\), in a supervised learning manner. The feature extractor will learn to extract distinct features from the CSI samples of different classes. It is crucial to carry out training with a sufficient number of base classes to enable the feature extractor to generalise to novel classes. Once the training is completed, the classifier is removed and the feature extractor is attained.
## Feature Matrix Generation Stage
This stage aims to generate discriminative features for novel classes in the support set. Firstly, one or a few samples from each novel class are obtained for the feature matrix generation. The corresponding CSI instances are added into the support set, \(\mathbf{S}\). The signal preprocessing scheme will be performed on the support set data to get the input for the feature extractor. Depending on different deployment scenarios, two methods can be used in the feature matrix generation stage.
### Direct Feature Matrix Generation
The feature extractor extracts the latent feature vectors from the denoised data. The support set embedding \(\mathbf{F}_{s}\in \mathbb{R}^{n \times N}\) is obtained by computing the mean of the feature vector for each class, given as \[\label{supportembedding} \mathbf{F}_{s}=\left[\begin{array}{c} f_{\theta}{(\mathbf{x}^{s}_1)}, f_{\theta}{(\mathbf{x}^{s}_2}), \dots, f_{\theta}{(\mathbf{x}^{s}_{N})} \end{array}\right].\] The feature embeddings are saved in the database for future use. In this case, the output matrix \(\mathbf{M}\) of this stage is the feature embedding, i.e., \(\mathbf{M} = \mathbf{F}_{s}\), which will be fed into the next stage for classification. This method allows fast generating distinctive feature matrix directly from the support set with little overhead.
### Fine-Tuned Feature Matrix Generation
In some challenging scenarios, the distributions of datasets or fundamental features may change dramatically, the feature extractor trained on the base set will fail in new sensing tasks. In order to adapt the feature extractor to new tasks, we propose fine-tuned feature matrix generation scheme based on the fully labelled support set. A classifier with the trainable weight matrix \(\mathbf{W}_{\text{f}} \in \mathbb{R}^{n \times N}\), initialised by the support set embedding \(\mathbf{F}_{s}\), is added after the pre-trained feature extractor. The output of the softmax function is \(\mathbf{\sigma}((\mathbf{W}_{\text{f}})^{\top} f_{\theta}{(\mathbf{x}^{s}_i)})\). Fine-tuning is done by minimising the softmax loss based on the support set, which will update the parameters in the feature extractor \(f_{\theta}\) and the weight matrix of the classifier \(\mathbf{W}_\text{f}\). The output matrix of this method is the weight matrix of the classifier, i.e., \(\mathbf{M}\) = \(\mathbf{W }_\text{f}\). The fine-tuned feature extractor will be used in the next stage. The fine-tuned feature matrix generation method enhances the adaptivity of the model in a new sensing domain or scenario.
## Classification Stage
In this stage, the sample in the query set will be classified based on the cosine similarity score between the feature matrix and the extracted latent features of the query set. An instance from the query set \(\mathbf{Q}\) will be firstly processed by the preprocessing scheme. The feature extractor will extract an embedded feature vector \(f_{\theta}{(\mathbf{x}^{q})} \in \mathbb{R}^{n \times 1}\). We compute the cosine similarity score of \(f_{\theta}{(\mathbf{x}^{q})}\) pair-wisely with all the elements in \(\mathbf{M}\) by \[\label{eqn:cos} \mathbf{v} = \frac{\mathbf{M}^{\top} f_{\theta}{(\mathbf{x}^{q})}}{\|\mathbf{M}\|_2\|f_{\theta}{(\mathbf{x}^{q})}\|_2}.\] The softmax function \(\sigma\) maps the score, \(\mathbf{v}\), to a probability distribution, \(\mathbf{P}\), and the query set will be classified to the class with the highest probability.
## Summary
FSL-based sensing has a good scalability capacity. Whenever novel classes need to be added, a few samples of these classes should be collected and their feature representations can be generated with acceptable overhead. Let us revisit Fig. [\[fig:t_sne\]](#fig:t_sne){reference-type="ref" reference="fig:t_sne"} for analysing cross-domain sensing. Data of the same class from the same domain is well-clustered while data of different classes from different domains is well-separated. As the query set and support set are obtained from the same target domain, these samples experience the same domain shift from the base set. By using fine-tuning, we can adapt the feature extractor and classifier weights using a few samples from the support set, i.e., a transformation from the source domain to the target domain. This approach enables the model to adapt to the target domain with minimal efforts.
# Collaborative Sensing {#sec:collab}
In the previous sections, we have introduced a Wi-Fi sensing system using one transmitter-receiver setup, which can capture features from a particular direction. However, the position and orientation of the user cannot be predicted, hence some transmitter-receiver links may not be optimal to capture CSI variations. The performance can be boosted by employing multiple receivers, which can enrich feature observations from different directions and work collaboratively to improve system robustness and classification accuracy. As shown in Fig. [\[fig:collabrative\]](#fig:collabrative){reference-type="ref" reference="fig:collabrative"}, there are \(N_r\) receivers deployed for collaborative sensing. Each receiver will be equipped with the fine-tuning-FSL-based sensing approach introduced in Section [4](#sec:method){reference-type="ref" reference="sec:method"}. When a signal is sent by a transmitter, all the receivers will receive the signal simultaneously but from different directions. Each receiver will be initially deployed with the same feature extractor. For the \(i\)-th receiver, it can construct its own support set, \(\mathbf{S}_{i} = {(\mathcal{X}^{s}_i, \mathcal{Y}^{s}_i)}\). The \(i\)-th receiver can then carry out fine tuning to adapt its feature extractor \(f_{\theta}^{i}\) with weights \(\mathbf{W}_{\theta}^{i}\) and the classifier with the weight matrix \(\mathbf{W}_{\text{f}}^{i}\). In the classification stage, each receiver will also collect its own query set, \(\mathbf{Q}_i\). The \(i\)-th receiver will first carry out the independent inference and obtain a probability distribution, \(\mathbf{P}_{i}\). They will then work together by calculating an averaged probability distribution of all their observations, given as \[\label{eqn:mojorityvote} \mathbf{P}^{c} = \frac{1}{N_r}\sum_{i=1}^{N_{r}} {\mathbf{P}_{i}}.\] The class with the highest probability is predicted as the final decision.
# Experimental Evaluation {#sec:exper}
## Setup of Experiments
### Dataset {#sec:dataset}
We used three public datasets for evaluation, i.e., SignFi , Widar 3.0 and Wiar . The CSI of all these three datasets is collected by Intel 5300 Wi-Fi NIC using the IEEE 802.11 CSI tool . This tool reports the CSI of 30 subcarrier groups for each packet at 20 MHz channel spacing. The information of the three datasets is summarised in Table [\[tab:dataset\]](#tab:dataset){reference-type="ref" reference="tab:dataset"}. The datasets are collected by different research groups hence their volunteers and experimental experiments are different. For each activity, we selected \(U_{s} = 200\) packets to obtain a uniform input. As there are 30 subcarrier groups in each packet and each subcarrier has amplitude and phase information, thus \(U_{ap} = 60\). Finally, there are three transmitter-receiver antenna pairs, i.e., \(U_{ant} = 3\). Thus, we have the CSI tensors: \(\mathbf{x}\in \mathbb{R}^{200 \times 60 \times 3}\).
**SignFi dataset**. The SignFi dataset contains CSI samples of 276 different sign language gestures, which involve head, arm, hand and finger gestures. The gestures are performed by five users and in three environments. Specifically, the user s5 performs all the 276 sign language gestures at home and in a lab environment. Users s1 to s4 also carry out a subset of the gestures in the same lab room, but the settings vary, e.g., with different laptop placements and desk and chair arrangements. Hence, the lab environment for users s1 to s4, denoted as Lab 2 in this paper, is deemed different from the lab environment for user s5. User s5 performs 276 sign languages each with 20 times in the lab and 10 times at home. Users s1 to s4 perform 150 sign languages 10 times in the lab 2 environment. **Widar dataset**. The Widar dataset is a large dataset, and we only used part of it. Specifically, we selected six gestures, namely Push & Pull, Sweep, Clap, Slide, Draw-Zigzag, and Draw-N. These gestures involve arm and hand movements. Six receivers are used to capture each gesture. We used data from three users, denoted as users w1, w2, and w3. Each user performs 6 gestures 20 times in a classroom environment. **Wiar dataset**. The Wiar dataset contains 16 different human motions, namely Horizontal Arm Wave, High Arm Wave, Two Hands Wave, High Throw, Draw X, Draw Tick, Toss Paper, Forward Kick, Side Kick, Bend, Hand Clap, Walk, Phone Call, Drink Water, Sit Down, and Squat. These activities involve torso, arm and hand movements. We used the data of six users, denoted as a1 to a6, for our experiments. Each user performs each activity 30 times in a meeting room.
### Training Configuration
The feature extractor was trained in a supervised learning manner. The data of user s5 lab environment of the SignFi dataset was used as the base set. We used the Adam optimiser with an initial learning rate of \(1e^{-3}\) to minimise the cross-entropy loss function. The learning rate was multiplied by 0.1 whenever the validation loss stopped decreasing for 20 epochs. The training process of the feature extractor terminated when the validation loss stopped decreasing for 50 epochs. All experiments were run on a PC with i7-8700K 3.7 GHz CPU, 16 GB memory with NVIDIA GeForce GTX 2080Ti. Tensorflow and Keras were used.
### Evaluation Method
This paper evaluated the in-domain sensing (Section [6.2](#sec:indomain){reference-type="ref" reference="sec:indomain"}), cross-domain sensing (Section [6.3](#sec:crossdomain){reference-type="ref" reference="sec:crossdomain"}), cross-dataset evaluation (Section [6.4](#sec:crossdataset){reference-type="ref" reference="sec:crossdataset"}), and collaborative sensing (Section [6.5](#sec:collaborative){reference-type="ref" reference="sec:collaborative"}). The base set was constructed by randomly selecting \(N_b\) classes each with \(K_b\) samples from the user s5 lab environment in the SignFi dataset. The feature extractor, denoted as \(f_\theta^{N_b}\), was trained from scratch using the base set. We randomly selected \(N\) different classes (ways) each with \(K\) samples (shots) from SignFi, Widar, or Wiar datasets to construct the support set \(\mathbf{S}\). The remaining data of each selected class was used as the query set. Classification accuracy and confusion matrix were used as the metrics. The accuracy was defined as the number of correct predictions divided by the total predictions. The confusion matrix was used to show the number of correct and incorrect predictions.
## In-Domain Sensing {#sec:indomain}
In-domain sensing is evaluated in this section, i.e., the base set, support set and query set share the same domain. Intuitively, a feature extractor will have better generalisation capability when more base classes are available. We used the data from the user s5 collected from the lab environment in the SignFi dataset as the base set. We trained feature extractors, \(f_\theta^{N_b}\), with \(N_b\) base classes. Specifically, we studied \(N_b =\) 50, 100, 150, 200, and 250. These \(N_b\) classes were randomly selected from all the available classes, i.e., 276 classes in total. The rest of the classes of the user s5 lab environment were used to evaluate the feature extractor's novel class recognition performance. Fine-tuning was not applied. We evaluated different number of ways, i.e., \(N\) = 2 to 26, and one shot, i.e., \(K\)=1. As shown in Fig. [\[fig:comparebasedclasses\]](#fig:comparebasedclasses){reference-type="ref" reference="fig:comparebasedclasses"}, a larger \(N_b\), i.e., more base classes, leads to a higher accuracy, which is expected. When there are more novel classes in the support set, i.e., a higher \(N\), the accuracy is decreasing, because it requires the feature extractor with better generalisation capability. Specifically, the average accuracies over all different numbers of novel classes are 97.9% and 99.2% when \(N_b = 200\) and \(N_b = 250\), respectively. In the rest parts of this paper, we used \(f_\theta^{200}\) as the feature extractor. To further evaluate the performance of the feature extractor \(f_\theta^{200}\), we increased the number of novel classes to 76. As shown in Table [1](#tab:user5InLab){reference-type="ref" reference="tab:user5InLab"}, the classification accuracy is \(91.7\%\) when \(N=\) 76, which is still quite high.
## Cross-Domain Sensing {#sec:crossdomain}
In this section, we evaluated the cross-domain sensing performance. The feature extractor \(f_\theta^{200}\) is trained with the user s5 lab environment but the support and query sets are from different domains. We have considered two scenarios:
- **Scenario 1, Cross-Environment Evaluation**: The support and query sets are from the user s5 home environment, i.e., the same user but different environments. As \(N_b\) = 200 classes are used for training the feature extractor, there are 76 remaining novel classes.
- **Scenario 2, Cross-Environment and Cross-User Evaluation**: The support and query sets are from users s1 to s4 in the lab 2 environment, i.e., different users and different environments. In the SignFi dataset, these four users performed 150 classes of sign language and 25 of them are novel classes.
### Impact of Numbers of Novel Classes {#sec:novel_class}
We evaluated \(N\)-way 1-shot learning and fine-tuning was not used. Only the data of novel classes was used, hence we evaluated \(N\) = 2 to 76 and \(N\) = 2 to 25 for scenarios 1 and 2, respectively. As shown in Fig. [\[fig:NoClasses\]](#fig:NoClasses){reference-type="ref" reference="fig:NoClasses"}, the accuracies of both scenarios decrease when the number of novel classes, \(N\), is increasing, as a better generalisation capability of the feature extractor is required. The accuracy of scenario 1 dropped to \(57.9\%\) when \(N\) = 76. Regarding scenario 2, the results in Fig. [\[fig:crossDiffUserandEnvironment\]](#fig:crossDiffUserandEnvironment){reference-type="ref" reference="fig:crossDiffUserandEnvironment"} demonstrate that the system can learn the distinctive representation of the novel classes, even though the feature extractor has not seen data from these environments and users before. The accuracies vary for different users because each user may perform the same sign language in a different manner, which results in different data distribution.
### Impact of Numbers of Shots {#sec:shots}
This section studied the impacts of different numbers of shots, \(K\), in the support set. Fine-tuning was not used. We increased \(K\) from 1 to 5 for both scenarios 1 and 2. The results are shown in Fig. [\[fig:fsl\]](#fig:fsl){reference-type="ref" reference="fig:fsl"}. For scenario 1, we used all the remaining 76 classes, i.e., 76-way \(K\)-shot. The accuracy increased from \(57.9\%\) to \(71.5\%\) when \(K\) increased from 1 to 5, respectively. Regarding scenario 2, we tested 25-way \(K\)-shot. Increasing the number of shots can enrich data diversity in the support set, thus increasing the generalisation capability of the feature extractor. Again, the accuracies vary according to different users, about 20% difference between the best and worse cases, probably due to various gesture patterns among users. Note that the user s5 had the lowest accuracy compared to the other four users, because the number of novel classes of the user s5 was higher (\(N_b\) = 76).
### Impact of Fine-Tuning {#sec:finetune}
We performed fine-tuning on the support set with only one and five samples for each novel class. We studied 76-way 1-shot and 25-way 1-shot for scenarios 1 and 2, respectively. As shown in Fig. [\[fig:ft\]](#fig:ft){reference-type="ref" reference="fig:ft"}, fine-tuning has improved the accuracies for all the tests. For scenario 1 (user s5), the accuracy is improved from \(57.9\%\) to \(72.8\%\) and 87.1%, when one shot and five shots are applied, respectively. For scenario 2 (users s1 to s4), the performance is improved by \(8\%\) on average when one shot is applied, and improved by 16.9% on average when five shots are applied. The evaluation results indicated that our proposed fine-tuning method could significantly improve the cross-domain's accuracy and quickly adapt to the new domain without extensive data collection, because the feature extractor can be updated even using one shot.
## Cross-Dataset Evaluation {#sec:crossdataset}
This section evaluated the classification performance when the base set and support & query sets were from different datasets. The same feature extractor \(f_\theta^{200}\) trained by the SignFi dataset was used. The support and query sets were from the Widar or Wiar datasets. This would be quite challenging. Firstly, there will be a significant domain shift between the datasets, as the users and environments are different. Secondly, different datasets may have different sensing tasks, which result in totally different CSI variation patterns. For example, sign languages in SignFi are mainly a combination of finger, hand, and head movements, the gestures in the Widar dataset involve hand movements, and the human motions in the Wiar dataset are large-scale human activities that involve arm, hand, limb, and leg, etc. The tasks of SignFi and Widar are similar, but the ones between SignFi and Wiar are quite different.
### Evaluation on Widar Dataset {#sec:widar}
This section evaluated the recognition performance when the tasks of the base sets (SignFi) and the support & query sets (Widar) were different but similar. Specifically, the gesture data in the Widar dataset was used for evaluation. As there are multiple receivers available in Widar, we selected data of one receiver from users w1, w2, and w3. We evaluated 6-way \(K\)-shot, where \(K\) = 1 to 5. We studied both direct feature matrix generation and fine-tuned feature matrix generation. The results are shown in Fig. [\[fig:widarperform\]](#fig:widarperform){reference-type="ref" reference="fig:widarperform"}. When fine-tuning was used, the overall accuracy increased dramatically. The minimum accuracy increase was around \(16.5\%\), when the data was from the users w1 and w2 in the one-shot learning case. The overall accuracy increased with an increase in the number of shots. In the case of one-shot learning with fine-tuning, the accuracies were \(51.8\%\), \(86.3\%\), and \(72.3\%\), for user w1, w2, and w3, respectively. The five shots learning gave the best performance, i.e., \(90.6\%\), \(99.0\%\) and \(100\%\) for user w1, w2, and w3, respectively. The corresponding confusion matrix is shown in Fig. [\[fig:cfm\]](#fig:cfm){reference-type="ref" reference="fig:cfm"}. The experiment results showed that our proposed method can be scaled to similar sensing tasks, e.g., gesture recognition, with only a few samples. As the feature extractor was trained using the data of sign languages (SignFi), some latent features learned may not apply gesture recognition (Widar). The performance was thus a little limited when fine-tuning was not used. When fine-tuning was used, even with very few samples, the recognition accuracy was significantly improved. This is because the feature extractor has already obtained informative knowledge about how to extract latent features for sign language, and sign languages and gestures share some common features.
### Evaluation on Wiar Dataset {#sec:wiar}
This section evaluated the recognition performance when the tasks of the base sets (SignFi) and the support & query sets (Wiar) are quite different. Specifically, the human activity data in the Wiar dataset was used for evaluation. We selected the data from six users in the Wiar dataset. We evaluated 16-way \(K\)-shot, where \(K\) = 1 to 5. The experiments were conducted with fine-tuning applied. The experiment results are shown in Fig. [\[fig:wiar\]](#fig:wiar){reference-type="ref" reference="fig:wiar"}. The feature extractor \(f^{200}_\theta\) achieved the highest accuracy for user a1, with an accuracy of \(66.2\%\) and \(94.2\%\) for one and five shots learning, respectively. The lowest accuracy was shown for user a3, with an accuracy of \(31.0\%\) and \(57.24\%\) for one and five shots learning, respectively. In the case of five-shot learning, the performance for most of the users (except for user a3) were over 80% of accuracy. The results demonstrate that our feature extractor could adapt to various sensing tasks without the burden of high data collection and model retraining, even when the tasks are very different to the original task.
### Discussion
The work also used FSL for Wi-Fi sensing and argued it is cumbersome to build a feature extractor with good generalisation capability. Hence they designed virtual gesture generation for reducing the effort of collecting data. However, as we showed in this Section, we can leverage the public dataset as the base set and train a versatile feature extractor. When the feature extractor is applied to a different sensing task, we can always fine-tune the feature extractor using very few samples from the new task. Therefore, the overhead for collecting the base set can be mitigated.
## Collaborative Sensing {#sec:collaborative}
In this section, we evaluated the performance of the collaborative sensing algorithm. The fine-tuning was applied in this section. The same feature extraction, \(f_\theta^{200}\), trained by the SignFi dataset was used. The support and query sets were from the user w1 of the Widar dataset. Six gestures were performed 20 times and captured by six receivers each time. Therefore, each receiver has 20 samples for each gesture. We constructed the support and query sets for each receiver. One to five samples were randomly selected and added to the support set and the remaining were used as the query set. As shown in Fig. [\[fig:multiRx\]](#fig:multiRx){reference-type="ref" reference="fig:multiRx"}, the accuracies increased as the number of receivers increased. For one-shot learning, the accuracy increased from \(38.2\%\) to \(75.5\%\) when the number of receivers increased from 1 to 6. Exploiting more receivers enables the feature extractor to view gestures from different perspectives, hence rich features can be obtained for improving system performance. Similarly, the classification accuracy in collaborative sensing can also be enhanced by more shots. The highest accuracy achieved by the 5-shot learning is \(100.0\%\) when the number of receivers was six. The work in also used multiple receivers. However, the accuracy in their work is already relatively high only using one receiver, hence the accuracies were saturated with more receivers. However, as demonstrated by our work, more receivers will be beneficial when the accuracy using a single receiver is not saturated.
## Complexity {#sec:complexity}
The computational overhead involves three parts: training feature extractor, fine-tuning, and inference. The signal pre-processing algorithm used in all three stages took 0.3 seconds. **Training feature extractor** probably is the most computationally expensive. In order to achieve good generalisation capability, the feature extractor needs to be pre-trained with a large number of base classes. Specifically, we trained the feature extractor using 200 classes each with 20 samples of user s5 lab environment in the SignFi dataset, which took around 10 minutes. Fortunately, the feature extractor only needs to be trained once and can be done offline. The pre-trained feature extractor takes up 45 MB memory, which can be deployed on embedded systems. **Fine-tuning** is applied for adapting the pre-trained feature extractor and classifier to new sensing tasks or domains. The time cost depends on the amount of data. In all the experiments, the most time consuming one is 76-way 5-shots learning, which takes 82 seconds. Thus, the overhead in this stage is acceptable. **Inference** is completed by the proposed collaborative sensing model when multiple receivers are available. The time consumption of each inference is around 0.04 seconds, which can be done almost in real-time.
## Comparison with the-State-of-the-Art {#sec:adv}
### Comparison with Domain Adversarial Training {#sec:adv}
This section compared the performance of the proposed method to a state-of-the-art domain adversarial training-based method, also know as adversarial domain adaptation, which has been employed in the Wi-Fi sensing area, e.g.,. The basic idea of domain adversarial training is to train a network on data from different domains, which are termed source domains. A domain adversarial network includes a feature extractor, a classifier and a domain discriminator. The feature extractor is used to extract features. The classifier is used to identify the label of the input. The domain discriminator is used to distinguish the domain label of the input. The domain discriminator would force the feature extractor to extract domain-independent features. After training, the network is expected to perform well on target domain data. To ensure a fair comparison, we used the same modified AlexNet architecture in this paper as the feature extractor of the adversarial network. We trained the model with the data from two different environments, i.e., lab and lab 2, and five users of the SignFi dataset. Each environment and user pair forms a source domain. The data from the home environment, user s5, was used as the target domain data. The comparison results are shown in Table [2](#tab:compareADV){reference-type="ref" reference="tab:compareADV"}. The domain adversarial training-based approach only achieved an overall accuracy of \(4\%\), which failed to recognise the sign language gestures in the target domain. This is probably because the domain adversarial network requires a large number of domains to enable the feature extractor to learn domain-independent features. For example, the work in revealed their classification accuracy increased from about 45% to 75% when the number of sources domains were increased from 2 to 22. Instead of training a feature extractor to learn the domain-independent features, our proposed method adapted to the target domain by comparing the similarity of the extracted features between target domain instances. With one sample from each class, our method achieved \(57.9\%\) accuracy without fine-tuning. The accuracy can be further increased to \(72.8\%\) when fine-tuning is applied.
### Comparison with Domain-Independent Feature-based Approach
The work in proposed BVP, a domain-independent feature, to address the cross-domain sensing problem. According to , extracting BVP requires at least three receivers. The Widar dataset provides BVP extracted from six receivers, which is used here for comparison. We used the same deep learning model in . In order to perform cross-domain sensing, the BVP data of users w4 to w9 collected from the hall and office environments was used for training. The BVP data of users w1 to w3 obtained from classroom was used for evaluation. The results are shown in Table [3](#tab:comparewidar){reference-type="ref" reference="tab:comparewidar"}. The BVP-based approach achieved an average accuracy of 82.0%, 90.5% and 92.4% for the user w1, w2 and w3, respectively.
In comparison, we also evaluated the performance of the FewSense method. The CSI data from the same three users collected in the classroom environment via six receivers is used as the support and query set. As can be observed from Table [3](#tab:comparewidar){reference-type="ref" reference="tab:comparewidar"}, one-shot learning can achieve comparable performance with the BVP-based method. When two shots are used, our method outperforms the BVP. However, the applications of BVP feature may be limited in real life since it requires at least three receivers to resolve the ambiguity problem. In comparison, our method provides an alternative solution when the number of receivers is limited. For example, by using five shots in the two receivers setting, our collaborative sensing model can still achieve comparable performance with the BVP features at the six receivers setting. In terms of complexity, the BVP feature extraction is computationally expensive. For example, it took around 205 seconds to compute the BVP feature for one gesture from six receivers. The high computational complexity limits its practical use. On the other hand, our model is lightweight, as analysed in Section [6.6](#sec:complexity){reference-type="ref" reference="sec:complexity"}.
# Related work {#relate}
## Few-Shot Learning
FSL has been successfully implemented in many vision-based tasks and the similarity-based methods are widely investigated. Matching networks is proposed to use a cosine similarity function to solve the FSL problem. The authors in train a neural network with a large number of base classes and then replace the last fine-tuning layer with a cosine similarity function. Researchers in propose a prototypical network (PN) for FSL, which employs Euclidean distance as the distance metric. The works above aim to learn transferable features and a fixed similarity function, the generalisation capability of them is limited. The work in uses a relation network with a trainable similarity metric to address the above limitation.
## Domain Robustness of Wi-Fi Sensing
The authors in use an domain adversarial training-based domain adaptation method to extract domain-independent features from multiple domains. For example, the work in employs a gesture classifier to classify gestures, and a domain discriminator to recognise the domain label of the input samples. The feature extractor is trained to cheat the domain discriminator such that the domain discriminator cannot distinguish the domain labels of the input. The feature extractor is expected to map the input from different domains to the same feature space. However, this method requires a massive number of training samples from different domains to obtain satisfactory performance. The transfer learning focuses on leveraging the knowledge of a pre-trained model and applying the model to a different but similar task. In order to reduce the model retraining effort in the target domain, the authors in propose a transfer learning-based method called CrossSense, which employs an ANN-based model to translate the CSI features of gestures in the source domain to the target domain. Although transfer learning can reduce the data collection effort in a new domain, it still requires many data samples from the target domain to achieve a satisfying performance. Moreover, transfer learning only works when the source and target domains are similar enough. Otherwise, the problem of negative transfer may limit the applications of this method . The domain-independent feature-based method is another type of solution. Widar uses multiple receivers to extract BVP. However, at least three receivers are required to resolve the velocity direction ambiguity problem, and the feature extraction overhead cannot be ignored. Those factors may limit the application in real deployments. The work in extracts the motion patterns as the input features which are experimentally demonstrated domain-independent. However, some similar gestures could have similar movement patterns. Therefore, the classes of the gestures need to be designed to avoid similarity.
# Conclusions {#conclusion}
This paper proposed FSL-based WiFi sensing, i.e., FewSense, to address the scalability and domain-dependent challenges. FewSense utilised a revised AlexNet architecture as the feature extractor to gain generalisation capability. The features of query and support sets were compared and the inference was made based on their cosine similarity score. Collaborative sensing was designed to fuse observations from multiple receivers for boosting classification accuracy. Three public Wi-Fi sensing datasets, including SignFi (sign language), Widar (gesture recognition) and Wiar (human activity recognition), were leveraged for evaluation. We carried out extensive evaluation using a feature extractor trained by the SignFi dataset. The experimental results indicated that FewSense could be adapted to new sensing tasks or domains with a low data collection and computational cost. The FewSense with one-shot learning can recognise novel sign language gestures in SignFi with an average accuracy of 99.2% and 84.2% in in-domain and cross-domain scenarios, respectively. When applying FewSense to new sensing tasks, FewSense recognised novel gestures on the Widar dataset with an average accuracy of 69.9% and 96.5% for one-shot and five-shot learning, respectively. It also achieved an average accuracy of 52.8% and 82.7% for one-shot and five-shot learning, respectively, for classifying novel human activities on the Wiar dataset. Finally, our collaborative sensing approach can boost the classification accuracy by 30% on average when there were six receivers. In summary, FewSense demonstrated that cross-dataset sensing is applicable. The generalisability of the feature extractor can be achieved using a publicly available dataset, alleviating the data collection overhead. | {'timestamp': '2022-03-07T02:03:22', 'yymm': '2203', 'arxiv_id': '2203.02014', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02014'} |
null | null |
# Introduction
In the AdS/CFT correspondence, where a precise non-perturbative definition of quantum gravity exists, one of the most basic objects is the bulk-to-boundary map \(V\) in the large \(N\) and large t'Hooft coupling limit. In this limit, the bulk description is well approximated by semi-classical supergravity, and the bulk-to-boundary map \(V\) embeds bulk semi-classical states into the Hilbert space \(\mathcal{H}_\text{CFT}\) of the dual, strongly coupled, quantum mechanical theory. The bulk semi-classical states in question are essentially comprised of effective field theory (EFT) excitations of bounded energy density around some chosen gravitational background \(g\), which we can arrange in the form of a bulk EFT Hilbert space \(\mathcal{H}_\text{bulk EFT}^g\). Two decades of work have explored aspects of this embedding of the bulk gravity EFT in the boundary CFT. One of the most mysterious aspects of the map is the emergence of locality in the bulk low-energy theory, especially in regions causally hidden behind horizons. Some fundamental properties of the map \(V\), such as the redundancy of bulk operator representations and radial locality, are most naturally understood by realizing that the embedding \[V: \mathcal{H}_{\text{bulk EFT}}^g \to \mathcal{H}_\text{CFT},\] has the structure of a quantum error correcting code. In the quantum error correction (QEC) language, states in the bulk effective field theory around the gravitational background \(g\) are often referred to as the code subspace \(\mathcal{H}_\text{code} \subset \mathcal{H}_\text{CFT}\). The code subspace is intuitively the subspace of states in the full Hilbert space \(\mathcal{H}_\text{CFT}\) upon which a bulk local EFT operator may be represented, and states outside the code subspace are interpreted as having lost access to the operator either due to absorption by a large black hole or a more fundamental breakdown of the emergent background metric \(g\). Quantum error correction in this holographic context means that the representation on a boundary subregion \(A\) of bulk operators within a corresponding bulk subregion enclosed between \(A\) and the quantum extremal surface (QES) for \(A\)--called the "entanglement wedge\" \(\mathcal{W}(A)\) --is robust against the erasure of the complementary subregion \({\overline{A}}\). Equivalently, the state of bulk quantum fields in the region \(\mathcal{W}(A)\) is "encoded" in the boundary subregion \(A\), and is protected from any and all "errors", i.e., operator actions, on \({\overline{A}}\). Conversely operators in the entanglement wedge \(\mathcal{W}(A)\) can be reconstructed entirely from data in \(A\). This modernization of the bulk-to-boundary map is referred to as entanglement wedge reconstruction (EWR). The EWR paradigm has provided a powerful framework for bringing tools from quantum information theory to bear on problems in quantum gravity. For instance, EWR played an important role in recent progress on the black hole information problem. These papers studied an asymptotically AdS\(_2\) evaporating black hole coupled to a non-gravitational bath, where the bath serves as a reservoir to collect the Hawking radiation (Fig. [\[fig:SC\]](#fig:SC){reference-type="ref" reference="fig:SC"}). In this context, if one computes the von Neumann entropy of the bath past the Page time, the semi-classical description involves a new quantum extremal surface that develops in the black hole interior and cuts off the naive growth of the entropy, reproducing the expected Page curve. Crucially, the EWR paradigm in this context implies that the region in the black hole interior enclosed by this new QES--the so called "island"--is encoded in the bath, and thus bulk operators in the island can be represented as operators on the bath. Indeed, it was shown in that a general tool from the theory of quantum error correction called the Petz map can be used to give an explicit reconstruction of operators in the black hole interior. This is a surprising and radical claim--the bath need not be a conventional, strongly coupled holographic quantum field theory, and could be a free field theory, for instance. Yet, it can encode semi-classical supergravity degrees of freedom in the same sense as holographic duality, i.e., a portion of the bath is dual to, or an equivalent description of, the gravity degrees of freedom in a distant part of space. In an evaporating black hole, this would appear to be at odds with the semi-classical causal structure of the black hole spacetime, as the encoded island lies behind the horizon. However, this encoding should be fundamentally different from the standard bulk-boundary map in holographic dualities: we expect it to be exponentially complex in the black hole entropy, i.e, implementing this encoding with a quantum computer should be exponentially complex in \(N\), explaining why simple observables give the appearance of information loss in Hawking radiation. By contrast, the standard encodings of EFT excitations in regions of AdS space that are causally accessible from the boundary only have polynomial complexity since the reconstruction just involves solving equations of motion. Note that for entanglement wedges of a strongly coupled theory which include a "Python's Lunch", which we will discuss below, the encoding map is also expected to be highly complex since the main source of reconstructive power is entanglement between gravitational degrees of freedom. Recently, progress was made toward a more detailed understanding of the quantum error correcting structure of the code in the Hawking radiation for the interior of the black hole. In this paper, Kim, Preskill and Tang (KPT) suggested that the bulk degrees of freedom in the black hole interior are encoded in the radiation with robust QEC properties--more so than the usual QEC familiar in encoding of "causal wedges", i.e., regions causally connected to the spacetime boundary in AdS/CFT. In particular, they found (in a model for black hole evaporation) that despite the fact that the "island" region in the black hole interior is encoded in the early Hawking radiation, this encoding is protected in the QEC sense from all "low-complexity" and "low-rank" errors on the early radiation as long as the remaining black hole is macroscopic. Here an "error" is any quantum operation that acts on the radiation. This is very different from the standard statement of QEC in AdS/CFT where the bulk entanglement wedge \(\mathcal{W}(A)\) is protected from errors in \({\overline{A}}\), but not in general from errors on \(A\) itself. KPT further argued that this robust error correction has an important bearing on the apparent tension between islands and the semi-classical causal structure of the black hole--all low complexity quantum operations on the bath commute with the representations in the bath of bulk operators in the black hole interior. Thus, in order to affect the black hole interior explicitly, an observer in the bath will have to perform an exponentially complex operation. Crucial to the analysis of KPT was an assumption that the reduced state on the bath/radiation is *pseudorandom*, i.e., cannot be reliably distinguished from the maximally mixed state (more generally, the thermal ensemble) with a polynomial complexity quantum operation; complexity theory enters their arguments through this assumption. The main purpose of our work is to study these novel quantum error correction properties of the encoding of the black hole interior in Hawking radiation. Instead of using the KPT pseudorandomness assumption, we will directly study the QEC properties in a toy model for an evaporating black hole in Jackiw-Teitelboim (JT) gravity using the Euclidean gravity path integral. We will show that in this setting the bulk density matrix in the interior is approximately recoverable from the action of quantum operations on the bath which (i) do not have prior access to the details of the black hole microstates and their overlaps, and (ii) do not have a large, negative "coherent information"--an information theoretic measure of the amount of noise a quantum operation generates--with respect to the maximally mixed state on the bath (which we may interpret as the "semi-classical state\" of the radiation, i.e., the analog of Hawking's thermal state). The lower bound on the coherent information is controlled by the black hole entropy and code subspace dimension. This implies that the encoding of the black hole interior in the radiation is robust against generic, low-rank quantum operations on the bath which do not have access to details of the black hole microstate, thus providing a gravitational perspective on the results of KPT. Furthermore, for erasure errors on the bath, we show that gravity comes within an \(O(1)\) distance of saturating the quantum Singleton bound on the error tolerance of quantum error correcting codes. We also show that typical errors on the bath must have a large rank compared to the product of the black hole Hilbert space and bath Hilbert space dimensions in order to affect the interior. We comment on the interpretation of our coherent information criterion in light of an unusual non-isometry property of the interior encoding map that we describe. While our analysis here is limited to the specific example of the black hole interior, we propose that even for a more general entanglement wedge \(W(A)\) dual to a CFT subregion \(A\), *the encoding of semi-classical degrees of freedom in the python's lunch* *(i.e., the part hidden behind a non-minimal QES) should be robust against generic, low-rank errors on the boundary subregion \(A\).* By "generic", we mean quantum operations which do not have prior access to the details of the encoding map. Note that such robust error correction properties certainly do not hold in the causal wedge. Indeed, after the Page time the black hole interior is in the python's lunch because it is hidden behind a non-minimal QES, namely the empty surface. Finally, we discuss implications of our results for the consistency of the island program for black hole information recovery with the semi-classical causal structure of evaporating black hole spacetimes. Four sections follow. In Sec. [2](#sec:prelim){reference-type="ref" reference="sec:prelim"}, we review necessary ideas from quantum error correction as well as the toy model of black hole evaporation which serves as our primary example. In Sec. [3](#sec:qec-pssy){reference-type="ref" reference="sec:qec-pssy"}, we apply QEC tools to the toy model and, using the gravitational path integral, derive our criterion for correctable errors on the black hole interior code subspace. Euclidean wormholes play a key role in the action of errors on the encoded state which are not correctable. We also discuss the non-isometric nature of the interior encoding. In Sec. [4](#sec:ErasuresTypical){reference-type="ref" reference="sec:ErasuresTypical"} we present a detailed analysis of erasure errors and typical/random, fixed-rank errors. We conclude with a discussion of generalization to other entanglement wedges and implications for the semi-classical causal structure of the evaporating black hole spacetime in Sec. [5](#sec:disc){reference-type="ref" reference="sec:disc"}.
# Preliminaries {#sec:prelim}
In this section, we review background material on quantum error correction, following, and the toy model of black hole evaporation which we will use in later sections. The material in this section is not new, but is included here to keep the article somewhat self-contained.
## Conditions for quantum error correction {#sec:QECreview}
Let \(\mathcal{H}_{\text{code}}\) denote the code subspace, and let \(\{|i\rangle\}_{i=1}^d\) be a basis of states for \(\mathcal{H}_{\text{code}}\). Furthermore, let \(\mathcal{H}_{\text{phys}}\) be a larger Hilbert space in which we wish to encode \(\mathcal{H}_{\text{code}}\), via the isometric encoding map: \[V: \mathcal{H}_{\text{code}} \to \mathcal{H}_{\text{phys}}, \quad V\ket{i}_\text{code} = \ket{\Psi_i}_\text{phys},\quad V^{\dagger}V=\mathbb{1}_\text{code}.\] Thus \(VV^\dagger\) projects the physical Hilbert onto encoding of the code subspace in the physical degrees of freedom. The general theory of quantum error correction deals with recovering the encoded state from the physical system after the action of quantum operations, which can potentially create "errors" in the encoding. Errors in the physical system can be modelled by the action of a quantum channel \(\mathcal{E}\) which is a linear, completely positive[^1] and trace preserving map which takes a state (i.e., a density matrix[^2]) on \(\mathcal{H}_{\text{phys}}\) to another state on \(\mathcal{H}_{\text{phys}}\). The action of a general quantum channel can always be expressed in terms of its Kraus operators \(\{E_m\}\): \[\mathcal{E}(\rho) = \sum_m E_m \rho E_m^{\dagger},\] where requiring \(\mathcal{E}\) to be trace preserving implies \[\label{trC} \sum_m E_m^{\dagger} E_m = \mathbb{1}.\] The minimum number of Kraus operators necessary to implement \(\mathcal{E}\) is sometimes called the (Kraus) rank of the channel, and could be regarded as measure of how complex a channel is.[^3] Another particularly useful fact is that the action of any quantum channel \(\mathcal{E}\) on a state \(\rho\) can be modeled by a unitary operation on an enlarged Hilbert space that includes an auxiliary environment. In detail, introduce an environment \(\mathcal{H}_{\text{env}}\) spanned by \(\{|e_m\rangle\}\) in some initial state \(|e_0\rangle\). Then act on the enlarged state \(\rho\otimes |e_0\rangle\langle e_0| \in \mathcal{H}_{\text{phys}}\otimes \mathcal{H}_{\text{env}}\) with a unitary operator \(U_\mathcal{E}\), and trace out the environment to get \[\label{SD} \mathcal{E}(\rho) = \mathrm{Tr}_{\text{env}}\left[ U_\mathcal{E}( \rho \otimes |e_0\rangle\langle e_0|_{\text{env}} ) U_\mathcal{E}^{\dagger} \right],\] where \(E_m = \langle e_m | U_\mathcal{E} | e_0\rangle\), i.e., \(U_\mathcal{E}|\psi\rangle\otimes |e_0\rangle = \sum_{m}E_m |\psi\rangle \otimes |e_m\rangle\). This expression of the channel \(\mathcal{E}\) as the trace over an environment after conjugation by a unitary \(U_\mathcal{E}\) will be referred to as the *isometric extension* (sometimes also called the Stinespring dilation) of \(\mathcal{E}\). It is a way of representing a quantum channel as an open system. We say that an error \(\mathcal{E}\) can be corrected on \(\mathcal{H}_{\text{code}}\) if there exists a recovery channel \(\mathcal{R}\) such that \[\mathcal{R}(\mathcal{E}(\rho)) = \rho,\] for any density matrix \(\rho\) supported on \(\mathcal{H}_{\text{code}}\), or more precisely, supported on the image of the code subspace inside the physical Hilbert space under \(V\). One of the central results of the theory of quantum error correction is that the channel \(\mathcal{E}\) is exactly correctable if and only if it satisfies the "Knill-Laflamme" conditions: \[\label{KLcond0} P_{\text{code}} E_m^{\dagger}E_n P_{\text{code}} = \alpha_{mn}P_{\text{code}},\] where \(P_{\text{code}} = VV^\dagger\) is the projector onto the code subspace. The projection, trace preservation, and positivity properties of the operators on the left hand side of [\[KLcond0\]](#KLcond0){reference-type="eqref" reference="KLcond0"} imply that \(\alpha\) is actually a density matrix on \(\mathcal{H}_\text{env}\). It is useful to restate this criterion in a different form. We introduce a reference system with a Hilbert space \(\mathcal{H}_\text{ref}\) isomorphic to the code Hilbert space and construct the state \[\begin{aligned}
|\Psi'\rangle &\equiv& \frac{1}{\sqrt{d}}\sum_{i}|i\rangle_{\text{ref}}\otimes U_\mathcal{E}(|\Psi_i\rangle_{\text{phys}}\otimes |e_0\rangle_{\text{env}}) \nonumber\\ &\equiv& \frac{1}{\sqrt{d}}\sum_{i,m}|i\rangle_{\text{ref}}\otimes (E_m|\Psi_i\rangle_{\text{phys}})\otimes |e_m\rangle_{\text{env}} \,, \end{aligned}\] where \(|\Psi_i\rangle_\text{phys}=V|i\rangle_{\text{code}}\) are the basis states of the code subspace of the physical Hilbert space. The state \(\ket{\Psi'}\) can be thought of as the action of the error channel on a state that is maximally entangled between the code subspace and an auxiliary reference system, and is engineered so that its entanglement properties are related to the validity of [\[KLcond0\]](#KLcond0){reference-type="eqref" reference="KLcond0"}. Specifically, the error \(\mathcal{E}\) is correctable if and only if the reduced state of \(\ket{\Psi'}\) on \(\mathcal{H}_\text{ref} \otimes \mathcal{H}_\text{env}\) factorizes as \[\rho'_{\text{ref},\text{env}} = \rho'_{\text{ref}}\otimes \rho'_{\text{env}},\] where the reduced density matrices above are defined as \(\rho'_{\text{ref},\text{env}} = \Tr_\text{phys} \ket{\Psi'}\bra{\Psi'}\) and so on. This is called the *decoupling principle*. We can diagnose decoupling by computing the mutual information: \[I_{\Psi'}(\text{ref}:\text{env}) \equiv S_{\Psi'}(\text{ref})+S_{\Psi'}(\text{env})-S_{\Psi'}(\text{ref}\cup \text{env}),\] where each term on right hand side is the entropy of the reduced density matrix on the indicated factor. This mutual information vanishes if and only if the decoupling principle holds. The decoupling principle also generalizes to approximate quantum error correction. For instance, we will often be interested in cases where the above mutual information is not strictly zero, but small (i.e., exponentially small in the black hole entropy). In such a situation, the mutual information gives a bound on the decoupling: \[||\rho'_{\text{ref},\text{env}}-\rho'_{\text{ref}}\otimes \rho'_{\text{env}}||_1 \leq \sqrt{2 I_{\Psi'}(\text{ref}:\text{env})},\] where \(||A ||_1 = \mathrm{Tr}\,\sqrt{A^{\dagger}A}\) is the trace norm. This in turn implies that the error channel is approximately correctable, i.e., there exists a recovery channel \(\mathcal{R}\) such that \[\max_{\rho}||\mathcal{R}(\mathcal{E}(\rho))-\rho||_1 \leq \epsilon,\;\;\;\epsilon = \left(\frac{1}{2}I_{\Psi'}(\text{ref}:\text{env})\right)^{1/4}, \label{eq:mutual-bound}\] where the maximization is over all states supported on the code subspace. Using the decoupling principle, we can derive a simple bound on the number of maximal errors, i.e., erasures, a code can tolerate while remaining correctable. Let \(t-1\) be the maximum number of qubits in the physical Hilbert space on which we can tolerate errors. Let \(d\) be the dimension of the code space and let \(2^{\mathcal{S}}\) be the dimension of the physical Hilbert space. Partition the physical Hilbert space into three subsets: \(Q_1\) and \(Q_2\) with \((t-1)\) qubits each and \(Q_3\) with the remaining \((\mathcal{S}-2t+2)\) qubits. Now consider the state \[|\chi\rangle = \frac{1}{\sqrt{d}}\sum_i |i\rangle_{\text{ref}}\otimes |\Psi_i\rangle_{\text{phys}}.\] Since both \(Q_1\) and \(Q_2\) have less than \(t\) qubits each, we can, by definition, tolerate errors on these subsystems. For instance, we could bring in \((t-1)\) environment qubits and swap the state on \(Q_1\) or \(Q_2\) with the environment. For such operations to be correctable, by the decoupling principle there must be no correlations after the swap between the environment and the reference. This in turn means that the initial state cannot have correlations between the qubits in \(Q_1\) and the reference, and similarly for \(Q_2\). Using this fact, we get \[S(\text{ref}) + S(Q_1) = S(\text{ref},Q_1) = S(Q_2Q_3) \leq S(Q_2) + S(Q_3),\] \[S(\text{ref}) + S(Q_2) = S(\text{ref},Q_2) = S(Q_1Q_3) \leq S(Q_1) + S(Q_3),\] where all the entropies refer to the state \(|\chi\rangle\), and we have used the subadditivity of entropy in the last step of each inequality. The second equality follows because the entropy of a subsystem of a pure state equals the entropy of its complement. Adding these inequalities gives \[S(\text{ref})\leq S(Q_3)\;\;\;\Rightarrow 2(t-1) \leq (\mathcal{S}-\log_2d). \label{eq:singleton-bound}\] where we used the fact that the reference state is maximally entangled with the code subspace and so \(S(\text{ref}) = \log_2{d}\) while the \(S(Q_3)\) is bounded from above by the number of qubits in \(Q_3\), namely \((\mathcal{S}-2t+2)\). This last inequality is known as the *quantum Singleton bound.* **Subsystem QEC condition**: We will be interested in a setting where the code subspace has a natural tensor factorization \(\mathcal{H}_{\text{code}}=\mathcal{H}_a\otimes \mathcal{H}_{a'}\). In the black hole case this will correspond to factorization of some subset of the bulk quantum field theory degrees of freedom between the interior and the exterior of the black hole. With this additional structure, we can define a more general version of error correction, which, following, we will refer to as "subsystem quantum error correction". We say that the state on \(\mathcal{H}_{a}\) is recoverable under the error \(\mathcal{E}\) if, for any density matrix \(\rho\) supported on \(\mathcal{H}_{a}\) and any density matrix \(\sigma\) supported on \(\mathcal{H}_{a'}\), there exists a recovery channel \(\mathcal{R}\) such that \[\mathcal{R}(\mathcal{E}(\rho \otimes \sigma)) = \rho \otimes \sigma',\] for some density matrix \(\sigma'\) on \(\mathcal{H}_{a'}\). We again have in mind that the density matrix on the left hand side has been encoded in \(\mathcal{H}_\text{phys}\) by the map \(V\) before the action of \(\mathcal{E}\). In analogy with equation [\[KLcond0\]](#KLcond0){reference-type="eqref" reference="KLcond0"} the channel \(\mathcal{E}\) is correctable on \(\mathcal{H}_a\) if and only if \[\label{KLcond1} P_{\text{code}} E_m^{\dagger}E_n P_{\text{code}} = \mathbb{1}^{(a)}\otimes B^{(a')}_{mn},\] where \(P_{\text{code}}\) is the projector onto the code subspace, and \(B_{mn}\) are some operators with support only on \(\mathcal{H}_{a'}\) . Following, it is useful to restate this criterion in the form of a decoupling principle. In order to do this, we once again need to introduce a reference system. Let us in fact introduce two reference systems \(\mathfrak{R}_a\) and \(\mathfrak{R}_{a'}\) which have the same dimensions as \(\mathcal{H}_{a}\) and \(\mathcal{H}_{a'}\) respectively. For any basis state \(|i, i'\rangle_{\text{code}} \equiv |i\rangle_a \otimes |i'\rangle_{a'}\), let \(|\Psi_{i,i'}\rangle_{\text{phys}}\) be the image of \(\ket{i,i'}_\text{code}\) in \(\mathcal{H}_{\text{phys}}\) under the encoding map \(V\): \[V|i,i'\rangle_{\text{code}} = |\Psi_{i,i'}\rangle_{\text{phys}}.\] We now introduce a basis for the reference system \(\ket{i,i'}_\text{ref} = \ket{i}_{\mathfrak{R}_a} \otimes \ket{i'}_{\mathfrak{R}_{a'}}\), and an environment \(\mathcal{H}_{\text{env}}\) supporting isometric extension of the quantum channel \(\mathcal{E}\). In terms of these quantities we define \[\begin{aligned}
\label{psi'} \ket{\Psi'} & \equiv \frac{1}{\sqrt{d}}\sum_{i,i'} \ket{i,i'}_\text{ref} \otimes U_{\mathcal{E}} (\ket{\Psi_{i,i'}}_\text{phys} \otimes \ket{e_0}_\text{env} ) \\ & = \frac{1}{\sqrt{d}} \sum_{i,i',m} \ket{i,i'}_\text{ref} \otimes E_m \ket{\Psi_{i,i'}}_\text{phys} \otimes \ket{e_m}_\text{env}. \end{aligned}\] We are now in a position to restate the condition for subsystem quantum error correction: an error \(\mathcal{E}\) is correctable on \(\mathcal{H}_a\) if and only if the reduced state \(\rho'\) corresponding to \(|\Psi'\rangle\) on the subsystem \(\mathcal{H}_\text{ref} \otimes \mathcal{H}_\text{env}\) factorizes as \[\rho'_{\mathfrak{R}_a,\mathfrak{R}_{a'},\text{env}} = \rho'_{\mathfrak{R}_a} \otimes \rho'_{\mathfrak{R}_{a'},\, \text{env}} \,.\] Equivalently, \[\label{SQEC} I_{\Psi'}(\mathfrak{R}_a: \mathfrak{R}_{a'}\cup \text{env}) \equiv S_{\Psi'}(\mathfrak{R}_a) + S_{\Psi'}(\mathfrak{R}_{a'}\cup \text{env})-S_{\Psi'}(\mathfrak{R}_a \cup \mathfrak{R}_{a'} \cup\text{env}) = 0.\] It is particularly useful to restate the QEC conditions in the form of a vanishing mutual information because it distills down the criterion to the computation of specific entanglement entropies. In AdS/CFT, the gravitational path integral can compute entanglement entropies via the replica trick. Thus, we can hope to get a handle on the error correction properties of subsystems in gravity by studying the above mutual information via the gravitational path integral. Indeed, for the black hole interior, the only way we can currently access the bulk-to-boundary encoding map \(V\) is indirectly via the Euclidean path integral. In Sec. [3](#sec:qec-pssy){reference-type="ref" reference="sec:qec-pssy"}, our primary goal is to compute this mutual information with \(\mathfrak{R}_a\) and \(\mathfrak{R}_{a'}\) being the reference systems for the interior and exterior code subspaces on an evaporating black hole background after the Page time.
## PSSY model
In this section, we review a toy model for an evaporating black hole that was constructed by Penington, Shenker, Stanford and Yang (PSSY). We will use this model below. Consider an evaporating black hole in Jackiw-Teitelboim (JT) gravity with an end of the world (EOW) brane deep inside the black hole capping off the geometry, plus some propagating bulk degrees of freedom which constitute the code subspace. The Euclidean action is given by: \[I=I_{\mathrm{JT}}+\mu \int_{\text {brane }} \mathrm{d} s + I_{\text{field theory}},\] where \(I_{\text{field theory}}\) is a bulk effective field theory action and the JT gravity action is \[I_{\mathrm{JT}}=-\frac{S_{0}}{2 \pi}\left[\frac{1}{2} \int_{\mathcal{M}} \sqrt{g} R+\int_{\partial \mathcal{M}} \sqrt{h} K\right]-\left[\frac{1}{2} \int_{\mathcal{M}} \sqrt{g} \phi(R+2)+\int_{\partial \mathcal{M}} \sqrt{h} \phi (K-1)\right], \label{eq:jt-action}\] with the boundary conditions: \[\left.\mathrm{d} s^{2}\right|_{\partial \mathcal{M}}=\frac{1}{\epsilon^{2}} \mathrm{~d} \tau^{2}, \quad \left.\phi\right|_{\partial\mathcal{M}}=\frac{1}{\epsilon}, \quad \epsilon \rightarrow 0.\] The boundary condition on the the EOW brane is given by \[\partial_{n} \phi=\mu\geq 0, \quad K=0.\] Here \(S_0\) can be thought of as the entropy of the higher-dimensional extremal black hole for which the JT theory is the two-dimensional reduction, or it can be thought of as the ground state entropy of the JT system. The EOW brane hosts semi-classical, intrinsic degrees of freedom, which we label by Greek letters, \(\alpha,\beta\) etc., running from 1 to \(k\). These intrinsic EOW brane states are taken to be orthogonal in the bulk semi-classical description i.e., these indices along the brane are contracted with the propagator \(\delta_{\alpha\beta}\). We think of these states as arising from some sort of theory living on the brane, or alternatively as a flavor index for the brane which must be conserved along the worldline to ensure orthogonality. The JT gravity black hole describes the semi-classical bulk dual to an excited state in a holographic quantum mechanical system, which we label \(B\). More precisely, JT gravity describes an ensemble average over the Hamiltonian of the dual quantum mechanical system \(B\); in this context, the EOW brane states correspond to effectively random superpositions of energy eigenstates,[^4] with the coefficients chosen from a Gaussian ensemble with zero mean and unit variance. In order to model an evaporating scenario, we entangle this system (\(B\)) with a quantum mechanical radiation system (\(R\)): \[\label{eq: global states} \left|\Psi_i\right\rangle= \frac{1}{\sqrt{k}} \sum_{\alpha=1}^{k}\left|\psi^\alpha_i\right\rangle_B \otimes |\alpha \rangle_R,\] where \(\left|\psi^\alpha_i\right\rangle_B\) is a state in the quantum system \(B\) whose semi-classical bulk dual consists of the black hole, including an EOW brane with its intrinsic degrees of freedom in the state \(\alpha\), and the bulk code subspace fields in the code basis state \(i\) (\(i=1...,d\)). Note that the entanglement is mediated by the EOW brane degrees of freedom, and not by the code subspace states. We will choose the code subspace to consist of simple, qubit-like excitations in the effective field theory, as will be explained below. The strategy is to treat this one-parameter family (labelled by \(k\)) of entangled states as snapshots of an AdS black hole evaporating into a reservoir/bath, with \(k\) playing the role of time. More accurately, rather than considering an evaporating black hole *per se*, we maximally entangle a black hole with a fixed number of degrees of freedom with an ever larger number of radiation states and study the consequences. It was shown in that as the parameter \(k\) becomes large, there is a phase transition in the entanglement entropy \(S(R)\) at \(k \sim e^{S_0}\), where \(S_0\) is the extremal black hole entropy. The phase transition cuts off the naive growth of entropy and realizes the expected Page curve. The mechanism by which this happens in the replica trick computation of entropy involves the appearance of a new gravitational saddle, i.e., the replica wormhole, which makes the dominant contribution past the Page point.
# Quantum error correction behind the horizon {#sec:qec-pssy}
We now come to the first main goal of this paper, which is to apply equation [\[SQEC\]](#SQEC){reference-type="eqref" reference="SQEC"} to the black hole interior in the PSSY toy model for an evaporating black hole. Following PSSY, we consider a black hole entangled with radiation *past* the Page time: \[|\Psi\rangle = \frac{1}{\sqrt{k}}\sum_{\alpha=1}^k |\psi^{\alpha}\rangle_B\otimes |\alpha\rangle_R,\;\;\;\cdots \;\;\;(k \gg e^{S_0})\] The physical Hilbert space is \(\mathcal{H}_{\text{phys}} = \mathcal{H}_{B}\otimes \mathcal{H}_R\), where \(B\) is the microscopic quantum mechanical system describing the black hole, and \(R\) is the Hilbert space of the radiation bath which absorbs the Hawking radiation. Loosely speaking, our code subspace will be the Hilbert space of bulk quantum field theory excitations on the black hole background, but we will specify it more precisely below. We will take this Hilbert space to factorize as \[\mathcal{H}_{\text{code}} = \mathcal{H}_{\text{int}}\otimes \mathcal{H}_{\text{ext}}, \label{eq:code-space-grav}\] i.e., it is a tensor product of the degrees of freedom in the black hole interior times degrees of freedom in the black hole exterior. Let \(\{|i\rangle_\text{int} \}\) be an orthonormal basis spanning the interior Hilbert space \(\mathcal{H}_{\text{int}}\) and let \(\{|i'\rangle_\text{ext} \}\) be an orthonormal basis spanning the exterior Hilbert space \(\mathcal{H}_{\text{ext}}\). As before, there is a basis for \(\mathcal{H}_\text{code}\) given by \(\ket{i,i'}_\text{code} = \ket{i}_\text{int} \otimes \ket{i'}_\text{ext}\). We view this system as a quantum error correcting code: \[V: \mathcal{H}_{\text{int}}\otimes \mathcal{H}_{\text{ext}} \to \mathcal{H}_{\text{phys}}.\] Corresponding to a basis state \(|i,i'\rangle_\text{code} \in \mathcal{H}_{\text{code}}\), we have an image under the encoding in the physical Hilbert space: \[|\Psi_{i,i'}\rangle_{\text{phys}} = V |i,i'\rangle_{\text{code}}\] given by \[|\Psi_{i,i'}\rangle_\text{phys} =\frac{1}{\sqrt{k}}\sum_{\alpha=1}^k |\psi^{\alpha}_{i,i'}\rangle_B\otimes |\alpha\rangle_R,\] where \(|\psi^{\alpha}_{i,i'}\rangle_B\) is a state in the Hilbert space of the CFT dual to the black hole whose corresponding bulk geometry has an EOW brane in the internal state \(\alpha\) and bulk quantum fields in the state \(|i,i'\rangle_{\text{code}}\). Thus, the encoding map leads to a representation of the code state as an excitation around a particular evaporating black hole (entangled with the radiation bath), which has a universal coarse description as a gravitating geometry, and a dual microscopic CFT representation. Past the Page time, the quantum extremal surface for the radiation bath lies at the bifurcation point in the black hole geometry, so that by the general entanglement wedge reconstruction paradigm, we expect the factor of the code subspace associated to the interior of the black hole to be encoded within the radiation Hilbert space. Formally, the state \(|\psi^{\alpha}_{i,i'}\rangle_B\) can be constructed in the boundary CFT via a Euclidean path integral with sources turned on, corresponding to asymptotic boundary conditions for the bulk quantum fields (Fig. [\[fig:state\]](#fig:state){reference-type="ref" reference="fig:state"}). In Sec. [3.2](#sec:non-iso){reference-type="ref" reference="sec:non-iso"}, we will show that this holographic encoding map is only an isometry up to non-perturbatively small \(O(d e^{-S_0})\) corrections. Therefore, we can use the error-correcting code theorems discussed in Sec. [2.1](#sec:QECreview){reference-type="ref" reference="sec:QECreview"} (which strictly speaking assume isometric encoding), so long as we are considering a sufficiently small code subspace with \(d \ll e^{S_0}\). Another subtlety involves our assumption of a factorized code subspace in ([\[eq:code-space-grav\]](#eq:code-space-grav){reference-type="ref" reference="eq:code-space-grav"}). In the path integral construction of the encoding map, smooth sources producing finite energy densities will not result in states that are products between \(\mathcal{H}_{\text{int}}\) and \(\mathcal{H}_{\text{ext}}\). Conversely, a state for bulk quantum fields that is a product between the interior and exterior will generically have large energy density near the horizon. However, we are interested in an effective field theory around the black hole background, which therefore comes equipped with a UV cutoff (much smaller than Planck scale). The Hilbert space thus does include product states between the interior and exterior, provided the excitations are separated by distances much larger than the UV cutoff scale. For instance, we could imagine constructing a qubit degree of freedom in the interior and another qubit degree of freedom in the exterior, from sufficiently localized, low-energy operators in the effective field theory, well-separated from the horizon. Our analysis is performed in this setting. By turning on various Euclidean sources on the asymptotic boundary, we can at least formally construct such states \(|\psi^{\alpha}_{i,i'}\rangle_B\) corresponding to low energy bulk modes of the effective field theory in product states \(|i,i'\rangle_{\text{code}}\). We will ignore \(O(G_N)\) back-reaction corrections to the geometry and the state of bulk matter fields in the code subspace. As mentioned before, past the Page time, the black hole interior is in the entanglement wedge of the radiation/bath. We will ask what type of quantum operations acting on the bath Hilbert space \(\mathcal{H}_R\) are correctable on the code subspace in the black hole interior. By correctable, we mean that we should be able to recover the reduced density matrix of bulk modes in the interior of the black hole (i.e., with support on \(\mathcal{H}_{\text{int}}\)) after the action of such errors.
## Coherent information criterion
The question we wish to address fits perfectly within the formalism of subsystem quantum error correction explained in the previous section. Following that logic, we model the error as a quantum channel \(\mathcal{E}=\{E_m\}\) which acts on the physical Hilbert space \(\mathcal{H}_{B}\otimes \mathcal{H}_{R}\). More precisely, we will only consider errors which act on the radiation bath Hilbert space \(\mathcal{H}_R\), leaving \(\mathcal{H}_B\) untouched. Next, we introduce two reference systems \(\mathfrak{R}_i\) and \(\mathfrak{R}_e\) which have the same dimensions as \(\mathcal{H}_{\text{int}}\) and \(\mathcal{H}_{\text{ext}}\) respectively. Recall that \(\mathcal{H}_\text{int}\) and \(\mathcal{H}_\text{ext}\) are the two factors of \(\mathcal{H}_\text{code}\). Now define the state \[|\Psi'\rangle = \sum_{i,i',m} \ket{i,i'}_\text{ref} \otimes E_m|\Psi_{i,i'}\rangle_{\text{phys}} \otimes \ket{e_m}_\text{env}\] where, following the discussion in Sec. [2.1](#sec:QECreview){reference-type="ref" reference="sec:QECreview"}, we have introduced another factor \(\mathcal{H}_\text{env}\) corresponding to an auxiliary environment, and the reference space is \(\mathcal{H}_\text{ref} = \mathcal{H}_{\mathfrak{R}_i} \otimes \mathcal{H}_{\mathfrak{R}_e}\). In order to determine whether the reduced density matrix of bulk quantum fields in the black hole interior is correctable under the action of \(\mathcal{E}\), we are instructed to compute the mutual information: \[I_{\Psi'}(\mathfrak{R}_i: \mathfrak{R}_e\cup \text{env}) \equiv S_{\Psi'}(\mathfrak{R}_i) + S_{\Psi'}(\mathfrak{R}_e\cup \text{env})-S_{\Psi'}(\mathfrak{R}_i \cup \mathfrak{R}_e \cup\text{env}). \label{eq:mutualinfo}\] The error is correctable if and only if \(I_{\Psi'}(\mathfrak{R}_i: \mathfrak{R}_e\cup \text{env}) = 0\), i.e., the corresponding density matrix factorizes as \[\rho'_{\mathfrak{R}_i,\mathfrak{R}_{e},\text{env}} = \rho'_{\mathfrak{R}_i} \otimes \rho'_{\mathfrak{R}_{e},\text{env}}.\] For gravity computations, it is often more convenient to consider the Rényi version of the above mutual information: \[I^{(n)}_{\Psi'}(\mathfrak{R}_i: \mathfrak{R}_e\cup \text{env}) \equiv S^{(n)}_{\Psi'}(\mathfrak{R}_i) + S^{(n)}_{\Psi'}(\mathfrak{R}_e\cup \text{env})-S^{(n)}_{\Psi'}(\mathfrak{R}_i \cup \mathfrak{R}_e \cup\text{env}). \label{eq:renyimutualinformation}\] More precisely, instead of computing the von Neumann entropies \(S_{vN}=-\mathrm{Tr}\,\rho \log \rho\), we compute the Rényi entropy \(S^{(n)} = \frac{1}{1-n}\log\,\mathrm{Tr}\,\rho^n\) for integer values of \(n\). The von Neumann entropies can then be obtained by analytically continuing the Rényi entropies in \(n\) and taking the limit \(n\to 1^+\). So, our goal now is to compute the above Rényi mutual information. In order to compute the Rényi mutual information, we first compute the reduced density matrix on \(\mathfrak{R}_i \cup \mathfrak{R}_e \cup \text{env}\) by tracing out the physical Hilbert space: \[\label{redDM} \rho'_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}} = \frac{1}{k\mathcal{N}} \sum_{i,i',j,j',m,n}|i,i',e_m\rangle\langle j,j',e_n|_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}}\sum_{\alpha,\beta}\langle \psi^{\alpha}_{j,j'}|\psi^{\beta}_{i,i'}\rangle_B \langle \alpha| E_n^{\dagger}E_m | \beta\rangle_{R},\] where \(\mathcal{N}\) is a normalization constant. To determine the normalization constant, we take the trace of the above expression. Using equation [\[trC\]](#trC){reference-type="eqref" reference="trC"}, we get \[\mathrm{Tr}\,\rho'_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}} = \frac{1}{k\mathcal{N}} \sum_{i,i'}\sum_{\alpha}\langle \psi^{\alpha}_{i,i'}|\psi^{\alpha}_{i,i'}\rangle_B \label{eq:normalization-defn}\] where \(i\) and \(i'\) are indices in the code space and \(\alpha\) is an index of the EOW brane state. Using the gravity description in the semi-classical limit, the overlap is computed by the geometry depicted in Fig. [\[fig:BH\]](#fig:BH){reference-type="ref" reference="fig:BH"}. This geometry is filling in a boundary condition which consists of two copies of Fig. [\[fig:state\]](#fig:state){reference-type="ref" reference="fig:state"} that are glued together to produce the overlap \[\langle \psi^{\alpha}_{i,i'}|\psi^{\alpha}_{i,i'}\rangle_B= e^{S_0}Z_1 \langle i,i'|i,i'\rangle_{\text{code}}= e^{S_0}Z_1,\] where \(Z_1\) is the exponential of the on-shell gravitational action ([\[eq:jt-action\]](#eq:jt-action){reference-type="ref" reference="eq:jt-action"}) (or beyond the semi-classical approximation, the JT gravity path integral) on a disc capped off by an EOW brane, along with the non-code-subspace bulk field theory modes in their Hartle-Hawking vacuum state. We explicitly pulled out the factor of \(e^{S_0}\) coming from the first term in the JT action. Since we are ignoring the back-reaction from the effective field theory, so on the disc it simply gives the path integral overlap \(\langle i, i' | i,i'\rangle_\text{code}\). Then, enforcing \(\Tr \rho'_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}} = 1\) determines the normalization factor \[\mathcal{N} = d_{i}d_ee^{S_0}Z_1, \label{eq:norm-density-matrix}\] where \(d_i\) and \(d_e\) are the dimensions of the interior and exterior factors in the code subspace respectively. We will continue to make these contributions of the code subspace portion of the effective field theory explicit, and absorb the remainder of the bulk field theory modes into partition functions like \(Z_1\). Let us now evaluate \(S^{(n)}_{\Psi'}(\mathfrak{R}_i \cup \mathfrak{R}_e \cup \text{env})\). From equation [\[redDM\]](#redDM){reference-type="eqref" reference="redDM"}, we first obtain \[\begin{aligned}
\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}} &=& \frac{1}{k^n\mathcal{N}^n} \sum_{i_1,\cdots,i_n}\sum_{i_1',\cdots,i'_n}\sum_{\alpha_1\cdots,\alpha_n}\sum_{\beta_1,\cdots,\beta_n}\sum_{m_1,\cdots, m_n}\langle \psi^{\alpha_1}_{i_2,i_2'}|\psi^{\beta_1}_{i_1,i_1'}\rangle_B \cdots \langle \psi^{\alpha_n}_{i_1,i_1'}|\psi^{\beta_n}_{i_{n},i_{n}'}\rangle_B\nonumber\\ &\times & \langle \alpha_1| E_{m_2}^{\dagger}E_{m_1}|\beta_1\rangle_R\cdots \langle\alpha_n| E_{m_1}^{\dagger}E_{m_n}|\beta_n\rangle_R. \end{aligned}\] Here \(i\) and \(i'\) are indices in the code subspace, \(\alpha\) and \(\beta\) are EOW brane indices, and the \(m\) indices label Kraus operators. Notice that the reference space and auxiliary environment have disappeared here because we are taking the trace on them. It is convenient to group together all the factors pertaining to the channel \(\mathcal{E}\) and the corresponding sums over the environment indices to define a tensor which we will call \(f\): \[f_{\alpha_1,\beta_1,\cdots \alpha_n,\beta_n} \equiv \sum_{m_1,\cdots, m_n}\langle \alpha_1| E_{m_2}^{\dagger}E_{m_1}|\beta_1\rangle_R\cdots \langle\alpha_n| E_{m_1}^{\dagger}E_{m_n}|\beta_n\rangle_R.\] We can re-express the \(f\)-tensor in terms of the isometric extension of \(\mathcal{E}\) as \[\begin{split} f_{\alpha_1,\beta_1,\cdots \alpha_n,\beta_n} & = \sum_{m_1,\cdots, m_n}\sum_{\gamma_1,\cdots, \gamma_n}\langle \alpha_1,e_0|U_\mathcal{E}^{\dagger}| \gamma_1,e_{m_2}\rangle_{R,\text{env}} \langle \gamma_1,e_{m_1}|U_\mathcal{E} |\beta_1,e_0\rangle_{R,\text{env}} \cdots \\ & \quad \times \langle \alpha_n,e_0|U_\mathcal{E}^{\dagger}| \gamma_n, e_{m_1}\rangle_{R,\text{env}} \langle \gamma_n, e_{m_n}|U_\mathcal{E} |\beta_n,e_0\rangle_{R,\text{env}} , \end{split} \label{eq:f-tensor}\] where in the second sum we have also inserted complete sets of radiation states \(\sum_\gamma \ket{\gamma}\bra{\gamma}_R = \mathbb{1}_R\). In terms of the \(f\)-tensor defined above, we have \[\label{tr1} \mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}} = \frac{1}{k^n\mathcal{N}^n} \sum_{i_1,\cdots,i_n}\sum_{i_1',\cdots,i'_n}\sum_{\alpha_1\cdots,\alpha_n}\sum_{\beta_1,\cdots,\beta_n}\langle \psi^{\alpha_1}_{i_2,i_2'}|\psi^{\beta_1}_{i_1,i_1'}\rangle_B \cdots \langle \psi^{\alpha_n}_{i_1,i_1'}|\psi^{\beta_n}_{i_{n},i_{n}'}\rangle_B\,f_{\alpha_1,\beta_1,\cdots,\alpha_n,\beta_n}.\] Using the isometric extension, the \(f\)-tensor can be conveniently visualized in terms of a tensor network, as shown in Fig. [\[fig:f\]](#fig:f){reference-type="ref" reference="fig:f"}. Similarly, we get \[\label{tr2} \mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_e,\text{env}} = \frac{1}{k^n\mathcal{N}^n} \sum_{i_1,\cdots,i_n}\sum_{i_1',\cdots,i'_n}\sum_{\alpha_1\cdots,\alpha_n}\sum_{\beta_1,\cdots,\beta_n}\langle \psi^{\alpha_1}_{i_1,i_2'}|\psi^{\beta_1}_{i_1,i_1'}\rangle_B \cdots \langle \psi^{\alpha_n}_{i_n,i_1'}|\psi^{\beta_n}_{i_{n},i_{n}'}\rangle_B\,f_{\alpha_1,\beta_1,\cdots,\alpha_n,\beta_n}.\] Finally, \[\label{tr3} \mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i} = \frac{1}{k^n\mathcal{N}^n} \sum_{i_1,\cdots, i_n}\sum_{i_1',\cdots,i_n'}\sum_{\alpha_1,\cdots, \alpha_n}\langle \psi^{\alpha_1}_{i_2,i_1'}|\psi^{\alpha_1}_{i_1,i_1'}\rangle_B\cdots \langle\psi^{\alpha_n}_{i_1,i_n'}|\psi^{\alpha_n}_{i_n,i_n'}\rangle_B.\] The coefficients in these various expressions involving products of overlaps of the black hole states can be computed using the standard rules of JT gravity. More precisely, JT gravity plus EOW branes computes an *ensemble average* of microscopic theories, but the error correction theorems we developed in Sec. [2.1](#sec:QECreview){reference-type="ref" reference="sec:QECreview"}, refer to single theories, not an ensemble. We can nevertheless use the JT gravity approach because, in the limit of large \(k\) and \(S_0\), the ensemble average is a good approximation to the typical answer since the variance is suppressed in \(k\) and \(e^{-S_0}\). We must carefully to account for the various different bulk geometries which can fill in the fixed asymptotic boundary conditions. Below, we will first consider the two most important geometries, namely the fully disconnected geometry and the fully connected one; both of these preserve the \(\mathbb{Z}_n\) symmetry of the asymptotic boundary conditions. We will also argue later that at least for erasure errors, the \(\mathbb{Z}_n\)-breaking bulk geometries do not dominate, at least far from the phase transition between the two \(\mathbb{Z}_n\)-symmetric solutions. However, we do not have a general proof for all errors.
## An assumption about \(\mathcal{E}\) {#an-assumption-about-mathcale .unnumbered}
In the computations that follow, we will assume the error operation \(\mathcal{E}\) does not have prior access to black hole microstates, or more precisely, the \(f\)-tensor structure, which contains all the details of the quantum channel \(\mathcal{E}\), has no additional black hole microstate overlaps in it. Thus, we will only have to evaluate the products of gravitational overlaps \(\langle \psi^{\alpha}_{i,i'}|\psi^{\beta}_{j,j'}\rangle_B\) that are explicitly written in equations [\[tr1\]](#tr1){reference-type="eqref" reference="tr1"}, [\[tr2\]](#tr2){reference-type="eqref" reference="tr2"} and [\[tr3\]](#tr3){reference-type="eqref" reference="tr3"} using JT gravity. If the assumption were not true, then the evaluation of the \(f\)-tensor would contain additional gravitational path integrals, and we would have to account for additional geometries in JT gravity which potentially connect between the overlaps appearing explicitly in ([\[tr1\]](#tr1){reference-type="ref" reference="tr1"},[\[tr2\]](#tr2){reference-type="ref" reference="tr2"},[\[tr3\]](#tr3){reference-type="ref" reference="tr3"}) and those contained inside the \(f\)-tensor structure. A simple example of this situation would be if the Stinespring dilation of the channel \(\mathcal{E}\) couples an external environment qubit to the Petz operator reconstruction on the bath of a bulk operator in the black hole interior. Since the Petz operator is constructed with knowledge of black hole microstates (or more precisely, with knowledge of the encoding map \(V\)), this channel would violate our assumption.[^5] Furthermore, we expect such channels to also be exponentially complex in the sense of circuit complexity. Indeed, conjectured that the density matrix on the bath Hilbert space is *pseudorandom*, i.e., it cannot be reliably distinguished from the maximally mixed state on the bath with polynomial complexity operations. It would be interesting to better understand the interplay between this pseudorandom assumption and our assumption about the absence of microstate overlaps in \(\mathcal{E}\).
## Fully disconnected geometry {#fully-disconnected-geometry .unnumbered}
We now turn to the evaluation of the various entropies in JT gravity. To begin we consider the fully disconnected contribution where each of the gravitational overlaps in ([\[tr1\]](#tr1){reference-type="ref" reference="tr1"}), ([\[tr2\]](#tr2){reference-type="ref" reference="tr2"}) and ([\[tr3\]](#tr3){reference-type="ref" reference="tr3"}) is evaluated by a separate bulk geometry. In this case, we can simply use the formula \[\langle \psi^{\alpha}_{i,i'}|\psi^{\beta}_{j,j'}\rangle_B= e^{S_0}Z_1 \delta_{\alpha\beta} \delta_{ij}\delta_{i'j'}. \label{eq:DiscOverlap}\] This is derived in an identical fashion to the calculation of the norm \(\mathcal{N}\) in Fig. [\[fig:BH\]](#fig:BH){reference-type="ref" reference="fig:BH"}, but with the more general code subspace overlap \(\inner{i,i'}{j,j'}_\text{code} = \delta_{ij}\delta_{i'j'}\) and EOW brane index matching yielding \(\delta_{\alpha\beta}\). The resulting computation is diagrammed in Figs. [\[fig:discode1\]](#fig:discode1){reference-type="ref" reference="fig:discode1"} and [\[fig:discode2\]](#fig:discode2){reference-type="ref" reference="fig:discode2"}, and gives \[\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}}\Big|_{\text{disconn.}} = d^{1-n}_id^{1-n}_e\;\mathrm{Tr}\,\sigma^n_{\text{env}}, \label{eq:disc-result1}\] \[\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_e,\text{env}}\Big|_{\text{disconn.}} = d^{1-n}_e\;\mathrm{Tr}\,\sigma^n_{\text{env}}, \label{eq:disc-result2}\] \[\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i}\Big|_{\text{disconn.}} = d^{1-n}_i, \label{eq:disc-result3}\] where we have defined \[\sigma_{\text{env}} = \mathrm{Tr}_{R} \left\{ U_\mathcal{E}\left(\frac{1}{k}\sum_{\alpha=1}^k |\alpha\rangle\langle\alpha|_R \otimes |e_0\rangle\langle e_0|_{\text{env}}\right) U_\mathcal{E}^{\dagger}\right\}. \label{eq:sigmaenv}\] For example, the code subspace dimension factors in the disconnected contribution to \(\Tr {\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}}\) are computed by observing in Fig. [\[fig:discode1\]](#fig:discode1){reference-type="ref" reference="fig:discode1"} that there is one green index loop yielding \(d_e\), one blue index loop yielding \(d_i\), and the normalization \(\mathcal{N}\) contributes \((d_id_e)^{-n}\). The \(\mathrm{Tr}\,\sigma^n_{\text{env}}\) contribution comes from the \(f\)-tensor with appropriate index contractions dictated by the EOW brane propagators (Kronecker deltas matching indices) in the geometry. The contribution to the Rényi mutual information coming from the fully disconnected geometry is given by taking the logarithm of [\[eq:disc-result1\]](#eq:disc-result1){reference-type="eqref" reference="eq:disc-result1"} and subtracting from it the logarithm of [\[eq:disc-result2\]](#eq:disc-result2){reference-type="eqref" reference="eq:disc-result2"} plus the logarithm of [\[eq:disc-result3\]](#eq:disc-result3){reference-type="eqref" reference="eq:disc-result3"}: \[I^{(n)}_{\Psi'}(\mathfrak{R}_i: \mathfrak{R}_e, \text{env})\Big|_{\text{disconn.}}=0. \label{eq:disconnMI}\] Thus, when the disconnected geometry dominates the gravity path integral, the encoding of the black hole interior is robust, i.e., error channels that act only on the bath \(\mathcal{H}_R\) do not affect the encoding of the black hole interior. Of course, the mutual information is not strictly zero, because of sub-leading in \(e^{-S_0}\) contributions. Nevertheless, the state on the black hole interior is at least approximately correctable, i.e., there exists a recovery channel \(\mathcal{R}\) such that \[\text{max}_{\rho}|| \mathcal{R}( \mathcal{E}(\rho))-\rho ||_1 \leq \epsilon,\;\;\;\epsilon \sim e^{-S_0/4},\] where the maximization is over all density matrices supported on the code subspace. This result follows from the error correction theorems we reviewed in Sec. [2.1](#sec:QECreview){reference-type="ref" reference="sec:QECreview"}, specifically [\[eq:mutual-bound\]](#eq:mutual-bound){reference-type="eqref" reference="eq:mutual-bound"}.
## Fully connected geometry {#fully-connected-geometry .unnumbered}
Let us now consider the fully connected contribution. This geometry is the analog of the replica wormhole saddle. By explicit computation, one can prove that this contribution never dominates in \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i}\), and the dominant contribution is always the disconnected geometry. However, in the other two cases--i.e., \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}}\) and \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_e,\text{env}}\)--the replica wormhole (Figs. [\[fig:conncode1\]](#fig:conncode1){reference-type="ref" reference="fig:conncode1"} and [\[fig:conncode2\]](#fig:conncode2){reference-type="ref" reference="fig:conncode2"}) can become dominant, as we will see below by explicit computation. In these cases, the gravitational path integral for general \(n\) result is not easy to compute. But because we are interested in taking the \(n\to 1^+\) limit we can use the procedure proposed by Lewkowycz and Maldacena: (1) assume that the relevant geometries that contribute are the replica symmetric ones, (2) compute the gravitational action of the \(\mathbb{Z}_n\) quotient of these geometries (Figs. [\[fig:conncode1\]](#fig:conncode1){reference-type="ref" reference="fig:conncode1"} and [\[fig:conncode2\]](#fig:conncode2){reference-type="ref" reference="fig:conncode2"}, as shown on the right in Fig. [\[fig:conncode1\]](#fig:conncode1){reference-type="ref" reference="fig:conncode1"}), and (3) analytically continue to \(n=1^+\). Applying this procedure in the \(n\to 1^+\) limit, the quotient geometry is (approximately) identical to a copy of a single Euclidean black hole, but with a conical singularity at the black hole bifurcation point, and in addition a twist operator insertion for the bulk fields which corresponds to a specific prescription for contracting the bulk code subspace indices, as shown in Figs. [\[fig:conncode1\]](#fig:conncode1){reference-type="ref" reference="fig:conncode1"} and [\[fig:conncode2\]](#fig:conncode2){reference-type="ref" reference="fig:conncode2"}. For example, the gravitational contribution for the connected phase of \(\Tr {\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}}\) is computed by evaluating Fig. [\[fig:conncode1\]](#fig:conncode1){reference-type="ref" reference="fig:conncode1"}, and this gives \[\frac{1}{k^n\mathcal{N}^n} \sum_{i_1,\dots, i_n} \sum_{i'_1,\dots, i'_n} \inner{\psi^{\alpha_1}_{i_2,i_2'}}{\psi^{\beta_1}_{i_1,i_1'}} \dots \inner{\psi^{\alpha_n}_{i_1,i_1'}}{\psi^{\beta_n}_{i_n,i_n'}} = e^{S_0(1-n)} \frac{Z_n}{k^nZ_1^n} d_e^{1-n} \delta_{\alpha_1\beta_2} \dots \delta_{\alpha_n\beta_1}, \label{eq:conn-EOW-structure}\] where \(Z_n\) is the exponential of the on-shell gravity action on the disk geometry with \(n\) EOW branes, times the bulk field theory path integral on this geometry. There is a similar formula for the gravitational contribution to the connected phase of \(\Tr {\rho'}^n_{\mathfrak{R}_e,\text{env}}\), with the only difference being that we get a factor of \(d_i^{1-n}d_e^{1-n}\) instead of \(d_e^{1-n}\) because of the different structure of the bulk code subspace excitation loops (blue and green loops in Figs. [\[fig:conncode1\]](#fig:conncode1){reference-type="ref" reference="fig:conncode1"} and [\[fig:conncode2\]](#fig:conncode2){reference-type="ref" reference="fig:conncode2"}). Putting everything together, we get \[\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}}\Big|_{\text{conn.}} \sim e^{(1-n)[S_0+\frac{2\pi}{\beta}\phi_0+s_{\text{bulk}}]}d^{1-n}_e\;\mathrm{Tr}\,\sigma^n_{R}, \label{eq:re-env-conn1}\] \[\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_e,\text{env}}\Big|_{\text{conn}}\sim e^{(1-n)[S_0+\frac{2\pi}{\beta}\phi_0+s_{\text{bulk}}]}d^{1-n}_id^{1-n}_e\;\mathrm{Tr}\,\sigma^n_{R}, \label{eq:re-env-conn}\] where \(\phi_0\) is the value of the dilaton at the bifurcation point, and \(s_{\text{bulk}}\) is the bulk entropy for all the bulk modes in their Hartle-Hawking vacuum (i.e., those which are not excited in the code subspace). In the above formulas, we have used \(Z_n/(Z_1)^n\sim e^{(1-n)[S_0 + (2\pi/\beta) \phi_0 + s_{\text{bulk}}]}\) because we are working in the approximation that \((n-1)\) is small and positive, where the left hand side can be evaluated semi-classically using the Lewkowycz-Maldecena method. The factors of \(S_0\) and \(\phi_0\) come from JT gravity, while the \(s_{\text{bulk}}\) comes from the bulk field theory. The density matrix \(\sigma_R\) is defined as \[\sigma_{R} = \mathrm{Tr}_{\text{env}} \left\{ U_\mathcal{E}\left(\frac{1}{k}\sum_{\alpha=1}^k |\alpha\rangle\langle\alpha|_R \otimes |e_0\rangle\langle e_0|_{\text{env}}\right) U_\mathcal{E}^{\dagger}\right\} = \mathcal{E} \left( \frac{1}{k}\mathbb{1}_R \right). \label{eq:sigmaR}\] The second equation follows because, upon tracing out the environment factor from the action of the Stinespring dilation, we obtain the action of the channel \(\mathcal{E}\). The particular state upon which the channel acts is the maximally mixed radiation state, i.e., the "semi-classical state" on the radiation. As before, this \(\mathrm{Tr}\,\sigma^n_{R}\) contribution comes from the \(f\)-tensor with appropriate index contractions dictated by the EOW brane propagators in the connected geometry. Notice that here the reduced state \(\sigma_R\) has appeared, whereas in the disconnected geometry it was \(\sigma_\text{env}\). This difference has to do with the manner in which the EOW brane indices are contracted, and is demonstrated by explicit calculation. We can take logarithms of the above formulae to show that when the fully connected geometry dominates in the Rényi entropies we get a non-trivial mutual information \[I_{\Psi'}(\mathfrak{R}_i: \mathfrak{R}_e, \text{env})\Big|_{\text{conn.}}=2 \log d_i. \label{eq:connMI}\] Therefore, in this case the bulk density matrix in the black hole interior is not correctable under the action of the error on the bath. The mechanism underlying this failure of error correction in gravity is the appearance of the replica wormhole. Finally, we are interested in the conditions for the fully connected geometry to dominate over the disconnected one. For \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_e,\text{env}}\), the criterion for the connected geometry to be significantly greater than the disconnected one when \((n-1)\) is small and positive is \[\frac{\mathrm{Tr}\,\sigma^n_{\text{env}}}{\mathrm{Tr}\,\sigma^n_{R}} \ll e^{(1-n)[S_{BH} + \log d_i]}. \label{eq:entropy-diff}\] The analogous criterion for \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}}\) is \[\frac{\Tr \sigma_\text{env}^n}{\Tr \sigma_R^n} \ll e^{(1-n)[S_{BH}-\log d_i]}, \label{eq:correctability}\] where we have defined \(S_{BH} = S_0+\frac{2\pi}{\beta}\phi_0 + s_{\text{bulk}}\). (As before, \(S_0\) is the extremal entropy, \(\frac{2\pi}{\beta}\phi_0\) is the classical horizon contribution, and \(s_{\text{bulk}}\) is the entropy of bulk quantum fields.) Notice that the first inequality actually implies the second, so if \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_e,\text{env}}\) is dominated by the connected geometry then so is \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}}\), but the converse is not true except when \(d_i = 1\). If we only have \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}}\) dominated by the connected geometry, the above equations show we still have \(I_{\Psi'} \neq 0\). Therefore, we ought to characterize correctability only by the connected phase of \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}}\). Taking the logarithm on both sides of [\[eq:correctability\]](#eq:correctability){reference-type="eqref" reference="eq:correctability"}, multiplying by \(\frac{1}{n-1}\), and taking \(n\to 1^+\), we get \[\label{ci} S(\sigma_{R})-S(\sigma_{\text{env}}) \ll-( S_{BH}-\log d_i),\] The left hand side above is entirely a property of the quantum channel \(\mathcal{E}\), with no reference to gravity. In quantum information theory, this quantity is referred to as the *coherent information*. For a quantum channel \(\mathcal{E}\) which can be isometrically extended to a unitary \(U_\mathcal{E}\) acting jointly on the system plus an environment factor \(\mathcal{H}_{\text{env}}\), the coherent information of the channel \(\mathcal{E}\) with respect to an input state \(\rho\) is defined as: \[I_c(\mathcal{E};\rho) \equiv S(\mathcal{E}(\rho))-S(\rho'_{\text{env}}), \label{eq:coherentinfo}\] where \(\rho'_{\text{env}}\) is the reduced density matrix of the environment after the action of the joint unitary \(U_\mathcal{E}\). The coherent information is a measure for how much of the quantum information in the input state survives the action of the quantum channel; for instance, it decreases monotonically under composition of quantum channels. For our purposes, the input state is the maximally mixed state on \(R\), which we can loosely think of as the "semi-classical state" of the radiation, i.e., a coarse-grained description of the state of the radiation obtained by keeping track of the coupled evolution of the bath with the black hole in the semi-classical gravity description.[^6] Equation [\[ci\]](#ci){reference-type="eqref" reference="ci"} therefore states that if a quantum channel has a sufficiently negative coherent information with respect to the semi-classical state on the radiation Hilbert space, then the encoding of the black hole interior is no longer correctable under such a channel. Conversely, the encoding of the bulk state in the black hole interior is robust against the action of any quantum channel satisfying \[\label{CIcond} I_c \left( \mathcal{E};\frac{1}{k}\mathbb{1} \right) \gg-( S_{BH}-\log d_i),\] together with our previous assumption that the channel should not alter the asymptotic Euclidean boundary conditions by sourcing additional boundaries. Therefore, as long as the remaining black hole is macroscopic, we find that the black hole interior is robustly encoded in the radiation. If the black hole entropy is instead so small as to be comparable to the \(O(1)\) code subspace entropy \(\log d_i\), an error with very small negative coherent information could corrupt the interior encoding. In either case, once the bound [\[CIcond\]](#CIcond){reference-type="eqref" reference="CIcond"} is violated, the black hole interior moves over to the entanglement wedge of the environment factor \(\mathcal{H}_{\text{env}}\) and QEC on the bath fails at that point. It is worth emphasizing that a channel with large, negative coherent information need not be very complex. Consider the following example. Let the dimension of the environment factor be the same as the dimension of the bath Hilbert space, i.e., \(\mathrm{dim}(\mathcal{H}_{R}) = \mathrm{dim}(\mathcal{H}_{\text{env}})=k= 2^M\), and let the unitary \(U\) correspond to the operator. For such a channel, we have \[S(\sigma_R) = 0,\;\;\;S(\sigma_\text{env}) = \log\,k = M \log 2,\] and so the coherent information is given by \[I_c \left( \mathcal{E};\frac{1}{k}\mathbb{1} \right) =-M \log 2 \ll-(S_{BH}-\log\,d_i).\] Clearly, the SWAP channel violates the bound [\[CIcond\]](#CIcond){reference-type="eqref" reference="CIcond"}. This is not at all surprising because this channel essentially transfers all the entanglement from the radiation density matrix into the environment and replaces the original state of the radiation with \(|e_0\rangle\langle e_0|_R\); the interior code subspace could not possibly be protected under such a drastic replacement. But importantly, the SWAP channel is *not* very complex[^7]--for every qubit in the radiation, we need one 2-qubit SWAP gate, and so the complexity of this channel should be \(M\sim \log\,k\). Note, however, that by unitarity of quantum mechanics, if we treat the radiation as a subsystem and implement the erasure channel via a SWAP operator, this procedure does not actually destroy any information. All it does is move where the black hole interior has been encoded in the larger system. This amounts to including the environment as a subsystem upon which we may try to reconstruct the interior.
## Black hole exterior {#black-hole-exterior .unnumbered}
We can also ask whether the operation \(\mathcal{E}\) can affect the black hole exterior. In this case, we need to compute the mutual information \(I_{\Psi'}(\mathfrak{R}_e: \mathfrak{R}_i \cup \text{env})\). When the disconnected geometry dominates, the calculation is essentially the same as before and we get zero mutual information. When the connected geometry dominates, the calculation of \(S(\mathfrak{R}_i\cup \mathfrak{R}_e \cup \text{env})\) is also the same as before. The main difference is in \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\text{env}}\) (Fig. [\[fig:ext\]](#fig:ext){reference-type="ref" reference="fig:ext"}). Instead of [\[eq:re-env-conn\]](#eq:re-env-conn){reference-type="eqref" reference="eq:re-env-conn"}, we get \[\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\text{env}}\Big|_{\text{conn.}}\sim e^{(1-n)S_{BH}} \;\mathrm{Tr}\,\sigma^n_{R},\] where \((n-1)\) is small and positive. Note also that \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_e}\), which we need in place of [\[eq:disc-result3\]](#eq:disc-result3){reference-type="eqref" reference="eq:disc-result3"}, is always dominated by the disconnected geometry: \[\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_e}\Big|_{\text{disconn.}} = d^{1-n}_e.\] Using these expressions, we can check that \(I_{\Psi'}(\mathfrak{R}_e: \mathfrak{R}_i \cup \text{env})=0\), and thus the black hole exterior is never affected by quantum operations on the radiation, which is of course consistent with the fact that the exterior is not in the entanglement wedge of the radiation.
## Approximate isometry of the interior encoding {#sec:non-iso}
The theorems concerning standard quantum error correction reviewed in Sec. [2.1](#sec:QECreview){reference-type="ref" reference="sec:QECreview"} assumed an isometric embedding \(V\) of the code Hilbert space in the physical Hilbert space. However, the map \(V\ket{i,i'}_\text{code} = \ket{\Psi_{i,i'}}_\text{phys}\) for the black hole interior is not actually an isometry. This is because the enormous number of effective field theory states in the growing interior will eventually outnumber the states of the physical Hilbert space as measured by the black hole entropy. Thus, states that are orthogonal in the effective field theory cannot be orthogonal after embedding in the physical Hilbert space. However, we might expect that for code subspaces which are small compared to the black hole Hilbert space, the interior encoding map \(V\) should be an approximate isometry, and therefore the standard theorems should still be approximately valid and thus can be used to diagnose the existence of a recovery channel. We can use the gravitational path integral to demonstrate that this expectation is indeed true. The map \(V\) can be made arbitrarily close to an isometry by appropriately tuning the code subspace relative to the black hole Hilbert space. To see this, we will evaluate the Frobenius norm of the operator \(P^2-P\), where \(P = V V^\dagger\) is the code subspace projector. If \(V\) were an isometry, \(P\) would be a projector and we would have \(P^2-P = 0\). So, if the Frobenius norm of this quantity is small, \(V\) is approximately an isometry. The first step is to normalize \(P\) by requiring that \[\frac{1}{\mathcal{N}_P} \Tr P = d, \label{eq:projectornorm}\] where \({\mathcal{N}_P}\) is a normalization and \(d\) is the code subspace dimension, as appropriate for normalizing a projector. Using \(P = VV^\dagger\) and the definition of \(V\) as above, the left hand side reduces to a combination of gravitational overlaps \[\frac{1}{\mathcal{N}_P} \sum_{i,i'} \inner{\Psi_{i,i'}}{\Psi_{i,i'}}_\text{phys} = d.\] These overlaps reduce to \(\inner{\Psi_{i,i'}}{\Psi_{i,i'}}_\text{phys} = e^{S_0} Z_1\) where we separated out the \(e^{S_0}\) factor from the JT gravity path integral on the disc as before in [\[eq:norm-density-matrix\]](#eq:norm-density-matrix){reference-type="eqref" reference="eq:norm-density-matrix"}. Therefore, the normalization for \(P\) is \[\mathcal{N}_P = e^{S_0}Z_1.\] As usual, we have ignored terms which are subleading in the genus expansion, which is justified as we have \(S_0 \gg 1\). This normalization essentially fixes the orthonormality of the code subspace states \(\inner{i,i'}{j,j'}_\text{code} = \delta_{ij}\delta_{i'j'}\). We are now interested in the Frobenius norm \[\| \widehat{P}^2-\widehat{P} \|_F^2 \equiv \Tr (\widehat{P}^2-\widehat{P})^2,\] where we normalized \(\widehat{P} \equiv P/\mathcal{N}_P\) to have a proper projector (see Eq. [\[eq:projectornorm\]](#eq:projectornorm){reference-type="ref" reference="eq:projectornorm"}). The leading contribution to this norm in the genus expansion should arise from the fully disconnected contribution, where all gravitational boundaries are filled separately by disk geometries with an EOW brane. In fact, an explicit calculations shows that these contributions cancel in the function of \(\widehat{P}\) appearing in the Frobenius norm. To see this, we make the replacement \(\inner{\Psi_{i,i'}}{\Psi_{j,j'}} = e^{S_0}Z_1 \delta_{ij}\delta_{i'j'}\). The completely disconnected contributions are then \[\| \widehat{P}^2-\widehat{P} \|_F^2 \Big|_{\text{total disconn.}} = \frac{d e^{4S_0} Z_1^4}{\mathcal{N}_P^4}-\frac{2d e^{3S_0} Z_1^3}{\mathcal{N}_P^3} + \frac{d e^{2S_0} Z_1^2}{\mathcal{N}_P^2} = 0 .\] where the numerators were computed by direct evaluation of the relevant path integrals in the same manner as in the calculation of ([\[eq:norm-density-matrix\]](#eq:norm-density-matrix){reference-type="ref" reference="eq:norm-density-matrix"}). Since this vanishes, we look for the next order contribution in the genus expansion. This comes from the path integral geometries in which precisely one pair of asymptotic boundaries is connected by a wormhole bounded on either side by EOW branes; we will call the JT path integral on this connected pair geometry \(Z_2\). In \(\Tr \widehat{P}^n\) this term appears from the overall path integral geometry with \(n-1\) connected components; so the result will be suppressed by \(e^{-S_0}\) compared to each term in the disconnected contribution. Thus, \[\| \widehat{P}^2-\widehat{P}\|_F^2 \Big|_{Z_2} = \frac{6d^2 e^{3S_0} Z_2Z_1^2}{\mathcal{N}_P^4}-\frac{6d^2 e^{2S_0}Z_2Z_1}{\mathcal{N}_P^3} + \frac{d^2e^{S_0}Z_2}{\mathcal{N}_P^2} = d^2 e^{-S_0} \frac{Z_2}{Z_1^2}.\] The total Frobenius norm is therefore \[\| \widehat{P}^2-\widehat{P}\|_F^2 = d^2 e^{-S_0} \frac{Z_2}{Z_1^2} + O(e^{-2S_0}),\] where the \(O(e^{-2S_0})\) term includes contributions with fewer disconnected components, and the genus expansion of each component. This result tells us that by taking \(d \ll e^{S_0/2}\), we can ensure that \(\widehat{P}\) is exponentially close to a true projector in the physical Hilbert space. Thus the assumption in that the encoding map for the interior is close to an isometry holds true in the PSSY model of two-dimensional gravity. To use the matrix ensemble language for JT gravity plus EOW branes, we have shown that a typical member of the boundary ensemble implements an approximately isometric bulk-to-boundary encoding map \(V\). So we are justified in drawing conclusions about the error correction properties of the typical theory by using the decoupling principle and similar standard isometric error correction theorems. A more refined analysis is possible. We could imagine deriving completely general Knill-Laflamme conditions for the existence of a recovery channel when the encoding map is arbitrarily far from an isometry. In this most general case, \(V\) is simply a linear map, not necessarily isometric, which must be injective to provide a faithful encoding. Injectivity certainly requires \(d \ll e^{S_0}\). However, whether this map is actually faithful depends on how it maps the code space into the actual physical Hilbert space. If we are dealing with a theory of gravity like JT gravity that is dual to an ensemble of microscopic theories, faithfulness of the encoding \(V\) requires that the measure in the ensemble should not be concentrated on theories for which \(V\) is degenerate. In JT gravity, this is likely the case, as the EOW brane states which we labeled by \(\alpha\) are dual to states that include random coefficients in the energy basis, and are thus highly unlikely to lead to degeneracies in \(V\) for small \(d\) compared to \(e^{S_0}\). However, despite this, it does not follow that the encoding map is necessarily an isometry, or even close to one, because the encoding vectors may have large overlaps in individual members of the ensemble. If we could write generalized Knill-Laflamme conditions, along with a decoupling principle that applied to such non-isometric encodings, we could compute the relevant mutual information to diagnose the existence of a recovery channel for some error \(\mathcal{E}\) and given linear map \(V\). In this way, we could aim to derive entropic conditions for the existence of a recovery map in *every* member of the underlying ensemble for a given error, instead of showing its existence only for a typical member of the ensemble as we have done in this paper. The non-isometric codes discussed in may give some intuition for what the correct generalized Knill-Laflamme conditions should be. In the language used in that work, in this paper we are studying a sort of state-independent sector of typical non-isometric codes where the dimension of the code subspace is small enough to ensure that more conventional error correction criteria are still approximately valid.
# Erasures and random errors {#sec:ErasuresTypical}
The previous section developed general results about robustness against errors of the encoding of the black hole interior in the Hawking radiation. In this section we further investigate two kinds of error channels for which more detailed analyses are possible. In the first class of errors, in which some of the physical bits in the radiation are simply erased, we are able to explicitly sum over all planar gravitational geometries (following the resolvent method of ) contributing to mutual information that diagnoses error correction. In the second class consisting of typical errors, where a random unitary acts on the radiation and an auxiliary environment Hilbert space, we give a geometric formula for the mutual Rényi entropy in terms of gravitational path integrals, which when evaluated in JT gravity, reproduces the same coherent information bound obtained previously.
## Erasure errors
Our analysis in the previous section was in the semi-classical approximation where we restricted attention to replica-symmetric saddles. In this section, we will work with the full gravitational path integral, but in order to do so, we will need to specialize to a particular quantum channel: partial erasure of the radiation. Suppose the error channel \(\mathcal{E}_\text{erase}\) simply erases \(t\) of the \(M\) qubits in \(\mathcal{H}_R\). The channel applied to the maximally mixed state on \(\mathcal{H}_R\) then yields a maximally mixed state of dimension \(2^{M-t}\), since the partial trace over \(t\) qubits of a maximally mixed state on \(M\) qubits gives a maximally mixed state on \(M-t\) qubits. A suitable isometric extension of \(\mathcal{E}_\text{erase}\) is simply a partial analog of the SWAP operator discussed previously, where the unitary \(U_\mathcal{E}\) exchanges \(t\) "clean" environment qubits with \(t\) radiation qubits. More precisely, by "clean" we mean that we take the environment to initially consist of \(t\) qubits each in some fixed fiducial state \(|0\rangle\langle 0|\), and the action of the channel swaps the state on \(t\) of the radiation bath qubits with these \(t\) environment qubits. Afterward, the remaining radiation entropy is \(\log 2^{M-t}\) and the environment entropy is \(\log 2^t\). The coherent information is then \[I_c \left( \mathcal{E}_\text{erase}, \frac{1}{k} \mathbb{1} \right) = (M-2t) \log 2.\] The gravitational meaning of this result is surprising. We have found that for, e.g., \(t \approx M/2\), the coherent information vanishes or is at least very small in magnitude compared to a large black hole entropy. This means that we can erase considerably more than half of the radiation and still reconstruct essentially all effective field theory operators in the black hole interior. Hints of this robustness were seen in doubly holographic models of evaporation, where a multiboundary wormhole model was used to reach roughly the same conclusion. But just how sharp is the transition between a correctable and non-correctable erasure error? In other words, can we produce a more accurate criterion than our condition that the coherent information of the erasure channel must exceed minus the black hole entropy by "a large amount", as written in [\[CIcond\]](#CIcond){reference-type="eqref" reference="CIcond"}? In order to study this transition more precisely, we must incorporate more gravitational geometries than just the disconnected and fully connected phases that we studied in Sec. [3](#sec:qec-pssy){reference-type="ref" reference="sec:qec-pssy"}. As discussed in Sec. [3](#sec:qec-pssy){reference-type="ref" reference="sec:qec-pssy"}, in deriving our coherent information criterion we neglected the contribution from geometries breaking \(\mathbb{Z}_n\) symmetry. For erasure errors, we can do better by resumming all the planar geometries; this is a good approximation when the parameters \(k, e^{S_0}, d_i\) etc. running in loops are large, and it will give us a sharper picture of the correctability transition for erasure errors. We will perform the planar resummation by writing down a Schwinger-Dyson equation for a resolvent, following. The general idea of this method is to compute the entropy \(S(\rho)\) of a density matrix \(\rho\) indirectly by first computing a resolvent matrix \(\mathcal{R}(w) = [w\mathbb{1}-\rho]^{-1}\). As is standard practice in, e.g., random matrix theory, we may obtain the eigenvalue density \(D(w)\) for \(\rho\) by computing the discontinuity of the resolvent across the real axis, \(2\pi \mathrm{i} D(w) = \Tr [ \mathcal{R}(w-\mathrm{i}\epsilon)-\mathcal{R}(w+\mathrm{i}\epsilon) ]\) with \(\epsilon \to 0\). With \(D(w)\) in hand, the entropy \(S(\rho)\) is easily obtained by writing \(S(\rho) =-\int \mathrm{d}w\; D(w) \; w \log w\). We may similarly evaluate *any* function of the eigenvalues of \(\rho\) using \(D(w)\); if we wish to compute \(\Tr \rho^n\), for instance, we write \(\Tr \rho^n = \int \mathrm{d}w \; D(w) w^n\). The resolvent is particularly useful in summing planar diagrams for a density matrix \(\rho\) that involves gravitational path integrals because there is a recursive Schwinger-Dyson equation that determines \(\mathcal{R}\) exactly in the planar approximation. We are going to relax the Lewkowycz-Maldacena assumption of \(\mathbb{Z}_n\) replica symmetry, and will replace it with three simplifying assumptions in order to keep the calculation tractable. As we are most interested in subsystem correctability of \(\mathcal{H}_\text{int}\), we will assume that (i) we restrict ourselves to a code subspace where \(\mathcal{H}_{\text{ext}}\) is trivial (i.e., one-dimensional). Next, as we noticed in Sec. [3](#sec:qec-pssy){reference-type="ref" reference="sec:qec-pssy"}, part of the utility of the Lewkowycz-Maldacena assumption was that we were able to choose a particular contraction pattern for the bulk code subspace indices based on the geometry of the replica symmetry quotient manifold (see the discussion around Fig. [\[fig:conncode1\]](#fig:conncode1){reference-type="ref" reference="fig:conncode1"}). In relaxing the Lewkowycz-Maldacena assumption to incorporate replica symmetry breaking geometries, we want to continue choosing contraction patterns for the code subspace indices based only on the geometry of the replica manifold, so we assume that (ii) \(\mathcal{H}_{\text{int}}\) corresponds to a degree of freedom moving on or close to the EOW brane. Finally, the canonical ensemble involves integral equations relating the partition functions \(Z_n\) and the density of states, so we will assume that (iii) we work in the microcanonical ensemble for the black hole, since the density of states in the microcanonical ensemble is flat in the microcanonical window and is therefore related to the microcanonical partition function by a simple algebraic equation; this will greatly simplify our Schwinger-Dyson equation for the resolvent. Let us be more explicit about the implication of assumption (ii). In products of gravitational microstate overlaps, if \(\mathcal{H}_\text{int}\) is a degree of freedom that is "on or close to the EOW brane", we can simply contract this index identically to the contraction pattern of the EOW branes. For example, consider the overlap \(\inner{\psi^{\alpha_1}_{i_1}}{\psi^{\beta_1}_{j_1}}\inner{\psi^{\alpha_2}_{i_2}}{\psi^{\beta_2}_{j_2}}_B\), where \(i_1,j_1,i_2,j_2\) are the interior code subspace indices and \(\alpha_1,\beta_1,\alpha_2,\beta_2\) are EOW brane indices. Our assumption (ii) means that if we contract EOW brane indices to obtain \(\delta_{\alpha_1\beta_1}\delta_{\alpha_2\beta_2}\), we require that the code subspace indices are contracted to yield \(\delta_{i_1j_1}\delta_{i_2j_2}\). Similarly, if we contract EOW brane indices as \(\delta_{\alpha_1\beta_2}\delta_{\beta_1\alpha_2}\), we require that the code subspace contractions give \(\delta_{i_1j_2}\delta_{j_1i_2}\). This simplifies our analysis of replica symmetry breaking geometries considerably because it allows us to discard configurations where the EOW brane indices are contracted in a different pattern than the interior code subspace indices, a situation which was in principle possible in Sec. [3](#sec:qec-pssy){reference-type="ref" reference="sec:qec-pssy"} but which did not actually arise due to the Lewkowycz-Maldacena assumption. Here, we are relaxing the Lewkowycz-Maldacena assumption but we will keep one of its important implications by making assumption (ii) to keep the calculation tractable. With these simplifications, we can work out the Rényi mutual information \(I^{(n)}_{\Psi'}(\mathfrak{R}_i:\text{env})\) in the relevant state \[\ket{\Psi'} = \frac{1}{\mathcal{N}^{1/2}}\sum_{i=1}^{d_i} \ket{i}_{\mathfrak{R}_i} \otimes U_\mathcal{E} (\ket{\Psi_i}_\text{phys} \otimes \ket{e_0}_\text{env} ), \quad \mathcal{N} = d_i e^{S_0} Z_1,\] where the normalization is the \(d_e=1\) specialization of the one we had previously [\[eq:norm-density-matrix\]](#eq:norm-density-matrix){reference-type="eqref" reference="eq:norm-density-matrix"}. Note that the Rényi mutual information has the property that it vanishes if and only if the state factorizes. So, it is just as good as the mutual information \(I_{\Psi'}(\mathfrak{R}_i: \text{env})\) as a diagnostic of decoupling between the reference system and the environment. Let us first consider \(\mathrm{Tr}\,\rho'^n_{\mathfrak{R}_i,\text{env}}\). It is convenient to first write the matrix elements for the reduced density matrix, each of which involves a gravitational overlap \[\bra{i,e_m} \rho'_{\mathfrak{R}_i,\text{env}} \ket{j,e_n} = \frac{1}{k \mathcal{N}} \sum_{\alpha,\beta,\gamma=1}^k \bra{\gamma,e_m} U_\mathcal{E} \ket{\beta,e_0} \inner{\psi^\alpha_i}{\psi^\beta_j} \bra{\alpha,e_0} U_\mathcal{E}^\dagger \ket{\gamma,e_n}. \label{eq:Ri-env-element}\] We can sum over planar geometries by introducing the resolvent matrix \(\mathcal{R}\): \[\mathcal{R}(w) \equiv \frac{1}{(w \mathbb{1}-\rho'_{\mathfrak{R}_i,\text{env}})}= \frac{1}{w}\mathbb{1}+\frac{1}{w^2}\rho'_{\mathfrak{R}_i,\text{env}}+\frac{1}{w^3}\rho'^2_{\mathfrak{R}_i,\text{env}}+\cdots, \label{eq:resolvent-expansion}\] where \(w\) is a complex number and \(\mathcal{R}\) has dimension \(\dim (\mathcal{H}_\text{int} \otimes \mathcal{H}_\text{env})\). We may represent this infinite sum pictorially using the same gravitational boundary conditions and tensor network constructions as in Fig. [\[fig:f\]](#fig:f){reference-type="ref" reference="fig:f"}: \[\includegraphics[height=0.8cm]{resolvent.pdf} \label{eq:resolvent-bc-pic}\] Here the black lines denote asymptotic boundaries and come with a factor of \((k\mathcal{N})^{-1}\), dashed blue lines denote environment indices, and dashed red lines denote radiation indices; we have suppressed the \(\mathfrak{R}_i\) index for simplicity. Further, \(U_\mathcal{E}\) are denoted with light gray boxes and \(U_\mathcal{E}^\dagger\) are denoted with dark gray boxes. The \(n\)th term additionally also comes with the appropriate power \(w^{-n}\) which has been left implicit in the figure. As an example of how [\[eq:resolvent-expansion\]](#eq:resolvent-expansion){reference-type="eqref" reference="eq:resolvent-expansion"} is translated to [\[eq:resolvent-bc-pic\]](#eq:resolvent-bc-pic){reference-type="eqref" reference="eq:resolvent-bc-pic"}, take the first non-trivial term in [\[eq:resolvent-bc-pic\]](#eq:resolvent-bc-pic){reference-type="eqref" reference="eq:resolvent-bc-pic"}, which is pictorially representing the matrix element [\[eq:Ri-env-element\]](#eq:Ri-env-element){reference-type="eqref" reference="eq:Ri-env-element"}. The gravitational boundary condition is \(\inner{\psi_i^\alpha}{\psi^\beta_j}_B\), represented by the solid black line oriented from ket to bra. Implicit at the left and right endpoints of this condition are the \((\beta,j)\) and \((\alpha,i)\) indices, respectively. The left endpoint with radiation index \(\beta\) feeds into the light gray \(U_\mathcal{E}\) operator, along with a hanging environment leg that is implicitly contracted with \(e_0\). The outgoing environment leg of \(U_\mathcal{E}\) is \(e_m\), while the outgoing radiation leg is \(\gamma\), and this radiation index is matched to the incoming radiation index of the dark gray \(U_\mathcal{E}^\dagger\) operator. The incoming environment leg in \(U_\mathcal{E}^\dagger\) is \(e_n\), while the outgoing radiation leg is \(\alpha\), matched to the EOW brane index at the right endpoint of the black line. Finally, the outgoing radiation leg on \(U_\mathcal{E}^\dagger\) is implicitly contracted with \(e_0\). We have suppressed the \(\mathfrak{R}_i\) indices since these would just add an extra incoming and outgoing dashed line attaching to the endpoints of the black line, but not interacting with the \(U_\mathcal{E}\) or \(U_\mathcal{E}^\dagger\) operators. The missing factors of \(w\) and \(k\mathcal{N}\) are implicit as mentioned under [\[eq:resolvent-bc-pic\]](#eq:resolvent-bc-pic){reference-type="eqref" reference="eq:resolvent-bc-pic"}. Evaluating [\[eq:resolvent-bc-pic\]](#eq:resolvent-bc-pic){reference-type="eqref" reference="eq:resolvent-bc-pic"} exactly would be very difficult if we were to allow arbitrary gravitational geometries filling in the boundary conditions. However, in the planar approximation, there is an interesting simplification, as exploited in. If we only consider planar gravitational geometries, namely those whose index loops and bulk gravitational components do not cross each other and do not include higher genus contributions, there is a recursive Schwinger-Dyson equation for this resolvent where the right hand side of [\[eq:resolvent-bc-pic\]](#eq:resolvent-bc-pic){reference-type="eqref" reference="eq:resolvent-bc-pic"} can be written pictorially as \[\includegraphics[height=2.5cm]{resolvent2.pdf}, \label{eq:SD-pic}\] where the shaded regions denote bulk Euclidean spacetimes filling in the asymptotic boundary conditions with the solid red lines denoting EOW branes, and the orange blobs stand for insertions of the resolvent. The logic behind why this sort of recursion captures all the planar contributions is as follows. The first nontrivial term in [\[eq:SD-pic\]](#eq:SD-pic){reference-type="eqref" reference="eq:SD-pic"} captures all planar geometries in which the first asymptotic boundary is not connected through the bulk to any other asymptotic boundary. Similarly, the second nontrivial term captures all planar geometries in which the first asymptotic boundary is connected through the bulk to just one other asymptotic boundary, but this second boundary does not necessarily have to be adjacent to the first, and it also does not necessarily have to be the last asymptotic boundary on the right. To capture the situations in which they are not adjacent, the resolvent (orange blob) is inserted between the two boundaries, and to capture the situations in which the second boundary is not also the last boundary on the right, the resolvent also is inserted to the right of the second boundary. These two resolvent insertions are independent because any connection through the bulk between them would render the geometry non-planar. Iterating this sequence, and noting that every planar geometry can be put into exactly one such class, we arrive at the recursion relation [\[eq:SD-pic\]](#eq:SD-pic){reference-type="eqref" reference="eq:SD-pic"}. We can translate [\[eq:SD-pic\]](#eq:SD-pic){reference-type="eqref" reference="eq:SD-pic"} back to an equation by recalling several facts. First, \(Z_m\) is the JT gravity path integral on a disk with \(m\) EOW branes, and clearly the \(m^{\text{th}}\) nontrivial term on the right hand side of [\[eq:SD-pic\]](#eq:SD-pic){reference-type="eqref" reference="eq:SD-pic"} carries a factor of \(Z_m\). Second, \(m\) explicit gravitational boundary conditions come with a normalization of \((k\mathcal{N})^{-m}\) as described below [\[eq:resolvent-bc-pic\]](#eq:resolvent-bc-pic){reference-type="eqref" reference="eq:resolvent-bc-pic"}. Also, dashed blue environment index lines come with a factor of \(w^{-1}\), unless they have a resolvent insertion, in which case this factor is omitted since there is no factor of \(w\) on the left hand side of [\[eq:resolvent-expansion\]](#eq:resolvent-expansion){reference-type="eqref" reference="eq:resolvent-expansion"}. Because of this, from the form of [\[eq:SD-pic\]](#eq:SD-pic){reference-type="eqref" reference="eq:SD-pic"}, we see that every term on the right hand side is proportional to \(w^{-1}\). By our assumption (ii), the code subspace indices are contracted along the EOW branes, which means the \(\mathfrak{R}_i\) indices of each resolvent insertion (except the last one on the right) in each term in [\[eq:SD-pic\]](#eq:SD-pic){reference-type="eqref" reference="eq:SD-pic"} are contracted together, yielding a trace \(\Tr_{\mathfrak{R}_i} \mathcal{R}\). Defining the \(R \cup \text{env}\) density matrix \(\sigma\) again as \[\sigma = U_\mathcal{E} \left(\frac{1}{k}\sum_{\alpha=1}^k|\alpha\rangle\langle \alpha|_R \otimes |e_0\rangle\langle e_0|_{\text{env}}\right)U_\mathcal{E}^{\dagger},\] we see that because the resolvents are interspersed only on the environment factors, they multiply between the \(\sigma\) factors to give \([\Tr_\text{env} (\sigma. \Tr_{\mathfrak{R}_i} \mathcal{R})]^{m-1}\). Here \(m-1\) appears instead of \(m\) since the last factor of \(\sigma\) is generated by the leftmost \(U_\mathcal{E}\) and the rightmost \(U_\mathcal{E}^\dagger\), and is therefore not included in the environment traces generated by the adjacent EOW brane contractions, as can be seen from studying [\[eq:conn-EOW-structure\]](#eq:conn-EOW-structure){reference-type="eqref" reference="eq:conn-EOW-structure"} and [\[eq:f-tensor\]](#eq:f-tensor){reference-type="eqref" reference="eq:f-tensor"}. This last factor of \(\sigma\) instead has a radiation trace from the single large EOW brane index loop in \(Z_m\). Tacking on the last factor of \(\mathcal{R}\) on the right, which multiplies the environment factor from the right, we finally find \[\mathcal{R} =\frac{1}{w}\mathbb{1}_{\mathfrak{R}_i,\text{env}}+ \frac{1}{w} \sum_{m=1}^{\infty}\frac{Z_m}{\mathcal{N}^m}\mathrm{Tr}_R\{\sigma. [\mathrm{Tr}_{\mathfrak{R}_i, \text{env}}(\sigma.\mathcal{R})]^{m-1}\}.\mathcal{R}, \label{eq:SD-eqn}\] The dot notation for products means that we multiply operators which may act on different Hilbert spaces by appending an identity operator to the extra factors. Note the factor of \(k^{-m}\) from the normalization was used to construct the \(m\) factors of \(\sigma\). For a general quantum channel, solving [\[eq:SD-eqn\]](#eq:SD-eqn){reference-type="eqref" reference="eq:SD-eqn"} seems involved, although not impossible. But our restriction to the partial SWAP channel simplifies things quite a bit. For this channel, we have the factorization \[\sigma = \sigma_R \otimes \sigma_\text{env}, \quad \sigma_\text{env} = \frac{1}{2^t}\mathbb{1}_\text{env}, \quad \sigma_R = \frac{1}{2^{M-t}}\mathbb{1}_{M-t}\otimes (|e_0\rangle\langle e_0|)^{\otimes t},\] so we can rewrite the Schwinger-Dyson equation [\[eq:SD-eqn\]](#eq:SD-eqn){reference-type="eqref" reference="eq:SD-eqn"} as \[\begin{aligned}
w\mathcal{R} &=&\mathbb{1}_{\mathfrak{R}_i,\text{env}}+\sum_{m=1}^{\infty}\frac{Z_m}{\mathcal{N}^m}\mathrm{Tr}_R(\sigma_R^m) \left(\mathrm{Tr}_{\mathfrak{R}_i, \text{env}}(\sigma_\text{env}.\mathcal{R})\right)^{m-1} \sigma_\text{env}.\mathcal{R},\nonumber\\ &=&\mathbb{1}_{\mathfrak{R}_i,\text{env}}+\frac{1}{2^t}\sum_{m=1}^{\infty}\frac{Z_m}{\mathcal{N}^m2^{M(m-1)}} \left(\mathrm{Tr}_{\mathfrak{R}_i, \text{env}}(\mathcal{R})\right)^{m-1} \mathcal{R} \end{aligned}\] In fact, the first line also holds for any channel \(U_\mathcal{E}\) which does not generate any mutual information when acting on the maximally mixed radiation state times the fiducial environment state \(\ket{e_0}\bra{e_0}_\text{env}\); in other words when \(I_{\sigma}(R: \text{env}) = 0\), as this implies \(\sigma = \sigma_R \otimes \sigma_\text{env}\). Note that this is a different mutual information from \(I_{\Psi'}(\mathfrak{R}_i: \text{env})\), which we use to diagnose correctability of \(U_\mathcal{E}\). To go further, we need expressions for the partition functions \(Z_n\), which are found in. We have the integral expression \[Z_n = \int_0^{\infty}ds\,\rho(s)[y(s)]^n,\] where \[\rho(s) = \frac{s}{2\pi^2}\sinh(2\pi s),\;\;\;y(s)=e^{-\frac{\beta}{2}s^2}2^{1-2\mu}|\Gamma(\mu-\frac{1}{2}+is)|^2,\] after which the resolvent sum becomes geometric: \[w\mathcal{R}=\mathbb{1}_{\mathfrak{R}_i,\text{env}}+\frac{1}{2^t}\int_0^{\infty}ds\frac{1}{\mathcal{N} }\rho(s)y(s)\frac{1}{1-\frac{y(s) \mathrm{Tr}_{\mathfrak{R}_i,\text{env}}(\mathcal{R})}{\mathcal{N} 2^{M}}}\mathcal{R}.\] The integral equation relating the density of states \(\rho(s)\) to the JT path integral \(Z_n\) is complicated due to the dependence of the integrand on the energy \(s\). By employing assumption (iii), we may work instead in the microcanonical ensemble where we define the gravitational path integral with boundary conditions that will fix the energy \(s\) in a small window \(\Delta s\). This choice will change nothing in the above Schwinger-Dyson analysis except the explicit form of \(Z_n\), which is now *algebraically* related to a flat microcanonical density of states in the energy window \([s,s+\Delta s]\) with height \(e^{S_0} \rho(s)\). Specifically, we have the microcanonical entropy \(\textbf{S}\) and microcanonical partition functions \(\textbf{Z}_n\) defined by \[e^{\textbf{S}} = e^{S_0}\rho(s) \Delta s, \quad \textbf{Z}_n = e^{S_0}\rho(s) y(s)^n \Delta s = e^{\textbf{S}} y(s)^n.\] These relations simplify the above integral equation as we replace \(e^{S_0} Z_n\) by \(\textbf{Z}_n\) and \(\int \mathrm{d}s\) by \(\Delta s\), and after taking a trace over \(\mathfrak{R}_i \cup \text{env}\) the microcanonical Schwinger-Dyson equation for \(\Tr \mathcal{R}\) is \[w\,X= d_i2^t+\frac{1}{d_i2^t}\frac{X}{\left(1-\frac{ X}{d_ie^{\textbf{S}} 2^{M}}\right)}, \quad X=\mathrm{Tr}_{\mathfrak{R}_i,\text{env}}\;\mathcal{R}.\] This equation can be solved to obtain \[\mathrm{Tr}_{\mathfrak{R}_i,\text{env}}\,\mathcal{R}^{(\mathfrak{R}_i,\text{env})} = \frac{d_ie^{\mathcal{S}}}{2}-\frac{\left(2^{-t}e^{\mathcal{S}}-d_i2^t\right)}{2w}-\frac{1}{2}\sqrt{\left(d_ie^{\mathcal{S}}-\frac{\left(2^{-t}e^{\mathcal{S}}-d_i2^t\right)}{w}\right)^2-4\frac{d_i^2e^{\mathcal{S}}2^t}{w}},\] where we have added a superscript \((\mathfrak{R}_i,\text{env})\) to \(\mathcal{R}\) to denote the fact that this is the resolvent for the density matrix \(\rho'_{\mathfrak{R}_i,\text{env}}\), and we have defined \(e^{\mathcal{S}}=2^Me^{\textbf{S}}\). Similarly, we can also obtain the resolvent \(\mathcal{R}^{(\text{env})}\) for \(\rho'_{\text{env}}\): \[\mathrm{Tr}_{\text{env}}\,\mathcal{R}^{(\text{env})} = \frac{d_ie^{\mathcal{S}}}{2}-\frac{\left(2^{-t}d_ie^{\mathcal{S}}-2^t\right)}{2w}-\frac{1}{2}\sqrt{\left(d_ie^{\mathcal{S}}-\frac{\left(2^{-t}d_ie^{\mathcal{S}}-2^t\right)}{w}\right)^2-4\frac{d_ie^{\mathcal{S}}2^t}{w}}.\] By expanding these resolvents in powers of \(\frac{1}{w}\), we can compute all the Rényi entropies. We show a comparison of the Rényi mutual information as a function of \(t\), the number of environment qubits, between several Rényi indices in Fig. [\[fig:Renyi\]](#fig:Renyi){reference-type="ref" reference="fig:Renyi"}. From these plots we indeed see that \(\mathbb{Z}_n\)-symmetry breaking contributions only become important close to the phase transition and smooth out a relatively sharp transition between the fully disconnected and the fully connected geometries. These two \(\mathbb{Z}_n\)-symmetric contributions were evaluated in general in Sec. [3](#sec:qec-pssy){reference-type="ref" reference="sec:qec-pssy"} and together create a step function shape for the Rényi mutual information, so we interpret the near-step function shape of the full planar resummation as just a small correction to these contributions, at least for erasure errors. Note also that the transition happens near, but slightly before \[2t \sim \frac{\mathcal{S}}{\log 2}-\log_2 d_i, \label{eq:gravity-singleton}\] where \(\mathcal{S}\) is the logarithm of the total physical Hilbert space dimension (microcanonical JT ensemble with entropy \(\textbf{S}\) plus the radiation bath with entropy \(M \log 2\)) and \(t \log 2\) is the logarithm of the environment Hilbert space dimension. This is precisely the upper limit from the quantum Singleton bound [\[eq:singleton-bound\]](#eq:singleton-bound){reference-type="eqref" reference="eq:singleton-bound"} on the number of qubits that can be erased while leaving the code subspace protected. More specifically, in [\[eq:singleton-bound\]](#eq:singleton-bound){reference-type="eqref" reference="eq:singleton-bound"} we called \(\mathcal{S}\) the number of qubits in the physical Hilbert space, so we must replace it here with \(\mathcal{S} / \log 2\), and we had a base-2 logarithm of the code subspace dimension, both of which appear in [\[eq:gravity-singleton\]](#eq:gravity-singleton){reference-type="eqref" reference="eq:gravity-singleton"}. The Rényi mutual information starts to become \(O(1)\) (as opposed to being exponentially small) when \(t\) is only an \(O(1)\) number less than the greatest number of qubit erasures that any code can protect against! Thus, the JT gravity model comes within an \(O(1)\) number of qubits of saturating the quantum Singleton bound. It would be interesting to characterize the very slightly suboptimal performance of gravity; perhaps non-planar contributions are important to account for in this analysis.
## Typical errors {#sec:randomerrors}
In this section we will consider how well the black hole interior is protected against the action of typical random errors on the radiation bath. In more detail, suppose that the Stinespring dilation of \(\mathcal{E}\) involves a unitary operator \(U_\mathcal{E}\) acting on a Hilbert space of dimension \(\dim (\mathcal{H}_R \otimes \mathcal{H}_\text{env}) = k\ell\), where \(\ell\) is the dimension of the environment factor and \(k\) controls the dimension of the radiation subspace that is entangled with the black hole microstates. Then, by a typical/random error, we mean one where we can take \(U_\mathcal{E}\) to be a random unitary transformation drawn from the Haar measure on the group \(U(k\ell)\). We will perform this random error calculation in two ways. First, we will directly Haar average the \(f\)-tensor [\[eq:f-tensor\]](#eq:f-tensor){reference-type="eqref" reference="eq:f-tensor"} and re-compute the mutual information \(I_{\Psi'}(\mathfrak{R}_i: \mathfrak{R}_e \cup \text{env})\). Second, we will take the Haar average of the coherent information \(I_c(\mathcal{E},\mathbb{1}_R/k)\) and compare its value with our correctability criterion [\[CIcond\]](#CIcond){reference-type="eqref" reference="CIcond"}. A priori, these two approaches need not give the same result, because averaging the \(f\)-tensor first may affect which gravitational geometries dominate the path integral, whereas in averaging the coherent information we have assumed that the replica symmetric contributions are the relevant ones. However, we will see that an interesting simplification occurs when we consider the two limits \(1 \ll k \ll \ell\) and \(1 \ll \ell \ll k\), and the two approaches in fact agree.
### \(f\)-Tensor {#sec:f-tensor-haar}
We begin by directly taking the Haar average of [\[eq:f-tensor\]](#eq:f-tensor){reference-type="eqref" reference="eq:f-tensor"} and evaluating the resulting gravitational path integrals which appear in the mutual information ([\[eq:renyimutualinformation\]](#eq:renyimutualinformation){reference-type="ref" reference="eq:renyimutualinformation"}) between the interior and the union of the exterior and the environment. This in turn involves the Rényi entropies of various combinations of the black hole interior, exterior and the environment (see Eqs. [\[tr1\]](#tr1){reference-type="ref" reference="tr1"},[\[tr2\]](#tr2){reference-type="ref" reference="tr2"},[\[tr3\]](#tr3){reference-type="ref" reference="tr3"}). We will first average the error over the unitary group and then carry out the gravitational path integral computing the microstate overlaps. As we are most interested in the regimes where the environment is either large (\(\ell \gg k \gg 1\)) or small (\(1 \ll \ell \ll k\)) compared to the radiation Hilbert space with both large compared to 1, we will only retain the leading terms in \(1/k\) or \(1/\ell\). The Haar average of the \(f\)-tensor is then: \[\begin{aligned}
\begin{split} \bar{f}_{\alpha_1,\beta_1,\cdots \alpha_n,\beta_n} &=\int_{U(k\ell)} dU_\mathcal{E} f_{\alpha_1,\beta_1,\cdots \alpha_n,\beta_n}(U_\mathcal{E}) \\ & = \sum_{m_1,\cdots, m_n}\sum_{\gamma_1,\cdots, \gamma_n} \int_{U(k\ell)} dU_\mathcal{E} (U^{\dagger})^{\alpha_1,e_0}_{\gamma_1,e_{m_2}} U^{\gamma_1,e_{m_1}}_{\beta_1,e_0} \cdots (U^{\dagger})^{\alpha_n,e_0}_{\gamma_n, e_{m_1}} U^{\gamma_n,e_{m_n}}_{\beta_n,e_0} \label{eq:HaarAverageU} \\ & = (\ell^{1-n} + \cdots) (\delta_{\alpha_1\beta_1} \delta_{\alpha_2\beta_2} \ldots \delta_{\alpha_n\beta_n}) + (k^{1-n} + \cdots ) (\delta_{\alpha_1\beta_2} \delta_{\alpha_2\beta_3} \ldots \delta_{\alpha_n\beta_1} ) + \cdots, \end{split} \end{aligned}\] where we have defined the matrix elements \[U^{\beta,e_m}_{\alpha,e_n} \equiv \bra{\beta,e_m}U_\mathcal{E} \ket{\alpha,e_n}, \quad (U^\dagger)^{\beta,e_m}_{\alpha,e_n} \equiv \bra{\beta,e_m}U_\mathcal{E}^\dagger \ket{\alpha,e_n}.\] We compute the integrals in the second line in Appendix [\[sec:haar\]](#sec:haar){reference-type="ref" reference="sec:haar"} by applying standard results concerning Haar integration of products of unitary matrices. The first term dominates when \(1 \ll \ell \ll k\), while the second term dominates when \(1 \ll k \ll \ell\). Remarkably, the first term in ([\[eq:HaarAverageU\]](#eq:HaarAverageU){reference-type="ref" reference="eq:HaarAverageU"}) has the same microstate index structure as the product of disconnected path integrals ([\[eq:DiscOverlap\]](#eq:DiscOverlap){reference-type="ref" reference="eq:DiscOverlap"}) for the gravitational overlaps in the Rényi mutual informations ([\[tr1\]](#tr1){reference-type="ref" reference="tr1"}), ([\[tr2\]](#tr2){reference-type="ref" reference="tr2"}), and ([\[tr3\]](#tr3){reference-type="ref" reference="tr3"}). The second term has the same microstate index structure as the fully connected diagrams for computing the same product of overlaps, shown for instance in (Fig. [\[fig:conncode2\]](#fig:conncode2){reference-type="ref" reference="fig:conncode2"} and Eq. [\[eq:conn-EOW-structure\]](#eq:conn-EOW-structure){reference-type="ref" reference="eq:conn-EOW-structure"}). This means that averaging over \(U_{\mathcal{E}}\), at least in the two limits \(1 \ll \ell \ll k\) and \(1 \ll k \ll \ell\), reinforces the two replica-symmetric, disconnected and connected geometries respectively in the gravitational path integral. Due to this simplification, we see that the relevant gravitational geometries that will enter in the calculation of the Rényi mutual information \(I_{\Psi'}^{(n)}(\mathfrak{R}_i: \mathfrak{R}_e \cup \text{env})\) are precisely the ones we considered already in Sec. [3](#sec:qec-pssy){reference-type="ref" reference="sec:qec-pssy"}. In the \(n\to 1^+\) limit, the overlaps in ([\[tr1\]](#tr1){reference-type="ref" reference="tr1"}), ([\[tr2\]](#tr2){reference-type="ref" reference="tr2"}), and ([\[tr3\]](#tr3){reference-type="ref" reference="tr3"}) involve different propagators for the matter fields and thus lead to different powers of \(d_i\) and \(d_e\) (see discussion below Eq. [\[eq:conn-EOW-structure\]](#eq:conn-EOW-structure){reference-type="ref" reference="eq:conn-EOW-structure"}), but in a manner identical to Sec.. [3](#sec:qec-pssy){reference-type="ref" reference="sec:qec-pssy"}. Therefore, the resulting mutual information will be identical, as we will now confirm explicitly. Using our result [\[eq:HaarAverageU\]](#eq:HaarAverageU){reference-type="eqref" reference="eq:HaarAverageU"} for the Haar-averaged \(f\) tensor in ([\[tr1\]](#tr1){reference-type="ref" reference="tr1"}), ([\[tr2\]](#tr2){reference-type="ref" reference="tr2"}), and ([\[tr3\]](#tr3){reference-type="ref" reference="tr3"}), along with the gravitational overlaps from the disconnected saddle-points ([\[eq:DiscOverlap\]](#eq:DiscOverlap){reference-type="ref" reference="eq:DiscOverlap"}), we can find the leading disconnected contribution to the Rényi entropies. The contraction of \(\bar{f}\) with the tensor on the radiation Hilbert space coming from the gravitational overlaps gives \[\frac{1}{k^n} \sum_{\alpha_1...\alpha_n} \sum_{\beta_1...\beta_n} \left( \delta_{\alpha_1\beta_1} \delta_{\alpha_2\beta_2} \cdots \delta_{\alpha_n\beta_n} \right) \bar{f}_{\alpha_1\beta_1 \cdots \alpha_n\beta_n} = \ell^{1-n} + k^{2(1-n)} + \cdots \label{eq: g-f-contraction1}\] Carrying out the remaining sums over the internal and external code space indices gives \[\begin{aligned}
\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}} &=& d_i^{1-n} d_e^{1-n} \, \left[ \ell^{1-n} + k^{2(1-n)} + \cdots \right] \label{eq:TrIEDisc} \\ \mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_e,\text{env}} &=& d_e^{1-n} \, \left[ \ell^{1-n} + k^{2(1-n)} \right] \label{eq:TrEDisc} \\ \mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i} &=& d_i^{1-n} \,. \label{eq:TriDisc} \end{aligned}\] The terms in the square brackets give an explicit evaluation of the \(\Tr{\sigma_{\rm env}^n}\) factors in ([\[eq:disc-result1\]](#eq:disc-result1){reference-type="ref" reference="eq:disc-result1"})-([\[eq:disc-result3\]](#eq:disc-result3){reference-type="ref" reference="eq:disc-result3"}) for the disconnected gravitational contribution to a general error. We can now evaluate the \(n\)-th Rényi mutual information ([\[eq:renyimutualinformation\]](#eq:renyimutualinformation){reference-type="ref" reference="eq:renyimutualinformation"}) between the interior of the black hole and the exterior of the black hole plus the environment in the disconnected phase of the gravitational path integral. We find \[I^{(n)}(\mathfrak{R}_i: \mathfrak{R}_e \cup \text{env}) = \frac{1}{1-n} \left( \log \mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i} + \log \mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_e,\text{env}} - \log \mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}} \right) = 0 \,,\] confirming ([\[eq:disconnMI\]](#eq:disconnMI){reference-type="ref" reference="eq:disconnMI"}) for random error channels. Similarly, we can combine the Haar-averaged f-tensor with the gravitational overlaps from the connected saddlepoints in [\[eq:conn-EOW-structure\]](#eq:conn-EOW-structure){reference-type="eqref" reference="eq:conn-EOW-structure"}, along with its analogs for the other mutual informations, to computed the leading connected contribution to the Rényi entropies ([\[tr1\]](#tr1){reference-type="ref" reference="tr1"}), ([\[tr2\]](#tr2){reference-type="ref" reference="tr2"}), and ([\[tr3\]](#tr3){reference-type="ref" reference="tr3"}). The contraction of \(\bar{f}\) with the tensor on the radiation Hilbert space coming from the connected gravitational overlaps gives \[\frac{1}{k^n} \sum_{\alpha_1...\alpha_n} \sum_{\beta_1...\beta_n} \left(\delta_{\alpha_1\beta_2} \delta_{\alpha_2\beta_3} \cdots \delta_{\alpha_n\beta_1} \right) \bar{f}_{\alpha_1\beta_1 \cdots \alpha_n\beta_n} = (k\ell)^{1-n} + k^{1-n} + \cdots \label{eq: g-f-contraction2}\] Carrying out the remaining sums over the internal and external code space indices (in the \(n\to 1^+\) limit) gives \[\begin{aligned}
\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}} &=& \frac{e^{S_0 (1-n)} Z_n}{Z_1^n} \, d_e^{1-n} \, \left[ (k \ell)^{1-n} + k^{1-n} \cdots \right] \label{eq:TrIEConn} \\ \mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_e,\text{env}} &=&\frac{e^{S_0 (1-n)} \, Z_n}{Z_1^n} \, d_i^{1-n} d_e^{1-n} \, \left[ (k \ell)^{1-n} + k^{1-n} + \cdots \right] \label{eq:TrEConn} \\ \mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i} &=& \frac{e^{S_0 (1-n)} Z_n}{Z_1^n} \, k^{1-2n} \ell^{-n} \label{eq:TriConn} \end{aligned}\] The quantities \(S_0\), \(Z_n\) and \(Z_1\) are discussed below ([\[eq:conn-EOW-structure\]](#eq:conn-EOW-structure){reference-type="ref" reference="eq:conn-EOW-structure"}). The terms in the square brackets give an explicit evaluation of the \(\Tr{\sigma_{\rm R}^n}\) factors in ([\[eq:re-env-conn1\]](#eq:re-env-conn1){reference-type="ref" reference="eq:re-env-conn1"})-([\[eq:re-env-conn\]](#eq:re-env-conn){reference-type="ref" reference="eq:re-env-conn"}) for the connected gravitational contribution to a general error. We can now evaluate the Rényi mutual information ([\[eq:renyimutualinformation\]](#eq:renyimutualinformation){reference-type="ref" reference="eq:renyimutualinformation"}) between the interior and exterior plus the environment in the connected phase of the gravitational path integral in the \(n\to 1\) limit. In evaluating this mutual information we will continue to use the disconnected expression for the \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i}\) ([\[eq:TriDisc\]](#eq:TriDisc){reference-type="ref" reference="eq:TriDisc"}) because it is dominant for any choice of the error rank \(\ell\) as the connected contribution ([\[eq:TriConn\]](#eq:TriConn){reference-type="ref" reference="eq:TriConn"}) is suppressed in powers of \(k\). We get \[\begin{split} I(\mathfrak{R}_i: \mathfrak{R}_e \cup \text{env}) = \lim_{n\to 1} \frac{1}{1-n} \left( \log \mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i} + \log \mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_e,\text{env}} - \log \mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}} \right) = 2 \log d_i \end{split}\] confirming the general result ([\[eq:connMI\]](#eq:connMI){reference-type="ref" reference="eq:connMI"}) for random error channels. Finally we can check the condition for the connected phase to dominate the Rényi entropies and hence the mutual information between the black hole interior and the exterior plus the environment. As discussed above, \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i}\) is always dominated by the disconnected component because the connected part ([\[eq:TriConn\]](#eq:TriConn){reference-type="ref" reference="eq:TriConn"}) is suppressed. A little algebra shows that the connected contribution to \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_e,\text{env}}\) in ([\[eq:TrEConn\]](#eq:TrEConn){reference-type="ref" reference="eq:TrEConn"}) dominates the disconnected contribution in ([\[eq:TrEDisc\]](#eq:TrEDisc){reference-type="ref" reference="eq:TrEDisc"}) when \[\frac{\left(\frac{\ell}{k} \right)^{n-1} + k^{n-1}}{1 + \ell^{n-1}} \approx \left( \frac{k}{\ell} \right)^{n-1} \ll e^{(1-n)( S_{BH} + \log d_i )}\] where \(e^{S_0(1-n)} Z_n / Z_1^n \sim e^{(1-n) S_{BH}}\) in the \(n\to 1^+\) limit, as discussed below ([\[eq:re-env-conn\]](#eq:re-env-conn){reference-type="ref" reference="eq:re-env-conn"}). The approximate expression is valid when \(\ell \sim O(k^2)\) or smaller. Similarly the connected contribution to \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}}\) in ([\[eq:TrIEConn\]](#eq:TrIEConn){reference-type="ref" reference="eq:TrIEConn"}) dominates the disconnected contribution in ([\[eq:TrIEDisc\]](#eq:TrIEDisc){reference-type="ref" reference="eq:TrIEDisc"}) when \[\frac{\left(\frac{\ell}{k} \right)^{n-1} + k^{n-1}}{1 + \ell^{n-1}} \approx \left( \frac{k}{\ell} \right)^{n-1} \ll e^{(1-n)( S_{BH}-\log d_i )} \label{eq:secondcondition}\] The approximate expression is again valid when \(\ell \sim O(k^2)\) or smaller. This second condition is satisfied for smaller \(\ell\) than the first condition. It can be checked that the mutual information is nonzero if the connected phase dominates just \(\mathrm{Tr}\,{\rho'}^n_{\mathfrak{R}_i,\mathfrak{R}_e,\text{env}}\). The condition ([\[eq:secondcondition\]](#eq:secondcondition){reference-type="ref" reference="eq:secondcondition"}) is satisfied when \[\ell \gg \frac{k}{d_i} e^{S_{BH}} \gg k \label{eq:thirdcondition}\] giving a precise condition on the rank of the error channel required to give an error that cannot be corrected.
### Coherent information criterion {#sec:CIcond-haar}
Alternatively we can diagnose correctability of typical errors by directly computing the Haar average of the coherent information criterion in ([\[eq:coherentinfo\]](#eq:coherentinfo){reference-type="ref" reference="eq:coherentinfo"}). A priori, this is a separate calculation from the one we discussed above, where we took the Haar average of the \(f\)-tensor before computing the gravitational path integral. Here, we will take the general correctability criterion, which in particular is nonlinear in the error channel \(U_\mathcal{E}\), and perform the Haar average. However, in the case of the \(f\)-tensor average, because we found that the microstate index structures precisely matched the two relevant ones coming from the disconnected and fully connected gravitational path integral geometries, we ought to obtain the same answer by simply averaging the coherent information. As we will now see, this is indeed what occurs, and we obtain the typical error condition [\[eq:secondcondition\]](#eq:secondcondition){reference-type="eqref" reference="eq:secondcondition"} in a more straightforward manner, without discussing gravitational path integrals. The coherent information is given by the difference of two entropies, \(S(\sigma_R)\) and \(S(\sigma_\text{env})\), where we recall that \(\sigma_R\) and \(\sigma_\text{env}\) are partial traces of \(\sigma\) \[\sigma = U_\mathcal{E} \left( \frac{1}{k} \mathbb{1}_R \otimes \ket{e_0}\bra{e_0}_\text{env} \right) U_\mathcal{E}^\dagger.\] over the complementary factor (see ([\[eq:sigmaenv\]](#eq:sigmaenv){reference-type="ref" reference="eq:sigmaenv"}) and ([\[eq:sigmaR\]](#eq:sigmaR){reference-type="ref" reference="eq:sigmaR"})). Choosing explicit bases \(\ket{\alpha}_R\) with \(\alpha = 1, \dots, k\) and \(\ket{e_m}_\text{env}\) with \(m = 1, \dots, \ell\) for the radiation and environment respectively, the reduced density matrices are \[\begin{split} \sigma_R & = \frac{1}{k} \sum_{\alpha,m} \bra{e_m} U_\mathcal{E} \ket{\alpha, e_0} \bra{\alpha, e_0} U_\mathcal{E}^\dagger \ket{e_m}, \\ \sigma_\text{env} & = \frac{1}{k} \sum_{\alpha,\beta} \bra{\beta} U_\mathcal{E} \ket{\alpha, e_0} \bra{\alpha, e_0} U_\mathcal{E}^\dagger \ket{\beta}. \end{split}\] We can compute the Haar averaged entropies by using the replica trick just as we did with the gravitational path integral. Note that here we are not actually performing any gravitational path integrals; we are simply using the replica expressions for entropies and computing their Haar averages in order to find the typical value of the coherent information for a random channel. The \(n^{\text{th}}\) Rényi coherent information with respect to the maximally mixed state is given in terms of the \(n^{\text{th}}\) Rényi entropies by \[I^{(n)}_c \left( \mathcal{E}, \frac{1}{k} \mathbb{1}_R \right) = S^{(n)}(\sigma_R)-S^{(n)}(\sigma_\text{env}).\] The necessary traces of powers of the above density matrices are given by \[\begin{split} \Tr \sigma_R^n & = \frac{1}{k^n} \sum_{\alpha_1, \cdots, \alpha_n} \sum_{\beta_1, \cdots, \beta_n} \sum_{m_1, \cdots, m_n} U^{\beta_1,e_{m_1}}_{\alpha_1,e_0} (U^\dagger)^{\alpha_1,e_0}_{\beta_2, e_{m_1}} \cdots U^{\beta_n,e_{m_n}}_{\alpha_n,e_0} (U^\dagger)^{\alpha_n,e_0}_{\beta_1, e_{m_n}}, \\ \Tr \sigma_\text{env}^n & = \frac{1}{k^n} \sum_{\alpha_1, \cdots, \alpha_n} \sum_{\beta_1,\cdots \beta_n} \sum_{m_1, \cdots, m_n} U^{\beta_1,e_{m_1}}_{\alpha_1,e_0} (U^\dagger)^{\alpha_1,e_0}_{\beta_1,e_{m_2}} \cdots U^{\beta_n,e_{m_n}}_{\alpha_n,e_0} (U^\dagger)^{\alpha_n,e_0}_{\beta_n,e_{m_1}}, \end{split}\] The Haar averages \(\overline{\Tr \sigma_R^n}\) and \(\overline{\Tr \sigma_\text{env}^n}\) can be evaluated in terms of Weingarten functions and combinations of Kronecker delta functions, as explained in Appendix [\[sec:haar\]](#sec:haar){reference-type="ref" reference="sec:haar"}. The results are \[\begin{split} \overline{\Tr \sigma_R^n} & = \frac{1}{k^{n-1}}, \\ \overline{\Tr \sigma_\text{env}^n} & = \frac{1}{\ell^{n-1}} . \end{split}\] This is sensible, as it suggests that a random unitary operator will (at leading order in \(k\) and \(\ell\)) create maximally mixed reduced states on the radiation and environment factors. Using the standard formula for the entropy in terms of these traces as described above [\[eq:entropy-diff\]](#eq:entropy-diff){reference-type="eqref" reference="eq:entropy-diff"}, we find \[\begin{split} S(\sigma_R) & = \log k, \\ S(\sigma_\text{env}) & = \log \ell. \end{split}\] Finally, the coherent information ([\[eq:coherentinfo\]](#eq:coherentinfo){reference-type="ref" reference="eq:coherentinfo"}) for a random error of fixed Kraus rank \(\ell\) acting on a radiation space of dimension \(k\) is \[I_c \left( \mathcal{E}, \frac{1}{k}\mathbb{1}_R \right) = S(\sigma_R)-S(\sigma_\text{env}) = \log \frac{k}{\ell}.\] According to this result, a random error must be of sufficient Kraus rank in order to affect the interior. In particular, utilizing [\[CIcond\]](#CIcond){reference-type="eqref" reference="CIcond"}, if \[\log \frac{k}{\ell} \ll-(S_{BH}-\log d_i)\] then the error \(\mathcal{E}\) on the interior is not quantum correctable based on our criterion on the coherent information. This result is equivalent to [\[eq:thirdcondition\]](#eq:thirdcondition){reference-type="eqref" reference="eq:thirdcondition"}, as advertised. If the Kraus rank of the randomizing error is scaling with a fractional power of the radiation dimension \(k\), for instance \(\ell \sim \sqrt{k}\), this shows that a typical random error will actually not affect the interior because the ratio \(k/\ell\) will be large, leading to a positive coherent information. This is surprising because after the Page time we have \(k \gg e^{S_0}\), and a random error with \(\ell = \sqrt{k}\) is modeled by a Stinespring dilation \(U_\mathcal{E}\) that will almost certainly have exponential quantum complexity in \(S_0\). Our result shows that such exponential complexity errors cannot affect the interior. It also shows that the erasure/SWAP example we discussed previously is somehow finely tuned, because the SWAP Stinespring dilation only requires an environment of dimension \(\ell = k\), and for this relation \(\log (k/\ell) = 0\). Of course, for \(\ell = k\) we are certainly missing contributions in our Haar integrals as we assumed either \(\ell \gg k\) or \(k \gg \ell\), so perhaps these terms provide large corrections to the coherent information for a typical error with \(\ell = k\) that brings them closer to the SWAP error. On the other hand, when the Kraus rank of the error is significantly greater than the radiation dimension, it is quite easy to affect the interior after the Page time \(k \gg e^{S_0}\), as e.g. we may take \(\ell = k^2\) maximal and then we have the condition \(\log \frac{1}{k} \ll-S_0\) which is nothing but the statement that we have passed the Page time.
# Discussion {#sec:disc}
We used a toy model for black hole evaporation in JT gravity to analyze novel quantum error correction properties of the black hole interior. Similar properties were previously proposed by Kim, Preskill and Tang on the basis of a pseudorandom encoding model for Hawking radiation, while we investigated these properties in a simple gravitational model. Modeling errors in the encoded state as quantum channels \(\mathcal{E}\), we found that any error is correctable provided (i) the channel does not have access to black hole microstate details (or more precisely, the encoding map for the code subspace), and (ii) its coherent information \(I_c\) with respect to the maximally mixed radiation state is greater than a certain (negative) lower bound set by the black hole entropy. Thus, while the black hole is macroscopic, its interior is robustly protected against generic, low-rank errors (i.e. errors whose rank is smaller than the size of the radiation Hilbert space) on the radiation. The breakdown of correctability upon violating the coherent information bound happens due to the dominance of the replica wormhole geometry in the gravitational path integral, which is the same effect that leads to restoration of the Page curve in entropy calculations.
## Robust QEC in the Python's Lunch
In this work, we have focused on the error correction properties of the black hole interior, viewed past the Page time as being encoded in the radiation bath. It is interesting to ask how the robust error correction properties of the black hole interior that we have found may generalize to other entanglement wedges. Recent work has highlighted the rich structure of entanglement wedges in AdS/CFT. Let \(A\) be a subregion, or, more precisely, the domain of dependence \(D(A)\) of a subregion \(A\), in the boundary CFT and let \({\overline{A}}\) be its complement. We can divide the entanglement wedge \(\mathcal{W}(A)\) of \(A\) in the dual geometry into two portions: (i) the *simple wedge*, i.e., the portion of \(\mathcal{W}(A)\) which lies between \(A\) and the outermost quantum extremal surface homologous to \(A\), and (ii) the *Python's Lunch*, i.e., the complement of the simple wedge inside \(\mathcal{W}(A)\). The simple wedge can further be divided into the *causal wedge*, i.e., the portion of the simple wedge which is in causal contact with \(D(A)\), and its complement inside the simple wedge. It is expected that the encoding map for semi-classical degrees of freedom in the Python's Lunch portion of an entanglement wedge will be exponentially complex, while the encoding map will not be complex in the simple wedge. Indeed, the black hole interior past the Page time is an example of a Python's Lunch, as it is hidden behind a non-minimal QES, namely the empty surface. It is natural to conjecture that in more general entanglement wedges, *the encoding of semi-classical degrees of freedom in the Python's Lunch should be robust against generic, low-rank errors on the boundary subregion \(A\).*[^8] By "generic", we mean quantum operations which do not have prior access to the details of the microscopic encoding map.[^9] In contrast, we do not expect robust quantum error correction in the simple wedge. Indeed, it is not difficult to construct examples of generic, low-rank quantum operations which corrupt the encoding of degrees of freedom in the simple wedge. For instance, in the causal wedge, even a one-qubit environment interacting with \(A\) via coupling to some single-trace operator is sufficient. Further, the entire simple wedge can be brought in causal contact with \(D(A)\) by a relatively simple unitary operation on \(A\). Our conjecture can be analysed in simplified models of holography, such as random tensor networks or fixed area states, as we will report elsewhere. It would also be interesting to understand the implications of our results in cosmological settings, de Sitter universes, and for disjoint gravitating universes that share entanglement between their degrees of freedom.
## Pseudorandomness and complexity
Our analysis of QEC in the black hole interior has relied entirely on the gravitational path integral, and provides a different perspective on the results of, where the authors relied on quantum information theory arguments together with an assumption on the pseudorandomness of the radiation density matrix. More precisely, the authors of assumed that any low-complexity (i.e., polynomial in the black hole entropy) quantum operation could not reliably distinguish the radiation density matrix from the maximally mixed state. This led them to conclude that the black hole interior was robust against low-complexity errors on the bath. On the other hand, our analysis relied upon a different key assumption: the action of the error channel \(\mathcal{E}\) should be independent of gravitational overlaps between black hole microstates \(\inner{\psi_{i,i'}^\alpha}{\psi_{j,j'}^\beta}_B\). If this assumption were violated, our calculation in Sec. [3](#sec:qec-pssy){reference-type="ref" reference="sec:qec-pssy"} would have to be modified because we would potentially need to include gravitational path integrals on additional manifolds in order compute the amplitudes associated to the action of \(\mathcal{E}\). We are thus led to conclude that the interior is robust against (low-rank) errors which do not have prior access to details of black hole microstates (or more generally, the encoding map for the code). It would be nice to further explore the connection between these two approaches. It is worth noting that in our analysis, the maximally mixed state on the radiation arises naturally as the state relative to which the coherent information of \(\mathcal{E}\) should be computed in order to determine whether or not the error is correctable. This is an output of the gravitational path integral in the specific toy model we are considering. We can interpret this maximally mixed state loosely as the semi-classical state of the radiation, analogous to Hawking's density matrix, i.e., the coarse-grained, random approximation to the true, pseudorandom density matrix on the radiation. One curious aspect which deserves further exploration, given this observation, is the following. In the toy model, the gravitational path integral is really computing an ensemble average \(\mathbb{E}[\cdot]\) over many boundary theories. The maximally mixed radiation state which appears in our criterion happens to also be the ensemble average of the microscopic radiation states in these theories, because these states depend on gravitational overlaps that will vary in each individual theory in the ensemble. So, we may write our criterion for interior state corruption as \[I_c(\mathcal{E}, \mathbb{E}[\rho_R] ) \ll-(S_{BH}-\log d_i ).\] Though a complete generalization of our criterion to include cases where \(\mathcal{E}\) has access to microstate details was beyond the scope of our work, we may conjecture that a sufficient criterion for interior state corruption that includes cases where \(\mathcal{E}\) has access to microstate details should simply move the ensemble average outside to reflect the fact that \(\mathcal{E}\) also has nontrivial ensemble dependence. \[\mathbb{E} [I_c(\mathcal{E}, \rho_R)] \ll-(S_{BH}-\log d_i) \quad \label{eq:conjecture}\] Note that in the above conjecture it is crucial that the implication is only to the right. We are not claiming that the left hand side is a necessary criterion for interior state corruption; we only mean that it may be a sufficient criterion in the presence of a channel \(\mathcal{E}\) which depends on the microstate details. This contrasts with the criterion [\[CIcond\]](#CIcond){reference-type="eqref" reference="CIcond"} derived in Sec. [3](#sec:qec-pssy){reference-type="ref" reference="sec:qec-pssy"}, which was both necessary and sufficient for interior state corruption due to our no-prior-access assumption. Indeed, the converse of [\[eq:conjecture\]](#eq:conjecture){reference-type="eqref" reference="eq:conjecture"} can be explicitly violated by a simple channel that couples a Petz operator on the radiation to a single environment qubit. Understanding [\[eq:conjecture\]](#eq:conjecture){reference-type="eqref" reference="eq:conjecture"} in greater detail could shed light on properties of the microscopic radiation state, connecting with the work of and potentially bringing complexity theory into the discussion. Indeed, a simple counterexample to our no-prior-access-to-black-hole-microstate-overlaps assumption would be a channel which uses the Petz reconstruction of bulk operators on the radiation; however it seems plausible that such channels are exponentially complex, and therefore also violate the assumptions of. Analyzing such channels which are allowed to access the microscopic state details in a controlled manner provides an avenue for connecting our assumptions with the pseudorandomness ideas of . In this language, the interesting question to ask is: what properties of the channel \(\mathcal{E}\) with access to microstate details allow it to corrupt the interior while violating the left hand side of [\[eq:conjecture\]](#eq:conjecture){reference-type="eqref" reference="eq:conjecture"}? It would be good to make a more precise connection between the pseudorandomness assumption of KPT and the assumptions which have gone into the present analysis, perhaps through an analysis of channels which are allowed to access the microscopic state details, as our setup allows us to relax the no-prior-access assumption in a controlled manner, while relaxing the pseudorandom assumption of KPT seems difficult.
## Implications for semi-classical causality
We found that an error channel acting on the radiation can affect the black hole interior if it has a sufficiently negative coherent information. This situation can arise when the Euclidean gravity path integral associated to the error channel is dominated by wormhole contributions. Some of the expected properties of effective field theories can be challenged by the presence of such wormholes. We focus here on semi-classical causality in the black hole spacetime, which states that an interior EFT operator \(\phi\) should commute with EFT operators \(\mathcal{Q}_R\) acting on the radiation: \[= 0. \label{eq:microcausal}\] This expression, much like the notion of bulk radial locality in AdS/CFT, ought to hold at least in a code subspace of the physical Hilbert space. However, after the Page time, the interior is located within the entanglement wedge of \(R\), and therefore we may reconstruct logical operators such as \(\phi\) using operators which act only on \(R\) in the physical Hilbert space. So, it is not obvious whether microcausality in the sense of [\[eq:microcausal\]](#eq:microcausal){reference-type="eqref" reference="eq:microcausal"} will still be respected, even in the code subspace. To check this, we must compute the commutator in the physical Hilbert space, using a global representation of \(\phi\). By global representation, we mean a representation of \(\phi\) which acts on the physical Hilbert space \(\mathcal{H}_B \otimes \mathcal{H}_R\). In place of the radiation operator \(\mathcal{Q}_R\), we will use the Kraus operators \(E_n\), which model operations we can perform on the Hawking quanta in the radiation. Correctability of the set of errors \(\mathcal{E}=\{E_m\}\) has an important implication for this issue, namely consistency with the semi-classical causal structure of the black hole spacetime. Let \(\phi\) be a bulk operator in the code subspace localized in the black hole interior, \[\phi = \sum_{k'=1}^{d_e} \sum_{i,j=1}^{d_i} \phi_{ij} \ket{i,k'}\bra{j,k'}_{\text{int},\text{ext}} \,.\] This is localized on the interior because we have traced over the exterior factor of the Hilbert space; in other words \(\phi\) acts as the identity on \(\mathcal{H}_\text{ext}\). Recalling that the action of the encoding map is \(V\ket{i,i'}_\text{bulk EFT} = \ket{\Psi_{i,i'}}_{B,R}\), let \(\mathcal{O}\), the "global" representation of \(\phi\) on the physical Hilbert space \(\mathcal{H}_\text{phys} = \mathcal{H}_B \otimes \mathcal{H}_R\), be \[\label{GR} \mathcal{O} = V\phi V^{\dagger} = \sum_{k'} \sum_{i,j}\phi_{ij}|\Psi_{i,k'}\rangle\langle \Psi_{j,k'}|_{B,R}.\] By global representation we simply mean the explicit lift of \(\phi\) to an operator \(\mathcal{O}\) on \(\mathcal{H}_\text{phys}\) via conjugation by the encoding map \(V\). The exact correctability of \(\mathcal{E}\) is equivalent to the Knill-Laflamme conditions [\[KLcond1\]](#KLcond1){reference-type="eqref" reference="KLcond1"}: \[P E_m^{\dagger}E_n P = V( \mathbb{1}^{(\text{int})}\otimes B^{(\text{ext})}_{mn})V^\dagger,\;\;\;\forall m,n, \label{eq:KLcond2}\] where the operators \(B^{(\text{ext})}_{mn}\) are analogous to those appearing in [\[KLcond1\]](#KLcond1){reference-type="eqref" reference="KLcond1"} and \(P = \sum_{i,i'} \ket{\Psi_{i,i'}}\bra{\Psi_{i,i'}}_{B,R}\) is a projector onto the code subspace. Since \(\mathcal{O}\) is localized on the interior factor on the code subspace, the isometry \(V\) by definition obeys \(V^\dagger V = \mathbb{1}_{\text{int},\text{ext}}\), and the combination \(PE_m^\dagger E_n P\) acts as the identity on \(\mathcal{H}_\text{int}\) after conjugation by \(V\) [\[eq:KLcond2\]](#eq:KLcond2){reference-type="eqref" reference="eq:KLcond2"}. So we find \[\left[\mathcal{O}, P E_m^{\dagger}E_n P\right] =0,\;\;\;\forall m,n \,.\] This is an operator algebra restatement of the error correction conditions. From equation [\[GR\]](#GR){reference-type="eqref" reference="GR"}, we also observe that \(\mathcal{O}\) commutes with the code subspace projector \(P= VV^\dagger\) and so this condition translates to \[P\left[\mathcal{O}, E_m^{\dagger}E_n \right] P=0,\;\;\;\forall m,n.\] Suppose the class of errors \(\mathcal{E}=\{E_m\}\) includes an operator proportional to the identity, and, if not, extend it with such an operator. Now require correctability under the extended set ). Then the Knill-Laflamme conditions immediately imply \[P\left[\mathcal{O}, E_n \right] P=P\left[\mathcal{O}, E_n^{\dagger} \right] P= 0,\;\;\;\forall n, \label{eq:code-subspace-causality}\] and so the Kraus operators respect the semi-classical causal structure of the black hole spacetime within the code subspace. Thus, any correctable quantum operation \(\mathcal{E}\) on the radiation bath will respect semi-classical causality with respect to operators in the black hole interior. For a correctable quantum operation to violate semi-classical causality, it therefore seems to need prior access to black hole microstate details through the overlaps \(\inner{\psi_{i,i'}^\alpha}{\psi_{j,j'}^\beta}\), which would modify the results we obtained in Sec. [3](#sec:qec-pssy){reference-type="ref" reference="sec:qec-pssy"}. On the other hand, the failure of correctability due to a large Kraus rank for \(\mathcal{E}\) *does not* necessarily imply a violation of causality, for example if the information is simply moved to another physical environment. In that case the original representation of \(\mathcal{O}\) on \(B\cup R\), the union of of the quantum system dual to the black hole and the radiation bath, fails to reconstruct the bulk operator in the interior. One must instead construct interior operators on the joint system \(B\cup R\cup \text{env}\). The global representation of \(\phi\) need not commute with errors that are uncorrectable, as our derivation above concerning semi-classical causality relied on the Knill-Laflamme conditions for correctability. A way out of this apparent violation of causality may be that the global representation of \(\phi\) is simply inaccessible to any reasonable observer living in the radiation. In that case, violation of causality for observers in the radiation would not be diagnosed by non-commutation of the Kraus operators with the global representation. Instead causality would be violated for such observers if the Kraus operators did not commute with a representation of \(\phi\) which lives purely on the radiation Hilbert space. We will now demonstrate that, at least for one particular such representation, semi-classical causality is indeed never violated. An explicit example of such a representation on \(R\) alone is the Petz reconstruction \[\mathcal{O}_\text{Petz} = \mathcal{E}(P)^{-1/2}\mathcal{E}(V\phi V^{\dagger})\,\mathcal{E}(P)^{1/2}.\] This operator makes explicit use of the quantum error channel acting exclusively on the radiation. If there is no recovery channel, i.e., if the error cannot be corrected, then the Petz operator will vanish. This is the case, for example, before the Page time. Thus, this operator respects causality, because it vanishes precisely when the channel is not correctable. It is possible for this to happen because operator makes explicit use of the known error channel. When the error is correctable, the Petz operator has code subspace matrix elements which match the global reconstruction, and so causality is ensured in this case as well, because by ([\[eq:code-subspace-causality\]](#eq:code-subspace-causality){reference-type="ref" reference="eq:code-subspace-causality"}) the Kraus operators will also commute with \(\mathcal{O}_{\text{Petz}}\) in the code subspace. When the error channel is correctable, \(\phi\) and \(\mathcal{O}_{\text{Petz}}\) are identical as operators acting on the code subspace. The global representation, on the other hand, is always nonzero on the physical Hilbert space if the bulk EFT operator \(\phi\) is nonzero, and the Knill-Laflamme conditions are not enough to ensure causality for such operators. The bottom line is that an operator represented purely on the radiation with access to the error channel, such as the Petz operator, may be constructed to vanish when the error may violate semi-classical causality with respect to the global representation, thus ensuring that this weaker version of semi-classical causality is preserved. | {'timestamp': '2022-03-07T02:00:55', 'yymm': '2203', 'arxiv_id': '2203.01961', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01961'} |
null | null |
null | null |
# Introduction
Energy calibration is the first and most essential step in a newly installed accelerator facility. There are several experiments performed by different accelerator facilities across the globe for energy calibration such as \(^{7}Li(p,n)\), \(^{13}C(p,n)\), \(^{27}Al(p,n)\), \(^{27}Al(p,\gamma)\), \(^{19}F(p,n)\) etc.. Among which neutron emitting reactions are very popular due to their relatively easier detections. Every neutron producing reaction has a particular energy, called neutron threshold energy which is the minimum required energy of the incident beam to produce neutron. The present study has been done keeping in mind the Facility for Research in Experimental Nuclear Astrophysics (FRENA) located at Saha Institute of Nuclear Physics, INDIA. FRENA is a 3 MV Tandetron low energy high current accelerator dedicated for low energy Nuclear Astrophysics research. This is a new machine and energy calibration is needed before doing any experiment. Few neutron-producing reactions are generally chosen for calibration purposes. Neutrons generated from such experiments can interact with any elements present in the accelerator hall and produce different isotopes. Now, if produced isotopes are radioactive in nature and have a long half-life (for few months to several years) then those isotopes will contribute as background gamma peaks in the next performing experiments. These background peaks will overlap with the gammas from the actual experiments if the energy of those background gammas is very close to the gammas from actual astrophysical experiments. A systematic study has been done for all the possible radioactive isotopes that may produce during some experiments which are planned to perform in FRENA for energy calibration of the machine.
# Energy calibration for FRENA accelerator
The terminal voltage of FRENA can be varied from 200 kV to 3 MV. The energy of the charged particle produced in the ion source is accelerated by this terminal voltage. The energy of any charged particle in a potential difference is given by the relation: \[E_{particle} = (q+1) \times V.\] Where, \(E_{particle}\) is the charged particle energy, q is the charge state of the projectile, V is the terminal voltage. In practical cases, the accelerated charge passes through several magnetic fields and finally bombard into a target material. Since every machine has some intrinsic deviation from the ideal value. Energy needs to be calibrated so that a more accurate relation between terminal voltage and beam energy can be established for this particular machine.\
# Results for different calibration reactions
In FRENA, available proton energy varies from 400 keV to 6 MeV. For energy calibration purposes, those (p,n) experiments (Table. 1) are chosen for which neutron threshold energy lies within the available energy at FRENA.
Most of the components of the accelerators are made of 304 and 316 Stainless steel alloy along with copper (Cu) and Tantalum (Ta). Apart from that Zirconium (Zr), Aluminium (Al), Calcium (Ca), Silicon (Si) and Oxygen (O) are also present in the vicinity. Chemical composition for 304 and 316 stainless steel alloys along with maximum % are listed in Table. 2 and Table. 3.
Reaction cross-section of isotopes present in the vicinity with produced neutrons from calibration experiments are calculated using a Hauser-Feshbach statistical model code TALYS 1.95. In this study, channels having cross-sections less than \(10^{-7}\) mb are not considered. Gamma decay schemes of every produced isotope are taken from National Nuclear Data Center (NNDC). Radioactive isotopes produced by neutrons having a half-life of around 3 months or more are considered. Gammas having a relative intensity of more than 1% from those radioactive isotopes are listed in this study.
## \(^{7}Li(p,n)\) reaction:
\(^{7}Li(p,n)\) is one of the most common experiments done for energy calibration at accelerator facilities. Proton beam of energy 1.88036 MeV was considered for this study (Table. 1). From kinematics neutron energy for that particular proton beam energy has been calculated and it was found to be between 20-42 keV. In calculations, only maximum and minimum values of neutron energy are considered. For the interaction of produced neutron, all the stable isotopes of the elements present in the vicinity are considered.\
Table. 4 also shows isotopic abundance in nature, reaction product, and its formation cross-section along with gamma energy and corresponding relative intensities are also listed.
## \(^{13}C(p,n)\) reaction:
A proton beam of energy 3.2355 MeV was considered for the study of this reaction (Table. 1). From kinematics neutron energy for that particular proton beam energy has been calculated and it was found to be between 11-24 keV.
## \(^{19}F(p,n)\) reaction:
Neutron threshold energy for this reaction is 4.23513 MeV. Proton of that energy is considered for this calculation. Neutrons emitted from this reaction ranges between 4 to 20 keV.
## \(^{27}Al(p,n)\) reaction:
A proton of energy 5.80362 MeV was considered for this study (Table. 1). From kinematics available neutron energy for that particular proton beam energy is between 0-30 keV. Kinematics calculations show that neutron energy for all reactions mentioned above is within the 10 to 40 keV range. Cross-sections of different stable isotopes present in the vicinity of the accelerator hall with the produced neutrons from the calibration reactions are listed in Table. 4. Half-lives of reaction products, daughter nucleus with corresponding gamma energies having relative intensities greater or equal to 1 are also listed in the table.
# Discussion and conclusion
In this work, a systematic detailed study has been done to identify any possible long-lived gamma emitting isotopes formed during the calibration study. Apart from the above listed isotopes two more isotopes \(^{100}Mo\) and \(^{180m}Ta\) (0.077 MeV, 9-) are produced in the vicinity during the energy calibration. These two isotopes have no decay record in NNDC. Decay of \(^{180m}Ta\) having half-life \(>4.5 \times 10^{16} y\) has never been observed till date [@Ref7]. \(^{100}Mo\) having half-life \(6.8 \times 10^{18} y\) undergoes two-neutrino double \(\beta\)-decay. Reaction products such as \(^{55}Fe\), \(^{59}Ni\), \(^{45}Ca\), \(^{93}Mo\), \(^{93}Zr\) have half-lives much greater than 3 months but intensities of gammas from those nuclei have very low intensity. Isotopes like \(^{63}Ni\), \(^{14}C\), \(^{35}S\), \(^{41}Ca\) have significantly long half-lives. These isotopes undergo \(\beta-\) decay, with no record of any gamma decay channel in NNDC. This study shows that experiments mentioned above for the energy calibration purpose are producing only \(^{182}Ta\) which has significant long-lived activity (114.72 days) and decay gamma over a wide range of energies (60-1300 keV) with an intensity of more than 1%. several gamma energy over a wide range. Gamma of energies 1121.29, 1189.04, 1221.395, 1231.004 keV having intensities 35.24, 16.49, 11.23, 11.62 respectively can have a significant effect on experimental data if performed just after the calibration experiments. Nuclear astrophysics experiments detecting gamma after the calibration study needs to be spaced enough to minimize the effect of such background gammas from long-lived isotopes especially if the expected gamma energy of the performing experiments overlap with the background energy.\ | {'timestamp': '2022-03-07T02:02:48', 'yymm': '2203', 'arxiv_id': '2203.01995', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01995'} |
null | null |
# Introduction
Many complex and significant optimization problems (such as all of Karp's 21 NP-complete problems , the travelling salesman problem , the protein folding problem , financial portfolio management ) can be mapped into the problem of finding the ground state of the Ising spin-glass. Sophisticated and promising new methods for solving Ising instances rely on quantum computation, particularly quantum annealing. Quantum annealing is a form of quantum computing particularly well-tailored for optimization . It is closely related to adiabatic quantum computation , a paradigm of universal quantum computation which relies on the adiabatic theorem to perform calculations. It is equivalent (up to polynomial overhead) to the better-known gate model of quantum computation . Nevertheless, commercially available quantum annealers (i.e., D-Wave) are prone to various errors, and their ability to find low energetic states is limited. Inspired by the recently proposed deep reinforcement learning method for finding spin glass ground states , here, we propose a new post-processing error correction schema for quantum annealers called Simulated Annealing with Reinforcement (SAwR). In this procedure, we combine deep reinforcement learning with simulated annealing. We employ a graph neural network to encode the Ising instance into an ensemble of low-dimensional vectors used for reinforcement learning. The agent learns a strategy for improving (finding a lower energy state) solutions given by the physical quantum annealer. The process of finding the lower energy state involves \"flipping\" spins one by one according to the learned strategy and recording the energy state after each step. The solution is defined as the lowest energy state found during this procedure. In Simulated Annealing with Reinforcement, we start with simulated annealing and, at low temperature, we replace the Metropolis-Hasting criterion with a single pass of spin flipping procedure. Unlike recent error-correcting schema we do not utilize multiple physical qubits for representing single logical qubits. This approach allows for a far greater size of problems to which our method applies. However, the performance of SAwR is still inferior to a typical algorithm one could incorporate in this context, such as simulated annealing. Nevertheless, using reinforcement learning for post-error correction is still an open and promising avenue of research.
# Ising Spin Glass and Quantum Annealing
## Quantum Annealing in D-Wave
The Ising problem is defined on some arbitrary simple graph \(G\). An Ising Hamiltonian is given by: \[\label{ising} H_{\text{Ising}}(\sigma) = \sum_{\langle i,j \rangle \in G} J_{i,j} \sigma_i \sigma_j + \sum_{i} h_i \sigma_i,\] where \(\sigma_i \in \{+1,-1\}\) denotes the \(i\)-th Ising spin, \(\sigma = \{ \sigma_1, \ldots, \sigma_n \}\) is the vector representation of a spin configuration. \(\langle i,j \rangle\) denotes neighbours in graph \(G\), \(J_{i,j}\) strength of interaction (coupling coefficient) between \(i\)-th and \(j\)-th spin. \(h_i\) is external magnetic field (bias) affecting \(i\)-th spin. The goal is to find spin configuration, called ground state, \[\label{goal} \sigma^{*} = \argmin_{\sigma} \, H_{\text{Ising}}(\sigma).\] such that energy of \(H_{\text{Ising}}\) is minimal. This is an NP-hard problem. Quantum annealing is a method for finding the ground state of ([\[ising\]](#ising){reference-type="ref" reference="ising"}). This is done by adiabatic evolution from the initial Hamiltonian \(H_X\) of the Transverse-field Ising model to the final Hamiltonian \(H_{\text{Ising}}\). The Hamiltonian of this process is described by \[\mathcal{H}(t) = A(t)H_{X} + B(t)H_{\text{Ising}},\] where \(H_X = \sum_i \hat{\sigma_i}^x\) and \(\hat{\sigma_i}^x\) is the standard Pauli \(X\) matrix acting on the \(i\)-th qubit. The function \(A(t)\) decreases monotonically to zero, while \(B(t)\) increases monotonically from zero, with \(t \in [0, t_f]\), where \(t_f\) denotes total time of anneal . For a closed system, the adiabatic theorem guarantees that if the initial state is the ground state, then the final state will be arbitrarily close to the ground state, provided all technical requirements are met . In summary, the systems start with a set of qubits, each in a superposition state of \(-1\) and \(1\). By annealing, the system collapses into the classical state that represents the minimum energy state of the problem, or one very close to it. The D-Wave 2000Q is a psychical realization of the quantum annealing algorithm. Sadly, the idealized conditions of the adiabatic theorem are nearly impossible to be realized in a physical device. In such an open system, there is inevitable thermal noise which may cause decoherence . Furthermore, due to technical limitations, those device suffers from programming control errors on the \(h_i\) and \(J_{i,j}\) terms, which can unintentionally cause the annealer to evolve according to the wrong Hamiltonian .
## D-Wave 2000Q
At the heart of every D-wave quantum annealer lies the Quantum Processing Unit (QPU), which is a lattice of interconnected qubits. While its physical details are beyond the scope of this paper[^1], it is necessary to mention some technical details. In QPU, qubits can be thought of as loops being \"oriented\" vertically or horizontally (see figure [\[qubits\]](#qubits){reference-type="ref" reference="qubits"}) and connected to each other via devices called couplers. How qubits and couplers are interconnected is described by QPU topology. As of the time of writing, there are two available architectures of D-Wave quantum annealers, namely 2000Q with Chimera topology deployed in 2017 and Advantage with Pegasus topology deployed in 2020. Third, called Advantage 2 with Zephyr topology is stated to release in 2023-2024 . In this work, we will focus on the 2000Q device and Chimera topology.
### Chimera Topology
The basic building block of Chimera topology is a set of connected qubits called a unit cell. Each unit cell consists of four horizontal qubits connected to four vertical qubits via couplers which form bipartite connectivity as seen in figure [\[unit_cell\]](#unit_cell){reference-type="ref" reference="unit_cell"}. Unit cells are tiled vertically and horizontally with adjacent qubits connected, creating a lattice of sparsely connected qubits. It is conceptually valuable to categorize couplers into *internal couplers* which connect intersecting (orthogonal) qubits and *external couplers* which connect colinear pairs of qubits (that is, pairs of qubits that lie in the same row or column). The notation \(C_n\) describes the Chimera grid composed of \(n \times n\) coupled unit cells, consisting of \(8n^2\) qubits. D-Wave 2000Q device is equipped with \(C_{16}\) QPU, with more than 2000 qubits .
# Results
## Reinforcement Learning Formulation
We will consider standard reinforcement learning setting defined as Markov Decision Process where an agent interacts with an environment over a number of discrete time steps \(t = 0,1, \ldots, T\). At each time step \(t\), the agent receives a state \(s_t\) and selects an action \(a_t\) from some set of possible actions \(\mathcal{A}\) according to its policy \(\pi\), where \(\pi\) is a mapping from set of states \(\mathcal{S}\) to set of actions \(\mathcal{A}\). In return, the agent receives a scalar reward \(r_t\) and moves to next state \(s_{t+1}\). The process continues until the agent reaches a terminal state \(s_T\) after which the process restarts. We call one pass of such process an episode. The return at time step \(t\), denoted \(R_t = \sum_{k=0}^{T-t} \gamma^k r_{t+k}\) is defined as sum of rewards that agent will receive for rest of the episode discounted by discount factor \(\gamma \in (0, 1]\). The goal of the agent is to maximize the expected return from each state \(s_t\). We will start by defining state, action, and reward in the context of the Ising spin-glass model.
- **State**: a state \(s\) represents the observed spin glass instance, including both the spin configuration \(\sigma\), the coupling strengths \(\{ J_{ij} \}\) and values of external magnetic field \(\{ h_i \}\).
- **Action**: an action \(a^{(i)}\) means to flip spin \(i\). By flipping spin we mean changing is value to opposite. For example, after agent performs action \(a^{(i)}\), spin \(\sigma_i = 1\) becomes \(\sigma_i =-1\). Agent can flip each spin once.
- **Reward**: the reward \(r(s_t; a^{(i)}_t; s_{t+1})\) is defined as the energy change after flipping spin \(i\) from state \(s_t\) to a new state \(s_{t+1}\).
Starting at \(t = 0\), an agent flips one spin during each time step, which moves him to the next state (different spin configuration). The terminal state \(s_T\) is met when the agent has flipped each spin. The solution is defined as spin configuration \(\sigma\) corresponding lowest energy state found during this procedure. An action-value function \(Q^{\pi}(s,a) = \mathbb{E}(R_t ~\vert~ s_t = s,~ a_t = a)\) is the expected return for selecting action \(a\) in state \(s\) and following policy \(\pi\). The value \(Q^{\pi}(s,a)\) is often called \(Q\)-value of action \(a\) in state \(s\). The optimal action-value function \(Q^{*}(s,a) = \max_{\pi} Q^{\pi}(s,a)\) which gives the maximum action value for state \(s\) and action \(a\) achievable by any policy. As learning optimal action-value function is in practice infeasible, We seek to learn function approximator \(Q(s,a;\Theta) \approx Q^{*}(s,a)\) where \(\Theta\) is set of learnable model parameters. We denote policy used in such aproximation as \(\pi_{\Theta}\).
## Model Architecture
Our model architecture is inspired by DIRAC (**D**eep reinforcement learning for sp**I**n-glass g**R**ound-st**A**te **C**alculation), an Encoder-Decoder architecture introduced in . It exploits the fact that the Ising spin-glass instance is wholly described by the underlying graph. In this view, couplings \(J_{i,j}\) become edge weights, external magnetic field \(h_i\) and spin \(\sigma_i\) become node weights. Employing DIRAC is a two-step process. At first, it encodes the whole spin-glass instance such that every node is embedded into a low-dimensional vector, and then the decoder leverages those embeddings to calculate the \(Q\)-value of every possible action. Then, the agent chooses the action with the highest \(Q\)-value. In the next sections, We will describe those steps in detail.
### Encoding
As described above, the Ising spin-glass instance can be described in the language of graph theory. It allows Us to employ graph neural networks , which are neural networks designed to take graphs as inputs. We use modified SGNN (**S**pin **G**lass **N**eural **N**etwork) to obtain node embedding. To capture the coupling strengths and external field strengths (i.e., edge weights \(J_{i,j}\) and node weights \(h_i\)), which are crucial to determining the spin glass ground states, SGNN performs two updates at each layer, specifically, the edge-centric update and the node-centric update, respectively. Lets \(z_{(i,j)}\) denote embedding of edge \((i,j)\) and \(z_{(i)}\) embedding of node \(i\). The edge-centric update aggregates embedding vectors from from its adjacent nodes (i.e. for edge \((i,j)\) this update aggregate emmbedings \(z_{(i)}\) and \(z_{(j)}\)), and then concatenates it with self-embedding \(z_{(i,j)}\). Vector obtained in this way is then subject to non-linear transformation (ex. ReLU\((x)= \max(0,x)\)). Mathematically it can be described by following equation \[\label{edge} z_{(i,j)}^{k+1} = \text{ReLU}(\gamma_{\theta} (z_{(i,j)}^{k}) \oplus \phi_{\theta}(z_{(i)}^{k} + z_{(j)}^{k})),\] where \(z_{(i,j)}^{k}\) denotes encoding of edge \((i,j)\) obtained after \(k\) layers. Similary \(z_{(i)}^{k}\) denotes encoding of node \(i\) obtained after \(k\) layers, \(\gamma_{\theta}\) and \(\phi_{\theta}\) are some differentiable functions (ex. feed-foward neural networks) whih demends on set of paramethers \(\theta\). Symbol \(\oplus\) is used to denote concatenation operation. The node-centric update is defined in similar fashion. It aggregates embedding of adjacent edges, and then concatenates it with self-embedding \(z_{(i)}\). Later we transform this concatenated vector to obtain final embedding. Using notation from equation [\[edge\]](#edge){reference-type="ref" reference="edge"}, final result is following: \[z_{(i)}^{k+1} = \text{ReLU}(\phi_\theta(z_{(i)}^k) \oplus \gamma_\theta(\text{E}_i^k)),\] \[\text{E}_i^k = \sum_{j} z_{(i, j)}^k.\] Edge features are initialized as edge weights \(\{J_{i,j}\}\). It is not trivial to find adequate node features, as node weights \(\{h_i \}\) and spins \({\sigma_i}\) are not enough. It is worth noting that both those operations are *message passing* schema . Edge-centric update aggregate information about adjacent nodes of edge and edge itself and sends it as a \"message\" to this edge. Similarly, node-centric update aggregate information about edges adjacent to the node and the node itself. In those edges are also encoded information about neighbouring nodes. We also included pooling layers not presented in the original design. We reasoned that after concatenation, vectors start becoming quite big, so we employ pooling layers to not only reduce the model size but also preserve the most essential parts of every vector. As every node is a potential candidate for action, we call the final encoding of node \(i\) its *action embedding* and denote it as \(Z_i\). To represent the whole Chimera (state of our environment), we use *state embedding*, denoted as \(Z_s\), which is the sum over all node embedding vectors, which is a straightforward but empirically effective way for graph-level encoding .
### Decoding
Once all action embeddings \(Z_i\) and state embedding \(Z_s\) are computed in the encoding stage, the decoder will leverage these representations to compute approximated state-action value function \(Q(s, a;\Theta)\) which predicts the expected future rewards of taking action \(a\) in state \(s\), and following the policy \(\pi_{\Theta}\) till the end. Specifically, we concatenate the embeddings of state and action and use it as decoder input. In principle, any decoder architecture may be used. Here, we use a standard feed-forward neural network. Formally, the decoding process can be written as: \[Q(s, a^{(i)}; \Theta) = \psi_{\Theta}(Z_s \oplus Z_i),\] where \(\psi_{\Theta}\) is a dense feed-forward neural network.
## Training
We train our model on randomly generated Chimera instances. We found that the minimal viable size of the training instance is \(C_3\) (as a reminder, \(C_3\) is Chimera architecture with nine unit cells arranged into a \(3 \times 3\) grid, which gives us 72 spins). Smaller instances lack couplings between clusters, crucial in full Chimera, which leads to poor performance. We generate \(\{ J_{i,j}\}\) and \(\{ h_i\}\) from normal distribution \(\mathcal{N}(0,1)\) and starting spin configuration \(\sigma\) from uniform distribution. To introduce low-energy instances, we employed the following pre-processing procedure. For each generated instance, with probability \(p=10\%\), we perform standard simulated annealing before passing the instance through SGNN. We seek to learn approximation of optimal action-value function \(Q(a,s;\Theta)\), so as reinforcement learning algorithm we used standard n-step deep \(Q\) learning with memory replay buffer. During episode we collect sequence of states action and rewards \(\tau = (s_0, a_0, r_0, \ldots, s_{T-1}, a_{T-1}, r_{T-1}, s_T)\) with terminal state as final element. From those we construct \(n\)-step transitions \(\tau^{n}_{t} = (s_t, a_t, r_{t,t+n}, s_{t+n})\) which we collect in memory replay buffer \(\mathcal{B}\). Here \(r_{t,t+n} = \sum_{k =0}^{k=n} \gamma^{k} r_{t+k}\) is return after \(n\)-steps.
## Simulated Annealing with Reinforcement
Simulated annealing with reinforcement (SAwR) combines machine learning and classical optimization algorithm. Simulated annealing (SA) takes its name from a process in metallurgy involving heating a material and then slowly lowering the temperature to decrease defects, thus minimizing the system energy. In SA, we start in some state \(s\) and in each step, we move to a randomly chosen neighboring state \(s'\). If a move lowers energy \(E(s)\) of the system, we accept it. If it doesn't, we use the so-called the Metropolis-Hasting criterion. \[\mathbb{P}(\text{accept} \, s' ~\vert~ s) = \min (1, e^{-\beta \Delta E}),\] where \(\Delta E = E(s')-E(s)\) and \(\beta\) denotes inverse temperature \(1/T\). In our case, the move is defined as a single-spin flip. Simulated annealing tends to accept all possible moves at high temperatures (i.e., lower \(\beta\)). However, it likely accepts only those moves that lower the energy at low temperatures. Our idea is to reinforce random sampling with a trained model. It means that at low temperatures, instead of using the Metropolis-Hasting criterion, we perform a single pass of the DIRAC episode.
# Experiments
We collected data from the D-Wave 2000Q device using default parameters (number of samplings, annealing time, etc.). We have generated 500 random instances of sizes \(C_4\), \(C_8\), \(C_{12}\) and \(C_{16}\), corresponding to systems of sizes 128, 512, 1152 and 2048 spins respectively. We used identical distributions to training instances, so \(\{ J_{i,j}\}\) and \(\{ h_i\}\) was generated from normal distribution \(\mathcal{N}(0,1)\) and starting spin configuration \(\sigma\) from uniform distribution. We then used quantum annealing to obtain the low energy states of generated instances. We have used three methods-standard simulated annealing, a single pass of spin-flipping procedure and simulated annealing with reinforcement. Results are shown in figures [\[a\]](#a){reference-type="ref" reference="a"} and [\[b\]](#b){reference-type="ref" reference="b"}. We tested for two metrics: the probability of finding lower energy states and the mean value of an improvement over starting energy state. To compute the probability for each Chimera size, we started with proposed solutions obtained from quantum annealer and tried to lower them using different tested methods. Then we counted those instances for which a lower energy state was found. We define the value of the improvement as the difference between starting energy state and the lowest energy state found by the tested method in abstract units of energy. Simulated annealing with reinforcement achieved lower probabilities of finding a lower energy state. Although the difference between SAwR and traditional simulated annealing is slight, its consistency across all sizes suggests that it is systemic rather than random noise. The single pass of the spin-flipping procedure was the order of magnitude worse, reaching approximately \(1\%\) success rate. It is interesting that, on average, SAwR was able to find a better low energy state than simulated annealing, but still, the difference is not significant.
# Discussion and Further Work
The real-life Chimera graph is a much more complex problem than the regular lattice employed in , which may be the reason for poor performance. However, we managed to replicate the excellent scaling of DIRAC. We trained our model on relatively small instances and employed it for large ones. We did not observe significant differences in performance relative to the size of the system. Much more work is needed because more complex architectures are deployed (Pegasus, Zephyr) by D-wave systems. One possible avenue of research is changes in architecture. Right now goals of the encoder and decoder are quite different. The encoder tries to encode information while the decoder leverages them for reinforcement learning. Training them both at the same time might be difficult. One option is to divorce them from a single architecture. For example, we may use graph autoencoder to train the encoder. Then for the reinforcement learning part, we would use an already trained encoder and train only the neural network responsible for approximating the action-value function. Another option is to use different reinforcement learning algorithms. Asynchronous methods have been shown to consistently beat their synchronous counterparts, especially asynchronous advantage actor-critic , but asynchronous Sarsa or Q-learning also look promising. Methods based on Monte Carlo tree search inspired by AlphaZero also seems promising. It has shown excellent performance on tasks involving large search space (ex. Chess, Go). | {'timestamp': '2022-03-16T01:28:39', 'yymm': '2203', 'arxiv_id': '2203.02030', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02030'} |
# Introduction
Explaining the origin of the elements is one of the scientific triumphs linking nuclear physics with astrophysics. As Fred Hoyle predicted, carbon and heavier elements ('metals' in astrophysics) were not produced during the Big Bang but instead created inside stars. So-called \(\alpha\) elements (O, Ne, Mg, Si, S, Ar, and Ca) are mainly produced by core-collapse supernovae, while iron-peak elements (Cr, Mn, Fe, and Ni) are more produced by thermonuclear explosions, observed as Type Ia supernovae (SNe Ia; @kob20sr, hereafter K20). The production depends on the mass of white dwarf (WD) progenitors, and a large fraction of SNe Ia should come from near-Chandrasekhar (Ch) mass explosions (see @kob20ia for constraining the relative contribution between near-Ch and sub-Ch mass SNe Ia). Among core-collapse supernovae, hypernovae (\(\gtsim 10^{52}\) erg) produce a significant amount of Fe as well as Co and Zn, and a significant fraction of massive stars (\(\gtsim 20M_\odot\)) should explode as hypernovae in order to explain the Galactic chemical evolution (GCE; @kob06, hereafter K06). Heavier elements are produced by neutron-capture processes. The slow neutron-capture process (s-process) occurs in asymptotic giant branch (AGB) stars, while the astronomical sites of rapid neutron-capture process (r-process) have been debated. The possible sites are neutron-star (NS) mergers, magneto-rotational supernovae, magneto-rotational hypernovae/collapsars, and common envelope jets supernovae. Light neutron-capture elements (e.g., Sr) are also produced by electron-capture supernovae (ECSNe, @wan13ecsn), \(\nu\)-driven winds, and rotating-massive stars. The cycles of chemical enrichment are schematically shown in Figure [\[fig:intro\]](#fig:intro){reference-type="ref" reference="fig:intro"}, where each cycle produces different elements and isotopes with different timescales. In a galaxy, not only the total amount of metals, i.e. metallicity \(Z\), but also elemental abundance ratios evolve as a function of time. Therefore, we can use all of this information as fossils to study the formation and evolutionary histories of the galaxy. This approach is called Galactic archaeology, and several on-going and future surveys with multi-object spectrographs (e.g., APOGEE, HERMES-GALAH, Gaia-ESO, WEAVE, 4MOST, MOONS, Subaru Prime Focus Spectrograph (PFS), and Maunakea Spectroscopic Explorer (MSE)) are producing a vast amount of observational data of elemental abundances. Moreover, integral field unit (IFU) spectrographs (e.g., SAURON, SINFONI, CALIFA, SAMI, MaNGA, KMOS, MUSE, and HECTOR) allow us to measure metallicity and elemental abundance ratios within galaxies. It is now possible to apply the same approach not only to our own Milky Way but also to other types of galaxies or distant galaxies. Let us call this extra-galactic archaeology. One of the most important uncertainties in this quest is the input stellar physics, namely, the nucleosynthesis yields, which could directly affect conclusions on the formation and evolutionary histories of galaxies. In this review, I will focus on the impact of stellar mass loss due to stellar rotation in Galactic and extra-galactic archaeology.
# Galactic chemical evolution {#sec:gce}
Galactic chemical evolution (GCE) has been calculated analytically and numerically using the following equation: \[\label{eq:gce} \frac{d(Z_if_{\rm g})}{dt}=E_{\rm SW}+E_{\rm SNcc}+E_{\rm SNIa}+E_{\rm NSM}-Z_i\phi+Z_{i,{\rm inflow}}R_{\rm inflow}-Z_iR_{\rm outflow}\] where the mass fraction of each element \(i\) in gas-phase (\(f_{\rm g}\) denotes the gas fraction) increases via element ejections from stellar winds (\(E_{\rm SW}\)), core-collapse supernovae (\(E_{\rm SNcc}\)), Type Ia supernovae (\(E_{\rm SNIa}\)), and neutron star mergers (\(E_{\rm NSM}\)). It also decreases by star formation (with a rate \(\phi\)), and modified by inflow (with a rate \(R_{\rm inflow}\)) and outflow (with a rate \(R_{\rm outflow}\)) of gas in/from the system considered. It is assumed that the elemental abundance of gas is instantaneously well mixed in the system (called an one-zone model), but the instantaneous recycling approximation is not adopted nowadays. The initial conditions are \(f_{{\rm g},0}=1\) (a closed system) or \(f_{{\rm g},0}=0\) (an open system) with the chemical composition (\(Z_{i,0}\)) from the Big Bang nucleosynthesis. The first two terms depend only on nucleosynthesis yields, while the third and fourth terms also depend on modelling of the progenitor systems, which is uncertain. The last three terms are galactic terms, and should be determined from galactic dynamics, but are assumed with analytic formula in GCE models. As in my previous works, star formation rate is assumed to be proportional to gas fraction as \(\phi\!=\!\frac{1}{\tau_{\rm s}}f_{\rm g}\). The inflow rate is assumed to be \(R_{\rm inflow}\!\!=\!\frac{t}{\tau_{\rm i}^2}\exp\frac{-t}{\tau_{\rm i}}\) (for the solar neighbourhood), or \(R_{\rm inflow}\!\!=\!\frac{1}{\tau_{\rm i}}\exp\frac{-t}{\tau_{\rm i}}\) (for the rest). The outflow rate is assumed to be proportional to the star formation rate as \(R_{\rm outflow}\!\!=\!\frac{1}{\tau_{\rm o}}f_{\rm g}\propto\phi\). In addition, star formation is quenched (\(\phi=0\)) in case with a galactic wind at an epoch \(t_{\rm w}\). The timescales are determined to match the observed metallicity distribution function (MDF) in each system (Fig. 2 of K20). The parameter sets that have very similar MDFs give almost identical tracks of elemental abundance ratios (Fig. A1 of @kob20ia). Our nucleosynthesis yields of core-collapse supernovae were originally calculated in K06, 3 models of which are replaced in (which are also used in @nom13), and a new set with failed supernovae is used in K20. This is based on the lack of observed progenitors at supernova locations in the HST data, and on the lack of successful explosion simulations for massive stars. The yields for AGB stars were originally calculated in and, but a new set with the s-process is used in K20. The narrow mass range of super-AGB stars is also filled with the yields from; stars at the massive end are likely to become ECSNe as Crab Nebula exploded in 1054. At the low-mass end, off-centre ignition of C flame moves inward but does not reach the centre, which remains a hybrid C+O+Ne WD. This might become a sub-class of SNe Ia. For SNe Ia, the nucleosynthesis yields of near-Ch and sub-Ch mass models are newly calculated in, which used the same code as in and but with more realistic, solar-scaled initial composition. The initial composition gives significantly different (Ni, Mn)/Fe ratios. r-process yields are taken from literature (see §2.1 of K20 for more details). The Kroupa initial mass function (IMF) between \(0.01M_\odot\) and \(50M_\odot\) (or \(120M_\odot\) in §[2.2](#sec:f){reference-type="ref" reference="sec:f"}, [2.3](#sec:iso){reference-type="ref" reference="sec:iso"}, and §[3](#sec:hydro){reference-type="ref" reference="sec:hydro"}) is used throughout this paper. For comparison to observational data, the solar abundances are taken from, except for \(A_\odot({\rm O}) = 8.76, A_\odot({\rm Th}) = 0.22\), and \(A_\odot({\rm U}) =-0.02\) (§2.2 of K20 for the details). Using the K20 GCE model for the solar neighbourhood, we summarize the origin of elements in the form of a periodic table. In each box of Figure [\[fig:origin\]](#fig:origin){reference-type="ref" reference="fig:origin"}, the contribution from each chemical enrichment source is plotted as a function of time: Big Bang nucleosynthesis (black), AGB stars (green), core-collapse supernovae including SNe II, HNe, ECSNe, and MRSNe (blue), SNe Ia (red), and NSMs (magenta). It is important to note that the amounts returned via stellar mass loss are also included for AGB stars and core-collapse supernovae depending on the progenitor star mass. The x-axis of each box shows time from \(t=0\) (Big Bang) to \(13.8\) Gyrs, while the y-axis shows the linear abundance relative to the Sun, \(X/X_\odot\). The dotted lines indicate the observed solar values, i.e., \(X/X_\odot=1\) and \(4.6\) Gyr for the age of the Sun. Since the Sun is slightly more metal-rich than the other stars in the solar neighborhood (see Fig. 2 of K20), the fiducial model goes through \[O/Fe\]\(=\)\[Fe/H\]\(=0\) slightly later compared with the Sun's age. Thus, a slightly faster star formation timescale (\(\tau_{\rm s}=4\) Gyr instead of 4.7 Gyr) is adopted in this model. The evolutionary tracks of \[X/Fe\] are almost identical. The adopted star formation history is similar to the observed cosmic star formation rate history, and thus this figure can also be interpreted as the origin of elements in the universe. Note that Tc and Pm are radioactive. The origin of stable elements can be summarized as follows:
- H and most of He are produced in Big Bang nucleosynthesis. As noted, the green and blue areas also include the amounts returned to the interstellar medium (ISM) via stellar mass loss in addition to He newly synthesized in stars. Be and B are supposed to be produced by cosmic rays, which are not included in the K20 model.
- The Li model is very uncertain because the initial abundance and nucleosynthesis yields are uncertain. Li is supposed to be produced also by cosmic rays and novae, which are not included in the K20 model. The observed Li abundances show an increasing trend from very low metallicities to the solar metallicity, which could be explained by cosmic rays. Then the observation shows a decreasing trend from the solar metallicities to the super-solar metallicities, which might be caused by the reduction of the nova rate; this is also shown in theoretical calculation with binary population synthesis, where the nova rate becomes higher due to smaller stellar radii and higher remnant masses at low metallicities.
- 49% of C, 51% of F, and 74% of N are produced by AGB stars (at \(t=9.2\) Gyr). Note that extra production from Wolf-Rayet (WR) stars is not included and may be important for F (see §[2.2](#sec:f){reference-type="ref" reference="sec:f"}). For the elements from Ne to Ge, the newly synthesized amounts are very small for AGB stars, and the small green areas are mostly for mass loss.
- \(\alpha\) elements (O, Ne, Mg, Si, S, Ar, and Ca) are mainly produced by core-collapse supernovae, but 22% of Si, 29% of S, 34% of Ar, and 39% of Ca come from SNe Ia. These fractions would become higher with sub-Ch-mass SNe Ia instead of 100% Ch-mass SNe Ia adopted in the K20 model.
- A large fraction of Cr, Mn, Fe, and Ni are produced by SNe Ia. In classical works, most of Fe was thought to be produced by SNe Ia, but the fraction is only 60% in our model, and the rest is mainly produced by HNe. The inclusion of HNe is very important as it changes the cooling and star formation histories of the universe significantly. Co, Cu, Zn, Ga, and Ge are largely produced by HNe. In the K20 model, 50% of stars at \(\ge 20M_\odot\) are assumed to explode as hypernovae, and the rest of stars at \(> 30M_\odot\) become failed supernovae.
- Among neutron-capture elements, as predicted from nucleosynthesis yields, AGB stars are the main enrichment source for the s-process elements at the second (Ba) and third (Pb) peaks.
- 32% of Sr, 22% of Y, and 44% of Zr can be produced from ECSNe, which are included in the blue areas, even with our conservative mass ranges; we take the metallicity-dependent mass ranges from the theoretical calculation of super-AGB stars. Combined with the contributions from AGB stars, it is possible to perfectly reproduce the observed trends, and no extra light element primary process (LEPP) is needed. The inclusion of \(\nu\)-driven winds in GCE simulation results in a strong overproduction of the abundances of the elements from Sr to Sn with respect to the observations.
- For the heavier neutron-capture elements, contributions from both NS-NS/NS-black hole (BH) mergers and MRSNe are necessary, and the latter is included in the blue areas.
In this model, the O and Fe abundances go though the cross of the dotted lines, meaning \[O/Fe\] \(=\) \[Fe/H\] \(=0\) at 4.6 Gyr ago. This is also the case for some important elements including N, Ca, Cr, Mn, Ni, Zn, Eu, and Th. Mg is slightly under-produced in the model, although the model gives a \(0.2-0.3\) dex higher \[Mg/Fe\] value than observed at low metallicities. This \[O/Mg\] problem is probably due to uncertain nuclear reaction rates (namely, of \(^{12}\)C(\(\alpha\),\(\gamma\))\(^{16}\)O) and/or the mass loss based by stellar rotation or binary interaction (see also Fig. 9 of K06). The under-production of the elements around Ti is a long-standing problem, which was shown to be enhanced by multi-dimensional effects (@sne16; see also K15 model in K20). The s-process elements are slightly overproduced even with the updated s-process yields. Notably, Ag is over-produced by a factor of \(6\), while Au is under-produced by a factor of \(5\). U is also over-produced. These problems may require revising nuclear physics modelling (see §[2.1](#sec:au){reference-type="ref" reference="sec:au"}). The contributions from SNe Ia depend on the mass of the progenitor WDs, and sub-Ch mass explosions produce less Mn and Ni, and more Si, S, and Ar than near-Ch mass explosions. Figure [\[fig:ofe\]](#fig:ofe){reference-type="ref" reference="fig:ofe"} shows the \[O/Fe\]--\[Fe/H\] relations with varying the fraction of sub-Ch-mass SNe Ia. Including up to 25% sub-Ch mass contribution to the GCE (dashed line) gives a similar relation as the K20 model (solid line), while the model with 100% sub-Ch-mass SNe Ia (dotted line) gives too low an \[O/Fe\] ratio compared with the observational data. For Ch-mass SNe Ia, the progenitor model is based on the single-degenerate scenario with the metallicity effect due to optically thick winds. For sub-Ch-mass SNe Ia, the observed delay-time distribution is used since the progenitors are the combination of mergers of two WDs in double degenerate systems and low accretion in single degenerate systems; 's formula are for those in single degenerate systems only. The \[\(\alpha\)/Fe\]--\[Fe/H\] relation is probably the most important diagram in GCE. In the beginning of the universe, the first stars form and die, but the properties such as mass and rotation are uncertain and have been studied using the second generation, extremely metal-poor (EMP) stars. Secondly, core-collapse supernovae occur, and their yields are imprinted in the Population II stars in the Galactic halo. The \[\(\alpha\)/Fe\] ratio is high and stays roughly constant with a small scatter. This plateau value does not depend on the star formation history but does on the IMF. Finally, SNe Ia occur, which produce more Fe than O, and thus the \[\(\alpha\)/Fe\] ratio decreases toward higher metallicities; this decreasing trend is seen for the Population I stars in the Galactic disk. Because of this \[\(\alpha\)/Fe\]--\[Fe/H\] relation, high-\(\alpha\) and low-\(\alpha\) are often used as a proxy of old and young age of stars in galaxies, respectively. Note that, however, that this relation is not linear but is a plateau and decreasing trend (called a 'knee'). The location of the knee depends on the star formation timescale and is at a high metallicity in the Galactic bulge, followed by the Galactic thick disk, thin disk, and satellite galaxies show at lower metallicities.
## Mystery of gold {#sec:au}
Figure [\[fig:xfe\]](#fig:xfe){reference-type="ref" reference="fig:xfe"} shows the evolutions of neutron-capture elements as \[X/Fe\]--\[Fe/H\] relations. As known, AGB stars can produce the first (Sr, Y, Zr), second (Ba), and third (Pb) peak s-process elements, but no heaver elements (navy long-dashed lines). It is surprising that ECSNe from a narrow mass range (\(\Delta M \sim 0.15-0.2M_\odot\)) can produce enough of the first peak elements; with the combination of AGB stars, it is possible to reproduce the observational data very well (cyan short-dashed lines). This means that no other light element primary process (LEPP), such as rotating massive stars, is required. However, the elements from Mo to Ag seem to be overproduced, which could be tested with the UV spectrograph proposed for VLT, CUBES. Additional production from \(\nu\)-driven winds leads to further over-production of these elements in the model (green dot-long-dashed lines), but this should be studied with more self-consistent calculations of supernova explosions. Neutron star mergers can produce lanthanides and actinides, but not enough (olive dotted lines); the rate is too low and the timescale is too long, according to binary population synthesis. This is not improved enough even if neutron-star black-hole mergers are included (orange dot-short-dashed lines). An r-process associated with core-collapse supernovae, such as MRSNe, is required. The same conclusion is obtained with other GCE models and more sophisticated chemodynamical simulations, as well as from the observational constraints of radioactive nuclei in the solar system. In the GCE model with MRSNe (magenta solid lines), it is possible to reproduce a plateau at low metallicities for Eu, Pt, and Th, relative to Fe. However, even with including both MRSNe and neutron star mergers, the predicted Au abundance is more than ten times lower than observed. This underproduction is seen not only for the solar abundance but also for low metallicity stars although the observational data are very limited. UV spectroscopy is needed for investigating this problem further. In the GCE models, we adopt the best available nucleosynthesis yields in order to explain the universal r-process pattern: \(25M_\odot\) "b11tw1.00" 3D yields from and \(1.3M_\odot\)+\(1.3M_\odot\) 3D/GR yields from. These yields are sensitive to the electron fraction, which depends on hydrodynamics and \(\nu\)-processes during explosions. Post-process nucleosynthesis calculations of successful explosion simulations of massive stars are required. However, it would not be easy to increase Au yields only since Pt is already in good agreement with the current model. There are uncertainties in some nuclear reaction rates and in the modelling of fission, which might be able to increase Au yields only, without increasing Pt or Ag. The predicted Th and U abundances are after the long-term decay, to be compared with observations of metal-poor stars, and the current model does not reproduce the Th/U ratio either. It seems necessary to have the r-process associated with core-collapse supernovae, such as MRSNe. Is there any direct evidence for such events? There are a few magneto-hydrodynamical simulations and post-process nucleosynthesis that successfully showed enough neutron-rich ejecta to produce the 3rd peak r-process elements as in the Sun. However, there is no observational evidence that support magneto-rotational supernovae. The predicted iron mass is rather small, and the astronomical object could be faint. Extremely metal-poor (EMP) stars have been an extremely useful tool in the Galactic archeology. At the beginning of galaxy formation, stars form from a gas cloud that was enriched only by one or very small number of supernovae, and hence the elemental abundances of EMP stars have offered observational evidences of supernovae in the past. As a result, it is found that quite a large fraction of massive stars became faint supernovae that give a high C/Fe ratio leaving a relatively large black hole (\(\sim 5M_\odot\), @nom13). It might even possible to form a black hole from \(10-20M_\odot\) stars. It is challenging to find EMP stars due to the expected small number, and it is also challenging to measure elemental abundances in detail. Thus only a limited number of EMP stars have been analysed in previous works. The Australian team has been using a strategic approach to increase EMP data; \(\sim 26000\) candidates are found from photometric data on the SkyMapper telescope, 2618 of which have spectroscopic observations at ANU's 2.3m telescope, and for \(\sim 500\) stars detailed elemental abundances are measured with higher-resolution spectra taken at larger telescopes such as Magellan, Keck, and VLT. SMSS J200322.54-114203.3 was discovered in the SkyMapper EMP survey and reported in. Figure [\[fig:yong\]](#fig:yong){reference-type="ref" reference="fig:yong"} shows the elemental abundance of SMSS J200322.54-114203.3, which has \[Fe/H\]\(=-3.5\), and is 2.3 kpc away with the Galactic halo orbit. This star has a very clear detection of uranium and thorium, and thus it is a so-called actinides boost star. The stars also clearly showed the solar r-process pattern from \(Z \sim 60\) to 70. Surprisingly, the observed Zn abundance is very high (\[Zn/Fe\]\(=0.72\)), which indicates that the enrichment source was an energetic explosion (\(\gtsim 10^{52}\) erg). It also showed normal \(\alpha\) enhancement as for the majority of Galactic halo stars, although a normal supernova (\(\sim 10^{51}\) erg) gives a range of \(\alpha\) enhancement depending on the progenitor mass. The star is not carbon enhanced (\[C/Fe\]\(<0.07\)) but shows nitrogen enhancement (\[N/Fe\]\(=1.07\)), which indicates that the progenitor stars were rotating. All of these features at \(Z\le 30\) are consistent with the enrichment from a single hypernova. The observed abundance pattern is compared with two theoretical models. The blue dashed line is for mono-enrichment from a single, magneto-rotational hypernova (MRHN), where the nucleosynthesis yields are obtained combining the iron-core of a magneto-rotational supernovae to the envelope of a \(25M_\odot\) hypernova. The orange dot-dashed line shows a model of multi-enrichment where a neutron star merger occur in the interstellar matter chemically enriched by previous generations of core-collapse supernovae. The MRHN model gives better fit at and below Zn (\(Z\le30\)). Both models show overproduction around the 1st peak (\(Z\sim40\)) and around Ba (\(Z=56\)), which may be due to the uncertainties in nuclear astrophysics. The MRSN scenario is also consistent with the short timescale of the EMP star formation; due to the required long timescales of neutron star mergers, it is unlikely that this EMP star is enriched by a neutron star merger. **Future prospects**: This star provided the first observational evidence of the r-process associated with core-collapse supernovae. The r-process site could be in the jets as in the MRHN model, or could also be in the accretion disk around black hole as in the collapsar model. According to the chemical evolution models, this event is rare, only one in 1000 supernovae. MRHNe should be observable in future astronomical transient surveys such as with LSST/Rubin, since they eject a significant amount of iron; the ejected iron mass is \(0.017M_\odot\) in the \(25M_\odot\) model, while \(0.33M_\odot\) in the \(40M_\odot\) model. It might be possible to detect the signature of Au and Pt production directly in the supernova spectra.
## Ramp-up of fluorine at high-redshifts {#sec:f}
Fluorine is an intriguing element. The major production site has been debated for 30 years among low-mass AGB stars, stellar winds in massive stars, and the \(\nu\)-process in core-collapse supernovae. The observational constraints have been obtained for stars, but accessible lines are only in infrared, and thus the sample number was limited. Moreover, there was confusion in the excitation energies and transition probabilities for the HF lines. The vibrational-rotational lines get too weak at low metallicities, and the available sample of EMP stars is only for carbon enhanced stars, which may not be representative of galactic chemical evolution. opened a new window for constraining fluorine production in the early universe by directly measuring HF abundance in a galaxy at redshift \(z=4.4\). The galaxy NGP-190387 was discovered by the H-ATLAS survey with the Herschel satellite, with the redshift confirmed by the Northern Extended Millimetre Array (NOEMA). It is a gravitationally lensed galaxy with a magnification factor \(\mu\simeq5\). The lowest rotational transitions from the HF molecule appeared as an absorption line in the Atacama Large Millimeter/submillimeter Array (ALMA) data. This molecule is very stable and the dominant gas-phase form of fluorine in the ISM. Figure [\[fig:franco\]](#fig:franco){reference-type="ref" reference="fig:franco"} shows the fluorine abundance of NGP-190387 (yellow point), comparing with galactic chemical evolution models with various star formation timescales. In the models, it is assumed that star formation took place soon after the reionization, which was boosted probably due to galaxy merger 100 Myr before the observed redshift \(z=4.4\). This assumption is based on the properties of other submillimetre galaxies (SMGs) at similar redshifts. The models show rapid chemical enrichment including fluorine, but in order to explain the observed fluorine abundance, the contribution from Wolf-Rayet stars (green lines) is required. The nucleosynthesis yields from are adopted in the models, assuming the rotational velocity of 300 km s\(^{-1}\) for \(13-120M_\odot\) stars. **Future prospects**: This galaxy provided the first observational evidence for rotating massive stars with initial masses \(\gtsim 30M_\odot\) producing a significant amount of fluorine in the early universe. Since it is not easy to explode these stars with \(\nu\)-driven mechanism, these stars are likely to remain black holes with masses \(\gtsim 20 M_\odot\), which may be detected with gravitational wave missions. It would be possible to constrain the formation history further if CNO abundances and/or \(^{13}\)C isotopic ratio are measured, because the yields depend on the mass of progenitor stars.
## GCE with rotating massive stars {#sec:iso}
The evolution of isotopic ratios is shown in Figs. 17-19 of and Fig. 31 of K20 (see also @rom19). \(^{13}\)C and \(^{25,26}\)Mg are produced from AGB stars (\(^{17}\)O might be overproduced in our AGB models), while other minor isotopes are more produced from metal-rich massive stars, and thus the ratios between major and minor isotopes (e.g., \(^{12}\)C/\(^{13}\)C, \(^{16}\)O/\(^{17,18}\)O) generally decrease as a function of time/metallicity. But this evolutionary trend is completely different if rotating massive stars are included. Figure [\[fig:iso\]](#fig:iso){reference-type="ref" reference="fig:iso"} shows the evolution of isotopic ratios in the GCE models with and without rotating massive stars, comparing to observational data. For the Milky Way (red solid and blue long-dashed lines), the adopted star formation history is the same as the solar neighbourhood model in §[2](#sec:gce){reference-type="ref" reference="sec:gce"}. For the SMG (green short-dashed and magenta dotted lines), rapid gas accretion and star formation with the timescales of 1 Gyr are assumed, and after \(\sim 1.5\) Gyr the star formation is self-regulated with a constant gas fraction of 50% (see M. Doherty et al., in prep. for more details). The K20 model (red solid lines) is not bad, well reproducing C and O isotopic ratios in the Sun (the solar symbol) and in the present-day ISM (filled squares), but not the \(^{13}\)C/\(^{18}\)O ratio (cross). The model with rotating massive stars (blue long-dashed lines) gives a better evolutionary track of the \(^{13}\)C/\(^{18}\)O ratio, showing a rapid increase in the past 5 Gyrs in the Milky Way. However, \(^{12}\)C is overproduced at all metallicities, and \(^{16}\)O is overproduced at high metallicities in this model. Here the yields from with the rotational velocity of 300 km s\(^{-1}\) are used. With 150 km s\(^{-1}\), the \(^{12}\)C/\(^{13}\)C ratio becomes even larger, and the \(^{13}\)C/\(^{18}\)O ratio becomes slightly smaller. The model with 150 km s\(^{-1}\) is worse than the model with 300 km s\(^{-1}\) in order to reproduce the observations, and using an averaged rotational velocity as in does not solve this problem. With these yields set, even excluding stellar rotation, the \(^{12}\)C/\(^{13}\)C ratio is systematically higher than in the K20 yields, and the difference may be caused by their choice of nuclear reaction rates, mass-loss, and/or convection. It is possible that these effects could change the evolution of the \(^{18}\)O/\(^{17}\)O ratio. The overproduction of \(^{16}\)O is probably due to their choice of remnant masses, and in fact these yields do not reproduce the observed \[O/Fe\]--\[Fe/H\] relation. The impact of stellar rotation should be studied from s-process elements, since the weak-s process forms s-process elements from the existing seeds at a much shorter timescale than AGB stars. For s-process elements, there is some underproduction from \[Fe/H\] \(\sim-3\) to \(\sim-1\) in the K20 model, which could be improved in the inhomogeneous enrichment effect in chemodynamical simulations (§[3.1](#sec:n){reference-type="ref" reference="sec:n"}). Alternatively, the models with rotating massive stars can explain the observed average trend (Fig. [\[fig:ba\]](#fig:ba){reference-type="ref" reference="fig:ba"}); in the first model (green line, also plotted in @yon21b) the same metallicity-dependent distribution of rotational velocity as in is used, while in the second and better model (blue line) 150 and 300 km s\(^{-1}\) is assumed for HNe and MRHNe, respectively. As already noted, the nucleosynthesis yields from cannot reproduce the observations of many elements, and thus we use the contributions from stellar envelopes and winds only in addition to the K20 yields (see Kobayashi et al., in prep. for more details).
# Chemodynamical evolution of galaxies {#sec:hydro}
Thanks to the development of super computers and numerical techniques, it is now possible to simulate the formation and evolution of galaxies from cosmological initial conditions, i.e., initial perturbation based on \(\Lambda\) cold dark matter (CDM) cosmology. Star formation, gas inflow, and outflow in Eq.([\[eq:gce\]](#eq:gce){reference-type="ref" reference="eq:gce"}) are not assumed but are, in principle, given by dynamics. Due to the limited resolution, star forming regions in galaxy simulations, supernova ejecta, and active galactic nuclei (AGN) cannot be resolved, and thus it is necessary to model star formation and the subsequent effects--feedback--introducing a few parameters. Fortunately, there are many observational constraints, from which it is usually possible to choose a best set of parameters. To ensure this, it is also necessary to run the simulation until the present-day, \(z=0\), and reproduce a number of observed relations at various redshifts. Although hydrodynamics can be calculated with publicly available codes such as Gadget, RAMSES, and AREPO, modelling of baryon physics is the key and is different depending on the simulation teams/runs, such as EAGLE, Illustris, Horizon-AGN, Magneticum, and SIMBA simulations. These are simulations of a cosmological box with periodic boundary conditions, and contain galaxies with a wide mass range (e.g., \(10^{9-12} M_\odot\) in stellar mass) at \(z=0\). In order to study massive galaxies it is necessary to increase the size of the simulation box (e.g., \(\gtsim 100\) Mpc), while in order to study internal structures it is necessary to improve the spacial resolution (e.g., \(\ltsim 0.5\) kpc). The box size and resolution are chosen depending on available computational resources. On the other hand, zoom-in techniques allow us to increase the resolution focusing a particular galaxy, but this also requires tuning the parameters with the same resolution, comparing to a number of observations in the Milky Way. For the baryon physics, the first process to calculate is **radiative cooling**, and photo-heating by a uniform and evolving UV background radiation. We use a metallicity-dependent cooling function computed with the MAPPINGS III software (see @kob07 for the details), and find candidate gas particles that can form stars in a given timestep. The effect of \(\alpha\) enhancement relative to Fe is taken into account using the observed relation in the solar neighborhood. Our **star formation** criteria are: (1) converging flow, \((\nabla \cdot \mbox{\boldmath\)v\(})_i < 0\); (2) rapid cooling, \(t_{\rm cool} < t_{\rm dyn}\); and (3) Jeans unstable gas, \(t_{\rm dyn} < t_{\rm sound}\). The star formation timescale is taken to be proportional to the dynamical timescale (\(t_{\rm sf} \equiv \frac{1}{c_*}t_{\rm dyn}\)), where \(c_*\) is a star formation timescale parameter. The parameter \(c_*\) basically determines when to form stars following cosmological accretion, and has a great impact on the size--mass relation of galaxies (Fig. 4 of @kob05). We found that it is better not to include a fixed density criterion. Note that based on smaller-scale simulations, more sophisticated analytic formula are proposed including the effects of turbulence and magnetic fields. A fractional part of the mass of the gas particle turns into a new star particle. Note that an individual star particle has a typical mass of \(\sim 10^{5-7} M_\odot\), i.e. it does not represent a single star but an association of many stars. The masses of the stars associated with each star particle are distributed according to an IMF. We adopt Kroupa IMF, which is assumed to be independent of time and metallicity, and limit the IMF to the mass range \(0.01M_\odot \le m \le 120M_\odot\). This assumption is probably valid for the resolution down to \(\sim 10^4 M_\odot\). We then follow the evolution of the star particle, as a simple stellar population, which is defined as a single generation of coeval and chemically homogeneous stars of various masses, i.e. it consists of a number of stars with various masses but the same age and chemical composition. The production of each element \(i\) from the star particle (with an initial mass of \(m_*^0\)) is calculated using a very similar equation as Eq.([\[eq:gce\]](#eq:gce){reference-type="ref" reference="eq:gce"}): \[\label{eq:e-z} E_Z(t)= m_*^0 \left[ E_{\rm SW}+E_{\rm SNcc}+E_{\rm SNIa}+E_{\rm NSM} \right].\] Similarly, the energy production from the star particle is: \[\label{eq:e-e} E_e(t) = m_*^0 \left[ e_{e,{\rm SW}}{\cal{R}}_{\rm SW}(t)+e_{e,{\rm SNcc}}{\cal{R}}_{\rm SNcc}(t)+e_{e,{\rm SNIa}}{\cal{R}}_{\rm SNIa}(t) \right]\] which includes the event rates of SWs (\({\cal{R}}_{\rm SW}\)), core-collapse supernovae (\({\cal{R}}_{\rm SNcc}\)), and SNe Ia (\({\cal{R}}_{\rm SNIa}\)), and the energy per event (in erg) for SWs: \(e_{e,{\rm SW}}=0.2 \times 10^{51} ({Z}/{Z_\odot})^{0.8}\) for \(>8M_\odot\) stars, Type II supernovae: \(e_{e,{\rm SNII}}=1 \times 10^{51}\), hypernovae: \(e_{e,{\rm HN}}=10,10,20,30 \times 10^{51}\) for \(20,25,30,40 M_\odot\) stars, respectively, and for SNe Ia: \(e_{e,{\rm SNII}}=1.3 \times 10^{51}\). We distribute this **feedback** metal mass and energy from a star particle \(j\) to a fixed number of neighbour gas particles \(\ell\), \(N_{\rm FB}\), weighted by the smoothing kernel as: \[\label{eq:fb-z} \frac{d(Z_{i,k}\,m_{{\rm g},k})}{dt}= \sum_j \left[W_{kj} E_{Z,j}(t) / \sum_\ell^{N_{\rm FB}} W_{\ell j} \right]\] and \[\label{eq:fb-e} \frac{du_k}{dt}= (1-f_{\rm kin}) \sum_j \left[W_{kj} E_{e,j}(t) / \sum_\ell^{N_{\rm FB}} W_{\ell j} \right]\] where \(u_k\) denotes the internal energy of a gas particle \(k\), and \(f_{\rm kin}\) denotes the kinetic energy fraction, i.e., the fraction of energy that is distributed as a random velocity kick to the gas particle. Note that in the first sum the number of neighbour star particles is not fixed to \(N_{\rm FB}\). To calculate these equations, the feedback neighbour search needs to be done twice in order to ensure proper mass and energy conservation; first to compute the sum of weights for the normalization, and a second time for the actual distribution. The parameter \(N_{\rm FB}\) determines the average energy distributed to gas particles; a large value of \(N_{\rm FB}\) leads to inefficient feedback as the ejected energy radiatively cools away shortly, while a small value of \(N_{\rm FB}\) results in a only small fraction of matter affected by feedback. Alternatively, with good resolution in zoom-in simulations, feedback neighbors could be chosen within a fixed radius (\(r_{\rm FB}\)), which affects a number of observations including the MDF (Fig. 12 of @kob11mw). The parameter \(f_{\rm kin}\) has a great impact on radial metallicity gradients in galaxies, and \(f_{\rm kin}=0\), i.e., purely thermal feedback, gives the best match to the observations (Fig. 14 of @kob04). Note that various feedback methods are proposed such as the stochastic feedback and the mechanical feedback. Eq.([\[eq:fb-z\]](#eq:fb-z){reference-type="ref" reference="eq:fb-z"}) gives positive feedback that enhances radiative cooling, while Eq.([\[eq:fb-e\]](#eq:fb-e){reference-type="ref" reference="eq:fb-e"}) gives negative feedback that suppresses star formation. The mass ejection in Eq.([\[eq:fb-z\]](#eq:fb-z){reference-type="ref" reference="eq:fb-z"}) never becomes zero, while the energy production in Eq.([\[eq:fb-e\]](#eq:fb-e){reference-type="ref" reference="eq:fb-e"}) becomes small after 35 Myrs. Therefore, it is not easy to control star formation histories depending on the mass/size of galaxies within this framework. In particular, it is not possible to quench star formation in massive galaxies, since low-mass stars keep returning their envelope mass into the ISM for a long timescale, which will cool and keep forming stars. Therefore, in order to reproduce observed properties of massive galaxies, additional feedback was required, and the discovery of the co-evolution of super-massive black holes and host galaxies provided a solution--**AGN feedback**. Modelling of AGN feedback consists of (1) seed formation, (2) growth by mergers and gas accretion, and (3) thermal and/or kinetic feedback (see @tay14 for the details). In summary, we introduced a seeding model where seed black holes originate from the formation of the first stars, which is different from the 'standard' model by and from most large-scale hydrodynamical simulations. In our AGN model, seed black holes are generated if the metallicity of the gas cloud is zero (\(Z=0\)) and the density is higher than a threshold density (\(\rho_{\rm g} > \rho_{\rm c}\)). The growth of black holes is the same as in other cosmological simulations, and is calculated with Bondi-Hoyle accretion, swallowing of ambient gas particles, and merging with other black holes. Since we start from relatively small seeds, the black hole growth is driven by mergers at \(z\gtsim 3\) (Fig. 2 of @tay14). On a very small scale, it is not easy to merge two black holes, and an additional time-delay is applied in more recent simulations (P. Taylor et al. in prep.). Proportional to the accretion rate, thermal energy is distributed to the surrounding gas, which is also the same as in many other simulations. In more recent simulations, non-isotropic distribution of feedback area is used to mimic the small-scale jet. There are a few parameters in our chemodynamical simulation code, but constrained the model parameters from observations, and determined the best parameter set: \(\alpha=1\), \(\epsilon_{\,\rm f}=0.25\), \(M_{\rm seed}=h^{-1} 10^3M_\odot\), and \(\rho_{\rm c}=0.1 h^2 m_{\rm H}\,\textrm{cm}^{-3}\). Our black holes seeds are indeed the debris of the first stars although we explored a parameter space of \(10^{1-5}M_\odot\). This is not the only one channel for seeding, and the direct collapse of primordial gas and/or the collapse of dense stellar clusters (\(\sim 10^5M_\odot\), @woo19) are rarer but should be included in larger volume simulations. Nonetheless, our model can successfully drive large-scale galactic winds from massive galaxies and can reproduce many observations of galaxies with stellar masses of \(\sim 10^{9-12}M_\odot\). The movie of our fiducial run is available at <https://www.youtube.com/watch?v=jk5bLrVI8Tw>
## Extra-galactic archaeology {#sec:n}
Elemental abundances and isotopic ratios provide additional constrains on the timescales of formation and evolution of galaxies. This extra-galactic archaeology will be possible in the near future with the James Webb Space Telescope (JWST), the wavelength coverage of which will allow us to measure CNO abundance simultaneously. At high redshifts, metallicities have been measured mainly with emission lines in star-forming galaxies, where Fe abundance is not accessible. Instead of \(\alpha\)/Fe ratios in Galactic archaeology, CNO abundances can be used for extra-galactic archaeology. The left panel of Figure [\[fig:cno\]](#fig:cno){reference-type="ref" reference="fig:cno"} shows theoretical predictions of CNO abundance ratios for simulated disk galaxies that have different formation timescales. These galaxies are chosen from a cosmological simulation, which is run by a Gadget-3 based code that includes detailed chemical enrichment. In the simulation, C is mainly produced from low-mass stars (\(\ltsim 4M_\odot\)), N is from intermediate-mass stars (\(\gtsim 4M_\odot\)) as a primary process, and O is from massive stars (\(\gtsim 13M_\odot\)). C and N are also produced by massive stars; the N yield depends on the metallicity as a secondary process, and can be greatly enhanced by stellar rotation (as for F in §[2.2](#sec:f){reference-type="ref" reference="sec:f"}). In the nearby universe, the N/O--O/H relation is known for stellar and ISM abundances, which shows a plateau (\(\sim-1.6\)) at low metallicities and a rapid increase toward higher metallicities. This was interpreted as the necessity of rotating massive stars by. However, this should be studied with hydrodynamical simulations including detailed chemical enrichment, and first showed the N/O--O/H relation in a chemodynamical simulation. showed that both the global relation, which is obtained for average abundances of the entire galaxies, and the local relation, which is obtained for spatially resolved abundances from IFU data, can be reproduced by the inhomogeneous enrichment from AGB stars. Since N yield increases at higher metallicities, the global relation originates from the mass--metallicity relation of galaxies, while the local relation is caused by radial metallicity gradients within galaxies. Moreover, the right panel of Figure [\[fig:cno\]](#fig:cno){reference-type="ref" reference="fig:cno"} shows a theoretical prediction on the time evolution of the N/O--O/H relation, where galaxies evolve along the relation. Recent observation with KMOS (KLEVER survey) confirmed a near redshift-invariant N/O-O/H relation. **Future prospects**: It is possible to reproduce the observed N/O--O/H relation only with AGB stars and supernovae in our chemodynamical simulations. If we include N production from WR stars, the N/O plateau value at low metallicities becomes too high compared with observations. The enrichment from the first stars is not included either, which can be significantly different because very massive stars (\(\ge 140M_\odot\)) explode as pair-instability supernovae without leaving any remnants, or massive stars (\(\sim 25M_\odot\)) explode as failed supernovae that leave relatively more massive black holes (\(\sim 5M_\odot\)). The former is based on theoretical prediction (but no observational evidence yet) and the latter is inferred from observational results. It would be very useful if other elemental abundances (e.g., Ne, S) are measured in order to determine the chemical enrichment sources and constrain the formation histories of galaxies.
## Galactic archaeology {#sec:mw}
Inhomogeneous enrichment in chemodynamical simulations leads to a paradigm shift on the chemical evolution of galaxies. As in a real galaxy, i) the star formation history is not a simple function of radius, ii) the ISM is not homogeneous at any time, and iii) stars migrate, which are fundamentally different from one-zone or multi-zones GCE models. As a consequence, (1) there is no age--metallicity relation, namely for stars formed in merging galaxies. It is possible to form extremely metal-poor stars from accretion of nearly primordial gas, or in isolated chemically-primitive regions, at a later time. (2) Enrichment sources with long time-delays such as AGB stars, SNe Ia, and NSMs can appear at low metallicities. This is the reason why the N/O plateau is caused by AGB stars in §[3.1](#sec:n){reference-type="ref" reference="sec:n"}. However, this effect is not enough to reproduce the observed \[Eu/(O,Fe)\] ratios only with NSMs. (3) There is a significant scatter in elemental abundance ratios at a given time/metallicity, as shown in Figs. 16-18 of. Figure [\[fig:mwxfe\]](#fig:mwxfe){reference-type="ref" reference="fig:mwxfe"} shows the frequency distribution of elemental abundance ratios in our chemodynamical zoom-in simulation of a Milky Way-type galaxy (\(r\le100\) kpc). The colour indicates the number of stars in logarithmic scale. In order to compare the scatter, the range of y-axis is set to the same, from \(-1.5\) to \(+0.5\) for the elements except for He and Li. In the simulation we know the ages and kinematics of star particles as well as the locations within the galaxy, which are used in the following summary:
- The Big Bang nucleosynthesis gives \(Y=0.2449\). He is also synthesized during stellar evolution and the He abundance increases up to \(Y \sim 0.33\) showing a tight function of metallicity (see also @vin19).
- The initial Li abundance is set to be a theoretical value of the Big Bang nucleosynthesis, \(A({\rm Li})=2.75\), although it is higher than the observed value of EMP stars. The Li abundance increases by the production from AGB stars, but decreases at super-solar metallicities due to the destruction in AGB stars. There is a large scatter from \(A({\rm Li})\sim2.6\) to \(0.3\) at \[Fe/H\] \(\gtsim-1\).
- The average \[C/Fe\] ratio is around \(\sim 0\). There is only a small number of C-enhanced EMP stars with \[C/Fe\] \(\ge0.7\) due to the inhomogeneous enrichment from AGB stars in our model. This number is much smaller than observed because faint supernovae are not included.
- The \[N/Fe\] ratio shows a large scatter of \(\pm0.5\) dex even at \[Fe/H\] \(\sim-3\) due to the inhomogeneous enrichment, and it is possible to reproduce the observational data only with AGB stars, without rotating massive stars.
- The \(\alpha\) elements, O, Mg, Si, S, and Ca, show similar trends, a plateau with a small scatter at \[Fe/H\] \(\ltsim-1\), and then bimodal decreasing trends both caused by the delayed Fe enrichment from SNe Ia. The high-\(\alpha\) stars tend to have high \(v/\sigma\) and old ages, forming the thick disk. On the other hand, the low \(\alpha\) stars are rotationally supported and relatively younger, belonging to the thin disk. The thick disk reaches only \[Fe/H\] \(\sim 0\), while thin disk expends to \[Fe/H\] \(\sim 0.2\). The stars with \[Fe/H\] \(>0.2\) in this figure are located in the bulge region (\(r\le 1\) kpc in this paper).
- The odd-\(Z\) elements, Na, Al, and Cu, show bimodal increasing trends from \[Fe/H\] \(\sim-2\) to higher metallicities, which are predominantly caused by the metallicity dependent yields of core-collapse supernovae. The higher \[(Na,Al,Cu)/Fe\] trend is composed of the high \(\alpha\) stars in the thick disk, while the lower \[(Na,Al,Cu)/Fe\] trend is made of the low \(\alpha\) stars in the thin disk; these differences are caused by SNe Ia. Moreover, \[Na/Fe\] shows a greater increase with a steeper slope for the thick disk than that for the thin disk, which is due to an additional contribution from AGB stars. Such a difference in the slopes is not seen for Al and Cu.
- The \[Cr/Fe\] ratio is almost constant at \(\sim 0\) over all ranges of metallicities. In observations, EMP stars tend to show \[Cr/Fe\] \(<0\) values affected by the NLTE effect, but Cr II observations show \[Cr/Fe\] \(\sim 0\) (K06). No decrease of \[Cr/Fe\] is caused by SNe Ia either if we use the latest SN Ia yields.
- In contrast to the \[\(\alpha\)/Fe\] ratios, \[Mn/Fe\] shows a plateau value of \(\sim-0.5\) at \[Fe/H\] \(\ltsim-1\), and then bimodal increasing trends because Ch-mass SNe Ia produce more Mn than Fe (K06). Unlike one-zone models, \[Mn/Fe\] does not reach a very high value (\(\sim +0.5\)) in chemodynamical simulations because not all SN Ia progenitors have high metallicities due to the inhomogeneity. The inclusion of sub-Ch mass SNe Ia would worsen the situation.
- Co and Zn can be enhanced by higher energy explosions (K06). There are two plateaus with \[Zn/Fe\] \(\sim 0.2\) for the thick disk and \[Zn/Fe\] \(\sim 0\) for the thin disk. At \[Fe/H\] \(>0.2\), \[Zn/Fe\] shows a rapid increase, which is seen only for the bulge stars in our model. Very similar features are seen also for Co, although Co is under-produced overall, which is due to the lack of multi-dimensional effect in the nucleosynthesis yields.
- The first-peak s-process elements (Sr, Y, and Zr) are produced by ECSNe and AGB stars. Sr and Y do not show a bimodality, while Zr shows a very similar trend as for the \(\alpha\) elements.
- The second-peak s-process elements (Ba, La, and Ce) show a very large scatter of \(1.5\) dex especially at low metallicities. These elements are first produced by MRSNe/MRHNe in our model with a floor value of \[(Ba,La,Ce)/Fe\] \(\sim-1\), and are greatly enhanced by AGB stars. The contribution from AGB stars appears from \[Fe/H\] \(\sim-2\); \[(Ba,La,Ce)/Fe\] ratios reach \(\sim 0\) at \[Fe/H\] \(\sim-1\), peaks at \[Fe/H\] \(\sim 0\), then decrease due to SNe Ia. The decrease is significant in the bulge stars at \[Fe/H\] \(>0.2\).
- The r-process elements (Nd, Eu, Dy, Er, Au, and Th in the figure) do show a bimodality in the model with MRSNe/MRHNe. The average \[Nd/Fe\] is about \(\sim 0\), while Eu, Dy, Er, and Th behave very similar to the \(\alpha\) elements. As discussed in §[2.1](#sec:au){reference-type="ref" reference="sec:au"}, Au is underabundant overall, but the thick disk stars are systematically more gold-rich than for the thin disk stars!
- Pb is one of the third-peak s-process elements, and the distribution at low metallicities are similar to the second-peak s-process elements. However, \[Pb/Fe\] shows a steeper decrease from \[Fe/H\] \(\sim-1\) to higher metallicities, due to the metallicity dependence; Pb is produced more from metal-poor AGB stars.
Compared with observational data, the scatter of s-process elements seem too large around \[Fe/H\] \(\sim-1\), which also supports the weak-s process rotating massive stars. The elemental abundance distributions depend on the locations within galaxies, as shown in Fig. 1 of for a different chemodynamical simulation. These distributions should be compared with non-biased, homogeneous dataset of observational data and the comparison to APOGEE DR16 was shown in. More analysis will be shown in Kobayashi (2022, in prep). The movie of our fiducial run is available at <https://star.herts.ac.uk/~chiaki/works/Aq-C-5-kro2.mpg>
# Conclusions and Discussion
Thanks to the long-term collaborations between nuclear and astrophysics, we have good understanding on the origin of elements (except for the elements around Ti and a few neutron-capture elements such as Au). Inhomogeneous enrichment is extremely important for interpreting the elemental abundance trends (§[3.2](#sec:mw){reference-type="ref" reference="sec:mw"}). It can reproduce the observed N/O--O/H relation only with AGB stars and supernovae (§[3.1](#sec:n){reference-type="ref" reference="sec:n"}), but not the observed r-process abundances only with NSMs; an r-process associated with core-collapse supernovae such as magneto-rotational hypernovae is required, although the explosion mechanism is unknown (§[2.1](#sec:au){reference-type="ref" reference="sec:au"}). It is necessary to run chemodynamical simulations from cosmological initial conditions, including detailed chemical enrichment. Theoretical predictions depend on input stellar physics, and the effects of stellar mass loss due to rotation and/or binary interaction should be investigated further. The importance of WR stars is indicated by the high F abundance in \(z\sim 4.4\) galaxy (§[2.2](#sec:f){reference-type="ref" reference="sec:f"}), as well as for some isotopic ratios and Ba and Pb abundances around \[Fe/H\] \(\sim-1\) in the Milky Way (§[2.3](#sec:iso){reference-type="ref" reference="sec:iso"}). If WR stars are producing heavy elements on a very short timescale, it might be hard to find very metal-poor or Population III (and dust-free) galaxies at very high redshifts even with JWST. Finally, mass loss from these stars will change the dust production as well, and thus it is also important to calculate element-by-element dust formation, growth, and destruction, as well as the detailed chemical enrichment. Galactic archaeology is a powerful approach for reconstructing the formation history of the Milky Way and its satellite galaxies. APOGEE and HERMES-GALAH surveys have provided homogeneous datasets of many elemental abundances that can be statistically compared with chemodynamical simulations. Future surveys with WEAVE and 4MOST will provide more. Having said that, the number of EMP stars will not be increased so much in these surveys, and a target survey such as the SkyMapper EMP survey is also needed, in particular for constraining the early chemical enrichment from the first stars. Reflecting the difference in the formation timescale, elemental abundances depend on the location within galaxies. Although this dependence has been explored toward the Galactic bulge by APOGEE, the dependence at the outer disk is still unknown, which requires 8m-class telescopes such as the PFS on Subaru telescope. Despite the limited spectral resolution of the PFS, \(\alpha\)/Fe and a small number of elements will be available. The PFS will also be able to explore the \(\alpha\)/Fe bimodality in M31; it is not yet known if M31 has a similar \(\alpha\)/Fe dichotomy or not. The next step will be to apply the Galactic archaeology approach to external or distant galaxies. Although it became possible to map metallicity, some elemental abundances, and kinematics within galaxies with IFU, the sample and spacial resolution are still limited even with JWST. Integrated physical quantities over galaxies, or stacked quantities at a given mass bin, will also be useful, which can be done with the same instruments developed for Galactic archaeology (although optimal spectral resolutions and wavelength coverages are different). In addition, ALMA has opened a new window for elemental abundances and isotopic ratios in high-redshift galaxies. It is very important to understand stellar physics when these observational data are translated into the formation timescales or physical processes of galaxies. For example, the famous \[\(\alpha\)/Fe\] ratio is not a perfect clock. Analysing low-\(\alpha\) EMP stars, summarized various reasons that cause low \(\alpha\)/Fe ratios: (1) SNe Ia, (2) less-massive core-collapse supernovae (\(\ltsim 20M_\odot\)), which become more important with a low star formation rate (3) hypernovae, although the majority of hypernovae are expected to give normal \[\(\alpha\)/Fe\] ratios (\(\sim 0.4\)), and (4) pair-instability supernovae, which could be very important in the early universe. Therefore, low-\(\alpha\) stars are not necessarily enriched by SNe Ia in a system with a long formation timescale. It is necessary to also use other elemental abundances (namely, Mn and neutron-capture elements) or isotopic ratios, with higher resolution (\(>40,000\)) multi-object spectroscopy on 8m class telescopes (e.g., cancelled WFMOS or planned MSE). I thank my collaborators, D. Yong, M. Franco, F. Vincenzo, P. Taylor, A. Karakas, M. Lugaro, N. Tominaga, S.-C. Leung, M. Ishigaki, and K. Nomoto, and V. Springel for providing Gadget-3. I acknowledge funding from the UK Science and Technology Facility Council through grant ST/M000958/1, ST/R000905/1, ST/V000632/1. The work was also funded by a Leverhulme Trust Research Project Grant on "Birth of Elements". | {'timestamp': '2022-03-07T02:01:40', 'yymm': '2203', 'arxiv_id': '2203.01980', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01980'} |
null | null |
null | null |
null | null |
# General Bids {#sec:general-bids}
It is natural to consider negative values and bids in a matching market. Negative values model *costs* incurred for a match, such as in a job market. When a worker is matched as an employee to a company, she experiences some cost for which she must be compensated. The goal of the matching market is to find an efficient price for her labor. However, negative costs complicate matters because they also introduce negative bids. A participant can make it difficult for a match to occur by bidding an arbitrary negative amount. The result is that equilibrium is no longer sufficient for good welfare, even in bipartite graphs. In this section, we first formalize the failure of equilibrium. We then turn to *stability* as a possible saviour. We observe that approximate *ex post* stability indeed implies good welfare in *any mechanism*, and that the MM satisfies approximate ex post stability when participants are truthful. However, ex post stability is a very strong requirement. We formulate an alternative, *ex ante* stability, and show that a "rebate" variant of the MM has approximately optimal welfare in any ex-ante stable *Nash* equilibrium. We explain the benefit of the rebate payment rule in terms of aligning individual surplus with market clearing without requiring detailed knowledge or communication from the participants. Finally, however, we observe that this result does not naturally extend to Bayes-Nash equilibrium and illustrate the apparent difficulty involving coordinated communication.
## Model and failure of equilibrium
We make one restriction on the general model of Section [5](#sec:prelim){reference-type="ref" reference="sec:prelim"}: we assume the graph is bipartite. This is primarily for notational and narrative convenience. To make our presentation more intuitive, we adopt terminology in which the two sides of the bipartite market are asymmetric: One side (e.g. employers) are *bidders*, while the other side (e.g. workers) are *askers*. The bidders are indexed by \(i\). They have values \(v_{ij}\) and make bids \(b_{ij}\). The askers are indexed by \(j\). We assume they have *costs* \(c_{ij}\) and make *asks* \(a_{ij}\). The surplus of a match between \(i\) and \(j\) is \(s_{ij} = v_{ij}-c_{ij}\), the utility of an asker \(j\) for being matched to \(i\) is \(u_j =-c_{ij}-\pi_i\), and so on. In other words, for the askers, all values and bids have been negated and renamed. We generally picture values, bids, costs, and asks all as positive numbers, so a bidder has a positive value for matching to an asker, who incurs a positive cost from the match. However, our results are all fully general and would allow for any value, bid, cost, or ask to be either positive or negative.
#### The \(1/4\)-rebate Marshallian Match.
This section considers on a variant of the payment rule, which has been proposed in without theoretical results. Namely, in the \(1/4\)-rebate MM, after a pair \((i,j)\) are matched and make their respective payments \(b_{ij}\) and \(-a_{ij}\), the mechanism returns to each participant \(1/4\) of the total payment, i.e. each participant receives a rebate of \((b_{ij}-a_{ij})/4\). Thus, half the reported surplus is kept by the mechanism as payment and half is returned to the participants. We will discuss the benefit of this payment rule in Section [1.3](#subsec:ex_ante){reference-type="ref" reference="subsec:ex_ante"} when we prove a price of anarchy result.
#### Failure of equilibrium.
When asks are allowed, equilibrium becomes insufficient to provide welfare guarantees. Participants in the mechanism can place bids and asks such as to effectively refuse matches with one another, by asking above value or bidding below cost. If two players both "refuse" matches with one another, neither can unilaterally fix the situation. We prove this result for the MM with 1/4 rebate, but the same profile is also a zero welfare equilibrium with no rebate.
In this example, any single player cannot deviate alone to improve her welfare. However, any pair of bidders sharing an edge can coordinate a deviation together and guarantee themselves higher welfare. This pairwise deviation for improved welfare mirrors *stability*, a key concept in matching algorithm design.
## Ex Post Stability
In classical "stable matching" problems , the goal is that, once the mechanism produces a final matching, no two participants \(i,j\) both prefer to leave their assigned partners and switch to matching each other instead. We use *ex post* to refer to the fact that this evaluation occurs after all randomness and the matching's outcome have been realized. In our setting, if \(i\) and \(j\) chose to match each other, they would obtain a net utility of their surplus \(s_{ij} = v_{ij}-c_{ij}\). If this amount is larger than their total utility in the mechanism, then they could switch to each other and split the surplus so as to make them both better off. On the other hand, making this switch presumably involves some amount of friction. Therefore, we introduce an approximate version of stability, as a more lenient requirement of a mechanism.
We note that ex post stability is an extremely strong notion. For any matching mechanism, an ex post stable strategy profile produces an approximately optimal matching.
Observation [\[obs:ex-post-approx\]](#obs:ex-post-approx){reference-type="ref" reference="obs:ex-post-approx"} also arises directly from a primal-dual analysis of the linear program for bipartite matching, in which the dual variables are the utilities of the agents and \(k\)-approximate satisfaction of the dual constraints is precisely \(k\)-ex post stability. We note that while there exist deferred-acceptance style "stable" matching mechanisms that technically involve money, such as matching with contracts , we have not ascertained if they can be made to satisfy approximate ex post stability in our sense.
#### Ex post stability of the Marshallian Match under truthfulness.
Ideally, a matching mechanism would admit equilibria in ex post stable strategies, so that welfare would be high and participants would adhere to the outcomes of the mechanism. But as a weaker requirement, we would like an indication of whether approximately ex post stable strategies might be reasonable in a mechanism. We present a simple \(2\)-ex post stable strategy profile for the \(1/4\)-rebate MM, for all realizations of costs and values.
Again, once one connects the truthful MM to greedy matching, Proposition [\[prop:truthful-ex-post\]](#prop:truthful-ex-post){reference-type="ref" reference="prop:truthful-ex-post"} follows from a basic primal-dual analysis combined with the rebate payment rule. While truthful reporting from all participants produces approximately optimal social welfare (and the participants capture half of it), truthfulness is not in general even an approximate equilibrium. We provide an example in the \(1/4\)-rebate MM setting in which a player can increase her welfare arbitrarily by overstating her true value for a match. If players can make significant gains by deviating from the truthful strategy, it is likely that they will no adhere to an ex post stable profile.
#### Drawbacks of ex post stability.
If one can prove that a mechanism is ex post stable in equilibrium, that is an ideal result as a welfare guarantee immediately follows. However, without such a result, the value of ex post stability is questionable. Consider the following somewhat subtle point. Intuitively, it may seem reasonable to suppose that participants prefer stable strategy profiles as a sort of equilibrium refinement. In particular, if strategy profile \(b\) is not approximately stable, then (one would think) there are two participants \(i\) and \(j\) who would prefer to jointly switch their strategies so as to match to each other. However, *ex post* stability does not give this kind of guarantee. It can only tell \(i\) and \(j\) whether they are satisfied after the mechanism happens. To capture the above intuition, we turn to *ex ante* stability.
## Ex Ante Stability {#subsec:ex_ante}
We now consider a model of stability that generalizes equilibrium by supposing no *pair* of participants has an incentive to *bilaterally* deviate. Importantly, the incentive is relative to expected utility, so it involves an *ex ante* calculation by the participants rather than ex post.
That is, a profile is \(k\)-ex ante stable if there exists no deviation for any pair of players by which they could expect to increase their collective welfare by a factor of more than \(k\). There are two primary differences between ex ante and ex post stability. First, ex ante applies to preferences "before the fact", i.e. in expectation, while ex post applies to preferences "after the fact". Second, ex post stability postulates the ability of two participants to completely bypass the rules of the mechanism and match to each other. In ex ante stability, the participants are limited to deviating to strategies actually allowed by the mechanism. We observe that an ex ante stable profile is by definition a Bayes-Nash equilibrium, as one can in particular consider profiles where only one of the two participants deviates. We show that for deterministic values and costs, ex ante stability is in fact sufficient to guarantee an approximation of optimal welfare.
#### Benefit of the rebate mechanism.
Our price of anarchy result has a similar structure but very different underpinnings compared to the result for positive bids. It relies crucially on the rebate version of the Marshallian Match, which returns to each participant \(1/4\) of the total bid on the edge. This might not appear to be a significant difference from the original version with no rebate; after all, wouldn't participants simply rescale their bids to achieve the same result? However, in our smoothness approach, we obtain a significant benefit. In the positive-values setting, \(i\) can deviate to bids \(v_{ij}/2\), knowing that each corresponding \(j\)'s bid is nonnegative. In deviation, \(i\) is assured that her net utility is exactly the price at which she is matched; earlier (higher price) meaning higher utility; and at the latest, \(i\) matches at time \(\max_j v_{ij}/2\). This fails to hold when values and bids may be negative. For example, \(i\) might be bidding \(b_{ij} = v_{ij}/2\), but if \(j\) is asking \(a_{ji} = v_{ij}/2-\epsilon\), then this match (with high utility for \(i\)) will not happen until time \(\epsilon\). By that time, \(i\) might be matched along an edge generating much less utility. So \(i\) cannot bid defensively in order to align the timing of matches with her own utility. In the \(1/4\)-rebate MM, however, we recover this property. If \(i\) deviates to truthful bids \(v_{ij}\), then any match at price \(p(t)\) will result in a utility of exactly \(v_{ij}-\pi_i + (v_{ij}-a_{ij})/4 = (v_{ij}-a_{ij})/4 = p(t)/4\). The analogous fact holds for askers \(j\). So the \(1/4\) rebate allows participants to align their utility with the order of market clearing without needing to know details of other participants' bids. The final ingredient needed is ex ante stability: when \(i\) deviates to truthfulness, she needs some partner \(j\) to also do so, ensuring that some reasonable match is available.
#### Smoothness and deviation strategies.
We define a pairwise deviation of \(\{i,j\}\) to truthfulness for bids and asks as follows: \(b_{i\ell}' = v_{i\ell}\) for all feasible neighbors \(\ell\), and similarly \(a_{j\ell}' = c_{j\ell}\) for all neighbors \(\ell\). For any pairwise deviation to truthfulness, we show that that pair collectively achieves a constant fraction of their welfare in the \(1/4\)-rebate MM.
Surprisingly, in this result, the contribution of payments to overall welfare can be ignored. We will actually obtain that total participant surplus is a constant fraction of the optimal welfare.
This result relies heavily on participants' ability to calculate the fixed matching with optimal social welfare, and coordinate deviations with their partner. We exploit the deterministic costs and values considered to fix the optimal matching \(M^*\) across realizations of potentially mixed strategies.
## Discussion: failure of the proof in the Bayes-Nash setting
In this section, we discuss the main open problem: proving welfare guarantees in the Bayes-Nash setting under a reasonable stability definition.
In the Bayes-Nash setting, the distributions over values and costs are common knowledge, but their realizations are not. As a result, the optimal matching \(M^*\) is dependent on the realizations of players' types. This causes our proof of welfare approximation under ex ante stability to fail in an interesting way. In fact, even the definition of ex ante stability (Definition [\[def:ex-ante\]](#def:ex-ante){reference-type="ref" reference="def:ex-ante"}) has nuanced implications. Consider a complete bipartite \(n \times n\) graph with a "star-crossed lovers" distribution on types[^1]: there is a uniformly random perfect matching \(M^*\) in which the edges have positive surplus, while all edges not in \(M^*\) have high costs and low values. Even if we take a very bad mechanism, such as one that always assigns the same matching \(M\) regardless of types, it can be ex ante stable: any particular pair are getting low utility, but if they are able to jointly deviate to matching with each other deterministically, they also get low utility in expectation over the type distribution. They are unlikely to be fated for each other once the types are realized. Similarly, recall that the proof of Theorem [\[thm:mechanism-splits-PoA\]](#thm:mechanism-splits-PoA){reference-type="ref" reference="thm:mechanism-splits-PoA"} used ex ante stability in the following step: \[\begin{aligned}
\E\left[\sum_{(i,j)\in M^*}u_i(b,a) + u_j(b,a)\right] &\geq \E\left[\frac{1}{k}\sum_{(i,j)\in M^*}u_i(b_{-i},a_{-i},b_i',a_j') + u_j(b_{-i},a_{-i},b_i',a_j')\right]. \end{aligned}\] In the Nash setting, \(M^*\) was fixed, and so were the deviation strategies \(b_i',a_j'\) which depended on \(M^*\). So the expectation could move inside the sum, followed by an application of ex ante stability. But in a Bayes-Nash setting, \(M^*\) is a random variable depending on the realizations of the types. We cannot move the expectation inside the sum. A tempting fix is some sort of *ex interim stability* assumption, where the deviation strategies of \(i\) and \(j\) can depend on the types of both players. In the star-crossed lovers example, this is appealing: the pairs with high surplus know this fact from their types and can easily coordinate a deviation. So it is reasonable to assume that strategy profiles played in the mechanism are not much worse than such coordinated deviations. However, the amount of coordination required grows significantly if type distributions are more complicated. For example, suppose each value and cost comes from an independent power-law distribution. Finding blocking joint deviations seems to require significant knowledge by the agents, perhaps of global properties of the type space (such as who would be matched under the greedy matching or optimal matching). To assume agents play strategies that eliminate such deviations appears to unjustly relieve the mechanism of responsibility to coordinate agents' information and decisionmaking.
# Conclusion and Future Work {#sec:conclusion}
Two-sided matching is difficult, even in such simplified abstract models as in this paper, for at least three reasons:
- We would like the process to accommodate information acquisition in a way that is compatible with optimal search theory.
- The process is generally dynamic and sequential (for the previous reason), and strategic behavior in dynamic settings is complicated.
- The constraints are complex and interlocking, i.e. \(i\) can match to \(j\) if and only \(j\) matches to \(i\), yet their preferences over this event can be conflicting and contextualized by their other options.
The variants of the Marshallian Match studied in this paper address each challenge to some extent. At least in the nonnegative values setting, the MM is compatible with optimal search because matches are coordinated to occur approximately in order from highest surplus to lowest. This allows inspections to occur approximately in order of their "index" ("strike price") from the Pandora's box problem. In particular, it enables the useful technical property of "exercising in the money", i.e. a bidder who inspects at a late stage and discovers a very valuable match is able to unilaterally lock in that match. Dynamic strategizing is addressed by strictly limiting information leakage, i.e. each participant can only see their own bid and learn when they match. It is unclear whether this feature actually makes the mechanism better, but it does make it easier to analyze. We believe that all of our results extend if participants are able to observe when any match occurs, but this would require careful formalization as the game becomes truly dynamic in that case. The complex constraints are addressed to an extent by the coordination of matches in order of value. A bidder \(i\) in the MM, whether pay-your-bid or \(1/4\)-rebate, has deviation strategies available in which the timing of their match corresponds to their utility. If another participant bids high enough to lock in a match with \(i\) early, this is out of \(i\)'s direct control, but \(i\) can bid so that they are assured of enough utility to make the match worthwhile.
#### Future work.
There are a number of appealing variants on the model and directions for future investigation. In the job market application, an interview is a *simultaneous* inspection event between a worker and employer. Can the MM's welfare guarantees extend to a model where inspection is simultaneous, even in the positive-values setting? Other variations can include multiple stages of inspection (an extension in ) or matching where inspection is optional (studied algorithmically by ). Another direction involves reasonable stability assumptions and their impact on monetary mechanism design for matching. For example, a strategy profile seems somewhat unlikely if it allows for the following sorts of "Stackelberg deviations": participant \(i\) announces a deviation strategy to all of their neighbors on the other side of the market, and those neighbors respond with their own deviations (perhaps best responses). Finally, the MM itself admits a number of possible variations. One additional benefit of the rebate payment rule is that it disincentivizes overbidding and under-asking, because participants do not need to strategically bid to capture value: the payment rule returns it to them as a rebate. A more sophisticated approach involves a two-part bid consisting of a reserve bid \(b_{ij}\) and a "surplus bid" \(\beta_{ij} \in (0,1)\) (respectively for askers, a reserve \(a_{ji}\) and surplus \(\alpha_{ji}\)). When a match occurs at \(p(t) = b_{ij}-a_{ij}\), the bidder receives a rebate of \(\beta_{ij} p(t)\) while the asker receives a rebate of \(\alpha_{ji} p(t)\). Perhaps a variant like this achieves a price of anarchy result, or a stability-based welfare guarantee, for the general setting.
# Introduction
A primary goal of designing mechanisms is to coordinate groups to arrive at collectively good allocations or outcomes. For example, in auctioning a set of items to unit-demand buyers, the problem is to coordinate among the varied preferences of the buyers to achieve an overall good matching of buyers to items. In such auction settings, "good" is usually formalized via *price of anarchy* : in any equilibrium of the auction game, the expected social welfare (total utility) should be approximately optimal. Matching people to people, with preferences on both sides, appears to require even more coordination. introduced the foundational deferred-acceptance algorithm--a matching mechanism without money--for participants with ordinal preferences. The key "good" property it achieves (if all participants are truthful) is *stability*: no pair prefers to switch away from the given matching and match to each other instead. Variants of deferred acceptance have had significant impact in applications from kidney exchange to the National Residency Matching Program (NRMP) for doctors and hospitals (e.g. ). We are motivated by two drawbacks of deferred-acceptance-style approaches. First, the *social welfare* generated by such mechanisms is unclear, even in settings where money is explicitly modeled such as matching with contracts . While their criterion of stability is a nice property, its relationship to welfare is not obvious. We would like to investigate this relationship and obtain explicit welfare guarantees. Second, it is unclear the extent to which such mechanisms are compatible with *inspection* stages in which participants must invest effort to discover their preferences. For example, in practice, the design of the NRMP requires relatively expensive and time-constrained interviews, which must be completed before matching begins. While such concerns have motivated significant work on information acquisition in matching markets, particularly variants of deferred acceptance (e.g.; see Section [3.2](#sec:related-work){reference-type="ref" reference="sec:related-work"}), to our knowledge none of it incorporates monetary mechanisms with quantitative welfare guarantees. On the other hand, prior work of has shown that even in the special case of matching people to items (which have no preferences), approximately optimal welfare *requires* a market design with dynamically interspersed matching and information acquisition. showed that descending-price mechanisms tend to be compatible with costly inspection stages and still yield high social welfare, due to a connection with the Pandora's box problem .
#### The Marshallian Match.
Inspired by, propose the "Marshallian Match" (MM) for two-sided matching with money. In, its namesake describes a theory of market clearing in which the buyer-seller matches that generate the largest surplus--i.e. the most net utility between the pair--occur first, and so on down.[^2] A similar dynamic is observed in decentralized matching markets , yet it does not directly underly standard centralized designs such as deferred acceptance. Similarly, the MM begins with a high price that descends over time. Participants maintain a bid on each of their potential matches, with the sum of the two bids ideally representing the total surplus generated by the match. When the price reaches the sum of any pair's bids on each other, that pair is matched. They pay their bids and drop out of the mechanism, which continues. speculate on the dynamics, strategy, and benefits of this mechanism, but do not obtain theoretical results.
## Our results
We first consider a setting where all participants' values are nonnegative. Under this restriction, we show a general *price of anarchy (PoA)* guarantee for the Marshallian Match, i.e. in any Bayes-Nash equilibrium the expected social welfare is within a constant factor of the optimal possible. We use a smoothness approach (e.g. ) along with several key properties of our variant of the MM, including limited information leakage. The positive-bids setting can model, for example, matching of industrial plants to geographic areas (an application of ) or matching local businesses to municipal-owned locations. We also show robustness of this result via several extensions. It not only holds for non-bipartite graphs, but also extends to a *group formation* setting. There, agents must be partitioned into subsets of size at most \(k\), the edges of a hypergraph. Each agent \(i\) has a private valuation for joining each possible subset. We modify the MM by keeping the global descending price and clearing a subset when the price reaches the sum of its bids. We obtain a \(\Omega(1/k^2)\) price of anarchy for this problem. Next, we show that the welfare guarantee also extends to a model with information acquisition costs. It is natural in many matching settings that participants do not initially know their values for a potential match. It requires time, effort, and/or money to investigate and discover one's value. A good mechanism should carefully coordinate these investigations to happen at appropriate times, or else significant welfare will be lost: participants will either waste too much utility on unnecessary inspections, or they will forego valuable matches due to the inspection cost and uncertainty about the match. Adapting techniques of for analyzing welfare in models of inspection, we show that the price of anarchy of the MM is also constant in this setting.
#### Possibly-negative values.
We then consider a general two-sided matching setting where values may be negative. Understanding this setting is desirable because it more accurately captures job markets, where workers incur a cost (i.e. negative value) for being matched to a job and must be compensated more than that cost. Here we see for natural reasons that a PoA result for the MM is impossible: if all participants set their bids so as to refuse all matches, no single participant can deviate to cause any change and the equilibrium obtains zero welfare. In general, this suggests that a kind of stability condition may be natural and necessary for high-welfare matching mechanisms of any kind. We observe that *approximate ex post* stability implies approximately optimal welfare, and show that the MM achieves approximate ex post stability if participants bid truthfully. We use a simple "rebate" tweak to return half this surplus to the bidders, resulting in a generally favorable outcome.
However, truthfulness is not generally an equilibrium.[^3] This raises the question of whether it is reasonable to assume participants will adopt approximately stable strategy profiles. We argue that ex post stability is too strong an assumption, and instead propose *ex ante* stability. We show that in a Nash setting (not Bayes-Nash) with fixed valuations, if strategies are approximately *ex ante stable*, then the welfare of MM is approximately optimal. This result crucially relies on the "rebate" payment rule: it allows participants the option of a strategy deviation that aligns their personal utility with the order of market clearing. This variant of the payment rule appears necessary to coordinate market clearing by amount of surplus while limiting the amount of communication and knowledge required.
In fact, the stability property also ensures that participants keep a large fraction of the welfare; the proof uses that participant surplus alone (i.e. welfare minus payments) is at least \(1/4k\) of the optimal welfare. Unfortunately, this stable-price-of-anarchy result is fragile and the proof does not extend to the *Bayes-Nash* setting where private valuations are drawn from a common-knowledge prior. This is roughy due to the difficulty of coordinating and communicating deviations between "blocking pairs". Therefore, the main problem of proving a welfare guarantee in a general negative-bids setting and under a reasonable stability assumption remains open.
## Related work {#sec:related-work}
We have not found any mechanisms in the literature involving a two-sided matching market with money and quantifiable welfare results.[^4] However, the literature on matching with strategic agents is very broad, including with inspection stages, and we highlight a number of papers that are related to our problem. Probably closest to our work is, which considers design of a platform to coordinate two-sided matchings with inspection costs and quantifiable welfare guarantees. Motivated by e.g. matching platforms for romantic dating, the paper studies agents coming from specific populations with a known distribution of types. The mechanism uses its knowledge of the type distributions to compute strategies for directing inspection stages (e.g. first dates). The computational problem is challenging and intricate. is able to show the structure of equilibria and use this to give welfare guarantees, all in a setting without money. In contrast, we are interested in monetary mechanisms, motivated (eventually) by e.g. labor markets. We consider a very simple descending-price mechanism that has no access to knowledge about the agent types or distributions. Beyond there is an extensive literature on matching marketplaces and dynamics. Work in that literature involving money (transferable utility) historically often takes a Walrasian equilibrium perspective, while ours is in the tradition of auction design. We refer to the survey of for more on this literature. As mentioned above, a number of recent works study matching markets with information acquisition, but generally consider variants of deferred acceptance without money. Works of this kind include. Among these, uses a lens of optimal search theory similar to ours. It studies matching of students to schools. Its matching problem is almost one-sided, in the sense that schools have known and fixed preferences. The focus is on coordinating efficient acquisition of information by students. Unlike our social-welfare perspective, that work focuses on the more standard criterion of stability and introduces regret-free stable outcomes. In particular, it does not involve money. Similarly, study a serial-dictator mechanism for coordinating student inspection without money. We refer to for an extensive discussion of further work related to information acquisition in matching markets. Our notions of stability are naturally closely related to others in the literature. Ex post stability is only a quantitative version of stability in matching; a more sophisticated version of it is used by, for example. also utilizes a similar notion of stability, in a setting of incomplete information.
# Results for Positive Valuations
In this section, we consider a restriction of the general setting where all values \(v_{ij}\) are nonnegative. First, we show that the Marshallian Match achieves a constant approximation of optimal welfare for matching. Second, we extend the result to the group formation (i.e. matchings on hypergraphs) setting. Finally, we extend the result in a different direction to the case where participants do not initially know their valuations and can choose to expend effort to discover them.
## The vanilla positive valuations model
Here, we take the general model of Section [5](#sec:prelim){reference-type="ref" reference="sec:prelim"} and assume that each valuation satisfies \(v_{ij} \geq 0\). We modify the Marshallian Match to require all bids \(b_{ij}\) to be nonnegative at all times.
#### Intuition.
The nonnegative MM is similar to running multiple interlocking descending-price unit-demand auctions simultaneously.[^5] This parallel is most obvious in the bipartite case: any bidder \(i\) competes against other bidders in the same set for her favorite matches. Extending this perspective, each bidder \(i\) could hypothetically bid as though her neighbors \(j\) were simply items with no preferences. By analyzing the failure of this hypothetical strategy, we find in the MM that it is connected with a different high-welfare event, namely \(j\) matching early. This intuition underlies our smoothness lemma, discussed next.
#### Smoothness for two-sided matching.
We give a smoothness lemma that powers our price of anarchy result. Recall (e.g. ) that smoothness proofs of PoA proceed by guaranteeing high-welfare events in a counterfactual world where \(i\) deviates to a less-preferred strategy. One challenge is that in a dynamic mechanism that proceeds over time, a deviation could cause chain reactions that make it impossible to reason about the outcomes. Here, we rely on our variant of MM that does not leak any information about bids or strategies. The only piece of information the agent receives from the mechanism comes at the moment they are matched, after which they cannot react. A second key challenge is that in a matching market, \(i\) may not match \(j\) *and* the prices that \(i\) and \(j\) each pay may still be low, obstructing an adaptation of a standard smoothness proof. In the MM there is, however, a high *total* price paid for an edge that obstructs the match. Recall that while \(\pi_i(b)\) is \(i\)'s payment, \(p_i(b)\) is the *total* payment on the edge containing \(i\) that is matched (zero if \(i\) is unmatched).
#### The deviation and smoothness lemma.
Let \(b\) be any strategy profile. For any bidder \(i\), define the deviation strategy \(b_i'\) as \(b_{ij}'(t) = v_{ij}/2\) for all feasible neighbors \(j\) and all times \(t\). Observe that if \(i\) matches at any price \(p(t)\) in deviation, their utility is \(p(t)\). In other words, the key property of the Marshallian Match in combination with this deviation strategy is that it coordinates surplus generation with the order of matching.
## Matchings on hypergraphs
We now extend to the problem of coordinating formation of groups of size up to \(k\). We will be brief because the proof is similar to the matching case above, i.e. the special case where \(k=2\) and groups of size one are disallowed. Instead of a graph, we are given a hypergraph where agents are vertices and a hyperedge \(S\) represents a feasible group, i.e. subset of agents of size at most \(k\). The value of agent \(i\) for being assigned to group \(S\) is \(v_{iS} \geq 0\). A "matching" or assignment \(M\) consists of a subset of the hyperedges such that no agent is in two different groups \(S,S' \in M\). The surplus of a group \(S\) is \(s_S = \sum_{i \in S} v_{iS}\). The social welfare of an assignment \(M\) is \(\sum_{S \in M} s_S\). The Marshallian Match for this setting is modified as follows. Participants \(i\) maintain bids \(b_{iS}\) on all of their feasible groups \(S\). When the descending price matches the total sum of bids on any group, i.e. \(p(t) = \sum_{i \in S} b_{iS}\), that group is matched and drops out of the mechanism; all members pay their bids. Again considering the deviation \(b_i'\) where \(b_{iS}'(t) = v_{iS}/2\) for all feasible \(S\) and all \(t\), we have:
It remains to be seen if the factor can be improved to \(\Omega(1/k)\). We appear to lose one factor of \(k\) because the greedy algorithm (e.g. the MM where all participants are truthful) is only a \(1/k\) approximation to optimal, and then another factor from strategic behavior.
## Inspection {#sec:inspection}
We now extend our welfare result for graphs to a model with information acquisition costs. We again do not require the graph to be bipartite. The model is augmented as follows, following e.g.. The type of a participant consists of, for each feasible partner \(j\), a cost of inspection \(r_{ij} \geq 0\) and a distribution \(D_{ij}\) over the nonnegative reals. Our setting is Bayes-Nash, i.e. all types are drawn jointly from a common-knowledge prior. When \(i\) inspects an edge \(\{i,j\}\), they incur a cost of \(r_{ij}\) and observe a value \(v_{ij} \sim D_{ij}\) independently of all other randomness in the game. The cost \(r_{ij}\) can model a financial investment, or the cost of time or effort required for \(i\) to learn their value \(v_{ij}\). Let \(I_{ij} \in \{0,1\}\) be the random variable indicator that \(i\) inspects \(j\) and let \(A_{ij} \in \{0,1\}\) be the indicator that \(i\) is matched to \(j\). We adopt the standard assumption (although recent algorithmic work of has weakened it) that \(i\) must inspect \(j\) prior to being matched to \(j\); i.e. if the match occurs, \(i\) must inspect and incur cost \(r_{ij}\) if they haven't yet. In other words, \(A_{ij} \leq I_{ij}\) pointwise. We also assume that, in the game, inspection is instantaneous with respect to the movement of the price \(p(t)\). An agent \(i\)'s utility is their value for their match (if any) minus the sum of all inspection costs and the price they pay. Formally, we have \(u_i(b) = \sum_j \left(A_{ij} v_{ij}-I_{ij} r_{ij}\right)-\pi_i(b)\), where the sum is over feasible neighbors. Social welfare is the sum of all agent utilities and revenue, i.e. \(\mathrm{Welfare} = \sum_{i,j} \left( A_{ij} v_{ij}-I_{ij} r_{ij} \right)\).
#### Covered call values and exercising in the money.
give technical tools, based on a solution of the Pandora's box problem , utilizing finance-inspired definitions.[^6]
We assume \(\E_{v_{ij} \sim D_{ij}} v_{ij} \geq r_{ij}\) if \(\{i,j\}\) is a feasible match. As we have nonnegative values, this is equivalent to the condition \(\sigma_{ij} \geq 0\). A *matching process* is any procedure that involves sequentially inspecting some of the potential matches and making matches, according to any algorithm or mechanism. The following property, along with Lemma [\[lemma:covered-call\]](#lemma:covered-call){reference-type="ref" reference="lemma:covered-call"}, allows us to relate surplus in a matching process to that of a world with zero inspection costs and values \(\kappa_{ij}\).
#### The deviation strategy.
For a strategy profile \(b\), define the random variable \(\kappa_i(b)\) to be the covered call value of \(i\) for its match in profile \(b\), i.e. \(\min\{\sigma_{ij}, v_{ij}\}\) when \(i\) is matched to \(j\). Let \(\bar{u}_i(b)\) denote \(i\)'s "covered call utility", i.e. \(\bar{u}_i(b) = \kappa_i(b)-\pi_i(b)\). Define the deviation strategy \(b'_{i}\) for agent \(i\) as follows: Initially bid \(0\) on each neighbor \(j\); when the clock reaches \(\sigma_{ij}/2\), inspect neighbor \(j\) and update bid to \(v_{ij}/2\). The key technical property of the deviation strategy, in combination with the Marshallian Match, is that it allows bidders to control their own destiny: If they inspect and discover a high value, they can bid high and immediately lock in the match. That is, their strategy can "exercise in the money".
# Preliminaries {#sec:prelim}
We now define the model and the variant of the Marshallian Match mechanism studied in this paper, originally described by. We define a general model, in which the graph is possibly non-bipartite and bids and values are possibly negative. Later, we will consider different special cases or variations. There is a finite set of \(n\) agents, forming vertices of an undirected graph \(G = (\{1,\dots,n\}, E)\). For now, we do not assume that \(G\) is bipartite. The presence of an edge \(\{i,j\} \in E\) represents that it is feasible to match agents \(i\) and \(j\). In this case, agent \(i\) has a *value* \(v_{ij} \in \mathbb{R}\) for being matched to \(j\), and symmetrically, \(j\) has a value \(v_{ji}\) for being matched to \(i\). If \(i\) and \(j\) are neighbors, we let \(s_{ij} = v_{ij} + v_{ji}\) denote the *surplus* of the edge \(\{i,j\}\). An agent \(i\)'s *type* consists of their values \(v_{ij}\) for each feasible partner \(j\). In the *Nash* setting, each agent has a fixed type, and types are common knowledge. In the better-motivated *Bayes-Nash* setting, types are drawn from a common-knowledge joint distribution \(\mathcal{D}\) and each agent observes their own type.
## The Marshallian Match
In the MM, a global price \(p(t)\) begins at \(+\infty\), i.e. \(p(0)=\infty\), and descends continuously in time until it reaches zero at time \(1\), i.e. \(p(1) = 0\).[^7] Each agent \(i\) maintains, for all neighbors \(j\), a bid \(b_{ij}(t)\) at each time \(t\). The mechanism can observe all bids at all times, but agents cannot observe any bids besides their own. For convenience, we will generally drop the dependence on \(t\) from the bid notation. When the sum of bids on any edge exceeds the global price, i.e. \(b_{ij} + b_{ji} \geq p(t)\), then \(i\) and \(j\) are immediately matched to each other. Each player pays their respective bid to the mechanism. (We will modify the payment rule in Section [1](#sec:general-bids){reference-type="ref" reference="sec:general-bids"}.)
#### Intuition for the mechanism.
Why might this mechanism be good, and how might participants strategize? We briefly describe some intuition, referring the reader to for more detailed discussion. Social welfare and price of anarchy will be formally defined below. First, the edges of the graph are in competition with each other to match first. When an edge \(\{i,j\}\) is matched, it produces a surplus of \(s_{ij} = v_{ij} + v_{ji}\). The first-best solution, i.e. the optimal solution for a central planner who holds all information, is to select a maximum matching where \(s_{ij}\) are the edge weights. However, as discussed in, algorithms for maximum matching are complex and appear to interact poorly with inspection stages. More robust is an approximate first-best solution: the *greedy* matching, where the highest-weight edge is matched first, and so on down. This procedure obtains at least half of the optimal welfare, and can be simulated by a Marshallian Match in which all participants bid truthfully. In, this fact was used to obtain a constant price of anarchy for matching people to items, including in the presence of inspection costs. However, two-sided matching introduces new strategic considerations. "Within" an edge \(\{i,j\}\), there is a competition or bargaining for how to split the surplus generated. An agent \(i\) with many edges (many outside options) may be able to underbid significantly, while her counterpart \(j\) with very few outside options must offer a very high bid along that edge. The question is whether this strategizing and competition between \(i\) and \(j\) destroys the cooperation incentives for the overall bid on the edge \(\{i,j\}\).
## Welfare and price of anarchy
A full strategy profile is denoted \(b\). We let \(v_i(b)\) be \(i\)'s value for their match when \(b\) is played (zero if none), a random variable depending on the randomization in the strategies and, in the Bayes-Nash setting, on the random draw of the types. Similarly, \(\pi_i(b)\) denotes \(i\)'s payment. Finally, \(p_i(b)\) denotes the *total* payment on the edge that \(i\) is matched along, i.e. \(p_i(b) = \pi_i(b) + \pi_j(b)\) when \(i\) is matched to \(j\). We assume all agents are Bayesian, rational, and have preferences quasilinear in payment. That is, given a mechanism and a particular strategy profile \(b\), the *utility* of a participant \(i\) is the random variable \[u_i(b) = v_i(b)-\pi_i(b).\] A *Nash equilibrium* of a mechanism with given types \(\{v_{ij}\}\) is a strategy profile \(b\), consisting of a plan for how to set bids at each moment in time[^8], where each participant maximizes their expected utility, i.e. \[\E u_i(b) \geq \E u_i(b_{-i}, b_i')\] for all \(i\) and for any other strategy \(b_i'\) of \(i\), where the randomness is taken over the strategies. A *Bayes-Nash equilibrium* is defined in exactly the same way, but in a setting consisting of a joint distribution over types. In that case, the randomness is taken over both types and strategies (which are maps from an agent's type to a plan for bidding over time). We use \(\mathrm{Welfare}(b)\) to denote the expected social welfare, i.e. sum of utilities and payments: \[\mathrm{Welfare}(b) = \E \left[ \sum_i v_i(b) + \sum_j v_j(b) \right],\] where the expectation is over all randomness. In the setting with inspection costs, utility and social welfare also accounts for the loss of utility from the inspection processes; this will be formalized at the relevant point, Section [4.3](#sec:inspection){reference-type="ref" reference="sec:inspection"}. \(\mathrm{Welfare}(\textsc{Opt})\) refers to the optimal social welfare. In the Nash setting, \[\mathrm{Welfare}(\textsc{Opt}) = \max_M \sum_{\{i,j\} \in M} v_{ij} + v_{ji},\] where the maximum is over all matchings \(M\). In the Bayes-Nash setting, \[\mathrm{Welfare}(\textsc{Opt}) = \E \left[ \max_M \sum_{\{i,j\} \in M} v_{ij} + v_{ji} \right],\] where the expectation is over the realizations of types. The *price of anarchy* measures the worst-case ratio of \(\mathrm{Welfare}(b)\) to \(\mathrm{Welfare}(\textsc{Opt})\) in any equilibrium \(b\). For Nash equilibrium, we have \[\text{PoA} = \min \frac{\mathrm{Welfare}(b)}{\mathrm{Welfare}(\textsc{Opt})} ,\] where the minimum is taken over all settings (i.e. all types of the participants) and all Nash equilibria \(b\). The Bayes-Nash price of anarchy is defined in exactly the same way, but the minimum is now over all Bayes-Nash settings (i.e. joint distributions on types) and all Bayes-Nash equilibrium strategy profiles \(b\). Note that a Nash equilibrium is a special case of Bayes-Nash where the type distributions are degenerate. Therefore, a Bayes-Nash price of anarchy result immediately implies a Nash price of anarchy.
[^1]: One can create a version where type distributions are independent that makes roughly the same point.
[^2]: This dynamic eventually leads to the market clearing price (e.g. ), after which no more positive-surplus matches are possible. Indeed, in a simple commodity market it is possible to ignore Marshall's dynamics and focus on the calculation of the clearing price. But in a more complex two-sided matching problem, we appear to require dynamics in order to properly coordinate matches.
[^3]: We note that even for deferred acceptance, which is also stable *if all participants are truthful*, in general only one side of the market optimizes their outcomes by being truthful.
[^4]: One can always apply a general Vickrey-Clarke-Groves (VCG) mechanism, which has an equilibrium with optimal social welfare. But VCG is undesirable because it appears incompatible with both price of anarchy results and models with inspection costs, cf..
[^5]: Although general price of anarchy results are available for these kinds of auctions for goods, e.g., we do not know of any that apply to two-sided matching.
[^6]: We refer the reader to for explanation of the terminology, but in brief, the idea is to imagine that when \(i\) inspects \(j\), the cost \(r_{ij}\) is subsidized by an investor in return for a "call option", i.e. the right to the excess surplus \(v_{ij}-\sigma_{ij}\) beyond a threshold \(\sigma_{ij}\), if any. The agent's surplus for that match becomes \(\kappa_{ij}\), and the investor breaks even if \((i,j)\) exercises in the money, otherwise loses money.
[^7]: This can be accomplished in theory by letting the price be e.g. \(p(t) = \frac{1}{2t}\) for \(t \in [0,1/2]\) and \(p(t) = 2-2t\) for \(t \in [1/2,1]\).
[^8]: We observe that usual nuances around equilibrium in dynamic games, such as non-credible threats, refinements such as subgame perfect equilibrium, etc., do not arise here. In our variant of the MM, each agent \(i\) observes nothing until they are matched, after which they can no longer affect the game. So without loss of generality, \(i\) commits in advance to a plan \(\{ b_{ij}(t) \}\) and follows it until matched. | {'timestamp': '2022-03-07T02:03:42', 'yymm': '2203', 'arxiv_id': '2203.02023', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02023'} |
null | null |
null | null |
null | null |
# Introduction
Let \(G=(V,E)\) be a graph with maximum degree \(\Delta\) and minimum degree \(\delta>0\). Consider an edge \(C\)-colouring \(c\) of \(G\), i.e. an assignment of elements from a set \(C\) of potential colours to the edges of \(G\), which does not need to be proper. Let \(E_G(v)\) denote the set of edges incident to a vertex \(v\) in \(G\) and set \(E_G[uv]:=E_G(u)\cup E_G(v)\) for every edge \(uv\in E\). Let further \(P_c(uv)\), \(P_c(v)\) be the *palettes* of colours of \(uv\) and \(v\), i.e. the multisets of colours in \(E(uv)\) and \(E[v]\), respectively. We say that \(uv\), resp. \(v\), is *satisfied* by \(c\) if there is a unique colour in its palette, i.e. a colour associated to exactly one edge in \(E[uv]\), rsp. \(E(v)\). For convenience we shall be writing up each multiset in the following form: \(c_1^{m_1}\ldots c_p^{m_p}\) where \(c_i\in C\) and \(m_i\) indicates the number of repetitions of \(c_i\) in the multiset, and we shall be abbreviating \(c_i^1\) as \(c_i\). An edge \(e\) is thus in particular satisfied by \(c\) if \(P_c(e)\) is of the form \(c_1c_2^{m_2}\ldots c_p^{m_p}\). The colouring \(c\) is said to be *conflict-free* if all edges of \(G\) are satisfied, i.e. contain unique colours in their closed neighbourhoods. The least number of colours admitting such a colouring is called the *conflict-free chromatic index* of \(G\) and denoted \(\chi'_{CF}(G)\). By definition, \(\chi'_{CF}(G)\leq \chi'(G)\), but \(\chi'_{CF}(G)\) is usually much smaller than \(\chi'(G)\). Recently Dębski and Przybyło exhibited that \(\chi'_{CF}\geq (1-o(1))\log_2\Delta\) for the family of complete graphs and used the probabilistic method to prove that there is a constant \(C_2\) such that \(\chi'_{CF}(G)\leq 9\log_{\frac{1}{1-e^{-4}}}\Delta+C_2 = (9/\log_2\frac{1}{1-e^{-4}})\log_2\Delta+C_2\), where \(9/\log_2\frac{1}{1-e^{-4}}\approx 337.5\). The main goal of the present note is to provide a simple direct argument implying that \(\chi'_{CF}(G)\leq 3\log_2\Delta+1\). In fact we shall prove something even stronger, relating the graph invariant under investigation with the chromatic number \(\chi(G)\) rather than \(\Delta(G)\), namely that \(\chi'_{CF}(G)\leq 3\log_2\chi(G)+1\), cf. Corollaries [\[CorollaryGeneralChi\]](#CorollaryGeneralChi){reference-type="ref" reference="CorollaryGeneralChi"} and [\[CorollaryGeneralDelta\]](#CorollaryGeneralDelta){reference-type="ref" reference="CorollaryGeneralDelta"}. For this purpose we study bipartite graphs first and a few related issues. The problem above grew out of its earlier variant concerning vertex colourings. The naturally defined graph parameter in vertex setting is called the *conflict-free chromatic number* and denoted \(\chi_{CF}(G)\). In fact investigating \(\chi'_{CF}(G)\) goes down to study of \(\chi_{CF}(G)\) for the family of line graphs, cf. . Originally the concept of \(\chi_{CF}(G)\) was motivated by channel assignment in wireless networks, where colours represent available frequencies, which potentially interfere, and thus one should always have in range a transmitter with a unique frequency associated, see e.g. . In 2009 Pach and Tardos showed that \(\chi_{CF}(G) = O(\ln^{2+\epsilon}\Delta)\). This was later improved to \(\chi_{CF}(G) = O(\ln^2\Delta)\) by Bhyravarapu, Kalyanasundaram and Mathew , while Glebov, Szabó and Tardos constructed a family of graphs with \(\chi_{CF}(G) = \Omega(\ln^2\Delta)\), legitimating the optimal order of the bound from . See also for other related results.
# Results
A palette including just one colour shall be called *monochromatic*. Moreover, ginen a graph \(G=(V,E)\) and an edge \(uv\) (which does not have to belong to \(E\)), we set \(G+uv:=(V\cup\{u,v\},E\cup\{uv\})\). In it was in particular proved that \(\chi'_{CF}(T)\leq 3\) for every tree \(T\). Here we rephrase this result in order to emphasize some detailed features of the colouring implying this upper bound. By *levels* of a tree \(T\) rooted at \(r\) we mean \(L_0,L_1,L_2,\ldots\) such that \(L_i=\{v\in V(T):{\rm dist}(v,r)=i\}\), where \({\rm dist}(v,r)\) denotes the distance of \(v\) and \(r\) in \(T\). If \(d_T(r)=1\), i.e. \(r\) is a leaf, we refer to its only incident edge as the *rooted edge*. A tree of order \(1\) is called *trivial*.
We note that it is easy to construct trees for which \(\chi'_{CF}(T)= 3\), consider e.g. the complete binary tree of height \(3\). In order to prove our main result we shall in a way need to extend the upper bound from Lemma [\[TreeColouring\]](#TreeColouring){reference-type="ref" reference="TreeColouring"} towards bipartite graphs in Theorem [\[ChiSCF-bipartite\]](#ChiSCF-bipartite){reference-type="ref" reference="ChiSCF-bipartite"}. Let us first briefly discuss the base case of complete bipartite graphs, which settle a "lower bound" for such a problem.
From now on it shall be more convenient for us to focus on a slightly modified graph invariant. Suppose \(c\) is an edge colouring of some subgraph \(H\) of a given graph \(G=(V,E)\). Similarly as before we say that an edge \(e\in E\) or a vertex \(v\in V\) is satisfied by \(c\) if \(P_c(e)\) or \(P_c(v)\), resp., contains a unique colour, where \(P_c(e)=\{c(e'):e'\in E_H[e]\}\) and \(P_c(v)=\{c(e'):e'\in E_H(v)\}\) for \(v\in V\). Then by \(\chi'_{sCF}(G)\) we denote the least number of colours admitting an edge colouring \(c\) of some subgraph of \(G\) (i.e. minimized over all subgraphs) so that all edges of \(G\) are satisfied by \(c\). As given such a colouring one may use yet another additional colour to obtain a desired colouring of entire graph, for every graph \(G\) without isolated edges we have: \[\label{ChiCFandChiSCF_relation} \chi'_{sCF}(G)\leq \chi'_{CF}(G)\leq \chi'_{sCF}(G)+1.\] Note that the colouring used in the proof of Observation [\[ObservComplBip\]](#ObservComplBip){reference-type="ref" reference="ObservComplBip"} actually yields something more.
By ([\[ChiCFandChiSCF_relation\]](#ChiCFandChiSCF_relation){reference-type="ref" reference="ChiCFandChiSCF_relation"}) we thus obtain the following corollary.
We may now prove our main result.
By ([\[ChiCFandChiSCF_relation\]](#ChiCFandChiSCF_relation){reference-type="ref" reference="ChiCFandChiSCF_relation"}), Theorem [\[ChiSCF-general\]](#ChiSCF-general){reference-type="ref" reference="ChiSCF-general"} immediately implies the following corollary.
In it is proved that \(\chi'_{CF}(K_n) > \lfloor \log_2n-\log_2\log_2n-1\rfloor = \lfloor \log_2\chi(K_n)-\log_2\log_2\chi(K_n)-1\rfloor\). Thus in general one cannot expect the multiplicative constant of \(3\) in the general upper bound from Corollary [\[CorollaryGeneralChi\]](#CorollaryGeneralChi){reference-type="ref" reference="CorollaryGeneralChi"} to be pushed down below \(1\). Note on the other hand that the same reasoning as applied within the proof of Theorem [\[ChiSCF-general\]](#ChiSCF-general){reference-type="ref" reference="ChiSCF-general"} yields a slightly stronger upper bound in the case of the complete graphs.
# Concluding remarks
By Corollary [\[ChiCF-bipartite\]](#ChiCF-bipartite){reference-type="ref" reference="ChiCF-bipartite"} and Observation [\[ObservComplBip\]](#ObservComplBip){reference-type="ref" reference="ObservComplBip"} we know that the optimal general upper bound for the conflict-free chromatic index within the family of bipartite graphs is either \(3\) or \(4\). We propose the following conjecture.
Note that even settling this conjecture in the affirmative might not provide a significant improvement of the general bound in Corollary [\[CorollaryGeneralChi\]](#CorollaryGeneralChi){reference-type="ref" reference="CorollaryGeneralChi"}. This would decrease merely by \(1\) on the basis of our approach utilized in the proof of Theorem [\[ChiSCF-general\]](#ChiSCF-general){reference-type="ref" reference="ChiSCF-general"}, unless we knew something specific on the corresponding colourings of bipartite graphs, e.g. implying that.\(\chi'_{sCF}(G)\leq 2\) for these. We believe that it would also be interesting to solve the following problem | {'timestamp': '2022-03-07T02:05:12', 'yymm': '2203', 'arxiv_id': '2203.02040', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.02040'} |
null | null |
null | null |
# Introduction {#sec:intro}
Time-dependent manipulation of few and many-particle quantum systems is important across all implementations of quantum computing and simulation. In such processes, decoherence and undesired transitions reducing the state fidelity are relatively ubiquitous. One important example is given by the undesired transitions that can occur between instantaneous eigenstates of the dynamical Hamiltonian upon the application of an external drive. This is why many driving protocols rely on adiabatic dynamics, where the system follows the instantaneous eigenstates and transitions are naturally suppressed. Ideal adiabatic processes are reversible making them-in principle-robust. However, to approach ideal adiabatic processes the dynamics must always be very slow, requiring compromises on the time-scales of competing heating and decoherence processes. Speeding up adiabatic protocols to enable their completion within the system's coherence time is important for the development of any quantum technologies relying on such protocols. One approach to do this is the implementation of optimal driving protocols, which aim to end up with the system in a desired final state. For example, numerically optimised paths can be employed to avoid points where gaps in the spectrum of the system become small, or additional control fields can be tuned to increase the size of these gaps. In broad terms, this is the goal of protocols collectively referred to as quantum optimal control. Another option is to design techniques which speed up the adiabatic dynamics, often termed shortcuts to adiabaticity (STA). The primary aim of STA is to entirely remove or suppress diabatic transitions between instantaneous eigenstates of the dynamical Hamiltonian. One particularly successful technique is counterdiabatic driving (CD), which was first utilised in physical chemistry by Demirplak and Rice, and was independently introduced by Berry under the name 'transitionless driving'. CD aims to suppress losses that arise due to fast deformations of the system far from the adiabatic limit by analytically compensating for them in the Hamiltonian. In general, to suppress diabatic losses exactly, the full analytical or numerical solutions of the Schrödinger equation are required. This makes the implementation of CD in complex systems-.g. for many-body dynamics-difficult and requires the need for new techniques to be introduced. Links between optimal control and STA have existed throughout the development of both approaches , but there are few examples of their explicit combination in a way that exploits their complementary nature. Some attempts to achieve this have included an emulation of CD through fast oscillations of the original Hamiltonian as well as through recent advances in reinforcement learning methods aimed at optimizing quantum protocols . Such methods have been shown to achieve a significant improvement in performance when implemented using concepts borrowed from CD . In this work, we offer a significantly different new approach in combining elements from STA and quantum optimal control which we will call *counterdiabatic optimised local driving* (COLD). A key ingredient in the development of COLD is a recent approach designed for implementing CD in the setting of larger, more complex systems: local counterdiabatic driving (LCD). LCD offers a method to derive *approximate* CD protocols, with the aim of suppressing undesired transitions instead of fully eliminating them. This allows it to account for some physical constraints of the system, .g. locality conditions. However, the approximate nature of the LCD protocol can lead to poor performance, necessitating the introduction of additional non-local, long-range corrections. If all possible corrections are added, then LCD is equivalent to the normal analytical approaches of CD, but the additional terms are generally difficult to control experimentally. COLD offers an alternative approach, with additional control fields which allow for an optimisation of the dynamical Hamiltonian for a given local form of LCD. The impact of more complex corrections can then be radically reduced, giving a corresponding improvement in the desired protocol. The structure of this paper is as follows: first, we give a detailed description of the new method, COLD, with a focus on the elements of quantum optimal control and CD required for its implementation. In Sec. [9](#sec:TwoSpin){reference-type="ref" reference="sec:TwoSpin"} we explore a 2-spin annealing protocol, that showcases the strengths of COLD. Sec. [10](#sec:1dIsing){reference-type="ref" reference="sec:1dIsing"} describes and analyses the improvements gained with COLD and its combination with other optimal control techniques in the case of state preparation in the Ising model. Then in Sec. [11](#sec:lattice){reference-type="ref" reference="sec:lattice"} we show the improvement that COLD can achieve on the recently realised example of LCD for state transfer on a synthetic lattice in ultracold atoms. A list of abbreviations used in this work can be found in Table. [\[table\]](#table){reference-type="ref" reference="table"} for reference.
# An Introduction to Counterdiabatic Optimised Local Driving {#sec:intro_olcd}
## Quantum Optimal Control {#sec:OptCont}
In the context we consider, we employ quantum optimal control to optimise the function \(f(\psi,\boldsymbol{\beta})\) in the Schrödinger equation \[\dot{\psi} = f(\psi,\boldsymbol{\beta}), \label{eq:Control}\] where \(\psi\) is the quantum wave function and \(\boldsymbol{\beta}\) is the set of optimisable control parameters. Optimisation of Eq. [\[eq:Control\]](#eq:Control){reference-type="eqref" reference="eq:Control"} in most cases means taking the system from an initial state \(\ket{\psi_0}\) to a final target state \(\ket{\psi_T}\) by finding the optimal values of \(\boldsymbol{\beta}\) with respect to some target metric (e.g. the time taken to evolve the system from \(\ket{\psi_0}\) to \(\ket{\psi_T}\)). There is a large variety of techniques available to achieve this goal. The success/target metric needs to be defined prior to the optimisation of \(\boldsymbol{\beta}\). Often this is done by constructing a *cost function*, which in turn defines the optimisation landscape. In general, we can optimise for any desired property of the final state of the system, with some examples being the entropy, energy, energy fluctuations or some other observable. A commonly used cost function in state preparation is related to the fidelity of the final, post-evolution state \(\ket{\psi_f}\) with respect to the target state: \[\begin{aligned}
\label{eq:lossfunc} \mathcal{C}(\ket{\psi_f}) = 1-\left|\braket{\psi_T}{\psi_f}\right|^2. \end{aligned}\] In performing such a numerical optimisation, it is common to take the target state to be parameterised via a Hamiltonian split into two parts. The first is the so-called *bare* Hamiltonian \(H_0(t)\), which can be time-dependent and describes the dynamics of the quantum system in question. The second part is then an additional driving term that includes the control parameters \(\boldsymbol{\beta}(t)\) and operators \(\mathcal{O}_{\rm opt}\) which provide additional degrees of freedom in the dynamics of the system. The full Hamiltonian of the control system is then: \[\begin{aligned}
\label{eq:h_optimal_control} H_{\beta}(t,\boldsymbol{\beta}) = H_0(t) + \boldsymbol{\beta}(t)\mathcal{O}_{\rm opt}. \end{aligned}\] The parameters \(\boldsymbol{\beta}(t)\) can then be optimised for the optimal dynamics with respect to the metric defined by the cost function. In this work, we use the Powell minimization approach for the numerical optimisation as implemented in Python's *SciPy*. When performing this optimisation without any CD terms in the Hamiltonian, we refer to this approach as bare Powell optimisation (BPO), with bare referring to the lack of CD. Furthermore, we implement the chopped rendomised basis (CRAB) approach and combine its methodology with that of COLD, to obtain the method of COLD-CRAB. CRAB expands the size of the parameter landscape by employing randomisation, usually in the optimised pulse driving the system. The approach was first developed for quantum many-body problems whose simulation requires the time-dependent density matrix renormalization group, despite the fact that these were thought to not be tractable in the quantum control setting. CRAB has benefits in that it can avoid traps in the control landscape, and has built-in flexibility for open-loop or closed-loop optimisation although these advantages come at a higher computational cost due to requiring a far larger search-space for the optimisation.
## Counterdiabatic Driving {#sec:LCD}
An important class of optimisation problems deals with the case where the initial and final states are ground states of a Hamiltonian \(H_0(t)\) at some initial \(t=t_i\) and final \(t=t_f\) time. In these cases, the adiabatic theorem guarantees that for an infinitesimally slow transformation of the system \(t_f-t_i\to\infty\), it should follow the instantaneous (non-degenerate) ground state of \(H_0(t)\) and hence reach the target state with unit fidelity. This process is generally known as quantum annealing. In large, complex systems with many degrees of freedom, quantum annealing tends to require prohibitively long protocol times due to vanishingly small gaps typically present in such systems. This often makes annealing protocols impractical. It has been found that this problem can be formally overcome by using CD, where velocity-dependent terms are added to the Hamiltonian analytically enforcing the adiabatic wave function to be the solution of the time-dependent Schrödinger equation. In this case, the dynamical state will follow the instantaneous eigenstate with no transitions regardless of the driving time. The form of the dynamical Hamiltonian enforcing this is: \[\label{eq:counterdiabatic} \begin{aligned} & H_{\mathrm{CD}}(t) = H_0 (t) \\ & + i\hbar \sum_n (\ket{\partial_t n}\bra{n}-\bra{n}\ket{\partial_t n}\ket{n}\bra{n}), \end{aligned}\] with \(\ket{n}\equiv \ket{n(t)}\) the \(n\)-th eigenstate of the instantaneous Hamiltonian \(H_0(t)\). The last term enforces the phases (\(\bra{n}\ket{\partial_t n}\)) on the instantaneous eigenstates, which are arbitrary and thus will be omitted. In general, knowledge of the CD Hamiltonian of Eq. [\[eq:counterdiabatic\]](#eq:counterdiabatic){reference-type="eqref" reference="eq:counterdiabatic"} requires knowledge of the full spectrum of \(H_0(t)\) at each instantaneous moment in time.
## Counterdiabatic Optimised Local Driving {#sec:OLCD}
We will now introduce the main idea of COLD. The principle is to take the same approach as Sec. [8.2](#sec:LCD){reference-type="ref" reference="sec:LCD"} but with the original Hamiltonian given by \(H_\beta(t,\boldsymbol{\beta})\), see Eq. [\[eq:h_optimal_control\]](#eq:h_optimal_control){reference-type="eqref" reference="eq:h_optimal_control"}. Quantum Annealing then applies to the whole family of control Hamiltonians \(H_{\beta}(t,\boldsymbol{\beta})\) as long as the additional control terms \(\boldsymbol{\beta}(t)\) vanish at the protocol boundaries: \(\boldsymbol{\beta}(t_i)=\boldsymbol{\beta}(t_f)=0\). This flexibility was explored in finding the optimal adiabatic path characterized by e.g. the shortest distance between the initial and the final states, i.e. a geodesic. A similar geodesic approach was developed in the context of dissipative systems to minimize energy losses . During the protocol, a dynamical Hamiltonian \(H_\beta(t,\boldsymbol{\beta})\) generally induces transitions between the quantum states that it drives and the question about what is the optimal path remains open. The Hamiltonian \(H_\beta(t,\boldsymbol{\beta})\) and its eigenstates depend on time only through the driving parameters, which include \(\boldsymbol{\beta}\) and any additional control terms in the particular protocol. This makes it convenient to introduce a path in the coupling space parametrized by a dimensionless parameter \(\lambda\in [0,1]\) such that both \(H_0\) and \(\boldsymbol{\beta}\) are functions of \(\lambda\) satisfying \(H_\beta(\lambda=0)=H_{0}(t_i)\) and \(H_\beta(\lambda=1)=H_{0}(t_f)\), i.e. being equal to the initial and the final Hamiltonian at the protocol boundaries. By construction this implies that any additional fields introduced to the bare Hamiltonian \(H_0\) must go to zero at the boundaries. In this way, any protocol can be uniquely characterized by first specifying the path \(\boldsymbol{\beta}(\lambda)\) in the coupling space manifold and then the time dependence \(\lambda(t)\) along it. The path determines the sequence of couplings of the Hamiltonian during time evolution and hence the sequence of ground state wave functions followed by the driven state. Furthermore, the time dependence encodes the speed of traversing this path. We can then introduce a hermitian operator called the (path-dependent) adiabatic gauge potential : \(\mathcal A_\lambda=i \hbar \sum_n \ket{\partial_\lambda n}\bra{n}\), which satisfies a closed form equation, \[\label{eq:AGP_eq} \left[\partial_\lambda H_\beta+{i\over \hbar} [ \mathcal A_\lambda,H_\beta],H_\beta\right]=0,\] where \(H_\beta \equiv H_\beta(\lambda,\boldsymbol{\beta}(\lambda))\) and \(\mathcal{A}_\lambda \equiv \mathcal{A}_\lambda(\lambda,\boldsymbol{\beta}(\lambda))\). Then the CD Hamiltonian reads \[\begin{aligned}
\label{eq:counterdiabaticLCD} H_{\mathrm{CD}}(\lambda,\boldsymbol{\beta}(\lambda)) = H_\beta(\lambda,\boldsymbol{\beta}(\lambda)) +\dot \lambda \mathcal A_\lambda(\lambda,\boldsymbol{\beta}(\lambda)), \end{aligned}\] and is equivalent to the CD Hamiltonian of Eq. [\[eq:counterdiabatic\]](#eq:counterdiabatic){reference-type="eqref" reference="eq:counterdiabatic"} given knowledge of the exact adiabatic gauge potential. However, generally the adiabatic gauge potential is a very non-local object and solutions of Eq. [\[eq:AGP_eq\]](#eq:AGP_eq){reference-type="eqref" reference="eq:AGP_eq"} are unstable to small perturbations containing exponentially many terms in the number of degrees of freedom. LCD aims to find approximate gauge potentials that satisfy particular requirements like robustness and locality, thus circumventing many of the difficulties in determining the second component in Eq. [\[eq:counterdiabatic\]](#eq:counterdiabatic){reference-type="eqref" reference="eq:counterdiabatic"} and [\[eq:counterdiabaticLCD\]](#eq:counterdiabaticLCD){reference-type="eqref" reference="eq:counterdiabaticLCD"} exactly. The goal, in essence, is to suppress the most relevant diabatic effects rather than completely eliminate them. This method has recently been experimentally implemented to speed up state transfer for synthetic lattices in ultracold atoms, for preparing states in nuclear-magnetic-resonance systems, and annealing protocols on an IBM quantum computer. Following the methods of Ref. , the problem of finding the optimal adiabatic gauge potential can be cast as the minimisation of the Hilbert-Schmidt norm of the operators \[\label{eq:Goperator} G_{\lambda}= \partial_{\lambda}H_\beta + i\comm{\mathcal{A}_\lambda}{H_\beta},\] which is equivalent to minimisation of the action \[\label{eq:actionCD} \mathcal{S}(\mathcal{A}_{\lambda}) = \Trace{\left[G_{\lambda}(\mathcal{A}_{\lambda})^2\right]},\] with respect to \(\mathcal{A}_{\lambda}\). In most cases, this is achieved by first choosing an operator ansatz-.e. a set of linearly independent operators \(\{\mathcal{O}_{\rm LCD}\}\)-and then using this set as an operator basis for the adiabatic gauge potential \(\mathcal A_\lambda=\sum_j \alpha_j \mathcal O_{\rm LCD}^{(j)}\). The action can then be minimized with respect to the the set of coefficients, \({\bm \alpha}\). In the example of an Ising spin chain we may take \(\mathcal{A}_\lambda = \sum_j^N \alpha_j \sigma^y_j\), where \(j\) labels the \(N\) chain sites, and \(\{\mathcal{O}_{\rm LCD}\}\) is a set the \(y\)-pauli matrices. Without any additional control fields \(\boldsymbol{\beta}\), LCD is essentially an informed choice of the operator set \(\{\mathcal{O}_{\rm LCD}\}\) in a way that the resulting control protocol from the minimisation of Eq. [\[eq:actionCD\]](#eq:actionCD){reference-type="eqref" reference="eq:actionCD"} is optimal for a given \(H_0(\lambda)\). In this case we explore the family of Hamiltonians \[H_{\rm LCD}(\lambda) = H_0(\lambda) +\sum_j \alpha_j(\lambda) \mathcal{O}_{\rm LCD}^{(j)}.\] The performance of such LCD protocols is determined by how accurately the variational manifold spanned by the set \(\{\mathcal{O}_{\rm LCD}\}\) can approximate an exact \(\mathcal{A}_{\lambda}\) such that Eq. [\[eq:AGP_eq\]](#eq:AGP_eq){reference-type="eqref" reference="eq:AGP_eq"} holds. In the case of the new protocol COLD, we allow for extra exploration of the family of Hamiltonians due to the additional control fields as in Eq. [\[eq:h_optimal_control\]](#eq:h_optimal_control){reference-type="eqref" reference="eq:h_optimal_control"}. This expands the family of Hamiltonians to \[\label{eq:expandedH} H_\beta(\lambda,\boldsymbol{\beta}) = H_0(\lambda) + {\bm \alpha}(\lambda,\boldsymbol{\beta}) \mathcal{O}_{\rm LCD} + \boldsymbol{\beta}(\lambda) \mathcal{O}_{\rm opt}.\] Note, that the coefficients of the optimal control field change the form of the LCD driving coefficients, i.e. \(\bm \alpha = f(\lambda,\boldsymbol{\beta})\). The aim of COLD is then to choose \(\boldsymbol{\beta}(\lambda)\) and \(\mathcal{O}_{\rm opt}\) such that the LCD term is optimal for the dynamical Hamiltonian \(H_0(\lambda)+\boldsymbol{\beta}(\lambda)\mathcal{O}_{\rm opt}\). We will focus on the optimisation of the control parameters \(\boldsymbol{\beta}(\lambda)\) for a given choice of \(\mathcal{O}_{\rm opt}\), although the choice of operators \(\mathcal{O}_{\rm opt}\) can also be optimised over as an extension. With COLD, we have two methods to improve on the existing LCD protocol. As previously shown in Refs. , there is a possibility to add more terms to the LCD making it less local, .g. through long-range interactions. In the spin chain case, we could take the aforementioned sum over \(\sigma^y\) terms to be the *first-order* anzatz for the LCD, where higher-order ansätze might contain sets of operators \(\{\mathcal{O}_{\rm LCD}\}\) with terms odd in \(\sigma^y\) such as \(\sigma^y_j\sigma^{(z,x)}_{j+1}\). This procedure generally improves the performance of CD protocols at the expense of adding more complex operators which may be experimentally impractical depending on the scenario. Alternately, with COLD and the introduction of additional local control fields to the Hamiltonian, we can improve the performance of LCD at a fixed complexity of the CD term. If these extra control fields vanish at the beginning and at the end of the protocol, they do not affect the adiabatically connected states, but they can significantly modify the adiabatic landscape at intermediate couplings to enhance the performance of the given order of LCD. In order to optimize for the additional fields, in this work, we use methods of quantum optimal control. However, we note that such optimization can be done locally by requiring that the next order variational correction to the CD terms is small along the optimal landscape. This local optimization may be advantageous in that it does not require knowledge of the wave function and in this sense is not limited by small system sizes. Furthermore, we compare COLD to the use of CRAB, as discussed in Sec. [8.1](#sec:OptCont){reference-type="ref" reference="sec:OptCont"}. An advantage of COLD is that it can be combined with many advanced optimal control procedures, owing to the standard way additional control fields are introduced to the Hamiltonian. In this work we find the combination of COLD and CRAB particularly useful and we will refer to this as COLD-CRAB.
# Two Spin Quantum Annealing {#sec:TwoSpin}
To showcase and explore the use of COLD in a relatively simple setting we will consider a two spin quantum annealing problem with bare Hamiltonian \[\label{eq:Hanneal} H_0(t) =-2J \sigma_1^z \sigma_2^z-h ( \sigma_{1}^z + \sigma_{2}^z) + 2h \lambda(t) (\sigma_{1}^x + \sigma_{2}^x),\] where \(\sigma^a_j\), \(a \in \{x,y,z\}\) are the Pauli matrices applied to spins indexed by \(j\). For the scaling function \(\lambda(t)\) we pick the form \[\label{eq:Scalingfunc} \lambda(t) = \sin^2\left(\frac{\pi}{2} \sin^2 \left( \frac{\pi t}{2 \tau} \right) \right)\] such that \(\lambda(0) = 0\) and \(\lambda(\tau) = 1\). We consider the case of \(J/h=0.5\), which means the spins start in the initial state of \(\ket{\uparrow \uparrow}\) and finish in a superposition of all of the symmetric states. As discussed in Ref. , since \(H_0\) has a standard Ising spin chain form, the first-order LCD terms are given by the following ansatz for the adiabatic gauge potential: \[\label{eq:LCD1st} \mathcal{A}(\lambda) = \alpha \sum_{i=1}^2 \sigma_i^y,\] with the sum being over the full length of the \(N\) spin chain. Minimising Eq. [\[eq:actionCD\]](#eq:actionCD){reference-type="eqref" reference="eq:actionCD"} for this \(\mathcal{A}_{\lambda}\) with respect to the coefficient \(\alpha\) gives \[\alpha =-\frac{h^2}{4(h\lambda)^2 + h^2 + 4J^2}.\] To further improve on the first-order LCD we can implement COLD, as we will discuss shortly, or we can introduce higher-order terms to the ansatz for \(\mathcal{A}_{\lambda}\). This second method serves as a good benchmark against COLD, since it offers an improvement to first-order LCD in the same way as COLD does, but requires more complicated interactions between the two spins increasing the implementation overhead. The second-order LCD can be found by taking an ansatz for the adiabatic gauge potential: \[\begin{aligned} \mathcal{A}^{(2)}(\lambda) =& \alpha \sum_{j} \sigma_j^y + \gamma (\sigma_1^x \sigma_{2}^y + \sigma_1^y \sigma_{2}^x) \\ & + \zeta (\sigma_1^z \sigma_{2}^y + \sigma_1^y \sigma_{2}^z), \end{aligned}\] where to solve for \(\alpha\), \(\gamma\), and \(\zeta\) we once again minimize the action given by Eq. [\[eq:actionCD\]](#eq:actionCD){reference-type="eqref" reference="eq:actionCD"} and obtain three coupled equations which can be solved numerically (see Appendix [\[app:derivation\]](#app:derivation){reference-type="ref" reference="app:derivation"} for a detailed derivation). We now consider three distinct cases in this two spin quantum annealing example: no LCD, first-order LCD, and second-order LCD. The fidelity of the final state for each case over a wide range of driving times is shown in Fig. [\[fig:TwoSpin\]](#fig:TwoSpin){reference-type="ref" reference="fig:TwoSpin"}(a), with an easily distinguishable advantage in the case of LCD. The final fidelity where no LCD is implemented decreases rapidly as the ramp times are made short, with the system getting stuck in its initial state. On the contrary, first-order LCD retains good final state fidelities into short times, as the driving Hamiltonian becomes that of only the LCD term. The second-order LCD then gives unit fidelity, in agreement with previous observations, as for a two spin Hamiltonian the highest order corrections are that including two spin terms. We now add an optimisable term, as described in Sec. [8.1](#sec:OptCont){reference-type="ref" reference="sec:OptCont"}, so that the new Hamiltonian reads: \[\label{eq:HannealOpt} H_\beta(t) = H_0(t) + \sum_{k=1}^{N_k} \beta^k \sin (\pi k t / \tau) \sum_i \sigma_i^z,\] with \(N_k\) the number of optimisation coefficients, and \(\beta^k\) the coefficient of the \(k\)th frequency of the control function. Note that we consider \[\boldsymbol{\beta}(t) = \sum_{k=1}^{N_k} \beta^k \sin (\pi k t / \tau) = \sum_{k=1}^{N_k} \beta^k \sin (\pi k f(\lambda)),\] with \[\label{eq:lambda} f(\lambda) = \frac{2}{\pi}\arcsin\left(\sqrt{\frac{2}{\pi} \arcsin\left(\sqrt{\lambda}\right)}\right).\] The form of the additional control field fulfils the requirement that the boundary conditions are \(H(0) = H_0(0)\) and \(H(\tau) = H_0(\tau)\). Numerically optimising the \(\beta^k\) for the best final state fidelity *without* adding LCD terms results in the BPO method introduced in Sec. [8.1](#sec:OptCont){reference-type="ref" reference="sec:OptCont"}. We show the results of BPO in Fig. [\[fig:TwoSpin\]](#fig:TwoSpin){reference-type="ref" reference="fig:TwoSpin"}(b), where it is observed that BPO gives better results than the case of no LCD in Fig. [\[fig:TwoSpin\]](#fig:TwoSpin){reference-type="ref" reference="fig:TwoSpin"}(a). However, for short times the BPO approach still results in the system getting stuck in the initial state. Finally we present and compare the results of the new method, COLD. In this case the Hamiltonian before adding LCD terms is given by Eq. [\[eq:HannealOpt\]](#eq:HannealOpt){reference-type="eqref" reference="eq:HannealOpt"} and the coefficient of the first-order LCD is \[\alpha =-\frac{h(h+\boldsymbol{\beta}) + h\frac{\lambda}{\dot{\lambda}} \dot{\boldsymbol{\beta}}}{4(h\lambda)^2 + (h+\boldsymbol{\beta})^2 + 4J^2}.\] Note that the optimisation of the additional control field also feeds into the coefficient of the adiabatic gauge potential during the dynamics as discussed in Sec. [8.3](#sec:OLCD){reference-type="ref" reference="sec:OLCD"}. The results of the COLD approach for this two spin annealing protocol are shown in Fig. [\[fig:TwoSpin\]](#fig:TwoSpin){reference-type="ref" reference="fig:TwoSpin"}(b), where we observe an improvement of the final state fidelity beyond what is possible with first-order LCD alone in Fig. [\[fig:TwoSpin\]](#fig:TwoSpin){reference-type="ref" reference="fig:TwoSpin"}(a). In this example, LCD alone reaches a final state fidelity of \(1-F=3\%\) at short times, however COLD improves this error in the final state to \(1-F=0.005\%\). This is due to the extended family of dynamical Hamiltonians in Eq. [\[eq:expandedH\]](#eq:expandedH){reference-type="eqref" reference="eq:expandedH"} owing to the addition of an optimisable control field. This result shows that COLD can provide an advantageous alternative to the addition of higher-order LCD which may be experimentally impractical. We have found that COLD performs better than LCD of the same order or BPO when the system dynamics are calculated numerically. This does not, however, imply anything about the performance of COLD in more complex scenarios, like in the case of an unknown target ground state. In that case the fidelity is a poor optimisation metric. There is, however, a way to come to the same conclusions as those presented in Fig. [\[fig:TwoSpin\]](#fig:TwoSpin){reference-type="ref" reference="fig:TwoSpin"} without the need to compute the dynamics exactly. We can do this by first using a guess for the COLD protocol to find the approximate adiabatic gauge potential and then minimising the integral of the norm of the second-order correction to the adiabatic gauge potential along the path. Note, that the ground state can be in turn obtained through first order COLD, so there is no need to diagonalize the Hamiltonian. This integral should be small if COLD has implemented a dynamical Hamiltonian that makes the first-order adiabatic gauge potential the leading term. It is effectively a measure of the error of COLD and can be given by \[\begin{aligned} \mathcal{I}_1 = \int_0^\tau dt^\prime \Big[& \bra{\psi_g(t^\prime)} \Gamma^2(t^\prime) \ket{\psi_g(t^\prime)} \\ &-(\bra{\psi_g(t^\prime)} \Gamma(t^\prime) \ket{\psi_g(t^\prime)})^2\Big]^{1/2}, \end{aligned}\] with \(\ket{\psi_g(t)}\) the instantaneous ground state along the path and \[\Gamma(t) = \gamma(t) \left( \sigma_1^y \sigma_2^x + \sigma_1^x \sigma_2^y \right),\] one of the second-order correction terms. In order to confirm this is the case, we compare the different paths--COLD and LCD only--in the two-spin example in order to determine if \(\mathcal{I}_1\) is small for COLD. If \(\mathcal{I}_1\) is small when compared to the same measure for lower-order LCD as \(t\rightarrow 0\), then we know that COLD is enforcing a better dynamical Hamiltonian. In the case of the two spin annealing protocol we find that as \(t\rightarrow0\), \(\mathcal{I}_1\rightarrow 0.04\) for COLD and \(\mathcal{I}_1\rightarrow 0.2\) for LCD, showing that COLD is minimising the second-order correction along the path. A simpler integral \[\mathcal{I}_2 = \int_0^\tau dt^\prime |\gamma(t^\prime)|,\] also reflects this correction in this two spin example, with \(\mathcal{I}_2 \rightarrow 0.03\) for COLD and \(\mathcal{I}_2 \rightarrow 0.1\) for LCD as \(t\rightarrow0\). This could be useful in more complex scenarios as \(\mathcal{I}_2\) will be relatively simple to calculate. We also observe the reduction of the corresponding integrals of the \((\sigma^y_1\sigma^z_2 + \sigma^z_1\sigma^y_2)\) term of the second-order LCD. By minimising these integrals, it could be possible to extend the COLD approach to more complex scenarios, including where the exact calculation of the dynamics is not possible.
# 1D Ising Model {#sec:1dIsing}
In this section we apply COLD for state preparation on a 1D Ising spin chain in the presence of a transverse and longitudinal field. We consider an annealing protocol where the aim is to prepare the ground state across the Ising phase transition. The annealing Hamiltonian is given by \[\begin{aligned}
\label{eq:h0_ising} \begin{split} H_{0}(t) &=-J \sum_{j}^{N-1} \sigma^z_j\sigma_{j+1}^z + Z_0\sum_j^N \sigma_j^z \\ &+ \lambda(t) X_f \sum_j^N \sigma_j^x, \end{split} \end{aligned}\] where \(Z_0\) is a small offset parameter to break ground state degeneracies and \(X_f\) is the final x-field strength. Note, the breaking of the ground state degeneracies is not a requirement but allows for easier consideration of the adiabatic path. As before, \(\lambda(t)\) is a scaling function that has the boundary conditions \(\lambda(0) = 0\) and \(\lambda(\tau) = 1\), with \(\tau\) the driving time. This means we start from the ground state of all spins up and drive across the quantum phase transition to the ground state which is a superposition of all basis states. We again take the scaling function to be given by Eq. [\[eq:Scalingfunc\]](#eq:Scalingfunc){reference-type="eqref" reference="eq:Scalingfunc"}. In this example, we use \(X_f = 10J\) and \(Z_0 = 0.02J\). For the Hamiltonian of Eq. [\[eq:h0_ising\]](#eq:h0_ising){reference-type="eqref" reference="eq:h0_ising"}, the LCD to first and second order is well known, as the wave functions are entirely real. We take the first-order adiabatic gauge potential to be given by \[\label{eq:LCD1} \mathcal{A}(\lambda) = \alpha \sum_{j}^N\sigma_j^y,\] where the coefficients for the general periodic spin chain of Eq. [\[eq:h0_ising\]](#eq:h0_ising){reference-type="eqref" reference="eq:h0_ising"} are \[\begin{aligned}
\label{eq:alphas} \alpha(\lambda) = \frac{1}{2} \frac{Z_0 X_f}{Z_0^2 + \lambda^2 X_f^2 + 2J^2}. \end{aligned}\] Note, that the quoted \(\alpha\) above is technically for a periodic or infinite size system, with \(J^2 \rightarrow J^2(1-1/N)\) for a finite system. However, we find that the inclusion of the factor for the finite system sizes we consider only changes the final achieved converged fidelities at short times by \(\sim 10^{-6}\%\). The second-order adiabatic gauge potential is of the form \[\begin{aligned} \mathcal{A}^{(2)}(\lambda) =& \alpha \sum_{j} \sigma_j^y + \gamma \sum_{j} (\sigma_j^x \sigma_{j+1}^y + \sigma_j^y \sigma_{j+1}^x) \\ & + \zeta \sum_{j} (\sigma_j^z \sigma_{j+1}^y + \sigma_j^y \sigma_{j+1}^z), \end{aligned} \label{eq:SecondLCD}\] with the coefficients \(\alpha\), \(\gamma\) and \(\zeta\) again obtained by minimising the action given by Eq. [\[eq:actionCD\]](#eq:actionCD){reference-type="eqref" reference="eq:actionCD"} and solving the coupled set of equations numerically (see Appendix [\[app:derivation\]](#app:derivation){reference-type="ref" reference="app:derivation"} for a detailed derivation). In this example, optimal control is implemented by introducing an additional driving field so that the dynamical Hamiltonian is given by \[\begin{aligned}
\label{eq:h_beta} H_{\beta}(t, \boldsymbol{\beta}) = H_0(t) + \sum_j \boldsymbol{\beta}(t)\sigma^z_j, \end{aligned}\] with \(\boldsymbol{\beta}\) being the terms to optimise over. We take our additional terms to again respect the boundary conditions \(\boldsymbol{\beta}(0) = 0\) and \(\boldsymbol{\beta}(\tau) = 0\), meaning a natural choice is \[\begin{aligned}
\label{eq:optimsable_1} \boldsymbol{\beta}(t) = \sum_k^{N_k} \beta^k \sin(\omega_k t / \tau) = \sum_k^{N_k} \beta^k \sin(\omega_k f(\lambda)), \end{aligned}\] with \(\omega_k = k 2\pi\) the \(k\)th principal frequency and \(f(\lambda)\) given by Eq. [\[eq:lambda\]](#eq:lambda){reference-type="eqref" reference="eq:lambda"}. To implement the CRAB algorithm discussed in Sec. [8.1](#sec:OptCont){reference-type="ref" reference="sec:OptCont"}, we will use \(k \rightarrow k(1+r)\) instead with \(r\) drawn from a uniform random distribution \(r \in [-0.5,0.5]\). As before, we choose the first order adiabatic gauge potential given by Eq. [\[eq:LCD1\]](#eq:LCD1){reference-type="eqref" reference="eq:LCD1"} and find that the coefficients are \[\begin{aligned}
\alpha(\lambda,\boldsymbol{\beta}) = \frac{X_f}{2} \frac{(Z_0 + \boldsymbol{\beta})-\lambda\dot{\boldsymbol{\beta}}/\dot{\lambda}}{(Z_0 + \boldsymbol{\beta})^2 + \lambda^2 X_f^2 + 2 J^2}. \end{aligned}\] Note, with the introduction of the additional control fields \(\boldsymbol{\beta}\) it is possible for \(\alpha\) to be non-zero at the start or end of the protocol, as \(\dot{\boldsymbol{\beta}}\) is not fixed to be zero. However, this can be enforced by a suitable choice of the additional control field, we will consider replacing \(\alpha \rightarrow S(\lambda)\alpha\) where \(S(\lambda)\) is a scaling function that tends to zero as \(\lambda \rightarrow 0\) and \(\lambda \rightarrow 1\). We find that the scaling function only has a minimal effect on the final fidelities observed. This issue could also be resolved by a suitable choice of \(\boldsymbol{\beta}\), with our example drive being an extreme case as \(\dot{\boldsymbol{\beta}}\) is maximal at the boundaries of the protocol. The suitable choice of the form of \(\boldsymbol{\beta}\) in a given example is a problem we will leave for future work, with our focus being on the introduction of the COLD protocol. We first compare the final state fidelity when using COLD versus BPO as shown in Fig. [\[fig:IsingUnconstrained\]](#fig:IsingUnconstrained){reference-type="ref" reference="fig:IsingUnconstrained"}(a) for different driving times in a system of \(N=5\) spins and a single \(N_k=1\) optimisation coefficient. As expected, at long timescales the two methods agree as we approach the adiabatic limit of the dynamics. However, at shorter time scales the difference in behaviour is dramatic. We observe that the BPO approach fails in the case of very fast driving as the state gets stuck in the initial state but the COLD approach converges to \(1-F \sim 10^{-3}\). Note, this is not achieved by the introduction of first-order LCD terms alone, as this will result in \(F=0.0440\) for \(\tau=10^{-3}J^{-1}\). COLD is instead achieving this by making the LCD term dominant for the dynamical Hamiltonian through the additional control fields. To confirm this, we plot the maximum amplitudes of both the first-and second-order adiabatic gauge potentials in Fig. [\[fig:MaxAmp\]](#fig:MaxAmp){reference-type="ref" reference="fig:MaxAmp"}, where Fig. [\[fig:MaxAmp\]](#fig:MaxAmp){reference-type="ref" reference="fig:MaxAmp"}(a) shows the case of no optimisation and Fig. [\[fig:MaxAmp\]](#fig:MaxAmp){reference-type="ref" reference="fig:MaxAmp"}(b) the case of applying COLD. We can see that without COLD the second-order \((\sigma^x_j\sigma^y_{j+1} + \sigma^y_j\sigma^x_{j+1})\) corrections to the LCD are far larger than the first-order, resulting in the small final state fidelities when only first-order LCD is implemented. In the case of COLD, this relationship reverses and the first-order LCD terms dominate the dynamics. These results are further evidence that the implementation of COLD through the minimisation of the second-order corrections discussed in Sec. [9](#sec:TwoSpin){reference-type="ref" reference="sec:TwoSpin"} could be fruitful in more complex and/or larger systems, where the dynamics can not be calculated. We find that the results of BPO and COLD at short driving times are stable against increasing system size, as shown for \(\tau = 10^{-2}J^{-1}\) in Fig. [\[fig:ScalingN\]](#fig:ScalingN){reference-type="ref" reference="fig:ScalingN"}(a), with only a small decrease in final state fidelity for larger systems with COLD. Similarly, increasing the number of optimisation coefficients \(N_k\) results in little improvement in the values obtained at short times for this example, as shown in Fig. [\[fig:ScalingN\]](#fig:ScalingN){reference-type="ref" reference="fig:ScalingN"}(b). It is possible that in more complex systems, more optimisation coefficients will be needed to gain a larger advantage. We also note that by increasing the number of coefficients, we are increasing the complexity of the cost function landscape to be explored by the minimisation procedure, hence leading to slightly worse final fidelities This can mean that alternative approaches than the Powell minimisation used so far, .g. that of CRAB, could be better suited to probing the cost function for high \(N_k\). We also note that this lack of improvement in the results is likely the consequence of the form of the control field given by Eq. [\[eq:optimsable_1\]](#eq:optimsable_1){reference-type="eqref" reference="eq:optimsable_1"} rather than due to a failure of the optimiser in the face of a complex parameter space. We find that the parameter space is relatively smooth in the case of \(N_k = 1,2,3\) and a better solution for this form of control field simply does not exist. We now consider the combined method of COLD-CRAB for this annealing example as shown in Fig. [\[fig:IsingUnconstrained\]](#fig:IsingUnconstrained){reference-type="ref" reference="fig:IsingUnconstrained"}(b). We point out that with our application of CRAB in this scenario we are not enforcing \(\boldsymbol{\beta}\) to be zero at the start and end of the dynamics, allowing for their to be a tuning of the \(z\)-field offset. This is consistent between CRAB and COLD-CRAB and therefore does not influence our comparison of the two. First, it is important to note that CRAB alone results in a overall speedup of the dynamics for a high final state fidelity \(1-F\sim 10^{-3}\) at long time-scales. However, CRAB still suffers from getting stuck in the initial state at fast driving times and the final state fidelity again tends to zero. This is not the case for COLD-CRAB, which converges to large final state fidelities \(1-F \sim 10^{-3}\) at short driving times \(\tau \leq 10^{-1}J^{-1}\). Note that the difference between the convergence to final state fidelities are only marginally different between COLD and COLD-CRAB at longer times, but at short times COLD-CRAB performs a lot better. Further improvement could be gained by combining COLD with more advanced versions of CRAB or other optimal control methods. As shown in Fig. [\[fig:MaxAmp\]](#fig:MaxAmp){reference-type="ref" reference="fig:MaxAmp"}, the amplitude of the driving required to achieve the fidelities discussed so far scales with the driving time. Practical scenarios will necessarily place limits both on achievable driving times and the maximum amplitude of any term that is being driven. However, the scaling of the drivings shown do not mean that everything diverges in the limit of \(\tau \rightarrow 0\). To see this we can first write the Scrödinger equation for COLD as \[i \hbar d_t \ket{\psi}=\left(H_\beta+\dot\lambda \mathcal{A}_\lambda\right) \ket{\psi},\] we then divide through by \(\dot{\lambda}\) to get \[i \hbar d_\lambda \ket{\psi}=\left(\frac{H_\beta}{\dot \lambda}+\mathcal{A}_\lambda\right) \ket{\psi},\] in the limit of \(\tau \rightarrow 0\) then \(\dot\lambda\to \infty\) to result in the Hamiltonian term disappearing, or in other words, we turn off the Hamiltonian. We then only drive the system in the \(\tau \to 0\) limit with the COLD or LCD driving term: \[\label{eq:OnlyA} i \hbar d_\lambda \ket{\psi}=\mathcal{A}_\lambda \ket{\psi}.\] In this limit then \(\lambda\) plays the role of time, and this could then be implemented in a practical scenario in finite time as it corresponds to some manipulation of the couplings in the system. This renormalised time cannot then be infinitesimally short if the couplings are bounded but we have shown that the protocol does not diverge as \(\tau \rightarrow 0\). In the case of a spin chain, evolving under Eq. [\[eq:OnlyA\]](#eq:OnlyA){reference-type="eqref" reference="eq:OnlyA"} is effectively to first order in LCD implementing independent single spin rotations along the chain, and COLD can be easily applied. If it is not possible to switch off the Hamiltonian as discussed above then as an alternative we can implement COLD with experimental constraints accounted for directly in the optimal control minimisation. We consider an extreme example of constraints to show that even in this scenario COLD can provide an advantage and corresponding speed-up. In the constrained case the annealing protocol remains that of Hamiltonian [\[eq:h0_ising\]](#eq:h0_ising){reference-type="eqref" reference="eq:h0_ising"} but we choose to introduce a bound of \(X_f\) on the maximum amplitude of all drivings. This makes it so that no optimal control or LCD term can go beyond the original amplitude of the \(x\)-field drive. We show the final state fidelities achieved for the constrained example in Fig. [\[fig:IsingcConstrained\]](#fig:IsingcConstrained){reference-type="ref" reference="fig:IsingcConstrained"}. As can be seen in Fig. [\[fig:IsingcConstrained\]](#fig:IsingcConstrained){reference-type="ref" reference="fig:IsingcConstrained"}(a), COLD provides a substantial improvement beyond what is achievable with BPO. BPO manages \(F < 0.5\) for \(\tau < 1J^{-1}\), but COLD can reach final state fidelities \(F\sim 0.9\) for \(\tau < 1J^{-1}\). The real improvement, however, comes with the application of CRAB and COLD-CRAB. CRAB already improves the fidelities substantially, and would allow for a speed up in the annealing protocol but with COLD-CRAB the final state fidelities are even better, with \(F\sim 0.99\) achievable when approaching \(\tau\sim 0.1J^{-1}\). Signs are seen of the onset of the convergence to small values for COLD-CRAB in Fig. [\[fig:IsingcConstrained\]](#fig:IsingcConstrained){reference-type="ref" reference="fig:IsingcConstrained"}(b) before the maximum amplitude required becomes too large and the short time results tend towards zero fidelity and the state being stuck again. With this example and the discussion on implementation via turning off the Hamiltonian, we have shown that COLD is capable of delivering improvements beyond other schemes even for practical problems with strict and rather extreme constraints.
# Transport in a Synthetic Lattice {#sec:lattice}
The efficient transfer of states between opposite ends of a lattice could have future applications in the settings of quantum computation and simulation due to its promise of efficient transport of information. This objective is often tackled in the setting of ultracold atoms in optical lattices. While the problem can be tuned to be a single-particle system and the analytical solutions of the corresponding instantaneous Schrödinger equation are known even for a finite system, efficient evolution for state transfer is not straight-forward. This is due to the fact that the majority of the states are delocalised across the lattice, meaning that the \(\ket{\psi}\bra{\psi}\) terms of the CD Hamiltonian of Eq. [\[eq:counterdiabatic\]](#eq:counterdiabatic){reference-type="eqref" reference="eq:counterdiabatic"} are global in reach. It is normal to consider this system in the tight-binding limit where the implementation of global terms is not straightforward. Such terms can be generated via the interactions of the atoms with cavity modes or from dipolar interactions. However, it would be ambitious to expect this control to be general enough to implement the CD Hamiltonian of the exact solutions. This is one of the reasons that LCD has been pursued in this setting. Recently, LCD has been successfully applied to improve an adiabatic rapid passage (ARP) protocol for population transfer across a synthetic lattice. In this realisation, population transfer was achieved in a synthetic tight-binding lattice of laser coupled atomic momentum states. We will consider the same problem as in Ref. but with the improvement that can be gained by COLD. This system is described by the Hamiltonian \[\begin{aligned}
\label{eq:Hlattice} \begin{split} H_0(t) &=-\sum_n J_n(t)(c_n^{\dag}c_{n+1} + H.c.) \\ &+ \sum_n V_n(t) c_n^{\dag}c_n, \end{split} \end{aligned}\] where \(J_n(t)\) is the time-dependent tunnelling that describes the nearest-neighbour coupling, \(V_n(t)\) is the on-site energy offset with respect to neighbouring sites and \(c_n^{\dag}\)(\(c_{n}\)) is the creation(annihilation) operator on a given synthetic lattice site. In the ARP protocol, the population gets moved from one end of the lattice to the other by linearly ramping the lattice from a positive tilt to a negative tilt via \[\begin{aligned}
\label{eq:t_and_v} J_n(t) = J_0(1.1-\lambda) = J_0\Big(0.1 + \frac{t}{\tau}\Big), \\ V_n(t) = n V_0 2 (\lambda-1/2) = nV_0\Big(1-\frac{2t}{\tau}\Big), \end{aligned}\] where \(V_0 = 4J_0\) is the initial site energy slope and \(J_0\) is the characteristic tunnelling scale of the lattice. The scaling function in this case is given by \[\lambda(t) = 1-\frac{t}{\tau}.\] In order to implement LCD as shown in Ref. , the first order LCD can be accounted for by taking \[\begin{aligned}
\label{eq:tunneling} J_n(t) \rightarrow J_{n, \mathrm{CD}}(t) e^{-i\phi_{n, \mathrm{CD}}(t)}, \end{aligned}\] where \[\begin{aligned}
\label{eq:t_phi_cd} J_{n, \mathrm{CD}}(t) = \sqrt{J_n(t)^2 + (\alpha_n(t)/\tau)^2}, \\ \phi_{n, \mathrm{CD}}(t) = \arctan\left(-\frac{J_n(t)\tau}{\alpha_n(t)}\right), \end{aligned}\] and \(\alpha_n(t)\) is the CD terms which can be found by solving a set of linear equations \[\begin{aligned}
\begin{split} &-3(J_n J_{n+1})\alpha_{n+1} + (J_{n-1}^2 + 4J^2_n + J_{n+1}^2)\alpha_j \\ &-3(J_n J_{n-1})\alpha_{n-1} + (V_{n+1}-V_n)^2 \alpha_n \\ &=-\partial_{\lambda}J_n (V_{n+1}-V_{n}). \end{split} \end{aligned}\] In order to implement COLD we include additional terms to the tunnelling of the lattice \[\begin{aligned}
\label{eq:tunneling_opt} J_n(t) \rightarrow J_n(t, \boldsymbol{\beta}) = J_n(t) + \boldsymbol{\beta}(t), \end{aligned}\] which can then be incorporated into the forms of both \(J_{n, CD}(t)\) and \(\phi_{n, CD}(t)\). We again want the additional control terms to go to zero around the problem boundaries and a natural choice is the same as in the Ising spin chain example in Eq. [\[eq:optimsable_1\]](#eq:optimsable_1){reference-type="eqref" reference="eq:optimsable_1"}. The parameters \(\boldsymbol{\beta}\) are optimised as before by minimizing with respect to the fidelity of the final state, where the population has been fully transferred to the opposite lattice site. We first consider a system size of \(N=7\) sites which was successfully experimentally probed in Ref. , where final state fidelities of \(0.75\) were achieved for \(\tau = 1\)ms with a final tunnelling strength of \(J/\hbar = 1/2\pi kHz\) (equivalent to \(\tau \sim 1 J^{-1}\) in our units). We initially confirm the breakdown of ARP in this setting for fast times, and the success of the LCD protocol at short times, as shown in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"} (a) and found in Ref. . Implementing BPO on its own manages to enhance the achievable fidelities at intermediate times of \(\tau > 0.03 J^{-1}\). However, eventually, as observed in all scenarios in this work, BPO becomes stuck in the initial state at fast times, and the fidelity goes to zero. Implementing the newly introduced COLD protocol achieves an order of magnitude improvement in the fidelity over LCD. This is also plotted in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(a) alongside previous results of ARP and first-order LCD. One concern could be that COLD is achieving this improvement by simply pumping power into the tunnelling term, but as we can see in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(c) the maximum amplitude of the tunnelling term tracks that of LCD. A key issue for experiments is the maximum amplitude achievable by a driving term and with this result we can stipulate that COLD is likely to be feasible in the same regimes as LCD in this synthetic lattice system. There is single outlier at intermediate times as indicated by the single point peaking in maximum amplitude in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(c), this is the exception to the rule, where the optimisation has found a marginally higher fidelity (see the offset point in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(a)) by pumping in power. A large concern for state transfer techniques is the robustness of a protocol with respect to an increasing system size. We show the best achievable fidelities with increasing system size for both BPO and COLD in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(c). While both protocols show a decreasing fidelity with system size as is to be expected, once again COLD does not suffer from getting stuck in the initial state. This is shown by the BPO fidelities going to unity for large systems in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(c), and is the same mechanism for this as for the short driving times in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(a). Another concern could be that BPO will beat COLD if enough parameters are allowed for the optimisation, i.e. if we increase \(N_k\) enough. We observed no evidence of this for the Ising model example and we again do not observe this in this synthetic lattice example, as is shown in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(d). Small improvements are made in the fidelities achieved with BPO and COLD for larger \(N_k\) but this is not substantial.
# Discussion and outlook {#sec:conclusions}
We have introduced a new hybrid approach combining quantum optimal control and shortcuts to adiabaticity: COLD. Inspired by the successes of LCD, where diabatic transitions are suppressed and locality conditions can be met, COLD improves on its methodology by combining it with quantum optimal control. The natural way to enhance the performance of LCD is by introducing higher order CD terms, but these are often non-local and difficult to engineer in experiments. COLD circumvents this by allowing for additional control fields that extend the family of dynamical Hamiltonians which can be explored. In this way, our method may find the best possible path where the effect of lower-order LCD is most relevant and higher order corrections are suppressed. COLD has a clear potential in efficiently speeding up adiabatic evolution in various settings. We demonstrate this numerically via several example protocols which indicate improvements beyond a classical optimisation approach BPO as well as LCD of different orders. Our work shows that COLD reduces the strength of higher order LCD corrections, and that it performs well for increasing system sizes. We have shown that COLD can be implemented in the limit of fast driving by a 'switching off' of the original dynamical Hamiltonian. For scenarios where removing the Hamiltonian is not possible, we have shown that an alternative way to implement COLD is to use a bounded optimisation where amplitudes are restricted. We find that both the COLD and COLD-CRAB protocols perform extremely well in this setting. COLD will be most beneficial when the LCD is only realisable to a certain order but the higher order corrections are large. This means the diabatic transitions are not being sufficiently suppressed by the choice of LCD and COLD can be used to find the dynamical Hamiltonian for which the required order of LCD term dominates. Note, that this goes the other way too, with COLD not providing substantial improvements when the chosen lower order LCD is small across the path. This can be thought of as being the case in two limits. First is the adiabatic limit, for which any CD correction is small and COLD will tend towards the adiabatic result. Second, the low-order LCD terms can be small compared to the driving as the exact CD would be correcting transitions due to interactions at longer ranges. In this scenario, the order of LCD being implemented with COLD needs to be increased, so that the CD term is accounting for the longer range terms. While we have only utilised COLD with first-order LCD in this work, it can be applied with higher-order LCD terms. We found this to be the case when we tried to apply COLD to the protocols for .g. Greenberger-Horne-Zeilinger state generation in arrays of Rydberg atoms in Ref. . COLD with first-or second-order LCD could not improve upon the results of BPO or CRAB. This was due to both the first-and second-order corrections being smaller than the dynamical terms of the original Hamiltonian by two orders of magnitude. It is perhaps not surprising when we consider that the Hamiltonian of this protocol includes long-range couplings. In this case, higher-order corrections would need to be implemented with COLD, and finding methods for executing these now highly non-local terms may be a future path of research. COLD may also be applied to more complex systems where exact dynamics are not possible, .g. due to an excessively large Hilbert space. This may be achieved by variationally minimising the integrals of the coefficients for the higher order corrections to the LCD. This was briefly sketched out in the example of two spin annealing, and we have shown that COLD functions by minimising the strength of the higher order LCD corrections along a given path. A further option is to combine COLD with one of a large variety of numerical optimal control methods, as we have done for the example of CRAB. We have shown a substantial improvement for state preparation in the Ising model that can be obtained from the COLD-CRAB combination-particularly in the constrained case. Both fusions of COLD with advanced optimal control methods as well as the minimisation of higher order LCD term amplitudes for complex systems are two potential extensions which could prove fruitful with further study.
# Introduction {#sec:intro}
Time-dependent manipulation of few and many-particle quantum systems is important across all implementations of quantum computing and simulation. In such processes, decoherence and undesired transitions reducing the state fidelity are relatively ubiquitous. One important example is given by the undesired transitions that can occur between instantaneous eigenstates of the dynamical Hamiltonian upon the application of an external drive. This is why many driving protocols rely on adiabatic dynamics, where the system follows the instantaneous eigenstates and transitions are naturally suppressed. Ideal adiabatic processes are reversible making them-in principle-robust. However, to approach ideal adiabatic processes the dynamics must always be very slow, requiring compromises on the time-scales of competing heating and decoherence processes. Speeding up adiabatic protocols to enable their completion within the system's coherence time is important for the development of any quantum technologies relying on such protocols. One approach to do this is the implementation of optimal driving protocols, which aim to end up with the system in a desired final state. For example, numerically optimised paths can be employed to avoid points where gaps in the spectrum of the system become small, or additional control fields can be tuned to increase the size of these gaps. In broad terms, this is the goal of protocols collectively referred to as quantum optimal control. Another option is to design techniques which speed up the adiabatic dynamics, often termed shortcuts to adiabaticity (STA). The primary aim of STA is to entirely remove or suppress diabatic transitions between instantaneous eigenstates of the dynamical Hamiltonian. One particularly successful technique is counterdiabatic driving (CD), which was first utilised in physical chemistry by Demirplak and Rice, and was independently introduced by Berry under the name 'transitionless driving'. CD aims to suppress losses that arise due to fast deformations of the system far from the adiabatic limit by analytically compensating for them in the Hamiltonian. In general, to suppress diabatic losses exactly, the full analytical or numerical solutions of the Schrödinger equation are required. This makes the implementation of CD in complex systems-.g. for many-body dynamics-difficult and requires the need for new techniques to be introduced. Links between optimal control and STA have existed throughout the development of both approaches , but there are few examples of their explicit combination in a way that exploits their complementary nature. Some attempts to achieve this have included an emulation of CD through fast oscillations of the original Hamiltonian as well as through recent advances in reinforcement learning methods aimed at optimizing quantum protocols . Such methods have been shown to achieve a significant improvement in performance when implemented using concepts borrowed from CD . In this work, we offer a significantly different new approach in combining elements from STA and quantum optimal control which we will call *counterdiabatic optimised local driving* (COLD). A key ingredient in the development of COLD is a recent approach designed for implementing CD in the setting of larger, more complex systems: local counterdiabatic driving (LCD). LCD offers a method to derive *approximate* CD protocols, with the aim of suppressing undesired transitions instead of fully eliminating them. This allows it to account for some physical constraints of the system, .g. locality conditions. However, the approximate nature of the LCD protocol can lead to poor performance, necessitating the introduction of additional non-local, long-range corrections. If all possible corrections are added, then LCD is equivalent to the normal analytical approaches of CD, but the additional terms are generally difficult to control experimentally. COLD offers an alternative approach, with additional control fields which allow for an optimisation of the dynamical Hamiltonian for a given local form of LCD. The impact of more complex corrections can then be radically reduced, giving a corresponding improvement in the desired protocol. The structure of this paper is as follows: first, we give a detailed description of the new method, COLD, with a focus on the elements of quantum optimal control and CD required for its implementation. In Sec. [9](#sec:TwoSpin){reference-type="ref" reference="sec:TwoSpin"} we explore a 2-spin annealing protocol, that showcases the strengths of COLD. Sec. [10](#sec:1dIsing){reference-type="ref" reference="sec:1dIsing"} describes and analyses the improvements gained with COLD and its combination with other optimal control techniques in the case of state preparation in the Ising model. Then in Sec. [11](#sec:lattice){reference-type="ref" reference="sec:lattice"} we show the improvement that COLD can achieve on the recently realised example of LCD for state transfer on a synthetic lattice in ultracold atoms. A list of abbreviations used in this work can be found in Table. [\[table\]](#table){reference-type="ref" reference="table"} for reference.
# An Introduction to Counterdiabatic Optimised Local Driving {#sec:intro_olcd}
## Quantum Optimal Control {#sec:OptCont}
In the context we consider, we employ quantum optimal control to optimise the function \(f(\psi,\boldsymbol{\beta})\) in the Schrödinger equation \[\dot{\psi} = f(\psi,\boldsymbol{\beta}), \label{eq:Control}\] where \(\psi\) is the quantum wave function and \(\boldsymbol{\beta}\) is the set of optimisable control parameters. Optimisation of Eq. [\[eq:Control\]](#eq:Control){reference-type="eqref" reference="eq:Control"} in most cases means taking the system from an initial state \(\ket{\psi_0}\) to a final target state \(\ket{\psi_T}\) by finding the optimal values of \(\boldsymbol{\beta}\) with respect to some target metric (e.g. the time taken to evolve the system from \(\ket{\psi_0}\) to \(\ket{\psi_T}\)). There is a large variety of techniques available to achieve this goal. The success/target metric needs to be defined prior to the optimisation of \(\boldsymbol{\beta}\). Often this is done by constructing a *cost function*, which in turn defines the optimisation landscape. In general, we can optimise for any desired property of the final state of the system, with some examples being the entropy, energy, energy fluctuations or some other observable. A commonly used cost function in state preparation is related to the fidelity of the final, post-evolution state \(\ket{\psi_f}\) with respect to the target state: \[\begin{aligned}
\label{eq:lossfunc} \mathcal{C}(\ket{\psi_f}) = 1-\left|\braket{\psi_T}{\psi_f}\right|^2. \end{aligned}\] In performing such a numerical optimisation, it is common to take the target state to be parameterised via a Hamiltonian split into two parts. The first is the so-called *bare* Hamiltonian \(H_0(t)\), which can be time-dependent and describes the dynamics of the quantum system in question. The second part is then an additional driving term that includes the control parameters \(\boldsymbol{\beta}(t)\) and operators \(\mathcal{O}_{\rm opt}\) which provide additional degrees of freedom in the dynamics of the system. The full Hamiltonian of the control system is then: \[\begin{aligned}
\label{eq:h_optimal_control} H_{\beta}(t,\boldsymbol{\beta}) = H_0(t) + \boldsymbol{\beta}(t)\mathcal{O}_{\rm opt}. \end{aligned}\] The parameters \(\boldsymbol{\beta}(t)\) can then be optimised for the optimal dynamics with respect to the metric defined by the cost function. In this work, we use the Powell minimization approach for the numerical optimisation as implemented in Python's *SciPy*. When performing this optimisation without any CD terms in the Hamiltonian, we refer to this approach as bare Powell optimisation (BPO), with bare referring to the lack of CD. Furthermore, we implement the chopped rendomised basis (CRAB) approach and combine its methodology with that of COLD, to obtain the method of COLD-CRAB. CRAB expands the size of the parameter landscape by employing randomisation, usually in the optimised pulse driving the system. The approach was first developed for quantum many-body problems whose simulation requires the time-dependent density matrix renormalization group, despite the fact that these were thought to not be tractable in the quantum control setting. CRAB has benefits in that it can avoid traps in the control landscape, and has built-in flexibility for open-loop or closed-loop optimisation although these advantages come at a higher computational cost due to requiring a far larger search-space for the optimisation.
## Counterdiabatic Driving {#sec:LCD}
An important class of optimisation problems deals with the case where the initial and final states are ground states of a Hamiltonian \(H_0(t)\) at some initial \(t=t_i\) and final \(t=t_f\) time. In these cases, the adiabatic theorem guarantees that for an infinitesimally slow transformation of the system \(t_f-t_i\to\infty\), it should follow the instantaneous (non-degenerate) ground state of \(H_0(t)\) and hence reach the target state with unit fidelity. This process is generally known as quantum annealing. In large, complex systems with many degrees of freedom, quantum annealing tends to require prohibitively long protocol times due to vanishingly small gaps typically present in such systems. This often makes annealing protocols impractical. It has been found that this problem can be formally overcome by using CD, where velocity-dependent terms are added to the Hamiltonian analytically enforcing the adiabatic wave function to be the solution of the time-dependent Schrödinger equation. In this case, the dynamical state will follow the instantaneous eigenstate with no transitions regardless of the driving time. The form of the dynamical Hamiltonian enforcing this is: \[\label{eq:counterdiabatic} \begin{aligned} & H_{\mathrm{CD}}(t) = H_0 (t) \\ & + i\hbar \sum_n (\ket{\partial_t n}\bra{n}-\bra{n}\ket{\partial_t n}\ket{n}\bra{n}), \end{aligned}\] with \(\ket{n}\equiv \ket{n(t)}\) the \(n\)-th eigenstate of the instantaneous Hamiltonian \(H_0(t)\). The last term enforces the phases (\(\bra{n}\ket{\partial_t n}\)) on the instantaneous eigenstates, which are arbitrary and thus will be omitted. In general, knowledge of the CD Hamiltonian of Eq. [\[eq:counterdiabatic\]](#eq:counterdiabatic){reference-type="eqref" reference="eq:counterdiabatic"} requires knowledge of the full spectrum of \(H_0(t)\) at each instantaneous moment in time.
## Counterdiabatic Optimised Local Driving {#sec:OLCD}
We will now introduce the main idea of COLD. The principle is to take the same approach as Sec. [8.2](#sec:LCD){reference-type="ref" reference="sec:LCD"} but with the original Hamiltonian given by \(H_\beta(t,\boldsymbol{\beta})\), see Eq. [\[eq:h_optimal_control\]](#eq:h_optimal_control){reference-type="eqref" reference="eq:h_optimal_control"}. Quantum Annealing then applies to the whole family of control Hamiltonians \(H_{\beta}(t,\boldsymbol{\beta})\) as long as the additional control terms \(\boldsymbol{\beta}(t)\) vanish at the protocol boundaries: \(\boldsymbol{\beta}(t_i)=\boldsymbol{\beta}(t_f)=0\). This flexibility was explored in finding the optimal adiabatic path characterized by e.g. the shortest distance between the initial and the final states, i.e. a geodesic. A similar geodesic approach was developed in the context of dissipative systems to minimize energy losses . During the protocol, a dynamical Hamiltonian \(H_\beta(t,\boldsymbol{\beta})\) generally induces transitions between the quantum states that it drives and the question about what is the optimal path remains open. The Hamiltonian \(H_\beta(t,\boldsymbol{\beta})\) and its eigenstates depend on time only through the driving parameters, which include \(\boldsymbol{\beta}\) and any additional control terms in the particular protocol. This makes it convenient to introduce a path in the coupling space parametrized by a dimensionless parameter \(\lambda\in [0,1]\) such that both \(H_0\) and \(\boldsymbol{\beta}\) are functions of \(\lambda\) satisfying \(H_\beta(\lambda=0)=H_{0}(t_i)\) and \(H_\beta(\lambda=1)=H_{0}(t_f)\), i.e. being equal to the initial and the final Hamiltonian at the protocol boundaries. By construction this implies that any additional fields introduced to the bare Hamiltonian \(H_0\) must go to zero at the boundaries. In this way, any protocol can be uniquely characterized by first specifying the path \(\boldsymbol{\beta}(\lambda)\) in the coupling space manifold and then the time dependence \(\lambda(t)\) along it. The path determines the sequence of couplings of the Hamiltonian during time evolution and hence the sequence of ground state wave functions followed by the driven state. Furthermore, the time dependence encodes the speed of traversing this path. We can then introduce a hermitian operator called the (path-dependent) adiabatic gauge potential : \(\mathcal A_\lambda=i \hbar \sum_n \ket{\partial_\lambda n}\bra{n}\), which satisfies a closed form equation, \[\label{eq:AGP_eq} \left[\partial_\lambda H_\beta+{i\over \hbar} [ \mathcal A_\lambda,H_\beta],H_\beta\right]=0,\] where \(H_\beta \equiv H_\beta(\lambda,\boldsymbol{\beta}(\lambda))\) and \(\mathcal{A}_\lambda \equiv \mathcal{A}_\lambda(\lambda,\boldsymbol{\beta}(\lambda))\). Then the CD Hamiltonian reads \[\begin{aligned}
\label{eq:counterdiabaticLCD} H_{\mathrm{CD}}(\lambda,\boldsymbol{\beta}(\lambda)) = H_\beta(\lambda,\boldsymbol{\beta}(\lambda)) +\dot \lambda \mathcal A_\lambda(\lambda,\boldsymbol{\beta}(\lambda)), \end{aligned}\] and is equivalent to the CD Hamiltonian of Eq. [\[eq:counterdiabatic\]](#eq:counterdiabatic){reference-type="eqref" reference="eq:counterdiabatic"} given knowledge of the exact adiabatic gauge potential. However, generally the adiabatic gauge potential is a very non-local object and solutions of Eq. [\[eq:AGP_eq\]](#eq:AGP_eq){reference-type="eqref" reference="eq:AGP_eq"} are unstable to small perturbations containing exponentially many terms in the number of degrees of freedom. LCD aims to find approximate gauge potentials that satisfy particular requirements like robustness and locality, thus circumventing many of the difficulties in determining the second component in Eq. [\[eq:counterdiabatic\]](#eq:counterdiabatic){reference-type="eqref" reference="eq:counterdiabatic"} and [\[eq:counterdiabaticLCD\]](#eq:counterdiabaticLCD){reference-type="eqref" reference="eq:counterdiabaticLCD"} exactly. The goal, in essence, is to suppress the most relevant diabatic effects rather than completely eliminate them. This method has recently been experimentally implemented to speed up state transfer for synthetic lattices in ultracold atoms, for preparing states in nuclear-magnetic-resonance systems, and annealing protocols on an IBM quantum computer. Following the methods of Ref. , the problem of finding the optimal adiabatic gauge potential can be cast as the minimisation of the Hilbert-Schmidt norm of the operators \[\label{eq:Goperator} G_{\lambda}= \partial_{\lambda}H_\beta + i\comm{\mathcal{A}_\lambda}{H_\beta},\] which is equivalent to minimisation of the action \[\label{eq:actionCD} \mathcal{S}(\mathcal{A}_{\lambda}) = \Trace{\left[G_{\lambda}(\mathcal{A}_{\lambda})^2\right]},\] with respect to \(\mathcal{A}_{\lambda}\). In most cases, this is achieved by first choosing an operator ansatz-.e. a set of linearly independent operators \(\{\mathcal{O}_{\rm LCD}\}\)-and then using this set as an operator basis for the adiabatic gauge potential \(\mathcal A_\lambda=\sum_j \alpha_j \mathcal O_{\rm LCD}^{(j)}\). The action can then be minimized with respect to the the set of coefficients, \({\bm \alpha}\). In the example of an Ising spin chain we may take \(\mathcal{A}_\lambda = \sum_j^N \alpha_j \sigma^y_j\), where \(j\) labels the \(N\) chain sites, and \(\{\mathcal{O}_{\rm LCD}\}\) is a set the \(y\)-pauli matrices. Without any additional control fields \(\boldsymbol{\beta}\), LCD is essentially an informed choice of the operator set \(\{\mathcal{O}_{\rm LCD}\}\) in a way that the resulting control protocol from the minimisation of Eq. [\[eq:actionCD\]](#eq:actionCD){reference-type="eqref" reference="eq:actionCD"} is optimal for a given \(H_0(\lambda)\). In this case we explore the family of Hamiltonians \[H_{\rm LCD}(\lambda) = H_0(\lambda) +\sum_j \alpha_j(\lambda) \mathcal{O}_{\rm LCD}^{(j)}.\] The performance of such LCD protocols is determined by how accurately the variational manifold spanned by the set \(\{\mathcal{O}_{\rm LCD}\}\) can approximate an exact \(\mathcal{A}_{\lambda}\) such that Eq. [\[eq:AGP_eq\]](#eq:AGP_eq){reference-type="eqref" reference="eq:AGP_eq"} holds. In the case of the new protocol COLD, we allow for extra exploration of the family of Hamiltonians due to the additional control fields as in Eq. [\[eq:h_optimal_control\]](#eq:h_optimal_control){reference-type="eqref" reference="eq:h_optimal_control"}. This expands the family of Hamiltonians to \[\label{eq:expandedH} H_\beta(\lambda,\boldsymbol{\beta}) = H_0(\lambda) + {\bm \alpha}(\lambda,\boldsymbol{\beta}) \mathcal{O}_{\rm LCD} + \boldsymbol{\beta}(\lambda) \mathcal{O}_{\rm opt}.\] Note, that the coefficients of the optimal control field change the form of the LCD driving coefficients, i.e. \(\bm \alpha = f(\lambda,\boldsymbol{\beta})\). The aim of COLD is then to choose \(\boldsymbol{\beta}(\lambda)\) and \(\mathcal{O}_{\rm opt}\) such that the LCD term is optimal for the dynamical Hamiltonian \(H_0(\lambda)+\boldsymbol{\beta}(\lambda)\mathcal{O}_{\rm opt}\). We will focus on the optimisation of the control parameters \(\boldsymbol{\beta}(\lambda)\) for a given choice of \(\mathcal{O}_{\rm opt}\), although the choice of operators \(\mathcal{O}_{\rm opt}\) can also be optimised over as an extension. With COLD, we have two methods to improve on the existing LCD protocol. As previously shown in Refs. , there is a possibility to add more terms to the LCD making it less local, .g. through long-range interactions. In the spin chain case, we could take the aforementioned sum over \(\sigma^y\) terms to be the *first-order* anzatz for the LCD, where higher-order ansätze might contain sets of operators \(\{\mathcal{O}_{\rm LCD}\}\) with terms odd in \(\sigma^y\) such as \(\sigma^y_j\sigma^{(z,x)}_{j+1}\). This procedure generally improves the performance of CD protocols at the expense of adding more complex operators which may be experimentally impractical depending on the scenario. Alternately, with COLD and the introduction of additional local control fields to the Hamiltonian, we can improve the performance of LCD at a fixed complexity of the CD term. If these extra control fields vanish at the beginning and at the end of the protocol, they do not affect the adiabatically connected states, but they can significantly modify the adiabatic landscape at intermediate couplings to enhance the performance of the given order of LCD. In order to optimize for the additional fields, in this work, we use methods of quantum optimal control. However, we note that such optimization can be done locally by requiring that the next order variational correction to the CD terms is small along the optimal landscape. This local optimization may be advantageous in that it does not require knowledge of the wave function and in this sense is not limited by small system sizes. Furthermore, we compare COLD to the use of CRAB, as discussed in Sec. [8.1](#sec:OptCont){reference-type="ref" reference="sec:OptCont"}. An advantage of COLD is that it can be combined with many advanced optimal control procedures, owing to the standard way additional control fields are introduced to the Hamiltonian. In this work we find the combination of COLD and CRAB particularly useful and we will refer to this as COLD-CRAB.
# Two Spin Quantum Annealing {#sec:TwoSpin}
To showcase and explore the use of COLD in a relatively simple setting we will consider a two spin quantum annealing problem with bare Hamiltonian \[\label{eq:Hanneal} H_0(t) =-2J \sigma_1^z \sigma_2^z-h ( \sigma_{1}^z + \sigma_{2}^z) + 2h \lambda(t) (\sigma_{1}^x + \sigma_{2}^x),\] where \(\sigma^a_j\), \(a \in \{x,y,z\}\) are the Pauli matrices applied to spins indexed by \(j\). For the scaling function \(\lambda(t)\) we pick the form \[\label{eq:Scalingfunc} \lambda(t) = \sin^2\left(\frac{\pi}{2} \sin^2 \left( \frac{\pi t}{2 \tau} \right) \right)\] such that \(\lambda(0) = 0\) and \(\lambda(\tau) = 1\). We consider the case of \(J/h=0.5\), which means the spins start in the initial state of \(\ket{\uparrow \uparrow}\) and finish in a superposition of all of the symmetric states. As discussed in Ref. , since \(H_0\) has a standard Ising spin chain form, the first-order LCD terms are given by the following ansatz for the adiabatic gauge potential: \[\label{eq:LCD1st} \mathcal{A}(\lambda) = \alpha \sum_{i=1}^2 \sigma_i^y,\] with the sum being over the full length of the \(N\) spin chain. Minimising Eq. [\[eq:actionCD\]](#eq:actionCD){reference-type="eqref" reference="eq:actionCD"} for this \(\mathcal{A}_{\lambda}\) with respect to the coefficient \(\alpha\) gives \[\alpha =-\frac{h^2}{4(h\lambda)^2 + h^2 + 4J^2}.\] To further improve on the first-order LCD we can implement COLD, as we will discuss shortly, or we can introduce higher-order terms to the ansatz for \(\mathcal{A}_{\lambda}\). This second method serves as a good benchmark against COLD, since it offers an improvement to first-order LCD in the same way as COLD does, but requires more complicated interactions between the two spins increasing the implementation overhead. The second-order LCD can be found by taking an ansatz for the adiabatic gauge potential: \[\begin{aligned} \mathcal{A}^{(2)}(\lambda) =& \alpha \sum_{j} \sigma_j^y + \gamma (\sigma_1^x \sigma_{2}^y + \sigma_1^y \sigma_{2}^x) \\ & + \zeta (\sigma_1^z \sigma_{2}^y + \sigma_1^y \sigma_{2}^z), \end{aligned}\] where to solve for \(\alpha\), \(\gamma\), and \(\zeta\) we once again minimize the action given by Eq. [\[eq:actionCD\]](#eq:actionCD){reference-type="eqref" reference="eq:actionCD"} and obtain three coupled equations which can be solved numerically (see Appendix [\[app:derivation\]](#app:derivation){reference-type="ref" reference="app:derivation"} for a detailed derivation). We now consider three distinct cases in this two spin quantum annealing example: no LCD, first-order LCD, and second-order LCD. The fidelity of the final state for each case over a wide range of driving times is shown in Fig. [\[fig:TwoSpin\]](#fig:TwoSpin){reference-type="ref" reference="fig:TwoSpin"}(a), with an easily distinguishable advantage in the case of LCD. The final fidelity where no LCD is implemented decreases rapidly as the ramp times are made short, with the system getting stuck in its initial state. On the contrary, first-order LCD retains good final state fidelities into short times, as the driving Hamiltonian becomes that of only the LCD term. The second-order LCD then gives unit fidelity, in agreement with previous observations, as for a two spin Hamiltonian the highest order corrections are that including two spin terms. We now add an optimisable term, as described in Sec. [8.1](#sec:OptCont){reference-type="ref" reference="sec:OptCont"}, so that the new Hamiltonian reads: \[\label{eq:HannealOpt} H_\beta(t) = H_0(t) + \sum_{k=1}^{N_k} \beta^k \sin (\pi k t / \tau) \sum_i \sigma_i^z,\] with \(N_k\) the number of optimisation coefficients, and \(\beta^k\) the coefficient of the \(k\)th frequency of the control function. Note that we consider \[\boldsymbol{\beta}(t) = \sum_{k=1}^{N_k} \beta^k \sin (\pi k t / \tau) = \sum_{k=1}^{N_k} \beta^k \sin (\pi k f(\lambda)),\] with \[\label{eq:lambda} f(\lambda) = \frac{2}{\pi}\arcsin\left(\sqrt{\frac{2}{\pi} \arcsin\left(\sqrt{\lambda}\right)}\right).\] The form of the additional control field fulfils the requirement that the boundary conditions are \(H(0) = H_0(0)\) and \(H(\tau) = H_0(\tau)\). Numerically optimising the \(\beta^k\) for the best final state fidelity *without* adding LCD terms results in the BPO method introduced in Sec. [8.1](#sec:OptCont){reference-type="ref" reference="sec:OptCont"}. We show the results of BPO in Fig. [\[fig:TwoSpin\]](#fig:TwoSpin){reference-type="ref" reference="fig:TwoSpin"}(b), where it is observed that BPO gives better results than the case of no LCD in Fig. [\[fig:TwoSpin\]](#fig:TwoSpin){reference-type="ref" reference="fig:TwoSpin"}(a). However, for short times the BPO approach still results in the system getting stuck in the initial state. Finally we present and compare the results of the new method, COLD. In this case the Hamiltonian before adding LCD terms is given by Eq. [\[eq:HannealOpt\]](#eq:HannealOpt){reference-type="eqref" reference="eq:HannealOpt"} and the coefficient of the first-order LCD is \[\alpha =-\frac{h(h+\boldsymbol{\beta}) + h\frac{\lambda}{\dot{\lambda}} \dot{\boldsymbol{\beta}}}{4(h\lambda)^2 + (h+\boldsymbol{\beta})^2 + 4J^2}.\] Note that the optimisation of the additional control field also feeds into the coefficient of the adiabatic gauge potential during the dynamics as discussed in Sec. [8.3](#sec:OLCD){reference-type="ref" reference="sec:OLCD"}. The results of the COLD approach for this two spin annealing protocol are shown in Fig. [\[fig:TwoSpin\]](#fig:TwoSpin){reference-type="ref" reference="fig:TwoSpin"}(b), where we observe an improvement of the final state fidelity beyond what is possible with first-order LCD alone in Fig. [\[fig:TwoSpin\]](#fig:TwoSpin){reference-type="ref" reference="fig:TwoSpin"}(a). In this example, LCD alone reaches a final state fidelity of \(1-F=3\%\) at short times, however COLD improves this error in the final state to \(1-F=0.005\%\). This is due to the extended family of dynamical Hamiltonians in Eq. [\[eq:expandedH\]](#eq:expandedH){reference-type="eqref" reference="eq:expandedH"} owing to the addition of an optimisable control field. This result shows that COLD can provide an advantageous alternative to the addition of higher-order LCD which may be experimentally impractical. We have found that COLD performs better than LCD of the same order or BPO when the system dynamics are calculated numerically. This does not, however, imply anything about the performance of COLD in more complex scenarios, like in the case of an unknown target ground state. In that case the fidelity is a poor optimisation metric. There is, however, a way to come to the same conclusions as those presented in Fig. [\[fig:TwoSpin\]](#fig:TwoSpin){reference-type="ref" reference="fig:TwoSpin"} without the need to compute the dynamics exactly. We can do this by first using a guess for the COLD protocol to find the approximate adiabatic gauge potential and then minimising the integral of the norm of the second-order correction to the adiabatic gauge potential along the path. Note, that the ground state can be in turn obtained through first order COLD, so there is no need to diagonalize the Hamiltonian. This integral should be small if COLD has implemented a dynamical Hamiltonian that makes the first-order adiabatic gauge potential the leading term. It is effectively a measure of the error of COLD and can be given by \[\begin{aligned} \mathcal{I}_1 = \int_0^\tau dt^\prime \Big[& \bra{\psi_g(t^\prime)} \Gamma^2(t^\prime) \ket{\psi_g(t^\prime)} \\ &-(\bra{\psi_g(t^\prime)} \Gamma(t^\prime) \ket{\psi_g(t^\prime)})^2\Big]^{1/2}, \end{aligned}\] with \(\ket{\psi_g(t)}\) the instantaneous ground state along the path and \[\Gamma(t) = \gamma(t) \left( \sigma_1^y \sigma_2^x + \sigma_1^x \sigma_2^y \right),\] one of the second-order correction terms. In order to confirm this is the case, we compare the different paths--COLD and LCD only--in the two-spin example in order to determine if \(\mathcal{I}_1\) is small for COLD. If \(\mathcal{I}_1\) is small when compared to the same measure for lower-order LCD as \(t\rightarrow 0\), then we know that COLD is enforcing a better dynamical Hamiltonian. In the case of the two spin annealing protocol we find that as \(t\rightarrow0\), \(\mathcal{I}_1\rightarrow 0.04\) for COLD and \(\mathcal{I}_1\rightarrow 0.2\) for LCD, showing that COLD is minimising the second-order correction along the path. A simpler integral \[\mathcal{I}_2 = \int_0^\tau dt^\prime |\gamma(t^\prime)|,\] also reflects this correction in this two spin example, with \(\mathcal{I}_2 \rightarrow 0.03\) for COLD and \(\mathcal{I}_2 \rightarrow 0.1\) for LCD as \(t\rightarrow0\). This could be useful in more complex scenarios as \(\mathcal{I}_2\) will be relatively simple to calculate. We also observe the reduction of the corresponding integrals of the \((\sigma^y_1\sigma^z_2 + \sigma^z_1\sigma^y_2)\) term of the second-order LCD. By minimising these integrals, it could be possible to extend the COLD approach to more complex scenarios, including where the exact calculation of the dynamics is not possible.
# 1D Ising Model {#sec:1dIsing}
In this section we apply COLD for state preparation on a 1D Ising spin chain in the presence of a transverse and longitudinal field. We consider an annealing protocol where the aim is to prepare the ground state across the Ising phase transition. The annealing Hamiltonian is given by \[\begin{aligned}
\label{eq:h0_ising} \begin{split} H_{0}(t) &=-J \sum_{j}^{N-1} \sigma^z_j\sigma_{j+1}^z + Z_0\sum_j^N \sigma_j^z \\ &+ \lambda(t) X_f \sum_j^N \sigma_j^x, \end{split} \end{aligned}\] where \(Z_0\) is a small offset parameter to break ground state degeneracies and \(X_f\) is the final x-field strength. Note, the breaking of the ground state degeneracies is not a requirement but allows for easier consideration of the adiabatic path. As before, \(\lambda(t)\) is a scaling function that has the boundary conditions \(\lambda(0) = 0\) and \(\lambda(\tau) = 1\), with \(\tau\) the driving time. This means we start from the ground state of all spins up and drive across the quantum phase transition to the ground state which is a superposition of all basis states. We again take the scaling function to be given by Eq. [\[eq:Scalingfunc\]](#eq:Scalingfunc){reference-type="eqref" reference="eq:Scalingfunc"}. In this example, we use \(X_f = 10J\) and \(Z_0 = 0.02J\). For the Hamiltonian of Eq. [\[eq:h0_ising\]](#eq:h0_ising){reference-type="eqref" reference="eq:h0_ising"}, the LCD to first and second order is well known, as the wave functions are entirely real. We take the first-order adiabatic gauge potential to be given by \[\label{eq:LCD1} \mathcal{A}(\lambda) = \alpha \sum_{j}^N\sigma_j^y,\] where the coefficients for the general periodic spin chain of Eq. [\[eq:h0_ising\]](#eq:h0_ising){reference-type="eqref" reference="eq:h0_ising"} are \[\begin{aligned}
\label{eq:alphas} \alpha(\lambda) = \frac{1}{2} \frac{Z_0 X_f}{Z_0^2 + \lambda^2 X_f^2 + 2J^2}. \end{aligned}\] Note, that the quoted \(\alpha\) above is technically for a periodic or infinite size system, with \(J^2 \rightarrow J^2(1-1/N)\) for a finite system. However, we find that the inclusion of the factor for the finite system sizes we consider only changes the final achieved converged fidelities at short times by \(\sim 10^{-6}\%\). The second-order adiabatic gauge potential is of the form \[\begin{aligned} \mathcal{A}^{(2)}(\lambda) =& \alpha \sum_{j} \sigma_j^y + \gamma \sum_{j} (\sigma_j^x \sigma_{j+1}^y + \sigma_j^y \sigma_{j+1}^x) \\ & + \zeta \sum_{j} (\sigma_j^z \sigma_{j+1}^y + \sigma_j^y \sigma_{j+1}^z), \end{aligned} \label{eq:SecondLCD}\] with the coefficients \(\alpha\), \(\gamma\) and \(\zeta\) again obtained by minimising the action given by Eq. [\[eq:actionCD\]](#eq:actionCD){reference-type="eqref" reference="eq:actionCD"} and solving the coupled set of equations numerically (see Appendix [\[app:derivation\]](#app:derivation){reference-type="ref" reference="app:derivation"} for a detailed derivation). In this example, optimal control is implemented by introducing an additional driving field so that the dynamical Hamiltonian is given by \[\begin{aligned}
\label{eq:h_beta} H_{\beta}(t, \boldsymbol{\beta}) = H_0(t) + \sum_j \boldsymbol{\beta}(t)\sigma^z_j, \end{aligned}\] with \(\boldsymbol{\beta}\) being the terms to optimise over. We take our additional terms to again respect the boundary conditions \(\boldsymbol{\beta}(0) = 0\) and \(\boldsymbol{\beta}(\tau) = 0\), meaning a natural choice is \[\begin{aligned}
\label{eq:optimsable_1} \boldsymbol{\beta}(t) = \sum_k^{N_k} \beta^k \sin(\omega_k t / \tau) = \sum_k^{N_k} \beta^k \sin(\omega_k f(\lambda)), \end{aligned}\] with \(\omega_k = k 2\pi\) the \(k\)th principal frequency and \(f(\lambda)\) given by Eq. [\[eq:lambda\]](#eq:lambda){reference-type="eqref" reference="eq:lambda"}. To implement the CRAB algorithm discussed in Sec. [8.1](#sec:OptCont){reference-type="ref" reference="sec:OptCont"}, we will use \(k \rightarrow k(1+r)\) instead with \(r\) drawn from a uniform random distribution \(r \in [-0.5,0.5]\). As before, we choose the first order adiabatic gauge potential given by Eq. [\[eq:LCD1\]](#eq:LCD1){reference-type="eqref" reference="eq:LCD1"} and find that the coefficients are \[\begin{aligned}
\alpha(\lambda,\boldsymbol{\beta}) = \frac{X_f}{2} \frac{(Z_0 + \boldsymbol{\beta})-\lambda\dot{\boldsymbol{\beta}}/\dot{\lambda}}{(Z_0 + \boldsymbol{\beta})^2 + \lambda^2 X_f^2 + 2 J^2}. \end{aligned}\] Note, with the introduction of the additional control fields \(\boldsymbol{\beta}\) it is possible for \(\alpha\) to be non-zero at the start or end of the protocol, as \(\dot{\boldsymbol{\beta}}\) is not fixed to be zero. However, this can be enforced by a suitable choice of the additional control field, we will consider replacing \(\alpha \rightarrow S(\lambda)\alpha\) where \(S(\lambda)\) is a scaling function that tends to zero as \(\lambda \rightarrow 0\) and \(\lambda \rightarrow 1\). We find that the scaling function only has a minimal effect on the final fidelities observed. This issue could also be resolved by a suitable choice of \(\boldsymbol{\beta}\), with our example drive being an extreme case as \(\dot{\boldsymbol{\beta}}\) is maximal at the boundaries of the protocol. The suitable choice of the form of \(\boldsymbol{\beta}\) in a given example is a problem we will leave for future work, with our focus being on the introduction of the COLD protocol. We first compare the final state fidelity when using COLD versus BPO as shown in Fig. [\[fig:IsingUnconstrained\]](#fig:IsingUnconstrained){reference-type="ref" reference="fig:IsingUnconstrained"}(a) for different driving times in a system of \(N=5\) spins and a single \(N_k=1\) optimisation coefficient. As expected, at long timescales the two methods agree as we approach the adiabatic limit of the dynamics. However, at shorter time scales the difference in behaviour is dramatic. We observe that the BPO approach fails in the case of very fast driving as the state gets stuck in the initial state but the COLD approach converges to \(1-F \sim 10^{-3}\). Note, this is not achieved by the introduction of first-order LCD terms alone, as this will result in \(F=0.0440\) for \(\tau=10^{-3}J^{-1}\). COLD is instead achieving this by making the LCD term dominant for the dynamical Hamiltonian through the additional control fields. To confirm this, we plot the maximum amplitudes of both the first-and second-order adiabatic gauge potentials in Fig. [\[fig:MaxAmp\]](#fig:MaxAmp){reference-type="ref" reference="fig:MaxAmp"}, where Fig. [\[fig:MaxAmp\]](#fig:MaxAmp){reference-type="ref" reference="fig:MaxAmp"}(a) shows the case of no optimisation and Fig. [\[fig:MaxAmp\]](#fig:MaxAmp){reference-type="ref" reference="fig:MaxAmp"}(b) the case of applying COLD. We can see that without COLD the second-order \((\sigma^x_j\sigma^y_{j+1} + \sigma^y_j\sigma^x_{j+1})\) corrections to the LCD are far larger than the first-order, resulting in the small final state fidelities when only first-order LCD is implemented. In the case of COLD, this relationship reverses and the first-order LCD terms dominate the dynamics. These results are further evidence that the implementation of COLD through the minimisation of the second-order corrections discussed in Sec. [9](#sec:TwoSpin){reference-type="ref" reference="sec:TwoSpin"} could be fruitful in more complex and/or larger systems, where the dynamics can not be calculated. We find that the results of BPO and COLD at short driving times are stable against increasing system size, as shown for \(\tau = 10^{-2}J^{-1}\) in Fig. [\[fig:ScalingN\]](#fig:ScalingN){reference-type="ref" reference="fig:ScalingN"}(a), with only a small decrease in final state fidelity for larger systems with COLD. Similarly, increasing the number of optimisation coefficients \(N_k\) results in little improvement in the values obtained at short times for this example, as shown in Fig. [\[fig:ScalingN\]](#fig:ScalingN){reference-type="ref" reference="fig:ScalingN"}(b). It is possible that in more complex systems, more optimisation coefficients will be needed to gain a larger advantage. We also note that by increasing the number of coefficients, we are increasing the complexity of the cost function landscape to be explored by the minimisation procedure, hence leading to slightly worse final fidelities This can mean that alternative approaches than the Powell minimisation used so far, .g. that of CRAB, could be better suited to probing the cost function for high \(N_k\). We also note that this lack of improvement in the results is likely the consequence of the form of the control field given by Eq. [\[eq:optimsable_1\]](#eq:optimsable_1){reference-type="eqref" reference="eq:optimsable_1"} rather than due to a failure of the optimiser in the face of a complex parameter space. We find that the parameter space is relatively smooth in the case of \(N_k = 1,2,3\) and a better solution for this form of control field simply does not exist. We now consider the combined method of COLD-CRAB for this annealing example as shown in Fig. [\[fig:IsingUnconstrained\]](#fig:IsingUnconstrained){reference-type="ref" reference="fig:IsingUnconstrained"}(b). We point out that with our application of CRAB in this scenario we are not enforcing \(\boldsymbol{\beta}\) to be zero at the start and end of the dynamics, allowing for their to be a tuning of the \(z\)-field offset. This is consistent between CRAB and COLD-CRAB and therefore does not influence our comparison of the two. First, it is important to note that CRAB alone results in a overall speedup of the dynamics for a high final state fidelity \(1-F\sim 10^{-3}\) at long time-scales. However, CRAB still suffers from getting stuck in the initial state at fast driving times and the final state fidelity again tends to zero. This is not the case for COLD-CRAB, which converges to large final state fidelities \(1-F \sim 10^{-3}\) at short driving times \(\tau \leq 10^{-1}J^{-1}\). Note that the difference between the convergence to final state fidelities are only marginally different between COLD and COLD-CRAB at longer times, but at short times COLD-CRAB performs a lot better. Further improvement could be gained by combining COLD with more advanced versions of CRAB or other optimal control methods. As shown in Fig. [\[fig:MaxAmp\]](#fig:MaxAmp){reference-type="ref" reference="fig:MaxAmp"}, the amplitude of the driving required to achieve the fidelities discussed so far scales with the driving time. Practical scenarios will necessarily place limits both on achievable driving times and the maximum amplitude of any term that is being driven. However, the scaling of the drivings shown do not mean that everything diverges in the limit of \(\tau \rightarrow 0\). To see this we can first write the Scrödinger equation for COLD as \[i \hbar d_t \ket{\psi}=\left(H_\beta+\dot\lambda \mathcal{A}_\lambda\right) \ket{\psi},\] we then divide through by \(\dot{\lambda}\) to get \[i \hbar d_\lambda \ket{\psi}=\left(\frac{H_\beta}{\dot \lambda}+\mathcal{A}_\lambda\right) \ket{\psi},\] in the limit of \(\tau \rightarrow 0\) then \(\dot\lambda\to \infty\) to result in the Hamiltonian term disappearing, or in other words, we turn off the Hamiltonian. We then only drive the system in the \(\tau \to 0\) limit with the COLD or LCD driving term: \[\label{eq:OnlyA} i \hbar d_\lambda \ket{\psi}=\mathcal{A}_\lambda \ket{\psi}.\] In this limit then \(\lambda\) plays the role of time, and this could then be implemented in a practical scenario in finite time as it corresponds to some manipulation of the couplings in the system. This renormalised time cannot then be infinitesimally short if the couplings are bounded but we have shown that the protocol does not diverge as \(\tau \rightarrow 0\). In the case of a spin chain, evolving under Eq. [\[eq:OnlyA\]](#eq:OnlyA){reference-type="eqref" reference="eq:OnlyA"} is effectively to first order in LCD implementing independent single spin rotations along the chain, and COLD can be easily applied. If it is not possible to switch off the Hamiltonian as discussed above then as an alternative we can implement COLD with experimental constraints accounted for directly in the optimal control minimisation. We consider an extreme example of constraints to show that even in this scenario COLD can provide an advantage and corresponding speed-up. In the constrained case the annealing protocol remains that of Hamiltonian [\[eq:h0_ising\]](#eq:h0_ising){reference-type="eqref" reference="eq:h0_ising"} but we choose to introduce a bound of \(X_f\) on the maximum amplitude of all drivings. This makes it so that no optimal control or LCD term can go beyond the original amplitude of the \(x\)-field drive. We show the final state fidelities achieved for the constrained example in Fig. [\[fig:IsingcConstrained\]](#fig:IsingcConstrained){reference-type="ref" reference="fig:IsingcConstrained"}. As can be seen in Fig. [\[fig:IsingcConstrained\]](#fig:IsingcConstrained){reference-type="ref" reference="fig:IsingcConstrained"}(a), COLD provides a substantial improvement beyond what is achievable with BPO. BPO manages \(F < 0.5\) for \(\tau < 1J^{-1}\), but COLD can reach final state fidelities \(F\sim 0.9\) for \(\tau < 1J^{-1}\). The real improvement, however, comes with the application of CRAB and COLD-CRAB. CRAB already improves the fidelities substantially, and would allow for a speed up in the annealing protocol but with COLD-CRAB the final state fidelities are even better, with \(F\sim 0.99\) achievable when approaching \(\tau\sim 0.1J^{-1}\). Signs are seen of the onset of the convergence to small values for COLD-CRAB in Fig. [\[fig:IsingcConstrained\]](#fig:IsingcConstrained){reference-type="ref" reference="fig:IsingcConstrained"}(b) before the maximum amplitude required becomes too large and the short time results tend towards zero fidelity and the state being stuck again. With this example and the discussion on implementation via turning off the Hamiltonian, we have shown that COLD is capable of delivering improvements beyond other schemes even for practical problems with strict and rather extreme constraints.
# Transport in a Synthetic Lattice {#sec:lattice}
The efficient transfer of states between opposite ends of a lattice could have future applications in the settings of quantum computation and simulation due to its promise of efficient transport of information. This objective is often tackled in the setting of ultracold atoms in optical lattices. While the problem can be tuned to be a single-particle system and the analytical solutions of the corresponding instantaneous Schrödinger equation are known even for a finite system, efficient evolution for state transfer is not straight-forward. This is due to the fact that the majority of the states are delocalised across the lattice, meaning that the \(\ket{\psi}\bra{\psi}\) terms of the CD Hamiltonian of Eq. [\[eq:counterdiabatic\]](#eq:counterdiabatic){reference-type="eqref" reference="eq:counterdiabatic"} are global in reach. It is normal to consider this system in the tight-binding limit where the implementation of global terms is not straightforward. Such terms can be generated via the interactions of the atoms with cavity modes or from dipolar interactions. However, it would be ambitious to expect this control to be general enough to implement the CD Hamiltonian of the exact solutions. This is one of the reasons that LCD has been pursued in this setting. Recently, LCD has been successfully applied to improve an adiabatic rapid passage (ARP) protocol for population transfer across a synthetic lattice. In this realisation, population transfer was achieved in a synthetic tight-binding lattice of laser coupled atomic momentum states. We will consider the same problem as in Ref. but with the improvement that can be gained by COLD. This system is described by the Hamiltonian \[\begin{aligned}
\label{eq:Hlattice} \begin{split} H_0(t) &=-\sum_n J_n(t)(c_n^{\dag}c_{n+1} + H.c.) \\ &+ \sum_n V_n(t) c_n^{\dag}c_n, \end{split} \end{aligned}\] where \(J_n(t)\) is the time-dependent tunnelling that describes the nearest-neighbour coupling, \(V_n(t)\) is the on-site energy offset with respect to neighbouring sites and \(c_n^{\dag}\)(\(c_{n}\)) is the creation(annihilation) operator on a given synthetic lattice site. In the ARP protocol, the population gets moved from one end of the lattice to the other by linearly ramping the lattice from a positive tilt to a negative tilt via \[\begin{aligned}
\label{eq:t_and_v} J_n(t) = J_0(1.1-\lambda) = J_0\Big(0.1 + \frac{t}{\tau}\Big), \\ V_n(t) = n V_0 2 (\lambda-1/2) = nV_0\Big(1-\frac{2t}{\tau}\Big), \end{aligned}\] where \(V_0 = 4J_0\) is the initial site energy slope and \(J_0\) is the characteristic tunnelling scale of the lattice. The scaling function in this case is given by \[\lambda(t) = 1-\frac{t}{\tau}.\] In order to implement LCD as shown in Ref. , the first order LCD can be accounted for by taking \[\begin{aligned}
\label{eq:tunneling} J_n(t) \rightarrow J_{n, \mathrm{CD}}(t) e^{-i\phi_{n, \mathrm{CD}}(t)}, \end{aligned}\] where \[\begin{aligned}
\label{eq:t_phi_cd} J_{n, \mathrm{CD}}(t) = \sqrt{J_n(t)^2 + (\alpha_n(t)/\tau)^2}, \\ \phi_{n, \mathrm{CD}}(t) = \arctan\left(-\frac{J_n(t)\tau}{\alpha_n(t)}\right), \end{aligned}\] and \(\alpha_n(t)\) is the CD terms which can be found by solving a set of linear equations \[\begin{aligned}
\begin{split} &-3(J_n J_{n+1})\alpha_{n+1} + (J_{n-1}^2 + 4J^2_n + J_{n+1}^2)\alpha_j \\ &-3(J_n J_{n-1})\alpha_{n-1} + (V_{n+1}-V_n)^2 \alpha_n \\ &=-\partial_{\lambda}J_n (V_{n+1}-V_{n}). \end{split} \end{aligned}\] In order to implement COLD we include additional terms to the tunnelling of the lattice \[\begin{aligned}
\label{eq:tunneling_opt} J_n(t) \rightarrow J_n(t, \boldsymbol{\beta}) = J_n(t) + \boldsymbol{\beta}(t), \end{aligned}\] which can then be incorporated into the forms of both \(J_{n, CD}(t)\) and \(\phi_{n, CD}(t)\). We again want the additional control terms to go to zero around the problem boundaries and a natural choice is the same as in the Ising spin chain example in Eq. [\[eq:optimsable_1\]](#eq:optimsable_1){reference-type="eqref" reference="eq:optimsable_1"}. The parameters \(\boldsymbol{\beta}\) are optimised as before by minimizing with respect to the fidelity of the final state, where the population has been fully transferred to the opposite lattice site. We first consider a system size of \(N=7\) sites which was successfully experimentally probed in Ref. , where final state fidelities of \(0.75\) were achieved for \(\tau = 1\)ms with a final tunnelling strength of \(J/\hbar = 1/2\pi kHz\) (equivalent to \(\tau \sim 1 J^{-1}\) in our units). We initially confirm the breakdown of ARP in this setting for fast times, and the success of the LCD protocol at short times, as shown in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"} (a) and found in Ref. . Implementing BPO on its own manages to enhance the achievable fidelities at intermediate times of \(\tau > 0.03 J^{-1}\). However, eventually, as observed in all scenarios in this work, BPO becomes stuck in the initial state at fast times, and the fidelity goes to zero. Implementing the newly introduced COLD protocol achieves an order of magnitude improvement in the fidelity over LCD. This is also plotted in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(a) alongside previous results of ARP and first-order LCD. One concern could be that COLD is achieving this improvement by simply pumping power into the tunnelling term, but as we can see in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(c) the maximum amplitude of the tunnelling term tracks that of LCD. A key issue for experiments is the maximum amplitude achievable by a driving term and with this result we can stipulate that COLD is likely to be feasible in the same regimes as LCD in this synthetic lattice system. There is single outlier at intermediate times as indicated by the single point peaking in maximum amplitude in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(c), this is the exception to the rule, where the optimisation has found a marginally higher fidelity (see the offset point in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(a)) by pumping in power. A large concern for state transfer techniques is the robustness of a protocol with respect to an increasing system size. We show the best achievable fidelities with increasing system size for both BPO and COLD in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(c). While both protocols show a decreasing fidelity with system size as is to be expected, once again COLD does not suffer from getting stuck in the initial state. This is shown by the BPO fidelities going to unity for large systems in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(c), and is the same mechanism for this as for the short driving times in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(a). Another concern could be that BPO will beat COLD if enough parameters are allowed for the optimisation, i.e. if we increase \(N_k\) enough. We observed no evidence of this for the Ising model example and we again do not observe this in this synthetic lattice example, as is shown in Fig. [\[fig:Synthetic\]](#fig:Synthetic){reference-type="ref" reference="fig:Synthetic"}(d). Small improvements are made in the fidelities achieved with BPO and COLD for larger \(N_k\) but this is not substantial.
# Discussion and outlook {#sec:conclusions}
We have introduced a new hybrid approach combining quantum optimal control and shortcuts to adiabaticity: COLD. Inspired by the successes of LCD, where diabatic transitions are suppressed and locality conditions can be met, COLD improves on its methodology by combining it with quantum optimal control. The natural way to enhance the performance of LCD is by introducing higher order CD terms, but these are often non-local and difficult to engineer in experiments. COLD circumvents this by allowing for additional control fields that extend the family of dynamical Hamiltonians which can be explored. In this way, our method may find the best possible path where the effect of lower-order LCD is most relevant and higher order corrections are suppressed. COLD has a clear potential in efficiently speeding up adiabatic evolution in various settings. We demonstrate this numerically via several example protocols which indicate improvements beyond a classical optimisation approach BPO as well as LCD of different orders. Our work shows that COLD reduces the strength of higher order LCD corrections, and that it performs well for increasing system sizes. We have shown that COLD can be implemented in the limit of fast driving by a 'switching off' of the original dynamical Hamiltonian. For scenarios where removing the Hamiltonian is not possible, we have shown that an alternative way to implement COLD is to use a bounded optimisation where amplitudes are restricted. We find that both the COLD and COLD-CRAB protocols perform extremely well in this setting. COLD will be most beneficial when the LCD is only realisable to a certain order but the higher order corrections are large. This means the diabatic transitions are not being sufficiently suppressed by the choice of LCD and COLD can be used to find the dynamical Hamiltonian for which the required order of LCD term dominates. Note, that this goes the other way too, with COLD not providing substantial improvements when the chosen lower order LCD is small across the path. This can be thought of as being the case in two limits. First is the adiabatic limit, for which any CD correction is small and COLD will tend towards the adiabatic result. Second, the low-order LCD terms can be small compared to the driving as the exact CD would be correcting transitions due to interactions at longer ranges. In this scenario, the order of LCD being implemented with COLD needs to be increased, so that the CD term is accounting for the longer range terms. While we have only utilised COLD with first-order LCD in this work, it can be applied with higher-order LCD terms. We found this to be the case when we tried to apply COLD to the protocols for .g. Greenberger-Horne-Zeilinger state generation in arrays of Rydberg atoms in Ref. . COLD with first-or second-order LCD could not improve upon the results of BPO or CRAB. This was due to both the first-and second-order corrections being smaller than the dynamical terms of the original Hamiltonian by two orders of magnitude. It is perhaps not surprising when we consider that the Hamiltonian of this protocol includes long-range couplings. In this case, higher-order corrections would need to be implemented with COLD, and finding methods for executing these now highly non-local terms may be a future path of research. COLD may also be applied to more complex systems where exact dynamics are not possible, .g. due to an excessively large Hilbert space. This may be achieved by variationally minimising the integrals of the coefficients for the higher order corrections to the LCD. This was briefly sketched out in the example of two spin annealing, and we have shown that COLD functions by minimising the strength of the higher order LCD corrections along a given path. A further option is to combine COLD with one of a large variety of numerical optimal control methods, as we have done for the example of CRAB. We have shown a substantial improvement for state preparation in the Ising model that can be obtained from the COLD-CRAB combination-particularly in the constrained case. Both fusions of COLD with advanced optimal control methods as well as the minimisation of higher order LCD term amplitudes for complex systems are two potential extensions which could prove fruitful with further study. | {'timestamp': '2022-03-07T02:00:45', 'yymm': '2203', 'arxiv_id': '2203.01948', 'language': 'en', 'url': 'https://arxiv.org/abs/2203.01948'} |
null | null |
null | null |
null | null |
null | null |