Semi-algebraic descriptions of the general Markov model Phylomania - - PowerPoint PPT Presentation

semi algebraic descriptions of the general markov model
SMART_READER_LITE
LIVE PREVIEW

Semi-algebraic descriptions of the general Markov model Phylomania - - PowerPoint PPT Presentation

Semi-algebraic descriptions of the general Markov model Phylomania 2010 John A. Rhodes Hobart, Tas. November 4-5 Thanks to my collaborators: Elizabeth Allman, Mathematics and Statistics, UAF Amelia Taylor, Mathematics and Computer Science,


slide-1
SLIDE 1

Semi-algebraic descriptions of the general Markov model

John A. Rhodes Phylomania 2010 Hobart, Tas. November 4-5

slide-2
SLIDE 2

Thanks to my collaborators:

Elizabeth Allman, Mathematics and Statistics, UAF Amelia Taylor, Mathematics and Computer Science, Colorado College

slide-3
SLIDE 3

GM(k) Model on T: k = size of some alphabet (state space); e.g., k = 2 (0=R,1=Y), k = 4 (A,C,T,G) T a rooted tree, n leaves Pick a vector π = (π1, . . . , πk) ∈ [0, 1]k, πi = 1 to specify a distribution of states at the root of T. For each edge of T directed away from the root, pick a k × k stochastic matrix Me of conditional probabilities of state changes between the endpoints. These choices determine a joint probability distribution P ∈ Rkn of states at the leaves (the pattern distribution)

Semialgebraic Slide 1

slide-4
SLIDE 4

The General Markov (GM) model on T is the collection of such P for all choices of π, Me Variants: Require π, Me to have positive entries (To statisticians, this is a very important difference.) Require Me to be non-singular (Standard assumption of GTR and submodels.)

Semialgebraic Slide 2

slide-5
SLIDE 5

For fixed T with n leaves, the GM model is the image of a polynomial map φT : ΘT → Rkn. with domain ΘT ⊆ RL defined by equalities (e.g., πi = 1, Me1 = 1), and inequalities (e.g., πi ≥ 0, det(Me = 0)).

Semialgebraic Slide 3

slide-6
SLIDE 6
  • Definition. A subset of Rm defined by polynomial equalities and

inequalities is said to be semi-algebraic set.

  • Theorem. (Tarski-Seidenberg) The polynomial image of a

semi-algebraic set is semi-algebraic. Thus the GM model on T is a semialgebraic set

Semialgebraic Slide 4

slide-7
SLIDE 7

Problem: Give an explicit semialgebraic description of the k-state GM model on a tree T.

  • Equalities (called phylogenetic invariants) have been much

studied.

  • Inequalities are more elusive.

Semialgebraic Slide 5

slide-8
SLIDE 8

Example: (Cavender-Felsenstein) T a 4-leaf tree.

1 2 3 4

The 4-point condition with log-det distance, can be exponentiated and expressed as f1(P) = f2(P) > f3(P) where the fi are polynomials. Thus semi-algebraic considerations underlie much theory, and practical algorithms (NJ).

Semialgebraic Slide 6

slide-9
SLIDE 9

Precursors to our work:

  • S. Klaere: k = 2, Trees with 3 and 4 leaves (preprint soon!?!)

uses natural coordinates, parameterization, clever, detailed arguments

  • P. Zwiernik, J. Smith: k = 2, any number of leaves, preprints on arXiv

different coordinates, parameterization approach seems to require k = 2

Semialgebraic Slide 7

slide-10
SLIDE 10

Goal: Understand the k = 2 semialgebraic description in a way that generalizes (at least partially) to k > 2. Approach: Trees: 3-leaves, then 4-leaves, then more leaves Parameters: C, then R, then stochastic

Semialgebraic Slide 8

slide-11
SLIDE 11

Background: The 2 × 2 × 2 hyperdeterminant (tangle) ∆: For P = (pijk) a 2 × 2 × 2 array, a distribution from 3-leaf tree ∆(P) = (p2

000p2 111 + p2 001p2 110 + p2 010p2 101 + p2 011p2 100)

− 2(p000p001p110p111 + p000p010p101p111 + p000p011p100p111 + p001p010p101p110 + p001p011p110p100 + p010p011p101p100) + 4(p000p011p101p110 + p001p010p100p111).

Semialgebraic Slide 9

slide-12
SLIDE 12

One way to think of ∆ (Schl¨ afli): For a column vector v = (x, y) of indeterminates,

  • P ∗3 v is the sum of matrix slices of P weighted by x and y,
  • . . . so det(P ∗3 v) is a homogeneous quadratic polynomial in x, y,
  • f form ax2 + bxy + cy2, with a, b, c quadratic in the entries of P,
  • . . . so the discriminant, b2 − 4ac, is a quartic in the entries of P,

and is in fact ∆(P). So ∆(P) = 0 ⇔ there are exactly two non-zero v ∈ C2 (up to scaling) for which P ∗3 v has rank ≤ 1.

Semialgebraic Slide 10

slide-13
SLIDE 13

Application of ∆ to GM(2) on a 3-leaf tree: Parameters π, M1, M2, M3

2 1 3

P = (((Diag(π)) ∗1 M1) ∗2 M2) ∗3 M3 Let v be the first column of M −1

3 .

Then P ∗3 v = (((Diag(π)) ∗1 M1) ∗2 M2) ∗3 M3 ∗3 v = (((Diag(π)) ∗1 M1) ∗2 M2) ∗3 (1, 0) = (((Diag(π)) ∗3 (1, 0)) ∗1 M1) ∗2 M2 = M T

1 diag(π0, 0)M2

which has rank at most 1.

Semialgebraic Slide 11

slide-14
SLIDE 14

Proposition 1. A tensor P is in the image of the complex parameterization map for the GM(2) model on the 3-leaf tree iff its entries sum to 1 and either (a) ∆(P) = 0, and det(P ∗i 1) = 0 for i = 1, 2, 3, or (b) ∆(P) = 0, and all 2 × 2 minors of at least one of the flattenings P1,23, P2,13, P3,12 are zero. In case (a), P is the image of a unique (up to label swapping) choice

  • f non-singular parameters; in case (b), P’s preimage is larger.

Note: Only invariant for GM(2) on 3-leaf tree is trivial.

Semialgebraic Slide 12

slide-15
SLIDE 15

Moreover, since the sign of the discriminant of a quadratic determines whether roots are real or complex, the connnection between ∆ and the discrimnant yields...

Semialgebraic Slide 13

slide-16
SLIDE 16

Proposition 2. A tensor P is in the image of the real parameterization map for the GM(2) model on the 3-leaf tree if, an

  • nly if, it is real, its entries sum to 1, and either

(a) ∆(P)>0, and det(P ∗i 1) = 0 for i = 1, 2, 3, or (b) ∆(P) = 0, and all 2 × 2 minors of at least one of the flattenings P1,23, P2,13, P3,12 are zero. In case (a), P is the image of a unique (up to label swapping) choice

  • f non-singular parameters; in case (b), P’s preimage is larger.

Semialgebraic Slide 14

slide-17
SLIDE 17

Note: It is not (yet) clear how to generalize the preceding to k > 2. But what follows holds for k ≥ 2.

Semialgebraic Slide 15

slide-18
SLIDE 18

Positivity of parameters:

2 1 3

Note the marginalizations of P from 3 to 2 taxa are P··+ = P ∗3 (1, 1) = M T

1 diag(π)M2

P·+· = P ∗2 (1, 1) = M T

1 diag(π)M3

P+·· = P ∗1 (1, 1) = M T

2 diag(π)M3

so P+··(P·+·)−1P··+ = M T

2 diag(π)M2

is a symmetric matrix. (This was a construction of invariants given in Allman-R 2003.)

Semialgebraic Slide 16

slide-19
SLIDE 19

But P+··(P·+·)−1P··+ = M T

2 diag(π)M2

is the matrix of a positive definite quadratic form if, and only if, π0, π1 > 0. There are known semialgebraic descriptions of matrices of such forms (and also positive semdefinite ones).

Semialgebraic Slide 17

slide-20
SLIDE 20
  • Theorem. (Sylvester) A symmetric matrix defines a positive

definite quadratic form if, and only if, its leading principal minors are positive. lth leading principal minor= l × l subdeterminant in upper left

Semialgebraic Slide 18

slide-21
SLIDE 21
  • Theorem. A tensor P is in the image of the positive

parameterization map for the GM(2) model on the 3-leaf tree if, an

  • nly if, its entries are positive, its entries sum to 1, and either

(a) ∆(P) > 0, det(P ∗i 1) = 0 for i = 1, 2, 3, and the 1,1-entries, and the determinants of the following seven matrices are positive: det(P··+)P+·· Cof(P··+)T P·+·, det(P··+)P T

i·· Cof(P··+)T P·+·,

det(P··+)P T

+·· Cof(P··+)T P·i·,

det(P+··)P T

·+· Cof(P+··)T P T ··i,

(b) ∆(P) = 0, and all 2 × 2 minors of at least one of the flattenings P1,23, P2,13, P3,12 are zero.

Semialgebraic Slide 19

slide-22
SLIDE 22

4-leaf Tree: P is 2 × 2 × 2 × 2. 1 2 3 4 First, marginalizing out any taxon i, gives 2 × 2 × 2 array P ∗i (1, 1) which arises from a 3-leaf tree, and hence earlier theorems apply.

Semialgebraic Slide 20

slide-23
SLIDE 23

Second, all non-trivial invariants for GM(2) on trees with 4 or more leaves are known (Allman-R, 2007). The key ones are edge invariants: If T has split 12|34, the 4 × 4 flattening P12,34 has rank 2, so all its 3 × 3 subdeterminants are 0.

Semialgebraic Slide 21

slide-24
SLIDE 24
  • Theorem. Let P be a complex 2 × 2 × 2 × 2 with entries summing

to 1. Then P arises from complex non-singular parameters on a 4-leaf T iff

  • 1. All marginalizations of P to 3-taxon sets arise from complex

non-singular parameters on 3-leaf trees, and

  • 2. The edge invariants are satisfied by P.

For real parameters, replace all occurances of ’complex’ by ’real’.

Semialgebraic Slide 22

slide-25
SLIDE 25

Positivity of parameters: For root distribution π and stochastic matrices Me on pendant edges, follows from 3-leaf case. Matrices on internal edges require more. . .

Semialgebraic Slide 23

slide-26
SLIDE 26

We first ’adjust’ P If T = 12|34, and P arises from matrices M1, M2, M3, M4 on pendant edges, M5 on internal 1 2 3 4 Let N32 = P T

+··+ = M T 3 M T 5 diag(π)M2

N31 = P T

·+·+ = M T 3 M T 5 diag(π)) M1

so N −1

32 N31 = M −1 2 M1. Then

ˆ P = P ∗2 N −1

32 N31

arises from same parameters but with M1 replacing M2.

Semialgebraic Slide 24

slide-27
SLIDE 27

A similar trick produces ˆ ˆ P from parameters with M1 = M2, M3 = M4. 1 2 3 4 Now flatten ˆ ˆ P to a 4 × 4 the wrong way according to 13|24. Then ˆ ˆ P13,24 = AT DA where A depends on M1, M3, and D is 4 × 4 diagonal with entries of diag(π)M5

Semialgebraic Slide 25

slide-28
SLIDE 28

So the entries of M5 are positive iff ˆ ˆ P13,24 has positive leading principal minors. A bit more work extends this to 5 or more taxa.

Semialgebraic Slide 26

slide-29
SLIDE 29

Summary: This yields one form of a complete semialgebraic description of GM(2). But this is not the only possibility, or necessarily the best, Currently working out an alternate approach based on Sturm sequences, likely to lower degree of constraints For GM(k), this shows how to impose positivity, or non-negativity constraints on parameters. But large gaps remain in describing GM(k) model for complex or real parameters

Semialgebraic Slide 27