Neural Codes and Neural Rings: Topology and Algebraic Geometry

Similar documents
The Neural Ring: Using Algebraic Geometry to Analyze Neural Codes

RESEARCH STATEMENT. Nora Youngs, University of Nebraska - Lincoln

Every Binary Code Can Be Realized by Convex Sets

Convexity of Neural Codes

What makes a neural code convex?

A Polarization Operation for Pseudomonomial Ideals

Algebraic Transformations of Convex Codes

ALGEBRAIC GEOMETRY COURSE NOTES, LECTURE 2: HILBERT S NULLSTELLENSATZ.

Boolean Algebras, Boolean Rings and Stone s Representation Theorem

Math 418 Algebraic Geometry Notes

CELLULAR HOMOLOGY AND THE CELLULAR BOUNDARY FORMULA. Contents 1. Introduction 1

Homology theory. Lecture 29-3/7/2011. Lecture 30-3/8/2011. Lecture 31-3/9/2011 Math 757 Homology theory. March 9, 2011

Math 6510 Homework 10

Every Neural Code Can Be Realized by Convex Sets

Homogeneous Coordinate Ring

Simplicial Homology. Simplicial Homology. Sara Kališnik. January 10, Sara Kališnik January 10, / 34

A Primer on Homological Algebra

7.3 Singular Homology Groups

121B: ALGEBRAIC TOPOLOGY. Contents. 6. Poincaré Duality

Topological Data Analysis - Spring 2018

LECTURE 3: RELATIVE SINGULAR HOMOLOGY

Solution: We can cut the 2-simplex in two, perform the identification and then stitch it back up. The best way to see this is with the picture:

Math Homotopy Theory Hurewicz theorem

FILTERED RINGS AND MODULES. GRADINGS AND COMPLETIONS.

C n.,..., z i 1., z i+1., w i+1,..., wn. =,..., w i 1. : : w i+1. :... : w j 1 1.,..., w j 1. z 0 0} = {[1 : w] w C} S 1 { },

ALGEBRAICALLY TRIVIAL, BUT TOPOLOGICALLY NON-TRIVIAL MAP. Contents 1. Introduction 1

Math 530 Lecture Notes. Xi Chen

Exploring the Exotic Setting for Algebraic Geometry

The Hurewicz Theorem

Smith theory. Andrew Putman. Abstract

ALGEBRAIC GEOMETRY COURSE NOTES, LECTURE 4: MORE ABOUT VARIETIES AND REGULAR FUNCTIONS.

ON THE STANLEY DEPTH OF SQUAREFREE VERONESE IDEALS

ALGEBRAIC GROUPS J. WARNER

TROPICAL SCHEME THEORY

Equivalence of the Combinatorial Definition (Lecture 11)

2. Intersection Multiplicities

Mirror Reflections on Braids and the Higher Homotopy Groups of the 2-sphere

MATH 8253 ALGEBRAIC GEOMETRY WEEK 12

HOMOLOGY AND COHOMOLOGY. 1. Introduction

HOMOTOPY THEORY ADAM KAYE

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

FINITE CONNECTED H-SPACES ARE CONTRACTIBLE

Algebraic Topology exam

Exercise Sheet 3 - Solutions

3. The Sheaf of Regular Functions

A duality on simplicial complexes

Rings and Fields Theorems

Math 145. Codimension

Betti numbers of abelian covers

3 Lecture 3: Spectral spaces and constructible sets

DISCRETIZED CONFIGURATIONS AND PARTIAL PARTITIONS

Algebraic Structures Exam File Fall 2013 Exam #1

3-manifolds and their groups

Math 797W Homework 4

(Rgs) Rings Math 683L (Summer 2003)

HOMOLOGY THEORIES INGRID STARKEY

8. Prime Factorization and Primary Decompositions

Lecture 2. (1) Every P L A (M) has a maximal element, (2) Every ascending chain of submodules stabilizes (ACC).

On Open and Closed Convex Codes

Lecture 1. Toric Varieties: Basics

Hungry, Hungry Homology

ALGEBRAIC PROPERTIES OF BIER SPHERES

Math Introduction to Modern Algebra

10. Smooth Varieties. 82 Andreas Gathmann

(dim Z j dim Z j 1 ) 1 j i

Topology of Nonarchimedean Analytic Spaces

CHAPTER 1. AFFINE ALGEBRAIC VARIETIES

Prime Properties of the Smallest Ideal of β N

Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra

(iv) Whitney s condition B. Suppose S β S α. If two sequences (a k ) S α and (b k ) S β both converge to the same x S β then lim.

NOTES FOR DRAGOS: MATH 210 CLASS 12, THURS. FEB. 22

Math 429/581 (Advanced) Group Theory. Summary of Definitions, Examples, and Theorems by Stefan Gille

4.2 Chain Conditions

Lecture 6. s S} is a ring.

NOTES IN COMMUTATIVE ALGEBRA: PART 2

Math 222A W03 D. Congruence relations

arxiv: v3 [math.co] 30 May 2017

ALGEBRAIC GROUPS. Disclaimer: There are millions of errors in these notes!

Algebraic Varieties. Notes by Mateusz Micha lek for the lecture on April 17, 2018, in the IMPRS Ringvorlesung Introduction to Nonlinear Algebra

Spring 2016, lecture notes by Maksym Fedorchuk 51

12. Hilbert Polynomials and Bézout s Theorem

CS 468: Computational Topology Group Theory Fall b c b a b a c b a c b c c b a

ALGEBRA PH.D. QUALIFYING EXAM September 27, 2008

Homework 3 MTH 869 Algebraic Topology

6 Axiomatic Homology Theory

Lecture 7.3: Ring homomorphisms

Eilenberg-Steenrod properties. (Hatcher, 2.1, 2.3, 3.1; Conlon, 2.6, 8.1, )

2. Prime and Maximal Ideals

DISTRIBUTIVE PRODUCTS AND THEIR HOMOLOGY

THE BUCHBERGER RESOLUTION ANDA OLTEANU AND VOLKMAR WELKER

Math 752 Week s 1 1

Honors Algebra 4, MATH 371 Winter 2010 Assignment 4 Due Wednesday, February 17 at 08:35

58 CHAPTER 2. COMPUTATIONAL METHODS

Generic section of a hyperplane arrangement and twisted Hurewicz maps

SECTION 5: EILENBERG ZILBER EQUIVALENCES AND THE KÜNNETH THEOREMS

30 Surfaces and nondegenerate symmetric bilinear forms

STABLE MODULE THEORY WITH KERNELS

Profinite Groups. Hendrik Lenstra. 1. Introduction

A Little Beyond: Linear Algebra

A GLIMPSE OF ALGEBRAIC K-THEORY: Eric M. Friedlander

Transcription:

Neural Codes and Neural Rings: Topology and Algebraic Geometry Ma191b Winter 2017 Geometry of Neuroscience

References for this lecture: Curto, Carina; Itskov, Vladimir; Veliz-Cuba, Alan; Youngs, Nora, The neural ring: an algebraic tool for analyzing the intrinsic structure of neural codes, Bull. Math. Biol. 75 (2013), no. 9, 1571 1611. Nora Youngs, The Neural Ring: using Algebraic Geometry to analyze Neural Codes, arxiv:1409.2544 Yuri Manin, Neural codes and homotopy types: mathematical models of place field recognition, Mosc. Math. J. 15 (2015), no. 4, 741 748 Carina Curto, Nora Youngs, Neural ring homomorphisms and maps between neural codes, arxiv:1511.00255 Elizabeth Gross, Nida Kazi Obatake, Nora Youngs, Neural ideals and stimulus space visualization, arxiv:1607.00697 Yuri Manin, Error-correcting codes and neural networks, preprint, 2016

Basic setting set of neurons [n] = {1,..., n} neural code C F n 2 with F 2 = {0, 1} codewords (or codes ) C c = (c 1,..., c n ) describe activation state of neurons support supp(c) = {i [n] : c i = 1} 2 [n] = set of all subsets of [n] supp(c) = c C supp(c) 2 [n] neglect information about timing and rate of neural activity: focus on combinatorial neural code

Simplicial complex of the code 2 [n] simplicial complex if when σ and τ σ then also τ neural code C simplicial if supp(c) simplicial complex if not, define simplicial complex of the neural code C as (C) = {σ [n] : σ supp(c), for some c C} smallest simplicial complex containing supp(c)

Receptive fields patterns of neuron activity maps f i : X R + from space X of stimuli: average firing rate of i-th neuron in [n] in response to stimulus x X open sets U i = {x X : f (x) > 0} (receptive fields) usually assume convex place field of a neuron i [n]: preferred convex region of the stimulus space where it has a high firing rate (orientiation-selective neurons: tuning curves, preference for particular angle, intervals on a circle) code words from receptive fields overlap

Convex Receptive Field Code stimulis space X ; set of neurons [n] = {1,..., n}; receptive fields f i : X R +, with convex sets U i = {f i > 0} collection of (convex) open sets U = {U 1,..., U n } receptive field code C(U) = {c F n 2 : ( i supp(c) U i ) ( j / supp(c) U j ) } all binary codewords corresponding to stimuli in X with convention: intersection over is X and union over is if i [n] U i X : there are points of stimulus space not covered by receptive field (word c = (0, 0,..., 0) in C); if i [n] U i word c = (1, 1,..., 1) C points where all neurons activated

Main Question if know the code C = C(U) without knowing X and U what can you learn about the geometry of X? (to what extent X is reconstructible from C(U)) Step One: given a code C F n 2 with m = #C (number of code words) there exists an X R d and a collection of (not necessarily convex) open sets U = {U 1,..., U n } with U i X such that C = C(U) list code words c i = (c i,1,..., c i,n ) C, i = 1,..., m for each code word c i choose a point x ci R d and an open neighborhood N i x ci such that N i N j = for i j take U = {U 1,..., U n } and X = m j=1 N j with U j = c k : j supp(c k ) if zero code word in C then N 0 = X j U j is set of outside points not captured by code by construction C = C(U) N k

Caveat can always find a (X, U) given C so that C = C(U) but not always with U i convex Example: C = F 3 2 {(1, 1, 1), (0, 0, 1)} cannot be realized by a U = {U 1, U 2, U 3 } with U i convex suppose possible: U i R d convex and C = C(U) know that U 1 U 2 because (1, 1, 0) C know that (U 1 U 3 ) U 2 because (1, 0, 1) C know that (U 2 U 3 ) U 1 because (0, 1, 1) C take points p 1 (U 1 U 3 ) U 2 and p 2 (U 2 U 3 ) U 1 both in U 3 convex, so segment l = tp 1 + (1 t)p 2, t [0, 1] in U 3 if l passes through U 1 U 2 then U 1 U 2 U 3 but (1, 1, 1) / C (contradiction) or l does not intersect U 1 U 2 but then l intersects the complement of U 1 U 2 (see fig) this would imply (0, 0, 1) C (contradiction)

the two cases of the previous example

Constraints on the Stimulus Space Codes C that can be realized as C = C(U) with U i convex put strong constraints on the geometry of the stimulus space X two types of constraints 1 constraints from the simplicial complex (C) 2 other constraints from C not captured by (C) Simplicial nerve of an open covering U = {U 1,..., U n } convex open sets in R d with d < n nerve N (U) simplicial complex: σ = {i 1,..., i k } 2 [n] is in N (U) iff U i1 U ik N (U) = (C(U))

convex open sets U i and simplicial nerve N (U)

another example of convex open sets U i and simplicial nerve N (U) The complex N (U) is also known as the Čech complex of the collection U = {U 1,..., U n } of convex open sets

Topological fact (Helly s theorem): convex U 1,..., U k R d with d < k: if intersection of every d + 1 of the U i nonempty then also k i=1 U i Consequence: the nerve N (U) completely determined by its d-skeleton (largest n-complex with that given d-skeleton)

Nerve Theorem Allen Hatcher Algebraic topology, Cambridge University Press, 2002 (Corollary 4G.3) Homotopy types: The homotopy type of X (U) = n i=1 U i is the same as the homotopy type of the nerve N (U) Consequence: X (U) and N (U) have the same homology and homotopy groups (but not necessarily the same dimension) Note: the space X (U) may not capture all of the stimulus space X if the U i are not an open covering of X, that is, if X X (U)

Homology groups very useful topological invariants, computationally tractable simplicial complex N 2 [n] ; groups of k-chains C k = C k (N ) abelian group spanned by k-dimensional simplices of N boundary maps on simplicial complexes k : C k C k 1 usually stated as 2 = 0 k 1 k = 0 cycles Z k = Ker( k ) C k and boundaries B k+1 = Range( k+1 ) C k because 2 = 0 inclusion B k+1 Z k homology groups: quotient groups H k (N, Z) = Ker( k) Range( k+1 ) = Z k/b k+1

Boundary maps

Chain complexes and Homology H p (X, Z) = Ker( p : C p C p 1 )/Im( p+1 : C p+1 C p )

What else does C tells us about X? all have same (C) = 2 [3] because (1, 1, 1) code word for all cases

Embedding dimension minimal embedding dimension d: minimal dimension for which code C can be realized as C(U) with open sets U i R d topological dimension: minimum d such that any open covering has a refinement such that no point is in more than d + 1 open sets of the covering in previous examples (C) = 2 [3] same but different embedding dimension

Main information carried by the code C = C(U): nontrivial inclusions some inclusion relations between intersections and unions always trivially satisfied: example U 1 U 2 U 2 U 3 because U 1 U 2 U 2 other inclusion relations are specific of the structure of the collection U of open sets and not always automatically satisfied: this is the information encoded in C(U) all relations of the form i σ U i j τ for σ τ =, including all empty intersections relations U i = i σ U j

Problem: how to algorithmically extract this information from C without having to construct U? key method: Algebraic Geometry (ideals and varieties) Rings and ideals: R commutative ring with unit, I R ideal (additive subgroup; for a I and for all b R product ab I ) set S generators of I = S I = {r 1 a 1 + + r n a n : r i R, a i S, n N} prime ideal: R and if ab then a or b maximal ideal: m R and if I ideal m I R then either m = I or I = R (geometrically maximal ideals correspond to points) radical ideal: r n I implies r I for all n primary decomposition: I = 1 n with i prime ideals

Affine Algebraic Varieties polynomial ring R = K[x 1,..., x n ] over a field K; I R ideal variety V (I ) V (I ) = {v K n : f (v) = 0, f I } ideals I J varieties V (J) V (I ) spectrum of a ring R: set of prime ideals Spec(R) = { R : prime ideal } modeling n neurons with binary states on/off, so K = F 2 = {0, 1} and v = (v 1,..., v n ) F n 2 a possible state of the set of neurons

Neural Ring given a binary code C F n 2 (neural code) ideal I = I C F 2 [x 1,..., x n ] of polynomials vanishing on codewords I C = {f F 2 [x 1,..., x n ] : f (c) = 0, c C} quotient ring (neural ring) R C = F 2 [x 1,..., x n ]/I C Note: working over F 2 so 2 0, so in R C all elements idempotent y 2 = y (cross terms vanish): Boolean ring isomorphic to F #C 2, but useful to keep the explicit coordinate functions x i that measure the activity of the i-th neuron

Neural Ring Spectrum maximal ideals in polynomial ring F 2 [x 1,..., x n ] correspond to points v F n 2, namely m v = x 1 v 1,..., x n v n in a Boolean ring prime ideal spectrum and maximal ideal spectrum coincide for the neural ring R C spectrum Spec(R C ) = { m v : v C F n 2} where m v image in quotient ring of maximal ideal m v in F 2 [x 1,..., x n ] so spectrum of the neural ring recovers the code words of C

Neural ideal in general difficult to provide explicit generators for the ideal I C (problem for practical computational purposes) another closely related (more tractable) ideal: neural ideal J C given v F n 2 (a possible state of a system of n neurons) take function ρ v = n (1 v i x i ) = i=1 ρ v F 2 [x 1,..., x n ] binary code C F n 2 ideal J C i supp(v) x i J C = ρ v : v / C when C = F n 2 have J C = 0 trivial ideal j / supp(v) (1 x j )

ideal of Boolean relations B = B n B = x i (1 x i ) : i [n] relation between ideals I C and J C I C = J C + B = ρ v, x i (1 x i ) : v / C, i [n]

Neural Ring Relations Notation: given U = {U 1,..., U n } open sets and σ [n] U σ := i σ U i, x σ := x i, (1 x τ ) := x j ) i σ j τ(1 interpret coordinates x i as functions on X : { 1 p Ui x i (p) = 0 p / U i inclusions and relations: U σ U i U j, then x σ = 1 implies either x i = 1 or x j = 1 so relation x σ (1 x i )(1 x j ) all inclusion U σ i τ U i correspond to relations x σ i τ (1 x i) ideal I C(U) generated by them (relations defining R C ) I C(U) = x σ (1 x i ) : U σ i τ U i i τ

Canonical Form pseudomonomial relations subsets σ, τ [n]: if σ τ then x σ (1 x τ ) B, if σ τ = then x σ (1 x τ ) J C functions of the form f (x) = x σ (1 x τ ) with σ τ = pseudomonomial; ideal J generated by such: pseudomonomial ideal minimal pseudomonomial: f J pseudomonomial, no other pseudomonomial g with deg(g) < deg(f ) and f = gh for some h F 2 [x 1,..., x n ] canonical form of pseudomonomial ideal J = f 1,..., f l with f k all the minimal pseudomonomials in J ideal J C = ρ v : v / C is pseudomonomial (not I C because of Boolean relations)

Canonical Form of Neural Ring J C : CF (J C ) given a binary code C F n 2 suppose realized as C = C(U) with U = {U 1,..., U n } in X (not necessarily convex) some σ [n] minimal for a property P if P satisfied by σ and not satisfied by any τ σ canonical form CF (J C ) of J C three types of relations: 1 x σ with σ minimal for U σ = 2 x σ (1 x τ ) with σ τ =, U σ i τ U i X, and σ, τ minimal for U σ i τ U i 3 (1 x τ ) with τ minimal for X i τ U i minimal embedding dimension d max #σ 1 σ : x σ CF (J C ) there are efficient algorithms to compute CF (J C ) given C (without passing through U)

Example