Entropy Rates & Markov Chains Information Theory Duke University, Fall 2020

Total Page:16

File Type:pdf, Size:1020Kb

Entropy Rates & Markov Chains Information Theory Duke University, Fall 2020 ECE 587 / STA 563: Lecture 4 { Entropy Rates & Markov Chains Information Theory Duke University, Fall 2020 Author: Galen Reeves Last Modified: September 1, 2020 Outline of lecture: 4.1 Entropy Rate........................................1 4.2 Markov Chains.......................................3 4.3 Card Shuffling and MCMC................................4 4.4 Entropy of the English Language [Optional].......................6 4.1 Entropy Rate • A stochastic process fXig is an indexed sequence of random variables. They need not be in- n dependent nor identically distributed. For each n the distribution on X = (X1;X2; ··· ;Xn) is characterized by the joint pmf n pXn (x ) = p(x1; x2; ··· ; xn) • A stochastic process provides a useful probabilistic model. Examples include: ◦ the state of a deck of cards after each shuffle ◦ location of a molecule each millisecond. ◦ temperature each day ◦ sequence of letters in a book ◦ the closing price of the stock market each day. • With dependent sequences, hows does the entropy H(Xn) grow with n? (1) Definition 1: Average entropy per symbol H(X ;X ; ··· ;X ) H(X ) = lim 1 2 n n!1 n (2) Definition 2: Rate of information innovation 0 H (X ) = lim H(XnjX1;X2; ··· ;Xn−1) n!1 • If fXig are iid ∼ p(x), then both limits exists and are equal to H(X). nH(X) H(X ) = lim = H(X) n!1 n 0 H (X ) = lim H(XnjX1;X2; ··· ;Xn−1) = H(X) n!1 But what if the symbols are not iid? 2 ECE 587 / STA 563: Lecture 4 • A stochastic process is stationary if the joint distribution of subsets is invariant to shifts in the time index, i.e. P[X1 = x1;X2 = x2; ··· ;Xn = xn] = P[X1+k = x1;X2+k = x2; ··· ;Xn+k = xn] for every n and every shift k for all xn 2 X . • Examples: ◦ State of a card shuffles when started with a uniformly random permutation? Yes ◦ State of card shuffles when started from a sorted deck? No ◦ Daily high temperature when X1 corresponds to January 1? No ◦ Daily high temperature when X1 is distributed uniformly over days in the year? Yes • Theorem: For a stationary process, the limits in H(X ) and H0(X ) exist and are equal. • Proof: H0(X ) exists ◦ Observe that H(XnjX1; ··· ;Xn−1) ≤ H(XnjX2; ··· ;Xn−1) conditioning cannot increase entropy = H(Xn−1jX1; ··· ;Xn−2) since stationary ◦ Therefore, H(XnjX1; ··· ;Xn−1) is non-increasing in n ◦ Also H(X) ≥ 0 ◦ We can apply the monotone convergence theorem to conclude that the limit must exist. • Proof: H(X ) = H0(X ) ◦ By the chain rule for entropy; n 1 1 X H(X ; ··· ;X ) = H(X jX ; ··· ;X ) n 1 n n i 1 i−1 i=1 ◦ From the arguments above, we know that 0 H(XijX1; ··· ;Xi−1) ! H (X ) ◦ To conclude, we use the fact that converge of a sequence implies convergence of the Ces`aromean: n 1 X a ! a =) a ! a n n i i=1 | {z } Ces`aromean • Recall AEP for iid sources 1 − log p(X ;X ; ··· ;X ) ! H(X) n 1 2 n • Theorem: (AEP for stochastic sources) For a stationary ergodic process 1 − log p(X ;X ; ··· ;X ) ! H(X ) n 1 2 n ◦ Proof given in Section 16.8 of [CT]. ◦ You will see an example of a process that is stationary but not ergodic in your homework. ◦ Note that ergodic means \time averages converge to ensemble averages" ECE 587 / STA 563: Lecture 4 3 4.2 Markov Chains • A discrete-time stochastic process fX1;X2;· · ·} is said to be a Markov chain or Markov process if for all n = 1; 2; ··· ; P[Xn+1 = xn+1jXn = xn;Xn−1 = xn−1; ··· ;X1 = x1] = P[Xn+1 = xn+1jXn = xn] for all xn+1 2 X n+1. • A Markov chain is time invariant if the conditional probability p(xn+1 j xn) does not depend on n, i.e. P[Xn+1 = bjXn = a] = P[X2 = bjX1 = a] for all a; b 2 X • A time invariant Markov Chain with X = f1; 2; ··· ;Mg is characterized by an M × M probability transition matrix P where Pi;j = P[Xn+1 = jjXn = i]; i; j 2 f1; 2; ··· ;Mg The vector of probabilities at time n is denote by µn = (P[Xn = 1]; P[Xn = 2]; ··· ; P[Xn = M]) and is updated according to µn+1 = µnP • Example: Consider the following time invariant Markov chain with X = f1; 2; 3g and prob- ability transition matrix 21 − α α 0 3 P = 4 β 1 − α − β α 5 0 β 1 − β 1 − α − β α α 1 − α 1 2 3 1 − β β β • A time-invariant Markov process is completely specified by three items: (1) the set of all states X (2) the jX j × jX j transition probability matrix P (3) the starting distribution µ1. • A distribution µ is a stationary distribution of a time-invariant Markov process if µ = µP • Example: For the Markov process described in the previous example, the stationary distri- bution is 1 r r2 µ = ; ; 1 + r + r2 1 + r + r2 1 + r + r2 where r = α/β. Note that if α = β, then this is the uniform distribution since each state has probability 1=3. 4 ECE 587 / STA 563: Lecture 4 • Theorem: Consider a time-invariant Markov process that is irreducible and aperiodic. Then (1) The stationary distribution µ is unique (2) Independently of the starting distribution µ1, the distribution µn will converge to the stationary distribution as µ as n ! 1. (3) The Markov process is stationary if, and only if, the starting distribution µ1 is chosen to be the steady state distribution. • Theorem: For a stationary time-invariant Markov process. the entropy rate is given by H(X ) = H(X2jX1) where the conditional entropy is calculated using the stationary distribution. 4.3 Card Shuffling and MCMC • Markov Chain Monte Carlo (MCMC) is a widely used technique for computing functions of distributions. The basic idea is as follows: ◦ Suppose you want to compute the expectation E[f(X)] where X ∼ Q ◦ If you could draw samples fXig iid ∼ Q, then you could approximate the expectation using the law of large numbers: n 1 X f(X ) ! [f(X)] n i E i=1 ◦ However, drawing independent samples can be tricky. One method is to setup an irre- ducible and aperiodic Markov chain fYng whose stationary distribution is equal to Q. Then, if one starts from an arbitrary point Y1 and waits long enough, the distribution of Yn will converge to Q and Yn will be independent of the starting point. ◦ They key question is to determine how long it takes before the distribution of Yn is sufficiently close to Q and sufficiently independent of Y1. • Let X be the state of a deck of card. There are jX j = 52! possibilities. Thus, if X is distributed uniformly, the the entropy is 52 X H(X) = log 52! = log(i) ≈ 226 (bits) i=1 • Markov chain of one-at-a-time shuffling. Let X1;X2; ··· ;Xn be a sequence of card shuffles where Xn+1 is the state of the deck after a card is selected uniformly at random from one of the 52 locations, and placed on the top. ◦ The entropy satisfies H(Xn+1jXn;Xn−1; ··· ;X1) = H(Xn+1jXn) = log 52 ≈ 5:7 (bits) ◦ By symmetry, the stationary distribution of this Markov chain is the uniform distribu- tion. The Markov chain is irreducible and aperiodic, and thus H(Xn) ! log(52!) as n ! 1. ECE 587 / STA 563: Lecture 4 5 • How many one-at-a-time shuffles needed to produce a state that is uniformly distributed and independent of the starting point X0? ◦ Independence requires that I(X0; Xn) = 0. Thus the necessary and sufficient condition for independent and uniformly distributed is H(XnjX0) = log 52! ◦ Let N1;N2;N3; ··· denote the location of the card that is moved to the top in the n-th shuffle. ◦ The joint entropy can be expressed as H(X0;X1;X2; ··· ;Xn) = H(X0;N1;N2; ··· Nn) = H(X0) + nH(N1) and also as H(X0;X1; ··· ;Xn) = H(X0) + H(X1; ··· ;XnjX0) = H(X0) + H(XnjX0) + H(X1; ··· ;Xn−1jXn;X0) ◦ Thus, the conditional entropy after n shuffles is upper bounded by H(XnjX0) ≤ nH(N1) = n log(52) This provides a lower bound on the minimum number of shuffles that are needed: log 52! number of shuffles ≤ ≈ 39:6 =) H(X jX ) < log(52!) log 52 n 0 ◦ The bound above is necessary, but is it sufficient? No, In fact, it can be shown that H(XnjX0) < log 52! for all n In other words, the there is always some memory from the initial state X0 • Modified one-at-a-time shuffle: Lets instead try a modified one-at-a-time shuffle: on the n-th shuffle, we draw a number M uniformly on fn; n + 1; n + 2; ··· ; 52g and place the Mth card on the top. After n = 52 no more changes are made to the deck. ◦ The joint entropy can be decomposed as n X H(X0;X1; ··· ;Xn) = H(X0;M1;M2; ··· Mn) = H(X0) + H(Mi) i=1 n ◦ Given the first state X0 and last state Xn, one can reconstruct the sequence fMigi=1 by looking at the top cards in the deck. Thus, H(X1; ··· ;Xn−1jXn;X0) = 0 ◦ Combining the above displays yields: 51 51 X X H(X51jX0) = H(Mi) = log(52 − i + 1) = log 52! i=1 i=1 So, after exactly 51 shuffles we have a truly random permutation, regardless of our starting point.
Recommended publications
  • Entropy Rate of Stochastic Processes
    Entropy Rate of Stochastic Processes Timo Mulder Jorn Peters [email protected] [email protected] February 8, 2015 The entropy rate of independent and identically distributed events can on average be encoded by H(X) bits per source symbol. However, in reality, series of events (or processes) are often randomly distributed and there can be arbitrary dependence between each event. Such processes with arbitrary dependence between variables are called stochastic processes. This report shows how to calculate the entropy rate for such processes, accompanied with some denitions, proofs and brief examples. 1 Introduction One may be interested in the uncertainty of an event or a series of events. Shannon entropy is a method to compute the uncertainty in an event. This can be used for single events or for several independent and identically distributed events. However, often events or series of events are not independent and identically distributed. In that case the events together form a stochastic process i.e. a process in which multiple outcomes are possible. These processes are omnipresent in all sorts of elds of study. As it turns out, Shannon entropy cannot directly be used to compute the uncertainty in a stochastic process. However, it is easy to extend such that it can be used. Also when a stochastic process satises certain properties, for example if the stochastic process is a Markov process, it is straightforward to compute the entropy of the process. The entropy rate of a stochastic process can be used in various ways. An example of this is given in Section 4.1.
    [Show full text]
  • Entropy Rate Estimation for Markov Chains with Large State Space
    Entropy Rate Estimation for Markov Chains with Large State Space Yanjun Han Department of Electrical Engineering Stanford University Stanford, CA 94305 [email protected] Jiantao Jiao Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, CA 94720 [email protected] Chuan-Zheng Lee, Tsachy Weissman Yihong Wu Department of Electrical Engineering Department of Statistics and Data Science Stanford University Yale University Stanford, CA 94305 New Haven, CT 06511 {czlee, tsachy}@stanford.edu [email protected] Tiancheng Yu Department of Electronic Engineering Tsinghua University Haidian, Beijing 100084 [email protected] Abstract Entropy estimation is one of the prototypicalproblems in distribution property test- ing. To consistently estimate the Shannon entropy of a distribution on S elements with independent samples, the optimal sample complexity scales sublinearly with arXiv:1802.07889v3 [cs.LG] 24 Sep 2018 S S as Θ( log S ) as shown by Valiant and Valiant [41]. Extendingthe theory and algo- rithms for entropy estimation to dependent data, this paper considers the problem of estimating the entropy rate of a stationary reversible Markov chain with S states from a sample path of n observations. We show that Provided the Markov chain mixes not too slowly, i.e., the relaxation time is • S S2 at most O( 3 ), consistent estimation is achievable when n . ln S ≫ log S Provided the Markov chain has some slight dependency, i.e., the relaxation • 2 time is at least 1+Ω( ln S ), consistent estimation is impossible when n . √S S2 log S . Under both assumptions, the optimal estimation accuracy is shown to be S2 2 Θ( n log S ).
    [Show full text]
  • Entropy Power, Autoregressive Models, and Mutual Information
    entropy Article Entropy Power, Autoregressive Models, and Mutual Information Jerry Gibson Department of Electrical and Computer Engineering, University of California, Santa Barbara, Santa Barbara, CA 93106, USA; [email protected] Received: 7 August 2018; Accepted: 17 September 2018; Published: 30 September 2018 Abstract: Autoregressive processes play a major role in speech processing (linear prediction), seismic signal processing, biological signal processing, and many other applications. We consider the quantity defined by Shannon in 1948, the entropy rate power, and show that the log ratio of entropy powers equals the difference in the differential entropy of the two processes. Furthermore, we use the log ratio of entropy powers to analyze the change in mutual information as the model order is increased for autoregressive processes. We examine when we can substitute the minimum mean squared prediction error for the entropy power in the log ratio of entropy powers, thus greatly simplifying the calculations to obtain the differential entropy and the change in mutual information and therefore increasing the utility of the approach. Applications to speech processing and coding are given and potential applications to seismic signal processing, EEG classification, and ECG classification are described. Keywords: autoregressive models; entropy rate power; mutual information 1. Introduction In time series analysis, the autoregressive (AR) model, also called the linear prediction model, has received considerable attention, with a host of results on fitting AR models, AR model prediction performance, and decision-making using time series analysis based on AR models [1–3]. The linear prediction or AR model also plays a major role in many digital signal processing applications, such as linear prediction modeling of speech signals [4–6], geophysical exploration [7,8], electrocardiogram (ECG) classification [9], and electroencephalogram (EEG) classification [10,11].
    [Show full text]
  • Source Coding: Part I of Fundamentals of Source and Video Coding
    Foundations and Trends R in sample Vol. 1, No 1 (2011) 1–217 c 2011 Thomas Wiegand and Heiko Schwarz DOI: xxxxxx Source Coding: Part I of Fundamentals of Source and Video Coding Thomas Wiegand1 and Heiko Schwarz2 1 Berlin Institute of Technology and Fraunhofer Institute for Telecommunica- tions — Heinrich Hertz Institute, Germany, [email protected] 2 Fraunhofer Institute for Telecommunications — Heinrich Hertz Institute, Germany, [email protected] Abstract Digital media technologies have become an integral part of the way we create, communicate, and consume information. At the core of these technologies are source coding methods that are described in this text. Based on the fundamentals of information and rate distortion theory, the most relevant techniques used in source coding algorithms are de- scribed: entropy coding, quantization as well as predictive and trans- form coding. The emphasis is put onto algorithms that are also used in video coding, which will be described in the other text of this two-part monograph. To our families Contents 1 Introduction 1 1.1 The Communication Problem 3 1.2 Scope and Overview of the Text 4 1.3 The Source Coding Principle 5 2 Random Processes 7 2.1 Probability 8 2.2 Random Variables 9 2.2.1 Continuous Random Variables 10 2.2.2 Discrete Random Variables 11 2.2.3 Expectation 13 2.3 Random Processes 14 2.3.1 Markov Processes 16 2.3.2 Gaussian Processes 18 2.3.3 Gauss-Markov Processes 18 2.4 Summary of Random Processes 19 i ii Contents 3 Lossless Source Coding 20 3.1 Classification
    [Show full text]
  • Relative Entropy Rate Between a Markov Chain and Its Corresponding Hidden Markov Chain
    ⃝c Statistical Research and Training Center دورهی ٨، ﺷﻤﺎرهی ١، ﺑﻬﺎر و ﺗﺎﺑﺴﺘﺎن ١٣٩٠، ﺻﺺ ٩٧–١٠٩ J. Statist. Res. Iran 8 (2011): 97–109 Relative Entropy Rate between a Markov Chain and Its Corresponding Hidden Markov Chain GH. Yariy and Z. Nikooraveshz;∗ y Iran University of Science and Technology z Birjand University of Technology Abstract. In this paper we study the relative entropy rate between a homo- geneous Markov chain and a hidden Markov chain defined by observing the output of a discrete stochastic channel whose input is the finite state space homogeneous stationary Markov chain. For this purpose, we obtain the rela- tive entropy between two finite subsequences of above mentioned chains with the help of the definition of relative entropy between two random variables then we define the relative entropy rate between these stochastic processes and study the convergence of it. Keywords. Relative entropy rate; stochastic channel; Markov chain; hid- den Markov chain. MSC 2010: 60J10, 94A17. 1 Introduction Suppose fXngn2N is a homogeneous stationary Markov chain with finite state space S = f0; 1; 2; :::; N − 1g and fYngn2N is a hidden Markov chain (HMC) which is observed through a discrete stochastic channel where the input of channel is the Markov chain. The output state space of channel is characterized by channel’s statistical properties. From now on we study ∗ Corresponding author 98 Relative Entropy Rate between a Markov Chain and Its ::: the channels state spaces which have been equal to the state spaces of input chains. Let P = fpabg be the one-step transition probability matrix of the Markov chain such that pab = P rfXn = bjXn−1 = ag for a; b 2 S and Q = fqabg be the noisy matrix of channel where qab = P rfYn = bjXn = ag for a; b 2 S.
    [Show full text]
  • Information Theory 1 Entropy 2 Mutual Information
    CS769 Spring 2010 Advanced Natural Language Processing Information Theory Lecturer: Xiaojin Zhu [email protected] In this lecture we will learn about entropy, mutual information, KL-divergence, etc., which are useful concepts for information processing systems. 1 Entropy Entropy of a discrete distribution p(x) over the event space X is X H(p) = − p(x) log p(x). (1) x∈X When the log has base 2, entropy has unit bits. Properties: H(p) ≥ 0, with equality only if p is deterministic (use the fact 0 log 0 = 0). Entropy is the average number of 0/1 questions needed to describe an outcome from p(x) (the Twenty Questions game). Entropy is a concave function of p. 1 1 1 1 7 For example, let X = {x1, x2, x3, x4} and p(x1) = 2 , p(x2) = 4 , p(x3) = 8 , p(x4) = 8 . H(p) = 4 bits. This definition naturally extends to joint distributions. Assuming (x, y) ∼ p(x, y), X X H(p) = − p(x, y) log p(x, y). (2) x∈X y∈Y We sometimes write H(X) instead of H(p) with the understanding that p is the underlying distribution. The conditional entropy H(Y |X) is the amount of information needed to determine Y , if the other party knows X. X X X H(Y |X) = p(x)H(Y |X = x) = − p(x, y) log p(y|x). (3) x∈X x∈X y∈Y From above, we can derive the chain rule for entropy: H(X1:n) = H(X1) + H(X2|X1) + ..
    [Show full text]
  • Arxiv:1711.03962V1 [Stat.ME] 10 Nov 2017 the Entropy Rate of an Individual’S Behavior
    Estimating the Entropy Rate of Finite Markov Chains with Application to Behavior Studies Brian Vegetabile1;∗ and Jenny Molet2 and Tallie Z. Baram2;3;4 and Hal Stern1 1Department of Statistics, University of California, Irvine, CA, U.S.A. 2Department of Anatomy and Neurobiology, University of California, Irvine, CA, U.S.A. 3Department of Pediatrics, University of California, Irvine, CA, U.S.A. 4Department of Neurology, University of California, Irvine, CA, U.S.A. *email: [email protected] Summary: Predictability of behavior has emerged an an important characteristic in many fields including biology, medicine, and marketing. Behavior can be recorded as a sequence of actions performed by an individual over a given time period. This sequence of actions can often be modeled as a stationary time-homogeneous Markov chain and the predictability of the individual's behavior can be quantified by the entropy rate of the process. This paper provides a comprehensive investigation of three estimators of the entropy rate of finite Markov processes and a bootstrap procedure for providing standard errors. The first two methods directly estimate the entropy rate through estimates of the transition matrix and stationary distribution of the process; the methods differ in the technique used to estimate the stationary distribution. The third method is related to the sliding-window Lempel-Ziv (SWLZ) compression algorithm. The first two methods achieve consistent estimates of the true entropy rate for reasonably short observed sequences, but are limited by requiring a priori specification of the order of the process. The method based on the SWLZ algorithm does not require specifying the order of the process and is optimal in the limit of an infinite sequence, but is biased for short sequences.
    [Show full text]
  • Entropy Rate
    Lecture 6: Entropy Rate • Entropy rate H(X) • Random walk on graph Dr. Yao Xie, ECE587, Information Theory, Duke University Coin tossing versus poker • Toss a fair coin and see and sequence Head, Tail, Tail, Head ··· −nH(X) (x1; x2;:::; xn) ≈ 2 • Play card games with friend and see a sequence A | K r Q q J ♠ 10 | ··· (x1; x2;:::; xn) ≈? Dr. Yao Xie, ECE587, Information Theory, Duke University 1 How to model dependence: Markov chain • A stochastic process X1; X2; ··· – State fX1;:::; Xng, each state Xi 2 X – Next step only depends on the previous state p(xn+1jxn;:::; x1) = p(xn+1jxn): – Transition probability pi; j : the transition probability of i ! j P = j – p(xn+1) xn p(xn)p(xn+1 xn) – p(x1; x2; ··· ; xn) = p(x1)p(x2jx1) ··· p(xnjxn−1) Dr. Yao Xie, ECE587, Information Theory, Duke University 2 Hidden Markov model (HMM) • Used extensively in speech recognition, handwriting recognition, machine learning. • Markov process X1; X2;:::; Xn, unobservable • Observe a random process Y1; Y2;:::; Yn, such that Yi ∼ p(yijxi) • We can build a probability model Yn−1 Yn n n p(x ; y ) = p(x1) p(xi+1jxi) p(yijxi) i=1 i=1 Dr. Yao Xie, ECE587, Information Theory, Duke University 3 Time invariance Markov chain • A Markov chain is time invariant if the conditional probability p(xnjxn−1) does not depend on n p(Xn+1 = bjXn = a) = p(X2 = bjX1 = a); for all a; b 2 X • For this kind of Markov chain, define transition matrix 2 3 6 ··· 7 6P11 P1n7 = 6 ··· 7 P 46 57 Pn1 ··· Pnn Dr.
    [Show full text]
  • Redundancy Rates of Slepian-Wolf Coding∗
    Redundancy Rates of Slepian-Wolf Coding∗ Dror Baron, Mohammad Ali Khojastepour, and Richard G. Baraniuk Dept. of Electrical and Computer Engineering, Rice University, Houston, TX 77005 Abstract The results of Shannon theory are asymptotic and do not reflect the finite codeword lengths used in practice. Recent progress in design of distributed source codes, along with the need for distributed compression in sensor networks, has made it crucial to understand how quickly distributed communication systems can approach their ultimate limits. Slepian and Wolf considered the distributed encoding of length-n sequences x and y. If y is available at the decoder, then as n increases x can be encoded losslessly at rates arbitrarily close to the conditional entropy H(X Y ). However, for any finite n there is a positive probability that x and y are | not jointly typical, and so x cannot be decoded correctly. We examine a Bernoulli setup, where x is generated by passing y through a binary symmetric correlation channel. We prove that the finite n requires us to increase the rate above the conditional entropy by K()/√n, where is the probability of error. We also study the cost of universality in Slepian-Wolf coding, and propose a universal variable 1 rate scheme wherein the encoder for x receives PY = n i yi. For PY < 0.5, our redundancy rate is K0()/√n above the empirical conditional entropy. When 1/6 1/6 P PY 0.5 = O(n− ), K0()=Ω(n ), and another scheme with redundancy rate | −1/3 | O(n− ) should be used. Our results indicate that the penalties for finite n and unknown statistics can be large, especially for P 0.5.
    [Show full text]
  • Entropy Rate
    School of Information Science Entropy Rate 2009 2-2 Course - Information Theory - Tetsuo Asano and Tad matsumoto Email: {t-asano, matumoto}@jaist.ac.jp Japan Advanced Institute of Science and Technology Asahidai 1-1, Nomi, Ishikawa 923-1292, Japan http://www.jaist.ac.jp School of Information Science Preliminary Experiment Information Destination Source Encoder Fax Tx+ Fax Rx Decoder Noise In the previous chapter, we learned that information can be evaluated by the uncertainty of the source output random variable. Æ Entropy Question: How does the entropy of the sequence grow with its length? Goes the growth rate have a limit, if the source outputs infinite length of information? School of Information Science Outline We have made a journey on the topics: 1. Revisit to Markov Chain 2. Entropy Rate - Stationary Process - Asymptotic Properties - Entropy Rate Chain Rule - Conditioning School of Information Science Revisit of Markov Chain (1) Definition 5.1.1: Markov Chain or Markov Process A discrete stochastic process X1, X2, …, Xk, … forms Markov Chain (or Markov Process), if for n=1, 2, …., Pr(X n+1 = xn+1 X n = xn , X n−1 = xn−1,L, X1 = x1 )= Pr(X n+1 = xn+1 X n = xn ) withx1, x2 ,L, xn , xn+1 ∈ X . Theorem 5.1.1: Joint Distribution: p()x1,L, xn−1, xn = p(x1 )p(x2 x1 )p(x3 x2 )L p(xn xn−1 ) Proof: Obvious from the definition. Definition 5.1.2: Time Invariance: The Markov process is time-invariant, if the conditional probability p(xn|xn-1) does not depend on n, i.e., .
    [Show full text]
  • Arxiv:1906.02570V2 [Cs.IT] 22 Apr 2020 on Orsodn Oagvnmliait Ore E [Kac12])
    ON TYPICAL ENCODINGS OF MULTIVARIATE ERGODIC SOURCES In memory of Fero Mat´uˇs Abstract. We show that the typical coordinate-wise encoding of multivari- ate ergodic source into prescribed alphabets has the entropy profile close to the convolution of the entropy profile of the source and the modular poly- matroid that is determined by the cardinalities of the output alphabets. We show that the proportion of the exceptional encodings that are not close to the convolution goes to zero doubly exponentially. The result holds for a class of multivariate sources that satisfy asymptotic equipartition property described via the mean fluctuation of the information functions. This class covers asymp- totically mean stationary processes with ergodic mean, ergodic processes, ir- reducible Markov chains with an arbitrary initial distribution. We also proved that typical encodings yield the asymptotic equipartition property for the out- put variables. These asymptotic results are based on an explicit lower bound of the proportion of encodings that transform a multivariate random variable into a variable with the entropy profile close to the suitable convolution. M. Kupsa 1 1. Introduction In Information theory and namely in Network coding theory, the encoding of multiple possibly correlated sources have been extensively studied in the last two decades (for the main framework, overview and references see [Yeu08] and [BMR+13]). The sources are usually assumed to be discrete and memory-less, so they are repre- sented by sequences of i.i.d. discrete random variables. The important character- istics of multivariate sources, which we focus on, is its entropy profile (an entropic point corresponding to a given multivariate source, see [Kac12]).
    [Show full text]
  • A Quick and Easy Way to Estimate Entropy and Mutual Information For
    bioRxiv preprint doi: https://doi.org/10.1101/2020.08.04.236174; this version posted August 5, 2020. The copyright holder for this preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made available under aCC-BY-NC 4.0 International license. 1 A quick and easy way to estimate entropy and mutual information 2 for neuroscience 3 Mickael Zbili1, 2, Sylvain Rama3* 4 1, Lyon Neuroscience Research Center, INSERM U1028-CNRS UMR5292-Université Claude Bernard Lyon1, Lyon, 5 France 6 2, Now in Blue Brain Project, École polytechnique fédérale de Lausanne (EPFL) Biotech Campus, Geneva, 7 Switzerland. 8 3, UCL Queen Square Institute of Neurology, University College London, London, United Kingdom. 9 *, Correspondence: Sylvain Rama, [email protected] 10 Abstract 11 Calculations of entropy of a signal or mutual information between two variables are valuable 12 analytical tools in the field of neuroscience. They can be applied to all types of data, capture 13 nonlinear interactions and are model independent. Yet the limited size and number of recordings 14 one can collect in a series of experiments makes their calculation highly prone to sampling bias. 15 Mathematical methods to overcome this so called ―sampling disaster‖ exist, but require 16 significant expertise, great time and computational costs. As such, there is a need for a simple, 17 unbiased and computationally efficient tool for reliable entropy and mutual information 18 estimation. In this paper, we propose that application of entropy-coding compression algorithms 19 widely used in text and image compression fulfill these requirements.
    [Show full text]