Spatial Navigation. Zaneta Navratilova and Mei Yin. March 6, Theoretical Neuroscience Journal Club University of Arizona

Similar documents
ax b mod m. has a solution if and only if d b. In this case, there is one solution, call it x 0, to the equation and there are d solutions x m d

Notes on Systems of Linear Congruences

Basic elements of number theory

Basic elements of number theory

1 Overview and revision

COMP239: Mathematics for Computer Science II. Prof. Chadi Assi EV7.635

MATH 25 CLASS 12 NOTES, OCT Contents 1. Simultaneous linear congruences 1 2. Simultaneous linear congruences 2

Generalized Splines. Madeline Handschy, Julie Melnick, Stephanie Reinders. Smith College. April 1, 2013

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

Computer Architecture 10. Residue Number Systems

The security of RSA (part 1) The security of RSA (part 1)

CHAPTER 3. Congruences. Congruence: definitions and properties

Residue Number Systems Ivor Page 1

3.7 Non-linear Diophantine Equations

Chapter 9 Mathematics of Cryptography Part III: Primes and Related Congruence Equations

Solutions to Problem Set 3 - Fall 2008 Due Tuesday, Sep. 30 at 1:00

Digital/Analog Arithmetic with Continuous-Valued Residues

Math From Scratch Lesson 20: The Chinese Remainder Theorem

Chinese Remainder Theorem

Discrete Mathematics and Probability Theory Summer 2017 Course Notes Note 6

Algebra. Modular arithmetic can be handled mathematically by introducing a congruence relation on the integers described in the above example.

Computing over Z, Q, K[X]

LECTURE NOTES IN CRYPTOGRAPHY

Chinese Remainder Algorithms. Çetin Kaya Koç Spring / 22

Applied Cryptography and Computer Security CSE 664 Spring 2018

Discrete Structures Lecture Solving Congruences. mathematician of the eighteenth century). Also, the equation gggggg(aa, bb) =

THESIS. Presented in Partial Fulfillment of the Requirements for the Degree Master of Science in the Graduate School of The Ohio State University

The Composite Two-Step

Simultaneous Linear, and Non-linear Congruences

The Chinese Remainder Theorem

Elementary Number Theory. Franz Luef

This is a recursive algorithm. The procedure is guaranteed to terminate, since the second argument decreases each time.

The Chinese Remainder Theorem

Number Theory. Zachary Friggstad. Programming Club Meeting

WORKSHEET MATH 215, FALL 15, WHYTE. We begin our course with the natural numbers:

The number of ways to choose r elements (without replacement) from an n-element set is. = r r!(n r)!.

Modular numbers and Error Correcting Codes. Introduction. Modular Arithmetic.

Summary Slides for MATH 342 June 25, 2018

Secret Sharing for General Access Structures

Part IA Numbers and Sets

Chinese Remainder Theorem explained with rotations

Math 131 notes. Jason Riedy. 6 October, Linear Diophantine equations : Likely delayed 6

MATH 3240Q Introduction to Number Theory Homework 7

Math 299 Supplement: Modular Arithmetic Nov 8, 2013

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

Chapter 1 : The language of mathematics.

MATH 145 Algebra, Solutions to Assignment 4

Lecture notes: Algorithms for integers, polynomials (Thorsten Theobald)

Lecture 4: Number theory

MATH 25 CLASS 21 NOTES, NOV Contents. 2. Subgroups 2 3. Isomorphisms 4

Number Theory and Group Theoryfor Public-Key Cryptography

Perfect Power Riesel Numbers

Econ Slides from Lecture 7

Modular Arithmetic Investigation

Latin Squares and Their Applications

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

MTH 346: The Chinese Remainder Theorem

Mathematics 220 Homework 4 - Solutions. Solution: We must prove the two statements: (1) if A = B, then A B = A B, and (2) if A B = A B, then A = B.

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

The Chinese Remainder Theorem

WXML Final Report: Primality of Polynomials

Commutative Rings and Fields

MATH 3240Q Introduction to Number Theory Homework 4

GENERALIZED ARYABHATA REMAINDER THEOREM

MODULAR ARITHMETIC KEITH CONRAD

Winter Camp 2009 Number Theory Tips and Tricks

Mathematics of Cryptography

Simple Math: Cryptography

3 The fundamentals: Algorithms, the integers, and matrices

Number Theory Math 420 Silverman Exam #1 February 27, 2018

Number Theory. Raj Jain. Washington University in St. Louis

arxiv: v1 [math.co] 27 Aug 2015

Lecture 8: Channel and source-channel coding theorems; BEC & linear codes. 1 Intuitive justification for upper bound on channel capacity

On Syndrome Decoding of Chinese Remainder Codes

Name: Solutions Final Exam

ANALYZING THE QUADRATIC SIEVE ALGORITHM

Mathematics of Cryptography Part I

Galois Field Algebra and RAID6. By David Jacob

MATH 310: Homework 7

Convolutional Coding LECTURE Overview

MODULAR ARITHMETIC I

Q 2.0.2: If it s 5:30pm now, what time will it be in 4753 hours? Q 2.0.3: Today is Wednesday. What day of the week will it be in one year from today?

7.5 CRC. 20 March r2 SAS-2 CRC fixes

MATH 115, SUMMER 2012 LECTURE 12

Number Theory Homework.

Part V. Chapter 19. Congruence of integers

ICS141: Discrete Mathematics for Computer Science I

Factoring Algorithms Pollard s p 1 Method. This method discovers a prime factor p of an integer n whenever p 1 has only small prime factors.

Notes on arithmetic. 1. Representation in base B

Secret sharing schemes

We know how to identify the location of a point by means of coordinates: (x, y) for a point in R 2, or (x, y,z) for a point in R 3.

Solutions to Problem Set 4 - Fall 2008 Due Tuesday, Oct. 7 at 1:00

Mathematics for Cryptography

NUMBERS AND CODES CHAPTER Numbers

The Chinese Remainder Theorem

9 Modular Exponentiation and Square-Roots

The Chinese Remainder Theorem

4.4 Solving Congruences using Inverses

Lecture 2: Number Representations (2)

Transcription:

Theoretical Neuroscience Journal Club University of Arizona March 6, 2008

Based on the observation that dmec stores only modulo information about rat position, we suggest that dmec may be encoding and enabling the reconstruction of the two-coordinate rat position vector accoording to a generalized version of a residue number system (RNS), a scheme with uniquely useful properties in the neurobiological context.

The uniqueness of RNS representation, guaranteed by the Chinese Remainder Theorem (CRT) allows us to use a small set of cells to compactly represent and efficiently update rat position with high resolution over a large range. To understand this numeral system, we need the help of some math stuff first.

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary Chinese remainder theorem (CRT) refers to a result about congruences in number theory. Suppose n 1, n 2,..., n k are integers which are pairwise coprime. Then, for any given integers a 1,a 2,..., a k, there exists an integer x solving the system of simultaneous congruences. x a 1 ( mod n 1 ) x a 2 ( mod n 2 ) x a k ( mod n k )

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary Chinese remainder theorem (CRT) refers to a result about congruences in number theory. Suppose n 1, n 2,..., n k are integers which are pairwise coprime. Then, for any given integers a 1,a 2,..., a k, there exists an integer x solving the system of simultaneous congruences. x a 1 ( mod n 1 ) x a 2 ( mod n 2 ) x a k ( mod n k )

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary Chinese remainder theorem (CRT) refers to a result about congruences in number theory. Suppose n 1, n 2,..., n k are integers which are pairwise coprime. Then, for any given integers a 1,a 2,..., a k, there exists an integer x solving the system of simultaneous congruences. x a 1 ( mod n 1 ) x a 2 ( mod n 2 ) x a k ( mod n k )

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary Furthermore, all solutions x to this system are congruent modulo the product N = n 1 n 2...n k. Hence x y (mod n i ) for all 1 i k, if and only if x y (mod N). Sometimes, the simultaneous congruences can be solved even if the n i s are not pairwise coprime. A solution x exists if and only if for all i and j: a i a j ( mod gcd(n i, n j )) All solutions x are then congruent modulo the least common multiple of the n i.

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary Example Given moduli (13, 15, 16, 17, 19), the number 1, 000, 000 is represented by the residues (1, 10, 0, 9, 11). CRT guarantees that any number smaller than the product of all the moduli is uniquely specified by (and therefore can be reconstructed from) its residues. In the example above, any number up to 1, 007, 760 has a unique representation. This scheme is widely used in the standard RNS.

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary Example Given moduli (13, 15, 16, 17, 19), the number 1, 000, 000 is represented by the residues (1, 10, 0, 9, 11). CRT guarantees that any number smaller than the product of all the moduli is uniquely specified by (and therefore can be reconstructed from) its residues. In the example above, any number up to 1, 007, 760 has a unique representation. This scheme is widely used in the standard RNS.

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary We assume that unlike a standard RNS, the dmec lattice spacings are not coprime integers, and the encoded position is a real number (not necessarily an integer). There is no clear analytical statement for how the representational capacity of a generalized RNS, with limited, constant phase resolution across lattices and non-coprime lattice spacings, compares to that of a standard RNS, but we show without regard to any particular readout scheme that the capacity is large, and scales similar to a standard RNS.

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary We assume that unlike a standard RNS, the dmec lattice spacings are not coprime integers, and the encoded position is a real number (not necessarily an integer). There is no clear analytical statement for how the representational capacity of a generalized RNS, with limited, constant phase resolution across lattices and non-coprime lattice spacings, compares to that of a standard RNS, but we show without regard to any particular readout scheme that the capacity is large, and scales similar to a standard RNS.

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary Consider a set of lattice spacings or moduli, {λ i i = 1,..., N λ }. A position x 1 is represented by the vector of its residues, x 1i x 1 ( mod λ i ) i = 1,..., N λ Or equivalently, phase vector φ 1, whose entries are φ 1i 2πx 1i λ i ( mod 2π) Assume that each phase can only be resolved up to a spread φ. Then the lattice phases can be used to distinguish between x 1 and x 2 if there is a mismatch of more than φ in at least one entry of their phase vectors.

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary Consider a set of lattice spacings or moduli, {λ i i = 1,..., N λ }. A position x 1 is represented by the vector of its residues, x 1i x 1 ( mod λ i ) i = 1,..., N λ Or equivalently, phase vector φ 1, whose entries are φ 1i 2πx 1i λ i ( mod 2π) Assume that each phase can only be resolved up to a spread φ. Then the lattice phases can be used to distinguish between x 1 and x 2 if there is a mismatch of more than φ in at least one entry of their phase vectors.

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary In dmec encoding, to speak of distances instead of integer numbers, we may associate a length scale of unity to the finest distance resolution, D min = 1. The maximum representable range is then D max = N max = λ 1 λ 2...λ Nλ. To simplify things further, assume all the lattice periods λ i are similar in size, then the maximum range scales exponentially with N λ and as a power of the distinct number of states in each register ( λ): N max λ N λ

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary In dmec encoding, to speak of distances instead of integer numbers, we may associate a length scale of unity to the finest distance resolution, D min = 1. The maximum representable range is then D max = N max = λ 1 λ 2...λ Nλ. To simplify things further, assume all the lattice periods λ i are similar in size, then the maximum range scales exponentially with N λ and as a power of the distinct number of states in each register ( λ): N max λ N λ

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary In the more general case where the λ i are real numbers with a finite resolvable phase resolution, phase is discretized into 2π/ φ bins which correspond to the approximate number of resolvable states of each lattice, and we have N max = ( 2π φ )N λ The finest resolvable change in position is D min = λ 1 φ/2π, where λ 1 is the smallest lattice spacing. Hence the maximal representable range is bounded by D max = D min N max = λ 1 ( 2π φ )N λ 1

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary In the more general case where the λ i are real numbers with a finite resolvable phase resolution, phase is discretized into 2π/ φ bins which correspond to the approximate number of resolvable states of each lattice, and we have N max = ( 2π φ )N λ The finest resolvable change in position is D min = λ 1 φ/2π, where λ 1 is the smallest lattice spacing. Hence the maximal representable range is bounded by D max = D min N max = λ 1 ( 2π φ )N λ 1

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary As in standard RNS, the maximal combinatorial capacity may be achieved only for particular choices of λ i. For generic choices of the lattice periods λ i, the representable range may not reach the bound D max ; nevertheless, we still expect the range D max to scale exponentially with the number of lattices N λ, and algebraically with the number of states in each lattice 2π/ φ: D max ( 2π φ )αn λ Here the parameter α is expected to be of order unity. And this relation is an ansatz.

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary In summary, our numerical results imply that capacity scales algebraically with phase resolution and exponentially with the number of lattices. Interestingly, this implies that to achieve a large capacity with a fixed number of neurons, neurons should be devoted to building more lattices rather than increasing the phase resolution: a result which may help to explain the surprisingly poor phase resolution found in dmec, where neural activity blobs cover 1/3 of the total lattice period.

Chinese Remainder Theorem (CRT) Elementary Version Chinese Remainder Theorem (CRT) Adapted to dmec Summary In summary, our numerical results imply that capacity scales algebraically with phase resolution and exponentially with the number of lattices. Interestingly, this implies that to achieve a large capacity with a fixed number of neurons, neurons should be devoted to building more lattices rather than increasing the phase resolution: a result which may help to explain the surprisingly poor phase resolution found in dmec, where neural activity blobs cover 1/3 of the total lattice period.

Explanation of Figure 1(a) Explanation of Figure 1 (b) Explanation of Figure 1 (c) With the help of the above math stuff, we are ready to explain all data entries in Figure 1. We first try to understand Figure 1 (a). The relationship D max ( 2π φ )αn λ has already been established. α is tested by comparison with the numerical results for particular sets of the lattice spacings and in this case α 0.55. We conservatively assume a phase resolution of 1/5 of a period, or equivalently, φ/2π = 0.2. With all these fit parameters, the maximum range D max does scale according to the ansatz.

Explanation of Figure 1(a) Explanation of Figure 1 (b) Explanation of Figure 1 (c) With the help of the above math stuff, we are ready to explain all data entries in Figure 1. We first try to understand Figure 1 (a). The relationship D max ( 2π φ )αn λ has already been established. α is tested by comparison with the numerical results for particular sets of the lattice spacings and in this case α 0.55. We conservatively assume a phase resolution of 1/5 of a period, or equivalently, φ/2π = 0.2. With all these fit parameters, the maximum range D max does scale according to the ansatz.

Explanation of Figure 1(a) Explanation of Figure 1 (b) Explanation of Figure 1 (c) Next we try to understand Figure 1 (b). We have a slightly modified relationship D max ( 2π φ )N eff. Still, we conservatively assume a phase resolution of 1/5 of a period, or equivalently, φ/2π = 0.2. Moving ventrally along the length of dmec, the first lattice period is 30cm, with 4cm increments per subsequent lattice, and the last lattice period is 74cm. Thus, N λ is 12. And the fit parameter N eff 9.7. With all these fit parameters, the maximum range D max does scale according to the ansatz.

Explanation of Figure 1(a) Explanation of Figure 1 (b) Explanation of Figure 1 (c) Figure 1 (c) is rather complicated. We try to understand it bit by bit. We look at the first row of the table first. N λ = 12 as has already been explained in Figure 1 (b). From Figure 1 (a), we see that D max is roughly 2km. Thus in our Cartesian system, the lattices can unambiguously represent a 2km 2km area. If 5, 000 neurons (grid cells) build each lattice, that would require 5, 000 12 5 10 4 neurons

Explanation of Figure 1(a) Explanation of Figure 1 (b) Explanation of Figure 1 (c) Figure 1 (c) is rather complicated. We try to understand it bit by bit. We look at the first row of the table first. N λ = 12 as has already been explained in Figure 1 (b). From Figure 1 (a), we see that D max is roughly 2km. Thus in our Cartesian system, the lattices can unambiguously represent a 2km 2km area. If 5, 000 neurons (grid cells) build each lattice, that would require 5, 000 12 5 10 4 neurons

Explanation of Figure 1(a) Explanation of Figure 1 (b) Explanation of Figure 1 (c) The resolution is given by D min, whose formula we have derived before: D min = λ 1 φ/2π Here, λ 1 = 30, the smallest lattice spacing. And φ/2π = 0.2, so we have 30 0.2 = 6cm resolution in each direction. To cover the area with sparse unimodal place-cell like encoding (with 10 neurons per (6cm) 2 block) would require 10 (2, 000)2 (0.06) 2 10 10 neurons

Explanation of Figure 1(a) Explanation of Figure 1 (b) Explanation of Figure 1 (c) Next we look at the second row of the table. It s completely analogous to the first row. N λ = 24 now, as a comparison to the first row. From Figure 1 (a), we see that D max is roughly 2 10 5 km. Thus in our Cartesian system, the lattices can unambiguously represent a (2 10 5 )km (2 10 5 )km area. If 5, 000 neurons (grid cells) build each lattice, that would require 5, 000 24 1 10 5 neurons

Explanation of Figure 1(a) Explanation of Figure 1 (b) Explanation of Figure 1 (c) The resolution is given by D min, whose formula we have derived before: D min = λ 1 φ/2π Here, λ 1 = 30, the smallest lattice spacing. And φ/2π = 0.2, so we have 6cm resolution in each direction. To cover the area with sparse unimodal place-cell like encoding (with 10 neurons per (6cm) 2 block) would require 10 (2 108 ) 2 (0.06) 2 10 20 neurons

Explanation of Figure 1(a) Explanation of Figure 1 (b) Explanation of Figure 1 (c) Accoding to exerimental results, in rat dmec, the number of neurons is estimated to be approximately 10 5. And this could sparsely represent at most 6m 6m with (6cm) resolution. As given by the following computation: 10 5 10 (0.06)2 6 2 We have understood the second row completely and found that the capacity obtained are hugely in excess of the representational requirements of rats, which could be devoted to redundancy for error correction and robustness.

Explanation of Figure 1(a) Explanation of Figure 1 (b) Explanation of Figure 1 (c) Accoding to exerimental results, in rat dmec, the number of neurons is estimated to be approximately 10 5. And this could sparsely represent at most 6m 6m with (6cm) resolution. As given by the following computation: 10 5 10 (0.06)2 6 2 We have understood the second row completely and found that the capacity obtained are hugely in excess of the representational requirements of rats, which could be devoted to redundancy for error correction and robustness.

The first Case The Second Case Enlightening Idea There are two (not mutually exclusive) ways in which rats may use this kind of dmec information under an RNS-like scheme. We ll discuss them in the following.

The first Case The Second Case Enlightening Idea For homing and path integration over large ranges by decoding the relative dmec phases to compute rat displacements. Assuming dmec is the primary source of position representation, our proposal would be strongly supported if the rat can perform reasonably accurate landmark-free homing behaviors over ranges much larger than the largest dmec lattice period (< 2m, by extrapolation along dmec length). Experimentally, this involves measuring the largest lattice period in dmec, and quantitatively determining the range over which rats can perform accurate homing in large featureless spaces.

The first Case The Second Case Enlightening Idea For homing and path integration over large ranges by decoding the relative dmec phases to compute rat displacements. Assuming dmec is the primary source of position representation, our proposal would be strongly supported if the rat can perform reasonably accurate landmark-free homing behaviors over ranges much larger than the largest dmec lattice period (< 2m, by extrapolation along dmec length). Experimentally, this involves measuring the largest lattice period in dmec, and quantitatively determining the range over which rats can perform accurate homing in large featureless spaces.

The first Case The Second Case Enlightening Idea For homing and path integration over large ranges by decoding the relative dmec phases to compute rat displacements. Assuming dmec is the primary source of position representation, our proposal would be strongly supported if the rat can perform reasonably accurate landmark-free homing behaviors over ranges much larger than the largest dmec lattice period (< 2m, by extrapolation along dmec length). Experimentally, this involves measuring the largest lattice period in dmec, and quantitatively determining the range over which rats can perform accurate homing in large featureless spaces.

The first Case The Second Case Enlightening Idea Attaching unique labels, to a large number of specific locations, with landmark-independent path integration, only occurs between nearby locations. The large set of unique dmec phases as a function of rat position may be used as absolute markers for specific landmarks or positions in familiar environments. This proposal could be tested experimentally by checking at multiple familiar landmarks in large, partially occluded enclosures whether the absolute dmec phases for each landmark are reproducible across trials.

The first Case The Second Case Enlightening Idea Attaching unique labels, to a large number of specific locations, with landmark-independent path integration, only occurs between nearby locations. The large set of unique dmec phases as a function of rat position may be used as absolute markers for specific landmarks or positions in familiar environments. This proposal could be tested experimentally by checking at multiple familiar landmarks in large, partially occluded enclosures whether the absolute dmec phases for each landmark are reproducible across trials.

The first Case The Second Case Enlightening Idea Attaching unique labels, to a large number of specific locations, with landmark-independent path integration, only occurs between nearby locations. The large set of unique dmec phases as a function of rat position may be used as absolute markers for specific landmarks or positions in familiar environments. This proposal could be tested experimentally by checking at multiple familiar landmarks in large, partially occluded enclosures whether the absolute dmec phases for each landmark are reproducible across trials.

The first Case The Second Case Enlightening Idea In any sense, the possibility that dmec may be representing position, a continuous metric variable, using a compact and parallelized numeral system amenable to arithmetic operations such as addition or shifts on the variable, is itself extraordinary.