Twenty-ninth Symposium on Information Theory in the Benelux Leuven, Belgium May 29-30, 2008 Proceedings of the 29th Sym posi um on Information Theory in the Benelux Leuven, Belgium, May 29-30 2008 Previous symposia 1. 1980 Zoetermeer, The Netherlands Delft University of Technology 2. 1981 Zoetermeer, The Netherlands Delft University of Technology 3. 1982 Zoetermeer, The Netherlands Delft University of Technology 4. 1983 Haasrode, Belgium ISBN 90-334-0690-X 5. 1984 Aalten, The Netherlands ISBN 90-71048-01-2 6. 1985 Mierlo, The Netherlands ISBN 90-71048-02-0 7. 1986 Noordwijkerhout, The Netherlands ISBN 90-6275-272-1 8. 1987 Deventer, The Netherlands ISBN 90-71048-03-9 9. 1988 Mierlo, The Netherlands ISBN 90-71048-04-7 10. 1989 Houthalen, Belgium ISBN 90-71048-05-5 11. 1990 Noordwijkerhout, The Netherlands ISBN 90-71048-06-3 12. 1991 Veldhoven, The Netherlands ISBN 90-71048-07-1 13. 1992 Enschede, The Netherlands ISBN 90-71048-08-X 14. 1993 Veldhoven, The Netherlands ISBN 90-71048-09-8 15. 1994 Louvain-la-Neuve, Belgium ISBN 90-71048-10-1 16. 1995 Nieuwekerk a/d Llssel, The Netherlands ISBN 90-71048-11-X 17. 1996 Enschede, The Netherlands ISBN 90-365-0812-6 18. 1997 Veldhoven, The Netherlands ISBN 90-71048-12-8 19. 1998 Veldhoven, The Netherlands ISBN 90-71048-13-6 20. 1999 Haasrode, Belgium ISBN 90-71048-14-4 21. 2000 Wassenaar, The Netherlands ISBN 90-71048-15-2 22. 2001 Enschede, The Netherlands ISBN 90-365-1598-X 23. 2002 Louvain-la-Neuve, Belgium ISBN 90-71048-16-0 24. 2003 Veldhoven, The Netherlands ISBN 90-71048-18-7 25. 2004 Kerkrade, The Netherlands ISBN 90-71048-20-9 26. 2005 Brussels, Belgium ISBN 90-71048-21-7 27. 2006 Noordwijk, The Netherlands ISBN 90-71048-22-7 28. 2007 Enschede, The Netherlands ISBN 978-90-365-2509-1 CIP-gegevens Koninklijke Bibliotheek, Den Haag (NL) Proceedings Proceedings of the 29th Symposium on Information Theory in the Benelux Edited by Liesbet Van der PeITe, Antoine Dejonghe and Valéry Ramon, Leuven Werkgemeenschap voor Informatie- en Communicatietheorie ISBN: 978-90-9023135-8 The Twenty-ninth Symposium on Information Theory in the Benelux has been orga- nized by Inter-university MicroElectronics Center Wireless Group Leuven, Belgium on behalf of the Werkgemeenschap voor Informatie- en Communicatietheorie and the IEEE Benelux Information Theory Chapter. Organizing committee Liesbet Van der Perre Antoine Dejonghe Valéry Ramon The organizing committee gratefully acknowledges the financial support of the Gauss Foundation for the 'Best Student Paper Award', and of the IEEE Benelux Information Theory Chapter. Preface The Werkgemeenschap voor Informatie- en Communicatietheorie (WIC) has organized the annual Symposium on Information Theory in the Benelux since 1980. This year's symposium, the 29th, takes place in Leuven, Belgium, and has been organized by IMEC (with great help of the 'mso ladies'), Belgium. We are very pleased to announce two invited lectures, which will open horizons on different scales. Prof. Diederik Verkest and Prof. Piet Wambacq, (IMEC and V.U.Brussel), will take us on a nano-joumey, in a talk entitled CMOS scaling [or dummies. Prof. Piet Demeester of the University of Gent will open global gates by addressing The future Internet. Moreover, the 34 regular papers present a nice variety of research contributions within different themes of interest to the WIe. We hope that this event will be enriching for you. We wish you a warm welcome in the vivid historical town of Leuven! Liesbet Van der Perre, Antoine Dejonghe, Valéry Ramon, eo-chairs Leuven, May 2008 Contents Invited presentations 1 Piet Demeester - The future Internet Diederik Verkest, Piet Wambaeq - CMOS scaling for dummies Biometrics 3 Estimating the Hamming Distance Between Binary Vectors via Rate Distortion Source Coding V.B. Balakirsky, A.R. Ghazaryan, A. J. H. Vinek 3 Optimal Likelihood-Ratio Based Biometrie Score Fusion Q. Tao, R.Veldhuis 11 Performance of Additive Block Coding Schemes Oriented to Biometrie Authentication V.B. Balakirsky, A.R. Ghazaryan, A. J. H. Vinek 19 Eigenvalue correction results in face recognition A. Hendrikse, R. Veldhuis, L. Spreeuwers 27 Software Defined Radios and Cognitive Radios 37 Interference Modelingfor Cognitive Radios with Imperfect Sensing M. Timmers, S. Pollin, A. Dejonghe, L. Van der Perre, F. Catthoor 37 Extracting cyclostationary featuresfrom single carrier signals M. Heskamp, C. H. Slump 45 Performance of Energy Detectors over SIMO Multi-Tap Fading Channels S. Rodriguez, V. Ramon, A. Bourdoux, R. Lauwereins, F. Horlin 53 Simulation framework jar early exploration of SDR platforms: a case study of interconnect dimensioning M. Trautmann, S. Mamagkakis, B. Bougard, J. Declerek, E. Umans, A. Dejonghe, L. Van der PeITe, F. Catthoor 61 Poster Session 69 Performance Analysis of a Coordinate Interleaved System over Rayleigh Fading Channels N. Kiyani, J.H. Weber 69 Coded Modulation in the Frequency Domain A. Mengi, A. J. Han Vinek 77 Energy Benefit of Network Codingfor Multiple Unicast in Wireless Networks J. Goseling, J. Weber 85 Quantization Effects in the OFDM Systems X. Sbao, C. H. Slump 93 Reliable Download Delivery in a Terrestrial DAB Network R. Schipborst, X. Shao, C.H. Slump 105 Strategy Results for the Relay Channel Without Delay F.M.J. Willems, E.C. van der Meulen 113 Four model classesfor efficient Bayesian selection T. Tjalkens 121 The Byzantine Postman Problem: A Trivial Attack Against PIR-based Nym Servers L. Sassaman, B. Preneel 129 An information-theoretic quality assessment approachfor X-ray images C. Papalazarou, F.Willems, R.M.Snoeren, P.Rongen, P.H.N. de With, H.Kioon 137 Performances ofthe likelihood ratio classifier based on different data modeling C. Chen, R. Veldhuis 145 Grid-Pattern Recognition in Smart Gun Based on Likelihood-Ratio Classifier and Support Vector Machine X. Shang, R. Veldhuis 153 Assignment of channel control elements in the Physical Downlink Control Channel in 3GPP-LTE L. 'I'olhuizen,T. Moulsley lGI influence of 60 GHz Front-End Nonidealities on CP M with Frequency Domain Equalization W. Van Tbillo, J. Nsenga, R. Lauwereins, V. Ramon, A. Bourdoux, F. Horlin 169 Modeling 3GPP-LTE performance for optimal XL control 1. Sneessens, C. Desset, R. Torrea Duran, P. Megret 177 Bridging the energy gap jar instruction set processor based SDR baseband implementations M. Li, D. Novo, B. Bougard, L. Van der PeITe and F. Catthoor 185 MIMO 189 Platform-dependent Optimization ofthe SSFE Detector on ADRES A. Richard, D. Novo, M. Li, B. Bougard, L. Van der Perre 189 A New Precoding Schemefor Compact Cross-Polarized Multi-Antenna Systems F. Quitin, F. Horlin, C. Oestges, P. De Doncker 197 Effect of Antenna Mutual Coupling on the MlMO Systems W. Van, J.P. Linnartz, J.W.M. Bergmans, S. Attallah 207 MMSE Precodingfor MIMO OFDM Systems Based on Multipaths and Spatial Correlation Y. Lebrun, C. Hotbauer, V. Ramon, A. Bourdoux, M. Huemer, F. Horlin, R. Lauwereins 215 -u -0 -> ~ .c I_..,J ~ PHILlPS Possbile follow-ups Find out with Hugo Cornelissen on the results of the workshop of 11-6 Contact Paul Jochijms or Liz Zwerver for business evaluation (Power Point presentation) Architecture: contact with Hugo Cornelissen. CONFIDENTIAL April 21, 2008, Reference Cryptography 223 Linear Relations in Irregularly Clocked Linear Finite State Machines Cl.A. lansen 223 FPGA Implementation of SQUASH F. Gosset, F-X. Standaert, r-r. Quisquater 231 On the Energy Cost of Communication and Cryptography in Wireless Sensor Networks G. de Meulenaer, F. Gosset, F-X. Standaert , L. Vandendorpe 239 Efficiency and pseudo-randomness of a variant of Z'emor-Tillich Hash Function C. Petit, N. Veyrat ,J-J. Quisquater 247 Video surveillance and 3D reconstruction 255 Efficient Template Generation for Object Classiffication in Video Surveillance R. Wijnhoven, P.H.N. de With, I. Creusen 255 Multiple-view Scene Reconstruction from Various Depth Cues using Energy Minimization on Markov Random Field P. Li, R. Klein Gunnewiek, P.H.N. de With 263 Regression-based occlusion handling algorithm using silhouette data in video surveillance M. Feng, J. Han and P.H.N. de With 271 Invited presentations Prof. Piet Demeester , University of Gent - The future Internet There is a worldwide raising awareness that new research is required to shape the future of the Internet. Research programs in Europe, US, Japan and elsewhere are starting up and allocating large amounts of money to shape this future. This presentation will discuss recent trends observed in the usage and expansion of the internet. Illustrative examples of recent research results will be presented. Prof. Diederik Verkest and Prof. Piet Wambaeq - CMOS seal- ing for dummies CMOS technology is the enabler for many applications in nowadays' society: integrated circuits designed in CMOS are present in computers, wireless datacommunication sys- tems, hardware for biomedical purposes, car electronics, games, ... The complexity of integrated circuits has increased significantly over the past decades and CMOS transis- tors have become increasingly fast: modern CMOS transistors are capable of handling analog signals with frequencies in the vicinity of 100 GHz. The mechanism behind this evolution is scaling of the transistor physical dimensions. In this talk the basics of scaling and the consequences on the behavior of the MOS transistor are explained. However, scaling as we have witnessed it for several decades, cannot go on forever. The International Technology Roadmap for Semiconductors predicts that the classical planar transistor architecture might have to be revised completely in order to meet the specifications of new downscaled technologies. The problems that occur when aggres- sively scaling a planar transistor are addressed in this talk. Further, the consequences at the analog and digital circuit level of these problems are highlighted and solutions, both at the design level and the technological level are discussed. Estimating the Hamming Distance Between Binary Vectors via Rate Distortion Source Coding Vladimir B. Balakirsky Anahit R. Ghazaryan A. J. Han Vinck Institute for Experimental Mathematics, 45326 Essen, Germany v.b.balakirskysêrambler.ru, e..ghezaryanëêt-arnblerr-u, vinck@iem.uni-due.de Abstract 'vVepresent an authentication algorithm, which uses the scheme when the value of a hash function for the input vector is stored in the database. The observation vector is a corrupted version of the input vector. A regular construction for the hash function based on the rate-distortion source coding is presented, and parameters of the algorithm are evaluated. 1 Introduction We consider the data processing scheme where an input binary vector x of length n is mapped to a binary vector Hash(x) of length k < n, where Hash is a fixed hash function. The result is stored in the database (DB). Having received an observation binary vector y of length ti and using the content of the DB, a verifier has to decide whether the observation vector can be considered as a corrupted version of the input vector x or not, where the measure of closeness is the Hamming distance. The task is of interest for different applications. One of them is the biometrie authentication [1]: if x represents biometrie measurements that were used to form the DB and y represents measurements of the same parameters of a person, who claims identity (notice that different biometrie measurements of parameters of the same person, like iris, fingerprints, can be hardly exactly repeated), then an authentication scheme has to accept or reject the claim. An important requirement leading to the use of hashing is the point that an attacker should not discover the vector x, since the biometrics, being cornpromised, is compromised forever. A conventional implerueutation of hashing with noisy data is based on the analysis of the pair (Hash(x), Hash(y)) that can be efficient only under strong constraints on the available hash functions. However this line cannot be developed for our assignments of parameters and we analyze the pair (Hash(x), y). Notice also that the transformation of the input vector to a vector of smaller length can be viewed as rate-distortion coding where the cardinality of the code is equal to 2k Nevertheless, the covering radius of an optimum code is close to n/2, and the conventional decoding procedure cannot give an estimate of the input vector with the accuracy sufficient to solve the authentication problem. We will also present a deterministic hash function whose value (the codeword) is computed with the complexity linear in n. 2 A general data processing scheme Let us consider the data transmission scheme in Figure 1. The source generates a vector x E {O, l}n. This vector enters the encoder, who is given a binary code matrix lThis work was partially supported by the DFG. 3 C C YIN y=xEBe e Figure 1: The data transmission scheme introduced to solve the authentication prob- lem, where x,e E {O,I}n, C E {O,IFMxn, m(xlc) E {1, ... ,2M}, d(xlc) E {O, ... , ln/2J}, Vo"",VLn/2j ç {O, ... ,n}. C of dimension 2M x n consisting of rows Cl, ... , CUv]. We assume that CM +i = C.; EB1, 'i = 1, ... , M, (1) where 1 is the all-one vector, i.e., the matrix C contains the inverted version of each row. The encoder finds d(xlc) ~ min wt(x EBcm), 1:Sm:S2M and the smallest index m(xlc) E {1, ... , 2M} such that wt(x EBCm(vlq) = d(xIC). (2) The vector cm(xIC) will be referred to as the reference vector for the source vector x. The decoder is given a pair (m(xIC); d(xIC)) that can be expressed by a binary string of length k = llog(2M)l + [Iog] ln/2 J + 1)l, (3) since m(xlc) E {I, ... , 2M} and d(xIC) E {O,... , ln/2j}. Another input to the de- coder is the vector y = x EBe, where e E {O,I} n is the noise vector. Let us fix the decoding as the procedure consisting of two steps. At the first step, the Hamming dis- tance between the observation vector y and the reference vector cm(xIC) is computed. At the second step, the decoder checks whether the result belongs to the set Vd(xIC) or not, where Va, ... , VLn/2j ç {O, ... , n} are sets that are fixed in advance, and outputs the answer "Yes" or "No". 6 Denote D = (Va, ... , VLn/2j) and A(xIC, D) ~ Lpr{ E = e }x{ wt(x EBe EB Cm(xlc)) E Vd(xIC)}, e where the probability distribution over the noise vectors, (Pr{ E = e }, e E {O,l}n) is ° assumed to be given and X denotes the indicator function: X{A} = 1 if the statement A is true and x{A} = otherwise. 4 Figure 2: An illustration to the statement of the Proposition l. To simplify formal considerations, we analyze the performance of our algorithm for the probability distribution (4) where the set Sij consists of all vectors having the weight lnO J and write Aij(xIC, 'D) = ISJ 1-1 L x{ wt(x EBe EB Cm(xjC)) E Dd(xjC)}. (5) eES. The scheme described above is introduced to check whether the observation vector y is a corrupted version of the source vector x or not. An alternative to this hypothesis is the one when the vector y is chosen from the set {O,I}" according to a uniform probability distribution. Thus, are the False Rejection Rate (the probability that the answer is "No", while the hypoth- esis is true) and the False Acceptance Rate (the probability that the answer is "Yes", while the hypothesis is false), respectively. The problem under consideration can be presented as assigning a pair (C, 'D) in such a way that both average probabilities, FRRij(C, 'D) ~ Tn L FRRJ(xIC, 'D), FAR(C, 'D) ~ T L FAR(xIC, 'D) n x x are small. 3 Basic ideas of the analysis Proposition 1. The probability Aij(xIC, 'D) defined in (5) depends on the input vector x and the code C only through the distance d(xIC). Namely, d(xIC) = na implies AJ(xIC, 'D) = L Àij(,8la), (6) fJo nfJED.no where c: Àij(,8la) = (n)-l( nO n(l-a))( n(o - a + ,8)/2 na ) n(o + a - ,8)/2 . 5 15= 0.05, 0.1, 0.2 .15 a = 3/8 1 .10 .05 \15 = 0.5 o '. .25 .50 .25 50 (3* Figure 3: Examples of the function Ào({3la)for n = 128 and the functions FRRo, FAR. The situation addressed in Proposition 1 is illustrated in Figure 2. Given an input vector x, we construct a reference vector c at distance na. If the noise vectors are uniformly distributed over a sphere of radius ni5, then the probability of receiving a vector x EBe at distance n{3 from the reference vector is the ratio of the number of triangles (x, x EBe, c) with given lengths of the edges and the cardinality of the sphere. Our further conclusions are based on the observation that the conditional probability distributions Ào(a) = (Ào({3la), (3 E Rn) can be efficiently distinquished for different 15even when the value of the parameter a is rather close to 1/2. These distributions are illustrated in Figure 3, and we notice that Dna can be assigned as a set consisting of all integers not greater than n{3*, where (3*is a parameter to be chosen. As a result, the functions FRRo and FAR become equal to f32fJ*: nf3 is an integer FAR({3*la) 6 T"I{ X: wt(x) :S:n{3* H Let us consider a numerical example where the input vectors of length n = 16384 have to be encoded by k = 42 bits and 15= 0.01, i.e., the verifier checks whether the observation and the input vectors disagree in n' = 163 bits. The covering radius of an optimum code can be bounded from below by r = nh-1(1 - kin) = 7703, where h(z), zE (0,1), is the binary entropy function. Suppose that one can find a code such that, for any input vector there is a reference codeword at distance at most r. Then the distance between any observation vector and the reference vector is not greater than r + n' = 7866. Thus, an assignment Va = ... = V"~= {a, ... , r + n'} brings the false rejection rate equal to 0 and the false acceptance rate that can be estimated as 2-n(1-h((j'+n')/n)) = 2.6 . 10-6 Considerations above illustrate the following points. Although the reference vector can be located at a large distance from the input vector, we can use the triangle inequality and make reliable conclusions about the distance between the input and the observation vectors. We relax this inequality by introducing its probabilistic version to reach desired relationships between the false rejection rate and the false acceptance rate. However, all the conclusions are based on the assumption that there exists a certain covering code. Such a code has to be found, and its cardinality can be large enough (for the example above the code consists of 242 binary vectors of length 16384) to create difficulties for the encoding and the decoding procedures. We will concentrate on a regular construction of a code that allows one to compute a reference vector with linear complexity. 6 4 Behavior of the error probability of rate-distortion coding for random block codes If we cancel condition (1), then the total number of codes under consideration is equal to TM,n = 2Mn. The rate-distortion coding is usually understood as approx- imation of a source vector by the closest codeword of a code C. The distortion of the approximation is defined as the Hamming distance between this codeword and the source vector. If the distortion of the approximation is greater than tie, where e E (0,1) is a fixed parameter, then we say that the e-error takes place. Since the number of binary vectors located at the Hamming distance d from a fixed vector x is equal to C) for any x, lim. - log (3nê = 1 - h()CR. n-tOO n As a result, the numbers d-y, dÎvI' dR are close to each other even for relatively small lengths, as it can be seen from the data in Table 1 for our numerical example. Nev- ertheless, one cannot directly use above results on the covering of the space {O,l}n to find an estimate on the Hamming distance between two vectors. A straightforward approach to the estimating problem would be as follows. To encode the vector x, we represent the space {O,l}n as a union of M pairwise disjoint subsets and store the index of the subset, which contains the vector x. Having received a vector y = x EEl e, the decoder finds the subset containing this vector and outputs an estimate of the Hamming distance between x and y on the basis of two subsets. If the subsets coincide and the covering radius of a code is equal to 105, while the length is equal to 256 (we refer to the data of Table 1 for log M = 13), then the decoder can conclude that the Hamming distance between x and y does not exceed 210. If the decoder also takes into 7 Table 1: Some values of d n, «: d lO-6 for n = 256. logM = 8 9 10 11 12 13 dn = 104 102 100 99 97 96 dN[ = 128 124 120 ll7 ll4 ll2 dlO-6 = 115 ll3 llO 108 106 105 account the distance between y and the codeword c(x) that determines the subset and uses the triangle inequality for the Hamming distance, then the upper bound becomes 105 + wt(y EBc(x)), which is also not very interesting. We will develop an approach that allows us to obtain a much more precise estimate in the average over the ensemble of error vectors e. 5 Enumerative hashing algorithm We will describe the construction of a regular code C of cardinality less than 2n2 whose codewords can be used as rows of the code matrix C. Thus, if n is an integer power of 2, then the value of the hash function can be expressed using k ~ 310gn bits, as it follows from (3). We also present the encoding procedure that allows one to find a reference code vector with complexity linear in n. As this vector is not necessary the closest codeword, the procedure is sub-optimum in general case. However it guarantees the Hamming distance between any input vector and the corresponding reference vector not greater than n/2. Moreover, the expectation of the difference between this distance and n/2 for input vectors generated at random according to a uniform probability distribution over the set {O,l}n is proportional torn, as it follows from our numerical results. For an integer s ::,.0, let C(s) denote the set of binary vectors of length n containing s runs. We also denote the set of balanced vectors by IJ ~ { xl E {O,I}" . wL(x') = n/2 }. In our construction C = C(O) U C(i) U C(2), and I C I < n2. A sub-optimum procedure presented below specifies the reference vector c E C by a triple (i, t, Bit), where i E {O,... ,n - I}, t E {I, ... ,n -I}, Bit E {O,I}. The total number of triples is equal to 2n( n - 1) < 2n 2, anc! not all of them are used. (El) Given a vector x = (Xl, ... ,x find an i E {O, ... ,n - I} such that x is trans- l1.), formed to a balanced vector x' = (x~, ,x~) E B by the inversion of the first i componenis, i.e., xj = Xj EBI, if jE {1, , i} and xj = Xj, if jE {i + 1, ... , rz}. (E2) Foralle=l, ... ,n-l,let (8) where x~ = (x~, ... ,x~), denotes the difference between the number of 1's and the number of 0 's in the prefix oJ length .e of the vector x'. Let Top ~ max 1.0.(x~)I (9) 1-<:e-<:n-1 Find an arbitrary t E {1, ... ,n - I} such that 1.0.(x~)I = Top and set Bit = X{ .0.(~) > O}. Store Hash(x) = (i, t, Bit; Top) in the DB. 8 The (El) step of the encoding procedure is always successful by Cauchy-type ar- gument [2]. Namely, let x(f) = (x\e), ... ,x~f)) be the vector whose prefix of length e is the inverted prefix of the vector x and the suffix coincides with the suffix of x, i.e., ) 1 JE) {I ... ) (.D} ancI xj (e) -- xJ. ) 1if J E {D<. + 1,... , n.} Tl'le sequence xj(e) -_ xJ . EB l'f' . 0f pairs (0, wt(x(O))) = (0, wt(x)), ... , (n, wt(x(n))) = (n, n - wt(x)) specifies a path on the plane having increments ±1. Hence, there exists at least one index i such that the path reaches the level n/2. In other words, I(x) ~ {i E {O, ... ,n -I} : wt(x(i)) = n/2 } (10) is a non-empty set, and the vector x' constructed at (El) is one of its entries. The (E2) step of the encoding procedure can be represented as encoding of the given balanced vector x' by one of the closest codewords belonging to the set C(l), and the optimality claim can be easily checked. Notice that the set I(x) can specify more than one vector, and the values of pa- rameter Top constructed at (E2) can be different depending on the selection of x', Therefore, to improve the performance, the (El)-(E2) procedure has to be modified and presented as the algorithm below. (E) Construct the set I(x) defined in (10). Choose a vector x' E I(x) maximizing the value of parameter Top defined in (8), (9). Denote the corresponding quadrupte (i, t, Bit; Top) by Hash(x) and store it in the DB. The decoding procedure is as follows. (D) Construct the codeword Cl = (c~, ... ,<,), where cj = Bit, 'if) E {1, ... ,t} and cj = Bit EB 1, if) E {t + 1, ... , n} and the reference vector c = (Cl, ... , cn), where Cj = cj EB 1, if) E {I, ... , i} and Cj = cj, ~f) E {i + 1, ... , nl. Set the distance between the reference vector and the input vector equal to d(xIC) = n/2 - Top (one can easily see that equality (2) is satisfied for cm(xIC) = c). The encoding and the decoding procedures are illustrated below where we show two possible balanced vectors that can be obtained from the source vector x of length n = 12, x 1 1 0 1 1 1 1 0 0 1 0 1 X(2) 0 0 0 1 1 1 1 0 0 1 0 1 i=2 C 1 1 0 1 1 1 1 1 1 1 1 1 t = 3, Top = 3 X(4) 0 0 1 0 1 1 1 0 0 1 0 1 i=4 C 1 1 0 0 1 1 1 1 1 1 1 1 t = 2, Top = 2 6 Evaluation of the performance of the authentica- tion algorithm Finding the probability distribution "t« = (Pr{ Top(X;J = T}, T = 1,2, ... ) is a known combinatorial problem, which has the analytic solution [3], [4]. We illustrate this distribution in Figure 4. Some results are also included below, where Tbn) denotes the expectation, and H ('Yn) denotes the binary entropy, logn 7 14 Tbn)lvn .826 .865 Hbn)/logn .500726 .500092 9 Figure 4: The probability distribution "In for ti = 8192. Table 2: Some values of the upper bound on the false acceptance rate when the false rejection rate is equal to 0.1. logn 7 8 9 10 11 12 13 14 k 21 24 27 30 33 36 39 42 lnc5J 1 2 5 10 20 40 81 163 FAR .115 .100 .098 .087 .084 .080 .078 .076 In Table 2 we show some results on the FRR and FAR functions when the input vectors are chosen according to a uniform probability distribution over the set of bal- anced vectors and the decision sets are constructed by specifying the parameter (3*, like in Section 3. The uniform probability distribution can be tilted to maximize the function Top by choosing a proper value of parameter 'i, and the obtained values serve as upper bounds on the false acceptance rate. 7 Conclusion We presented an authentication algorithm under several constraints that simplified considerations. First of all, the construction of a code can be iterated in a sense that after the value of parameter t is found, the input vector is split into two vectors having lengths tand ri - t. The same procedure can be used for any of these vectors, and the new value of the hash function is concatenated with the value constructed at the first step. Notice that, if Top' is obtained at the second step, then Top' 2': Top/2. Therefore, the value of the Top reached at the first step can be also used to estimate the distance between the input vector and a new reference vector. References [1] R. M. Bolle, J. H. Connell, S. Pankanti, N. K. Ratha, A. W. Senior, Guide to Biometrics. New York: Springer, 2004. [2] D. E. Knuth, "Efficient balanced codes," IEEE Trans. Inform. Theory, vol. 32, no. 1, pp. 51-53, 1986. [3] M. Filaseta, "A new method for solving a class of ballot problems", J. Combinato- rial Th eor-y, Ser. A, vol. 39, pp. 102-111, 1985. [4] R. Rietman and L. Tolhuizen, "Counting paths between two barriers", Preprint, 2008. to Optimal Likelihood-Ratio Based Biometrie Score Fusion Qian Tao Raymond Veldhuis University of Twente University of Twente Fac. EEMCS, Signals and Systems Group Fac. EEMCS, Signals and Systems Group Hogekamp Building, 7522 NB Enschede Hogekamp Building, 7522 NB Enschede The Netherlands The Netberlands q.tao@ewi.utwente.nl r.n.j.veldhuis@ewi.utwente.nl Abstract Likelihood ratio (LLR) is the thcoretically optimal staristic for classification in the Neyrnan-Pearson sense. If the likelihood ratios of two or more statistically independent biometrie scores can be computed, the optimal fusion of multiple biometrics at score level is achieved. This paper presents a novel way of computing the likelihood ratios from the receiver operating characteristics (ROC) of the component biometrics. The advantage of the proposed method is that it maps the matching score directly to its LLR value, while avoiding the complicated and often inaccurate estimate of the genuine and impostor probability density functions. We demonstrate by experiments that the proposed method is very simple, flexible, and robust, suitable for any score distributions. 1 Introduetion Biometrie fusion is a popular way to increase the reliability of the biometrie systems by combining the information of multiple classifiers. Generally speaking, fusion can be done at four different levels: sensor (raw biometrie data) level, feature level, matching score level, and decision level, among which the score level fusion is the most popular [9], offering the best tradeoff between information content and ease of fusion. In this paper, we concentrate on the score-level fusion of biometrics. There are three types of fusion schemes at this level [9]. The first type of fusion scheme is transformation- based. Firstly all the component matching scores are transformed (or normalized) so that they are on a comparable scale. Then simple scalar functions are applied on the transformed matching scores, resulting in a new matching score. Examples are product, sum, mean, max, etc. [6]. It can be proved that under certain ideal situations, for example, taking the product of independent likelihood ratios, can achieve the optimal performance in the Neyrnan-Pearson sense. The second type of fusion scheme is density-based. It relies on the estimation of the joint densities of the matching scores, and the fusion is done by statistical tests, such as the likelihood ratio (LLR) test [2, 5] according to the user score and imposter score distributions. This type of fusion scheme achieves good performance if tbe densities could be learnt well, given that a large number of representative training matching scores are available. The third type of fusion scheme is classifier-based. It concatenates the component matching scores as a new feature vector, and train additional classifiers on them. Examples are neural networks [13], support vector machines [10], decision trees [7]. This type of fusion needs to train an extra classifier, therefore the performance is dependent on the specific training set of matching scores. The proposed optimal LLR based fusion fits into all the three types listed above. It is transformation-based because the way to derive the likelihood ratio from the score can be seen as a well-designed transformation. It is density-based because the resulting likelihood ratio is closely related to density. It is classifier-based because the likelihood ratio of the score is an optimal statistic for score classification in the Neyman-Pearson sense [11]. The 11 biggest advantage of the proposed method over the methods in literature, however, is that it is statistically optimal as the density-based approaches, whereas it avoids the often inaccurate estimation of the genuine and impostor score probability density functions. Instead, we directly map the matching score to its LLR value. The complexity, difficulty, and inaccuracy involved for density estimation are thus avoided, while the robustness and flexibility are gained because of the mapping strategies we use. This paper is organized as follows. Section 2 introduces the optimal likelihood-ratio based fusion theory and the detailed approach in implementation. Section 4 gives exper- imental results of the proposed methods, and compares them with other fusion methods. Section 5 draws the conclusion. 2 Optimal Likelihood Ratio Based Fusion Theory 2.1 LLR and ROe The receiver operation characteristics (ROC) is a common measure of the classification per- formance. It is computed from a set of genuine and imposter matching scores. Let the matching score be denoted by s, an identity claim is accepted as genuine, if s >t (1) with t an application-defined threshold. The false-accept rate o:(t) is defined by o:(t) = 1= in is estimated from evaluation data at sufficiently many points so that a reliable estimate of its derivative (4) can be computed, the 12 90 t=O °OL-~~--'~O--~M--~80~~'00 Falseacceptraleo.(%) Figure I: ROe of the simulated scores. The example operation points related to different thresholds t and the derivative at the points are also shown. log-likelhood ratio of the matching score s can be computed by (5) without first estimating r/Jg(u) and rP;(u). Note that (5) is a mapping from the matching score to log-likelihood ratio. This mapping is monotonically increasing if Pd is a concave function of a. If a monotonically increasing function is required, then the estimated ROe should be approximated by a concave function prior to the computation of (5). 2.2 LLR-Based Fusion Let i1 (s 1) and i2 (S2) denote the log-likel ihood ratios of statistically independent comparison scores S1 and S2, respectively. The log likelihood ratio of the fused biometrie s = [S1 S2] is then given by i( s) (6) Notice that (6) can be seen as a normalized sum rule, with l i (si) and i2(S2) the normalization functions. The independency assumption is in many cases satisfied, especially when biometrics of different modalities (e.g. image, sound, and signature) are fused. In most cases when this assumption is not strictly satisfied, the LLR-based fusion in (6) still yields nearly optimal performance. This is similar to the Naive Bayes problem [4], which also assumes inde- pendency between different features, but whose optimality in dependency cases has been acknowledged in a wide range of applications [14][3]. 3 Estimation by Fitting The theory of estimating the LLR, as introduced in Section 2.1, is clear from the mathematics point of view. In practice, however, care must be taken in calculating the mapping i(s). The reason is as follows. Firstly, instead of a smooth function, the ROe is a set of discrete 13 95· -ROCwrve o d!scre!eoperatlonpolol • neighbo.hoodpolols - .. -fittingpolynomial 1=0.02 75 70!:-0 -----0---"---,'::--0 ----c:"----:O:------:!25· Falseacceplralea(%) Figure 2: The way to calculate the derivative at an operation point by fitting within its neigh- borhood. In this example, a second order polynomial function is adopted. o estlmated pclnts -5 -fittingcuTVI! scope of filtlng o -I;;!:------:--_-:-, ---:----:----0---: (a) (b) Figure 3: (a) Parametrie fitting of the mapping l(3), with the fitting scope shown. Note that outside the scope, the function is linear. (b) Illustration of the fitting scope with respect to the score distribution functions. points empirically derived from the training matching scores, and possibly contains noise; secondly, taking the derivative of the ROC tends to amplify the noise already exists. To overcome this problem, we use a smooth fitting method for estimating the [(8) in a simple and robust manner. The first problem is how to estimate the LLR for a certain 8 = t on the ROC. This can of course be done by calculating the derivative in a discrete way, but we choose to make this estimation more robust by first fitting a smooth (continuously derivable) function in the neighborhood of this operation point, and then calculating the derivative of the function at the point. Fig. 2 illustrates the method in a small region of the ROe in Fig. I. The derivative at the center operation point is estimated by first fitting with a second order polynomial, and then take its derivative. Now that the LLR at a certain 8 is obtained, the remaining problem is how to estimate the continuous mapping [(3). As we can obtain the LLR at any 8, an obvious way is to cal- culate the mapping using the above mentioned method at every 8 with sufficiently fine scale, constituting a look-up dictionary. This method, however, is not only calculation-insensitive, but also noise-sensitive as the estimation of a point is local to its neighborhood on the ROe. Besides, the derivative of the ROe becomes very inaccurate at extremely small or large thresholds, because there are not enough samples to reliably calculate the ROC operation points at the tail of distribution. We again use the parametrie fitting method to estimate the mapping of l(8). Fig. 3 (a) illustrates the parametrie fitting of the mapping l(8). The discrete points 14 are estimated from the ROC derivatives using the aforementioned method. To exclude the unreliable points at extremes, we restrict the fitting scope to be within a reasonable range of 5, defined by Cl:( 5) < 1 - é and Pel(5) > ç, where é and ç are small quantities. For example, when we have NI positive scores and N negative scores, é can be set at -i& and ç at tt, because the Cl: and Pelestimated with less than 3 samples are considered unreliable. It can be observed from Fig. 3 (b) that the fitting scope is the region where the genuine and impostor score overlap. Actually, outside this scope, the LLR becomes not critical, or in other words, classification can be very reliably done for very large or very small matching scores. As l(5) is monotonic increasing, we fit outside this scope with a linear function adapting the slope at the ends of polynomials. Thefitting within the scope is done by a polynomial function with the minimum square error criterion. By using such parametrie fitting, the LLR of any 5 can be easily calculated from a small number of parameters. The minimum square error criterion, furthermore, makes the estimation robust because it optimizes on the global fitting scope. We have observed that most often 2-4 polynomial functions are sufficient to represent the flexibility of the l (5) func- tion. In the example shown above with two gaussian distributions of identical covariances, the l(5) function can be proved to be linear, i.e. with the order of 1. The parametrie fitting, therefore, is very suitable to account for the degree of freedom of such a function. In our work, we fit the points with polynomials starting from the order of 2, and increase the order of the polynomial function if it cannot accommodate the flexility of the points (i.e. the relative square error is too large). High order polynomials, however, have the risk of overfitting by introducing too much curvatures. To maintain robustness and at the same time guarantee flexibility, we also propose to use piecewise polynomial fitting, which fits the function with piecewise "smooth" low-order polynomials, where "smooth" means continuity of the value as well as derivatives within the fitting scope. In this way the local smoothness and global flexibility of the curve are satisfied simultaneously. Examples will follow in the next section. 4 Experiments and Results With the proposed optimal LLR based fusion, we combine the two-dimensional face texture and three-dimensional face shape information. The context of this work is EU FP6 3D- face project [1] which aims to combine two face modalities as a secure biometrie for EU passports. The database that the algorithms are developed on is the FRGC database [l2] which contains both 2D texture and 3D shape data. For either modality, the matching scores are derived by three algorithms, developed by the Cognitec Systems GmbH (COG), L-I Identity Solutions (Ll), and University of Twente (UTW), respectively. The database contains data of 465 subjects and has in total 4,007 samples, with 2D texture data and 3D shape data collected simultaneously. The classifiers which produce the matching scores are trained on 309 subjects in the database. To train fusion, another 100 subjects are taken to obtain the matching scores from the trained classifier, resulting in 25,520 genuine scores and 2,568,190 impostor scores (fusion training data). The remaining 56 subjects are used for evaluation, resulting in 12,270 genuine scores and 700,910 impostor scores (fusion testing data). In all the following experiments, we train the mapping by the fusion training data, and evaluate on the fusion testing data. For comparison, we also implemented the simple and effective Z-normalization [8] for score normalization before summation, as expressed by Z(5) = 5 - I·l (7) Ui where 5 is the original matching score, Ze) is the transformation function, li and Ui are the mean and variance parameters learned from the training genuine or impostor score set. 15 -"rz"'~1'I~'" '" " ~ '": I~:::::;:,:~I ~ .~~", _lA_ 0_. -0,'" .0.0 ~ (a) ~,l -<1.>5 -0.1 .O.~ - " ~:'" I~~;:;-·::-I ~ ·'a•• _," ..... 0,.. 00." 0.5 (b) 0;' 0". 0,," . 051 D. (c) (d) Figure 4: (a) Mapping 1(5) ofthe first score using piecewise polynomial; (b) Mapping 1(5) of the second score using piecewise polynomial; (c) Score distribution and the decision bound- aries; (d) Roe comparison. (a) (b) (c) (d) Figure 5: (a) Mapping 1(5) of the first score using piecewise polynomial; (b) Mapping 1(5) of the second score using piecewise polynomial; (c) Score distribution and the decision bound- aries; (d) Roe comparison. (a) (b) (c) (d) Figure 6: (a) Mapping 1(5) ofthe first score using piecewise polynomial; (b) Mapping l(s) of the second score using piecewise polynomial; (c) Score distribution and the decision bound- aries; (d) Roe comparison. 16 Other normalization techniques like Min-max-normalization and Tanh-normalization [8] have also been tried and yielded similar results. For simplicity of figures, we only show the Z-normalization results. Depending on different situations, the normalization by the genuine score and by the impostor score might have different performance. In the following experi- ments, we try both normalization methods and compare the best with our proposed method. We show the experimental results using polynomial fitting. The piecewise polynomial fitting yields equally good results. Fig. 4, Fig. 5, and Fig. 6 give three representative examples of the 20 texture and 3D shape fusion. As can be observed, our proposed method consistently outperforms the best of the two Z-normalization methods, especially in Fig. 5 and Fig. 6 when the distribution are difficult to describe using simple probability density functions. 5 Conclusions In this paper we proposed an optimal likelihood-ratio based fusion method of biornetric scores. The biggest merit of our method is that the solution is statistically optimal, but the complicated, and often inaccurate, estimate of the genuine and impostor score probability density functions are avoided. Instead of calculating the LLR from the two estimated densi- ties, we map the matching score 8 directly to the LLR via the ROC. The fitting strategies of the function 1(8) make the mapping very robust to possible noise or outliers in the training scores, and flexible to any type of matching score distribution. Another merit of the proposed method is that the calculation involved is simple and fast. Experiments demonstrate that the proposed method is very suitable for a large range of biometrie score fusion problems. References [1] 3D Face. 3D Face biometrie research. http://www . 3dface . org /,2006. [2] Sarat C. Dass, Karthik Nandakumar, and Anil K. lain. A principled approach to score level fusion in multimodal biometrie systems. Jn Audio- and Video-Based Biometrie Person Authentication, pages 1049-1058,2005. [3] P. Domirtgos and M. Pazzani. Beyond independence: Conditions for the optimality of the simple bayesian classifier. In 13th Internat. Conf. on Machine Learning, 1996. [4] R. O. Duda, P. E. Hart, and D. G. Stork. Pattern Classification (2nd ed.). John Wiley and Sons, New York, 200 I. [5] A. K. Jain, K. Nandakumar, and A. Ross. Score normalization in multimodal biometrie systems. Pattern Recognition, 38( 12):2270-2285,2005. [6] J. Kittler, M. Hatef, R. Duin, and I. Matas. On combining classifiers. IEEE Transac- tions on Pattern Analysis and Machine Intelligence, 20(3):226-239, 1998. [7] A. Ross and A. lain. Information fusion in biometrics. Pattern Recognition Letters, 24(13),2003. [8] A. Ross, K. Nandakumar, and A. lain. Handbook of Multibiomtrics. Springer Publish- ers,2006. [9] Arun A. Ross, Karthik Nandakumar, and Anil K. lain. Handbook of Multibiometrics (International Series on Biometrics). Springer-Verlag New York, Inc., Secaucus, NI, USA,2006. 17 -a::.." .~ ~""'f· [10] C. Sanderson and K. Paliwal. Information fusion and person verification using speech and face information. Technical report, IDIAP, Switzerland, September 2002. [11] H.L. Van Trees. Detectioin, Estimation, and Modulation Theory. John Wiley and Sons, New York, 1969. [12] FRGC. FRGCfacedatabase. http://face.nist.gov/frgc/. [13] Y. Wang, T. Tan, and Anil K. Jain. Combining face and iris biometrics for identity verification. In Fourth International Conference on AVBPA, pages 805-813, 2003. [14] H. Zhang. The optimality of naive bayes. In 17th Internat. FLAIRS Conf., 2004. 18 Performance of Additive Block Coding Schemes Oriented to Biometrie Authentication Vladimir B. Balakirsky Anahit R. Ghazaryan A. J. Han Vinck Institute for Experimental Mathematics, 45326 Essen, Germany v . b. balaki rsky@rambler.ru, a_ghazaryan@rambler.ru, vincksäiem.uni-due.de Abstract The biometrie authentication is represented as a procedure that is based on the decoding of a pair of vectors at the output of parallel channels when a binary block code is used to deliver a message to the destination. An attacker and a conventiona.lJuels-Wattenberg verifier can be viewed as decoders having access to the first and to the second line of the channel, respectively. We demonstrate an improvement in the performance of the verifier for the case when biometrie data come from the DNA measurements and the verifier controls the number of allele drop-in and drop-out errors. 1 An additive block coding scheme Let b E {O,I}" be a vector associated with some person and called the biometrie vector. Because of secrecy constraints, the biometrie vector has to be stored in the DB in such a way that it can be hardly discovered by an attacker. Nevertheless, the stored information should be sufficient to solve the authentication problem: having received a vector bi E {O,l }" and the claim about the identity, the verifier has to accept or reject the claim. We will assume that bi = b EEle, where EEldenotes the bit-wise addition modulo 2 and call e E {O,I}" the observation noise. A possible solution to the storing and the verification problems is based on a block cypher scheme. In this case, a secret vector x E {O,I}" is generated, and this vector is added to the vector b at the enrollment stage. The same vector is also added to thp vector bi at the verification stage, and the Hamming weight of the vector (x EEl b) EEl bi) = b EEl (x EEl bi = e is then compared with the threshold. The feature of the block cypher scheme is the point that the secret vector x has to be known to the verifier. An additive block coding scheme can be considered as an extension of the block cypher scheme where only the value of the so-called "one-way" hash function Hash(x) is available to the verifier. The scheme treats the vector b as additive noise that cor- rupts information about the key rn, which is randomly chosen from the set {I, ... , NI} according to a uniform probability distribution (PD). The key is transformed to the key codeword x(m) E C, where C is a binary block code of length n for M messages (the rate of the code is equal to (log M)/n), and the vector y = x(m) EEl b is stored in the DB under the name of the person. In the following considerations we assume that m ......x(rn) is a one-to-one mapping and write x = x(m). If xE C is the key codeword decoded on the basis of the pair of vectors (y, bi), one can check whether the value of lThis work was partially supported by the DFG. 19 Hash(x) xEC YIN b Figure 1: Verification of a person using an additive block coding scheme. Hash(x), delivered from an auxiliary storage, is equal to Hashtx) or not. The claimed identity of a person is then either accepted or rejected. Verification of a person using an additive block coding scheme is illustrated in Figure 1. A conventional approach to solvine; the authentication problem by using an additive block coding scheme was proposed in l2]. The algorithm is known as the JW algorithm, and it is based on the observation: y=xEBb } bi = b EBe =? x EBe = z, where z = y EBb'. The JW decoder tries to recover the key codeword from the received vector yffi bi using error-correcting capabilities of a code. In particular, any l(de -1) J 12 errors, where de is the minimum distance of the code G, WIll be corrected. Our contribution can be summarized as follows. We represent the verification prob- lem as a problem of decoding the key codeword at the output of two parallel channels where the transmitted codeword is given to the decoder under the biometrie noise and the observation noise. As a result, the performance of the verification scheme can be improved as compared to the JW decoding. We present general formulas for the probability of correct decoding and dernonsl.rat.e this improvement for the ease when biometrie vectors are obtained from the DNA measurements, while the observation noise comes from a binary symmetric channel. An algorithm of using binary codes for real measurements is also presented. 2 Verification of a person as result of the decoding at the output of parallel channels Notice that the verification scheme in Figure 1 can be represented as transmission of the key codeword x over two parallel channels, because Y XEBb} =? {XEBb = y, bi b EBe x EBe = z. 20 C Xbio E C xEC Xbio.err E C Xerr E C Figure 2: Representation of the additive block coding as a scheme where a key codeword x is received under the biometrie noise b and the observation noise e. Thus, we say that the verifier receives a pair of vectors (x ffi b, x ffi e) (see Figure 2), while the attacker receives only the first component and the JW decoder analyzes only the second component of that pair. The transformations x ---> y and x ---> Z will be interpreted as transmissions of the key codeword over the biometrie and the observation channels, respectively. We will assume that a particular binary vector b is chosen as the biometrie vector according to the PD and that a partienlar binary vector e is chosen as the observation noise vector according to the PD (r.~{ E = e }, e E {O, i}" ) . General considerations will be illustrated for a memoryless model, pr{B=b}=rr" pr{Bt=bt;}, pr{E=e}=rr" pr{Et=et}, (1) blo bio err err t=i t=1 where 1 ~ Pt, if b, = 0, p.{ E _ et } -_ { 1 ~ E, if et = 0, if et = 1 (2) Pt, if b, = 1 er~ t - E, and PI, ... ,Pn, E E (0,1/2) are given. Thus, the transformations x ---> y and x ---> z are transmissions of the key codeword over a non-stationary binary symmetric channel specified by the vector of crossover probabilities p = (Pi' ... ' Pn) and a binary sym- metric channel specified by the crossover probability E. These channels will be denoted by BSC(p) and BSC(E), respectively. 21 Let Xbio, Xerr' and Xbto.err denote results of the decoding when the vectors y, z, and the pair of vector (y, z) are available. One can easily check that the maximum probabilities of correct decoding are attained by the maximum a posteriori probability decoding rules, i.e., when pr{B bio = Xbio EB y} maxpr{B xEC bio = X EBY}' pr{E = Xerr EBz} max PI' {E = EBz} , X err xEC err pr{B = Xbio,err EBY} pr{E = Xbio,err EBz} ~tcx[ E;{ B = EBY } ~~.{ E = EBz}] . X X bic err Then the probabilities that the decoded codewords coincide with the transmitted key codewords can be expressed as lVJ ,11L , max Pr {B = EBY} , xEC blo X y ~L NI maxpr{E = EBz}' xEC err X z Abio,err iVj '~1 '" ~ max[pr{B xEC bio = X EBY} pr{E err = X EBz}]. Y,z 3 Structure of the DNA data and rnat.hernat.ical model for the measurements The most common DNA variations used for identification of individuals are Short Tandem Repeats (STR): arrays of 5 to 50 copies (repeats) of the same pattern (the motif) of 2 to 6 pairs. As the number of repeats of the motif highly varies among individuals, it can be effectively used for the identification purposes. The human genome contains several 100,000 STR loci, i.e., physical positions in the DNA sequence where an STR is present. An individual variant of an STR is called allele. Alleles are denoted by the number of repeats of the motif. The genotype of a locus comprises both the maternal and the paternal allele. However, without additional information, one cannot determine which allele resides on the paternalor the maternal chromosome, i.e., the t-th allele combinations (/t,1>It,2) and (/t,2,It,l) are indistinguishable. Therefore, genotypes are denoted by the allele numbers in the ascending order, i.e., as (ft, JIJ, where It = min{It,l,It,2} and Jt = ma..,x{It,l,It,2}' If ft. I = It,2, then the genotype is called homozygous and if It 1 i= It,2, then the genotype is called heterozygous. The range of possible genotypes differs from one STR locus to another. Typically, there are 10-20 different alleles known per locus. For a given set of loci, the combined genotypes at this loci are called an STR profile. In the example processed in the BioKey-STR project [3], [4], the templates were constructed from STR profiles comprising the t = 1, ... , ti = 28 loci. STR measurement errors are usually classified into three groups. l. Allelic drop-out: an allele of a heterozygous genotype is missing, e.g. genotype (7,9) is measured as (7,7). 2. Allelic drop-in: in a homozygous genotype, an additional allele is erroneously included, e.g. genotype (10,10) is measured as (10,12). 22 3. Allelic shift: an allele is measured with a wrong repeat number, e.g. genotype (10,12) is measured as (10,13). The first two types of errors are the most dangerous ones in a sense that their proba- bilities are several times greater than the probability of error of the third type. Let us consider ri sources where the t-th source generates a pair of integers according to the PD !~ {(It,t,Id = (it,i2)} = Wt(il)Wt(i2), ( Wt( i), i E {Ct, ... , Ct + kt - I} ) is a given PD. Then the probabilities that the genotype is heterozygous and homozygous can be expressed as (!~ {It =I Jt }, ~I~ { It = Jt } ) = ( 1- Pt, Pt ), where Ct+kt-l Pt ~ L w;(i), t = 1, ... ,n. (3) i=Ct An additive block coding scheme is oriented to the correction of certain types of errors. To correct the allelic drop-out/drop-in errors, we need a scheme where a binary key codeword is corrupted with the biometrie noise whose t-th component is equal to B, = x{It = Jd, t = 1, ... , n. Thus, to describe the biometrie noise, we substitute the values of Pt, ... ,Pn (see (3)) in (2). The use of this additive block coding scheme can be viewed as a part of the authentication procedure, i.e., the presented data are investi- gated further only if the value of the hash function for the decoded codeword coincides with the value of the hash function for the transmitted key codeword. An example of the further investigation is a mapping of components It,· .. , In and Ji ; ... , Jn of the received vector of pairs ((It, Jd, ... , (Ir" J11.)) to L binary vectors, hl, ... , bz E {O, I} 11.. The £-th vector is used as the noise vector, which is added to the e-th key codeword Xe, and these operations are independently repeated for all £ = 1, ... ,L. The values of the hash function for the decoded key codewords are compared with the corresponding values of Hashfxj ); ... , Hashfx..), and the claimed identity of a person is accepted if all the tests bring the coincidence. Another investigation algorithm proposed in [3], [4] is based on the use of Reed-Solomon codes over GF(64) when all received integers form the noise vector, which is added to the 64-ary key codeword modulo 64. In the present correspondence, we concentrate on the I-st step of the authentication procedure and consider the setup described above, namely, let ti = 28 and let the vector of crossover probabilities in the increasing order be equal to p = (0.06,0.11,0.12,0.13,0.15,6 x 0.19,2 x 0.20, 2 x 0.22, 0.25, 0.26, 0.28, 0.30, 2 x 0.31, 0.33, 2 x 0.34, 0.37, 0.40, 0.47, 0.50), where 6 x 0.19 denotes the string 0.19, ... ,0.19 (6 times), etc. 4 Influence of the know ledge of biometrie measure- ments on the performance of the verifier 4.1 "Capacities" of the channels Let us consider the probabilistic ensemble ((X, B, E); pr{X mp = x} pr{B bio = h} pr{E err = e}, x, b, e E {O, 1}11.) 23 Table 1: Characteristics of the biometrie channel constructed using the DNA measure- ments relative to the characteristics of the observation channel. E= 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.10 Cerr = 0.92 0.86 0.81 0.76 0.71 0.67 0.63 0.60 0.56 0.53 Cbio/Cerr = 0.25 0.27 0.29 0.30 0.32 0.34 0.36 0.39 0.41 0.43 Cbio,err/Cen= 1.01 1.02 1.04 1.05 1.07 1.08 l.l0 l.l2 l.l4 l.l7 E/i l.l8 1.21 1.23 1.26 1.27 1.29 1.31 1.32 1.34 1.35 E/E3 3.03 3.06 3.08 3.10 3.12 3.15 3.17 3.19 3.22 3.25 E/E5 2.62 2.63 2.65 2.67 2.69 2.71 2.73 2.75 2.77 2.79 E/E7 2.30 2.31 2.32 2.34 2.35 2.37 2.38 2.40 2.42 2.43 E/E9 2.13 2.14 2.15 2.16 2.18 2.19 2.20 2.22 2.23 2.25 E/f: = 1.45 1.45 1.46 1.46 1.47 1.48 1.48 1.49 1.49 1.50 with the uniform input PD, where PD's of the biometrie and the observation noise are defined in (1), (2). Let I(-;·) denote the mutual information function computed over this ensemble. Then 6 Cbio= I(X; X EBB), c.; =6 I(X; X EBE), 6 Cbio,err= I(X; X EBB, X EBE) are capacities of the biometrie channel, the observation channel, and the parallel chan- nels in the following sense. Suppose that there are 'T independently generated biometrie vectors, observation noise vectors, and keys. The l\II-ary vector of keys of length T is encoded using a code of length Tn, and the decoders construct estimates of this vec- tor. If the code rate is less than the corresponding capacity, then the decoding error probabilities tends to 0, as T --+ 00. Although such a characterization does not seem to be very important for a specific non-repeated experiment, the values of the ca- pacities give orientation in the influence of parameters that determine channels under considerations. Therefore we notice that where Pt * E = (1 - Pt)E + Pt(1- E) and C(p) = 1 + (1 - p) 10g(1 - p) + plogp for all pE (0,1/2), and present some numerical results in Table 1, where i is the solution to the equation C(i) + t t=1 C(Pt) - C(Pt n * t) = C(E). By inspecting these results, we conclude that the equivalent crossover probability for the parallel channels is less than the crossover probability of the observation channel by 1.18 if E = 0.01 and by 1.35 if E = 0.1. The evaluation of the decoding error probability of the verifier for a specific experiment presented in the next subsection brings a conclusion that this improvement is much higher. 4.2 The decoding error probability Given a code C, let Perr(x) and Pbio,en·(x)denote the probabilities of decoding error of the JW decoder and the verifier in the scheme given in Figure 2 when x is the 24 transmitted key codeword. These probabilities can be estimated using union bounds: ~ Pr( {x, XI}), Z:: err x'EC\{x} L Pr ({x,x/}), blo.err x'EC\{x} where the terms at the right-hand sides are the probabilities of decoding error for the code consisting of two codewords, {x and x'}, which is used to transmit data over a BSC(p) and a BSC(E), respectively, i.e., Pr( {x, Xl}) err /', ~ ~ pr{E err = e}, eE£(x,x') Pr ({x,x/}) c: L pr{B bio = b} pr{E = e}, blo.err err (b,e)EB£(x,x') where E(x, x") c: {e: pr{E err = e} < pr{E err = e EBxEB XI}}, BE(x, Xl) o: {(b, e) : ~dB = b} f.~.{E e} = < Pr bio {B = b EBx EBXl} Pr {E = e EBx EBXl} }.err Let wt(x EBx") = d. Then, as one can easily see, Pr( {x, Xl}) < ((J,:)d, (4) err Pr ({x,x/}) blo.err < ((JE) d IT o.; (5) I,: Xti=x~ where (Jp = 2 J(1 - p)p for all pE (0,1/2). Furthermore, the minimum product at the right-hand side of (5) is equal to Pl ..... v«, because P1 ::; P2 ::; ... ::; Pn· We define Eel by the equation el lid (JE" = (JE [ IT Pt ] 1=1 and show some numerical results in Table 1. Thus, the use of biometrie observations can essentially improve the reliability while choosing between codewords x and x' (for example, if E = 0.05, then the equivalent crossover probability of a binary symmetric channel is decreased by a factor 3.12 for d = 3 and by a factor 2.18 for d = 9. Another evaluation of the probability Pbio,err( {x, Xl}) in a general form can be con- structed as follows. Suppose that the encoder randomizes over positions where the generated biometrie vector corrupts the key codeword, i.e., the z-th component of the vector stored in the DB is formed as Xt(m) EBb7l"tl where (7r1, ... , 7rn) is a permutation of components of the vector (1, ... , n). Then, as one can see, the expectation of the 25 probability Pbio,err( {x, x'}) over the ensemble of n! permutations under a uniform PD can be bounded from above as where _ I:; a; = lr!!~n [ (n) LIT d -I {3p, ] I/cl - - T LET and the sum is taken over all d-element subsets T ç {1, ... , n}. We define E: as the solution to the equation e; = {3e7Jp and show some numerical results in Table l. For example, the equivalent crossover probability E is less than E by a factor l.47 when E = 0.05. 5 Conclusion Our considerations are based on the representation of the verification procedure as the decoding of vectors at the output of two parallel channels (see Figure 2). For an example of a data transmission system with the DNA measurements, the verifier can attain characteristics depending on the pair (E, p), while the JW decoder takes into account only the value of E, and an attacker takes into account only the vector p. The first case is clearly better, and we demonstrated the advantages using the union bound on the decoding error probability. References [1] R. M. Bolle, J. H. Connell, S. Pankanti, N. K. Ratha, A. W. Senior, Guide to Biometrics. New York: Springer, 2004. [2] A. Juels and M. Wattenberg, "A fuzzy cornrniuuent scheme," Proc. ACM Con]. Computer and Communicatiori Security, 1999. [3] U. Korte, M. Krawczak, J. Merkle, R. Plaga, M. Niesing, C. Tiemann, A. J. Han Vinek, U. Martini, "A cryptographic biometrie authentication system based on genetic fingerprints (Extended version)". Available at www.bsi.dejbiokeys.pdf [4] U. Korte, M. Krawczak, J. Merkle, R. Plaga, M. Niesing, C. Tiernann, A. J. IIan Vinek, U. Martini, "A cryptographic biometrie authentication system based on genetic fingerprints". To be published in Sicherheit-2008. 26 Eigenvalue correction results in face recognition Arme Hendrikse Raymond Veldhuis Luuk Spreeuwers University of Twente Fac. EEMCS, Signals and Systems Group Hogekamp Building, 7522 NB Enschede, The Netherlands a.j.hendrikse©utwente.nl Asker Bazen Uniqkey Biometrics The Netherlands a.m.bazen©uniqkey.com Abstract Eigenvalues of sample covariance matrices are often used in biometrics. It has been known for several decades that even though the sample covariance matrix is an unbiased estimate of the real covariance matrix [3J, the eigenvalues of the sample covariance matrix are biased estimates of the real eigenvalues [6J. This bias is particularly dominant when the number of samples used for estimation is in the same order as the number of dimensions, as is often the case in biometrics. We investigate the effects of this bias on error rates in verification experiments and show that eigenvalue correction can improve recognition performance. 1 Introduction In biometrics the objective is to automate decisions about peoples identities based on measurable physiological characteristics, e.g. characteristics of the face. Covariance matrices are used to describe relations between these characteristics and relations be- tween the identity of people and their characteristics. Using a Principle Component Analysis (PCA) and Linear Discriminant Analysis (LDA), which make extensive use of these covariance matrices, we construct a system which can verify identity claims using photo's of the face. However, the required covariance matrices are not available on forehand and need to be estimate from examples. One estimator is the sample covariance matrix given by: t= _I_X.XT (1) iV-I where X is a matrix with zero mean data. Each of the N columns of X contains a sample. Any covariance matrix can be decomposed into eigenvector and eigenvalues according to (2) where the columns of orthonormal matrix contain the eigenvectors and their corre- sponding eigenvalues are on the diagonal of the diagonal matrix A. 27 When N is in the same order as the dimensionality of the samples, p, the eigenvalues of t have a significant bias, which means they significantly deviate from to the real eigenvalues. In this article we will apply methods to correct the bias in eigenvalues estimated from face data. We will show that a correction algorithm we denote as Two Subset is capable of reducing the error rates of the verification system. The paper has the following setup. In section 2 we will describe the verification system we used to test the influence of eigenvalue correction. We will indicate at which point eigenvalue correction makes sense. An important aspect of the system description is the data model we assumed. To describe the problems with the eigenvalue estimates, we will introduce the bias and the variance of estimators in section 3. In section 4 a few correction algorithms will be presented which we used to remove the bias in the eigenvalue estimates. To demonstrate the use of eigenvalue corrections we present two experiments. The first experiment, in which we used synthetic face like data, is reported in section 5. The second experiment, in which we used real face data, is reported in section 6. Finally some conclusions are presented in section 7. 2 Verification system setup We will briefly describe the PCA-LDA verification system we have used. For a more extended discussion on such a system, see [1] or [8]. The input of the system are facial images. With some preprocessing, feature vectors are generated from these images. We assume a feature vector x can be modeled as a composition of a within part Xw and a between part Xb via x = Xb + Xw· Xb models the differences between different people GLllU Xw models the variations between different feature vectors of the same person. The distribution of Xb is modeled by N({Lt, L:b), a Gaussian distribution with mean {it and a cova.riance matrix Bb, The distribution of Xw is modeled by N(O, Bw). The distribution of x is given by N({Lt, L:t). After the preprocessing, a transformation matrix T is constructed which transforms a feature vector from the feature space to a classification space. To find T a set of labeled exa.mple images is needeel. This set is denoted as training set. The first step to determine T is to perform PCA on the training set. With the results of pr: A, a transformation matrix is constructed which compresses the da.ta a.nd a.lso whitens the data.. Whitening means tha.t the data components sta.y uncorrelated under a.ny rotation. By a.pplying LDA in the whitened spa.ce [3], the most discrimina.ting ba.sis ca.n be determined. Combining this projection with the projection from PCA results in the following transformation matrix: (3) where AI. is a diagonal matrix with the M la.rgest eigenva.lues of tt on the dia.gona.l, cD! is a. ma.trix of which the columns a.re the eigenveetors belonging to the eigenva.lues in ê, At, and are the eigenvectors belonging to the Q la.rgest eigenvalues of the between sample covariance ma.trix in the whitened space. To verify if a feature vector v belongs to class c a matching score based on log likelihood is ca.lculated: L(v,c) = -(T· (v - {Lc)l· r;;;l. (T· (v - {Le)) + (T· (V -{it))T. (T· (V -{it)) (4) where r, is a. diagonal matrix with the eigenvalues of the within sa.mple covaria.nce matrix in the classification space. If the matching score exceeds a threshold, the claim that v belongs to class c is accepted. 28 2.1 Modifications for eigenvalue correction In this verification system, there are two points where eigenvalue correction may im- prove results: in the whitening step where the data is scaled based on eigenvalue estimates and in the matching score calculation where the eigenvalues of the within covariance matrix in the classification space are needed. We performed eigenvalue correction after the compression, but before the whitening step. At first sight, it seems that the eigenvalues of tt need to be corrected. However, under the assumed model, I:t can be written as I:b + I:w. These matrices are estimated with Nb = C - 1 and Nw = N - Nb - 1 samples respectively (C is the number of classes). This results in a different bias of the eigenvalues of sample estimates of I:b and I:w. We therefore implemented the correction in the following manner: 1. Estimate Xk, and I:b. 2. Decompose both covariance matrices in eigenvectors and eigenvalues. 3. Construct new estimates of the covariance matrices using the original eigenvector estimates and the corrected eigenvalues. 4. Sum the two estimates to get a new estimate of I:t. The corrected estimate of the covariance matrices is given by: t = 00 while ft --> "1, where N is the number of samples, p is the dimensionality of the samples and "1 is some positive constant. In face recognition, both Nand pare large, while their ratio is close to 1. Therefore results from GSA may apply in face recognition. Under GSA, the mean estimate of the sample eigenvalues is not equal to r8A,1set of eigenvaluos, the sample eigenvalue estimator is therefore biased. Some estimators can trade bias for variance in the estimate. The variance in the estimate of eigenvalue 'i is given by E [(Ai - 1,.i)2]. In general decreasing the number of samples used for estimation, increases the variance of the estimate. The Two Subset correction we describe in section 4.4 reduces the number of samples used for eigenvalue estimation, therefore increasing the variance. But, judging from the results of the experiments, the reduction in bias justifies this cost. 4 Correction algorithms To reduce the bias in the estimated eigenvalues, we have used a number of correction algorithms. We will describe them briefly in this section. We will use the following conventions: the genuine eigenvalue i is denoted by À.i and is referred to as the popu- lation eigenvalue i. The sample estimate of this population eigenvalue i is referred to as t_!1esample eigenvalue i and is denoted by li. The corrected eigenvalues are denoted by .\i. 29 4.1 Muirhead correction The first correction algorithm has been proposed by Muirhead [5]. Muirhead derived expressions of the distribution of the eigenvalues under the condition that the samples are Gaussian distributed. Based on this distribution, he derived an expression for the most likely set of population eigenvalues given a set of sample eigenvalues: : 1 .\ = li - -li n f _lj_ li -lj + (n- 0 2) ('i=l, ... ,m) (6) j =1 j ol- i If neighboring eigenvalues are very close in value, the correction may become unstable. We therefore choose to ignore some of the closest eigenvalues in the correction, so j ol- {(i - I I. In the second 30 Q)---~)~I---~) As-----, Figure 1: Schematic representation of iterative feed- back correction algorithm. set the variances along these estimated eigenvectors are estimated, denoted A2' via: (7) A2 will be used as estimate for the population eigenvalues. The eigenvalues in A2 do not contain the bias of the original estimates. However, since the estimation is performed on half of the original set, the variance in the estimate will have increased, as described in section 3. 5 Synthetic facial data test To show the effects of the correction algorithms in verification problems, we present two experiments. In the first experiment synthetic data is used. By using synthetic data a comparison can be made between the true population eigenvalues and the reconstructed population eigenvalues (see for instance [2]). In biometrics, we are more interested in lower error rates. With synthetic data, the real variances on the estimated eigenvectors can be calculated, giving a theoretical correction. This correction gives an indication of the best improvement. In section 2 we presented a model for facial data. The synthetic data is generated using this model. The generation process can be split into two steps. In the first step random samples are drawn from a between class distribution. Each sample will be the class average of an individual. The input of this stage is a Gaussian random number generator which draws samples from N(O, 1). The samples are then scaled and rotated such that their covariance matrix equals L;b· Finally a total mean /-lt may be added, but in our experiment it is set to zero. In the second step a second random number generator draws a number of samples per class to model the within class variation. The samples are scaled and rotated such that their covariance matrix matches L;w. Next a class mean vector, generated in the first step, is added. The result is a set of synthetic samples. To generate synthetic data similar to facial data, we extracted model parameters from a set of face images in the FRGC database. 8941 photos were selected in the database. The photos originated from 515 individuals. Most photo's were taken under controlled conditions with limited variations in pose and illumination. Also the faces had a neutral expression and nobody had glasses. To compare the different correction algorithms, a verification experiment was per- formed with a training set of limited size. The generated training set contained 70 synthetic classes. Each class had 4 samples, resulting in 280 samples. The initial compression reduced the data dimensionality to 150 components. In the LDA step, 31 the dimensionality was further reduced to 60. 6 correction options were tested: no correction, theoretical correction, Muirhead correction, Iterative Feedback correction, Two Subset correction and Karoui correction. To test the trained transformation matrices, a test set was generated containing 1000 classes. For each class 10 enrollment samples and 10 probe samples were gener- ated. The Detection Error Trade-off (DET) curves are shown in figure 2. 0.6~ - no correction - - - muirhead ~0.41 .; -- iterative feedback .2 0.2 - - -two subset cu 0::: .karoui - - -theoretical Figure 2: DET curves for test with synthetic f8J:es_ -no correction - --muirhead - iterativefeedback two subset Q) :::J ro 1: Q) 10 Ol ëii o.~ c______,__~_S ~ 100 1~ o 20 40 60 80 #eigenvalue #eigenvalue (a) Corrected within eigenvalues (b) Corrected between eigenvalues Figure 3: Eigenvalues of the synthetic data test. The error rates achieved in the synthetic experiment are more than an order lower than the error rates in real facial data. This seems to indicate that the bias in eigenvalue is not the only factor causing errors. The theoreticalline indicates that if the true variances along the eigenveetors can be found, the EER is decreased from 0.13% to 0.05%. This is a consideral improvement. The Two Subset correction achieves comparible error rates as the theoretical correction. 32 Apperantly the increase in variance of the estimates of the eigenvalues is compensated by the removal of the bias. The other correction algorithms only fluctuate around the no correction line, and provide no structural improvement. The Karoui correction even deteriorates the performance. The corrected eigenvalues are shown in figure 3. There is a considerable difference between the theoretica.! correction and the Two Subset correction, but their DET curves are nearly the same. The difference is the largest for the smaller between eigenvalues, suggesting the error rates are more influenced by changes in the largest between eigenvalues. Karoui changed all within eigenvalues above number 100 to almost zero. If there is any between variance in those directions, then the LDA step will identify them as highly discriminating directions. This may explain the poor performance of the Karoui correction. Combining the results from the Two Subset correction and the Karoui correction, corrections in the largest between eigenvalues and the smallest within eigenvalues seem to have the most effect on the error rates. This may be explained by the fact that LDA finds directions in which the ratio of the between variance over the within variance is the largest. 6 FRGC facial data test The synthetic data test shows that reduction of the error rates is possible when the assumed model is accurate. In the next test we used real face data. To find the parameters of the face model in the synthetic data experiment, a set of images from the FRGC database was selected. In this test the same set is used. The set is split in a training set and a test set. For the training set 70 identities were selected with a maximum of 5 samples per identity. The remaining 445 identities are used as test set. There is a small deviation from the setup as described in section 2. The dimension reduction is only used to remove zero eigenvalues. After applying the correction, a further reduction to 150 dimensions is performed. The same correction methods as used in the synthetic data test are used, except for the theoretical correction, which is not possible when the population eigenvalues are unknown. The experiment is repeated 5 times with different data divisions. Resulting EERs are shown in tabel l. The last column shows the average of the EERs over the 5 runs. Karoui deteriorated the EER in most runs. The iterative feedback fluctuates around the no correction performance. The Muirhead correction gives a very small improvement of the EER. The Two Subset correction never worsens the performance and gives on average a significant improvement in EER of 0.4%. Table 1: EER of 5 runs in percentages iteration 1 2 3 4 5 AV 110 correction 3,57 3,49 2,90 3,68 3,82 3,49 muirhead 3,50 3,38 2,50 3,54 3,64 3,31 iterative feedback 3,79 3,84 2,17 3,75 3,64 3,44 two subsets 3,24 3,49 2,17 3,42 3,03 3,07 karoui 4,43 4,71 2,17 3,58 3,68 3,71 Figure 4 shows the DET curves of the correction algorithms for one run. The Two Subset i significantly below the no correction curve. The error rates of the Karoui correction are considerably worse than the no correction. 33 Figure 5 shows the corrected eigenvalues. The Two Subset correction considerably lowered the first few eigenvalues, especially the within eigenvalues. The smaller eigen- values have become more similar. The Muirhead and Iterative Feedback correction do not differ considerably from the no correction curve. The Muirhead correction only altered the last eigenvalues. The Karoui correction reduced within eigenvalues number 110 and larger to almost O. This is the same behaviour as in the synthetic data exper- iment. Karoui also changed most of the between eigenvalues to a value of around 20. Even though these are large changes, the DET curve stays in the same order as the no correction curve. 0.07 -no correction . - - muirhead - iterative feedback ·····two subset karoui 0.03 0.01 0.02 0.03 0.04 0.05 0.06 False Accept Rate Figure 4: DET curves of FRGC facial data test. l -no correction -··muirhead )~, -no correction _. -muirhead ! - - iterative feeback ,·,·,two subset . iterative feedback ···two subset 102 102 ~ karoui tu Ol ::> c ::> c: \.~ Ol .~101 \'~ Ol Ol iii :.,..;:,;"'''>~:::~~:::~~ . 10' ••••••• ~~~.-c __ , ~. 10° --........:..::-, _l.__~~ __ .,..-._~ ~, ~ __~~__~ __~_1 o 50 100 150 200 250 o 20 40 60 #eigenvalue #eigenvalue (a) Corrected within eigenvalues (b) Corrected between eigenvalues Figure 5: Corrected eigenvalues of FRGC facial data test. 7 Conclusion In the experiments the more advanced correction algorithms provided little improve- ment at best, while the empirical based Two Subset correction provided significant 34 improvements in both the synthetic data test and the real face test. The corrected eigenvalues of the Two Subset correction show that the largest eigenvalues are over estimated, while the smallest eigenvalues are under estimated. Except for the itera- tive feedback, the other correction algorithms showed similar behaviour. 'liVeintend to publish a more detailed analysis in future publications. From the success of the Two Subset we also conclude that the error rates are much more influenced by the bias in the eigenvalue estimates than their variance. In the synthetic data experiment, the Two Subset correction provided the same improvement as the theoretical correction. If this relation holds as well for real facial data, the relative small error reduction of the Two Subset correction indicates that only a small error reduction can be achieved. A reason for this might be that the error rates in real facial data are largely determined by other factors than the bias in the eigenvectors. This conclusion is also supported by the more than an order difference between the error rates of real facial data experiment and synthetic data experiment. The influence of the eigenvalue corrections on the error rates is somewhat difficult to determine. The large changes the Karoui correction made, had limited effect on the error rates. Still it appears that corrections in the smallest within eigenvalues and the largest between eigenvalues are the most important. This is in line with the objective of LDA to find the basis with small within variances and large between variances. References [1] G. M. Beumer, A. M. Bazen, and R. N. J. Veldhuis. On the accuracy of eers in face recognition and the importance of reliable registration. In 5th IEEE Benelux Signal Processing Symposium (SPS-2005), Antwerp, Belgium, pages 85~88, secretariaat in Delft, April 2005. IEEE Benelux Signal Processing Chapter. [2] N. El Karoui. Spectrum estimation for large dimensional covariance matrices using random matrix theory. ArXiv Mathematics e-prinis, september 2006. [3] Keinosuke Fukunaga. Introduetion to statistical pattern recoqnition (2nd ed.). Aca- demic Press Professional, Inc., San Diego, CA, USA, 1990. [4] V.L. Girko. Theory of Random Determinants. Kluwer, 1990. [5] R.obb John Muirhead. Aspects of multivariate statistical theory. Wiley Series in Probability and Mathematical Statistics. John Wiley & Sons, inc, 1982. [6] Jack W. Silverstein. Eigenvalues and eigenvectors of large dimensional sample covariance matrices. In Random Matrices and their Applications, volume 50 of Contemporary Mathematics, pages 153~159. American Mathematical Society, 1986. [7] Jack W. Silverstein. Strong convergence of the empirical distribution of eigenvalues of large dimensional random matrices. 1. Multiuar. Anal., 55(2):331~339, 1995. [8] R. N. J. Veldhuis, A. M. Bazen, W. Booij, and A. J. Hendrikse. Hand-geometry recognition based on contour parameters. In A. K. Jain and N. K. R.atha, editors, SPIE Biometrie Technology for Human Identification 11, Orlando, FL, USA, pages 344~353, Washington, March 2005. SPIE ~ The Int. Society for Optical Engineering. 35 Interference Modeling for Cognitive Radios with Imperfect Sensing Michael Timmers+" Sofie Pollin 1,3 Antoine Dejonghe! Liesbet Van der Perre ' Francky Catthoor 1,2 IMEC1 KULeuven2 UC, Berkelcy" Wireless Research ESAT EECS Kapeldreef 75 Kasteelpark Arenberg 10 264M Cory Hall 3001 Leuven 3001 Leuven Berkeley, CA 94720 {timmers,pollins,dejonghe,vdperre,catthoor}@imec.be Abstract A Cognitive Radio (CR) network should be able to sense its environment and adapt its communication to utilize unused licensed spectrum without interfering with incumbent users. In this paper we will model the accumulative interference generated from a large-scale CR network and investigate how the CR network density will affect the sensing requirements of the CRs to meet an interference constraint. More specifically, our model considers the impact of discrete topology, the impact of imperfect sensing and the impact of the distributed channel access scheme. As an instantiation of our model, we consider a CR network based on the IEEE 802.11 standard. As it is known that under distributed channel access, collisions cannot be avoided, we show that the interference generated from this network is large. 1 Introd uction Due to the accelerated deployment of broadband cornmunication systems and the cur- rent fixed frequency allocation scheme, spectrum is becoming a major bottleneck. How- ever, experiments show that up to 85% of the spectrum remains unused at a given time and location, indicating that a more flexible allocation strategy could solve the spec- trum scarcity problem [1]. This observation has recently led to the new paradigm of opportunistic spectrum sharing, where users can actively seek for unused spectrum in licensed bands and communicate using these white holes. This vision, often referred to as Cognitive Radio (CR) l [3] is supported by regulatory bodies, such as the Federal Communications Commision (FCC) and the European Commision (EC). To enable opportunistic spectrum sharing, many problems remain to be solved. Most importantly, the CRs have to make sure they don't cause excessive interference to the incumbent users. If no guarantees about the interference can be given, it will be very hard to convince incumbent users to allow CRs to make use of their spectrum. Giving guarantees on the level of interference to the incumbents is however very challenging in the context of wireless communication. This has already been noted in [4], where large margins were introduced in the sensing threshold requirements to account for unpredictable fading and shadowing. LTheterm Cognitive Radio (CR) was first coined in [2]. In the present paper we focus on a short- term and spectrum-centric view of CR, i.e., a radio system that co-exists with incumbent wireless systems by using the same spectrum resources without significantly interfering with these incum- bents [3]. 37 Even after considering sufficient margins to account for those uncertainties of the propagation channel, a single CR meeting the sensing constraints could still cause excessive interference to an incumbent receiver when that CR simultaneously transmits with another CR meeting its sensing constraints. This is referred to as accumulative interference. In this paper we will study the impact of accumulative interference on the incumbent user proteetion. or alternatively how such interference affects the sensing requirements of the CR nodes. Using results obtained in [6], the study will consider a discrete random topology of CR hot spots, to investigate if the exact topology instance will have an impact on the generated interference, independently of the sensing by the CR. Next, we will add the detection errors, and see how this impacts the interference to the incumbent. Finally, we will compare the impact of the channel access scheduling for the CR network, focusing on the realistic assumption of an 802.11 distributed channel access scheme. 2 System Description When considering the possible interference to the incumbent users, it is required to first establish the assumptions on the system model. To that purpose we first introduce the topology assumed both for the incumbent users and the CRs. We then introduce propagation and interference models. We note that the system model typically assumed for CR is based on the assump- tions of IEEE 802.22 standard, since this is the first CR system that is being standard- ized. In such networks, the incumbent users are TV broadcast stations, covering a very large area. The CR power is then often assumed to be orders of magnitude smaller than the incumbent transmission powers. In this paper we want to relax this system view, and consider a broad range of scenarios. The goal is to illustrate how much interference is to be expected in any scenario where a CR network using distributed channel access coexists with any incumbent network. 2.1 Topology We consider an incumbent system that is surrounded by several CRs (see Fig. I). We assume CR hot spots (i.e., local groups of CRs) are randomly distributed on a plane following a Poisson point process with density O. The hot spot size varies from a single CR per hot spot (a single CR in a home) to 10 CR per hot spot (ill a coffee shop). This allows us to model topologies where the CRs are more or less spread out versus topologies where CRs are clustered in a hot spot. As stated in [4], the introduetion of CRs will reduce the communication range of the incumbent system. The authors use the concept of a protected area, the area in which the incurnbent system. desires to operate unharmed. This is illustrated in Fig. 2. The protected area is defined through the protected range dp that defines the maximum communication range between the Incumbent Base Station (IBS) and the Incumbent User Equipment (rUE). If not otherwise stated, the protected range is chosen to be 95% of the original communication distance dcomm. We assume that all incumbent receivers are within this proteetion range. 2.2 Propagation and Interference Models The received signal power R is a decreasing function of the distance d between the sender and the receiver. Let S denote the transmit power of the sender and a the path loss exponent (typically ranging between 2 and 4). The received signal power can then 38 • Inwmbent Base Station (IBS) o Incumbent user EQUipment (IUE) Ma~imum communication range (d"",,",,) _ ._ o '" Cognitive Radio (CR) l' Incumbent BasEI Station (IBS) Protected range (d~ .. Incumbent User EQUipment (IUE) Interlerençerange (d,.) nO 8 ~. o O sa 0 " " " Figure 2: The system topology for the incum- -. -. .' .' bent users: Incumbent User Equipment (IUE) Figure 1: The incumbent system has to with- is spread around an Incumbent Base Station stand interference from all cognitive radio sys- (IBS). CRs at a distance smaller interference tems. These CRs are assumed to be ran- range din can potentially harm the communi- domly distributed on a plane following a Po is- cation of the incumbents inside the protected son point process with density ó. area. be expressed as: R = S - 10alo91O(d) - f3 [dB], (1) where f3 repre ·ents system losses and is chosen to be 40dB in our simulations. We will assume the transmit power of the incumbents to be 1 W unless otherwise stated. In a wireless network, packets can be decoded if the received Signal-to-Interference- and-Noise-Ratio (SIN R) exceeds a certain threshold SIN R, We assume that the incumbent system has an SIN R, of 3dB. For a given scenario, the lowest possible SI N R in the protected area is achieved by a node at the edge of this area since it will have a lower received power R from the IBS. The nodes at the edge of the protected area, are hence the ones that need the most protection. The detection criterion can be expressed as: RId,. SINRId,. 2: SINRt = -2--' (2) 0"0 + It where 0"6 is the noise power and It the interference threshold. Throughout this paper we will assume thermal noise: 0"6 = kTW, (3) where k is the Boltzmann constant, T the environment temperature and W the used bandwidth. Let us now introduce the interference range din (see Fig. 2), which is defined as the maximum distance for which a single CR. transmission will harm the incumbent system. Based on the above, one can write: (4) , where Sc,· is the transmission power of the CRs which we assume to be fixed to 250 m W unless otherwise stateel. 39 3 Interference model for Cognitive Radios In this section we discuss the effect of direct and accumulative interference for the system presented in Section 2, to effectively protect the incumbent system. After defining the problem (see Section 3.1), we will compute the impact of interference in case the CRs do not sense for the incumbent and all transmit at the same time (see Section 3.2). Next, we will introduce perfect sensing (see Section 3.3). Finally, we will consider the impact of imperfect sensing in Section 3.4. 3.1 Direct and accumulative interference As mentioned before, the IBS will not be able to communicate with a receiver inside the protected region if: • a CR inside the interference area is active • the accumulated power horn all the CRs outside the interference area exceeds the interference threshold. The total chance of getting interfered Pin is formed with the probability of direct interference Pin,cl and the probability of indirect (or accumulative) interference Pin,a: Pin = P'in,d + (1 - Pin,d)P·in,a' (5) 3.2 Maximum power without sensing Due to space limitations we refer to [6] for the exact derivation and present here only the results. We showed that the direct interference probabilty can be modeled as a Poisson distribution and the accumulative interference probability can be approximated by a Gamma distribution. ii7rCl2 Pin,d = 1 - e ~n (6) 2 k - /-L", (7) a. - 2 (Ja. where Fr(x; k, 8) denotes the cumulative distribution function of the Gamma distribu- tion with shape parameter k and scale parameter 8. 3.3 Maximum power with perfect sensing For perfect sensing, we assume that a CR perfectly detects the incumbent signal if the Signal-to-Noise Ratio (SN R) of the received incumbent signal is larger than a chosen threshold, SN Rd' The probability of detection, Pd is hence: I ifSNR2::SNRd Pd(SNR) = { 0 if SNR < SNRl Let us define d; as the maximum distance at which a CR detects the incumbent. If an incumbent is seen, the CR will switch off its interface or move to another channel, so it will not interfere with the sensed incumbent. Again, due to space limitations, we refer to [6] for a more detailed analysis. 40 3.4 Maximum power with imperfect sensing We will now introduce the effect of a real sensing implementation (which has a non- perfect outcome). In [7],the probability of detection Pd is expressed as a function of the number of samples N, the received power R, the noise power (Tg and the probability of false alarm PIa' Many MAC protocols for CR networks will try to avoid self-interference from the CRs, so that the SINRis merely determined by the noise (Tg from the environment [8]. To find Pin, we again compute a Poisson component (for direct interference) and a Gamma component (for accumulative interference). Because nodes are silenced dif- ferently at different distances from the IBS (depending on the received SN R), we are now dealing with a heterogeneous Poisson process [9]. For the direct interference, we can model this heterogeneous Poisson process as a homogeneous Poisson process where the value for ÀIAI is equal to: ÀIAI = r: r,r 5(1 - Pd(r, e))2Jrrdr. Jo Jo (8) We can then find Pin,d' The accumulative component can be found through integrating mean and variances of the different Poisson processes We only work out the equations for the matched filter detection, since doing the exercise for energy detection is very similar. The probability of detection depends on the SN R, the number of samples and the probability of false alarms. To compute the SN R, we recall the propagation model to compute the received power !3 10w Rir , e) = Sibs , d( r, e)2 = T 2 + d2p + 2 T d p cos e . (10) der, e)'" We define dmin and dmax for which Pd(d) becomes respectively (1 - E) or (PIa + E), and hence determine the area where the detection process has impact on the behavior of the CR (11) dmax = (12) We then determine the range for the integrals to compute the variance and the mean of the Gamma distribution. We determine Tmin and Trno» for which the lowest and highest detection probability Pa is either (1 - E) or (PIa + E). (13) We assume that for r < r min all the cognitive radios detect the signal perfectly (Pd = 1) and that for r > Tmax none of the cognitive radios can detect the signal (Pd = PIa)' The integrals then simplify to: 41 (J2 = a The integrals presented here are now numerically solvable. With the resulting param- eters for the Gamma distribution, we can then deterrnine Pin,a and Pin' We plot the resulting probability of interference as function of the detection over- head in Fig. 3. Clearly, when the sampling length N increases, Pin decreases. We also note that even for high densities the sensing overhead to achieve a near-zero proba- bility of interference remains acceptable (150kSamples at 40MSamples/s is only 4ms sampling overhead). .+ +, . s , 75 , + Pra",O.l% 3 + ...... + -~O.03 o !... .... ". ..... ~ . ~ o o 0.02 o.~ 0 o ~' 6 000 0 0 0 0 ó 0 0 0.01 . , • %~~O~.OO~5~O~.O'~O~.O~'5~O~.O~2~O.~02~5~O.O=3~O~.03~5~0.04 p,. Figure 4: There exist a fundamental trade-off between capacity loss due to false alarms and the capacity loss due to the Figure 3: The probability of interference sensing. For different parameters, the op- as a function of the number of samples timal P ja will shift. By an adaptive selec- taken in the scan period tion of PIa, further gains can be made. As shown in Fig. 3, this curve has been calculated for aPla of 0.1%. The question now remains if, from a capacity point of view, this preset of P ja was optimal, since the detection process has an inherent trade-off between the number of samples needed versus the probability of false alarm. If we consider the MAC protocol of [6], we can compute the total capacity loss, C Lt as: (14) where CLd is the overhead of the detection process and CLja is the capacity loss due to false alarms. These losses can be calculated as: N CLd = fsBI' (15) CLla = Pja, (16) where N is the number of samples needed, I, is the sampling frequency and BI is the length of the beacon interval. In Fig. 3.4, we see that the optimal choice for PIa 42 ó=7Skm-2 Pfa =0.9% 0.7 0.6 0..'00.5 0.4 0.3 0.2 -, 0.1 300 400 500 600 700 800 900 1000 distance from tBS [m] Figure 5: If we are using a practical sensing implementation, nodes inside the theoretical silencedarea have a Pd lessthan 1. This is howevercompensated by nodes outside the silenced area having a Pd larger than O. is 0.9%, which results in a total capacity loss of around 3.2%, which is very small. Of course, as mentioned in the introduction, we don't consider additional margins due to fading or shadowing. The resulting overhead will hence be larger. The idea here is to show that with a smart selection of Pia the total capacity loss can be reduced with 50% (as compared to the worst point in Fig. 3.4). In Fig. 5, we compare the probability of detection for a perfect sensing implementa- tion and a practical sensing implementation, both for bounds leading to a P';n < 0.1%. We note that the optimal selection for a practical sensing technique allows the prob- ability of detection to decrease even before the silencing area. However, the effect of these missed detections (inside the silenced area) is compensated with false alarms (outside the silenced area). 4 Instantiation: 802.11 For the instantiation of 802.11 using our model, we refer to [6]. Here, we showed that due to collision overhead, cognitive radios employing distributed channel access have to be significantly more careful to transmit. The silence distance with hot spots of 10 users, was only decreased by 15%, as compared to the scenario where all nodes transmit at the sa.me time. 5 Cond usions In this paper, a model for accumulative interference from a CR network was presented. With this model we show that an incumbent system can be protected by silencing the CRs in an appropriate area surrounding the incumbent base station. We presented a more accurate model as the one presented in [4] and showed that the approximation made there results in a too optimistic prediction for the interference. We also evaluated the interference for practical sensing techniques, giving a lower bound on the samples needed for the detection process, in order to effectively protect the incumbent system. We also noted that a trade-off exists between the capacity loss due to false alarms and that of the detection process. With the model we could find an optimal value for the probability of false alarm, so as to minimize capacity loss under 43 the constraint that the incumbent system remains protected. This optimal value will be different for each scenario. As a last step, we evaluated the impact of the 802.11 MAC protocol on the in- terference coming from the CR network. It was shown that through carrier sense, interference power from the CR network is reduced. However, since collisions cannot be avoided, carrier sense was shown not to be an efficient technique to protect incum- bent systems from accumulative interference, reducing the sensing bound only with 15% in the scenario presented as compared to all simultaneous transmissions. Modeling the interference, such as done in this paper, is crucial to simplify the development of distributed power control techniques for CRs by isolating the important parameters. References [1] M.A. McHenry, NSF Spectrum Occupancy Measurements, Project Summary, http://www.sharedspectrum.com/. August 2005 [2] J. Mitola Ill, Cognitive Radio: an integrated orchitecture for software-defined radio, KTH Stockholm, 2000 [3] C. Cordeiro, K. Challapali, D. Birru and S. Shankar N, IEEE 802.22: An Introduction to the First Wireless Standard based on Cognitive Radios, IEEE Journalof Communi- cations, vol. 1, no. 1, pp. 38-47, 2006 [4] N. Haven and A. Sahai, Power Scalinq for Cognitive Radio, International Conference on Wireless Networks, Communications and Mobile Computing, 2005 [5] G. Bianchi, Performance analysis of the IEEE 802.11 distributed coordination function, IEEE journalon Selected Areas in Communications, vol. 18, no. 3, pp. 535-547, Mar. 2000. [6] M. Timmers, S. Pollin, A. Dejonghe, L. Van der Pene and F. Cathhoor, Accumulatvue Inierjerence Modeling Jar Cognitive Radios with Dsitributed Channel Access, accepted at CrownCom, 2008 [7] S. M. Kay, Fundamentals of Statistical Signal Processing, Deieetion Theory, Prentice Hall, 1998 [8] M. Timmers, A. Dejonghe, L. Van der Perre, F. Catthoor, A Disiributed Multichannel MAC protocol for Cognitive Radio Networks with Primary User' Recognition, CrownCom, 2007 [9] B. Ripley, Spatial Statistics, Wiley-IEEE, 2005 44 Extracting cyclostationary features from single carrier signals M. Heskamp, C. H. Slump University of Twente, Faculty of EEMCS Signals and Systems Group (SaS) Hogekamp Building, 7522 NB, Enschede, The Netherlands E-mail: m.heskamp@ewi.utwente.nl Abstract This paper contributes to the discussion about the usefulness of cyclostationary feature detection for the purpose of cognitive radio. From a simple but realistic radio signal model and an ideal channel, the power spectral density of the random signal component is derived, and compared with the periodical component that can be retrieved from the signal with a nonlinear operation. 1 Introd uction A cognitive radio (CR) is a radio that opportunistically makes use of licensed frequency bands when the primary user is not using it. In [1] the FCC proposes to use CR to im- prove spectrum utilization, and asks for comments from industry. A lot of respondents expressed skepticisrn about the ability of the CR to detect all primary users in a real world scenario. The FCC, however, appears optimistical about the detection problem, as in [1] is claimed that it is feasibly to detect signals as far as 40 dB under the noise fioor of the receiver, by making use of the cyclostationarity of radio signals. In this paper we study the cyclostationary properties of a single carrier phase shift keying (PSK) radio signal. At baseband, a PSK signal can be written as a pulse amplitude modulation (PAM) signal, which can be written as the convolution 00 v.(t) = L e[n] . p(t - nT) (1) n=-co in which e[n] are the complex data symbols, p(t) is the pulse shape and T the symbol duration time. It is easy to see that this signal is cyclostationary, because the statistics on the sampling moments nT differ from the statistics in between the sampling moments. On the sampling moments the probability density of the amplitude has the same shape as the signal constellation and mainly depends on one single symbol. In between the sampling moments the amplitude is formed by the summation of many neighboring symbols, and tends towards a Gaussian distribution. When measured with a traditional spectrum analyzer, the cyclostationarity of the signal is lost because averaging is done over time frames with a duration that is not an integer multiple of the cyclic frequency. Such spectrum analyzers only measure the power in a certain bandwidth and show no distinction between modulated signals and interference. 45 If the signal constellation is M-ary phase shift keying (MPSK) we can generate spectral lines by raising the signal to the M-th power. This happens, because the power law multiplies the phase of the signal by M, so on the sampling moment nT, the M complex points from the M-ary PSK constellation are mapped to a constant value. e[n] = exp(j2mp[n]/M) with cp[n] E {I··· M} (2) le[n]12 = 1 , e[n]M = exp(j21fcp[n]) = l. In between the sampling moments the phase is not confined to the constellation, so there the signal remains random. So, what we have after raising to the power M is a random signal which exhibits a periodical level crossing, as shown in fig. 1. :uuuttifJPf -I;J} ' W ..:) I· t -> (b) Figure 1: Applying an M-th order nonlinearity to a M-ary PSK signal gives periodical level crossings. (a) Real (blue line) and imaginary (red line) part of a 4-PSK signal u(t). (b) Real part of the signal v(t) = U(t)4 2 Review of cyclostationarity of a PAM signal The concept of cyclostationarity was introduced into the telecommunications area mainly by Gardner [2]. In this section we derive the spectral correlation density (SeD) of the signal u(t) given by (1). The expected value of the signal is zero, because the expected value of the complex symbols is zero. Its time dependent autocorrelation function is 46 Ruu(t, T) = E{u(t + ~T)U*(t - ~T)} L L E{c[n]c*[m]} p(t + ~T - nT) p*(t - ~T - mT) n m (3) L p(t + ~T - nT) p*(t - ~T - nT) n p(t + ~T)p*(t - ~T) * ~ III(t/T) in which III(t) is the 'shah' function which is defined as an infinite train of Dirac delta functions with unit mass and spacing. Taking the two dimensional Fourier transform gives the spectral correlation density [2] S.uu(a, f) = ff"2 [Ru,,(t, T)] = P(f + ~a)P*(f - ~a) III(aT) (4) in which P(f) is the Fourier transform of the pulse shape. As explained in section 11-4 of [3],a wide sense cyclostationary signal can be converted to a wide sense stationary signal by applying a random time shift. The autocorrelation and spectrum of this time-shifted signal are given by Ruu(T) =~ J T R(t, T)dt ~J T LP(t n + ~T - nT)p*(t - ~T - nT)dt ~J 00 (5) p(t + ~7)p*(t - ~T)dt -00 so to give the signal unity average power, we can normalize the amplitude of the pulse shape according to 00 00 J Ip(tWdt = J IP(fWdf = T. (6) -00 -00 If the bandwidth of the pulse shape is reduced to the Nyquist bandwidth, or equiva- lently a sine pulse shape is used, we see that (3) and (4) become independent of tand a respectively, so 'u(t) becomes a wide sense stationary process with autocorrelation and spectrum (7) in which IIO denotes a rectangular function with unit height and width. In practice the frequency response of the pulse shape will roll-off to zero slightly beyond the Nyquist frequency, leaving just a small amount of second order cyclostationarity in the signal. 47 3 Retrieving a periodical component from a PSK signal Besides the second order cyclostationarity that is present in any PAM signal, we now focus on the higher order cyclostationarity that is present in a PAM signal with a PSK constellation. For this we define the signal v(t) = u(t)M = a(t) + x(t) (8) in which a(t) is the expected value of v(t) which is a deterministic function, and x(t) is the self-noise which is a zero-mean random (data dependent) process that obscures a(t). First we show that a(t) is a periodical function: a(t) = E{U(t)M} = E{( ~ e[n]· p(t - nT))M} = n=-oo nl n2 nJv/ (9) co L p(t - nT)M p(t)M * ~ III(t/T) n = -00 which has an amplitude density spectrum A(f) = P(f) * P(f)··· P(f)· III(TJ). (10) NI times P(f) P(f) • pel) • P(f) * P(f) fT Figure 2: Rectangular function convolved 4 times with itself Next, we want to know more about the magnitude of the self-noise x(t). For this we first determine the autocorrelation function of v( t) which is given by 48 Ruv(t, T) = E{(u(t + ~T)U*(t - !T))M} = E{ ( L: L: e[n]e*[m] p(t + ~T - nT)p*(t - ~T - mT) )M } 11. rn nl nM mI m/!'[ p(t + ~T - n1T)p*(t - ~T - m1T) ... p(t + !T - nMT)p*(t - ~T - mMT). (ll) Because the symbols are independent, the expectation is zero for most combinations of indexes. There are two conditions that can make the expectation non-zero. First, if every n index is .paired with an equal m index. Then we have products of the form e[n] * e[n]* = le[n] I = 1. Second, if all n indexes are the same and all m indexes are the same we have products of the form e[n]M = 1. These two conditions coincide if all indexes are equal, so we have to subtract this term to make it occur only once. If we apply this, (ll) reduces to Ruv(t, T) (~P(t + ~T - nT)p*(t - ~T _ nT)) M + L: L:p(t + ~T - nT)Mp*(t - ~T - mT)M n m L:p(t + ~T - nT)Mp*(t - ~T - nT)Joil n p(t + ~T)Mp*(t - ~T)M * t III(t/T). (12) From this we conclude that the autocorrelation of the self-noise is (13) 4 Detecting harmonic components in noise In the previous section we have shown that a periodical component can be retrieved from a PSK signal. In practice this periodical component will be buried in noise. In this section we focus on the detection of the periodical component. Because for our application it is required to implement the detection algorithms in software and digital hardware, we now switch to sampled signals. Because squaring a signals means roughly doubling of its bandwidth, some factor of over sampling is needed to avoid aliasing. Suppose we have a signal aln] that consist of a sum of one or more periodical compo- nents. We can write such signal as the sum of complex exponentials 49 (14) in which Ai are the complex amplitudes and I, the frequencies normalized with respect to the sampling frequency. The discrete time Fourier transform (DTFT) A(J) of aln] is the sum of shifted Dirac delta functions A(J) = L AiJ(f - fi). (15) Next, consider the received signal u[n] = aln] + x[n] (16) in which aln] is buried in wide sense stationary zero mean noise x[n] with autocorrela- tion and spectrum Rx:c[m] = E{x[n] x[n - mlO} (17) Our goal is to retrieve A(f) from a block of samples from u[n] of length N. For this we apply a window wN[n] to the signal and do a DTFT DTFT -----' ,-- (18) The signal component in this estimation is the convolution (19) In order to resolve all frequency components, it is important that the width of the main lobe of the kernel WN (1) is smaller than the smallest distance between two frequency components. On the other hand, interference between frequency components can not be completely avoided, since every window of finite duration in the time domain will have none zero side lobes. However, since we are merely interested in detecting the presence of signals, in stead of measuring the amplitudes very accurately, we can tol- erate some interference between frequency components, and we can set the length of the window inversely proportional to the desired frequency resolution. Next we look at the noise component 00 n=-(X) Because the expectation of x[n] is zero, the expectation of XN(f) is also zero. The variance of XN(f) is 50 (21) Next we change the summation variables to nl = nand n2 = n - m which gives L L E{x[n]x*[n - m]} w[n]w*[n - m] exp( -j27rfm) = n m LR:l:",[m] w[n] *w*[-n] exp(-j27rfm) = (22) rn 5 Discussion and Conclusions In this paper we analyzed what happens to the spectrum of an lVIPSKsignal when it is passed through an Mvth order nonlinear operation. The power spectral density of a PSK signal does not have any specific features as can be seen from figure 3a. Equation (10) gives an expression for the periodical components that appears if the signal is raised to the lVI-thpower. Figure 2 shows its graphical representation if the signal has a sine pulse shape and M = 4. From this figure we see that we can expect three delta function in the spectrum of v(t). This is confirmed by the simulation plot in figure 3b. Besides the three delta functions in figure 3b, we also see noise. This noise consist of the AWGN that also is present in figure 3a, and the self-noise that comes from the signal itself. Equation (13) gives an expression for this self-noise. Further research is needed to simplify this expression and to extract possible other signal features from it. If we compare (19) with (22) we see that the signal component in the estimation becomes stronl3er with respect to the noise component if the resolution bandwidth kerneIIWN(J)I- tends to a delta function. This can be achieved by making the length N of the window and the FFT size very long. 51 (al (bl p:j' ~ :::;. 25 dB a" .lj -0 a .~ a 00 . ~ ~ _______. _______. f f Figure 3: Spectralline generation method applied to simulated 4-PSK signal. (a) Spec- trum of the PSK signal. (b) Spectrum after an M-th order nonlinearity. References [1] FCC. Facilitating opportunities for flexible, efficient, and reliable spectrum use employing cognitive radio technologies. ET Docket No. 03-108, December 2003. Notice of Proposed Rulemaking (NPRM). [2] W. A. Gardner. Cyclostationarity in Communications and Signal Processing. IEEE Press, 1994. [3] A. Papoulis. Probability, Random variables, and Stochastic Processes. McGraw-Hill, third edition, 1991. 52 Performance of Energy Detectors over SIMO Multi-Tap Fading Channels Santiago Rodriguez- Parera, Valéry Raman, François Horlin André Bourdoux and Rudy Lauwereins Universite Libre de Bruxelles Inter-university l\IIicroelectronics center (IMEC) Wireless Communications Santiago.RodriguezParera@imec.be Brussels, Belgium Abstract One of the techniques for spectrum sensing is the energy detection of signals from primary transmitters. However, when detecting in a certain frequency band, this technique suffers from the random fading introduced by the channel. This problem can be alleviated by the use of multiple antennas introducing spatial diversity. The performance of the energy detector with multiple antennas has already been analytically described for Hat fading channels. In this paper, we propose analytical expressions for the performance of multi- antenna energy detector with multi-paths fading channels. These expressions will enable to compare for different channel power profiles the gains brought by the two sources of diversity: spatial (or antenna) diversity and multi-path diversity. This analytical performance is compared to simulations to show the validity of the used approximations. 1 Introduction Static spectrum assignment has been lately described as an inefficient way to distribute the spectrum resources [1]. In order to reuse the under-utilized spectrum bands, spec- trum sensing and cognitive radio have been proposed as solutions to this problem. Sensing of primary transmitters in the band of interest is the most common approach and can be carried out by several type of detectors. Among them, the energy detectors is often chosen due to its simplicity and to the low knowledge it requires about the signal to detect [2]. Unfortunately, its performance rapidly decreases in case of random fading which can be allevial.od by the use of multiple antennas at the cognitive radio terminal. Energy detection with multiple antennas has already been proposed and its perfor- mance analytically studied but only in the case of fiat fading channels [3], [4], [5]. In this paper, we provide the expression of the multi-antenna energy detector and derive analytical expressions of it's performance under multi-path fading channel. Mul- tiple antennas are only considered at the receiver side, meaning that we target a Simple Input Multiple Output (SIMO) channel. These expressions enable to compare for dif- ferent channel power profiles the gains brought by the spatial (or antenna) diversity from the one hand and by multi-path diversity from the other hand. Because they rely on approximations, their validity is also validated by simulation results. The outline of this paper is as follows. In section 2, we will describe the sys- tem model including the binary hypothesis testing formulation and the channel fading model. In section 3, we will introduce the detector model and calculate the distribu- tions of its statistic test for Multi-tap random fading channels. Detector analytical performance will be derived in section 4. Simulations results will be presented in sec- tion 5 to validate the proposed analytical expressions. Finally, section 6 will conclude our discussion. 53 2 System Model The system considered in this paper is a base-band equivalent model for signal de- tection. In particular, the detection of the unknown signal presence is carried out by binary hypothesis testing as explained in the next section 2.1. Later on, in section 2.2, we will present the considered channel fading models. 2.1 Binary Hypothesis Testing After filtering, down-conversion and signal sampling in the front-end of every antenna, the received signal can be modeled as a low-pass baseband complex digital signal. These received samples are represented, by y,.[n] with n the sample index, given 0 :(: n :(: N-1 and r the antenna index, with 1 :(: r' :(: R. Also, N is the number of samples and R the number of antennas at the cognitive radio terminal. Hence, the signal detection problem can be described as a binary hypothesis testing over these received samples: HO: Yr[n] = w,[n] L-1 Hl: y,.[n] = L h,.[l]e[n -I] + w,[n] 1=0 where HI and HO refer to the hypotheses of signal presence and signal absence respec- tively. When HO is true, the resulting signal is only noise w,.[n]. When HI is true, with the noise, we receive the same modulated symbols ern], on all antennas. At antennas, ern] is convoluted with the channel h,.[I], where 0 :(: I :(: L - I and L is the number of taps. The next subsection will be dedicated to explain the model chosen for h,.[l] in further detail. The noise samples w,[n] are independent and identically distributed (i.i.d.) random processes following the same Gaussian distribution on each antenna. This distribution is zero-mean and of variance (}"2, both of them are assumed to be known by the receiver, w,[n] ~ N(O, (}"2). The modulated symbols ern] are also (i.i.d.) on a normalized constellation. 2.2 Channel Fading Models In the previous binary hypothesis testing, we represented the signal to detect by the linear model "Lf=r} h,.[I]B[n - l], which is formerly called a Bayesian linear model, due to the use of probability distributions on the parameters [6]. As already mentioned h; [I] (0 :(: I :(: L - 1; I :(: r ~ R) are the taps of the SIMO fading channel. We assume here a Rayleigh fading, i.e. h,.[l] are random variables following a complex Gaussian distribution.n.jz] ~ Nc(O, (}"~[l]) In this article, the Multi-Path with Rayleigh fading will be further divided in to equal power taps and different power taps. In deed, the first is a particular case of the second, but it will be useful in illustrating the equivalency between antenna and tap diversity on the performance of the detector. For the simple case of equal power taps, each tap variance has the same value: (}"~[l] = d· For different power taps, the dependency of (}"~[l] with respect to index 1 remains. In order to enable the comparison of different power profiles for the taps, the average power introduced at each antenna will be normalized as. E [~lhr.[IW] =~ E [lh,.[IW] = ~ (}"~[I] = 1. 54 3 Energy Detector for SIMO Multi-Path Fading Channels In this section we will first provide the expression of the energy detector statistic test for SIMO channels in section 3.1. Then, we will calculate the distribution of the statistic test for the multi-tap fading channel in section 3.2. 3.1 Expression of the statistic test The detection is a processing operation T(y[nJ) on the received samples. In it's ultimate stage, it decides which of the two hypothesis HO or HI is true, comparing the result with a threshold ,. From the Neyman-Pearson criterion we can derive the single antenna energy de- tector that maximizes the Probability of detection PD when the Probability of False Alarm PFA is fixed [6]. However, to simplify later expressions we will use instead the equivalent Power Detector or averaged Energy Detector over samples, also in [6]. Further, the Equal Gain Combining Energy Detector is again the average over the different antenna branches. 1 RIN Hl T(y[nJ) = Ei L N L IY1.[nW ~ {. (1) ,.=1 n=l HO For multi-antenna energy detectors antennas having the same total power the cor- relation between samples or between antennas has no effect on the final performance. In order to isolate the effect of diversity and the fact of having more averaged samples when using multiple antennas, we are going to define a constant number of total samples K. Then, we replace N = KIR, which divides the number of samples by the number of antennas. To derive the performance of the detector, formerly the PD, we will need to find the distribution function (PDF) of the detector introduced by (1). 3.2 Distribution of the statistic test for Multi-tap Rayleigh Fading Channel The distribution of '1'(y) under hypothesis HO takes only into account the Gaussian distribution of the noise. If we consider a big number of samples and they are independent and identically distributed, by the Central Limit Theorem, the distribution of the detector is also a Gaussian with the following mean and variance. (2) Under hypothesis HI, for every antenna the power of the signal to detect can be considered as a random variable S,.. Each realization of this variable will depend on the symbols and the channel but as long as the symbols are i.i.d. and normalized ST will only depend on the channel taps: L-I 12] L-l S,. = Eo [ ~ hr[l]B[n -l] ~ ~ Ih,.[lW· (3) I 55 Additionally, the distribution of the detector for a channel joint realization of the antennas will have the following mean and variance: I R E[T(y)] = CT 2 + RL Sr (4) r"=l 1 ~ 2 2 1~2 2 Var []T(y) = (RN)2,~ N· (CT + ST) = R2N f;;;_(CT + ST) . (5) Thus the final Gaussian distribution under HI can be written as: HI.Ty. (')1 Sl, ... ,SR~ (2 N CT +Rf;;;_S"'R2Nf;;;_CT 1~ 1 ~(2 +Sr) 2) . (6) 4 Performance Analysis of the proposed Energy De- tection In section 4.1, we will first derive the FpA· Then we will derive the FIV! D for the channel cases presented previously in section 2.2. 4.1 Calculation of the PF A The FpA is calculated integrating the distribution of T(y) under HO (2). This distri- bution does not depend on what we set for the channel, so the FFA will be: (7) 4.2 Calculation of the PMD With random fading, the distribution of T(y) is affected by the power of the particular rea.lization of the channel. The signal power per realization for every antenna is Sr: FMD!Sl, ... , SR = 1 _ FDIS1' ..., SR "j ._ (CTJ + ~ 2 2.=~=1 ST) ) . (8) FDISl, ... ,SR=P(T(y)IHI,Sl, ...,SR>"j)=Q ( RJ-N 2.=~=1 (CT2 + s,l Finally, the averaged performance is the expectancy of this FD per realization of the antenna channels SI, ... , SR: FD = ESI"SR [FDIS1, ..., SR] -FD _- JOO ... JOO Q ("j _ (CTJ 2 + ~ 2.=~1 Sl.)) . , (SI, ... , SR)dS1···dSR· ps, (9) SI=O SR=O _l_ R.,fF! "R (~2+ Sr )2 L..,,·=I v However, if the channels for each antenna are independent the joint distribution PS, (SI, ..., SR) can be replaced by the product of the individual distributions: 56 The distribution of the signal power per antenna PSr(S,,) will be dependent on the power profile of the channel and the number of taps L. This leads us to the following expressions. For equal power taps: Ps)S,.) = (7~L~(L)SrL-1exp ( Z) For different power taps:ps)S,,) = 2:;{~OI ~ exp (~) The definition of the BI coefficients and the development of both expressions can be found in the Appendix, in the case R = 1 and with S,. instead of S. However the multiple integral of (10) is not really convenient for numerical analysis. Additionally to the exact expression, we can have a useful approximation under very low SNRs: ( (J"2 + S,. )2 ê::'. (J"4 + 2(J" 2Sr. (ll) If we define the random variable 5 = ~ 2:;;'-':-01 S,., and we use the total number of samples K = RN, the Po expression can be rewritten without the multiple integral: - PO,APRX = 100 Q (, J- ((J"2 + 5) ) . Ps(S)d5. (12) s=o _1_ JK (J"2 ((J"2 + 25) At this point, we have found a simple analytical expression of the performance that will be very useful for further analysis of this type of detectors. Of course, the random variable 5 which is the average signal power received for all the antennas will have a distribution resulting from the power introduced by the different channels. The distribution of S for equal power taps is on the Appendix (13). The distribution of S for different power taps is on the Appendix (14), (15) and (16) and can be easily derived for any number of Land R following the same reasoning. 5 Simulation Results In this section, we wanted to verify the obtained analytical performance expresslons by simulating the detector for several situations of interest. Usually, the detection performance is illustrated by a Receiver Operating Characteristics (ROC) curve (Po vs PFA). Instead, we use a complementary-ROC (PMO vs PPA). This complementary- ROC, has the advantage of showing how close it's the detector from the no error operation. The data symbols of the primary user signal to be detected belong to a QPSK constellation and the operating SNR(= 1010g(I/(J"2))is equal to -20dB. Parameter K has been set to 2 x 105 Two different channel power profiles are examined: an equal power tap profile and an exponentially decaying power tap profile. Both of them concern a multi-path Rayleigh fading SIMO channel. In any case, the channel total averaged power is nor- malized to one as explained in section 2.2. The performance obtained by simulation and the performance for analytical expres- sions (12) are matching in the plots we present hereafter. In order to help with the readings we will only show the analytical results. 57 5.1 Comparison of gains brought by antenna diversity and tap diversity Fir t we consider the channel model with equal power taps. From (13), we can easily see that R an L are in this case interchangeable in the pdf of S, which means that only the product of these two variables counts. This result clearly appears in Fig.l(a) which gives the performance of the detector (PM D vs Pp A) for the three following cases for which RL = 4: (R = 1, L = 4);(R = 2, L = 2);(R = 4, L = 1) Complementary Roe for K :: 200000 SNR=-20dB Complementary Roe for K :: 200000 SNR=-20dB D.5rr---~--~--~r=_=~=A7"W=G"ëN""Ch=a"="e""l =t 0.5rr------'-~----,.,=_=~=OAc:'W"=GNc=C""h=ao="ec=, =n 0.45 ~\ - .A - 1 Antenna 1 Tap 0.45 ~, - A - 1 Antenna 1 Tap • - + - 1 Antenna 4 Taps ~, - + -1 Antenna 4 Taps 0.4 'A, - M 2 Antennas 2 Tap - 0.4 "4 - ~ - 2 Antennas 2 Taps 0.35 '. - ... - 4 Antennas 1 Tap O.35~~ '-t... "... " .." A_ '+-. ... : ="' ' -6_ -"'-4Antennas 1 Tap 0.3 , - -il. __ 0.31 o ~ o ~ ~ 0.25 \ ~ 0.25 a. , T 0.2 0.15 "l'" -, "',.. .... 0.2 0.15 T, .... ~ .. o.i .. .., .. 0.1 "'""\1- ... 0.05 ": 0.05 I!\. D~0-U----~;~.~2~-~~0~.0~4~~0~.0~6----~0.0~8----~0.1 °O!--"-- -- """;~.~2;;-- ~-~-~0~.0~4 ~~D~.0~6----::cD.D:;;:8----~D.·, PFA PFA (a) (b) Figure 1: Performance of the detection with (a) equal power taps, (b) exponentially decaying power taps Indeed the curves corresponding to those cases overlap. Therefore, in the case of equal power taps, the antenna diversity and the multi-path diversity are equivalent in terms of performance improvement. Secondly, we consider a channel model with different power taps. Fig.l (b) illustrates this for the same three following cases leading to HL = 4 as in Fig.l(CL). Actually, \VC consider here an exponentially decaying power profile for the taps given by: ()~[tl = exp( -AI) where A is here set to A = 3. Then we notice that the antenna diversity is no longer equivalent to the tap diversity since the curves corresponding to the three cases do not overlap. This could be expected from the expression of the pdf of S given in the appendix for the different power tap case. Variables R an L are then not interchangeable in the pdf exprcssion. For the case where L=1 and R=4 we use Ps(S) from (14). For L=2 and R=2 we use Ps(S) from (15). IfL=4 and R=1 we use ps(S) from (16). Actually, it appears then that increasing the number of antennas brings more improvement in the detector performance than increasing the number of taps. This is all the more valid as coefficient A is large (result not reported here). 5.2 Influence of the Number of Samples Additionally, tram the analytical expressions we can see that the performance will be influenced by the number of total samples K. However, K can be increased by increasing the number of antennas R or the number of samples per antenna N. In the following simulations we compare this difference in performance. In Fig.2(a) we use an equal power tap channel. For the plots with 1 Antenna we see how multiplying the 58 number of samples N by 4 (2 X 105) and 8 (4 X 105) profits better from the multi-tap diversity. However for the same number of total samples J( = 4 X 105 the case of 2 antennas versus 1 antenna has better performance due to the extra diversity introduced. For exponentially decaying power taps Fig.2(b) the difference is even larger between Roe 4 Taps SNR=-20 Roe 4 Taps SNR=-20 0.5,-------:~------;r===;O;;;="c=;==;=:=c==;=;==ïl 0.5,-----~c:::_-~--~--_, 'b., 1- e - 50000 Samples 1 Antennas 4 Taps B - 200000 Samples 1 Antennas 4 TaP4 0.45 " ... - 0.45r, ... " " - I) - 200000 Samples 2 Antennas 4 Tap~ "'9 - '1' - 400000 Samples 1 Antennas 4 Tap b ~=~:~~::: ~~~::~~::: ~:~ 0.4 04 -, , b, 1- e - 50000 Samples 1 Antennas 4 T3Dä 0.35 0.35 ~ " ...'0. " ... =: = 03 " "''',,'' v - 400000 Samples 1 Antennas 4 Tap 0.3 \ , 'v_ 1iI_""" ~g_ 0.25 \~ 'V- ___ 0.2 'N 0.2 ~, 0.15 \ -, 0.15 .- 0,1 0,05 " e ...... .-- -~--------------- -"iJ _ 0.1 0.05 -0- _____ ~---- ~L_-~0.0~2------~·~~.-~0;---------~~~~~-~--~-~-~~.L;;~-~-~-~ 00 0.1 0.02 0.04 0.06 0.08 0.1 PCA (a) (b) Figure 2: Influence of the number of samples (a) equal power taps, (b) exponentially decaying power taps the plot with 1 antenna and 2 antennas when J( = 4 X 105. Additionally, having more antennas will is alobenefits from the reduction in processing time. 6 Conclusion In this article, we have presented analytical expressions describing the performance of a multi-antenna energy detector under the presence of multi-path. The derivations have been proven correct by comparison with the simulations for some cases of interest. Finally, these analytical expressions have helped us in the comparison of the gains brought by spatial and multi-path diversity against the problem of random fading. For equal power taps, antenna and path diversity have been shown to perform in the same way. On the contrary, exponentially decaying power taps tend to degrade the performance compared to an equivalent number of antennas. These expressions we presented are useful for the prediction of the performance of the energy detector in SIMO multi-path channels, which are very common in modern broadband standards. 7 Appendix All the following expressions involving Gaussian distributions are taken from the ref- erences [7] and [8]. For equal power taps aWl = a~ [j] = a~ for all i, j Ps(S) = a~RLr(RL) 1 S RL-I exp (-S) a~' (13) 59 For different power taps: o-W] ie o-W] for all i, j L=I, any R Ps(S) = 1 - R-11 S)i ( L ~ -----:Z-[O] exp ( -S ) -----:z-[O] (14) O-h i=O 1,. O-h L=2, any R -S ) Ps(S) =-2-1 exp ( -2- 1 ( 2 o-~[O] 2 ) R ... O-h[O] 0-,,[0] (R - I)! O-h[O]- O-h[l] f_ (,2(R - 1) - T)! ( 1=1 r!(R - 1 - T)! 2 O-h[I]- o-~[1]2 ) o-,JO] (+)" o-,JO] + ... 1 ( - S ) 1 ( o-W] ) R o-W] exp o-W] (R - I)! o-W] - o-~[O] f_ (2(R - 1) - T)! ( ,.=1 T!(R - 1 - T)! o-~[Ol drol - o-W] ) (_§_),. 0-1,[1] (15) R=I, any L Ps(S) = ~ L-l BI (-S) o-W] exp o-h[l] (16) References [1] A. Sahai, R. Tandra, S. Mishra, and N. Hoven, "Fundamental design tradeoffs in cognitive radio systems," Proceedinqs of the first international uiorkshop on Tech- nology and policy fOT accessing spectrum, 2006. [2] C. Cordeiro, K. Challapali, and D. Birru, "IEEE 802.22: the first worldwide wireless standard based on cognitive radios," New Frontiers in Dynamic Spectrum. Access Networks, 2005. DySPAN 2005. 2005 First IEEE International Symposium on, pp. 328-337, 2005. [3] F. Digham, M. Alouini, and M. Simon, "On the energy detection of unknown signals over fading channels," Communications, 2003. ICC'03. IEEE International Conference on, vol. 5, 2003. [4] --, "On the Energy Detection of Unknown Signals Over Fading Channels," Com- munications, IEEE Transactions on, vol. 55, no. 1, pp. 21-24, 2007. [5] A. Pandharipande and J. Linnartz, "Performance Analysis of Primary User De- tection in a Multiple Antenna Cognitive Radio," Oommunicaiions, 2007. ICC'07. IEEE International Conference on, pp. 6482-6486, 2007. [6] S. M. Kay, Fundamentals of Statistical Signal Processing, Volume IJ: Detection Theory. Prentice-Hall, Inc. Upper Saddle River, NJ, USA, 1998, vol. 2. [7] J. G. Proakis, Digital Communications. McGraw Hill Higher Education, 2000. [8] M. Simon, Probability Dietributions Involving Gaussion Random Variables: A Handbook for Engineers and Scientists. Kluwer Academic Publishers, 2002. 60 Simulation framework for early phase exploration of SDR platforms: a case study of interconnect dimensioning Martin Trautrnannl+, Stylianos Marnagkakisl , Bruno Bougardl , Jeroen Declerck+, Erik Urnansl , Antoine Dejonghel , Liesbet Van der Perrel , Francky Catthoort! tKatholieke Universiteit Leuven, Belgium +Interuniversity Microelectronics Center (IMEC), Leuven, Belgium {trautman,mamagka,bougardb,dclerckj}©imec.be {umans,dejonghe,vdperre,catthoor}©imec.be Abstract Software-defined radio (SDR) terminals are crucial to enable seamless and trans- parent inter-working between fourth generation wireless access systems or corn- munication modes. On the longer term, SDRs will be extended to become cog- nitive radios enabling efficient spectrum usage. Future communication modes will have heavy hardware resource requirements and switching between them will introduce dynamism in respect with timing and size of resource requests. In this paper, we propose a modeling framework that enables the simulation of such complex, dynamic hardware/software SDR designs. Thus, we can do an exploration, which can pinpoint at a very early design phase the coarse grain platform component requirements for future SDR applications. Our solution dif- fers from existing ones by combining multiple simulation granularities in a way that is specialized for SDR simulation. Finally, we demonstrate the effectiveness of our approach with a case study for dimensioning the on-chip interconnect of a prospective SDR platform. 1 Introduction Both rising performance requirements of embedded applications and manutacturing cost pressures drive the embedded system design industry to integrate an increasing number of hardware components on a single chip. This trend combined with power con- sumption issues led to the rise of the Multiprocessor System-an-Chip paradigm which renders the design process of hardware and software even more complex. Furthermore, it is widely acknowledged that the earlier design decisions have the most significant impact on the final system performance and power consumption [4J. In the application domain of Software Defined Radio (SDR) and Cognitive Radio, the demand for increased performance is accompanied by an increase in user control and interactivity with the environment. This has a significant impact on the resource requests, which become more dynamic because different wireless protocols (with differ- ent range of performance requirements) can be switched at unknown timing moments. Traditionally, the design and development of these SDR hardware platforms uses worst case estimations of the aforementioned dynamic software requirements in order to de- cide on hardware resource allocation. However, run-time resource management optimizations [7J have shown that resource requirements of wireless applications can be significantly reduced without affecting the Quality of Service and Experience of the final user. These savings of run-time 61 mechanisms should be taken into account, so that there is no unwanted overprovisioning of resources. Nevertheless, software developers have trouble providing performance characteristics of their software including the effects of run-time mechanisms, long before source code exists that is ready for optimized mapping to any relevant target platform. In order to take into account the various dependencies between hardware and software development and their refinement efforts, a Hardware-Software co-design simulation framework which deals with hardware models, software models, and run- time models, that can be created at a very early stage in the development process, should be used. In this paper we present a simulation framework designed for HW/SW co-design of SDR systems at an early development stage. Furthermore, we describe a case study of the simulator where we have been ma deling SDR baseband processing software on task graph granularity and derived traffic patterns and bandwidth requirements for the on-chip interconnect of future SDR platforms. The structure of this paper is as follows. The next section describes related work. In section 3 we describe our simulation framework. In section 4 we describe the case study of dimensioning the interconnect of a future SDR platform. Finally, in section 5 we conclude the paper. 2 Related Work Component-based embedded systems are realized today by using a multitude of het- erogeneous execution and communication models. The hardware and software compo- nents are put together by using an environment like Matlah/Simulink, Metropolis [1], or Ptolemy [2]. Additionally, UML has emerged in recent years as a modeling standard for software [6], including also software for embedded systems for which specific UML profiles have been developed (e.g. MARTE for real time embedded systems [8]). In the context of this paper, we aim at modeling embedded systems of the SDR application domain for the purposes of early design phase dimensioning of the system component requirements and parameters. The aforementioned modeling environments are more rich and able to address more design issues (e.g. verification, model transformations, etc.) for any application domain and in that sense they offer viable extension solutions for our specialized modeling environment. In respect with on-chip interconnect simulation, most of the related work for MP- SoC platforms has been focused on Network-an-Chips [9]. WormSim [10] is a NoC simulator which focuses on communication aspects and its flexibility allows such an exploration. Nostrum NoC Simulation Environment [Ll ] is another example of such a flexible simulator which focuses on grid-based, router-driven on-chip communication. Finally, a NoC platform designed using Platform Architect [12]can also be used. Plat- form Architect is based on SystemC and is used for SoC design with Transaction-Level Modeling (TLM). In the context of this paper, we aim at faster, early design phase exploration and coarser grain dimensioning of the interconnect. The aforementioned simulators can be used for increasing accuracy at later design phases, when the explo- ration space is narrowed. 3 Simulation Environment The simulation framework presented in this paper is designed for SDR platform ex- ploration in an early design phase. The included software modeling for driving the platform exploration allows to take run-time resource management solutions into ac- count by providing realistic input data during the simulation. Section 3.1 describes the modeling abstraction used for early phase platform exploration. Section 3.2 ex- plains how the SDR functionality is simulated to provide the realistic input needed for run-time management analysis. Finally, section 3.3 explains the components of the simulation environment and their interaction. 62 3.1 Early phase SDR platform exploration At an early design phase it is enough to use models which are less than cycle accurate such as task graph based software modeling and transaction level hardware modeling, because neither the hardware platform instance is selected nor the software source code is refined to its final form. Such coarse grain models represent resource requirements and performance charac- teristics independent from the instructions that describe the functionality. Parameters of models of future implementation requirements are derived from experience with previous implementations through extrapolation. Furthermore, some resource require- ments are assigned by means of resource budgets or targets which have to be achieved by optimization efforts, later, during the refinement process. For the SDR platform exploration we focus on baseband processing software of OFDM receivers such as defined by the 802.11n standard - physical layer. The soft- ware is modeled as task graphs where tasks are annotated with execution times for prospective target processors. The execution times are extrapolated from profiling re- sults of a current SDR system which implements the 802.11a standard. Task graph granularity timing modeling has also been used by previous research like [13]. 3.2 Functionality simulation for providing realistic inputs In order to provide realistic input data for run-time resource optimizations, a timing model of the software is not enough. However, extending the task graph model to a fully functional model greatly complicates the modeling effort. Instead of modeling the function for each task in the task graph, we model it on packet level granularity only. This is enough for both providing a run-time scheduler with realistic input data and giving it controlover allocations and timing on task graph granularity. To the best of our knowledge, this way of using multiple granularities for function and timing simulation of SDR baseband processing has not been used in research so far. For exploring SDR platforms we only model baseband processing software detailed enough to schedule it flexibly on platform resources. In order to generate realistic inputs from a higher layer of the protocol stack, we eo-simulate baseband processing with a model of the time critical part of the 802.11 MAC layer. The latter includes the Distributed Coordination Function (DCF) which controls timing and back-off such that multiple terminals can transmit on the same channel with minimized risk of col- lisions. The time critical MAC is in turn connected to the bottom of a Linux lP stack to retrieve a realistic stream of packets. Furthermore, we can simulate multi- ple protocol stacks in parallel with the task graphs of the baseband processing being mapped to a single platform model. This allows us to model resource contention for an SDR supporting multiple simultaneously operating standards and to study run-time optimization techniques which deal with this kind of contention. 3.3 Components The components that make up the simulation framework are shown in figure 1. The physical layer implementation is based on a simulation server layer that provides an event based simulation kernel and an air-channel model. The event kernel ensures that simulated time progresses in a synchronized way for all terminals. The air-channel model simulates broadcast channels for connecting multiple terminals and takes care of collisions caused by multiple senders accessing the same channel at the same time. The model of the 802.11n physical layer is split in two parts. The functionality of sending and receiving packets on the air-channel is simulated by using a function model on packet level granularity. The actual steps of processing the packet such as preamble decoding and payload decoding are modeled on task graph granularity. Both the task graphs and their mapping to a target platform are part of the task 63 Digital Frontend Memory racket levell-------~ Task graph function model svnchronize timing (at end) level timing model Outer Modem c. j" -~I y c ~ o Global Memory 'reused from Simulator for fuHy refined SOR platform zfor early exptoranon of prospectlve SDR platforms Figure 2: Platform template Figure 1: Task graph timing model embed- ded in functionality simulation graph level timing model which simulates timing at a finer granularity and signals the completion of processing steps back to the function model. A scheduler resides between the function model and the timing model and translates packet processing steps into task graphs and platform mappings. It may choose from a pre-computed set of task graphs and mappings and can set data dependent timings for certain tasks. In this way, the effect of run-time mechanisms can be studied. These mechanisms have controlover the choice of alternative implementations and mappings, which they exercise according to the input data and the hardware platform state. On top resides the 802.11 DCF MAC layer which controls timing for channel sharing and thus provides the physical layer with realistic input data and timing. The input for the MAC layer is either generated by a test-bench or by higher layers of the protocol stack. Both the Simulation Server and the 802.11 DCF MAC layer are reused from a simulation tramework developed at IMEC which intends to model a fully refined SDR platform. The simulation framework presented in this paper, however, intends to ex- plore prospective SDR platforms. Therefore, it has a completely different model of the 802.11n physical layer in order to enable both the exploration of various target plat- forms and the study of run-time mechanisms in an early development stage. The two ma deling components that make up the physical layer implementation are described in more detail in sections 3.3.1 and 3.3.2. 3.3.1 Baseband Processing - Packet level function model The function of the 802.11n physicallayer is moeleled on packet level granularity. This abstraction level is also used by the interface between MAC layer and physical layer. The MAC layer instructs the physical layer that a packet should be sent, that the reception of packets is expected, or that a certain back-off time should be applied before a packet is put on the channel. The air-channel model of the simulation server elecouples data exchange between terminals from timing anel channel occupation. Thus when sending a packet, the physical layer can occupy a channel for the appropriate time and transmit the packet data unmodulated at the beginning of this time span. This allows the receivers to create an event schedule which is used to interface with the timing model on a finer time scale than the packet duration. Since the air-channel is operated on packet granularity, 64 collisions are only reported at the end of a preplanned packet transmission interval. This is, however, good enough to model the effect of a collision as an unsuccessful eRe check. The channel state in terms of path-loss, multi-path effects, and MHv'IOchannel transfer matrix is currently not modeled but there are plans to include a channel state model with the air-channel in the simulation server and to perform the effect prediction on the data transmission in the receivers. 3.3.2 Baseband Processing - Task Graph level timing model The function model translates operations on packet granularity into smaller processing steps like "preamble decoding" or "decode n OFDM symbols". These processing steps are modeled as task graphs where each task resembles an operation that would usually take hundreds of instructions or more. From these task graphs we derive a timing model by mapping the task graphs on a target platform, annotating tasks with timing characteristics, and deriving a schedule that takes resource restrictions of the chosen platform into account. We model a platform as a set of components which are co-simulated in one event based simulation and which can communicate according to arbitrary transaction level protocols. Our current set of components includes Processing Elements (PEs), memo- ries, DMA controllers, and on-chip interconnects. So far we assume that each PE can only execute a single task non-preemptively at any point in time. This simplifies the timing characterization of tasks significantly. As a consequence, the PE model only ensures the serial execution of tasks. Execution in this sense means looking up the du- ration from the timing characterization and registering an event. The validity of this simplification can even be extended by characterizing the effects of executing certain task pairs simultaneously and applying techniques such as Software Multithreading [14]. Memories are modeled as a placeholder for performance counters. The memory access timing is mostly reflected by the interconnect transfer timing of the memory access. However, additionallatency penalties can still be included which are a function of the memory type and the access pattern. Due to the choice of the task granularity as hundreds of instructions per task, it is usually the case that tasks communicate with data bursts of a size that justifies the use of a DMA controller. The model of a DMA controller interacts with the timing models and performance counters of memo- ries and the interconnect and thus coordinates all actions involved in a burst transfer. The on-chip interconnect models the timing of any kind of transfer between two interfaces of the interconnect. The abstraction level of the interconnect model can be freely chosen such as madeling peak bandwidth limitation only, modeling contention in a certain topology, or eo-simulating detailed Systeme models of commercial imple- mentations. So far we have been using a contention model of a bus for non-preemptive burst transfers. The timing of the bus has been characterized by a fixed arbitration time per burst, the bus width, and the clock frequency. When a task graph is mapped onto a platform, each task is associated with a PE and a memory which is considered local to that PE. Memory accesses of a task to the local memory are not modeled explicitly but are included in the timing characterization of the task. Task dependencies are associated with a way to communicate between the source task and the destination task. If the dependency is supposed to transport data tokens, an appropriate mechanism is modeled which transfers the data from the local memory of the source task to the local memory of the destination task. Such a mechanism could be a DMA transfer which models DMA setup time, interconnect transfer time, and memory access latencies. All components of the platform can model contention in case multiple tasks or task dependencies of the same or different task graphs try to access the same resource on the platform. 65 __ z·t L ( ) O{f:acki~D·. Z-l Virtual 1~ Channel '1 s:;::~~ ( - ~~-l___j. .. Extraction ~ ~l___j Sefore Tracking Tracking After Tracking , Output Output (a) Fine grain task graph (b) Clustered task graph data parallelized Figure 3: Task graph of OFDM MIMO receiver (802.11n) in two versions 4 Case Study- Interconnect Dimensioning As a first case study with the simulation framework, we have been determining traffic patterns and bandwidth requirements for the on-chip interconnect of a prospective SDR platform. Platform and Software models for the Case Study The investigated platforms are based on the platform template shown in figure 2. They consist of a set of Pro- cessing Elements (PEs) with local memories, a global memory, and two black box modules namely digital frontend and outer modem which are not the focus of this pa- per. The aforementioned components are connected by an on-chip interconnect like a bus, crossbar or Network-an-Chip (NoC). The PEs are powerful VLl W jCoarse Grain Array processors and are assumed to have only one control flow each. The digital frontend is able to send and receive baseband samples on multiple antennas. Channel coding and decoding as well as CRC calculations are performed by the outer modem. The focus of this work is on the baseband processing steps interfacing with samples of the digital frontend and channel coded data of the outer modem. The baseband processing is modeled as embedded software which is mapped on the available PEs. On the simulated platform we execute the timing model of the baseband processing steps described as task graphs. Figure 3(a) shows the typical task graph for payload processing performed by a receiver of an OFDM MIMO protocol such as 802.11n. Incoming symbols are first processed by several processing steps on a per antenna basis. Then a task extracts the virtual channels from the mixed reception of all antennas. Finally some processing steps are performed on the data of each extracted virtual channel before the output data is merged. Please note that there is a tracking task which introduces an inter-symbol dependency marked with Z-l. In order to minimize commumcation over the on-chip interconnect, we investigated a data parallelized mapping where we schedule all processing steps for one OFDM symbol at each antenna on a single PE. Consecutive OFDM symbols in time are thus scheduled on different PEs. As a consequence, the inter-symbol dependency of the tracking task turns into an inter-task dependency between tasks running on different PEs. Figure 3(b) shows the task graph for the chosen data parallel mapping. The tracking task is still exposed after the task clustering because it introduces an extra dependency. Modeling a task graph of this complexity and assembling a platform from existing components can be done in a few hours. Experimental setup As a first experiment of the case study we have been char- acterizing the sequence of phases that occur in baseband processing when receiving a stream of multiple Maximum Transfer Unit (MTU) sized packets, We distinguish phases which require such a different processing that the bandwidth requirement on 66 the on-chip interconnect will be substantially different. Phases are preamble recep- tion, payload reception, acknowledgment sending, and empty phase when there are no samples on the channel. In this characterization we determine average and standard deviation of phase durations using function simulation on packet granularity. The sec- ond experiment of the case study is to characterize one phase - payload reception - in finer granularity to derive the on-chip interconnect traffic pattern of this phase. For the baseband processing software ma deling we use a protocol based on 802.11n 40MHz drafts. We assume OFDM symbols to have 128 sub-carriers out of which 108 are used to transfer data. For encoding an OFDM symbol we use 160 samples of 16 bit in-phase and 16 bit quadrature-phase components each. In the first experiment we assume two antenna MIMO reception and the normal protocol rate of the 802.11n 40MHz drafts. In the second experiment we use the four combinations of two or four antenna MIMO receptions being processed by two or four Processing Elements(PEs). We scale the protocol rate in the second experiment to a level were it loads the available PEs to 100% in order to dimension the on-chip interconnect to match the performance of the PEs. For the performance estimation of the task graph model, we assumed PEs to be powerful VLIW /Coarse Grain Array processors of the ADRES [5] family. A recently taped out SDR platform hosts ADRES cores in 90nm technology with 16 function units per core running at 400MHz. For a prospective SDR platform in 45nm technology we assume a 2.5 fold performance increase per core through an increase in the number of function units and in clock frequency. Simulation Results The results of the first experiment are phase durations (aver- age and standard deviation) when receiving a stream of MTU sized network packets. Preamble reception is always 16/-Ls and acknowledgment sending is always 24/-Ls because length and encoding are fixed by the standard. Payload reception of a MTU size (2312 bytes) packet takes 80/-Ls for QAM64 encoding and 696/-Ls for BPSK encoding. The timing of the empty phase without data on the channel is controlled by the DCF MAC layer. It has an average of about 120/-Ls and a standard deviation of 37/-Ls. The results of the second experiment are on a finer granularity. Due to the use of data parallelization per OFDM symbol, all samples provided by the digital frontend within a certain period are sent to one PE only. If we do not want to stress the latency of our PHY layer implementation, it is not necessary for the interconnect to provide independent links from the digital frontend to different PEs. Thus, the resulting traffic pattern for communication from the digital front end to PEs is data bursts in round robin order. The size of each burst is 160 samples * 4 bytes per sample * the number of antennas. The traffic pattern for the communication from the PEs to the outer modem is also characterized by round robin bursts. The burst size depends on the modulation scheme since this determines the number of channel coded bits which are encoded by one OFDM symbol. For each OFDM symbol the baseband processing on the PEs produces 108 * 6 soft-bits for QAM64 and 108 * 1 soft-bits for BPSK encoding. Each soft-bit is encoded with 6 bits. The burst size is thus 486 bytes * number of antennas for QAM64 and 81 bytes * number of antennas for BPSK The simulation runs show that the inter-symbol dependency of the tracking task does not prevent linear speedup of the data parallelization for up to 4 PEs. Table 1 summarizes the traffic characterization for QAM64 encoding with 3/4 coding rate and for BPSK encoding with 1/2 coding rate. There are four test cases in each table resulting from the use of two or four antennas and two or four PEs. In each case the physical layer data rate of the protocol was chosen just high enough to load the PEs to 100%. This rate is listed as "Protocol rate" in the table and ranges from 90 MBit/s to 1.9 GBit/s. For each test case the total bandwidth of the round robin bursts from the digital frontend to the PEs (DFE -> PEs) is listed as well as the total bandwidth of the round robin bursts from the PEs to the outer modem (PEs --> OMD). 67 QAM64 QAM64 QAM64 BPSK BPSK BPSK PEs Ant. Protocol rate DFE -> PEs PEs -> OMD Protocol rate DFE -> PEs PEs -> OMD 2 2 970 MBit/s 1.3 GB/s 970 MB Is 110 MBit/s 1.3 GB/s 160 MB/s 2 4 810 MBit/s 1.1 GB/s 810 MB Is 90 MBit/s l.l GB/s 140 MB/s 4 2 1.9 GBit/s 2.6 GB/s 1.9 GB/s 220 MBit/s 2.6 GB/s 320 MB/s 4 4 1.6 GBit/s 2.1 GB/s 1.6 GB/s 180 MBit/s 2.1 GB/s 270 MB/s Table 1: Traffic characterization with QAM64 encoding, 3/4 coding rate and BPSK encoding, 1/2 coding rate. 5 Conclusion In this paper, we propose a ma deling framework that enables the simulation of complex, dynamic hardware/software SDR designs. In order to enable both the exploration of various target platforms and the study of runtime mechanisms in an early development stage, a function model and a timing model have been developed and coupled with an 802.11 MAC layer to retrieve realistic input stimuli. The presented case study shows that the framework can be used to derive simulation results both on packet level granularity and on finer granularity by using a task graph based timing model. References [1] G. Goessier and A. L. Sangtovanni-Vincentelli, "Cornpoeitional Modeling in Metropolis," in Proc. ENlS0FT'02, p.93-1.07, 2002. [2] E. A. Lee and Y. Xiong, "A Behavice-al Type System and Its Application in Ptolemy I1," in Formal Aspects of Computing, VoL 16, No. 3, 2004. [3] G. Liang and A. Jantsch, "Adaptive power management for the on-chip communication network," in Proc. DSD'06, pp. 649-656, 2006. [4] F. Catthoor et ul., "Custom Memory Management Metbodology: Exploration of Memory Organization for Embed- ded Multimedia System Design," Kluwer Academic Pub., 1998. [5] B, Mei, S. Vernalde, D. Verkest, H. De Man and R. Lauwereins, "ADRES: An Architecture with Tightly Cou- pled VLIVVProcessor anel Coarse-Grained Reconfigurable Matr-ix," in Field-Programmable Logic and Applications, Springer Berlin/Heidelberg, pp. 61-70, 2003. [6] T. Schattkowsky and W. Muller, "Model-Based Design of Embedded Systems," in Proc. [SORC'04, pp. 121-128, 2004: [7] B. Bougard, S. Pollin, A. Dejonghe, F. Catthoor and W. Dehaene, "Cross-layer power management in wireless networks and consequences on system-level architecture," in Signal Processing, Vol. 86, No. 8, pp. 1792-1803, 2006. [8] Object Management Group, ~'UML Profile for Modeling and Analysis of Real-Time and Embedded sys- tems (MARTE)," , Request for proposals. OMG document: realtime/05-02-06. http://www.omg.org/cgi- bin/doc?realtime/05-02-06. 2005. [9] C. De Mieheli and L. Benini, "Networks on Chip: A New Paradigm for Systems on Chip Design", in Proc. DATE'02, pp. 418-419, 2002. [10] J. Hu, "Design methodologies for application specific networks-on-chip," Ph.D. dissertation, Carnegie Mellon Unlv., 2005. [11] A. .Iant.sch, "Models of computation for networks on chip," in Proc. ACSD'06, pp. 165-178,2006. [12] CoWare Inc., "Platform Architect," http) jwww.coware.comjproductsjplatformarchitect.php, April 2008. [13] S. Mahadevan , M. Storgaard, .J. Madsen and K. Virk, "ARTS: A System-Level Framework for Modeling IVIPSoC Components and Analysis of their Causality," in Proc. h1ASCOTS'05, pp. 480-483, 2005. [14] D. Scarpazza, P. Raghavan, D. Novo, F. Catchoor and D. Verkest, "Software Simultaneous Multi-Threading, a Technique to Exploit Task-Level Par-allelism to lmprove lnatruction- and Data-Level Pat-allelism," in Proc. PAT- 1VI0S'06, pp. 12-23, 2006 68 Performance Analysis of Coordinate Interleaved Systems over Rayleigh Fading Channels Nauman F. Kiyani Jo H. Weber Delft University of Technology Delft University of Technology Fac. EEMCS, WMC Group Fac. EEMCS, WMC Group Mekelweg 4, 2628 CD Delft Mekelweg 4, 2628 CD Delft The Netherlands The Netherlands N.F.Kiyani@TUDelft.NL J.H.Weber@TUDelft.NL Abstract Diversity can play a very vital role in improving the performance of a commu- nication system. The achievable performance with signal space diversity (SSD) is analyzed and a closed form expression for an upper bound of average proba- bility of bit error (Pb) for M-ary phase shift keying (MPSK) in Rayleigh fading channels is presented. Previously in the literature, the problem of calculating Pb of coherent J11PSKover an uncorrelated Rayleigh fading channel has been addressed. A solution based on the nearest neighbors was given. In this paper we show that the results with the nearest neighbor approximation represent an expurgated bound and are only valid for a small range of rotation angles. The exact pair-wise error probability (PEP) is calculated for correlated Rayleigh fad- ing channels. It is shown that the derived bound is tight for the entire range of rotation angles at high signal-to-noise ratios (SNR). 1 Intrad uct.ion Diversity is a very effective remedy to overcome performance degradation on fading channels. Any diversity technique (e.g., space, time and frequency) exploits the prin- ciple of providing the receiver with multiple faded replicas of the same information bearing signal. Signal space diversity (SSD) can provide performance improvement over fading channels without using extra bandwidth and power expansion [1-3]. The basic premise of SSD is that rotated multidimensional signal constellations are used and that the components of the signal points are transmitted over independent fad- ing channels. The independenee of the fading channels can easily be accomplished by interleaving. In [2], the union bound of average probability of symbol error (Ps) for a system employing SSD is calculated for uncorrelated Rayleigh fading channels. The rotation angles are calculated at high signal-to-noise ratio (SNR) to maximize the minimum product distance of the rotated constellations. In [3], the average probability of bit error (Pb) is approximated by considering only the nearest neighbors. The rotation angles are also chosen based on this approximation. In this paper, we present the closed form analytical expressions of the union bound of Pb for M-ary phase shift keying (MPSK) signal constellations. The entire analysis can be extended to any multi-dimensional signal constellation. We calculate the exact pair-wise error probability (PEP) for correlated Rayleigh fading channels. We show that the Pb calculated in [3] is an expurgated bound and is only valid for a small range of rotation angles. Simulation results obtained are in close agreement with the calculated analytical expressions. 69 COS(II'"/) COS(WJ) Figure 1: System model (referred to as SSD system). The paper is organized as follows. Section 2 briefly outlines the main blocks of the system model. Section 3 presents the derivations of the upper bound of Pb for a system employing SSD in Rayleigh fading channels. Simulation and analytical results are presented in Section 4, followed by the conclusions in Section 5. 2 System Model In MPSK/ MQAM constellations the inphase (I) and the quadrature (Q)-channels are orthogonal and can be separated at the receiver. It is assumed that the channel state information (CSI) is available at the receiver. It is shown in the subsequent analysis that a diversity gain is achieved if I and Q channels experience independent fades. The diversity gain is achieved by rotating the signal constellation and separately interleaving the I and the Q components, without effecting its bandwidth efficiency [2]. Figure 1 shows a block diagram of a system employing coordinate interleaving and constellation rotation (SSD), hereafter referred as an "SSD system". The concept of coordinate interleaving and constellation rotation is generic to all MPSK/ MQAM constellations. We confine ourselves in this paper to MPSK signal constellations. A conventional A1PSK signal constellation is denoted by SM = {s, = ej27r(l/M) : l = 0,1, ... , M - I}, where the energy has been constrained to unity and each symbol corresponds to m = log2 NI bits. Anti-clockwise rotation over an angle e leads to the constellation s~, = {Sl = ej(21r(l/M)+B) : l = 0,1, ... , M - I}. (1) The symbol mapper can be represented by a one-to-one mapping function SJ : {O, I}?' ---7 st" S = p(b), where, b = (bl,··· , bm), bj E {O, I} represents the binary sequence and s is chosen from the set st] consisting of NI complex signal points. In case of N symbol transmission, let the sequence of rotated I and Q - components of NIPSK signal constellation be denoted as x = (XO,Xl,,,.,XN-d and Y = (YO,Yl'''',YN-l), respectively. Let TJ and J1 represent the I and Q interleavers, resulting in sequences x = TJ(x) = (io, xJ, ... , iN-d and y = J1(Y) = (Yo, 1h,···, YN-d, respectively. The transmitted waveform for the rotated and interleaved system is given by N-J s(t) = Lx;g(t-iTs)cos(27rjA) ;=0 N-l + L y;g( t - iTs) sin(27r Jet), (2) i=O where g(t) = { 1, o :S t :S r; 0, otherwise, 70 T; is the symbol period and Je is the carrier frequency. As we have two orthogonal channels, let the squared Euclidean distances between two different signal constellation points in the 1 and Q-directions be represented by dj and cfQ, respectively. The distances are given as (cos(~,represents a zero-mean complex Gaussian process, in represents the phase shift that is introduced by the fading channel, Si is the transmitted symbol and ni are complex Gaussian ran- dom variables with zero mean and a variance of No/2 in each dimension. As CS! is available at the receiver, the phase shift, therefore, can be removed wi!hout anyerror. Thus after phase removal the received sample takes the form Ti = lailsi + Zi, where Zi = iI + ji? represents the complex white Gaussian noise. The received sequences î'I and î'Q are de-interleaved resulting in rI = 7]-l(î'I) and rQ = J.L-1(î'Q). The fading sequence a = (aO,al, ... ,QN-1) are also de-interleaved resulting in al = 7]-1(a) and aQ = J.L-l(a) . The receiver then performs a maximum likelihood (ML) detection. 3 Performance Analysis of U ncoded System over a Correlated Rayleigh Fading Channel The probability density function (pdf) of Rayleigh distribution is given as p(a) = i!e{ 2~02 }. The average envelope power is assumed to be E [a 2] = 2bo = 1. Hence, the pdf can be rewritten as (4) The joint pdf of two correlated Rayleigh random variables al and a2 separated by kJ ~ is given as [4] (5) where 1 Pk = p(kTs) 2"E{a*(t)a(t + kTs)} Jo(21f JDTsk), is the correlation coefficient with JoTs being the normalized Doppler frequency and and 1.1 represents the magnitude. Jo(.) and 10(,) represent the zero-order Bessel and modified Bessel functions, respectively. A standard approach of evaluating the error probability of a signal set S~'J is based on the union bound [5] and the average probability of symbol error P, is thus upper 71 bounded as r. < P s UB = ~I L L P(s -7 s), (6) SES~1 SES~/f sios where st! is the signal constellation of size Istll = M = 2ffi and P(s -7 s) is the pairwise error probability (PEP) that the receiver estimated when s was transmitted; è given that sand s are the only two signal constellation points under-consideration. The bound can be modified to evaluate the average bit error probability by considering the number of bits per symbol (m) and the mapping rule specifying the Hamming distance associated with each PEP calculation [6]. Let a(s, s) represent the Hamming distance between the sequences of bits of sand s under consideration. Then, Pb can be upper bounded as 1 Pb::; PbUB = m2m L L a(s, s)P(s -7 s). (7) SES~I sESX'I sio·s If we consider only the nearest neighbors, the Pb can be approximated as Pb"" p(;'N = _1_ '" '" a(s, s)P(s -7 s), (8) m m2 ~ ~ SES~'I sEN(s) where N( s) is the set of the nearest neighbors of s in S~d' In the literature, for convenience the calculation of PEP is also approximated by using bounds (e.g., Chernoff bound). We, on the other hand in the subsequent analysis, evaluate the exact PEP for MPSK constellations. Coordinate interleaving is employed so that the I and the Q- channels experience independent fades. Let al and a2 be Rayleigh distributed random variables with pdf given in equation (5). In order to calculate the average probability of error for a system employing coordinate interleaving, the conditional PEP needs to be averaged over al and a2: P(s -7 s) = 100 100 Q (V1(ald; + a~db)) p(aj,a2)dalda2, (9) where 1 = Eb/NO is the average SNR per bit and Q(x) is the Gaussian probability function defined as Q(x) = {OO ~e-y2/2dy, l; v 2'iT which can also be rewritten with a change of variables as [5] Q(x) = -1 'iT 10 7r / 2 _x2 e2'in2(,pld'ljJ. (10) Using (10) and (5) in (9) we have 72 Using the fact [7] that, 1 o zet, (2bxy) e-ax2 dx = e~, 00 a a> 0, b > ° in (ll) we have P(s --+ s) where 2sin2('ljJ) + 1'd~(1- p~) 2sin2('ljJ)p~ ) L ( 2 sin2('ljJ)(1 - p%) - (2 sin2('ljJ) + 1'd7(1 - pm (1 - p~) 4 4sin .('ljJ) + 41's~n2('ljJ) + 1'2d7d~(1 ,- p%)) . ( 2sm2('ljJ) (2sm2('ljJ) + 1'd7(1 - pm (13) Inserting L in (12), P(s --+ s) Solving and simplifying using the identities given in [7], we have P(s --+ s) = = where (16) 73 In the subsequent analysis, for simplicity and comparison with previous results in literature, we consider QPSK signal constellation as an example signal constellation from MPSK and also, we consider uncorrelated Rayleigh fading channel, i.e., Pk = O. Hence, under these conditions (15) reduces to 1 'Y(C-dJ) ) P(s -+ s) = 2 2+'Y(C-dJ) , (17) where C = dJ + db. The nearest neighbor (NN) approach is exact for a conventional QPSK system (Pb = ~(1- {£))[5,8]. Using (17) in (8) and with C = 2, PtN for Gray mapped signal constellation can be given as PbNN = 1 {(d2 2 'Y~I "1(2 - dJ) ) 4(dJ - 1) I - (2 + "(dj) (2 + "((2 - dJ)) -2 (1_ "1(2 - dJ) (2 + "1(2 - dm ) } . (18) Equation (18) is also reported in [3]. 4 Results NN Approach Using (18), PtN is calculated and compared with the simulation results. Figure 2 shows the PtN versus the rotation angle () at Eb/No = 15 dB for Gray mapped signal constellation. For () in the range ~ S ()S 3;, ptN matches the simulation results. However, outside this range there is a divergence from the simulation results. This divergence is due to the fact that ptN is an expurgated bound and not all the error events are considered. This also shows that for an SSD system, the NN approximation is not as tight as for a conventional QPSK system. Furthermore, the worst case scenario for an SSD system is when one branch has been completely removed, i.e., dJ or db = O. In such a case, (18) reduces to the average probability of bit error of a conventional QPSK system, i.e., P" = ~ (1 - {£), showing that the choice of the rotation angle plays a very vital role. U nion Bound Figure 3 shows the upper bound on the average probability of bit error performance calculated by using (17) in (7) and by simulation. The figure shows that the average probability of bit error is upper bounded by the union bound. Gray labeled QPSK signal constellation is used. The figure shows that the bound is tight. The optimum rotation angle is found to be () = 17.6°. SSD Benefit Figure 4 shows the comparison of Pb of conventional QPSK systems (Pb = ~ ( 1 - {£))with SSD systems (7). The simulation results are in good agreement with the closed form analytical expressions. The figure also shows a gain of 10.7 dB for an SSD system over a conventional QPSK system at a bit error rate of 3 x 10-4 with () = 17.6°. 74 -- 550 EQn {lal NN Appro ... -c-o-c-. SSOSimulation ~c~SSDEqn[7]lJjIpdrElou!d ...-...o--SSDsm..latim Figure 2: Average probability of error Figure 3: Average probability of error Pb and Pt' N versus rotational angle e of Pb and Pbu B versus rotational angle e of an SSD system using QPSK signal con- an SSD system using QPSK signal con- stellation over Rayleigh fading channel stellation over Rayleigh fading channel with perfect channel state information with perfect channel state information at Eb/No = 15 dB. Gray signal constel- at Eb/NO = 15 dB. Gray signal constel- lation mapping is used. lation mapping is used. 10' r---r---~--~--~--~-~ -+-- Con v. QPSK Q SSD Eqn 1719=45" --+- Simulation SSD e = o· -<>-SSD Eqn 1719= 17.6" t> Simulation SSD B = 17.6~ 10-60l_--~--1:':-O---1c':c5---:':20----:':25--_j30 Eb/NO [dB] Figure4: Average probability of error Pb of conventional and SSD systems using QPSK signal constellation over Rayleigh fading channels with perfect channel state inforrna- tion. Gray signal constellation mapping is used. 75 5 Conclusions In this paper, we have investigated the performance of a system employing signal space diversity. An expression for the union bound of Pb is derived for NIPSK signal constel- lations. It is shown that the Pb calculated in [3]is an expurgated bound. Furthermore, it is shown that the new derived bound is tight for the entire range of the constellation rotation angle at high SNR. Acknowledgement This work was supported by STW under McAT project DTC.6438. References [1] J. Boutros and E. Viterbo, "Signal space diversity: a power and bandwidth-efficient technique for the Rayleigh fading channel," IEEE Trans. Information Theory, vol. 44, no. 4, pp. 1453-1467, July 1998. [2] G. Taricco and E. Viterbo, "Performance of component interleaved signal sets for fading channels," lEE Electronics Letters, vol. 32, no. 13, pp. 1170-1172, April 1996. [3] S. B. Slimane, "An improved PSK scheme for fading channels," IEEE Trans. on Vehicular Tech., vol. 47, uo. 2, pp. 703-710, May 1998. [4] W. C. Jakes, Mieroumoe Mobile Communications. New York, NY: John Wiley & Sons, 1974. [5] M. K. Simon anel M. S. Alouini, Digital Communication over Fading Channels - A Unified Approach to Performance Analysis. New York, NY: John Wiley & Sons, 2000. [6] P. J. Lee, "Computation of the bit error rate of coherent M-ary PSK with Gray code bit mapping," IEEE Trans. on Comm., vol. 32, no. 5, pp. 488-491, May 1982. [7] M. Abramowitz and 1. A. Stegun, Handbook of Mathematical Functions. New York, NY: Dover Publications, 1972. [8] G. L. Stüber, Principles of Mobile communications-2nd ed. NorweIl, USA: Kluwer academic publishers, 2001. 76 Coded Modulation in the Frequency Domain Anil Mengi and A. J. Han Vinck Institute for Experimental Mathernaties Duisburg-Essen University Ellernstr. 29, D-45326 Essen, Germany Email: {mengi;vinck}@iem.uni-due.de Abstract This paper addresses the combination of coding and modulation to improve error- rate performance for channels, where the transmitters are output voltage and bandwidth limited. As a practical application, the low frequency range power line communications can be considered. We propose a bandwidth efficient concate- nated coding scheme with Reed Solomon coding in the outer stage and NI-level run length limited (RLL) coded M-ary frequency shift keying (M-ary FSK) mod- ulation in the inner stage. Our proposed system model has the following features: 1) The set of RLL coded FSK sequences used in the transmission is larger than what is required for the uncoded FSK transmission with the same information rate; the additional sequences allow redundancy for channel encoding without expanding the bandwidth. 2) The maximum-likelihood receiver is derived for the non-coherent lvI-ary FSK transmission over the memoryless additive white Class-A noise channel (AWCN). 3) We design and present look-ahead RLL codes with error correcting capabilities. 4) The proposed transmission has a constant signal envelope modulation, no bandwidth expansion and improved bit error rate performance. 1 Introduction On the fundamental level, coding for bandwidth limited channels has been a very dynamic research area, since multilevel coding and trellis-coded modulation were in- troduced and proven to be useful for bandwidth constrained channels [1]. The principle of coded modulation is the interpretation of coding and modulation as a single entity in order to achieve coding gain without increasing the bandwidth. In this paper, we apply the principle in a different way. Our coded modulation scheme is based on the concept of increasing the size of the set of FSK sequences used in the transmission and at the same time keeping the shortest frequency transition time of the modulation frequency unchanged. Since the bandwidth needed for the FSK modulation is mainly determined by the shortest time between the frequency changes, the additional sequences allow redundancy for channel encoding without sacrificing bandwidth. Our proposed scheme consists of a concatenated coding scheme with Reed-Solomen (RS) coding in the outer stage and NI-level RLL coded NI-ary FSK modulation in the inner stage. We address the data transmission for the channels, where the transmitters are output voltage and bandwidth limited. As a practical application, the low fr-equency range power line communications can be considered. i'vI-aryFSK modulation represents an attractive choice, where the transmission of only one frequency per time unit leads to a constant envelope signal [2]. The performance of the proposed scheme is investigated for the additive white Class-A noise (AWCN) channel, and the maximum-likelihood 77 (ML) receiver is derived. It is shown that the resulting transmission can be designed in such a way that it has a constant signal envelope modulation, no bandwidth expansion and an improved BER performance. The paper is organized as follows. In Section 2, we first define the NI-level RLL coded M-ary FSK modulation and describe the set expansion principle. This is fol- lowed by the definition of the RLL encoding algorithm using look-ahead technique and the RS-RLL concatenated coding scheme. Section 3 briefly reviews the Class-A noise model and describes the AWCN channel. In Subsection 3.2, we discuss the ML decoding rule for A\VCN channel. Section 4 addresses the BER performance of coded and uncoded transmission of concatenated coding scheme for the AvVGNand AWCN channels. Finally, Section 5 concludes the paper. 2 RLL Coded FSK MODULATION RLL coded FSK modulation is was first proposed in [3] as an efficient method to provide coding gain without any bandwidth expansion. The key point is to expand the set of FSK sequences without changing the shortest time between the frequency changes. This means that an increase in the data rate due to the channel coding can be compensated by the expansion of the sequence set. In this section, we discuss the proposed coded FSK modulation. We assume that in M-ary FSK, the NI frequencies are chosen in such a way that orthogonality is satisfied and non-coherent demodulation is possible. For a minimum transition time T between the frequencies, the approximate overall bandwidth can be defined as B = MIT [4]. 2.1 Set expansion principle A RLL block encoding with an efficiency of RRLL = qln maps a block of q binary information bits onto n NI-ary RLL code symbols such that each RLL sequence from the set satisfies the (d + 1) constraint. Here, (d + 1) indicates the minimum run of the same symbols. The parameter d can be used to increase the information transmission rate and to shape the spectrum. In RLL coded FSK modulation, the set of RLL coded FSK sequences used in the transmission is larger than what is required for the uncoded FSK transmission with the same information rate. It is therefore possible to allow redundancy to provide additional coding gain without sacrificing bandwidth. As an example, let us assume a 2-FSK block transmission with a block transmission time T. We consider two cases: (i) Without RLL coding, in a time interval T, we can transmit L = TIT information bits, where T denotes the shortest time between frequency changes. This corresponds to the set of 2T/ block waveforms, which is illustrated in Fig. las the first set. T (ii) We now apply RLL encoding with an efficiency of RRLL. The sarne time interval T is partitioned into RLL symbols with duration T'. This corresponds to the set of 2TRRLL/T' block waveforms for L information bits, which is illustrated in Fig. las the whole set. Since the bandwidth needed for the FSK transmission can be mainly determined by the shortest time between frequency changes, we choose T' = Cd:l)' where (d + 1) indicates the minimum run of the same symbols in the RLL transmission. Thus, a number of T· RRLL . (d + l)IT input symbols can be mapped onto the set of 2TRRLdd+l)/T block waveforms. For RRLL . (d + 1) > 1, we expand the set of FSK sequences. This means that for the same information rate per block transmission, we can additionally allow ~(RRLL' (d+ 1)-1) redundancy symbols to provide coding gain in the same bandwidth. Based on the above result, we conclude that in NI-ary FSK block transmission, the 78 , : : : , 2~ T ---:----:----:---- : : l , ,, '' ,, ___ , ' L , ' ' , , _ , , ' , T (time) Figure 1: Binary waveforms of a set of RLL coded sequences. system should be designed such that RRLL . (d + 1) 2' I092(M). (1) 2.2 RLL encoding algorithm using look-ahead technique In this work, we are interested in encoders that employ look-ahead techniques to transform source words into codewords. This technique was investigated in the lit- erature [5], [6] and [7]. In general, look-ahead encoding is done as a function of not only the present anel past inputs, but also of a finite number of inputs yet to come. Depending on the observed input, one of the alternative codeword is chosen from the code table. As a consequence, the codewords can be decoded independently, which does not lead to an error propagation between the decoded codewords. To better un- derstand the look-ahead principle, consider the following simple RLL encoder. Examplel: A rate RRLL = 3/5 one symbol look-ahead RLL code with a (d + 1 = 2) constraint is shown in Table 2. Table 1: Code table for the RLL(d + 1 = 2) Source 0 1 2 3 4 5 6 7 Code 00011 00111 11000 11100 00001 11110 01111 10000 00110 11001 10011 01100 Table 1 lists the encoding procedure for the eight source words of 3 bits. The first four source words are uniquely represented by a single codeword. The remaining source words are represented by two codewords. The choice depends on the last sent channel bit and the upcoming source word. It can easily be verified that these codewords can be concatenated without violating the runlength constraint. In this work, we consider a finite look-ahead code construction method based on principal state-sets which was covered in [6]. One advantage of this method is that verification of even a large code is relatively simple. Apart from the existing results, we construct efficient codes with minimum distance larger than 1. 79 2.3 RS-RLL Concatenated Coding Scheme To improve the system performance, we investigate the concatenation of a RS code with the RLL code, see Fig. 2. In this case, the number of bits per RS symbol is chosen as the length of the input block of the RLL encoding. Accordingly, using a subset of the RLL codes that has the property of having minimum distance dmin > 1 between codewords, soft decision RLL decoding can be used. The overall performance of the system depends on the minimum distances of the RLL codes and the RS code. To avoid bandwidth expansion, the efficiency parameters should be chosen such that RRS . RRLL . (d + 1) :;:.1092(M), where RRS is the efficiency of the RS code. It can be seen from Table 2 that RLL codes with larger values of dmin can be obtained at the expense of a lower error correction capability of the RS code. The RLL decoding error probability depends on dmin and d + l. Since exactly calculating the decoding error probability P; is a difficult task, we consider the union bound. Hence, r; := P(cl =1= C) < L P(c) L P(c _, Cl), (2) eEG eEG,e'/,c where P( c) is the probability that the RLL codeword c is transmitted, and P( c _, Cl) is referred to as the PEP. The PEP is the probability that, in the decision between c E C and Cl E C, Cl is erroneously decoded given that c was transmitted. We assume that every RLL codeword cE C is transmitted equally likely with the probability P(c) = l/ICI. For simplicity, we assume RLL coded coherent 2-FSK transmission over the AWGN channel. Using the fact that the codewords with minimum distance have the highest error probability, we get the error probability of the system dmin Eb) (3) (d+1)2No· From (3), it follows that the error probability depends on the parameters dmin and the (d + 1) of the RLL code. The loss due to the parameter d can be compensated for by using dmin :;:. (d + 1). However, to find this combination needs an exhaustive search among constructed candidate RLL codes. Table 2 lists constructed RLL codes with related parameters. We also added the capacity, C(d + 1) that upper bounds the efficiency ot !{LL codes tor a gi ven constramt (d + 1). 3 Channel Model and Receiver Structure For a transmitted M-ary code symbol Ck at time instant k, the real and the imaginary part of the non-coherent correlator outputs at the respective frequencies are Tt,k,Q ~ cos cf; + gt,k,Q + it,k,Q, (4) Tt,k,I .;e:;, sin cf; + gl,k,l + it,k'!, (5) where l E {O,1, ... , M - 1} and El,k denotes the transmitted signal energy per code symbol. Hence, El,k = E when I = Ck and EI,A: = 0, otherwise. The phase shift cf; is assumed to be constant over a block of length ti. Figure 2: RS code as the outer code and a RLL code as the inner code. 80 Table 2: Constructed RLL codes for RRS . RRLL . (d + 1) = log2(NI) M-ary RLL (d + 1) RRLL dmin C(d + 1) RRS binary 2 8/12=0.66 1 0.69 191/255 binary 2 8/14=0.57 2 0.69 223/255 binary 2 9/18=0.5 3 0.69 - binary 3 8/15=0.53 1 0.55 159/255 binary 3 8/17=0.47 2 0.55 181/255 binary 3 8/21=0.38 3 0.55 223/255 binary 3 6/18=0.33 4 0.55 - binary 4 6/20=0.3 4 0.46 53/63 ternary 2 10/11=0.90 1 1 0.87 ternary 2 10/12=0.83 2 1 0.95 quaternary 2 11/10=1.1 2 l.2 0.91 3.1 Impulsive Noise Channel Model As a practical application, the low frequency range power line communications can be considered, where the data transmission is corrupted by the impulsive noise and the background noise. The AWCN channel model has been introduced to cover the presence of both impulsive and Gaussian noise. In (4) and (5), the gl,k,Q and gl,k,J are the real and imaginary part of the independent and identically distributed (i.i.d.) zero-mean complex Gaussian random variables with variance u; and probability density function (PDF) 1 IxI2 P9'.k(X) = -2 p =:2 ex (--2 u 2)' g The complex impulsive noise symbols il,k are also i.i.d. with PDF given by Middleton's Class A noise model [8] (6) where 0(.) is the Dirac function, A is the impulsive noise index, m is the channel state and u;' is the variance of the noise in state m. The variance where ul is the impulsive noise variance for a particular channel. The channel is assumed to be memoryless. In the case of m = 0, only Gaussian background noise is present with a variance 2 u;. In state m, the total noise variance is given as U;ys = Ug + um2 · 81 3.2 The Maximum Likelihood (ML) Decoding Rule The decoding of the RLL codeword is based on the received vector T = (Tl,O, ... , Tl,n-I) and the channel state information m = (mo, ..., mn-I), where tru; is the channel state while transmitting the code symbol ei; The receiver chooses the codeword C which maximizes p(Tlc, m) given m, i.e., ML decoding rule. As the channel is memoryless, it holds that J IT 2"n_1 m~p(Tlc, m) = m~x p(Thlck, mA, ifJ)p(ifJ )difJ, (7) o k=O where we assume that the phase shift stays sufficiently constant in the interval 0 <:::: (P <:::: 27r for a block length n, The joint PDF of Tk = [TO,k,Q TO,k,!' .. TM-I,k,Q TM-I,k,!] may be expressed as a product of the marginal PDFs. Consequently, using (4, 5) P(r.,ICk,mk,4» =p(TCk,k,{Q,I}lck,mk,4» IT p(Tc~,k,{Q,l}lck,md, (8) C~#Ck given that the symbol c~ was not transmitted. We neglect all factors independent of the codeword C since they do not affect the maximization. Rewriting the resulting expression in terms of logarithms and using the approximation Io(x) = exp(x2/4) show that ML decoding is equivalent to choosing the codeword which maximizes the decoding metric cp(c) = n-l Lr~~k,Q ) 2 + (n-lL T;;k,[ )2 . (9) ( k=O mk k=O 7nk 3.3 Estimation of channel state information (CS!) The ML metric as given in (9) assumes that the channel state vector m = (mo, ..., mn-I) is already known at the receiver. This section discusses the estimation of the CSI based on the output of the correlators. Since the real and the imaginary part of the impulsive noise have the same variance and PDP, the estimation unit calculates M-I R= L (Tl,Q + jTl,1), (10) l=O where R is the complex value which is the sum of all JvI-ary FSK correlal.or outputs for one symbol observation. The variance and the mean of R are independent of which symbol was transmitted, and they can be calculated as M O';yS and IE, respectively. Thus, to estimate the channel state, the following metric can be used (11) where amk = e-A Amk /mk! and O';YSmk = O';;'k + 0';. In (11), we restrict the number of states to 3, which is a good approximation for a small impulsive index A. 82 (a) (b) 10',---~----r--';============il _ uncoded 2-FSK +RS(255.159)-RLL dmin=1 RS coded 3-ary RLL(d+1::1:2) with dm1n=2, 3-FSK +- RS(255, 181 )-RLL dmin =2 RS coded 2~ary RLL(d+1=3) ~ RS(255.223)-RLl dmin =3 with dmi" =3, 2-FSK ~RLLdmln=4 cc '" UJ CD UJ CD 10-'6~---:-------7---'L_9:-'--~--'----77-~ SBNR (dB) Figure 3: (a) RS-RLL coded 2-FSI< with varying dmin for the AWGN channel. (b) M-ary RLL coded M-FSK with RS coding for the AWGN channel. 4 Simulation Results and Discussion In this section, simulation results are presented. For all figures, the decoding BER is plotted as a function of the signal-to-Gaussian background noise ratio, SEN R. The RS and RLL efficiencies are chosen according to Table 2. For the simulations over the AWCN channel, the impulsive noise duration is chosen as T', one RLL symbol duration. Fig. 3 (a) depicts the simulation results only for the AWGN channel. It is apparent that the concatenation of RS and RLL coding has a significant advantage over the uncoded 2-FSK without causing any bandwidth expansion. The improvement achieved by the proposed system is 5 dB at BER of 10-5. Large coding gains are obtained by using a RLL code as an inner ECC, which can apply soft decision decoding. It shows the importance of the property that the RLL code has a minimum distance. The RS(255,223)-RLL(d + 1 = 3) with dmin = 3 has the best performance. The RLL code corrects single bit errors, whereas the RS code corrects the remaining symbol errors. Fig. 3 (b) illustrates the BER performance ofthe M-ary RLL coded M-FSK systems for the AWGN channel. Note that, the bandwidth efficiency (bits/s/Hz) of the FSI< signals is the same for all curves. As expected, the 4-ary RLL coded FSK system outperforms the binary and the ternary coded FSI< systems. In Fig. 4 (a), a significant improvement can be observed by CS! estimation. The AWCN performance with CSI estimation follows the AWGN performance up to about 10 dB. In the region between 15-35 dB, the BER increases as the SBNR increases. This is due to the fact that, for increasing SBNR, the impulsive noise can be hardly distinguished, i.e., the estimator loses more and more information about the channel state and therefore approaches the performance of the receiver without CS!. Fig. 4 (b) shows the performance of the RS-RLL coded 2-FSK system for the AWCN channel. As a lower bound, the curves for the AWGN channel are also presented. Since impulsive noise is expected to occur in every block, a large dmin is important. Therefore, RLL coding with dmin = 3 can provide large coding gains without expanding the bandwidth. At a BER of 10-4, we can observe only a 1 dB gap from the AWGN channel performance. 83 (a) (b) 10' 10-1 '"cc W 10-4 10-'5 10 15 20 25 30 35 40 10-'5 8 9 12 SBNR (dB) SBNR(dB) Figure 4: (a) Uncoded block-wise noncoherent 2-FSK detection for the AWCN channel (A = 0.1, CJ;/CJ; = 10-3). (b) RS-RLL(d+1=3) coded 2-FSK modulation with varying dmin for the AWCN channel. The efficiencies are chosen according to Table 2. 5 Conclusion We investigated a bandwidth efficient RS-RLL concatenated coding scheme for the M- ary FSK modulation. As an application, we considered low frequency PLC, where the transmitters are output voltage and bandwidth limited. Our proposed system model has the following advantages: 1) High coding gains are achieved without expanding the transmission bandwidth. 2) The derivation of the receiver structure using the Mid- dleton Class-A model is given, and it was shown that by estimating the channel state information, performance improvement can be obtained. 3) The proposed transmission has a constant signal envelope modulation and improved BER performance. References [1] G. D. Forney, G. Ungerboeck, "Modulation and coding for linear Gaussian chan- nels," IEEE Trans. Inform. Theory, vol. 44, No. 6, pp. 2384-2415, Oct. 1998. [2] A. J. H. Vinck, "Coded modulation for power-line communications," AEU Inter- national Journalof Electranies and Communications, vol. 54, 2000, pp. 45-49. [3] A. Mengi, A. J. H. Vinck, "Coded frequency modulation with RLL sequences for CENELEC band applications," in Proc. Int. Symp. Power Line Communications (ISPLC), Pisa, Italy, March 2007, pp. 133-137. [4] M. Schwartz, Information, Tromsmission, Modulation, and Noise. McGraw-Hill Pub. Company, New York, U.S.A., 4th ed., 1990. [5] P. A. Franaszek, "On future-dependent block coding for input-restricted channels," IBM J. Res. develop., vol. 23, pp. 75-81, 1979. [6] H. D. L. Hollmann, "A block-decodable (1,8) runlength-limited rate 8/12 code," IEEE Trans. Inform. Theory, vol. 40, pp. 1292-1296, July 1994. [7] K. A. S. Immink, Codes for Mass Data Storage Systems. Shannon Foundation, Eindhoven, the Netherlands, 2004. [8] D. Middleton, "Canonical and quasi-canonical probability models of Class A in- terference," IEEE Trans. Electromagn. Compat., vol. 25, No. 2, pp. 76-106, May 1983. 84 Energy Benefit of Network Coding for Multiple Unicast in Wireless Networks Jasper Goseling Jos H. Weber IRCTR/CWPC, WMC Group IRCTR/CWPC, WMC Group Delft University of Technology Delft University of Technology The Netherlands The Netherlands j.goseling@tudelft.nl j.h.weber@tudelft.nl Abstract We show that the maximum possible energy benefit of network coding for mul- tiple unicast on wireless networks is at least 3. This improves the previously known lower bound of 2.4 from [1]. 1 Introduction Traditional routing solutions for communication networks keep independent streams of data separate. The idea of network coding is to allow nodes in the network to combine independent data streams. Some of the benefits of network coding that have been demonstrated are increased throughput, reduced resource consumption and increased security, see e.g. [2] and the references therein. Our interest is in the reduction in energy consumption in wireless networks offered by network coding. The potentialof network coding to reduce energy consumption is demonstrated using the example given in Figures 1 and 2 in which nodes A and C need to exchange bits x and y. Figure 1 shows a routing solution using 4 transmissions, which is the minimum possible number if only routing is allowed. One can observe that in this case transmissions CD and ® are useful only to nodes C and A, respectively. The network coding solution from Figure 2 uses 3 transmissions. Network coding allows transmission ® to be useful for both A and C, increasing efficiency. Without network coding 4 transmissions are required, whereas the network coding solution uses 3 transmissions. We say that for this example the energy benefit of network coding is ~. The energy benefit of network coding depends on the network topology and the traffic pattern. One can e.g. show that the network obtained by extending the network '.• .. A B C A B C • x CD • • x ' • • x • .' • • y • .' • y ® y • • . ' x+y • ® ' x+y . ' Figure 1: Routing solution exchanging Figure 2: Network coding solution. bits x and y between nodes A and C. Transmission ® is useful for both A Transmissions CD and ® are only useful and C. The benefit of network coding to nodes C and A respectively. for this configuration is ~. 85 hom the previous example to a network of many nodes on a line, allows network coding to reduce energy consumption by a factor 2. This example was first presented in [3], where the network coding benefits w.r.t. throughput where discussed, the energy benefit, however, follows easily. It was shown in [1] that there exist networks for which this factor is 2.4. Our aim is to find the maximum possible energy benefit that network coding can offer for multiple unicast traffic in wireless networks. The contribution in this work is a new lower bound of 3 to this benefit. In Section 2 we define the network and traffic model that we use and state our problem more precisely. An overview of known results in the literature is given in Section 3 after which we present our result in Section 4. Section 5 is used to prove this result. Section 6 provides a discussion on the obtained results and possible future work. 2 Model and Problem Statement Time is slotted. To simplify notation in Section 5 we allow nodes to transmit more than once in each time slot. Alternatively we could have rescaled time such that only one transmission from each node occurs in a time slot. All transmissions in the network are broadcasts, i.e. transmisslons are received by all neighbours. The neighbours of a node are all other nodes in the network that are within a transmission range that is equal and fixed for all nodes in the network. Transmission is noiseless, no errors occur and there is no interference at the re- ceivers. Although interference does occur in realistic networks, we do not take it into account here. If interference would be part of the model, not all nodes could transmit in the same time slot, at the expense of the throughput, but the number of transmissions that is required would be the same. Since we are not interested in throughput, but only in energy consumption in the network, we do not take interference into account. The traffic pattern that we consider is multiple unicast. All symbols are from the field lF2, i.e. they are bits and addition corresponds to the xor operatien. The source of each unicast connection has a sequence of source symbols that need to be delivered to the corrospondinz receiver. For a source x, e.g., we have x = [. x(t - 1) x(t) x(t + 1) l, with x(t) = 0, for t s: O. We call a network together with a set of unicast connections a configuration. We are interested in the energy consumption in the network, which we define as the average over time of the number of transmissions used to deliver one symbol from each unicast connection. The energy benefit of network coding for a configuration is defined as the ratio of the minimum energy consumption of any routing solution and the minimum energy consumption of any network coding solution, i.e. minimum energy consumption of energy benefit of network coding for a any routing solution wireless multiple unicast configuration minimum energy consumption of" any network coding solution In this paper we will refer to this ratio as the energy benefit of network coding, or simply as the benefit of network coding. 86 S(X2) •• f----~.t_--~ ••• R(X2) S(Xl) •• f----~.,_--~. __--- .•• R(xtl Figure 3: Network with nodes posi- Figure 4: Sources SC) and receivers tioned at hexagonal lattice. Each edge R(·) for first set of unicast connections of the network consists of J( nodes. defined on the network from Figure 3. 3 Previous Work The best known lower bound on the maximum energy benefit of network coding over all possible configurations is 2.4 [1]. The network code that was constructed to show this lower bound, satisfies the property that data symbols transmitted by a node are lineal"combinations only of source symbols that have been successfully decoded by that node. The rationale behind this is that in this way information in the network can be constrained to the neighbourhood of the path between the source and destination of the corresponding unicast session, a network code design heuristic that was introduced in [4]. In [5] it was shown that for random networks the energy benefit of network codes satisfying the above property is upper bounded by 3. It is not known if 3 is also an upper bound on the energy benefit of arbitrary network codes on arbitrary configurations, that is allowing codes that do not satisfy the above property on networks with arbitrary topology and traffic requirements. In this work we present a new lower bound on the energy benefit of network coding. In the network code that we construct, nodes transmit linear combinations of data symbols, for which the corresponding source symbols have not necessarily been decoded by these nodes. Our code therefore does not satisfy the above property. 4 Result '-IVepresent a result that is based on the configuration that consists of the network in which the nodes are located on the hexagonal lattice with connectivity as depicted in Figure 3, together with the unicast sessions that are depicted in Figures 4, 5 and 6. The figures depict a network with 4 nodes on each edge and 4 unicast sessions of each type, i.e. Xi, Yi and Zi, i = 1, ... ,4. In general, we will consider networks with J( nodes on the network edges and J( sessions of each type. The network topology that we consider is equal to the one used in [1]. Our traffic pattern, however, is slightly different. We discuss this in more detail in Section 6. Lemma 1. The minimum energy cotisumption of any muting solution for the config- uration from Figures 3-6 is 3(~) . Proo]. In the minimum cost routing solution, symbols from each unicast connection follows the shortest route from source to receiver, as depicted in Figures 4 - 6. 0 87 S(YI) S(Ya) R(Z3) R(Yl) R(Y2) I R(W) \ S(z,,) Figure 5: Second set of unicast con- Figure 6: Third set of unicast connec- nections defined on the network from tions defined on the network from Fig- Figure 3. ure 3. Lemma 2. For the configuration from Figures 3-6 there exists a netsnork coding solu- tion that has energy consumption 3(~1)~ 2(K;-2). We will prove Lemma 2 in Section 5 by constructing a network code that achieves this bound. The next theorem states our main result. Theorem 3. There exist multiple usucast unreless netuiorks for which netsnork coding ofJeTs an energy benefit of 3. Proof. The result follows from Lemmas 1 and 2 by taking the limit of K to infinity, i.e. o 5 Network Code Construction In this section we construct a network code for which the energy consumption is ac- cording to Lemma 2. We first introduce some notation. Let i-I :i,;;(t) = LXi-T(t ~ T), T=O i E {1, ... , K},with f}j(t) and Zk(t) defined similarly. Also, let A[P], B[P], ... ,P[P] be the neighbours of a node P as depicted in Figure 7. The code is defined by the following properties: 1. The data symbols transmitted by nodes are linear combinations of information symbols of the form where t E N+ is the time slot and bx, by, bz E Nand i,j, k E {l, ... , K} are per node constants, i.e. they may be different for each node, but are the same for all symbols transmitted by a specific node. 88 • j=1. "y=O • AlP] • RIP] • • • FIP] • P .eIP] • • • • ElP] • DIP] • i=l, óx=O • • • k=l. ".=0 Figure 7: The neighbours of a node P. Figure 8: Values for i, j, k, bx, by and bz for some nodes in the network. Re- maining values follow from (1). 2. Let P(t) = Xi(t - bx) + ih(t - by) + Zk(t - bz) be the symbol sent by node P in time slot t. The symbols transmitted by its neighbours in that same time slot are A[P](t) Xi+l(t - bx) + Yj_l(t-by+l) + Zk(t - bz - 1), B[P](t) - 1) X·i+ 1(t - 15.'1: + Yj(t-by+l) + Zk-L(t - bz), C[P](t) Xi(t - bx - 1) + Yj+l(t - by) + Zk-l(t - bz + 1), (1) D[P](t) Xi-l(t - bx) + Yj+l(t - by - 1) + Zk(t - bz + 1), E[P](t) Xi-l(t - bx + 1) + Yj(t - by - 1) + Zk+l(t - bz), F[P](t) Xi(t - bx + 1) + Yj_l(t-by) + Zk+l(t - bz - 1). 3. The exception to the above two rules comes from all nodes that are at an edge or corner of the network. These nodes transmit three data symbols in each time slot. H (1) dictates that a node should transmit P(t) = xi(t-bx)+Yj(t-by)+zk(t-bz), and the node is at an edge or corner, it transmits three different symbols: Px(t) = Xi(t - bx), Py(t) = Yj(t - by) and Pz(t) = Zk(t - bz). For notational convenience later on let (2) Note that P(t) is not actually transmitted by nodes at edges or corners of the network, but only a notational shortcut. 4. Let R be the receiver of source Zk, i.e. R is a node on the left edge of the network. Suppose that in time slot t, R transmits Rz(t) = zk(t-bz). In that same time slot node R decodes source symbol zk(t-bz). This implies that, after time slot bz, one source symbol from Zk is decoded each time slot. Similar decoding procedures are used at all other receivers. 5. The only thing that remains to be specified is the value of i, i, k, bx, by and bz for all nodes. We only specify some values at the corners of the network. These are given in Figure 8. The remaining values follow from (1). We need to show that the scheme is valid, i.e. that all nodes are able to produce the required linear combinations and that all receivers are able to decode. We need to analyze different cases, depending on the location of the node. We distinguish between nodes that are at corners of the network, at edges of the network and the remaining 89 nodes, which we refer to as internal nodes. Since our construction is symmetric and homogeneous we will consider only the node in the top corner, an arbitrary node at the left edge, and an arbitrary internal node. Claim 1. Let P be any internal node. The symbol P(t + 1) transmitted by P in time slot t + 1 satisfies P(t + 1) = A[P](t - 1) + B[P](t)+ C[P](t - 1) + D[P](t) + E[P](t - 1) + F[P](t) + P(t - 2). (3) A[P](t - 1) + B[P](t) = yj(t - 5y + 1) + Zk(t - 5z - 2) + Zk-l(t - 5z). C[P](t - 1) + D[P](t) = Xi(t - 5x - 2) + Xi-l(t - 5x) + Zk(t - 5z + 1). E[P](t - 1) + F[P](t) = Xi(t - 5x + 1) + fij(t - 5y - 2) + fij-l(t - 5y). The result follows from Xi(t - 5x + 1) = Xi(t - 5x + 1) + .1:i-1(t - 5x) and equivalent relations for fij(t - 5y + 1) and Zk(t - 5z + 1). Note that if some of P's neighbours are on the border of the network we require (2). D Claim 2. Let Q be any node on the left edge ofthe network. Assume Qx(t) = x,(t-5x)' The symbols transmitted by Q in time slot t + 1 satisfy Qx(t + 1) = Xi(t + 1 - 5x) + E[Q]",(t - 1), (4) Qy(t + 1) = B[Q]y(t) (5) and Qz(t + 1) = B[Q]z(t) + C[Q](t - 1) + D[Q](t)+ E[Q]x(t - 1) + Qx(t - 2). (6) Proof. Assume that Qy(t) = fij(t - 5y) and Qz(t) = Zk(t - 5z). Since Q is on the left edge of the network it has only neighbours B[Q], C[Q], D[Q] and E[Q]. Noting that Xi(t + 1 - 5x) is available as a source symbol, the relations for Qx(t + 1) and Qy(t + 1) are readily verified. For Q z (t + 1) we consider C[Q](t - 1) + D[Q](t) = Xi(t - 5x - 2) + Xi-1(t - 5x) + Zk(t - 5z + 1) and note that B[Q]z(t) = Zk-1(t - 52) and E[Q]x(t - 1) = Xi-1(t - 5x). D Claim 3. Let R be the node in the top corner of the network. The symbols transmitted by R in time slot t + 1 satisfy Rx(t + 1) = x[{(t + 2 - K) + E[Q]x(t - 1), (7) Ry(t + 1) = Yl(t + 1) (8) and Rz(t + 1) = Dz[R](t). (9) 90 Proof. Note that from (1) and Figure 8 it follows that for R: i = K, j = 1, bx = K -1 and by = O. The proof of (7) is equivalent to the proof of (4). Relations (8) and (9) can be easily verified. 0 Proof of Lemma 2. First we need to prove that the scheme is valid. From Claims 1 - 3 it follows that all nodes can produce the required linear combinations of symbols to transmit. We also need to show that source symbols can be decoded. Consider node Q on the left edge of the network that is the receiver of Zk· Suppose that in time slot t it transmits Qz(t) = Zk(t - bz). It can recover Zk(t - bz) as Node R in the top corner does not have a neighbour B[R], but it needs to decode Zl(t - bz) for which Zl(t - bz) = Rz(t) = Zl(t - bz). The contributions to the energy consumption are 1 for each of the C<;-2) internal nodes and 3 for each of the (I< ~l) - (J< ;-2) nodes at the border of the network. 0 6 Discussion We have shown that the energy benefit of network coding for multiple unicast in wireless networks is at least 3. The network topology that we use in our constructive proof is the same as used in [1] in which a lower bound of 2.4 was obtained. The difference is in the traffic pattern used. In [1] the number of unicast sessions is smaller than considered in this paper. It is mentioned in [1] that for the number of unicast sessions used in this paper there does not seem to be a valid network code for which: 1) internal nodes in the network transmit only once per decoded source symbol and 2) data symbols transmitted by a node are linear combinations only of source symbols that have been successfully decoded by that node, i.e. satisfying the property discussed in Section 3. We have obtained a valid code satisfying 1), but not 2). It is not known if a code satisfying both properties exists. The only known upper bound to the energy benefit of network coding for multiple unicast in wireless networks comes from [5], in which only a restricted class of network codes is considered. It is an open problem to find general upper bounds. References [1] M. Effros, T. Ho, and S. Kim, "A tiling approach to network code design for wireless networks," in IEEE Information Theory Workshop, 2006, pp. 62-66. [2] C. Fragouli, J. Widmer, and J.-Y. Le Boudec, "Network coding: an instant primer," ACM SIGCOMM Computer Communication Review, vol. 36, no. 1, pp. 63-68, 2006. [3] Y. Wu, P. A. Chou, and S.-Y. Kung, "Information exchange in wireless networks with network coding and physical-layer broadcast," Microsoft Research, Tech. Rep. MSR-TR-2004-78, 2004. [4] S. Katti, H. Rahul, W. Hu, D. Katabi, M. Médard, and J. Crowcroft, "XORs in the air: practical wireless network coding," in Proc. of ACM SIGCOMM, 2006, pp. 243-254. [5] J. Liu, D. Goeckel, and D. Towsley, "Bounds on the gain of network coding and broadcasting in wireless networks," in Proc. of IEEE INFOCOM, 2007, pp. 6-12. 91 Quantization Effects in OFDM Systems Xiaoying Shao and Cornelis H. Slump University of Twente Fac. EEMCS, Signal and Systems Group P.O. Box 217, 7500AE Enschede, The Netherlands {x.shao, c.h.slump }@ewi.utwente.nl Abstract The advantage of using orthogonal frequency division multiplexing (OFDM) over the single-carrier modulation is its ability to mitigate interference and fading without complex equalization filters in the receiver [1]. OFDM systems have a high peak-to-average ratio (PAPR) which results in a high requirement for the resolution of AD convorters. High-resolution AD converters are therefore widely used in OFDM receivers. However, the power consumption is proportional to the resolution of the AD converters. In this paper we investigate the quantization effects in OFDM systems. Quantization is a nonlinear function which happens in the time domain, so the quantization effect in the frequency domain (important for OFDM) is not simple. Here, we derive a model for the quantization effect in the frequency domain. Further, we investigate whether it is possible to ap- ply low-resolution AD converters in reliable communications based on OFDM. Simulations with an AWGN channel reveal that the proposed model predicts the quantization noise in the frequency domain very well. Difference in CT~ between simulation outcomes and our model is less than 0.6%. Also, simulations show that 5-bits AD resolution is required for OFDM communication over an AWGN channel. 1 Introduction OFDM has become a popular scheme for recent WLAN standards which operate at high bit rate [4]. The main advantage of OF DM over the single-carrier scheme is its ability to eliminate inter-symbol interference (ISI) without complex equalization filters in the receiver [1]. OFDM has a high requirement for the resolution of analog-to- digital (AD) converters. The design of conventional OFDM systems does not need to take quantization effects into account, because a large number of quantization levels is used. In this case, the quantization effect can be neglected. However, for e.g. mobile communication systems the power consumption at the receiver is proportional to the resolution of AD converters. Hence, it is of interest to investigate the quantization effect for OFDM systems and see whether we can quantize OFDM signals with a low number of quantization levels. If we can lower the resolution of AD converters, the receivers will consume less power. In [2], we have studied this problem for single-carrier systems from an information theoretical point of view. In the present paper, we analyze the quantization effect in the OFDM systems from a statistical point of view. We investigate the statistical model of quantization effects in the subcarrier. The main questions we want to answer are as follows. Can we find the probability density function (PDF) of the quantization 93 Figure 1: System model showing the transmission over one subchannel in the OFDM system with ideal synchronization noise in the frequency domain? If we wish to transmit reliably at a rate of R bits/use over each subcarrier, do we actually need many more than R quantization bits? In this paper, we show that the quantization noise in each sub carrier can be modeled as a Gaussian noise with zero-mean and a variance which can be derived mathematically. Besides, we design an optimum quantization scheme by using a limited number of quantization levels. In this paper, we use a mid-rising uniform quantization scheme. The organization of this paper is as follows. Our system model is presented in section 2. We name the combination of the channel and AD converters as a quantized channel. In section 3, we derive the statistical model of the quantized subchannel in the OFDM systems. The design of the optimum uniform quantization scheme will be described in section 4. We show the simulation results in section 5. Conclusions are drawn in section 6. 2 System Model Let us first introduce the system model as shown in figure l. In the system, Xk is the symbol to be transmitted over the k-th subchannel, x, is the n-th transmitted symbol in the time domain, rn is the n-th received symbol in the time domain, Yn is the n-th quantized symbol and Y k is the received signalover the k-th subchannel. We denote N as the number of subcarriers and Nq as the number of quantization levels. In this section, we assume the channel is noiseless which means that the received symbol ril equals to the transmitted symbol Xn. Every block of complex symbols trans- mitted over N sub carriers is denoted by: To communicate over this quantized channel, we map a sequence of d binary digits into one of M = 2d symbols defined as: sm=q,(bo,··· ,bd-I) m=O,I,··· ,M-l (1) where (ba, ... , bel-I) are the binary digits and q, Üi defined as: q, : GF(2)eI ---+ lR (2) We refer to q, as the modulation map and it defines the signal constellation S: S = {sm E lR: Sill = q,(bo,··· , bd-I)} (3) We select two Sm from S as 9'\e{Xd and :Jm{Xd respectively to construct Xk by : (4) which tells that X, is mapped from a sequence of 2d binary digits. The modula- tion scheme that map 2d bits into one of 22e1 complex constellation symbols is called Quadrature Amplitude Modulation (QAM) [5]. 94 By taking the inverse discrete Fourier transform (IDFT) of X, we have the trans- mitted symbols in the time domain expressed as [1]: N-l Xn 1 ~X = yIN 20 e k j~kn N n = 0,1, ... , N - 1 (5) According to the 802.11a standard [4], x., is transmitted at a rate of 20 MSPS (mega samples per second). After the transmission over the channel, the real part and imag- inary part of x., are sampled at a sampling rate of 20 MHz assuming that there is no adjacent interference and the synchronization is perfect in the baseband. Then, they are quantized by quantizers respectively and we have: Yn = Q(SJte{xn}) + jQ(Jm{xn}) (6) We refer Q as the quatitization map and is defined as: (7) where ZEN and represents the output of the quantizer. A quantization map is surjective and Q also defines an inverse quantization map which is defined as the set function Q-I: (8) We restrict ourselves to quantizers where each Q-l(i) is of the form Ij = (a, b] for a, b ERIn this case {Ij} partitions IR and the quantizer is defined by the set of intervals {Ij}. The quantization mapping function Q can also be expressed as: y = Q(x) = x +n (9) where n E IR is called as the quantization noise. The quantization function is a non- linear- function and the quantization noise is signal-dependent. (6) can be rewritten as: Yn = x., + nil (10) where the quantization noise n, E te and its real and imaginary part are independent identical distributed (i.i.d.). The quantized outputs are transformed back into the frequency domain by the discrete Fourier transform (DFT) [1]: (11) where Nk is the quantization noise in the frequency domain. In other words, it shows the quantization effect of the OFDM systems. 95 3 Statistics Analysis Because the quantization noise is signal-dependent we first analyze the statistical char- acteristic of the quantizer input Xn. We assume: o (12) 1 (13) The elements in vector X are mutual independent and identically distributed. According to the central limit theorem [3], the sum of a sequence of independent, identically distributed random variables tends to be Gaussuni distributed, so the PDF of x., can be defined as: (14) x, is complex number but the quantization happens in each dimension. 16 subcarriers are already enough to approximate the PDF of x., as a Gaussian PDF. Since the real and imaginary part of x, are independent and identical distributed, we just analyze the real part of x., which can be approximated as Gaussian distributed with zero-mean and a variance of ~: (15) as shown in figure 2. As we mentioned before, the quantization noise is signal-dependent which means the PDF of the quantization noise depends on the PDF of the signal to be quantized. We denote the step of the uniform quantization scheme as 6 and assume that the number of quantization levels is even in order to make the quantized channel as a symmetric channel. For each quantization step the noise is non-uniform. However, due to the PDF of 91e{xn} is symmetric to 0, the total average 91e{nn} is uniform-distributed which is defined as: f(91e{nn}) = ~ (16) The mean of n., is equal to zero and the vanance of n., is: 62 E[nnn~l = 6 (17) Each n., is mutual independent and N, is the discrete Fourier transform (DFT) of [no,nl,'" ,11N-l], N, is therefore Gaussian-distributed according to the central limit theorem. The mean of Nk is 0 and the variance of N, is denoted as O'~ which is equal to ~2. Therefore, N k can be modeled as a Gaussian random variable and its PDF is defined as: (18) In the OFDM system, the quantized subchannel can be modeled as an AWGN channel with a zero mean and variance of O'~. 4 Quantization Scheme Design In this section, we design the optimum uniform quantization scheme for the noiseless channel by using a limited number of quantization levels. If we do not use any error 96 i~ 0.4 ~,L-__ ~~~~~,~~~~~~ Re{""J Figure 2: The PDF of ~e{xn} (the PDF of Jm{xn} is the same) correcting codes but still can correctly detect X, from Yj , we should have: P{INkl > dmin} -+ 0 (19) 2 where dmin is the minimum distance between the constellation symbols Xk. The PDF of N, is only depending on the quantization step .6.., (19) can give us the optimum quan- tization step to detect Xk from Y k correctly. If we apply error correcting codes (e.g. LDPC codes) to mitigate the quantization effect, we can design the error correcting codes according to the channellimit which is dependent on the signal-to-quantization- noise ratio (SNR). The required SNR determines the variance of quantization noise O"~ which corresponds to the quantization step .6... The goal is to design an optimum quantization step which makes the number of quantization level N; as small as pos- sible. The peak-to-average ratio is large and moreover peaks occur not often. So it is advantageous to allow some clipping and hence lower the consumption of the AD converters. Here, we design the optimum quantization scheme for two scenarios: one without clipping and the other with clipping. 4.1 Without Clipping First let us have a look at the case without clipping. The range of ~e{Xd and Jm{Xd is limited: -1 < ~e{Xk} < 1 (20) -1 < Jm{Xd < 1 (21) which means the range of ~e{xn} anel Jm{xn} is also limited. x, defined in (5) can be written out as: x" = ~L[(~e{Xk}Cos(~nk)-Jm{Xdsin(~nk)) k + j ( ~e{Xd sin (~ nk) + Jm{Xd cos (~ nk) ) ] (22) The range of ~e{xn} and Jm{xn} are, respectively: -V2N < ~e{xn} < V2N (23) -V2N < Jm{xn} < V2N (24) 97 The quantization step iJ. determines the variance of quantization noise CT~. Once iJ. is determined, the required quantization levels Nq per dimension can be derived as: (25) where I·l is the ceiling function. From the above equation we can see that Nq is depen- dent on the number of sub carriers N as well. Given the requirement of quantization noise, different OFDM systems with different number of sub carriers have the same quantization step iJ. but different number quantization levels Nq per dimension. 4.2 With Clipping As we discussed before, the number of subcarriers N determines the range of x., which determines the number of quantization level Nq. From figure 2 we notice that the value of Gaussian-distributed random variable !J\e{ x.,} is larger than a certain value C which is smaller thanV2N, its PDF is very close to zero which means: (26) Therefore, it is not necessary to spend many quantization levels for l!J\e{ xn} I E [C, v'2N]. When clipping is allowed the number of quantization levels can be reduced to: (~7) In this case, the number of quantization scheme Nq is not dependent on the number of sub carriers N. Moreover, performance penalty is expected to be small. 5 Simulation 5.1 Only Quantization Noise In this section, we show the simulation results for the noiseless channel and discuss the difference between the quantization scheme without clipping and with clipping. We assume that N = 64 and QAM-16 is the modulation scheme. Our goal is to detect X; correctly from Y k which means: P{I9'te{Ndl > d~in}->O (28) 2 where dmin = Vf6. The above equation is equivalent to: P{I!J\e{Ndl > dmin} 2 = 1 _ erf (d':t') CTNk -> 0 (29) where erf(-) is called as the error function: erf (x) = ft 2 Jor e- dt t 2 (30) 98 Table 1: The number of quantization levels for different OFDM systems N 16 32 64 128 256 512 1024 2048 4096 8192 No-Clipping 44 62 88 124 176 248 350 496 702 992 Clipping 24 24 24 24 24 24 24 24 24 24 When x = 3, erf(3) :::::: 1. The optimum quantization step 6. can be derived as: (31) Therefore, the number of quantization levels for the no-clipping case is given by: J2N (32) Nq-NC = 2r~l and the number of quantization levels for the clipping case is: (33) In the simulation, we choose C = 30-xn· The difference between Nq-NC and Nq-c is shown in the table 1 and plotted in figure 3. Obviously, the number of quantization levels in the case of clipping case is much less than the case without clipping. How- ever, only the symbol error rate and the variance of ~uantization noise validate which quantization scheme is better. We transmit 1.024 x 10 QAM-16 symbols over noiseless channel in each OFDM systems and the symbol error rate (SER) is shown in figure 4. We can see that the SER for the clipping case is less than 3 x 10-5 and the difference from the case without clipping is within 3.33%. Figure 5 is the variance of quantization noise which is defined in (17) and can also be defined as: (34) In figure 5, the red line is the simulation result for the case without clipping, the blue line is for the case when clipping is allowed and the black line is the theoretical variance of quantization noise defined in (17). From the figure, we can see that the difference among these three variances is within 0.6%. In summary, the quantization effect in the frequency domain can be modeled as a white noise in the OF DM systems, the quantized subchannel therefore can be modeled as an AWGN channel and the low-resolution AD converters are possible to be applied in the OFDM systems. 5.2 AWGN Channel In this section, we simulate the quantization effects in the OFDM system over the AWGN channel with a noise variance of 0-2. We want to find out whether the quantized channel can be modeled as an AWGN channel with a noise variance of 0-2 + o-~. We verify this answer by comparing the quantized channel in OFDM system with the AWGN channel with a noise variance of 0-2 + o-~ in the single-carrier system. We assume N = 64 and QAM-16 is the modulation scheme. The received signal r., is expressed as: (35) 99 # of subcarriers Figure 3: The number of quantization levels for different number of subcarriers -B-- with clipping ••••..)!( ..... without clipping ... ~ ... :.:. V' ,. : .••.•. if:: ......•.......~~ ..~/C~_~~.&_~_~~~~7- .•. .. . 10' # of subcarriers Figure 4: Symbol error rate 100 0.0118 0.0116 5l 0.0114 1~ .Q 0.0112 ~~ 0.011 o ~ 0.0108 ~ 0.0106 # of subcarriers Figure 5: Variance of quantization noise where TJn is white noise with zero-mean and a variance of o", As discussed before, x., CN(O, 1) so r., ~ CN(O, 1 + (2). r--;» The quantized symbol Yn is expressed by: Yn = r., + n., = X + TJn + n., Il (36) After the OFDM demodulation, we have Y, as: N-I 1 ~ -j""'nk yIN ~Yne N n=O N-l ~ L(xn + TJn + nn)e-j~nk n=O Xk+Nk (37) where N; is the noise in frequency domain including the channel noise effect and quan- tization noise effect: 1 N-l .2~ Nk = yIN L(TJn + nn)e-JNok (38) n=O The mean of Nk is 0 and the variance of Nk is a2+ ~2. Each subchannel can be modeled as an AWGN channel with a variance of a2 + ~2. The number of quantization levels in the clipping case is given by: C Nq-c = 2f ~ l (39) where C = 3axu = 3)1 + a2. The number of required quantization levels in different AWGN channels are shown in table 2. From this table, we can see that when SNR 2 101 SNR(dB) 0 1 2 3 4 5 6 7 8 9 10 Nq 34 32 30 30 28 28 26 26 26 26 26 SNR(dB) 11 12 13 14 15 16 17 18 19 20 Nq 26 24 24 24 24 24 24 24 24 24 Table 2: The number of quantization levels for uniform quantization scheme in AWGN channel with different SNR Uniform Ouantization 0.6 i2 ~ 0.5 ~ g OA ur :g ~ 0,3 Cf) 0.2 01 10 12 14 16 20 SNR (dB) Figure 6: Symbol Error Rate for AWGN Channel 1:LdB, the number of quantazation levels IS ~4 which IS same as the case lil the noiseless channel. In the simulation, 1.024x 106 training QAM-16 symbols are transmitted over AWGN channels with different variance of channel noise in the OFDM system. We compare the average SER for the OFDM system with the SER for single carrier system in which the same amount of the training symbols are transmitted over AWGN channels with noise variance of a2 + a~, as shown in figure 6. SNR in figure 6 is defined as: (40) From figure 6, we can see that the curve of the average SER for the OFDM system almost overlap over the curve of the SER for the single carrier system. The difference between them becomes larger when SNR is increased. When SNR is less than 18 dB, the difference is within 5% but when SNR is 20 dB the difference increases to 17.8%. 6 Conclusions In this paper, we analyze the quantization noise in the frequency domain which can be modeled as a Gaussiannoise with zero mean and variance of a~ (0.6% difference between 102 the model and the simulation outcome). In other words, each quantized subchannel can be modeled by an AWGN channel. Simulations show that the number of quantization levels is related to the number of sub carriers under the condition of the same a~ and without clipping. If clipping is allowed (3axn), the number of quantization levels is constant which is equal to 24 and does not depend on the number of subcarriers. We have validated our model by simulation. The simulation results show that the average SER for the OFDM system with the quantization noise variance of a~ over the AWGN channel when SNR is less than 18 dB has less than 5% difference from the SER of the single carrier system over the AWGN channel with a noise va.riance of 0'2 + a~. References [1] D. Tse and P. Viswanath, Fundamentals of Wireless Communication, Cambridge University Press, 2005. [2] X. Shao and H.S. Cronie, "Modulation and Coding for Quantized Channels", The third annual IEEE BENELUXjDSP Valley Signal Processing Symposium, 2007. [3] S.M. Ross, Introduction to Probabilitsj Models, Academic Press, 2003. [4] "Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) SPeci- fications, High-Speed Pysical Layer in the 5 GHz Band", IEEE802.11 a Standard. Part 11. 1999. [5] J.G. Proakis, Digital Commuriicatums, McGraw Hill, 2001. 103 Reliable Download Delivery in a Terrestrial DAB Network RoeI Schiphorst, Xiaoying Shao and Kees Slump University of Twente Fac. EEMCS, Signals and Systems Group P.O. box, 7500AE Enschede, The Netherlands {r.schiphorst, x.shao, c.h.slump}@ewi.utwente.nl Abstract Reliable file transfer is important in broadcast networks. In this paper, we have investigated if it is useful to extend the DAB standard with Fountain codes. To evaluate this, results from measurements in a live Single Frequency Network (SFN) were used. Our results show that the existing error correction algorithms provide already reliable file delivery, so there is no need to extend the DAB standard. 1 Introd uction DAB (Digital Audio Broadcasting) [1] is the European successor of analog FM radio. Besides audio services, other services such as traffic information can be provided. For these data services a reliable file delivery method is necessary. Other wireless standards such as DVB (Digital Video Broadcasting) and UMTS (Universal Mobile Telecommu- nications System) have been recently extended with Fountain codes [2], a new class error correction codes in the application layer. This paper evaluates the usage of Fountain codes in a Terrestrial DAB Network for reliable file download. To evaluate this, results from measurements in a live Single Fre- quency Network (SFN) were used. (In 2005/2006, the University of Twente conducted a DAB field trial in Amsterdam commissioned by the Dutch Ministry of Economic Affairs [3].) The outline of this paper is as follows. First, an introduetion is given about the physical layer of DAB, which is followed by a description of Fountain codes. Then, measurements results of the DAB field trial are presented and used to assess the effec- tiveness of applying Fountain codes in a DAB broadcast network. At the end of the paper conclusions are drawn. 2 Digital Audio Broadcasting The physicallayer of DAB [1]includes an OFDM-based (Orthogonal Frequency-Division Multiplexing) transmission with D-QPSK (Differential-Quadrature Phase Shift Key- ing) modulated sub carriers using RCPC (Rate Compatible Punctured Convolution Codes) for error correction. For data services, an optional Enhanced Packet Mode (EPM) is available which uses a shortened Reed-Solomen (204,188) code for extra pro- tection. Every DAB channel consists of a multiplex of 2304 kbit/s (including error correction) which contains multiple sub channels (e.g. radio stations). In a typical situation, the multiplex contains about 10 radio stations". 1In 2007, DAB+ was approved by the ETS!. This new standard allows typically 25 radio stations in one multiplex. 105 Power ~ DABSFN Transmitters Power distribution due to network gain Power distribution of a single transmitter Position Figure 1: Schematic scheme of a Single Frequency Network (SFN), (taken from [4]) Terrestrial DAB has been designed to operate in a Single Frequency Network (SFN) [4], consisting of several DAB transmitters that broadcast on the same frequency. A schematic scheme is depicted in Figure 1. The network has been designed in such a way that the delay spread of the received paths of other transmitters are within the cyclic prefix duration, i.e. signals from other transmitters can be considered as extra received paths. This results in a network gain, which saves transmit power compared to a single transmitter [4]. In the next section, we discuss how Fountain codes work and how they can be applied in DAB. 3 Fountain codes The encoder of a fountain code is a metaphorical fountain that produces an endless supply of encoded packets. Now, anyone who wishes to receive the encoded file holds a bucket under the fountain and collects enough packets to recover the original file. It does not matter which packets are received, only a minimum amount of packets have to decoded correctly. At each clock cycle, labelled by n, the encoder chooses randomly several packets, and computes the bitwise sum of these source packets to generate the corresponding transmitted packet. Not only a random selection of packets has been made, also how many packets are used, is random. In addition, the encoder generates K bits Gkn, to indicate which packets are selected. So the encoded packet at clock cycle nis: te tn = I:: s",Gkn (1) k=l in which tn is the encoded packet at the nlh clock cycle, Sk the klh source packet and G the generator matrix. The fountain code can supply us with endless number of packets, according to equation 1. In practical situations, however, only a fixed number of packets are generated. At the receiver side enough packets (N) have Lu Le received for successful decoding. This is shown in Figure 2. One of the challenges is to design low-complexity Fountain codes. To reach this, the average degree i.e. the average number of source packets in one output packet should be low. Also, each source packet has to be covered after N = K + E received packets, in which K the number of source packets is and E the number of extra packets. Both requirements are incompatible. Good low-complexity Fountain codes can be designed by pre-code the message first with a fixed erasure code. These codes are called Raptor codes [6]. Due to the low-complexity and good performance, Raptor codes are used in wireless standards like DVB-T IR and UMTS on top of the existing error correction layer. The applications include streaming video and file delivery [7]. 106 Orig-inal gt;n<.'rator rnntrix 1 1 1 1 1 1 1 1 1 1 1 1 I 1 I 1 1 1 1 1 1 i 1 1 1 1 1 I 1 1 1 1 1 1 1 1 I 1 1 J( 1 1 1 1 1 1 1 1 1 I 1 I 1 1 1 1 1 1 1 1 1 I 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 n ccei veel packets 1 1 1 1 1 1 1 1 1 I 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t: 1 1 1 1 ! 1 1 1 1 1 I 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 N Figure 2: The generator matrix of a fountain code (top). When the packets are trans- mitted, some are not received, shown by the grey shading of the packets and the cor- responding columns in the matrix. We can realign the columns to define the generator matrix, from the point of view of the receiver (bottom) [5]. 107 All transmitters active 5 plot version: :09-Aug-20OG 17:03:16 X 10 5 4.95 4.9 4.85 4.8 4.75 4.7 1.05 1.1 1.15 1.2 1.25 1.3 5 X 10 Figure 3: Channel 12B, field strength File delivery is an application where reliability is very important. For example, new firmware can be distributed efficiently over-the-air using DAB. In this application, reliable file delivery is very important. In this next section, we investigate if the use of Fountain codes is beneficial. 4 Measurements in live SFN network In this paper, we use the result of a DAB field trial (2005/2006) in Amsterdam [8] to evaluate the performance of these codes in a live network. In Figure 3 the field strength of the network (channel 12B, 225.648 MHz) is shown and in Figure 4 the BER (Bit Error Rate) after FEC (Forward Error Correction) is depicted. In this case, the used error correction mode is UEP3 i H; = 0.5) [1] which is commonly used for audio sub channels throughout the world. Multiplex operators will roll out a DAB network for at least outdoor coverage. In this case, the field strength has to be 46 dBJ.LVIm or more [8]. The accompanying BER of the source packets is zero in more than 99% of the time in these areas! Mode UEP3 is based on RCPC for error correction. For data applications, mode EEP3 [1] is used. This mode has a similar code rate and hence similar performance as a UEP3 sub channel [8]. In 2006, the DAB standard has been extended to provide extra proteetion for data services. This mode is called Enhanced Packet Mode (EPM). To facilitate this, the error correction and detection system of DAB has been extended with an optional shortened Reed-Solomon (204, 188) outer code. It increases the coding 108 All transmitters active plot version: :09-Aug-2006 t 7:09:44 1.05 1.1 1.15 1.2 1.25 1.3 Figure 4: Channel 12B BER after FEC 109 overhead with 8.5%. On the other harid this code can correct up to 8 bytes in every burst of 204 bytes. So, it can correct all bit-errors in Figure 4, where there is outdoor coverage (46 dBI·NIm). Thus, for reliable file delivery, the existing error correction layer in a live SFN DAB network already provides a robust physical layer. There is no need for extra error correction in the application layer. Only in special coverage locations, like tunnels, there is no reception at all of the DAB network. The special coverage locations occur in less than 0.1% of the service area (Figure 4) and the time duration that a user has no signal is unknown. For example, there could be a traffic jam in the tunnel. 4.1 Evaluation In the previous section, we have shown that there is no need for additional error correction for reliable file delivery in a live SFN DAB network. A SFN DAB network for outdoor coverage provides already reliable file delivery. So, extra error proteetion will result only in additional overhead, without performance gain. However, Fountain codes still have some benefits. First of all, Fountain codes are located in the application layer. This means that current DAB chip sets already are fully compliant. Only the application processor needs to do extra signal processing. Fountain codes have small overhead i.e. < 5%, if it operates on large block sizes [9] i.e. 200 kbits or more. The lowest bit rate for a sub channel is 8 kbit zs [1]. So, for small bit rates, Fountain codes will only be more efficient than the current Reed-Solomon implementation, if a large delay is allowed of several seconds. Moreover, Fountain codes allow the use of hybrid networks [10]. For example, the multicast DAB network can be combined with a point-to-point network like UMTS or GSM network. (This is also required for interactive radio and TV services.) So, if a receiver is unable to decode enough packets via the broadcast network, it can request for more packets using the point-to-point network. A second advantage of this application would be to build a broadcast network in dense urban areas only and use the point-to-point network in rural areas. This results in lower operational costs for the network operator. 5 Conclusions In this paper, we have shown that Fountain codes are not required for reliable file transfer in a broadcast environment: • The current forward error correction layer -based on RCPC and Reed-Solomon codes- provides already a reliable reception . • In special coverage locations, like tunnels, tilere is HO reception at all of the DAB network and extra error correction will not improve the reception quality. However, Fountain codes allow the use of hybrid networks i.e. a multicast DAB network can be combined with a point-to-point network like GSM or UMTS. If a receiver receives not enough packets, it can request for more packets using the point- to-point network. References [1] ETS!. Radio Broadcasting Systems; Digital Audio Broadcasting (DAB) to mobile, portable and fixed receivers. ETSI EN 300401 V1.4.1, 2006. 110 [2] M. Luby, M. Watson, T. Gasiba, T. Stockhammer, and Wen Xu. Raptor codes for reliable download delivery in wir-eless br-oadcast systems. Consumer Cornmunica- tions and Networking Conference, 2006. CeNC 2006. 3rd IEEE, 1:192-197, 8-10 Jan.2006. [3] Signals and Systems Group. http://www. sas. e l., utwente. nVopen/ research/wire Les s; communication. [4] W. Hoeg and T. Lauterbach. Digital Audio Br-oadcasting: Principles and Appli- cations of Digital Radio. John Wiley & Sons, second edition edition, 2003. [5] D.J.C. MacKay. Fountain Codes. In The lEE Seminar on Spar-se-Graph Codes, pages 1-8. lEE, London, 2004. [6] A. Shokrollahi. Raptor codes. Information Theory, IEEE Transactions on, 52(6):2551-2567,2006. [7] Digital Fountain inc. http://www.digitaLfountain.com/ DVB-IPTV-Standard-Endorses-DF-Raptor. h tmi , March 2007. [8] R. Schiphorst. A T-DAB field trial using a low-mast infrastructure. Signals and Systems Group, University of Twente, Enschede, The Netherlands, December 2006. [9J X. Shao. Fountain codes for [requencu occupancy infor-mation dissemination. Mas- ter's thesis, March 2006. [10] D. Gomez-Barquero, N. Cardona, A. Bria, and J. Zander. Affordable Mobile TV Services in Hybr-id Cellular- and DVB-H Systems. Network, IEEE, 21(2):34-40, March-April 2007. III Strategy Results for the Relay Channel Without Delay Frans M.J. Willems Edward C. van der Meulen Eindhoven University of Technology Katholieke Universiteit Leuven Department of Electrical Engineering Departement Wiskunde 5600 MB Eindhoven Celestijnenlaan 200B, Leuven The Netherlands Belgium f.m.j.willems@tue.nl edward.vandermeulen@wis.kuleuven.be Abstract Results for the relay channel without delay (El Gamal and Hassanpour [2005]) are shown to be straightforward consequences of the results of Cover and El Gamal [1979],using techniquesproposed by Shannon [1958]forhis side-information channel. Capacities of the semi-deterministic and degraded relay channel, all without delay, are therefore simple to obtain. 1 Introduction The relay channel was introduced and investigated already roughly forty years ago by van der Meulen [9]. Later Cover and El Gamal [1] made significant progress on the relay channel by applying methods that were developed for proving capacity theorems in other multi-user settings. Now again relay communication is an active field of re- search. The reason for this renewed interest is that wireless transmission and networks attract a lot of attention both from the academic and industrial community. For an information-theoretical overview of relay results, including the more recent develop- ments, see Kramer et al. [8]. We will focus in the current paper on the relay channel without delay. The relay without delay mainly differs from the classical setup studied in [9] and [1] in that the relay acts instantaneously after having received a channel output. This concept was brought up recently by El Gamal and Hassanpour [3], [4], however the first author discussed the same setting in his Ph.D. thesis [16] already in 1982. He suggested there that Shannon strategies [14] can be used to prove capacity theorems for the relay channel without delay. The objective of the current paper is to work out this suggestion. In the next two sections we will describe both the classical relay channel setting and the relay channel without delay. After that we will focus on Shannon strategies and describe how they form the connection between the two concepts. The results found by El Gamal and Hassanpour [4] were expressed using auxiliary random variables. We will here derive these results, using a traightforward equivalence based on Shannon strategies. 2 The Classical Relay Channel Setting 2.1 Definitions Consider the relay channel {Xl x X2,pG(Y2,Y3Ixl,X2),Y2 X Y3}, i.e. a discrete mem- oryless channel with input Xl, a relay output Y2 and relay input X2, and output }S. The matrix pG (Y2, Y3IxL, X2) specifies the transition probabilities of this channel, hence (1) 113 Figure 1: A general relay channel. for all Xl E XI,X2 E X2,Y2 E Y2, and Y3 E Y3, see Figure l. The superscript "G" in the transition probability matrix pG (-, '1" .) stands for" general" since we will also encounter transition matrices of "specific" relay channels in what follows. We will now describe a classical code. A message index w E {I, 2, ... ,K} will be transmitted in N transmissions, W is uniformly distributed. The transmitter sends a codeword (Xl, X2,' .. ,XN) = t(w), where te) is the transmit mapping. Then in transmission n for n E {I,··· ,N} the (classical) relay transmits X2,n = fn(Y2,l' Y2,2,'" ,Y2,n-d· (2) Here fne) is the relay mapping for transmission n. After having observed the entire w output sequence the receiver chooses = r(Y3,l, Y3,2, ... ,Y3,N) where r'e) is the receiver mapping. We now say that the classical rate R is achievable if for all N large enough and all E > 0 there exist a classical code such that ~ lOE';2 T< 2: R - F (jnd Pr{W' i= W} < f (3) The maximum achievable classical rate for the general relay channel pG (" '1" .) is called the classical capacity and is denoted by Cclass(pG). 2.2 Cut-Set bound and Partial Decode and Forward bound In general the capacity of the relay channel in the classical setting is unknown. There exist lower and upper bounds however. A well known upper bound for the classical capacity is the "cut-set" bound (see Cover and El Gamal [1]): Cclass(pG):s; max min[I(XI; Y2, Y31X2), I(XI, X2; Y3)]. (4) Q(Xl,X2) which improves on the weaker cut-set bound derived in [9]. Here Q(-,') is a channel input distribution, not necessarily of a product type, and both mutual informations are evaluated for probability distribution QPG(Xl,X2'Y2'Y3) = Q(xI,x2)pG(Y2'Y3Ix[,x2)' (5) for all Xl E Xl, X2 E X2, Y2 E Y2, and Y3 E Y3. Several lower bounds can be found in Cover and El Gamal [1]. The "partial de- code and forward" bound formulated by El Gamal and Aref [2]) follows directly from Theorem 7 in [1], but can also be found in Corollary 7.6 in [16]: Cclass(pG) 2: max min[I(U; Y21X2) + I(XI; Y31X2, U), I(XI, X2; Y3)]· (6) Q(U,XI,X2) Now U is an auxiliary random variable and the mutual information terms are based on the joint distribution QpG(u, Xl, X2, Y2, Y3) = Q(u, Xl, X2)pG(Y2, Y31Xl' X2), (7) for all u E U, Xl E Xl, X2 E X2, Y2 E Y2, and Y3 E Y3' 114 3 The Relay Setting Without Delay 3.1 Definitions Y2 X2 pS(Y2Ixl) x) Y3 pS(Y3Ixl, X2, Y2) Figure 2: A special relay channel, with a relay output only depending on channel input. The relay setting without delay was introduced by El Gamal and Hassanpour [3], [4] recently. It differs in two ways from the relay with delay. The most important difference is that the relay mapping has no delay. Now, in contrast to (2), in a no-delay code, the relay transmits in transmission n the symbol (8) where it is crucial to observe that X2,n also depends on Y2,n. The second difference concerns the transition matrix which now is special in the sense that (9) should hold for all Xl EX), X2 E X2, Y2 E Y2, and Y3 E Y3· The reason for this is that, in a no-delay code, within a single transmission, the relay output 1"2 becomes available first and only after that the relay can send relay input X2· Therefore Y2 cannot depend on X2 but only on Xl, see Figure 2. Note that superscript "8" refers to the special character of the transition probability matrix. Via the definition of no-delay achievability we end up with the notion of no-delay capacity for the special relay channel ps (., ·1·, -). This no-delay capacity is denoted by Cnodel ( ps ). 3.2 Results El Gamal and Hassanpour [4], but also Hassanpour [7]and El Gamal, Hassanpour, and Mammen [5], obtained and formulated several capacity results for the relay channel without delay. We mention here the cut-set upper bound, the partial-decode and forward lower bound, the capacity of the degraded relay channel, the capacity of the semi-deterministic relay channel, and the capacity of the relay channel with orthogonal components, all for the no-delay setting. It will be clear that the no-delay capacity of a special relay channel cannot be smaller than its classical capacity. However El Gamal and Hassanpour [4] show by an example that 8ato's [13] channel has a strictly larger no-delay capacity than classical capacity. Van der Meulen and Vamoose [11]showed that example 5 in [9]has the same property. 115 4 Shannon Strategies, Enhanced Channel Consider all IX211Y21 different mappings mU from Y2 to .1'2' Such mappings play a crucial role in Shannon's side information problem [14] and were also used by the authors in [15]. As an example consider the table below. We assume there that .1'2 = {O, I} and Y2 = {O, I, 2}. Note that there are eight different mappings (strategies) from {O, I, 2} to {O, I}. For m = 3 we get m(O) = I, m(l) = I, and m(2) = 0, thus m is both used as an index to the mapping and as the mapping itself. Y2 m=O m= 1 m=2 m=3 m.=7 0 0 1 0 1 1 1 0 0 1 1 1 2 0 0 0 0 1 Using the notion of strategies we can derive from the special relay channel pS(" '1', '), the enhanced channel {Xl x M, pE(S)(Y2, Y31xl, m), Y2 x Y3}, i.e. a discrete memoryless channel with input Xl, relay output Y2 and relay input M (where M is the generic notation for strategy input), and output Y;. The matrix pE(S)(Y2,Y3Ixl,m) specifies the transition probabilities of this enhanced channel, hence (10) for all Xl E XI, m E M, Y2 E Y2, and Y3 E Y3, see Figure 3. Now superscript "E(S)" de- notes the "enhanced" version of a special channel. Observe that the enhanced channel itself is also special. Y2 lM M(-) X2 pS(Y2lxd Xl Y3 pS(Y3Ixl,X2,Y2) Figure 3: Enhanced version of the special relay channel in Figure 2. 5 An Equivalence In this section we will state and prove our main result: Theorem 1 The no-delay capacity for' the special relay channel pS(-, '1',') is equal to the classical capacity ofthe enhanced version pE(S)(-, '1',') ofthis special relay channel, hence (11) 116 Proof: The proof consists of two parts. (A). First we will demonstrate that for each no-delay code with J( codewords for the special relay channel pSC, '1', .) having error probability Pe, there exists a classical code having J( codewords for the enhanced channel pE(Sl(-, '1" .) also having error probability Pe. Consider a no-delay code for special channel pS (-, '1', .). Using Shannon strategies we can now decompose the relay mapping X2,n = 9n(Y2,1, ... ,Y2,n-l, Y2,n) as follows: mn = !n(Y2,1,"', Y2,n-l), and (12) X2,n = mn(Y2,n)' (13) This is possible if for each nand Y2,1,' .. ,Y2,n-l we choose mapping mn such that 9n(Y2,1, ... ,Y2,n-l, Y2) = mn(Y2) for all Y2 E Y2· Now (12) tells us that there exists a classical code with the same performance as the no-delay code, and from (13) we see that this code operates on the enhanced channel. From this we may conclude that Cnodel(Ps) < Cciass(pE(Sl). (14) (B). Next we will show that for each classical code with J( codewords for the enhanced channel pE(Sl(', '1', .) having error probability Pe, there exists a no-delay code having J( codewords for the special channel pS C, '1', .) also having error pro bability Pe. Consider a classical code for the enhanced channel pE(SlC, '1', .). We can now combine the relay mapping m-, = !n(Y2,1,' .. ,Y2,n-d with the Shannon strategy mnC) to obtain: 9n(Y2,1,'" ,Y2,n-l,Y2,n) = mn(Y2,n), where (15) tru; = !n(Y2,1"", Y2,n-d· (16) From (15) and (16) we may conclude that there exists a no-delay code with the same performance as the classical code, operating on the special channel. From this we may conclude that Cciass(pE(Sl)< Cnodel(Ps). (17) (C) Finally the theorem follows from both (14) and (17). o 6 Capacity for the Relay Without Delay, Bounds The cut-set bound for the enhanced relay channel is an upper bound for the classical capacity of the enhanced relay channel and by Theorem 1 therefore also for the no-delay capacity of the underlying special relay channel. Hence Cnodel(Ps) = Cciass(pE(Sl)< max min[I(X]; Y2, Y3IM), I(X1, M; Y3)]. (18) Q(x"ml Now QC,') is a channel input distribution over Xl x M, where M is the set of all strategies (mappings from Y2 to X2). Note that an alternative expression in terms of an auxiliary random variable U with a mapping !(U,Y2) appears as Theorem 2.1 in [4], but it is easily seen that our formulation in terms of strategies is equivalent to it. The difference in both expressions may have an effect on the complexity of the maximization-procedure, but we will not discuss this effect here. Similarly, it follows from Theorem 1 that the partial-decode and forward lower bound for the enhanced relay channel is a lower bound for the no-delay capacity of the underlying special channel. Hence An equivalent bound appears as Theorem 3.1 in [4]. 117 7 Degraded Relay Channel Without Delay The degraded relay channel was first considered by Cover and El Gamal [1], in the classical sense. A relay channel is degraded if its transition probability matrix satisfies (20) for all Xl E Xl, X2 E X2, Y2 E Y2, and Y3 E Y3' Note that superscript "D" indicates that the relay channel is degraded. Its classical capacity was determined in [1]: (21) To find the no-delay capacity of the degraded relay channel, note first that this degraded relay channel should also be special. For the matrix pE(O,S)(Y2, Y3lxl, m) that specifies the transition probabilities of the corresponding enhanced relay channel we have that (22) for all Xl E Xl,m E M,Y2 E Y2, and Y3 E Y3, and therefore this enhanced channel is also degraded. Now the degraded-relay channel result of [1] applies and A similar version of this result in terms of an auxiliary random variable appears as Theorem 4.1 in [4]. 8 Semideterministic Relay Channel Without Delay The semi-deterministic relay channel was first considered by El Carnal and Aref [2], in the classical sense. A relay channel is semi-deterministic if its transition probability matrix satisfies (24) for al! Xl E Xl, X2 E X2, Y2 E Y2, and Y3 E Y3, where pSO(Y2Ixl, X2) is either 0 or 1. The classical capacity of this channel was found in [2] and is expressed as To find the no-delay capacity of the semi-deterministic relay channel note that the semi-deterministic relay channel should be special. The matrix pE(SD,S) (Y2, Y3lxl, m) that specifies the transition probabilities of the corresponding enhanced channel satis- fies p E(SD ,S) ( Y2,Y3 Ixl,m ) = Ll. P so ,S ( Y2 IXl ) P' so ' s (IY3, Xl,m ()) Y2 ,Y2 , (26) for all Xl E Xl, m E M, Y2 E Y2, and Y3 E Y3' Now observe that this enhanced channel is also semideterministic and therefore the semideterrninistic-relay result in [2] applies and 118 Observing that H(Y2IM) + I(XI; 1'3IM, Y2) = I(X1; Y2, Y3IM) we may conclude that our expression is analogous to the result in Theorem 4.2 in [4]. We end this section by considering the semideterminist ie and degraded relay chan- nel. The classical capacity of this channel can be found in van del' Meulen [10], p. 82. Observing that I(X1; Y3IM, Y2) = 0 for a degraded and semideterministic special relay channel, we may conclude that the no-delay capacity of this channel is = max min[H(Y2IM), Cnodel(pD,SD,S) I(XI, M; Y3)]. (28) Q(xl,m) 9 Orthogonal Component Relay Without Delay The capacity of the relay channel with orthogonal components was established by El Gamal and Zahedi [6]. The input of a relay channel with orthogonal components is made up out of two components, hence Xl = (Xw, XIR), and its transition probability matrix satisfies pOC(Y2, Y31 (xw, XIR), X2) = poc(Y2IxIR, X2)pOC(Y3Ixw, X2), (29) for all XIO E XID, Xln E X1R, X2 E X2, Y2 E Y2, and Y3 E Y3. The classical capacity is Cclass(poc) = max min[I(X1R; Y2IX2) + I(XlD; 1'3IX2), I(XID, X2; Y;)]. Q(X2)Q(Xt D IX2)Q(Xll Y2. Note that this expression differs from the expression in Theorem 2.11 in [7]. The proof of this statement follows from the observation that for the first mutual information term in (30) we can write I(X1R; Y21X2) = H(Y2IX2) - H(Y2IX1R, X2) = H(Y2IX2) - H(Y2IXIR) ::; H(Y2) - H(Y2IX1R) ::; C, with equality if XIR achieves ca- pacity C and is independent of (X2, XlD). Moreover the other two mutual information terms in (30) only depend on Q(X2, XlD). We conclude this section by pointing out that a similar solution for the special relay channel with orthogonal components appears in [12]. 10 Concl usion Using our Theorem 1 it requires only a few straightforward steps to derive the capacity theorems and bounds that were obtained in [4]. Theorem 1 is based on Shannon strategies. Therefore this paper shows that up to now all relay-without-delay results can be obtained using Shannon's approach [14]. This approach also turned out to be useful in [15]. For the classical capacity of the special relay channel with orthogonal components we found an expression that is simpler than the one appearing in [7]. 119 References [1] T.M. Cover and A. El Gamal, "Capacity Theorems for the Relay Channel," IEEE Trans. Inform. Theor-y, vol. IT-25, no. 5, pp. 572-584, September 1979. [2] A. El Gamal and M. Aref, "The Capacity of the Semideterministic Relay Chanel," IEEE Trans. Inform. Theory, vol. IT-28, no. 3, p. 536, May 1982. [3] A. El Gamal and N. Hassanpour, "Relay Without-Delay," Proc. ISIT 2005, Ade- laide, Australia, September 4 - 9, 2005, pp. 1078 - 1080. [4] A. El Gamal and N. Hassanpour, "Capacity Theorems for the Relay Without- Delay Channel," Proc. Alterton Conf. Comm., Control and Comput., September 2005, Monticello, IL. [5] A. El Carnal, N. Hassanpour, and J. Mammen, "Relay Networks With Delays," IEEE Trans. Inform. Theor-y, vol. IT-53, no. 10, pp. 3413- 3431, October 2007. [6] A. El Gamal and S. Zahedi, "Capacity of a Class of Relay Channels With Orthogo- nal Components," IEEE Trans. Inform. Theory, vol. IT-51, no. 5, pp. 1815 - 1817, May 2005. [7] N. Hassanpour, Relay Witho'ut Delay, Ph.D. thesis, Stanford University, August 2006. [8] G. Kramer, M. Gastpar, and P. Gupta, "Cooperative Strategies and Capacity The- orems for Relay Networks, " IEEE Trans. Inform. Theory, vol. IT-51, no. 9, pp. 3037-3063, September 2005. [9] E.C. van der Meulen, "Three-terminal Communication Channels," Adv. Appl. Prob., vol. 3, pp. 120-154, 1971. [10] E.C. van der Meulen, "A Survey of the Relay Channel," in Multiple Access Chan- nels, Theor-y and Practice, Proceedings of NATO ASI, Budapest, August 26 - Sep- tember 5, 2006. lOS Press, pp. 73 - 96. [11] E.C. van der Meulen and P. Vanroose, "The Capcity ot a Helay Channel, Both With and Without Delay," IEEE Trans. Inform. Theory, vol. IT-53, no. 10, pp. 3774 - 3776, October 2007. [12] Stanford lecture notes EE 478 (Multiple User Information Theory), Homework set # 6, Fall 2006. [13] H. Sato. "Information Transmission Through a Channel with Relay," The Aloha System, Univ. Hawaii, Honolulu, HI, Tech. Rep. B76-7, March 1976. [14] C.E. Shannon, "Channels with Side-Information at the Transmitter," IBM J. Res. Develop., vol. 2, pp. 289-293, October 1958. [15] F.M.J. Willems and E.C. van der Meulen, "The Discrete Memoryless Multiple- access Channel with Cribbing Encoders", IEEE Trans. Inform. Theoru, vol. 31, No. 3, pp. 313-327, May 1985. [16] F.M.J. Willems, Informationtheoretical Results fOT the Discrete Memorijless Mul- tiple Access Channel, Ph.D. thesis, Katholieke Universiteit Leuven, October 1982. 120 Four model classes for efficient Bayesian selection Tjalling Tjalkens Eindhoven University of Technology P.O.Box 513, 5600 MB Eindhoven, The Netherlands t.j.tjalkens@tue.nl Abstract I consider a binary classification problem with a feature vector of high dimen- sionality. Spam mail filters are a popular example hereof. A Bayesian approach requires us to estimate the probability of a feature vector given the class of the object. Due to the size of the feature vector this is an unfeasible task. A useful approach is to split the feature space into several (conditionally) independent sub- spaces. This results in a new problem, namely how to find the "best" subdivision. In this paper I consider a weighing approach that will perform (asymptotically) as good as the best subdivision and still has a manageable complexity. 1 Problem statement An object 0 belongs to a particular class e and is described by a vector of features, [", Given a sequence of objects Ol, O2, ... , On, we wish to estimate the conditional features probabilities given the classes. An extreme, and extremely simple, model for these probabilities is known as the Naive Eayes filter, see e.g. [1], where all features are assumed to be conditionally independent or k PUkJe) = TT PUik)· (1) ;=1 This simple model is applied, with much success, see [2], to spam filtering although the model is obviously too simple to be correct. Apart from the unexpected success of the naive Bayes filter, the main reason to use this model is its computational simplicity. The model classes that I will consider, partition the feature vector into conditionally independent parts, each one containing a variable number of features. In [3] ad-hoc methods are discussed that create models with partial dependencies and experimental results indicate that the success rate of spam detection improved significantly over the Naive Bayes filter. But now a new question arises, namely what i the most appropriate partitioning model, given a set of training data, and can this model be determined or approximated in a computationally efficient manner? I assume binary classes and binary features and also assume that the objects are drawn independently from the same distribution P(e)P(fkJe). Of course it is possible to relax the restrietion on the alphabet and the method applies to non-binary discrete alphabets too. 121 2 Model class description Let the feature vector index set {I, 2, ... , k} be written as;r A model M is described by a number of subsets 51, .52, ... ,.5g for some number g. These subsets have a (sub-) partitioning property defined by .5i n.5j = 0; if i ~ i, and Uf=l.5i c~. Apart from the subsets a model also contains parameters f!.. that describe the probabilities of the feature vector given the class. A subset .5 selects some features from the feature vector If.5 = {i 1, i2, , is}r· then this selection is writ ten as i' = ii" ii2' ... , i.; The model M = (.51,.52, ,.5g), together with its parameters f!.., define the following conditional feature vector proba- bility. g P(fklc,M,f!..) = IT P(.t lc,f!..). 5i (2) i=l Given is a sequence of objects Ol, O2, ... , On, where the i,h object is described as Oi = (C(i) ,1(;»). Assume a given model M = (.51,.52, ... ,.5g). Due to the independence of the objects, the conditional features probability is written as n P(ft;n)IC(Ln), M,f!..) ~ P(fc\), ... , it,)lc(l),"" cCn), M,f!..) = IT P(ft;)lc(i), M,f!..), (3) i=1 where P(fC~n) IC(1.n») is just a shorthand notation for this sequence probability. 2.1 Unknown parameters, Bayesian mixture, and the log-regret First of all, the parameters f!.. for a given model are unknown and must be estimated. Just as in [4] formula (8), I will use the Krichevsky-Trofimov probability assignment, written as PI< ,'"I"~. phantom with increasing voltage. This calculation was performed for a part of the C-Ê>. phantom containing disks of the same thickness and material, so with only one contrast step present. This part is shown in Figure 5(a). These results reflect the improvement of visual quality with respect to contrast. The effect of object sharpness is shown in Figure 6, which shows the values of Co and correspondingly for NEB, for increasing standard deviation of the Gaussian kernel. It can be seen that the response of the two metrics to blurring is similar. 5 Conclusions and future work We have calculated the proposed information-theoretic FOM for a number of phantom images created in a real X-ray system and found that it responds well to the introduced variations in all three basic IQ aspects. This was also evident from the correspondence with metrics known from Linear Systems Theory. The proposed FOM is equally sensi- tive to changes iu contrast, sharpness and noise, as conventional metrics used for each of them individually, The comparison performed in these experiments between linear and information- theoretic metrics was qualitative. It may be possible to derive analytical relationships between Co and the aforementioned metrics (SN R, NEB, contrast). However, this requires that the effect of the non-linear transformation step on the signal and noise statistics is well understood and analyzed. Such a step would also necessitate a more thorough insight of performing spectral estimation on the non-stationary signal at hand. This is indicated as an interesting point for future work. The advantages of the information-theoretic approach involve the following aspects: (a) it provides an overall quality metric which includes the effects of sharpness, con- trast and noise, (b) it allows the evaluation not only of components but also of image processing algorithms, which are often non-linear and content-dependent, and (c) in our opinion, quantifying image content in the "information domain" provides a useful 2This module is X Res™, available on the Philips Allura system. 143 link to perceptual image quality for task-oriented applications such as medical imaging. This link could be further exploited by incorporating a suitable observer model, a step within our future research goals. We are also aiming at a generalization of our method for moving objects, such as fluoroscopic sequences of the beating heart. References [1] C. Papalazarou, R. M. Snoeren, F. M. J. Willems, P. H. N. de With, J. N. Kroon, and P. M. J. Rongen, "Toward a full-reference information-theoretic quality assessment method for x-ray images," 2008, vol. 6913, p. 69130T, SPIE. [2] F. O. Huck, C. L. Fales, and Z. R.ahman, Visual Communication: An Information Theory Approach, Kluwer Academic Publishers, Dordrecht, The Netherlands, 1997. [3] R.F. Wagner, D.G Brown, and M.S. Pastel, "Application of information theory to the assessment of computed tomography," Med. Ph., vol. 6, pp. 83~94, 1979. [4] H.R. Sheikh, A.C. Bovik, and G. de Veciana, "An inforrnation fidelity criterion for image quality assessment using natural scene statistics," IEEE Trans. Im. Proc., vol. 14, pp. 2117~2128, 2005. [5] C. E. Shannon, "A mathematica] theory of communication," Bell Syst. Tech. J., vol. 27, pp. 379~423, 1948. [6] T. M. Cover and J. A. Thomas, Elements of Injormatioti Theory, John Wiley and Sons, New York, NY, 1991. [7] M. S. Bartiett, "The square root transformation in analysis of variance," Suppl. J. R. Stat. Soc., vol. 3, pp. 68~78, 1936. [8] H. H. Arsenault and M. Denis, "Integral expression for transforming signal-dependent noise into signal-independent noise," Opt. Let., vol. 6, pp. 210~212, 1981. [9] D. S. Evans, A. Mackenzie, C. P. Lawinki, and D. Smith, "Threshold contrast detail detectability curves for fluoroscopy and digital acquisition using modern image intensifier systems," Br. J. Radial., vol. 77, pp. 751~758, 2004. [10] Eli Peli, "Contrast in complex images," Opt. Soc. Am. A, vol. 7, no. 10, pp. 2032~2040, 1990. [U] J. N. Kroon, "An overall X-ray simulation model developed for system design and image quality versus patient dose optimization," in Proc. SPIE Med. Im., 2003, vol. 5030, pp. 445~458. [12] 1. A. Cunningham, "Applied linear-systems theory," in Handbook of Medical Imaging, Volume 1: Physics and Psychophysics, J. Beutel, H. L. Kundel, and R. L. van Metter, Eds., pp. 79~159. SPIE Press, 2000. 144 Performances of the likelihood-ratio classifier based on different data modeling Chun Chen, Raymond Veld huis University of Twente Fac. EEMCS, Signals and Systems Group Enschede, The Netherlands {c.chen,r.n.j.veldhuis}@ewi.utwente.nl Abstract The classical likelihood ratio classifier easily collapses in many biometrie appli- cations especially with independent training-test subjects. The reason lies in the inaccurate estimation of the underlying user-specific feature density. Firstly, the feature density estimation suffers from insufficient number of user-specific sam- ples during the enrollment phase. Even if more enrollment samples are available, it is most likely that they are not reliable enough. Furthermore, it may hap- pen that enrolled samples do not obey the Gaussian density model. Therefore, it is crucial to properly estimate the underlying user-specific feature density in the above situations. In this paper, we give an overview of several data model- ing methods. Furthermore, we propose a discretized density based data model. Experimental results on FRGe face data set has shown reasonably good perfor- mance with our proposed model. 1 Introd uction The statistical pattern recognition technologies for biometrie applications fall into two major categories: density-probability and data-criterion driven. The density- probability driven approaches, such as the Bayesian decision, hidden Markov Model (HMM) and higher-order statistics rely on the estimation of the probability over sam- ples, by using maximum likelihood method, whereas data-criterion driven approaches such as Linear discriminant function (LDF), support vector machine (SVM) aim to find a function with a specified structure or a hyperplane to minimize a criterion, with- out the knowledge of the underlying probability. As a Bayesian decision classifier with equal prior probability, the likelihood-ratio classifier [1], is theoretically optimal in the Neyman-Pearson sense. Unfortunately, its performances tend to turn down in many practical applications, especially with independent training-test subjects. Usually the reason lies in the inaccurate estimation of the underlying feature densities. To solve this problem, some specified data modelings have been proposed. In this paper, we give an overview of some existing data modeling methods. Moreover, we propose a model based on descretized density. Experimental results on FRCC face data set show reasonably good performance with our proposed model. This paper proceeds as follows. In Section 2, we give a description of several existing models, together with our proposed model. In Section 3, we present the experimental results on FRGC face data set with some discussions, and the conclusions are drawn in Section 4. 145 2 Method The design of a likelihood-ratio based biometrie verification system usually includes three steps: training, enrollment and verification. Prior to modeling the data and constructing the classifier, which are carried out in the enrollment and verification steps, a common training step is applied. With a training data set 'Ot, the goal of the training step is to extract the "right" features with a reduced dimensionality from the raw measurements. Several leading feature extraction methods are PCA [2] [3], ICA [4] and LDA [5], [6]. In some applications, a combined PCA/LDA method is used [7]. With the reduced dimensionality, we can build a model of the classifier. In the context of a likelihood-ratio classifier, the genuine user and the background density need to be estimated from an enrollment data set De, and subsequently a discriminant function is calculated. Eventually, the verification decision is made on the discriminant values from a verification data set Dv. Essentially, the design of such a system involves C two-category classifications, where C denotes the total number of users. This means that for every user Wi, a co- variance matrix ~i, i = 1, ... ,C needs to be estimated. Nevertheless, it often happens that there are not enough user-specific enrollment samples to accurately estimate the covariance matrix. To solve this problem, some specified covariance matrix models are adopted. Two common primary assumptions of these models are (1) the features are statistically independent, which means the covariance matrix ~i is diagonal; (2) the background density are identical for all features. In this chapter, we give a description of some popular models. Additionally, we propose a new model by discretizing the continuous features and further building the likelihood-ratio classifier on the discrete feature density. 2.1 Model 1: "Ei = 0-;1, Gaussian density Let x = (Xl, ... ,Xd)t be the d-dimensional feature vecotor. In this model we assume that the genuine user Wi density Pg(XIWi) is Gaussian Pg(XIWi) ~ N(J-L.i' ~i) with mean J-Li and covariance matrix ~i· Similarly, we assume that the background density is normalized as a Normal distribution Pb(xlwi) ~ N(O, 1). Therefore, the discriminant function of user Wi equals to: ~ Pg(XIWi) gi ()X = L In (I -) . (1) i=l Pb X Wi The verification decision is then made by giving a threshold T to gi(X). 2.2 Model 2: I::i = "E = 0-21, Gaussian density Sometimes even though in Model 1 we reduce the number of parameter estimation by assuming independent features with Gaussian densities, the number of enrollment sam- ples always seems too small to make a reliable estimation of the user-specific covariance matrix ~i To solve this problem, Model 2 is adopted by further assuming that the covariance matrix is user-independent and therefore identical to every user. That is ~i = ~,i = 1, ... ,C, where C denotes the entire populations. Therefore, when the training data is a good representative of the entire populations, the covariance matrix can be approximately calculated from the training data D]. 2.3 Model 3: Arbitrary density In some cases, the feature vectors do not obey Gaussian density. Therefore, it is necessary to estimate the genuine user and the background density by using non- 146 parametrie methods, such as histogram, Parzen windows and kn-nearest-neighbor [3]. Here we give an example of an equal probability histogram based density estimation. The key factors of a histogram estimation stem from the number and the location of the bins. Hence there comes a variety of methods to determine the bins [8]. In the case of biometrics, due to the lack of enrollment samples, it is difficult to design a histogram estimation with user-specific bins. Therefore, we propose to locate the bins according to the training data 'Ot. Note that it is not accessible to the histogram of the entire enrollment data. Consider a one-dimensional feature component x, let N, be the number of samples in the training data, J( be the number of histogram bins. The locations of the bins are then determined as: Nt (2) K' nb , k = 1, ... , 1< , (3) where ik, hk indicates the lower and the higher boundaries of the kth bin, and function f counts the number of samples within the bin [ik, hk]. An illustration is shown in Fig. l(a) and l(b). Constructing the bins in this way in fact constraints all the J( bins with equal number of samples nb, which turns the background density into an uniform density Pb,k(xlwi) = 1/ K. Once the bins are determined from the entire training data 'Ot, with the enrollment samples, the histogram density Pg,dxlwi) of the genuine user Wi is calculated as: ng,i,k (4) (5) with ng,i = L£~l ng,i,k the number of enrollment samples of user Wi (see Fig. l(c)). t, j ~ (a) (b) (c) Figure 1: An example of the histogram based density estimation with J( = 10. (a) the entire population in the training data; (b) the background density determined by the bins; (c) a genuine user density determined by the bins. In the d-dimensional feature vector case x = (Xl, ... , Xd)t. Let kj, j = 1, ... , d be the index of the bin where x.i is located, the discriminant function becomes: (6) It is noticeable that the discriminant function is discrete, since the non-parametric density estimation relies on empirical data. 147 2.4 Model4: Discretized density Quantization technology has been widely used in signal processing as a lossy data corn- pression process [9]. The core idea is that by converting a range of continuous signals into discrete symbols, the most important "information" of the signal is maintained. In biometrie applications, the estimated continuous feature density is often inaccurate due to the unreliable samples. Therefore, it is possible to apply quantization, with some loss of the information, to yield a reasonable" guess" of the ground truth den- sity. To apply a likelihood-ratio classifier on a discretized density involves two steps: (1) Determine quantization bins; (2) Calculate the genuine user probability and the background probability within each quantization bin. 80 far, there has been some quantization methods designed for biometrie data [10], [11], [12], [13]. These works are originally motivated for the proteetion of the biometrie information, and the classification is conducted in the binary domain. The bins can be either globally designed [10], [Ll ], or be user-specific [12], [13]. Note that the histogram estimation we proposed in Model 3 can be seen as an empirical quantization method with globally determined bins. For a likelihood-ratio classifier, in addition to the bin design, we need to calculate the probability of both the genuine user and the background within the bins. For this purpose, we can either empirically count the number of samples falling into the bins, or resort to some models (e.g. Gaussian). Here we present an example of modeling the discretized density from the quanti- zation method in [12]. Consider a one-dimensional feature component x from user Wi, given the number of quantization bins K, the genuine feature mean jJ, and standard de- viation CJcan be calculated from the user enrollment samples. Hence the quantization intervals are determined as: te, lK ; 1 J , (7) Ii,k [jJ, - [2(K1 - k) + l]m, jJ, - [2(K1 - k) - l]1"CJ) ,k = 2, ... ,K - 1 , where 1i,k indicates the location of the bins, with 1i,1 = (-00, jJ, - (2K1 - 3)1"CJ], 1i,K = [jJ, - [2(K1 - K) + l]1"CJ, 00) as the left and the right tails. The parameter 1" determines the width of the intervals, which are all fixed to 21"CJ,with the exception that the left and the right tails are extended to infinity. To calculate the genuine user and the background probability, we employ a Normal N(x,O, 1) and a Gaussian N(x,jJ"CJ) density model, respectively. That is: l'k N(x, 0, 1) , (8) r Jli,k N(x,jJ"CJ),k=l, ... ,K. (9) Note that the genuine user probability Pg,k(xlwi) is symmetric around the mean. An example can be seen in Fig. 2. In the d-dimensional feature vector case, let kj, j = 1, ... , d be the bin where Xj is located, the discriminant function becomes: d _ "1' Pg,k,- (xlw·) gi (X ) - L.- II '1 (10) j=l Pb,kj (XIWi) 2.5 Model comparison Here we compare the above models by investigating the properties of their discriminant functions g(x) in a one-dimensional case, with an example in Fig. 3. 148 " (a) (b) (c) Figure 2: An example of the discretized density estimation with J( = 5, r = 1. (a) the Gaussian model, background (black); genuine user (gray); (b) the background density determined by the bins; (c) a genuine user density determined by the bins. Model1and Model 2, by fully employing a theoretical density (e.g. Gaussian in Fig. 3(a)), yield a continuous discriminant function (Fig. 3(b)). The likelihood-ratio classifier built on such discriminant function is optimal in the Neyman-Pearson sense, if the underlying density strictly fits the theoretical model. However, once the samples do not fit the model that we employed, for instance, the data is not Gaussian, or the mean and standard deviation are not correct, or even the features are not independent, the likelihood-ratio classifier collapses. o (a) (b) (c) Figure 3: An illustration of samples drawn from two-dimensional distributions. (a) the theoretical Gaussian density, the background density (black), and the genuine user density (gray); (b) the discriminant function g(x) in model 2; (c) discriminant function g(x) in Model 4, with K = 5, T = 2. Model 3 and Model4, with less or no reliance on a theoretical model, yield a discrete discriminant function (Fig, 3(c)). Such discriminant function has the characteristic that even though the g(x) calculated in (10) is based on a model assumption in Fig. 3(a), the samples which fall in the same quantization cell share the same g(x) value, which is less relevant to the employed model within the cell and consequently less sensitive to the density variation within one cell, as compared to the continuous discriminant function in Fig. 3(b). This can be seen as a way to use the theoretical model to determine a discriminant value at a larger scale (between cells) while ignoring the model details at a smaller scale (within one cell). Such discriminant function might bring benefits to samples which are so unreliable that we can not fully trust the theoretical model that we employ. However, the disadvantages of this model is that there is a shape cut of the discriminant values on the cell boundaries. Moreover, when the features are not independent, the likelihood-ratio classifier collapses. 149 3 Experiments and Discussions We tested the four data models on a face database FRGC (version 1) [14]: • FRGCT: This is the total FRGC (version 1) face data set, containing various number of images of 275 users. The images were taken under both controlled and uncontrolled conditions and were aligned using manually labeled landmarks. A normalized region of interest (ROl) was extracted from every 128 by 128 image, resulting in 8762 pixel values as the raw measurement . • FRGCs: This is a subset of FRGCT, containing 198 users with at least 2 images per user. The images were taken under uncontrolled conditions. In the experiment, we randomly selected independent users for training and test (in- cluding enrollment and verification), while the enrollment and verification are involved with identical users. To evaluate the error with a cross-validation procedure, we re- peated our experiment with a number of 5 partitionings. With n data samples per user, the division of the data is listed in Table 1. Table 1: Training, Enrollment and verification data division (number of users x number of samples per user) for FRGCT and FRGCs. Training Enrollment Verification Partitioning FRGCT 210 x ti 65 x 2n/3 65 x n/3 5 FRGCs 150 x n 48 x 2n/3 48 x n/3 5 _"_Model1 ___"_Model1 5.S --e-- Model 2 12 ----€r-Model2 --a-- Model 3 --e--Model 3 ---+- Mocel4 11 -$--Model4 so ~~------,,~------~--~ Feature dimenslonallty Feature Dimensionallty (a) (b) Figure 4: EER (%) performances of the four models, on (a) FRGCT and (b) FRGCs. We evaluated the EER performances at a number of predefined PCA/LDA [7] output feature dirnensionalities. Model 3 were tested with various settings of K, and Model4 (at K = 3) were tested with various settings of r. Their best performances, together with the results of Model 1 and 2, are presented in Fig. 4 and Table 2. Overall Modellresults in high EER, the performance deteriorates dramatically with the increasing feature dimensionality. The moderate results of Model "3 suggest that with lower feature dimensionality (e.g. d = 20), a larger number of bins yields better performance (e.g. K = 4). However, by increasing the feature dimensionality with more unreliable features, the best performances merely allow a histogram with 2 bins. The reason for this might be that Model 3 is strongly dependent on the empirical data, which easily leads to the curse of dimensionality in high-dimensional cases. The results of Model 4 suggest that with lower feature dimensionality (e.g. d = 20,50), a larger 150 Table 2: EER (%) performances of the four models, on data set (a) FRGeT and (b) FRGes d = 20 d = 50 d = 80 d = 100 Model I 4.48 4.57 5.31 5.80 Model2 2.72 2.20 2.20 2.20 Model3 4.52 (K = 4) 4.65 (K = 2) 4.70 (K = 2) 5.09 (K = 2) Model4 3.64 (r = 2) 2.90 (r = 2) 3.03 (r = 1) 2.94 (r = 1) (a) d = 20 d = 50 d = 80 d = 100 Model I 7.73 9.50 11.43 12.56 Model2 3.87 3.87 3.87 3.87 Model3 7.08 (K = 4) 6.13 (K = 2) 6.12 (K = 2) 6.60 (K = 2) Model4 4.83 (r = 3) 3.86 (r = 1) 3.86 (r = 1) 3.80 (T = 1) (b) T achieves better performance (r = 2). By contrast, higher feature dimensionality (e.g. d = 80,100) allows small r (T = 1). The performances of Model 2 and 4 exhibit stable performances with respect to the increasing dimensionality, which implies that assuming user-independent covarianee or employing user-specific quantization might be less prone to unreliable data. Nevertheless, all these data modeling methods are highly data-dependent. Hence it is not possible to conclude which one should be the gold standard. 4 Conclusions In this paper we give an overview of several data modeling methods used in biometrie applications for a likelihood-ratio classifier. Furthermore, we propose a discretized density estimation model which relies on a quantization scheme. Experiments on FRGe face data shows that both using user-independent covariance matrix (Model 2), and applying a discretized density (Model 4) give reasonably good performance and the models are less prone to unreliable data. References [1] A.M. Bazen and R.N.J. Veldhuis. Likelihood-ratio-based biometrie verification. Circuits and Systems fOT Video Technology, IEEE Tr-ansactions on, 14(1):86-94, 2004. [2] 1. T. Jolliffe. Principal Component Analysis. Springer, 2nd edition, 2002. [3] R.O. Duda, P.E. Hart, and D.G. Stork. Pattern Classification. Wiley-Interscience, 2nd edition, 2000. [4] Te-Won Lee. Independent Component Analysis - Theoru and Applications. Springer, 1st edition, 1998. [5] J.H. Friedman. Regularized discriminant analysis. Journalof the American Sta- tistical Association., 84(405):165-175,1989. 151 [6] S. Mika, G. Ratsch, J. Weston, B. Scholkopf, and K.R Muller. Fisher discrim- inant analysis with kernels. In Neural Networks for Signal Processing IX, 1999. Proceedings of the 1999 IEEE Signal Processing Societu Workshop, 1999. [7] R.N.J. Veldhuis, A. Bazen, J. Kauffman, and P. Hartel. Biometrie verification based on grip-pattern recognition. Security, Steganography, and Watermarking of Multimedia Contents VI. Edited by Delp, Edward J.} IfI; Wong, Ping W. Proceed- ings of the SPIE, 5306:634-641, 2004. [8] D.W. Scott. On optimal and data-based histograms. Biometrika., 66(3):605-610, 1979. [9] A. Gersho and RM. Gray. Vector Quantization and Signal Gompression. Springer, 1st edition, 1991. [10] P. Tuyls, A.H.M. Akkerrnans, T.A.M. Kevenaar, G.J. Schrijen, A.M. Bazen, and RN.J. Veldhuis. Practical biometric authentication with template protection. In Takeo Kanade, Anil K. Jain, and Nalini K. Ratha, editors, AVBPA, volume 3546 of Lecture Notes 'in Computer Science, pages 436-446. Springer-Verlag, 2005. [ll] T.A.M. Kevenaar, G.J. Schrijen, M. van der Veen, A.H.M. Akkerrnans, and F. Zuo. Face recognition with renewable and privacy preserving binary templates. In IEEE Workshop on Automatic Identification Advanced Technologies (A uiolD 2005), pages 21-26. IEEE Computer Society, 2005. [12] Y. Chang, W. Zhang, and T. Chen. Biometrics-based cryptographic key genera- tion. In ICME, pages 2203-2206, 2004. [13] C. Chen, RN.J. Veldhuis, T.A.M. Kevenaar, and A.H.M. Akkermans. Multi-bits biometrie string generation based on the likelihood ratio. In IEEE Conférence on Biometrics: Theory, Applications and Systems, 2007. [14] P. J. Phillips, P. J. Flynn, W. T. Scruggs, K. W. Bowyer, J. Chang, K. Hoffrnan, J. Marques, J. Min, and W.J. Worek. Overview of the face recognition grand challenge. In CVPR (1), pages 947-954, 2005. 152 Grip-Pattern Recognition in Smart Gun Based on Likelihood-Ratio Classifier and Support Vector Machine Xiaoxin Shang, Raymond Veldhuis U niversity of Twente Fac. EEMCS, Signals and Systems Group Hogekamp Building Enschede, The Netherlands x.shang@utwente.nl Abstract In the biometrie verification system of a smart gun, the rightful user of a gun is recognized based on grip-pattern recognition. It was found that the verification perfor- mance of this system degrades strongly when the data for training and testing have been recorded in different sessions with a time lapse. This is due to the variations between the probe image and the gallery image of a subject. In this work the grip-pattern verification has been implemented based on both classifiers of the likelihood-ratio classifier and the support vector machine. It has been shown that the support vector machine gives much better results than the likelihood-ratio classifier if there are considerable variations be- tween data for training and testing. However, once the variations are reduced by certain techniques and thus the data are better modelled during the training process, the support vector machine tends to lose its superiority. 1 Introduetion We develop a prototype recognition system as part of a smart gun, where the hand-grip pattern recognition ensures that the gun can only be fired by the rightful user. This system is intended to be used by the police, since carrying a gun in public brings considerable risks. In the US, for example, vital statistics show that about 8% of the law-enforcement officers killed in a shooting incident were shot by their own weapons [I]. Figure I shows both the prototype of the smart gun and an example of the grip-pattern image. One can see from the right-side figure the pressure pattern of the thumb in the upper- left corner of the image, and those of fingers in the remaining part. Note that only three fingers are present, because the index finger is near the trigger of the gun. We collected the grip-pattern data from a group of police officers in three sessions with a time lapses in between [2]. The data were processed for verification based on a Likelihood-Ratio Classifier (LRC) described in [3]. Initial experimental results indicate that if data for training and testing come from the same collection session, the verification results are fairly good, with an equal-error rate (EER) below 1%; otherwise the results are unsatisfactory, i.e., about 15% EER on average. Since in practice there will always be a time interval between data enrollment and verification, the across-session results are more relevant and, therefore need to be improved. Having analyzed the data collected all sessions, we found that the data of one subject collected across sessions vary greatly, even though the grip-pattern images of this subject from one same session look fairly similar [2]. There are mainly two types of across-session variations. First, a variation of pressure distributions occurs between grip patterns from a subject collected in different sessions. A second type of variation results from the hand shift 153 Figure I: Left: prototype of the smart gun. Right: an example of grip-pattern image. of a subject across sessions [2]. Figure 2 shows two images collected from one subject in two different sessions, respectively. One can see that these two images have quite different pressure distributions. Besides, the hand-grip pattern in the image on the right side is located higher, than that in the image on the left side. Further research showed that these variations are the main reason for the unsatisfactory across-session verification results [2]. Figure 2: Grip-pattern images of a subject in different collection sessions. Based on the characteristics of the grip-pattern images mentioned above, the verification results can be improved by reducing the across-session variations of data. In earlier work we applied three methods, each of which effectively improved the verification results, respec- tively. Firstly, we used template-matching registration (TMR) to reduce the across-session variation due to the hand shift [4][5]. By doing this the EER was reduced to about 13% from about 15%. The second technique that we applied was the double-trained model (DTM), where the data from two out of three collection sessions were combined for training, and those of the remaining session were used for testing. With DTM, the across-session vari- ations of data were much better modelled in the training procedure, compared to the case where only one collection session of data were used for training. The verification results proved to be greatly improved by DTM, with the EER reduced from 15% to about 8% on av- erage. Thirdly, we applied an image preprocessing approach, Local Absolute Binary Patterns (LABP), prior to classification [6]. This technique can reduce the across-session variation 154 of hand-pressure distribution. Specifically, with respect to a certain pixel in an image, the LABP processing quantifies how its neighboring pixels fluctuate. It was found that the appli- cation of LABP improved the verification results significantly, with the EER reduced from 15% to about 9% on average. Finally, the verification results were improved greatly when all these three methods were applied together, with an average EER of about 3% approximately. Note that all the verification results given above are based on LRC, which requires es- timation of the probability density function (PDF) of the data [3]. Therefore, if there exist large variations between data for training and testing, the verification results will be greatly degraded. To further improve the verification results and also to set a reference for evalua- tion of the results obtained so far, we decided to implement another classifier which is more capable to cope with the across-session variations of data. With these motives, we chose the Support Vector Machine (SVM). As a contrast to LRC, SVM does not estimate the data's distribution. Instead, it tries to maximize the margin between different classes. Therefore, it is expected to be more robust to across-session data variations than the PDF-based classifiers in a many cases. This paper presents and compares the verification results by using SVM and LRC. The remainder of this paper is organized as follows: Section 2 briefly describes the verification algorithms based on LRC and SVM, respectively. Subsequently, Section 3 presents and discusses the experimental results. Finally, conclusions are given in Section 4. 2 Verification Algorithms 2.1 Likelihood-Ratio Classifier In classification by the LRC, it is assumed that the data is Gaussian [7],[8]. The pixel values of a grip-pattern image are arranged into a (in this case 44 x 44 = 1936-dimensional) column vector x. The feature vector x is normalized, i.e. IIxl12 = 1, prior to classification. A measured image originates either from a genuine user, or from an impostor. The grip-pattern data of a certain subject is characterized by a mean vector /-Lw and a covariance matrix :Ew, where the subscript W denotes 'Within-class'; while the impostor data is characterized by /-LT and :ET, where the subscript T denotes 'Tota!' . The matching score of a measurement x with respect to this subject is derived from the log-likelihood ratio. It is computed by (I) If S(x) is above a preset threshold, the measurement is accepted as being from the genuine user. Otherwise it is rejected [3]. The threshold determines the false reject rate (FRR) and the false acceptance rate (FAR) of verification. In practice the mean vectors and covariance matrices are unknown, and need to be es- timated from a set of training data. In our case, the number of training samples from each subject should be much greater than 1936. Otherwise, the algorithm would become over- trained [3]. However, we cannot make this large number of measurements, for it would be very impractical for the training of the classifier. In addition, the estimated values of the covariance matrices would be rather inaccurate if the feature dimensionality is too large. This problem can be solved by the following steps prior to classification. Firstly, we project all the data into a whitened PCA (Principal Component Analysis) space, such that :ET becomes an identity matrix with a lower dimensionality of NpCA. At this point, we make a simplifying assumption that each subject shares the same within-class covariance matrix with each other, so that it can be estimated more accurately from the data of all the subjects. It was proved in [3], that in this new feature space, the number of modes of variations contributing to the verification, is not more than Nuser - 1, where Nuser is the number of subjects for 155 trammg. Besides, these modes of variations have the smallest variances of each individual subject's data. A further dimensionality reduction can then be achieved by applying another peA to the data, and discarding all the modes of variations except the Nuser - 1 ones with the smallest variances. This last operation is in fact a dimensionality reduction by means of the LDA (Linear Discriminant Analysis). The whole procedure of dimensionality reduction can be represented by a transformation matrix F. After the LDA, the total covariance matrix becomes an identity matrix, while the within-class covariance matrix becomes diagonal. Both of them have a dimensionality of Nuse !" 1 [3]. As a result, (1) can be rewritten as - S(X) = -(Fx - FJlW)T A:::;l(Fx - FJlw) + (Fx - FJlT)T(Fx - FJlT), (2) where Aw denotes the resulting diagonal, within-class covariance matrix. Equation (2) shows that four entities in total need to be estimated from the training data: Jlw, JlT, F, and Aw. 2.2 Support Vector Machine The SVM is a binary classifier that maximizes the margin between two classes. Attributed to this characteristic, the generalization performance (i.e. error rates on test sets) of SVM usually either matches or is significantly better than that of competing methods [9],[10]. Given a training set of instance-label pairs (x., Yi), i = 1, ... , I where x, E Rn and Yi E {I, -l}l, SVM requires the solution of the following optimization problem: l mm ~wTW+C~~i (3) w,b,~ i=l subject to y.;(wT CP(Xi) + b) 2> 1 - ~·i, (4) ~i 2> O. (5) Here training vectors X.i are mapped into a higher (maybe infinite) dimensional space by the function cp. Then SVM finds a linear separating hyperplane with the maximal mar- gin in this higher dimensional space. C > 0 is the penalty parameter of the error term, a larger C corresponding to assigning a higher penalty to errors. Furthermore, J( (Xi, Xj) = cp(Xi)T cp(Xj) is called the kernel function. We applied SYM to the grip-pattern veritication, where multiple users are involved, by using the method proposed by [11]. Specifically, the problem is formulated in a difference space, which explicitly captures the dissimilarities between two grip-pattern images. In this difference space, we are interested in the following two classes: the dissimilarities between images of the same individual, and the dissimilarities between images of different people. These two classes are the input to a SYM algorithm, and the SVM algorithm generates a decision surface separating the two classes. The data are transformed by both peA and LDA in exactly the same way as in the case of the LRe, prior to the classification. In SYM we used the Gaussian radial basis function kernel. 3 Experiments, Results and Discussion We recorded the grip-pattern data from a group of police officers in three sessions, with approximately one month and four months in between. In total, 39 subjects participated in both the first and the second collection sessions with 25 grip-pattern images recorded for 156 each subject. In the third session, however, the data were collected from 22 subjects out of the same group, and each subject contributed 50 images. The verification performance is evaluated by the overall EER of all the subjects. It is computed from the matching scores of all the genuine users and impostors. The experimental results obtained by using the SVM and the LRC are compared in five cases. In the first case, none of the three methods of TMR, DTM and LABP described in Section I is in use (see Table I). Only one of these methods is applied in the second, third, and fourth case, respectively (see Table 2, 3, and 4). In the last case, all of the three methods are implemented (see Table 5). Table I: Original verification results in EER(%). I Train I Test I LRC I SVM I I 3 24.09 17.55 2 3 18.95 14.73 I 2 7.94 4.36 3 2 20.16 11.64 2 I 5.53 4.00 3 I 14.70 11.45 Average 15.2 10.6 Table 2: Verification results in EER(%) with data preprocessed by TMR. I Train I Test I LRC I SVM I I 3 18.36 10.55 2 3 18.88 13.24 I 2 5.98 5.84 3 2 17.82 15.45 2 I 3.90 4.07 3 I 12.9 I 10.73 Average 12.9 9.9 Table 3: Verification results in EER(%) with OTM. I Train I Test I LRC I SVM I 1+2 3 13.73 12.73 1+3 2 5.09 5.27 2+3 I 4.00 4.47 Average 7.6 7.4 One can see from Table I that if none of the methods of TMR, OTM and LABP is applied, the verification results based on SVM are much better on average, than those obtained by LRC. This suggests that SVM is more capable in coping with large across-session variations of data, compared to LRC. This may be attributed to the different characters of these two classifiers. Since the SVM tries to maximize the margin between different classes, it seems to have better generalization performance compared to the LRC, which is based on the POF estimation of data. 157 Table 4: Verification results in EER(%) with data preprocessed by LABP. I Train I Test I LRC I SVM I I 3 9.98 6.91 2 3 16.73 9.81 1 2 5.23 3.09 3 2 11.91 10.31 2 I 4.82 3.57 3 I 8.55 8.76 Average 9.5 7.0 Table 5: Verification results in EER(%) with TMR, DTM and LABP. I Train I Test I LRC I SVM I 1+2 3 4.86 7.64 1+3 2 3.64 5.82 2+3 1 2.02 3.67 Average 3.5 5.7 However, Table 2, 3, and 4 show that if one of TMR, DTM or LABP is applied, the SVM is not as much superior to the LRC as in Table I, even though the verification results based on both classifiers become improved on average. That is, LRC benefits more from these methods than SVM. It is quite interesting to note that LRC actually outperforms SVM, if all three preprocessing methods are combined in use (see Table 5). To summarize, SVM seems to lose its superiority to LRC once the data are better modelled in the training session. What's more, the better the data are modelled, the more superiority SVM tends to lose. Since the best verification results are obtained by using LRC (see Table 5), we shall continue our future work based on LRC, instead of SVM. 4 Conclusions The grip-pattern verification has been implemented based on both classifiers of LRC and SVM, and the results have been compared under different conditions. It has been shown that SYM gives much better results than LRC, when there are considerable data variations between training and testing. That is, in the situation where data are improperly modelled during the training process, SVM seems to be able to capture the characteristics of data better than LRC. However, once the variations are reduced and thus the data are better modelled during the training process, SVM tends to lose its superiority. Besides, the better the data are modelled, the less SVM tends to outperform LRC. Acknowledgment This research is supported by the Technology Foundation STW, applied science division of NWO and the technology programme of the Ministry of Economic Affairs. 158 References [I] The national Uniform Crime Reporting Program, "Law Enforcement Officers Killed and Assaulted," tech. rep., Federal Bureau of Investigation, 2001. [2] X. Shang, R.N.J. Veldhuis, A.M. Bazen and W.P.T. Ganzevoort, "Algorithm Design for Grip-Pattern Varification in Smart Gun," ProRISC, 2005. [3] Raymond Veldhuis, Asker Bazen, Joost Kauffman, Pieter Hartel, "Biometrie verifica- tion based on grip-pattern recognition," SPIE, 2004. [4] X. Shang and R.N.J. Veldhuis, "Registration of Hand-Grip Pattern in Smart Gun," ProRISC, 2006. [5] A. Jain, Fundamentals of digital image processing, Prentice-Hall, 1989. [6] X. Shang, R.NJ. Veldhuis, "Local Absolute Binary Patterns as Image Preprocessing for Grip-Pattern Recognition in Smart Gun," BTAS, 2007. [7] Asker Bazen and Raymond N.J. Veldhuis, "Likelihood-Ratio-Based Biometrie Verifi- caton," IEEE Transactions on circuits and systems for video technology, vol. 14, no. 1, January, 2004. [8] H.L. Van Trees, Detection, Estimation, and Modulation Theory, New York: Wiley, 1968. [9] V.N. Vapnik, The Nature of Satistical Learning Theory, Springer, 1995. [10] Christopher J. C. Burges. "A Tutorial on Support Vector Machines for Pattern Recog- nition," Data Mining and Knowledge Discovery 2, page 121-167, 1998. [11] P.Jonathon Phillips, "Support Vector Machines Applied to Face Recognition," Ad- vances in Neural Information Processing Systems 1J, MIT Press, 1999. 159 Assignment of channel control elements in the Physical Downlink Control Channel in 3GPP-LTE Ludo Tolhuizen Tim Moulsley Philips Research Europe Philips Reserach Europe High Tech Campus 37 Cross Oak Lane 5656 AA Eindhoven, The Netherlands RedhilI, Surrey, RHI 5HA, United Kingdom ludo.tolhuizen@philips.com tim.moulsley@philips.com 1 Introduetion The problem studied in this paper originates from resource assignment for the downlink physical control channel from the base station to various terminals in the upcoming 3GPP- LTE standard for mobile communications. We start with a terse problem description intended to match the likely requirements and operation of LTE; for more background information, we refer to [Il. At a given moment, the base station wishes to send control messages to as many as possi- ble members of a group of mobile terminals, called user equipment (UEs) in 3GPP parlance. To this aim, resources called CCE control elements (CCEs) are available. Moreover, we have a collection S consisting of sets of CCEs termed search spaces. To each UE, a search space from S is assigned randomly and uniformly; a search space thus can be be assigned to multiple UEs. The base station can send the control message intended for a UE on any of the CCEs from the search space assigned to UE; per CCE, at most one message can be transmitted. At the receiving end, each UE inspects each CCE from its search space to see if it contains a mes- sage intended for him. In practice there is a receiver processing overhead for each candidate messages a UE has to inspect, so it is desirable that the size of a search space should be small. The aim of the base station is to send messages to as many UEs as possible for the given set of CCEs and a given assignment of search spaces to the UEs. As performance criterion, we take the blocking error percentage, that is, the average percentage of the UEs to which no control message is sent. We will demonstrate that different collections of search spaces S can yield vastly different blocking percentages, even if the number of UEs, the number of CCEs, and the sizes of S and those of the individual search spaces are fixed. It turns out that the relative rankings of the performance of these collections do not depend on the matching algorithm that the base station employs to assign CCEs to UEs. The paper is organised as follows. In Section 2, we describe three matching algorithms that we consider in this paper. In Section 3, we derive analytical results for the blocking error percentage for some special cases. In Section 4, we present simulation results for some specific parameter values and collections of search spaces. Finally, we draw some conclusions in Section 5. 2 Matching algorithms The base station can assign CCEs to UEs in any way it wishes, under the condition that a CCE can be assigned to a UE if and only if it is in the search space of that UE. In this paper, we consider three such matching algorithms. The reason is that we wish see if a collection of search spaces yields (relatively) low blocking percentages for various matching algorithms simultaneously - as it not known a priori which algorithms will be used in practice. Also, it is interesting in its own right to see the performance differences obtained with different 161 matching algorithms. In the description of the algorithms, we will speak about afree CCE to indicate a CCE that has not been assigned to any UE yet. We call the first of these algorithms randomized greedy matching. It considers UEs in arbitrary order. If the search space of the UE under consideration contains a free CCE, then one of such free CCEs is randomly selected and subsequently is assigned to that UE. An assignment (or matching) is never undone. We call the second of these algorithms weighed greedy matching. In this algorithm, CCEs are considered in turn, and matched to UEs. A matching is never undone. A CCE that runs the highest risk of not being assigned is considered first. To be more precise, for each CCE e, let 'U(e) denote the set of UEs that have e in their search space and to which no CCE has been assigned yet. If 'U(e) = 0 for all free CCEs e, the algorithm stops. Otherwise, we choose a free CCE c' for which 'U(e) =1= 0; in fact, c' is such a CCE for which 'U(c') has minimal size.'. The CCE c' subsequently is assigned to a UE to which no CCE has been assigned yet and has c' in its search space. In fact, we choose such a UE that has the lowest number of free CCEs in its search space, and, if there are more such candidates, we choose such a UE with minimal index. The third algorithm is the optimal matching algorithm based on maximum flow algo- rithms, see [3, Ch. 26, Sec. 3]. This algorithm works in an iterative fashion and increases the size of a matching in every iteration step, until a matching of maximum size is found. It turned out that with our implementations, our simulations ran much faster if we initial- ized the optimal algorithm with a (non-optimal) matching found with randornized greedy matching or weighted greedy matching. 3 Analytical results In this section, we derive analytical results for two special cases, viz the case that the search spaces are disjoint, and the case that the collection S of search spaces consists of all sets of B CCEs. 3.1 Disjoint search spaces In this subsection, we consider the special case that distinct search spaces from S are disjoint. We denote the number of CCEs by C, the number of UEs by N, and the cardinality of the collection of search spaces S by S. Finally, for each search space s E S, the number of CCEs in s is denoted by ns. For sE S, let ri, be the number ofUEs with search space s. If ti, ::;Bs, all UEs with search space s get a CCE; otherwise, (ns - Bs) of such UEs do not get a CCE2 Any UE is assigned search space s with probability 1/ S; therefore, the probability that ti, UEs are assigned to search space s equals (,~J(1/s)ns(l- I/S)N-ns. So, denoting by [; the mathematical expectation, we have that [;(# UEs with search space s that do not get a CCE) = (I) N (ns - Bs) (N) (l)nS L 5 ri; (1 - 1 S)N-ns. (2) ns=B+l The number of UEs that do not get a CCE obviously is the sum over all s E S of the number of UEs assigned to search space s that do not get a CCE. Using the additivity of the I If there are multiple choices for c', in our simulations we picked the smallest such c' 2This is true for all considered matching algorithms 162 expectation operator, we find that £(# UEs that do not get a CCE) = L .L N (j - Bs) (N). (I)j S 1 . (1 - S)N-J. (3) sES J=Bs+l J As all N UEs play the same role, we find that prob(givenUEdoesnotgetaCCE)= 1 NL.L N (j-Bs) (N)j (1)s (I-S)N-J. j 1 . (4) sES J=B.+1 For the special case that all search spaces have the same cardinality, say cardinality B, Equa- tion 4 reads as prob(given UE does not get a CCE) = NS t j=B+l (j - B) (N) (.!.)j (1 _ .!. )N-j. J S S (5) The blocking percentage is obtained by multiplying (4) or (5) with 100. 3.2 Search spaces: all B-sets, randomized greedy scheduling In the previous section, we considered the situation with very few search spaces. In this section, we consider the other extreme: S = (~), so each UE is randomly assigned a search space of B CCEs. We analyze how this choice for S works out in conjunction with random- ized greedy scheduling. Suppose that k CCEs have been assigned so far, and that a new UE is to be scheduled. This is surely possible if k < B. If k :2 B, the new UE can not be scheduled if and only if its search space is a subset of the set of k CCEs scheduled so far; there are (~) of such search spaces, out of the S = (~) search spaces. The probability ak that the new UE cannot be scheduled thus equals a =(k)/(C)= k(k-I) (k-B+I) k B B C(C-I) (C-B+Ir Let p(k, j) denote the probability that after j assignments, exactly k UEs have got a CCE. Then we have that if j = k, forI::::;j::::; B,p(k,j) = { ~ otherwise and for j :2 B + 1 and B < k < C, p(k,j) = p(k,j -I)ak +p(k -I,j -1)(1- ak-l). The expected number of assigned CCEs for N :2 B UEs equals c Lkp(k,N). k=B The blocking percentage thus equals 163 4 Simulation resuls In this section, we present the blocking percentages for various collections of search spaces and matching algorithms. In all sirnulations, we consider C = 48 CCEs, and all search spaces contain E = 6 CCEs. We index the CCEs by the numbers 0, I, ... C - 1. The number of UEs is indicated by N. Intuitively speaking, it seems favourable if different search spaces have few CCEs in common, as this leaves most freedom for the matching algorithms. We can identify a search space of size E with binary vectors of length C of (Hamming) weight E, a one in position i corresponding to the presence of i in the search space. Search spaces have few CCEs in common if and only if the corresponding binary vectors have a large Hamming distance. It would thus seems reasonable to let the search spaces cortespond to words of a binary code of length C for which all words have weight E and with a large minimum Hamming distance. This inspired us to consider the following collection Sd of search spaces: s, = {{i,i + l,i + 3,i+ 7,i + I2,'i + 22} 10.s i.s C -I}, where all elements in the set are to be taken modulo C = 48. The collection Sd has been derived from a difference set; any two distinct sets from Sd thus have at most one element in common, see the appendix. We also considered the set SI that consists of all sets that consist of six "cyclically consecu- tive" CCEs, so SI = {{i, i + 1, i + 2, i + 3, i + 4, i + 5} 10 .s i .s C - I}, where all elements of the set are to be taken modulo C = 48. We also considered the search space S8 defined as S8 = {{i, i + 8, i + 16, i + 24, i + 32, i + 40} I 0 .s i .s 7}. As the search spaces of S8 are disjoint, we can directly apply the results from Section 3.1. In Table I, we present the results for the above collection of search spaces and various values of N for the randomized greedy scheduler. N 36 40 44 46 48 Sd 2.2 3.9 6.4 7.0 9.7 SI 3.9 6.1 9.0 10.6 12.3 S8 6.09 8.73 11.75 13.36 15.02 all 6-sets 1.79 3.42 5.88 7.43 9.17 Table 1: Blocking error percentage; randomized greedy scheduler We see that Sd clearly outperforms S), and that S8 performs worst of all. The bottom line in Table 1 contains the blocking percentages for the case that all sets with six elements can be a search space, as computed in Section 3.2. Table 2 contains the blocking percentage for the above search spaces in case the weighted greedy scheduler is employed. We see a significant decrease in the blocking error percentage of Sd and SI (not for S8 of course, as the randomized greedy scheduler is optimal for that collection of disjoint search spaces). The collection of search spaces Sd again yields the lowest blocking error percentage. 164 N 36 40 44 46 48 Sd 0 0 0.2 0.6 l.7 SI 0.7 1.7 3.7 S.l 6.9 S8 6.09 8.73 Il.7S l3.36 lS.02 Table 2: Blocking error percentage; weighted greedy scheduler Finally, in Table 3, we present the simulation results for the optimal scheduler. Again, Sd results in the lowest blocking error percentage. N 36 40 44 46 48 Sd 0 0 0 0.1 0.6 SI 0.3 0.9 2.3 3.5 S.l S8 6.09 8.73 ll.7S l3.36 lS.02 Table 3: Blocking error percentage; optimal scheduler 4.1 Multiple CCE aggregate levels The base station can use multiple consecutive CCEs for sending a single control message to a UE that suffers from poor reception conditions. Indeed, a UE can be assigned 1,2,4 or 8 CCEs (aggregation level l,2,4,8). A l-CCE can start in any location; A 2-CCE at every second location (position i = 0,2,4, ... ) A 4-CCE on every fourth location (i = 0,4,8, ... ) A 8-CCE can start on every eight location (i = 0,8,16, ... ). It is suggested in [2] that search spaces consist of consecutive CCEs. This does not seem like a good idea: an 8-CCE may block a large part of a search space. For example, if search spaces for single CCEs consists of six consecutive CCES, then an 8-CCE starting in position i blocks the complete search space for l-CCEs that start in position i,i + 1 and i + 2. That is, if this particular 8-CCE is assigned to a UE, no UE message at I-CCE level can be sent to any UE that has a search space for I-CCEs that starts in positions i,i + 1 or i + 2, To investigate this further, we simulated two situations, again with C = 48 CCEs and sets of search spaces that each contain B = 6 CCEs. We considered five alternatives for the collection of search spaces for the l-CCEs (all elements considered modulo C): Sd : {i, 'i + 1, i + 3, i + 7, i + 12, i + 22} with 0 :::::i ::::: C - 1; and for j = 1,5,7,8, Sj = {i, i + i. i + 2j, i + 3j, i + 4j, i + 5j} with Note that S8 consists only of eight different search spaces. ° ::::: C - i ::::: 1. The criterion for a matching algorithm for assigning search spaces in case of multiple CCE aggregation levels is not obvious. For example, if two CCEs are available, we could prefer to give it to two UEs, each requiring one CCE, or to one single VE that requires two CCEs. For maximizing the number of UEs to which a control message is sent, we would prefer the first alternative. If, however, we always do so, UEs requiring a larger number of CCEs possibly will never receive a message at all. To circumvent this difficulty, we only consider the situation where some CCEs are in use for messages at higher aggregate levels, and the remaining CCEs are to be assigned to UEs with l-CCE messages. First, we consider the situation that CCEs 0, l, ... , 7 are assigned to a VE with a 8-CCE message, and the other N UEs all have a I-CCE message. We simulated the blocking error percentage for these N UEs. Note that there is no need to simulate S8: if CCEs 0, 1,... ,7 are 165 occupied, we are left with a collection of eight disjoint search space each consisting of five CCEs, so that we can employ the results of Section 3.1 with B = 5 and C = 40. N 28 32 36 38 40 Sd 3.2 5.4 8.3 10.0 11.9 SI 11.9 13.8 16.2 17.4 18.9 S5 4.3 7.0 10.3 12.2 14.1 S7 4.1 6.8 10.2 12.0 14.0 Ss 5.91 9.00 12.55 14.45 16.41 Table 4: Blocking error percentage; CCEs 1,..,8, occupied, randomized greedy scheduler We see that SI, a consecutive search space, performs worst of all. Alternative Sd performs best of all. The results with weighted greedy scheduler are contained in Table 5 N 28 32 36 38 40 Sd 0.1 0.2 0.4 0.8 2.1 SI 8.8 9.9 11.6 12.7 13.9 S5 0.8 2.1 4.6 6.4 8.4 S7 0.9 2.1 4.6 6.4 8.5 Ss 5.91 9.00 12.55 14.45 16.41 Table 5: Blocking error percentage; CCEs 1,..,8 occupied; weighted greedy scheduler The results with the optimal scheduler are presented in Table 6. N 28 32 36 38 40 Sd 0.1 0.2 0.3 0.3 0.8 SI 8.7 9.6 10.9 11.7 12.9 S5 0.6 1.7 3.7 5.4 7.5 S7 0.6 1.7 3.6 5.2 7.2 Ss 5.91 9.00 12.55 14.45 16.41 Table 6: Blocking error percentage; CCEs 1,..,8 occupied; optimal scheduler Finally, we consider the following situation: CCEs 0,1, ... ,7 are assigned to a UE with a 8-CCE message. Furthermore, at random an i E {2, 3, ... , 11} is selected and the locations 4i, 4i + 1, 4i + 2, 4i + 3 are assigned to a UE with a 4-CCE message. Apart from these two UEs, there are N UEs present, all with a l-CCE message. Note that we can apply the results from Section 3.1 to Ss: there are eight disjoint search spaces, four of which contain four CCEs and four of which contain five CCEs. 166 N 24 28 32 34 36 Sd 3.8 6.2 9.3 11.2 13.3 SI 14.1 16.2 18.7 20.1 21.6 S5 4.5 7.5 11.1 13.1 15.3 S7 4.5 7.5 11.1 13.2 15.3 Ss 6.32 9.73 13.63 15.70 17.82 Table 7: Blocking error percentage; CCEs 1,..,8 and four consecutive CCEs are occupied; randomized greedy scheduler N 24 28 32 34 36 Sd 0.4 0.5 0.7 1.1 2.4 SI 10.9 12.3 14.1 15.4 16.7 S5 0.9 2.4 5.2 7.2 9.5 S7 0.9 2.3 5.1 7.0 9.3 Ss 6.32 9.73 13.63 15.70 17.82 Table 8: Blocking error percentage; CCEs 1,... ,8 and four consecutive CCEs are occupied; weighted greedy scheduler Finally, the results of the optimal scheduler are presented in Table 9 N 24 28 32 34 36 Sd 0.4 0.5 0.6 0.8 1.6 SI 10.8 12.1 13.7 14.9 16.1 S5 0.9 2.2 4.7 6.6 8.9 S7 0.9 2.3 4.9 6.7 8.9 Ss 6.32 9.73 13.63 15.70 17.82 Table 9: Blocking error percentage; CCEs 1,... ,8 and four consecutive CCEs are occupied; optimal scheduler 5 Conclusions We have compared some search space designs; Sd with non-uniform spacing between the elements, and SI, S5, S7 or Ss, with 1,5,7 or 8 CCE spacing between the elements resepc- tively. We conclude that of the search space designs considered Sd, in all cases results in the smallest blocking error probability. In case of multiple CCE aggregation levels, SI yields large blocking error probabilities, as a single 8-CCE message may prevent some UEs receiv- ing any I-CCE message. In case of I-CCE messages only, SI, S5 and S7 yield the same blocking error percentage, provided that C is not a multiple of five or seven. This is so be- cause sets by multiplying the elements of the search spaces of SI by five (seven), we obtain search spaces from S5 (from S7, respectively). If C is not a multiple of five or seven, such multiplications simply permute the position indices. 167 Appendix: Difference sets Distinct search spaces from Sd from Section 4 have at most one element in common. To see this, we repeat some known theory from difference sets. Definition. A set D = {dl, d2,···, dm} is a difference set modulo n all differences di - dj with 1 ..:::: m, i of- j are different modulo n. i, j ..:::: For example, take D = {O,1, 3, 7, 12, 22}. The differences of distinct elements of D are ±l, ±2, ±3, ±4, ±5, ±6, ±7, ±9, ±10, ±ll, ±12, ±14, ±18, ±20, ±21. As a consequence, D is a difference set modulo n for all n :2': 43. The relevance of the concept of difference set is clear from the following proposition. Proposition Let D C {O, 1, ... , n - I}. For 0 ..:::: n - 1, let i ..:::: i + D = {(i + d) mod n ] d « D}. The set D is a difference set if and only if for all distinct i and j in {O, 1 ... , n - I}, the sets i + D and j + D have at most one element in common. Proof. Let i and j be two distinct elements from {O, 1, ... , n - I} such that i + D and j + D have at least two elements in common. Then there are elements dl, da, d3, d4 in D such that dl of- d3 and i + dl == j + d2 mod n and i + d3 == j + d4 mod n. Then we have that As a consequence, D is not a difference set. Conversely, suppose D is not a difference set. Then there are different pairs (dl, d3) and (d2, d4) at distmct elements 111 D such that dl - d3 == d2 - d4 mod n. Let 1 SJ S n - 1 be such that dl - d3 == j mod n. Then D and (j + D) have at least two elements in common, namely dl = d3 + j and d2 = d4 + j. References [I] "Configuration of PDCCH candidate sets for the control. of blind de- coding attempts", 3GPP Document RI-080675, Availalbe online at www.3gpp.org/ftp/tsg_ran/WG 1_RLl/TSGR 1_52/Docs. [2] "PDCCH blind decoding - Outcome of offline discussions", 3GPP Document RI- 081101, Available online at www.3gpp.org/ftp/tsg_ranIWG I _RLl /TSGR I_j2/Docs. [3] T.H. Carmen, C.E. Leiserson, R.L. Rivest and C. Stein, Introduetion to Algorithms, 2nd edition, The MIT Press, 1993. 168 Influence of 60 GHz Front-End N onidealities on CPM with Frequency Domain Equalization W. Van Thillol,2, J. Nsenga-", R. Lauwereins ':", V. Rarnon+, A. Bourdoux ', F. Horlin" l!MEC 2K.U. Leuven 3Université Libre de Bruxelles Kapeldreef 75 Kasteelpark Arenberg 10 Avenue F.D. Roosevelt 50 B-300l Leuven, Belgium B-300 I Leuven, Belgium B-1050 Brussels, Belgium Email: wim.vanthillo@imec.be Phone: +32.16.28.76.80 Abstract Short-range digital communications at 60 GHz have recently received a lot of inter- est because of the huge bandwidth available at those frequencies. The capacity offered to the users could finally reach 2 Gbps, enabling the deployment of new multimedia ap- plications. However, the design of analog components is critical, leading to a possible high nonideality of the analog front end. In this paper, we propose Continuous Phase Modulation (CPM) with frequency domain equalization as a suitable air interface for 60 GHz applications. Furthermore, we analyze the degradation due to phase noise and the clipping and quantization caused by the analog-to-digital converter. 1 Introduetion We are witnessing an explosive growth in the demand for wireless connectivity. Short range wireless links will soon be expected to deliver bit rates of over 2 Gbit/s. Worldwide, re- cent regulation assigned an at least 3 GHz-wide frequency band at 60 GHz to this kind of applications [1]. Chips for mobile consumer devices need to be power efficient; hence a suit- able modulation technique for 60 GHz transceivers should allowan efficient operation of the power amplifier (PA). Moreover, these chips need to be cheap so the modulation technique should have a high level of immunity to Front-End (FE) nonidealities. CPM signals possess these properties. They have a perfectly constant envelope which makes them much more favorable than Orthogonal Frequency Division Multiplexing (OFDM) as cheap, power efficient nonlinear PA's can be used instead of expensive, inefficient linear ones [2]. Moreover, they combine attractive spectral properties with excellent power ef- ficiency [3]. The typical 60 GHz channel is severely frequency-selective for the targeted signal bandwidth. Equalizing such channels in the frequency domain (FD) rather than in the time domain (TO) can significantly lower the computational complexity [2]. Therefore, we perform frequency domain equalization (FOE) of CPM signals as described in [4]. In this paper, we investigate the robustness of this CPM-FDE air interface against two FE imperfections: Phase Noise (PN) and Analog-to-Digital Converter (ADC) clipping and quantization. The former is caused at the mixing stage in transmitter and receiver. Their Local Oscillators (LO) do not produce pure sinusoids. Rather, the LO's fluctuate around the desired carrier frequency. At 60 GHz, this PN can be very high in cheap chips. The latter is present because the ADC in the receiver must have the lowest possible resolution (number of bits) to minimize its power consumption for a given bandwidth. The paper is structured as follows. In Section 2, the CPM waveform is introduced and a FD matrix model is presented. Section 3 reviews our CPM-FDE approach of [4] and intro- 169 duces a combined TD/FD CPM demodulation approach. The FE nonidealities are introduced in Section 4 and finally simulation results are discussed in Section 5. We still introduce some notation conventions. Vectors in the TD are represented by underlined lowercase letters z, in the FD by uppercase letters X. The n'h element of a vector 22 is Xn. Matrices in the TD are represented by doubly underlined lowercase letters :;g, in the FD by uppercase letters X. We do not use the classical boldface lowercase notation for vectors and uppercase for matrices as it does not allow us to distinguish between vectors and matrices both in TD and FD. In a matrix or vector, [x, y, z] are elements on a row, whereas [x; y; z] form a column. The conjugate transpose of a matrix is denoted by (.) Hand (.)' denotes the complex conjugate of a scalar. 2 Signal Model In this section, we introduce the CPM modulation technique and the matrix model which is used to develop our CPM-FDE approach. 2.1 CPM and its Linear Representation A transmitted CPM signal has the form: (1) where Q,_ contains the sequence of M-ary Amplitude Shift Keyed (ASK) symbols an E {±l, ±3, ..., ±M - I} [3]. The symbol duration is T and Es is the energy per symbol, normalized to Es = 1. The transrnitted information is contained in the phase: (2) n where h is the modulation index and q(t) is the phase response, related to the frequency response .f(t) by the relationship q(t) = J~(X) .f(T) d r. The pulse f(t) is a smooth pulse shape over a finite time intervalO::; t ::; LT where L is an integer, and zero outside. The function f(t) is normalized such that Jc;Q(X) f(t) elt = ~. Exploiting the Laurent decomposition r51, we can write (1) as a sum of P = 2L-l linearly modulated signals: P-l s(t) = 2..: 2.:)p,n lp(t - nT) (3) p=O n where the pseudocoefficients bp,,, are given by (4) with {Jp,i the 'ilh bit in the binary representation of p (p = 2:t~/ 2i-1 (Jp,i)' The Laurent pulses lp(t), p = 0, ... , P - 1 are real functions with nonzero values in the interval LpT, p = 170 0, ... , P - 1 respectively, where Lp ::S L + 1. Representation (3) is only valid for binary modulation formats (M = 2) and noninteger h: For simplicity, we will only consider these cases below. Using [6] though, the techniques can be generalized to all CPM formats. In this paper, we assume that the frequency components of the CPM signal above liT are negligible. This assumption allows us to construct a discrete version of (3) as follows: P-l Sn = LL p=O m bp,m lp,n-2m (5) where lp,n ~ lp(t) It=nTj2 and Sn ~ s(t) It=nTj2' If the assumption made above is not satisfied for a particular CPM scheme, a higher oversampling rate should be chosen. The model in this paper can easily be adapted accordingly and thus stays valid. 2.2 Frequency Domain Matrix Model The sent signal (5) is digital-to-analog converted and filtered by the transmitter filter 1/Jl'r.(t). It is then sent through a linear multipath channel1/Jh(t) and through the receive filter 1/J,.ec(t). Let h(t) = 1/Jtr(t) * 1/Jh(t) * 1/JTeC(t) denote the overall impulse response of the cascade trans- mit filter, linear channel and receive filter with maximum length LeT, where * denotes a convolution. The received base band signal can then be written as: r(t) = L Sn h(t - nT 12) + fi(t) (6) n where fj(t) = ry(t) * 1/J"ec(t) with ry(t) the Additive White Gaussian Noise (AWGN). The received signal is sampled at Is = 2fT: P-l r« ~ r-(t) It=nT/2 = L m Sm hn-m + fin = L hn-m 771 LL p=û k lp;m-2k bp,k + fin (7) where (8) and (9) The block-based CPM system is explained in [4]. A cyclic prefix (CP) of length Np, where Np > Le to avoid Inter-Block Interference (IBI), is appended to each transmitted block to enable low-complexity equalization in the FD. However, it is known that only the CP is not sufficient to make the convolution of a CPM signal with a linear channel cyclic [7]. An extra subblock of length J( of data-dependent symbols has to be inserted in each block to cope with the memory in the CPM signal. As explained in [4], we can then write (7) in matrix form in the frequency domain as: B.=H14B+N (10) where matrices H and 14 and vectors B and N represent the channel, the Laurent pulses, the pseudocoefficients and the noise in the FD respectively. They are further detailed in [4]. 171 3 CPM-FDE Receiver In [4], a Minimum Mean-Square Error (MMSE) equalizer is proposed for system (LO): G =MMSE = [R- -ss 1 H] Hf-{ = -1 ~2 = + ~2 = Hf{ (11 ) an an where ( 12) and (13) and with 0-;; is the noise variance. Here, E{·} is the expectation operator. As shown in [5], EBB can be calculated and stored once for a given CPM scheme and block size. We assume that the channel H is always known at the receiver. This equalizer produces an estimate jJ_ of the sent signal in the FO: (14) It is followed by a demodulator very similar to the one presented in [8]. This latter consists of a filterbank matched to the Laurent pulses and a Viterbi decoder. It operates com- pletely in the TO. We follow its approach but implement the filter bank in the FO. After (11), the noise is colored and residual ISI is present but we make the simplifying assumption that both can be modeled as AWGN. The demodulator decides that message fi is transmitted if and only if it maximizes the metric -1'1 - A=5.. 5.. (15) and substituting ~ ~ EN,P Band (13) into (15) yields: (16) where EN,P ~ lp 0 EN with 0 the Kronecker product and EN the N-size Discrete Fourier Transform (OFT) matrix. We define (17) such that (16) can be written as: -11 A=Q ~. ( 18) Vector g_ can be interpreted as the output of a bank of P filters matched to the Laurent pulses. L.H and its outputs are converted back to the TO by E~ It is represented in the FO by _. -, p. As the length of Q is NP, the number of possible hypotheses ~ grows exponentially with the block size N. To keep the decoding complexity under control, the search for the max- imum A in (18) is therefore implemented in the TO using the Viterbi algorithm as follows. 172 Figure I: Front-End nonidealities in a typical transmit-receive chain. We study phase noise and ADC clipping and quantization. The memory in a CPM signal can be represented by a trellis [3]. A combination of P pseu- docoefficients ~i = [bó, bi, ... , bk IJ corresponds to every branch (transition) i = 1, ... ,I of this trellis [8], where I is the total number of branches of a trellis section. The metric at time ti associated with the branch i of the trellis is then calculated as À~ = ~ ( P-I L Zp,nb~' ) ( 19) p=o for all instants ri = 0, ... , N - 1 and for all trellis branches i = 1, ... , I [8]. The Viterbi algorithm then finds the maximum likelihood path (i.e., the path with the highest total metric) through the trellis, and the corresponding ii is chosen as estimate of the sent symbols Qc in (I). 4 60 GHz Analog Front-End Nonidealities In this section, we introduce two FE nonidealities: ADC clipping and quantization and PN. The influence of these nonidealities on our CPM-FDE receiver will be studied because a high-resolution ADC and low-PN oscillators are expensive and power hungry. Figure I situates the analog components that cause these nonidealities in a typical transmit-receive chain. 4.1 ADC Clipping and Quantization The ADC in the receiver has a limited resolution and dynamic range, as shown in the input- output characteristic of Figure 2. Due to the limited resolution it introduces quantization noise. The limited dynamic ranges means that the signal will be clipped above a certain threshold. Consequently, a large number of bits is desirable to reduce the effect of quanti- zation noise, reduce the risk of clipping and accommodate signal level variation. In practice though, the number of bits (NOB) must be kept as low as possible for reasons of cost and power consumption. An optimal Signal-to-Noise Ratio (SNR) can be obtained for a given NOB by appro- priately choosing the normalized clipping level J.L (i.e. the ratio of the clipping level to the amplitude of the time-domain signal). The presence of an optimum SNR value is logical since, at constant NOB, increasing the value of J.L first improves the total SNR as the effect of clipping gets smaller. But, when J.L is so large that clipping does not occur, further increasing J.L will only increase the quantization noise. 173 Normalized Vout Normalized Vin [RMilv 1 in ) -p, Figure 2: A typical ADC input-output characteristic. -70 -80 ~ ;g -90 ~ Cl -100 '" c, ~ ·ö -110 c ~ -120 "" c, -130 -140 :E :E :E :E :E :E :E :E :E :E ;;;: ;;;: ;;;: ;::: 0 ;::: - -" -" ;::: -" 0 ;::: ;::: 0 "ê C) C) ;::: Offset from carrier Figure 3: Phase Noise PSD model. 4.2 Phase Noise Phase noise originates from non-ideal clock oscillators and frequency synthesis circuits. In the frequency domain, phase noise is most often characterized by the power spectral density (PSD) of the phase i{Jr,(t) of the oscillator signal ~(eJwt+J~'~(········· .::::::::j :: , :::~ . -------,- .. - ~--;------ ---------_----------,---------- !::, ··!:J!!:~~;:,~::f~;!:: - - -------,- """-' Uncoded Okm/h ()- Uncoded 30kmfh ---,- - +-- Uncoded lOOkrnlh 10-3 - 0-. Uncoded 300kmlh -- Code Rate 1f3 Okmlh ---9-- Code Rate 113 3Jkmlh --+- Code Rate tl3 lOOkmlh -e-- Code Rate 1/3 3lJkmlh 10·'l-===.ë==~=~:'-____:!;__c~-~---='=----j o m ~ ~ ~ ~ EsNo(dB) Figure 4: 16-QAM with mobility, uncoded or 1/3 at various speeds is of course left aside in this case, in order to separate channel prediction effects from Doppler effects. In this case, all the bits belonging to one single packet see the same "mobility impact" , through the same factor affecting the channel response. Therefore, this second approach relates more to a "low mobility" case, assuming the mobility has a "per packet" impact. As we can see on Figure 5, all the curves are regularly and logically spaced out, de- grading progressively with the lognormal standard deviation, The worst curve in the 1/3 coded case is even worse than the best curve in uncoded case, showing how bad a large fading can be. 4 Integration with 3GPP-LTE MAC models In order to enable end-to-end system analysis, we need a detailed MAC modeling, that can be combined with the baseband performance results. The scenario considered in this paper is DL-TDD. The MAC frame structure will imply a maximurn MAC throughput, which must be corrected from what we learnt at the PHY level - i.e. performance figures - in order to give an actual MAC goodput. Given the continuous evolution of the standard, we had to take some assumptions, that are described here as a function of the LTE MAC frame structurejz]: • Broadcast Channel (BCH) We will suppose that once the user is connected, he knows the general information carried by the broadcast channel and does not need to decode it again when waking up. This means that in om approach, we will not have to consider this channel. • Physical Downlink Control Channel (PDCCH) duration Although the PDCCH duration can vary from sub-frame to sub-frame, we needed to decide which one to consider for the final implementation. As far as the 181 2OMHl. 16QAM Suburban rnaere Fading Figure 5: 16-QAM with different fading levels maximal duration can be seen as the worst case in a sleep perspective and thus in a power saving objective, we decided to implement the largest 3 OFDM symbols durat.ion. • Frame structure Based on the fact we do not need to monitor the BCH and the fact there is no idle time separating two consecutive frames, we decided to define a "frame" of 5 ms (half of the actual MAC frame duration), which will be the smallest repetitive unit composed of : One DL sub-frame containing the PDCCH, the synchronization signals (SCH) and the Physical Downlink Shared Channel (PDSCH), that carries the ef- fective user data; Three DL sub-frames containing the PDCCH and the PDSCH; One UL sub-frame containing an acknowledgement per UE relative to the preceding DL data (supposing large packets), simply made of a Physical Resource Block (PRB) and thus mapped over 7 OFDM symbolsjê] . • Data allocation Within the four DL sub-frames, we also assume that a given user can take from zero up to the whole bandwidth, depending on the number of users. Within the last UL sub-frame, the user only takes one PRB and sleeps the rest of the time. It must be kept in mind that the scheduling information relative to an UL sub-frame is contained in the PDCCH of the previous DL sub-frame. Figure 6 illustrates the frame structure. This frame structure allows to compute both the time spent in each state and a MAC throughput, by taking into account the number of OFDM symbols carrying effective data. When combining this throughput with the Packet Error Rate (PER) coming from BB simulations, we get an effective MAC goedput. Two different modes have been defined : 182 Cl Frame» = 5ms DL DL DL DL UL IIII III IIII IIII IIII mum/I lil Sub-frame = 1ms '= 14 QFDM syrrbols o PDCCH 0 DATAl SLEEP ~ SCH ~ ACK 0 SLEEP Figure 6: 3GPP-LTE MAC Frame for end-to-end implementation • DL case, contention mode: This mode is intended to emulate the case where the user can only sleep within a sub-frame and has to monitor all the PDCCH and SCH information. Basically, it consists in a maximurn of 11 OFDM symbols sleep periods, when no data is scheduled for the user. It represents a mode with high multi-user activity, leading to many short user packets . • DL case, regime mode: This mode simulates the Discontinuous Reception mode (DRX) defined in 3GPP-LTE [4],when the user is allowed to sleep for long periods of time. Basically, it means the user can also sleep during the PDCCH and SCH symbols, having previously been informed by the base station he has no data scheduled for him over the next sub-frames or even frames (with respect to the maximal 2560 ms DRX cycle). This represents a mode with big user packets at a lower rate. The simulations presented here focus on this mode. Combining all the models, the end-to-end system model provides as output a database containing the most efficient points in a goodput-power space, and the related configu- rations, as a function of external conditions (monitors). This database can be exploited by the run-time controller, that is actually making sure the most suited configuration is used at any moment. Figure 7 illustrates this for different channel conditions (at- tenuations ranging from 60 up to 120 dB). 5 Conclusions The keen interest of people for bigger data rates raised the need of managing the battery-powered time of 3GPP-LTE terminals. In this context, our objective was to exploit any flexibility available towards better power-performance trade-offs, reducing the power consumption when the highest-performance high-power configurations are not needeel. To reach this objective, three different steps had to be envisioned. The first step consisted in identifying the flexibility we had (knobs) and modeling their impact on both power and performance. This step lies in the PHY layer of 3GPP-LTE. This exploration has been performed by the means of the BB simulator. The second step related to the power models (and then power consumption figures) of the different components. The final step consisted in integrating the previous steps together with a MAC frame. The MAC frame definition, with respect to the standard but still allowing an efficient implementation, enabled us to compute the actual MAC goodput and to know the time spent by the different components in the different modes. Each configuration is therefore linked to a performance level as well as to a power consumption. When it is 183 Wfreless trade-off, $c.al(l!o meas, dllty'cydir.g up 10 100% O.7r-·-····'··'r-· ...-T"- ..... ----.-T ....- .•~ .. ···, ..····.. -··-······, ..- ..·-· .... -:1 .•., o o 10 20 30 40 50 60 70 80 Goodpvl [MbpsJ Figure 7: Optimal points in an energy saving context. Stars denote pure configurations and lines denote the duty-cycling from the sleeping point. The numbers 100, 90, 80, etc. represent the different channel attenuations in dB. combined with a monitoring of external conditions and requirements, all the elements are present to take a decision in an enery saving objective: we can make sure the most suited configuration is used at any moment. This work, performed at design-time, will then yield the expected database that can be provided to the XL controller, which would not be able to test all the available configurations at run-time, but which can, on the other hand, explore the database, looking up the most suited configuration. References [1] 3rd Generation Partnership Project, "Long term evolution of the 3GPP radio access technology", 3GPP LTE Homepage, http://www.3gpp.org/Highlights/LTEjLTE.htm. [2] Rohde & Schwarz, "UMTS Long Term Evolution (LTE) Technology Introduction" , January 2008. [3] 3rd Generation Partnership Project, "Physical layer aspects for evolved Universal Terrestrial Radio Access (UTRA)(Release 7)", 3GPP TR 25.814 V7.1.0, page 26, September 2006. [4] 3rd Generation Partnership Project, "Evolved Universal Terrestrial Radio Access (E-UTRA) Medium Access Control (MAC) protocol specification", 3GPP TS 36.321 V8.0.0, pages 6-7, December 2008. 184 Bridging the Energy Gap for Instruction Set Processor Based SDR Baseband Implementations Min Li David Novo Bruno Bougard Liesbet Van Der Pene Francky Catthoor IMEC, Kapeldreef-75, Leuven, Belgium {limin, novo, bougardb, vdperre, catthoor}@imec.be Abstract The fast pacing diversity and evolution of wireless communications require a wide variety of baseband implementations within a short time-to-market. Be- sides, the exponentially increased design complexity and cost of deep sub-micron silicon desires highly reused platforms. This yields an increasing demand for reconfigurablejprogrammable baseband solutions. Implementing all baseband functionalities on programmable architectures, as foreseen in the tier-2 SDR, will become necessary in the future. However, the energy efficiency of SDR baseband platforms is a major concern. This brings a challenging gap that is continuously broadened by the exploding baseband complexity. We advocate a system level approach to bridge the gap. Specifically, we fully leverage the ad- vantages (programmability) of SDR platforms to compensate its disadvantages (energy efficiency). Highly flexible and dynamic baseband signal processing al- gorithms are designed and implemented to exploit the abundant dynamics in the environment and the user requirement. In this way, baseband implementations can track the dynamics and work with just-enough energy. 1 Introd uction Nowadays, mobile devices are integrating an increasing variety of wireless communica- tion standards, and each standard demands a multitude of modes. This tremendous diversity, combined with the increasing development-cost of deep-submicron silicon, desires highly flexible baseband implementations. The tier-2 SDR (Software Defined Radio) paradigm, where the entire base band runs on programmable architectures, is very attractive to obtain the desired flexibility. ParallelISP (Instruction Set Processor) based SDR baseband platforms have attracted extensive interest in recent years. How- ever, such implementations typically come with a much lower energy-efficiency than traditional implementations as ASICs (Application Specific Integrated Circuits). This energy efficiency gap remains to be bridged in order to make SDR more pervasive. Im- portantly, the gap is becoming even more and more challenging in emerging high rate communication standards, such as 3GPP LTE, Mobile WiMAX and802.11n. This sit- uation demands disruptive innovations. Om research is to let ISP based SDR baseband beat ASJC in terms of average energy efficiency. Although it is infeasible to let the power efficiency (MOPSjmW) of ISP beat that of ASICs, we can still make disruptive innovations at system level with more software oriented and algorithmic techniques. In this short paper, we will show the opportunities revealed from preliminary investi- gations. 185 2 OVERVIEW AND PROPOSAL In most existing SDR baseband implementations, the implemented baseband func- tionalities are similar to those in ASICs. Due to the lower power efficiency of ISP, SDR baseband implementations usually consume 4x to Sx more energy than equiva- lent ASICs. On the contrary, in our work the baseband processing itself is specifically optimized for ISP. In this way, the advantages of ISP are leveraged as much as pos- sible to compensate its disadvantages. To motivate the approach, we first categorize the complexities of baseband processing as the followings: (a) the computation and memory complexity, which is the required amount of computation and memory op- erations; (b) the structure complexity, which is determined by the control flow and number of algorithmic blocks in the baseband. The key technique in our proposal is increasing the structure-complexity of baseband implementations to aggressively re- duce the average computation and memory complexity. This results in heavily reduced active instructions and memoryaccesses, which eventually translates into significant energy efficiency optimizations. Since ISP takes the programmability as the key design criterion, the multiplexing of data-path and memory on ISP is much easier than that on ASICs. With ISP, the implementation cost of higher structure complexity is mostly increased code size. This does not translate into significantly increased power or area with well designed architectures. We should leverage such an advantage to compensate the disadvantages of ISP (lower MOPS/m W). Specifically, we introduce structurally complex agile baseband implementations to exploit the dynamics in wireless commu- nication systems, targeting substantially boosted energy efficiency. The dynamics in wireless communication systems is inherent and abundant. First, the environment is dynamic, such as channel conditions, interferences and spectrum utilizations. In ad- dition, the user requirement also contains lots of dynamics, such as tolerable errors, tolerable jitters and tolerable lateneies. A structurally complex baseband implemen- tation can perform extensive run-time decisions according to the dynamics, switching among heterogeneous algorithmic blocks and restructuring the baseband processing. In this way, the above dynamics will potentially lead to significantly reduced active instructions and memoryaccesses. Because ASICs are oriented to regular and mani- fest computations and structures, such an agile baseband is very difficult to implement with ASICs within practical constraints of design time and area cost. Considering an ASIC and an ISP that have the same MOPS index. Let X denote the ratio of power efficiency (MOPS/mW) between the ASIC and the ISP; let Y denote the average ratio of required operations between the traditional ASIC baseband and the agile baseband on ISP. If we can achieve Y>l/X, ISP will beat ASIC in terms of average ener~y efficiency of baseband implementations. It was shown in several ISSCC keynotes ll] [2] that in 90nm technology ASICs will deliver several hundred 32bit MOPS/mW. On the other hand, both academic paper [3] and industrial experiences [1][2][4]show that, with state-of-the-art technology, X is around l/S. This means that we need to achieve Y>S. 3 Preliminary Investigations In order to estimate the practical values of the proposed system level approach, we first make preliminary investigations with several key components in contemporary wireless baseband. The contexts of the investigations include HSDPA, 3GPP LTE and WiMAX. 3.1 Advanced MIMO Detector The MIMO transmission is one of the key features in most emerging high data rate wireless standards, such as 3GPP LTE, WiMAX, HSDPA and S02.11n. However, 186 the MIMO detection, which recovers multiple transmitted data streams from received signals, is very energy hungry. Especially, the implementation of the ML (Maximum likelihood) and near-Ml, detection is very challenging on ISP. We observe that high-end algorithms do not always bring significant performance gains. Hence, we can combine heterogeneous algorithmic blocks in an ISP based MIMO detector implementation, and switch to an appropriate block at run-time. On ISP, the above agile MIMO de- tector can be easily implemented at the cost of increased code size and a bit more instruction memoryaccesses. However, on ASICs this will incur significantly increased design time and chip area. Hence, ISP has unique advantages for such agile imple- mentations. We made preliminary investigations in the context of 3GPP LTE systems. The aforementioned agile MIMO detector implementation has been prototyped on TMS320C6000. Experiments show that the gain can potentially let ISP beat ASIC. For instance, for 4x:4 1/2- Turbo-coded 64QAM MIMO tran missions over 3GPP sub- urban macro channels, the agile MIMO detector implementation improves the energy efficiency by 28.6x(averaged on all possible channel scenarios). 3.2 OFDMA Modulator OFDMA Modulator OFDMA has been adopted by air interfaces of 3GPP LTE and WiMAX. In OFDMA systems, the available sub-carriers are shared by many users, the FFT /IFFT size in OFDMA systems is much larger than the number of sub-carriers allocated to each user. This makes the IFFT based OFDMA modulator become the most energy-consuming part in transmitters. Instead of implementing a regular IFFT as that in traditional baseband ASIC, we implement a novel modulator that can scale the modulation-accuracy according to the required data rate (user requirement). vVe replace the regular large-size IFFT with a combination of (a) a smaller-size zero-padded IFFT, (b) a fast linear-interpolator and (c) a vector-signal rotator. All the three corn- ponents support dynamic dimensioning and reconfiguration. The novel modulator im- plementation can be efficiency mapped on parallel ISP. However, on ASICs the irregular and dynamic multiplexing of data-path among different components requires complex control bit generations and interconnections, which incurs significant overheads of area and design time. We have prototyped the novel OFDMA modulator implementation on TMS320C6000. 2x to 12x energy efficiency improvements are observed for various modes specified in WiMAX standards. This also implies that the agile implementation can potentially let ISP beat ASIC. 3.3 HSDPA Chip Level Equalizer The chip level equalizer is one of the most energy consuming parts in HSDPA re- ceivers. '\Ale start from an ASIC-minded equalizer implementation with SRI-RLS (Square Root Inforrnation-Recursive Least Square) adaptive filter, which brings su- perior performances in all operating conditions. First, we exploit that the channel variation has significant high order dynamics. This implies that powerful algorithm is not always necessary. When the channel is varying slowly, simple algorithms are enough. Hence, in an ISP based equalizer implementation, we can incorporate hetero- geneous algorithmic blocks. As mentioned before, the ISP has unique advantages over ASIC for implementing heterogeneous systems. Moreover, we exploit the dynamics in tolerable errors. Less accuracy is required when communication at low data rate. Hence, the threshold of switching is optimized accordingly. For example, the agile equalizer implementation is more likely to switch to simple algorithms when transmit- ting data at a low rate. 5x to 20x improvements can be achieved for many channel cases, such as 3GPP 1, 3GPP 3, 3GPP 5, 3GPP 6, ITV Pedestrian A and COT259 RA. Since the system rarely operates in extreme conditions, the average improvement is sig- nificant. With a prototype implementation on TMS320C6000, we show that the gain 187 of abstract complexity translates into energy-efficiency improvements on the practical platform. 3.4 Conclusions In this paper, we argue that we can potentially let ISP based SDR. baseband imple- mentation beat dedicated ASIC for average energy efficiency. We propose solutions at system-level with software oriented and algorithmic techniques. The key idea is levera.ging the advantage (programmability) of ISP to compensate its disadvantages (lower MOPS/mW). A structurally complex agile baseband implementation on ISP can exploit the inherent dynamics in wireless communication systems, resulting in sub- stantial reductions of active instructions and memoryaccesses. We are working to prove the concept on a low power parallel platform. The implementation covers a com- plete 3GPP LTE transceiver, including synchronization, channel estimations, codec, modulations, demodulations and MIMO detectors. The platform is a combination of multi-dimensional instruction-level-parallelism and data-level-parallelism, together with other features like loop-buffers and software controlled scratch pad memories. References [1] H. De Man. Ambient intelligence: gigascale dreams and nanoscale realities. Solid- State Circuits Conference, 2005. Digest of Technical Paper·s. ISSCC. 2005 IEEE International, pages 29-35 Vol. 1, 10-10 Feb. 2005. [2] T.A.e.M. Claasen. High speed: not the only way to exploit the intrinsic computa- tional power of silicon. Solid-State Circuits Conference, 1999. Digest of Technical Papers. ISSCC. 1999 IEEE International, pages 22-25, 1999. [3] Yuan Lin, Hyunseok Lee, Mark Woh, Yoav Harel, Scott Mahlke, Trevor Mudge, Chaitali Chakrabarti, and Krisztian Flautner. Soda: A high-performance dsp ar- chitecture for software-defined radio. IEEE Micro, 27(1):114-123, 2007. [4] RP. Kleihorst. A.A. Abbo, A. van der Avoird, M.J.R Op de Beeck, L. Sevat, P. Wielage, R..van Veen, and H. van Herten. Xetal: a low-power high-performance smart camera processor. Circuits and Systems, 2001. ISCAS 2001. The 2001 IEEE International Symposium on, 5:215-218 vol. 5, 2001. 188 Platform-dependent Optimization of the SSFE Detector on ADRES A.Richard+, F.Robert+, F.Horlint, D.Novo*, Min Li*, B.Bougard*, L.Van der Perre* email: arichard@ulb.ac.be +BEAMS - tOPERA *IMEC - Wirel ss Group Universite Libre de Kapeldreef 75 Bruxelles 3001 Leuven, Belgium 1050 Ixelles, Belgium Abstract The tomorrow's communication context requires competitive and energy effi- cient ML and Near-ML lVilMO detectors. In particular, a recent original sphere decoder has been developped to fit programmable and/or reconfigurable parallel architectures with ILP or DLP features. The latter, called SSFE (Selective Span- ning with Fast Enumeration) implements a regular and deterministic dataflow which enables parallel architecture friendliness. This paper aims at present- ing a particular implementation of the SSFE detector on the ADRES Coarse Grain Array processor. Our contribution is to show the feasibility to achieve an efficient mapping of the original decoder on the given parallel archi tecture by optimizing the algorithm based on structural loop transformations. By identi- fying links between typical mapping metrics and the degrees of freedom in the algorithm, we were able to obtain an efficient loops structure. Experiments give mapping metrics like the scheduling density and the IPC with results around re- spectively 70% and 10. This is well above other applications like flt also mapped on the ADRES processor. This work underlines the need to perform high level architecture-dependent refinements to achieve efficient performance and energy consumption. It also shows the possibility to map efficiently the SSFE detector on the ADRES by clearly identifying the link between the algorithm structure and mapping metrics. 1 Introduction The wireless communication faces the rapid incursion of new standards (such as 802.11.n, 3 GPP LTE, Mobile WiMAX, DVB-H, etc) and content formats (such as MPEG-2, MPEG-4, AVC/H.264 and Scalable Video Coding). MIMO (Multiple Input - Multiple Output) processing has emerged to deal with the increasing data rates and to improve reliability and efficiency during communication. However, MIMO detectors are known to be computational intensive and are thus main interest for signal processing researchs. Furthermore, we have to deal with limited energy end-use. To deal with these constraints, a lot of linear detectors have been implemented so far. However, because of their better performances, ML( Maximum-Likelihood) and Near-Ml, MIMO detectors are of bigger interest. Although ASIC and FPGA Near-Ml, detectors implementations have been published [1]-[6], tomorrow's design and process- ing costs implies others solutions. The use of programmable and/or reconfigurable architectures for the digital base band processing has been proposed as the ultimate way to be cost-effective in the future processing technologies. This implementation 189 paradigm is known as the Tier-2 SDR (Software-Defined Radio). To achieve high per- formance and high energy efficiency in such architectures, the SDR paradigm must leverage on parallelism like ILP (Instruction Level Parallelism) or DLP (Data Level Parallelism). VLIW processors offer mature compilation technologies to deal with ILP. Software pipelining ones enable efficient parallel FU's (Functional Units) utilization promising efficicient SDR implementation [7]. Nevertheless, the use of energy effi- cient architectures alone is still not sufficient to achieve the efficiency comparable to dedicated implementations. Following the so-called codesign paradigm, algorithmic transformations of the desired functionality should also be performed in order to fully utilize the underlying architecture and optimize the algorithm according to platform possibilities. Recently, a new Near-ML detector has been proposed to deal with these goals. The SSFE (Selective Spanning with Fast Enumeration) detector [8] has been developped in response to the nowadays state-of-the-art. Most Near-ML MIMO algorithms are designed to efficiently run in a dedicated VLSI implementation. By usin~ spanning- sorting-deleting process, algorithms like K-Best, QRD-M and their variants ll]-[6] result in unaffordable overheads when trying to port them to ILP and DLP platforms (non- deterministic control flow, irregular dataflow, ...). Characterized by a highly regular structure, the new processor-friendly MIMO detection algorithm presents a determin- istic dataflow which best fits such platforms. In this paper we propose to map the SSFE detector on a 4x4 32-bit Coarse Grain Array Processor named ADRES [9]. The latter is composed of a3-issue VLIW for executing the non-kernel code and the 4x4 CGA which accelerates the most inner loops by exploiting a high ILP extracted with software pipelining technique. Our compiler DRESC [10], transparently targets both the VLIW and the CGA and no explicit communication needs to be invoked by the programmer. Our contribution is to optimize the SSFE detector for the ADRES implementation by using structural loops transformations in the algorithm. With the use of some metrics the impact of these transformations will be measured and presented. The remaining part of the paper consists of the following sections : Section 2 intro- duces the SSFE algorithm for parallel architectures ; Section 3 presents the ADRES optimization of the SSFE algorithm; Section 4 gives the experiment results; Section 5 concludes the paper and presents some prospects. 2 SSFE For Parallel Architectures The SSFE detector is based on the ML detection defined by the equation 1: S = o,Tg min, Ily - HsW (1) sErlN' In a MIMO system with Nt transmitting antennas and Nr receiving antennas, s is the estimated Nt x 1 transmitted symbol vector, y is the Nr x 1 received symbol vector, H is the Nr x Nt matrix channel and nNt is the set of all possible symbols. A well-known near-ML technique to solve this problem is Sphere Decoding. Sphere Decoding uses the QRD (Orthogonal- Triangular-Decomposition) leading to the expression H=QR where Q is an orthogonal matrix and R is the upper triangular matrix. To solve equation 1, a spanned tree is built with Nt levels. Typically, from the root to the leaves, each node is spanned to C (constellation size) nodes. The leaves correspond finally to all the possible symbols in DNt. For each level we can define the so-called PED (Partial Euclidean Distance) of partial symbol vector (see equation 2). Ti(Si) = 1i+l(Si+l) + Ile.;(si)112 (2) where the PED increment is 190 Nt Ilei(si)W = IIYi ~ L R;jSjW (3) j='i At the end, the symbols vector that minimizes the PED is chosen as the recovered transmitted vector. To reduce the high computation rate of the PED calculated for each possible symbols, Sphere Decoder variants limit the number of ymbols explored in an heuristic way. The SSFE is based on a depth-first search algorithm characterized by a vector m = [mo, ... , mNt-I] which defines at each level of the tree the number of spanned nodes as we can observe at figure 1 for Nt=4 and m=[1,2,2,4]. According to m, the symbols are chosen thanks to an heuristic called "Fast Enumeration" that we can describe based on the equation 4 derived from equation 3 : (4) At each level, Çi is computed based on the b calculated at the superior level. The goal is then to find the mi closest symbols amongst the constellation points by slicing the Çi following the FE heuristic. For each symbol chosen, the PED is then calculated and stored in a buffer. The different steps can be summarized as follows: for each level 'i in the tree starting from the root (Nt level) to the leaves (0 level) do compute bi+1, inver-t R;.i, compute the fast enumeraiion for the mi case (amongst 1, 2, 4, 8,16). For the last step, sear-ch the minimum PED amongst all the leaf nodes and copy the correspotuiinq symbols uector. AnI. ~ '\111. J ·\nL 2 AnI. I i=~ i=-l i=J ;=2 j"l Figure 1: Topology of Tree in SSFE. The SSFE algorithm briefly described here is attending to fit parallelizable architec- tures thanks to its regular and deterministic structure. The following section will illus- trate the possibility to achieve this goal on the particular case of the ADRESjDRESC platform. 3 ADRES-Targeted Algorithm 3.1 ADRESjDRESC Characteristics The ADRES SDR processor [9] is composed of two parts: a VLIW processor to ex- ecute the more control-flow part of the code called glue code and a coarse-grained reconfigurable matrix to execute the kernel, the more dataflow part of the code com- posed of inner loops. The processor is characterized by its energy efficiency compared to other reconfigurable architectures like FPGA's. However, it still consumes an im- portant amount of energy in managing the array engine, which does not depend on 191 the array utilization. As a result there is a high correlation between the number of cycles and the energy required to execute a given algorithm. It means that, while optimizing an implementation for performance, its energy efficiency is also increased. Consequently, we can already note that we have to maximize the usage of the CGA which can importantly boost performance. This should happen in two steps, firstly the share that the execution spends in array mode and secondly the utilization of the array has to be maximized. Furthermore, ADRES is an heavily pipelined architecture. It means that preclication operations are implemented to enable condition decisions in loops (for, while) and 'if conditions. Also some intermediate registers exists for the data propagation in the pipeline. Both imply a slowing-down in executing inner loops by increasing the effective number of cycles. This has also to be taken into account for the mapping. The DRESC compilation process can be broken down into different steps needed to identify the kernel and the glue part of the code. Especially, two important steps refer to the mapping of the inner loops on the CGA : the CGA prepare tool and the CGA mapper tool. The former identify the inner loops in the code. The latter schedules the loops onto the array. It takes as inputs a DDG (Data Dependency Graph) representation of the pipelined loops and a MRRG (Modulo Routing Resource Graph) representation of the CGA to find a potential schedule. This step spends time searching a valid schedule for each loop by iterating several times on tuned scheduling parameters. Regarding these different characteristics, it is necessary to identify the link between the algorithm structure and the mapping to be able to efficiently use the ADRES processor and limit the heavy run of the DRESC flow. This is what is presented in the two following sections. 3.2 Metrics The handset market imposes to optimize both the performance and the energy con- sumption. As indicated above, improving the performance in the ADRES processor implies the improvement of the energy consumption. The issue is then to map the most of the code on the CGA and to use the most FU's by cycle. The chosen met ries aim at characterizing the relative utilization of the eGA and the pipelining efficiency. First let bring back some software pipelining concepts. The idea of software pipelining is to accelerate the execution of inner loops by par- allelizing consecutive iterations. This implies to take care of the data dependencies between two iterations which will impact the pipeline efficiency. As any pipeline, a high data dependency will affect the epilogue/prologue vs body ratio and lead to an inefficient mapping. Based on a DDG of the loops, typical metrics are identified: IJ, the Initiation Interval defines the number of cycles between two consecutive iterations in the pipelined loop ; ResIJ, the Resource-constrained II is the II calculated from available ressources and gives informations about the resource utilization on the CGA ; RecIJ, the Recurrence-constrained II is the II based on the DDG and gives the theori- cal number of cyles for the loop execution; MIJ, Minimum II is the maxf ltesl I , RecII) and defines the started II for the scheduling algorithm. It is important to note that the RecII does not take into account some architecture constraints like intermediate registers, predication operations needed for the execution on the CGA. This implies that the theoretical scheduling is almost never achieved with the MIL On the contrary, the tool will iterate by increasing the current II until a valid schedule is found. Besides these typical metrics, others can be deduced from the CGA compiler. Cycles and CGA/VLJW ratio: defines the number of cycles for the code execution and the relative utilization of the processor. Effective IPC : gives the mean number of executed operations per cycle on the entire 192 processor (VLT\V and CGA). This metric is an indicator of the extracted parallelism. Effective/Scheduled lPG (GGA) : on the CGA, we distinguish the schedule IPC (IPC- sch) and the effective IPC (IPCeff). The former is calculated on the body of the pipelined loop. This is the number of operation in the body loop devided by Ir. The latter takes the epilogue and prologue into account. It is the number of operations devided by the number of cycles on average to execute the loop (one iteration cycles/ pipeline cycles). Loop Scheduling Density: IPCsch/FU's on the CGA for each inner loop. This metric is an indicator of the extracted parallelism and the efficient use of the FU's. Considering these metrics, we can conclude that if we want to improve the mapping, we have to reduce the 11, the number of cycles, to increase the CGA/VLIW ratio, the Loop Scheduling Density, the Effective IPC and the Effective/Scheduled IPC. The following subsection will present the way to achieve these goals. 3.3 Loop Transformations 3.3.1 Degrees of Freedom To introduce the structural algorithm transformations we will perform on the algo- rithm, it is necessary to be clear on the DoF (Degrees of Freedom) considered for the entire design case. Typically, we dispose of: the Application parameters (SSFE detec- tor defined by number of antennas, number of carriers, m decoding parameter, ...), the Algorithm parallelism (C code defined by number of loops (inner vs outer), number of iterations per loops, number of operations in body loops), the Architecture (defined by number of functional units, the topology interconexion, the ISA instruction set, the register topology, ...) and the Compiler (defined by specific parameters for mapping, optimization, memory configuration, .... ). In an ideal codesign flow, both the algorithm and the architecture would be refined together and their structure optimized at the same time to obtain the best system. In practice, the design is refined step by step because no such automatic tool exist to give the designer the ideal solution directly. For the study case presented in this paper, the main step will hp to explore the DoF of the algorithm. The architecture will be chosen as a 4x4 ADRES 32-bit instance. A future step would show that some improvement can also be done depending on the application parameters. 3.3.2 Transformations As indicated by the metrics, the algorithm structure will impact the dataflow and then the mapping efficiency. While we do not dispose of an automatic tool to find directly the suitable structure according to a given ADRES instance to optimize these metrics, we need to transform the algorithm structure by ourselves. First, as extra time is spent in CGA when conditions are executed due notably to predication operations, we need to push conditional code outside the most inner loops. Consequently, it will reduce the number of cycle in CGA and then increase the IPCeff. It will also decrease the II and then increase the IPCsch and the scheduling density. Secondly, different transformations can be done on the other loops that will modify the DoF : loop unrolling, loop merging, loop coalescing, loop outlining. What follows presents the link between these DoF and the metrics enabling the convergence to an efficient solution. Loop unrolling: increases the number of operations in the body loops but decreases the number of iterations in the loop. The data dependency will probably increase and 193 so will do the 11. The IPCeff on the CGA will decrease because the epilogue/prologue body ration will increase. Loop merging: increases the number of operations by creating a new loop from differ- ent others. Increases or keeps the number of iterations. This transformation enables the improvement of both the Scheduling Density and the IPCeff on the CGA. Loop coalescing: transforms nested loops into one loop. Increases the number of operations in the new inner loop. Increases the Scheduling density, the IPCeff by in- creasing the number of iterations and the Effective IPC by executing more code on the CGA. Loop outlining : outlines nested loops. Increases the number of inner loops and the number of iterations in the new loops. Increases the CGA/VLIW ratio by increasing the number of inner loops. Increases also the IPCeff ratio by decreasing the epi- logue/prologue vs body ratio. As we do not dispose of an exact model linking the DoF to the metrics according to the compiler scheduling algorithm, this leads to some uncertainties about the direct impact of some transformations on the mapping. Therefore we outline the importance to analyze the software pipelining metrics to understand at best the potential bottle- necks. Indeed, if we detect a big difference between MIl and final H, it is important to know if it is due to a dependency problem (RecH) or to a resource problem (ResIl). For example, to increase the Scheduling Density we need to increase the number of operations. But depending on the previous RecH and ResH, this can increase the data dependencies and architecture constraints and then leads to a higher MIl and final H. In such a case, the impact on the Scheduling Density is not surely predictible. In the case where the loop has weak constraints, it should be possible to increase the Scheduling density for sure. 4 Experiments Results The study case on which we experiment the SSFE detector is a 4 transmitting - 4 receiv- ing antennas communication system with 1 symbol transmitted per antenna (simple carrier transmission). The mapping will be experimented on four cases depending of the m parameter: [1 1 1 1], [1 2 2 4], [1 2 4 4], [1 2 4 8]. To facilitate the code analysis, the algorithm has been decomposed into distinct functions: DRESG Cal« h (h com- putation), DRESC_Copy_Sym (copies estimated symbols vector), DRESC_FE_i (Fast Enumeration for m=i), DRESC_FEj_lastTL (FE for mo=i), DRESC_MIN_SEARCH (search for the minimum PED), DRESC_SSFEDetectFxp (glue code that calls other functions) . Efl IPC sell. dens Ll sch. densl2 IIU IIl2 1111 12:24 1244 12,t8 OAESC COlic b 4.53 7,OB 7,64 8.65 81,25% ORESC Co, Sm 3.9 3.9 3,9 3.9 41.67% ORESC FE 1 8,92 ., , [8.75% 70.83% DRESC FE 1 hlstTl 9 4::2 10,29 1074 11,18 (>8,75% DRESC FE 2 10.6 11,:'1 11,66 70.54(>/., 77,06% DRE-Se FE- " 10.(18 10.35 10.98 7"153% 77 ,08% 9 DRESC FE 8 10,33 70.83% 77,08% 15 *~~~E~~~:~~x J 8,12 0,75 9,56 077 IO,-:!.7 O}B 10,9 0,77 7344% Table 1: Efficiency Mapping Metrics for SSFE. The table 1 shows the mapping metrics for the four m cases. Ll and L2 correspond 194 to the inner loops of the considered function. We can first note that the copy of symbols has lower results than the other functions. This function has to be optirnize later by merging it with following receiver blocks. Otherwise, we observe that we achieve a loop scheduling density close or above 70% what is very good if we compare to some results obtained for typical application such as Fast Fourier Transformation (fft) as presented in [9] where they achieve a scheduling density of 36,5%. The total effective IPC is around 10 which is above typical VLIW IPC. We can observe that for higher m, the IPC increases due to the increase in the number of iterations leading in a more efficient pipeline and use of the CGA part. As the SSFEDetectFxp function is the glue code, its IPC is very low. We also observe that the b computation presents lower results. Indeed, this function is composed of an outter loop. Depending on the iterations ratio between this loop and the inner one, the mapping will be more or less efficient. It is typically bad for the case m=[llll]. When the m is increased, the IPC increases also illustrating that the inner loop is better accelerated on the CGA. % cycles for k::: [1 1 1 1] % cycles for k = [1 2 48] ----==------------- 55% 35%~ ~~~ 1 ~~~~~ R ~ ~~ _ DRESC_ DRESC_ DRESC_ DRESC_ DRESC_ DRESC_ ORES ORES ORES ORES ORES ORES ORES Calc_b Copy_Sy FE_' FE_'_las MIN_SE SSFeOet C_Cak: C_Cop C_FE_ C_FE_ C_FE_ C_FE_ C_MIN C_SSF m ITL ARCH eCIF~p _b v_Sym 1_lastT 2 4 8 _SEAR EDetee (n) (b) %CGAfork=[1248] %CGAfork=[1111] §ru ORESC Calc_b - ORESC tnfm hlODi Copy_Sy DRESC_ FE_' (e) DRESC_ iT~_'_las ORESC MIN_SEA RCH DRESC_ SSFEDel eclF~p ORES C_Cal '-' ORES C_Co py_Sy ORES C_FE _'_Ias ORES C_FE _2 (d) ORES C_FE _4 ORES C_FE _8 ORES C_MI N_SE ORES C_SS FEDel Figure 2: Cycles 1:LllJ CGA ratio of the SSFE. The graphs at figure 2 gives respectively informations about the total number of cycles and the number of cycles on the CGA to execute each function for the extreme cases m=[1111] and m=[1248]. In figure a-b we observe two trends the number of cycles increases with the number of calls for the FE functions and with the number of explored symbols increasing with m. In figures c-d we can first observe that the SSFE function is not executed on the CGA what confirms that this is the glue code. Then we obtain a CGA percentage near or above 70% for all the FE and Min Search functions increasing toghether with the m parameter. As announced, the b computation is less accelerated for low m but rises above 50 % for higher m. As the symbols copy has not been optimized and will be merged with future function, it is normal to have an acceleration of only 50% of the code. 5 Conclusions and Prospects The SSFE detector has been developped to fit parallel architectures. As we have shown this is especially the case with the ADRESjDRESC platform. Nevertheless, we have stressed the necessity to refine the original algorithm to enable efficient mapping 195 thanks to typical loop transforrnations and relevant metrics. This has lead to a good scheduling density (70%) and an IPC (10) superior to typical VLIW results. Some prospects are also considered. Indeed, the regular and deterministic structure of the SSFE algorithm enables to treat several trees in parallel. This is particularly rel- evant in an OFDM-OFDMA context where MIMO symbols are transmitted by blocks. A future work will analyze the algorithm depending on the number of carriers in the system. The goal will be to estimate at the C code level the impact of loops transfer- mations on the mapping for different detector configurations (different m) and different block sizes. As we have indicated in the section 3, we have worked with a fixed architecture 4x4 32-bit ADRES. In a further step, the exploration of the mapping could be done on the degrees of freedom of the processor to eventually removes some remaining bottlenecks. At last, SIMD extension with the integration of intrinsics can also be explored. References [1] S. Chen, T. Zha.ng, and Y. Xin, "Relaxed K-best MIMO Signal Detector Design and VLSI Implementation" , IEEE Transactions on Very Large Scale Integration(VLSI) Systems, vol. 15, issue 3, pp. 328-337, March 2007 [2] D.G. et al., "Silicon complexity for maximum likelihood MIMO detection using spherical decoding", IEEE J. Solid-State Circuits, vol. 39, no. 9, pp. 1544C1552, Sep.2004. [3] D. G. et al., "A 28.8 Mbjs 4x4 MIMO 3G CDMA receiver for frequency selective channels", IEEE J. Solid-State Circuits, vol. 40, no. 1, pp. 320C330, Jan. 2005. [4] A. B. et al., "VLSI implementation of MIMO detection using the sphere decoding algorithm", IEEE J. Solid-State Circuits, vol. 40, no. 7, pp.1566C1577, Jul. 2005. [5] Z. Guo and P. Nilsson, "VLSI architecture of the Schnorr-Euchner decoder for MIMO systems", in Proc. IEEE CAS Symp. Emerging Technol., 2004, pp. 65C68. [6] Z.Guo and P.Nilsson, "Algorithm and implementation of the k-best sphere decoding for l\IIIMO detection", IEEE J. Sel. Areas Commun., vol. 24, no.3, pp. 491C503, Mar.2006. [7] B. Mei, S. Vernalde, D. Verkest, R. Lauwereins, "Design Methodology for a Tightly Coupled VLIW jRecongurable Matrix Architecture A Case Study", Proc. of DATE 2004, pp. 1224-1229 [8] Min Li, B. Bougard, W. Xu, D. Novo, L. Van Der Perre, F. Catthor, "Optimizing Near-Ml, MIMO Detector for SDR Baseband on Parallel Programmable Architec- tures", IMEC, 2007, Kapeldreef 75, B-300l, Leuven, Belgium, DATE 2008 [9] B. Mei, S. Vernalde, D. Verkest, H. De Man and R. Lauwereins, "ADRES: An Architecture with Tightly Coupled VLIW Processor and Coarse-Grained Recon- figurable Matrix", IMEC, 2003, Kapeldreef 75, B-3001, Leuven, Belgium, DATE 2004 [10] B. Mei, S. Vernalde, D. Verkest, H. De Man and R. Lauwereins, "DRESC : A Retargetable Compiler for Coarse-Grained Reconfigurable Architectures", IMEC, 2003, Kapeldreef 75, B-3001, Leuven, Belgium, DATE 2004 196 ANew Precoding Scheme for Compact Cross-Polarized Multi-Antenna Systems François Quitin'", François Horlin", Ciaude Oestges' and Philippe De Doncker" * OPERA Department, Université Libre de Bruxelles (ULB) t Microwave Laboratory, Université catholique de Louvain (UeL) Email: fquitin@ulb.ac.be Abstract MIMO technologies enable high communication data rates, but large antenna spacing is required to obtain sufficiently low correlation between antennas. This affects the overall equipment size. A solution for this problem is to use cross- polarized MIMO systems, that use perpendicular antennas. Low correlation is obtained, while still have antennas cc-located. In this paper, precoder design for space-time coded cross-polarized MIMO systems is investigated. A closed-form solution for the precoding matrix is given. The precoder is based 011 knowledge of transmitter correlation and channel XPD. We show that power is transmitted on the eigenveetors of a power-weighted correlation matrix. The power allocation is done by a uuiterpourinç algorithm. Simulation results are given for a 4 x 2 MIMO system and show a significant improvement over a classic space-time coded system. 1 Introd uction Increasing attention has been paid to Multiple-Input Multiple Output (MIMO) wireless communication systems in the last few years. By using multiple antennas at transmitter and receiver side, MIMO systems create diversity that can be exploited to obtain higher data rates and improved quality of wireless link transmission [1]. Spaoe-Time block coding (STBe) is considered to be an easy and efficient way to exploit diversity and boost up performance of MIMO systems [2] - [3], even though the presence of antenna correlation tends to red uce diversity and decrease the performance of the system [4]. One way to benefit from this antenna correlation is to use a precoding matrix. Prior work has shown that a precoding matrix can be constructed using only some channel slowly varying characteristics, like correlation. In this case, only the correlation has to be known by the transmitter, instead of the whole channel. This reduces drastically the amount of feedback that has to be returned to the transmitter, since correlation varies slowly compared to the instant channel response. In [5] - [6], the precoding matrix is deduced in order to optimize the Bit Error Rate (BER), while in [7] the author deduces his precoding matrix in order to optimize the channel capacity. In [8]) the author presents a precoder that optimizes the BER of a spatial multiplexing system in presence of high correlation. One major issue of MIMO systems is that reasonable antenna spacing has to be at least half a wavelength at the mobile terminal, and about 10 wavelengths at the This work is supported by the Belgian National Scientific Foundation (FRS-FNRS). 197 base station, increasing overall equipment size. Cross-polarized antennas can resolve this problem by using perpendicular antennas. Indeed, perpendicular antennas can be co-located and still have sufficiently low correlation, therefore increasing the sys- tem diversity [9] - [10]. Although cross-polarized systems have drawn lot of attention lately [e.g. by industry consortia like the third-generation partnership project - long term evolution (3GPP-LTE)], no precoding scheme has been proposed yet for such a setup. The aim of this paper is to present a precoding scheme based on slowly-varying channel characteristics particular to cross-polarized channels, like correlation and cross- polarization discrimination (XPD), in order to fully exploit the channel characteristics. The paper is organized as follows: in section 2, we present the channel model that will be used to describe cross-polarized channels. In section 3, we present the model and design of our system. In section 4, we determine a closed-form solution for our precoding matrix. Finally, in section 5, we show simulation results that have been obtained when using the new precoding scheme. 2 Channel Model Let us consider a downlink communication between a base station and a mobile ter- minal (see Figure 1), with N, transmit antennas and N,. receive antennas. The base Figure 1: Downlink wireless channel. station is high above the ground, so there are almost no scatterers around it. Hence, the system has a very high transmit correlation. On the other hand, there are a lot of scatterers around the mobile terminal. As a consequence, the system has almost no re- ceiver correlation. For such an environment, the channel matrix H of a cross-polarized system can be described as 1 [Ll ] - [12]: (1) where Hw is a N,. x Nt Rayleigh matrix with i.i.d. elements. Rt is a N, x N, transmitter correlation matrix and j3 the NT x N, cross-polarization matrix. In later simulations, we will take as an example a 4 x 2 MIMO system. When considering a 4 x 2 system (see Figure 1), we consider two sets of two orthogonal antennas at the transmitter (+ +). The two sets are parallel. The receiver is composed of one set of orthogonal antennas (+), parallel to the transmitting sets. In that case, I In this equation, (') represents a Hadarnard (or element-wise) product. If A = B (')C, where A,B and Care n x m matrices, then [Aki = [B]i,j * [C]'i,j, with 1 ::; .; ::; m and 1 ::; j ::; n 198 R, and f3 are given by: P14 ) P24 (2) P34 1 f3=( ~) (3) where Pij is the correlation coefficient between transmit antenna i and transmit antenna i. ak is the inverse of the XPD between the kth set of transmit antennas and the receive antennas. 3 System Model Let us consider the downlink system model presented in Figure 2. We will make the following assumptions: • The receiver has perfect knowledge of the channel and its characteristics (this can be done by sending periodic beacon frames). • The transmitter has knowledge of some channel characteristics obtained by using a low-rate feedback link. In our case, transmitter has to have knowledge of f3 and n.. • We suppose that Hw stays constant throughout the whole instant corresponding to one transmitted space-time codeword. • We suppose Gaussian i.i.d. noise. ST ST codeword C codeword C' feedback Figure 2: Downlink system model. At a certain instant, the space-time (ST) encoder takes several symbols from the source, and transforms them in a N, xTcodeword C, using an orthogonal space-time block code [3]. T represent the temporal redundancy of the signal. This ST codeword is then processed by the N, x N, precoding matrix F, which will change the phase and amplitude of the baseband signals. This will be done by using some knowledge about the channel characteristics (Partial Channel State Information or Partial CSIT). In this precise case the precoding matrix F will be constructed using knowledge of transmit correlation and cross-polarization discrimination (XPD = I/a), obtained by using a low-rate feedback link from the receiver. The transformed codeword is then sent onto the channel. The N,. x T received signal r corresponds to: r = HFC+n (4) 199 where F is the N, x N, precoding matrix, H is the N,. x N, channel matrix (1) at that precise moment, and n is the N,. x T noise matrix. The received signal is then processed in order to retrieve the original symbols, as is detailed in [3]. It should be noted that the receiver has to use the equivalent channel HF instead of only the channel H when processing the received signaL 4 Optimal Precoder There are several possible criteria to determine how to design the precoder. We will optimize the Bit Error Rate (EER), as has been done in [5] for a cc-polar system. We will find a closed-form precoder for a N, x NT cross-polarized system, and we will show how this solution is related to the co-polar case. 4.1 Derivation of the optimal precoder It was determined in [5] and derived in [3] that the pairwise error probability (PEP, probability that symbol C, is mistaken for symbol ei), averaged over all channel realizations, is upper-bounded by: (5) where Ei,j is the "distance" between two codewords C, and Cj. Our aim is to determine the precoding matrix F that minimizes the upper-bound of the average PEP, subject to the following constraint: since F is a passive matrix, we don't want our precoding matrix to add any power to the symbols. The power of the symbols C at the entrance of the precoder should be identical to the power of the symbols C' at the output of the precoder (see Figure 2). The power at the input and at the output of the precoder are given by E[Tr(CGfI)] anc! E[Tr(CIC'H)] respectively. In order for both powers to be equal, the precoclmg matnx must satisfy the tollowing condition. (6) where N, denotes the number of transmit antennas. Our problem simplifies to mini- mizing the upper-bound (5), subject to the power constraint (6). The main difference with [5] consists in the derivation of E [HHH]. When consid- ering the channel model for a cross-polarized system (1), E [HHH] no longer reduces to the correlation matrix Rt. In order to make this derivation, we have to use the fact that Hw is a Rayleigh matrix with i.i.d. elements, which implies the following two properties: E [I[Hwli,jI2] = 1 Y'i,j (7) E [[Hwkj[Hw]~,J = 0 Y (i,j) # (k, i) (8) The matrix E [HJ-IH] can then be calculated. It reduces to the following equality: E [HHH] = E [ (/3 (0 HwRt 1/2( (/3 (0 HwRt 1/2) ] (9) = (/3H /3) (0 R, (10) ~N,.Rt (ll) 200 where we define Rt as a modified correlation matrix. The demonstration of (10) is nontrivial and is given in Appendix A. As an important consequence of (10), the correlation coefficients are weighted by the polarization coefficients. This property will have a significant impact on the design of the precoder. The inequality in (5) can then be rewritten as: (12) The minimizing of this upper-bound, with the power constraint (6) is an optimization problem that has already been solved for similar problems [6]. The solution of the optimization problem is that;__ we should transmit on the eigenveetors of the modified transmit correlation matrix Rt. The precoding matrix F is then given by: (13) where QRt is the matrix of the eigenveetors of Rt, and AF is a diagonal power allocation matrix. The amount of power that is transmitted on each eigenvector is determined by a waterfilling algorithm. We thus get a closed-form solution for the precoding matrix F. It should be reminded that we have only minimized an upper-bound, and that we have no guarantee that the BER will be significantly lower than in the case without a precoding matrix. 4.2 Physical interpretation for the 4 x 2 case When considering an example, e.g. the 4 x 2 case, the weighting of the different elements of R, in (10) becomes more evident. In order to reduce the number of variables in (2) and (3), we will only consider two different correlations: a typically high correlation between parallel transmit antennas Pil (P13 and P24), and a typically low correlation between perpendicular antennas p s. (PI2, P14, P23 and P34)' We will suppose identical XPD between all transmit-receive antenna pairs (al = (2). To illustrate the weighting of the different elements of Rt, we will consider two extreme cases: high XPD (a --> 0) and low XPD (a --> 1). We will first consider the case with high XPD (a --> 0). R, has the following form: (14) We can see that high correlation values (between parallel antennas) are accentuated, while low correlation values (between perpendicular antennas) are canceled. This will result in eigenvectors that have the following form: o -V2/2) ( V2/2 0 ) ( V2/2 0 ) ( -V2/2 0 ) ( -V2/2 0 -V2/2 0 o V2/2 0 V2/2 201 It can be noticed that each eigenvector will transmit on only one polarization (the first and third terms correspond to the vertical antennas of each set, the second and fourth terms correspond to the horizontal antennas of each set). Each eigenvector will correspond to either vertical antennas, either horizontal antennas, and transmit only on the corresponding polarization. Let us now consider the case with low XPD (a --7 1). In that case, Îit takes the following form : (15) No element of Rt is either accentuated nor canceled. In that case, the eigenvectors of R, have the following form: -1/2) ( -1/2 ) ( -V2/2 0 ) (-V2/2) 0 ( -1/2 1/2 0 V2/2 -1/2 -1/2 V2/2 0 Since we have higher scattering and depolarization, no polarization is preferred with respect to another, as we can see from the eigenvectors. Power will be transmitted equallyon both the vertical and horizontal antennas. No discrimination is made be- tween the different polarizations. 5 Simulation Results In this section, we give the simulation results for this new precodmg scheme when using a cross-polarized 4 x 2 MIMO system. The space-time encoder uses an orthogonal space- time block code. The symbols sent to the precoding matrix are BPSK symbols. The receiver uses a maximum likelihood detector. The signal power for determining the SNR is the received power from the vertical-to-vertical link. Considering power from crossed links (e.g. vertical-to-horizontal) would make comparison between different XPD levels impossible. We will discuss the influence of channel parameters of (1) on coding performance. The performance of the system with and without precoding is given in Figure 3 for high, average and low XPD (a = 0.1, a = 0.5 and a = 0.9 respectively). Correlations are set to realistic values: high correlation between parallel antennas (Pil = 0.9) and low correlation between perpendicular antennas (pj_ = 0.1). We can see that in this case the XPD has a limited effect on the gain of our precoding scheme, and that we have a gain of two to three dB's compared to the case without precoding in all cases. This shows that in presence of high correlation (between parallel antennas), the precoding scheme performs well at all levels of XPD. On Figure 4, the performances of the preceding scheme are given for the case where we have high correlation, even between perpendicular antennas (Pil = pj_ = 0.9). The accentuation of Pil and the attenuation of pj_ appears more clearly in this case. For high values of a, the accentuation/attenuation effect of (10) is limited because of the high value of a. This case is very close to a co-polar case. On the other hand, when a gets lower, the accentuation/attenuation effect of (10) gets more important. As a result, gain gets smaller than for larger values of a. 202 o: W ID 10-e 1L_-----,o----:------'-----'-5-~6-~,-----~:-------,o----J,0 Sr'JR(dBj Figure 3: Performance ofprecoding scheme for different XPD levels (Pil = 0.9, p : = 0.1) 10 ,.,..,.=,.,..,.-r-==r-==~-~~ :":...~..---.$~-._... - ... -"':~~~:: __ J_ cc W iD ---O----:--_L-~5--':6-~:-------,O----O-------!IO. 10-~,L SNR (dB) Figure 4: Performance of precoding scheme for different XPU levels (Pil = 0.9, pj_ = 0.9) 6 Conclusion In this paper, we have described the design of a new precoder for a cross-polarized MIMO system, based on partial CSIT, and optimizing a bit-error rate criterion. The channel was supposed to be Rayleigh flat fading with i.i.d, noise. We have shown that best performance is obtained when transmitting power on the eigenveetors of a modified transmitter correlation matrix. The power allocation is determined by the waterfilling algorithm. Simulation results have shown this precoding algorithm to perform better than classic orthogonal spaoe-time block coding, especially at high correlation levels. The coding algorithm described in this paper is an interesting starting point for further precoder investigation for cross-polarized systems. 203 Appendix A In this appendix, we will give the proof for equation (10). We will use the following notation: • [Al ij represents element (i,j) of matrix A. • !3ij is element (i, j) of the matrix {3 in equation (1). • T'ij is element (i, j) of the matrix R~/2 in equation (1), • hij is element (i,j) ofthe matrix Hw in equation (1). First, we explicit the elements of Hand HH: (16) Nt = !3'ijL hikTkj (17) k=1 Nt [HH];j = [Hl;i = !3ji L h;kT~i (18) /;;=1 Using these results, we can now calculate element (i,j) of HHH: Ne [HHH];j = L[HHlidHlkj (19) k=1 (20) Thus, averaging over all channel realizations, we obtain: Since the elements of H; follow (7) and (8), all crossed elements of the inner product are equal to zero and the double sum can be replaced by a single one: tv; Nt E{[HHHlij} = L!3ki!3kj LT;,;Tnj (22) k=l n=l Recalling that Tij are the elements of R, 1/2, we can write the following: R, = R, H/2Rt 1/2 (23) Nt =? [RtL· J = L [Rt H/2], [Rt 1/2] , n=l 'l.n nJ (24) Nt = Lr~irnj (25) n=l 204 Comparing (22) and (25), we can rewrite (22): NT E{[HHHlij} = L{3ki{3kj [RtLj (26) k=l NT =L [,a]ki [,a]kj [RtLj (27) k=l (28) Since this is true for all elements (i, j) of E {[H HH]}, we can write: (29) References [1] G. Foschini and M. Gans, "On limits of wireless communications in a fading en- vironment when using multiple antennas," Wireless Personal Communicaiions, vol. 6, pp. 311-335, 1998. [2] S. Alamouti, "A simple transmit diversity technique for wireless communications," IEEE J. Select. Arms Oommun., vol. 16, pp. 1451-1458, 1998. [3] V. Tarokh, N. Seshadri, and A. Calderbank, "Space-time codes for high data rate wireless communications: Performance criterion and code construction," IEEE Trans. Inform. Theory, vol. 44, pp. 744-765, 1998. [4] D. Shiu, J. Foschini, M. Gans, and J. Kahn, "Fading correlation and its effect on the capacity of multi-element antenna systems," IEEE Trans. Commun., vol. 48, pp. 502-513, 2000. [5] H. Sampath and A. Paulraj, "Linear precoding for space-time coded systems with known fading correlations," IEEE Commun. Lett., vol. 6, pp. 239-241, 2002. [6] A. Paulraj, R. Nabar, and D. Gore, Introduetion to Space-Time Wireless Commu- nications. Cambridge University Press, 2003. [7] S. Jafar, S. Vishwanath, and A. Goldsmith, "Channel capacity and beamforming for multiple transmit and receive antennas with covariance feedback," in IEEE International Conference on Communications, vol. 7, 2001, pp. 2266-2270. [8] J. Akhtar and D. Gesbert, "A closed-form precoder for spatial multiplexing over correlated mimo channels," in IEEE Global Telecommunication Conference, vol. 4, 2003, pp. 1847-1851. [9] B. Lindmark and M. Nilsson, "On the available diversity gain from different dual- polarized antennas," IEEE J. Select. Areas Commun., vol. 19, no. 2, pp. 287-294, 2001. [10] P. Kyrit i, D. Cox, R. Valenzuela, and P. Wolniansky, "Effect of antenna polar- ization on the capacity of a multiple element systems in an indoor environment," IEEE J. Select. Areas Commun., vol. 20, no. 6, pp. 1227-1239, 2002. 205 Effects of Antenna Mutual Coupling on the Performance of MIMO Systems Van Wu Jean Paul Linnartz Eindhoven University of Technology Eindhoven University of Technology & Philips Research Laboratories, Eindhoven y.w.wu@tue.nl j.p.linnartz@philips.com J.W.M. Bergmans Samir Attallah Eindhoven University of Technology SIM University (SIM), Singapore j.w.m.bergmans@tue.nl Samir@unisim.edu.sg Abstract In this work, we study the effect of mutual coupling between multiple anten- nas on the outage capacity of a 2x2 multiple-input multiple-output (MIMO) system in fiat fading channels. We model the effect of mutual coupling as an extra coupling matrix on top of the correlation matrix due to the propagation environment. The results show that mutual coupling reduces the correlation between the antennas from the propagation environment. On the other hand, mutual coupling also introduces extra power loss when the antennas are placed too close. The combination of these two effects on the outage capacity of MIMO systems is investigated. The simulations show that mutual coupling results in extra degradation of the outage capacity. 1 Intrad uct ion By employing multiple antennas at the transmitter and the receiver, the multiple-input multiple-output (MIMO) system promises great capacity gains in rich scattering wire- less environments [1] [2]. MIMO systems also provide diversity gain through using space-time coding techniques [3] [4]. This increases the robustness of the system per- formance in hostile wireless environments. A common assumption for the study of MIMO systems is that the channels between different transmit and receive antennas are independent and identically distributed (i.i.d.). This is achieved by spacing the antennas sufficiently far apart. In practice, due to constraints on the physical dimen- sions of devices, the distances between the multiple antennas are usually small. This renders the channel between different antennas correlated. The correlation between the antennas reduces both the capacity and the diversity gains of the MIMO system.The following two factors affect the correlation between different antenna elements . • Power Azimuth Spectrum (PAS) for the transmit and receive antennas. This factor is determined by the propagation environment . • Mutual coupling between the antennas. This factor is determined by the polar- ization, type and physical dimensions of the antennas used. In [5] and [6], the correlation due to the propagation environment was analyzed for different PAS types and its effect on the capacity of the MIMO systems was studied. 207 The effects of antenna coupling on multiple-antenna systems were studied in [7]and [8]. In [9], it was shown that mutual coupling reduces the correlation between the antennas. On the other hand, mutual coupling also results in extra power penalty when the two antennas are placed too close [10]. In this paper, we study the combined effect of the additional mutual coupling through the outage capacity of the MIMO channels. We show that mutual coupling adds extra degradation in the outage capacity of the MIMO systems. Hence, to guarantee satisfactory performances, the antennas should be spaced further apart compared to the rule of thumb number of ~À. This paper is organized as follows. In Section 2, we describe the system model. The additional effect of coupling is modeled and studied in Section 3. In Section 4, we present the simulation results in outage capacity and the concluding remarks are given in Section 5. 2 System Model For a MIMO system with N, transmit, N; receive antennas and flat fading channels, the received signal is can be written as r = Hs +n. (1) where s is the transmitted signal, n is the AWGN noise and H is the N,. x N, channel matrix with Hi,.i being the channel response between the jth transmit antenna and the i.th receive antenna. Each element of H is modeled as a complex Gaussian random variable. In practice, MIMO channels are usually correlated in the spatial domain. Such correlation can be modeled as [11] H -_ [Rrx] 1/2 Hiid ( [Rtx] 1/2)T , (2) where Hiid is the channel matrix generated using zero mean unit variance i.i.d complex Gaussian random variables, and Rtx and Rrx are the transmit and receive correlation matrices, respectively. For a 3 x 3 channel, the latter matrices take on the following form [11] Rtx = [ Ptx,2,1 1 Ptx,1,2 1 P",',' PI.X 2,3 1 Ptx,3,1 Ptx,3,2 i PTx,1,2 Pc>,',' 1 Rrx = [ p,:" P'rx,3,1 1 Prx,:3,2 P"I"'ï2,3 , (3) where Ptx,i,j is the correlation coefficient between the ith and jth transmit antennas and P.,.x,i,j is the correlation coefficient between the ith and jth receive antennas. In [11], the complex correlation coefficients are calculated based on the PAS, the mean angle of departure (AOD) of the transmit antennas and the mean angle of arrival (AOA) of the receive antennas. All these parameters depend on the propagation environment and are determined from practical measurement. In this paper, we assume a uniform PAS over 360°, i.e. 1 p(qy) = 2Jr for qy E [-Jr, Jr). (4) 208 In this case, it is shown in [12]that the correlation coefficient between the two antennas is given by Pi,j(d) = Jo (27rd/ À), (5) where d is the spacing between the two antennas and Jo is the zero-th order Bessel function of the first kind. 3 Effect of mutual coupling In this section, we build on the model in Section 2 by including the effect of the mutual coupling in the correlation model. Here, we use two dipole antennas with the following parameters • À: wavelength of the signal, À = 7;;; • i: length of the dipole antenna; • D: spacing between the two antennas, normalized with respect to À, D = ~; • Zs = H; + jXs: self impedance of the antenna; • Zm = Rm + jXm: mutual impedance between the antennas; • Zloacl = Rload + jXloacl: loading impedance of the antennas. From [7], the effect of mutual coupling can be modeled in the following matrix form -1 H, c,zload - - C H P U ZI 1 oa - cl - ( Z load + Z s) [ ZioaclZ 1n+ z, z.; Z load + Z s ] H U,Zload (6) where HC,Zloap and HU,Zload are the coupled and uncoupled channel matrices with the loading impedance Zload, and C, is the coupling matrix. In this paper, we assume the loading impedance is matched to the source impedance of the antenna, i.e. Zload = Z;. The mutual impedance Zm is a function of the dipole length i, the antenna spacing D and the antenna placement configuration. The mutual impedance can be calculated using the induced ElectroMagnetic Fields (EMF) method [l3]. For the special case of d = 0, the two antennas become one. In this case, the mutual impedance is the same as the source impedance of the antenna, i.e. Zm = ZS' If we can model the correlation from the environment in (5) and the effect of coupling in (6) independently, we can write [14] (7) where Ctx and Crx are the mutual coupling matrices for the transmit and receive antennas and Atx and Arx are the correlation matrices of transmit and receive antennas derived from the PAS. For uniformly distributed AOA, we have ai,j(d) = Jo(27rD). Using this in (7), we can write the transmit correlation matrix for a 2 transmit antenna system as Ctx,l,l Ctx,I,2] [ 1 Jo (27rD) C*Ix,l,l C*tx,2,1 ] Rtx ] [ C*tX,1,2 [ Ctx,2,1 Ctx,2,2 Jo(27r D) 1 C*tx,2,2 P, . [ 1 Ptx,I,2 ] (8) tx Ptx,2,1 1 ' 209 o Jl~lle I ~ Ir~~~~~~~~~!1~1;;~;.t,é~~~"'· """ 'p"\;,,,f : -0.5 .. / . iD ~ -1 J1 ~ -1.5! ~ -d :;: I d: -2.5 ! I -31 I -3.5 t. • -<-- No Coupling ---B--- With coupling effect Rload=Rs· _4L__i--~~====~~==~==~~ o 0.5 1.5 2 2.5 3 3.5 4 Antenna Spacing (d/Îc) Figure 1: Power loss due to coupling for two side-by-side À/2 dipole antennas with Zload = Z;. where Ftx is the power loss due to mutual coupling and Pi,j is the combined correlation coefficients due to coupling and propagation environment. The same applies to the receive correlation matrix Rrx. The power loss as a function of the antenna spacing for a 2 antenna system is shown in Figure l. Here, we assume two dipole antennas with length I = 0.5À placed side by side. For such antennas, the self impedance is Z., = (73 + j42) Çl [13]. We can see that the system suffers significant power loss if the two antennas are placed too close. The power loss becomes insignificant when the antenna spacing is about 1À. The effective correlation is depicted in Figure 2. With mutual coupling, we can see that the spatial correlation between the antennas is reduced. In summary, the effect of mutual coupling is twofold. Firstly it reduces the correlation between the antennas, which is a desirable effect. On the other hand, it introduces extra power loss, which is undesirable. In the next section, we will study the combination of these two effects on the outage capacity of the MIMO systems. 4 Simulation Results The capacity of the MIMO channel is given by [1] C (T, H) = 10g2[det (I + ~t HHH)] bis/Hz, (9) where 1 is the identity matrix, I is the average SNR per receive antenna and superscript H indicates matrix Hermitian. The event when the channel capacity C (T, H) falls below a given capacity Cb is called an outage. The probability of outage is defined as (10) Given an SNR I and a maximum outage probability Po, the outage capacity is defined as (11) 210 c o ~ ~ (; o ~ <1i IfVV' " '. a. G( (fJ Pj . ~i ': . ~.oo·.· t ';:_' o.. 01~ --- No Coupling -e- With coupling effect HloadeHs" _0.5L__~~ _ _S=:::'::::i=3=::::::::I=:::::::i===:J o 0.5 1.5 2 2.5 3 3.5 4 Antenna Spacing (d/À) Figure 2: Effective spatial correlation due to coupling for two side-by-side )../2 dipole antennas with Zioad = Z;. It can be interpreted as the maximum data rate achievable for the given SNR and the outage probability, To obtain the outage capacity numerically, we use 200,000 channel realizations for a 2x2 MIMO channel. The correlated channels are generated using (2). Here, we assume that the antenna spacings between the transmit and receive antennas are the sarne. We present two sets of curves. Firstly we fix the SNR value and plot the capacity as a function of the antenna spacing. This gives us information on how far we should place the antennas apart. Secondly we fix the antenna spacing and plot the capacity as a function of the SNR values. This tell us the degradation in SNR for each simulation setup. For each set of curves, we compared the results of the following three setups • i.i.d. channels; • Correlated channel due to propagation environments; • Correlated channel due to propagation environments and mutual coupling. Figure 3 and Figure 4 show the outage capacity for these three cases for SNR of 10 dB and 20 dB respectively. We can see that the capacity drops significantly when the two antennas are spaced below 0.5À. The degradation becomes insignificant when the antenna spacing is above 1À. Now we fix the antenna spacing to 0.5 and 1 À. The corresponding outage capacity vs SNR curves are shown in Figure 5 and 6 respectively. We can see that for an antenna spacing of À/2, the uniform AOA introduces 0.3 dB of performance degradation. The coupling effect introduces another 0.38 dB degradation. For an antenna spacing of lÀ, the degradation due to propagation environment is 0.2 dB while mutual coupling introduces another 0.15 dB degradation. 5 Conclusions In this paper, we studied the effect of the mutual coupling between the antennas on the performance of the MIMO systems. We modeled the effect of the coupling as 211 Outage Prob. 0.1 % (SNR~ 1OdB) Outage Prob. 1% (SNR~10dB) N N ~1.4 I :a ; 1.2 ~ c-, .~ .~ 1.5 g- Ol ~ 0.8 o ~ 06 f) s J'l cS . cS 0.4 0.2 1 2 3 4 1 2 Antenna Spacing (d/,-) Antenna Spacing (d/1-) Figure 3: Outage capacity as a function of the antenna spacing (SNR=lOdB) Outage Prob. 0.1% (SNA=20dB) Outage Prob. 1% (SNR:20dB) Antenna Spacing (dl),) Antenna Spacing (d/À) Figure 4: Outage capacity as a function of the antenna spacing (SNR=20dB) Outage Prob. 0.1 % (D ~0.5l.) Outage Prob. 1% (D ~0.5l.) 20,-----~------~------~----_, 16 16 20 SNR (dB) Figure 5: Outage capacity as a function of the SNR (D=O.5) 212 Outage Prob. O. t % (0 ~ 1).) Outage Prob. 1% (0 ~ 1).) 20 18 16 N I ;g 14 ~ 10 z- ~ 12 .~ .~ 10 '" o '" 8 0 " 5 ~ " 6 rn .'B <5 <5 ~ 110 Channel ---e-- w/c Coupling ---e-- with Coupling 10 30 40 30 40 Figure 6: Outage capacity as a function of the SNR (D=I) an extra coupling matrix on top of the channel correlation matrix due to propagation environment. From the study, we find that the mutual coupling adds extra degradation to the outage capacity of the MIMO systems. Therefore, to guarantee minimalloss in capacity, the antennas should be spaced about 1 wavelength apart. References [1] G.J. Foschini and M.J. Gans, "On limits of wireless communications in a fading environment when using multiple antennas", Wireless Personal Cornmun., vo1.6, no. 3, pp. 233-255, March 1998. [2] I.E. Telatar, "Capacity of multi-antenna gaussian channels", European Trans. Telecommun. Related Technoi., vol.lO, pp. 585-595, Nov-Dec 1999. [3] V. Tarokh, N. Seshadri, and A.R. Calderbank, "Space-Lime codes for high data rate wireless communication: performance criterion and code construction", IEEE Trans. Inform. Theoru, vo1.44, No. 2, pp. 744-765, larch 199R. [4] S.M. Alamouti, "A simple transmit diversity technique for wireless communi- cations", IEEE J. Select. Areas Commun., vo1.l6, No. 8, pp. 1451-1458, Oct. 1998. [5] D. Shiu, G.J. Foschini, M.J. Gans, and J.M. Kahn "Fading correlation and its effect on the capacity of multielement antenna sysetms", IEEE Trans. Commun., vo1.48,No. 3, pp. 502-513, Mar. 2000. [6] L. Schumacher, KJ. Pedersen and P.E. Mogensen, "From antenna spacings to theoretical capacities - guidelines for simulating MIMO systems", Proc. IEEE PIMRC vo1.2, pp. 587-592, Sept. 2002. [7] I.J. Gupta and A. A. Ksienski, "Effect of Mutual Coupling on the Performance of Adaptive Arrays", IEEE Trans. Atennas Propag., vol.AP-31, no. 5, pp. 785-791, Sept. 1983. 213 [8] R.G. Vaughan and J.B. Andersen "Antenna diversity in mobile communications", IEEE Trans. Veh. Technol., vol.VT-36, no. 4, pp. 149-172, Nov. 1987. [9] T.Svantesson, "The effects of mutual coupling using a linear array of thin dipoles of finite length", Proc. IEEE SP Wo'rkshop on Stat. Signal and Array Processing pp. 232-235, Sept. 1998. [10] B. Clerckx, C. Craeye, D. Vanhoenacker-Janvier, and C. Oestges, "Impact of Antenna Coupling on 2 times 2 MIMO Communications", IEEE Trans. Veh. Technol., vo1.56,no. 3, pp. 1009-lO18, May 2007. [11] V. Erceg et. al., "TGn Channel Models", IEEE 802.11 document 802.11- 03/940r4, May 2004. [12] W. C. Jakes "Microwave Mobile Communications", IEEE Press, 1994. [13] C. A. Balanis "Antenna theory: analysis and design", John Wiley & Sons, Inc., 2nd Edition, 1997. [14] S. Serbetli and S. Baggen, "Doppler compensation by using dual antenna for mobile OFDM systems", to appear IEEE Veh. Technol. Conf. Spring, 2008, 214 MMSE Precoding for MIMO OFDM Systems Based on Multipath and Spatial Correlations Y. Lebrun+", C. Hofbauer", V. Ramon'' A. Bourdoux", M. Huemer", F. Horlin4 and R. Lauwereins+? email: lebruny@imec.be 1 Katholieke Universiteit 2 IMEC - Wireless Group Leuven, 3001 Leuven, Kapeldreef 75 Belgium 3001 Leuven, Belgium 3 Embedded Systems & 4 ULB Signal Processing Université Libre de Klagenfurt University Bruxelles 9020 Klagenfurt, Austria 1050 Brussels, Belgium Abstract Spatial Multiplexing (SM) is an effective means for enhancing the transmis- sion data rate in Multiple-Input Multiple-Output (MIMO) systems, particularly when used in combination with precoding. Precoding based on the knowledge of the slow-varying statistics of the channel exploits this information at the trans- mitter to combat the effect of fading in SM systems. In this paper, we consider a MIMO-Orthogonal Frequency Division Multiplexing (OFDM) system. We ex- ploit the knowledge of the tap correlation and the transmit antenna correlation present in the frequency-selective channel to propose a low-complexity preeed- ing scheme that minimizes the sum of the symbol Mean Square Errors (MSEs) over all subcarriers. Simulations show that exploiting the knowledge of both the tap and the spatial correlation improves the performance of the MIMO-OFDM system. 1 Introduction The presence of multiple antennas at both the transmitter and the receiver in commu- nication systems can provide a considerable gain in terms of capacity, coverage and link reliability. Thanks to these benefits, Multiple-Input Multiple-Output (MIMO) tech- niques have become popular in emerging wireless standards (for example the 3GPP LTE [1]). Whereas any type of modulation scheme can be used with MIMO systems, the combination of multiple antennas techniques with the Orthogonal Frequency Divi- sion Multiplexing (OFDM) modulation scheme is seen as the preferred choice for the next generation of wireless standards. While MIMO techniques already improve the performance when the receiver alone knows the channel, the achievable gain can be further enhanced when the transmitter has knowledge of the channel [2J. If only the statistical knowledge of the channel is available, precoding exploits these slow-varying properties (e.g. the channel covariance matrix) to perform signal shaping before trans- mission [3J, [4J. Precoding is particularly attractive in the presence of correlation between the an- tennas (spatial correlation) or correlation between the taps of a frequency-selective 215 channel [5], [6]. Indeed, it is then used to alleviate the performance reduction of a Spatial Multiplexing (SM) system due to these correlations. In [5], Yoon and al. pro- posed a precoding scheme that exploits the knowledge of both the correlation between the transmit antennas and the correlation between the channel taps to improve the capacity of a MIMO-OFDM system. In this paper, we develop such a precoder but for reducing the symbol error rate of a MIMO-OFDM system. It minimizes the sum of the symbol Mean Square Errors (MSEs) over all sub carriers and exploits (as in [5]) the presence of correlation between the channel taps and between the transmit antennas. We consider that the tap and the spatial correlations have independent effects and can therefore be separated [5], [6]. We derive the form of our precoding matrix based on the Jensen's inequality and the derivations made in [3]. The outline of this paper is as follows. In section 2, we introduce the channel model (including both spatial and tap correlations) and the received signal model. In section 3, we provide the derivations of our precoding matrix. Simulations in section 4 present the performance of our precoder and section 5 concludes our work. The following notations are used in this paper. The vectors and matrices are in boldface letters, vectors are denoted by lower-case and matrices by capital letters. The superscripts (-)T and (-)H denote the transpose and Hermitian transpose operators, respectively. E[·]H is the expectation operator over H, IN is an identity matrix of size (N x N) and [ALj denotes the (i,j) element of the matrix A. CNx1 denotes the set of complex vectors of size (N x 1), CNxM denotes the set of complex matrices of size (N x M) and x ~ CN(O, R) is the vector of zero-mean Gaussian distributed complex elements with covariance matrix R. 2 System Model We consider a MIMO-OFDM communication system with J( subcarriers, N, transmit antennas and NT receive antennas. We define N, as the number of transmit streams, where N; <::: min(N Nt). In this section, we express the channel model in the frequency T, domain (section 2.1) and give the per-subcarrier representation of the signal model (section 2.2). 2.1 Channel modelm the frequency domain We express the frequency representation of the channel for the kth sub carrier (0 <::: k <::: J( - 1), as introduced in [5] HIc = HW (RT/2 1/2) mp Wk 0 Rta (1) where 0 is the Kroneeleer product, and • Hw denotes an NT x NtL white Zero-Mean Circularly Symmetric Complex Gaus- sian (ZMCSCG) channel matrix with Independent and Identically Distributed (i.i.d.) elements of unit variance (Rayleigh fading). • Ri2 is an N, x N, matrix that represents the Cholesky matrix of the transmit antenna correlation matrix Rta. It is defined as ( 1/2) Rta· Rta = Rta H 1/2 (2) 216 Precoding MMSE equalizer '-~------' x -!, Ft i ', , , X2 _ Figure 1: MIMO-OFDM with precoding The entries of Rta are determined by the transmit antenna spacing and the angular spread. We model Rta by an exponential correlation model [RtaLj = p;~-jl, where Pta = 0 means no correlation and Pta = 1 means full correlation. As we assume no receive antenna correlation, the columns hl ... hN,. of Ht can be assumed to be i.i.d. h, ~ CN(O, Rta) . • Rmp denotes the L x L taps correlation matrix and is defined as (3) where "iii is the average link power of the Lft tap, under the normalization con- straint Li~:~ "tt, = 1 and P;'::;2 denotes the correlation factor between the taps L1 and [2, with its magnitude satisfying 0 ~ Ip;~:;21~ 1. • Wk denotes the discrete Fourier transform vector for the kth subcarrier, given as Wk = [e-j~kXO ... e-j~kX(L-l)F'. 2.2 Signal Model We consider a MIMO-OFDM system as shown in the block diagram in Fig. 1. At the channel output, the received vector for the kth sub carrier is denoted by Y» E CNrXI and can be expressed as (4) where Xk E CN,Xl denotes the transmit symbol vector, Fk E CN,xN, is the precoding matrix and ilk E CNrXl is the zero-mean circularly symmetric complex additive white Gaussian noise with unilateral power spectral density noise No. At the receiver, after suppression of the cyclic prefix, serial-to-parallel conversion and Fast Fourier Trans- form (FFT), the samples are processed by a Minimum Mean Square Error (MMSE) equalizer. 3 Derivation of the precoding matrix In this section, we derive a per-subcarrier based preceder that minimizes the sum of the symbol MSEs over all subcarriers for a MIMO-OFDM system. It is based on the knowledge of both the tap and the spatial correlation matrices. We first express 217 the optimization problem for the MSE criterion (section 3.A). Then, we simplify the objective function based on our channel model (section 3.B) and reformulate it using the Jensen's inequality in section 3.C. Finally, we give the form of the precoding matrix (section 3.D). 3.1 Definition of the Optimization Problem The problem consists in finding the set of matrices Fk that minimizes the sum of the symbol MSEs over all subcarriers, i.e. I< -1 MSE = min Xk L EH [tr ((Xk - Xk)(Xk - Xk)H)] k=O (5) (6) and subject to the power constraint ~~~-;1tr(FkFn ::; Ptotal. We denote by Xk the output of the linear MMSE equalizer and assume E [XkX~] = INsand 1'0 ~ l/No. 3.2 Simplification of the Objective Function Using the Singular Value Decomposition (SVD) of the vector R~2Wk and the matrix R ta 1/2 , we obtain RT/2 mp Wk = V k A kVk 11 (7) Rl/2 V Al/2VH ta = ta I;a ta: (8) Since the product of R~!p2Wk results in a vector, we have vt = 1 (unitary matrix of f dimension 1 x L). We can thus express HA:as Hk = n, (VkAk 0 VtaAta V[~). (9) Then, using the following properties of the Kronecker product a0BC = (a0B)C (10) AB 0 CD = (A 0 C)(B 0 D) (ll) equation (9) becomes (12) The Kronecker product of two unitary matrices leads to a unitary matrix and the properties of a ZMCSCG matrix (Hw) do not change when multiplied by a unitary matrix. Thus, we have (13) where A r-;» B indicates that B has the same distribution as A. Also, since the product R];!p2wk is a vector, it has a single non-zero eigenvalue denoted by [Ak] 11' We can then write ' (14) 218 with Vfik ~ [Aklt,1' Substituting (14) into (13) we obtain (15) Following the derivations above, we then include the statistical behavior of the channel given in (15) into the MSE expression (6). We obtain MSE = ~~n I: k=O EH [tr ( (INs +gk/OFtfR:~/2H~HwRi~2Fk) -1)] (16) Next, we replace R~~2 by its SVD (8) into (16) and get 3.3 Reformulation of the Objective Function Since the properties of a ZMCSCG matrix do not change when multiplied by a unitary matrix, we have HwUta ~ Hw. Then, we use the Jensen's inequality to move the expectation operator inside the trace operator of (17). Since the function f(X) tr(X-1) is a convex function, we get a lower bound on the expression of the MSE: (18) Using the following property of the trace tr ((IN + AB)-1) = tr ((IM + BA)-1) + C, where A is of size (N x M), B is of size (M x N) and C = M-N. In our case, C can be omitted because it does not depend on Fk and thus, does not affect the optimization problem. We can then write the expression of the trace in (18) as (19) nlng. B k -- D efini A1ta /2VHta F k FHV k to: , we 0 btai ta Al/2 tam (20) We then perform the eigenvalue decomposition of Bk, Bk = U BkABk Uifk where U Bk and ABk are square matrices and have same dimensions. Replacing it into (20), we get [(-1 te -1 MSE S min L ((INt + gk'YOUBkABk UZJ-l) S min L tr ((INt + gk/OAB.)-l) . tr ABk k=O k=O ABk (21) Equation (21) means that looking for a matrix Fk which leads to a matrix Bk that is diagonal, does not make the optimization problem suboptimal. Nevertheless, we 219 still have to examine now, how the choice of a diagonal matrix impacts the transmit power constraint. Using the following cyclic property of the trace operator: tr (AB) = tr (BA), where the product of the matrices A and B is a square matrix, we can write the transmit power constraint as f(-l [{-I K-1 2...= tr(F ..Fn = 2...= tT(Vta V{~ FkFn = 2...= tr(Vt~FkF~rVta)' (22) k=O ,,=0 '---v----'I N, k=O We can then equivalently write (22) as f(-l f(-l ~ 12 12 12 tr (A-ta/ Al/2V I1F ~ ta La k FHV k LaA ta/ A-ta / ) = ~ ~ tr (A-ta B) k 1 :::; P,total· (23) k=O Bk k=O Because it can be proved using the majorization theory [3] that {(-I [(-1 2...= tr(A;;;.LABk) :::; 2...= tr(A;;;lB k) < Ptotal, (24) k=ü k=O which means that a diagonal matrix ABk does not relax the power constraint with respect to a generic matrix Bk, The optimization problem is now expressed by (21) together with the transmit power constraint in (24) and where the matrix ABk has been defined in (3.3). 3.4 Solution of the Optimization Problem We have shown above that a precoding matrix Fk that diagonalizes the MSE expression is a solution to the optimization problem. Actually, the matrix Fk must have the form: (25) whAre Vta denotes the eigenvectors of the transmit antennas correlation matrix, these eigenvectors indicate the statistically preferred directions for transmission, and Apk is a diagonal matrix that allocates power across the transmit streams. Such a result has been obtained for flat fading channels in [4]. It can be easily extended to the OFDM case, with no dependence of matrix Vta with respect to k, because the correlation between the transmit antennas, RLa = VLaAta v: (combine (2) and (8)), is seen as constant over all sub carriers in our channel model. A similar result with OFDM has been obtained in [5j for the capacity criterion. Looking at definition (3.3) of Bk, it can be verified that Fk = VtaAPk makes Bk diagonal. Based on this result, the problem becomes (26) where the diagonal elements of the matrix Apk are computed by a waterfilling algorithm based on the statistical knowledge of the channel. Its inputs are the number of transmit streams (Ns), the maximum power (Pt;oLal) and the eigenvalues of the matrices (27) This power allocation algorithm is derived from the algorithms presented in [8] (pages 127-135). 220 "'~-~-;=-:;;:::NO":::;::-P'eood~OO:::======;-~-~ ~ . ~ Antenna correlation based precoding .........Antenna and tap correlations based precoding EsJNo (dB) Figure 2: Performance gain of exploiting the knowledge of the correlation between the channel taps (with K = 64, L = 4, p"(''f = Pta = 0.7, N; = 1 and N,. = N, = 2). "J In this configuration, exploiting the knowledge of the correlation between the channel taps brings an extra SNR gain of 0.6 dB. 4 Results We consider a MIMO-OFDM system with 64 sub carriers (K = 64) and a frequency- selective channel with 4 equally spaced channel taps (L = 4). All the simulations are for a 16 QAM modulation scheme. We consider no correlation between the receive antennas and model the transmit antenna correlation matrix as [Rta];,j = p;~-jl. The elements of the tap correlation matrix [RmpL I are modeled as introduced in (3) with '" 'Ylhl+l = 3dB. In Fig. 2, we show the performance obtained for a MIMO-OFDM system (with NT = N, = 2, N, = 1 and p"(''f = Pta = 0.7) for the non-preceded scheme and for two "J precoding schemes: • one for which the precoder exploits only the knowledge of the correlation between the transmit antennas (antenna correlation based precoding) • and the other one for which the precoder exploits the knowledge of both the cor- relation between the transmit antennas and the correlation between the channel taps (antenna and tap correlations based precoding). Fig. 3 shows the BER curves obtained with a MIMO-OFDM system for differ- ent antenna configurations. We display the performance obtained with NB = 1 and with different number of receive and transmit antennas. The correlation between the transmit antennas and between the channel taps is set to Pta = 0.7 and p"(''f = 0.7, '" respectively. It can be seen that the more antennas we use at both the transmitter and the receiver, the larger the gain is. 5 Conclusions In this paper, we have proposed a precoding scheme for minimizing the sum of the symbol MSEs over al! sub carriers for a MIMO-OFDM system. The preeader exploits 221 "'r-----,-;=============:;-<---j -Non-precoded lor (Ns=1) Nr=2 x NI=2 -- - Antenna and tap correreuon based precoding (1)2x2 --M- Non-preceded for (1 )4x4 -B-An!enna and tap correlation based precoding (1)4x4 Figure 3: Performance of the precoding scheme with different antenna configurations (with K = 64, L = 4, p'('f = Pta = 0.7 and N, = 1). The use of multiple antennas at both the transmitter and' the receiver brings extra performance gain. the knowledge of the correlation between the channel taps and also that between the transmit antennas. Simulation results show that exploiting this knowledge brings extra performance gain compared to a non-preceded scheme. References [1] 3GPP TS 36.211, "3rd Generation Partnership Project; Technical Specification Group Radio Access Network; Physical Channels and Modulation (Release 8)," http://www.3GPP.org. [2] C. Oestges, "MIMO Wireless Communications," Academic Press, 2007. [3] S. A. Jafar, S. Vishwanath, and A. Goldsmith, "Channel capacity and beamform- ing for multiple transmit and receive antennas with covariance feedback," Proc. IEEE Int. Conf. Commun., vol. 7, pp. 2266-2270, Jun. 200l. [4] M. Vu and A. Paulraj "MIMO Wireless Linear Precoding," IEEE Sign. Proc. mag., Vol. 24, No. 5, pp. 86-105, Sept 2007. [5] E. Yoon, J. Hansen, and A. Paulraj, "Space-Frequency Precoding with Spaes-Tap Correlation Information at the Transmitter," IEEE Trans. Com., vol. 55, No. 9, pp. 1702-1711, Sep. 2007. [6] C. Xiao, J. Wu, S.-Y. Leong, Y. R. Zheng, and K. B. Letaief, "A Discrete-Time Model for Triply Selective MIMO Rayleigh Fading Channels," EURASIP Journal on Wireless Communications and Networking, 2007. [7] H. Sampath, A. Paulraj, "Linear Precoding for Spacc-Time Coded Systems With Known Fading Correlations," IEEE Communication Letters, Vol. 6, No. 6, pp. 239-241, Jun. 2002. [8] D. P. Palomar, "A Unified Framework for Communications through MIMO Chan- nels," Ph.D. Dissertation, 2003. [9] R. A. Horn, C. R. Johnson "Matrix Analysis," Cambridge University Press, 1985. 222 Linear Relations in Irregularly Clocked Linear Finite State Machines Cees J.A. Jansen DeltaCrypto B.V. J. v.Riebeeckstraat 10 Best, The Netherlands cees.jansenCat)deltacrypto.nl Abstract Irregularly clocking of Linear Finite State Machines such as LFSRs is widely employed in stream cipher designs. A special form of irregular clocking, known as jumping was introduced in [1, 2J and further developed in [4J. Concrete stream cipher designs appeared as candidates in the eSTREAM competition. One of the identified problems concerns the presence of linear relations of low degree in the key stream of the cipher, the distribution of which appears to be heavily biased. In [7J this issue is addressed leading to an O(n2n) algorithm to determine all linear relations. This paper addresses the problem of finding all linear relations of a given construction efficiently. The results show that it is feasible to determine the linear equivalence bias for LFSMs with characteristic polynomials of degree 30 and higher. Keywords: Linear finite state machine, linear relation, characteristic polyno- mial, jump register, irregular clocking. 1 Introduction A new way of multiple clocking binary Linear Finite State Machines (LFSMs) is in- troduced in [1, 4], where it is called jumping, i.e. going through the state space of the LFSM more than one step at a clock pulse. This method is very suitable for imple- mentation of stream cipher algorithms based on the irregular clocking of linear finite state machines such as linear feedback shift registers (LFSRs), as is discussed in [2]. Also, the theory of jumping LFSMs gives rise to interesting properties of irreducuble polynomials over finite (extension) fields as discussed in [3, 5, 6]. The technique of jumping LFSMs was the basis for a concrete stream cipher sub- mission (Pomaranch, [7]). Early analysis of this cipher [9] led to an attack based on the existence of linear relations of low degree in the generated key stream sequence. It turned out that the distribution of all the occurring linear relation was heavily bi- ased, hence leading to a simple key recovery attack. Research subsequently showed that this bias in the linear relations, denoted as the LEB (Linear Equivalence Bias), was dependent solely on the characteristic polynomial of the LFSM used in the stream cipher design, thereby pointing the direction to an attack resistant design, which was submitted 10 days later [8]. However, in searching for polynomials with low LEB all jump control sequences (or equivalently all irregular clock sequences) of length equal to the length of the LFSM have to be considered. Also, a O(n) algorithm has to be executed for each of the 2n binary jump control sequences. Clearly, this order becomes prohibitive already for 223 moderate register lengths. Further research has revealed a method for determining the LEB of a polynomial in a much more efficient way. In the remainder of this paper we discuss the exercise of obtaining linear relations in the output bitstream for irregularly clocked linear finite state machines. In Section 2 a first straightforward algorithm will be introduced and the new results obtained from this naive approach will be highlighted. Section 3 discusses a different approach, which leads to sequences of partial linear relations for the coefficients of the characteristic polynomial at hand. Also an example will be given, illustrating the feasibility of LEB calculations for moderate degree polynomials. Some conclusions will be drawn in Section 4. 2 The Basic Algorithm The output bits generated by a Linear Finite State Machine (LFSM) such as a Linear Feedback Shift Register and a Galois Counter, always exhibit linear relations. This means that some linear combination of L output bits, where L denotes the order of the LFSM, or equivalently the degree of its characteristic polynomial, add up to o. As is explained in detail in [2],in the event of a jumping LFSM, the characteristic polynomial C(x) is not always one and the same polynomial, but rather alternates between C(x) and C(x + 1), depending on a sequence of control bits, the so called jump control bits. In this case the resulting linear relation in the output bits depends on the value of the L jump control bits together with the characteristic polynomial. When going through all 2L combinations of jump control bits not all linear relations occur and those that do, do not occur equally often, as was first found experimentally by Khazaei [9]. The question therefore is: Given a characteristic polynomial, what is the distribution of linear relations over all combinations of jump control bits? Let at denote the output bit at time t of an LFSM with degree L characteristic polynomial C(x) = CLXL + CL_IXL-1 + ... + CIX + Co. Also, let ac, aL-I,·· ., al, ao denote the coefficients of a linear relation in the output bits of this LFSM, i.e. aLOt+L + aL-IOt+L-l + ... + alOt+! + aaOt = O. We define a polynomial dependent on all jump control bits i.,i-, ... .ii, which we call Power Polynomial as follows. I, e=0 e1 Pe(.7:) = p~xe + pLx - + pk + poe = { ne. (.x+y." '.) (1) e>o i=l The Power Polynomial merely expresses the fact that in polynomial language, the bits in the LFSM are multiplied by x if i. = 0 and by x + 1 if i. = 1, i.e. at+! = XOI. or 0t+l = (.T + I)Ot. Note that if a linear relation occurs, then it occurs regardless of the specific values of the output bits. Hence, we can relate the coefficients of the linear relation to the characteristic polynomial as follows. L L aePe(x) = C(x) (2) e=a 224 Equating all coefficients of the same degree results in the following set of equations: pL2 pf; [! Pt-1 1 L-1 L-1 PL-2 Po (aL, aL-1,·· ., al, 0,0) 0 1 = (CL,CL-1, ... ,Cj,co) (3) P6 0 0 1 As the matrix in (3) is upper triangular with an all-one diagonal, it is clear that a unique solution of the set of equations always exists. This solution can be obtained using the method of back substitution: alo + aL-l aLPZ_l aLPt-2 + aL-1pf=~ + aL-2 =;. ai = ei + t j=i+l ajp{,O::; .< L (4) ) Co From (4) the basic algorithm for determining the linear relation coefficients, given the coefficients of the characteristic polynomial and the Power Polynomial (the latter calculated from the jump control bits) is obvious. Algorithm 1 1. calculate the Pe(x),£ = 1, ... ,L 2. set auxiliary polynomial H(.T) = C(x) 3. for i = L downto 0 do 3.1 if hi = pi then ai = 1; H(x) = H(x) EEl Pi(X) else ai = 0 4. return ac.. .. , al, 0,0 It can be seen that the basic algorithm is linear in L, as polynomial arithmetic is used, representing polynomials in 32-bit or M-bit variables. However, to determine the Linear Equivalence Spectrum and Bias the algorithm needs to be executed exponentially many times, namely once for each combination of the L jump control bits. In this way the LES is obtained. By counting identical linear relations we obtain the LEB. These operations have to be carried out for each characteristic polynomial for which the LES / LEB is determined. 3 Linear Relations as Functions of Polynomial Coefficients The Power Polynomial given by (1) in the previous section has useful properties. Clearly, p~ = 1, but also pf = ptt + Jepf-l, which follows directly from Pe(x) = 225 (x + je)Pe-l(X). This recursive relation allows us to easily determine the matrix given in (3), in terms of the jump control bits is, ... .ii: 1 jL+···+jl jdL-1 + ... + j2j1 u. ... i, 0 1 jL-l + ... + i, 0 0 1 (5) 0 33.h + isi, + j2j1 .hj2j1 0 0 0 j2 + i, j2j1 0 0 1 J1 0 0 0 1 r Inverting this matrix will allow us to obtain the linear relation coefficients as func- tions of the Ci and the ji, for i = 0, 1, ... ,L. eZ- 1 eLL-2 eL0 PL-1 PL-2 eoL-1 . .. Popt L-1 [! 1 eLL-l _2 o 1 pf=~ ... 0 1 [" o 0 t. 1 (6) 0 0 eb 1 1 0 0 As the inverse of a triangular matrix is also triangular, the inversion can be readily 0 P6 1 achieved using back substitution: (-1 et = "'"' 1, L..... ejp ..1' e:',= 1 f t (7) j=i The inverse matrix defined by (7) exhibits similar properties as the matrix in (3) as the following proposition states. Proposition 1 Let the upper triangular matrix transforming a vector of coefficients of a characteristic polynomial to a linear relation vector be given by (6). The elements of this matrix satisfy: 1. eó = i., t » 0 Proof. The proof of both properties is by induction. 1. Clearly, from (7) we have eó = i.. Assume eb = i. for i = 2, ... ,e - 1, then eö P6 + e6pi + e6P~ + + eö-1pL pt + i, (pi + p~ + + pL) pt + i, (pt + Pe(l) + 1) P6 + j1P6 + jlPe (1) + i, But jlPOe = i. Ude-1 ... jl) = PÓand .hPe (1) = (1 + je) (1 + je-d ... (1 + jd i, = 0, so that eó = J1· 226 2. We start with e!+l = ei_1 + ]Hld, which simply says (]i+l +]i + ... + ]1) = (]i + ... + ]1) + ]HI. Assume e~ = e7~l + ]Hle7-J for k = i, ... , e - 1, then using (7) and the recursion property of the power polynomial coefficients we have l-1 l-1 ei 2.= e7pk = L (et} + ]Hle7- 1 ) (pk-:::. 1+ .1ePk- ) 1 l k=i k=i l-1 l-1 ""' 6 (k-I ei-1 . + JHle k-l) Pk-I i e-I + Je. ""' k e-I 6 «»; k=i k=i However, we have l-1 ""' e~pek-l ~ " = eipe-I + ei+1pe-1.+1 'I, 1. 1 1. + ... + ef-2pe-1 e-2 + ef-1p 1, z f-1 e-_l = 0, k=i '---v--' e-l e-l ei ei D The inverse matrix is given by (8) below in terms of the jump control bits .11, ... .i t., showing the structure resulting from Proposition l. 1 .1L+···+]1 J1 0 1 0 0 13]2 + isi, + .12]1 + ]3 + 12 + ]1 ]2 + .11 (8) ]3 + 12 +]1 ]2]1 + .12 + i, .11 0 0 0 1 ]2 +]1 .11 0 U U 1 ]J 0 0 0 1 A convenient way to determine the LES is to make use of a data structure that contains all different combinations of the L jump control bits. A truth table of the function of ]1, ... ,.1 L in each entry of the matrix could be used as such a data structure, as illustrated by Table l. This table lists the relative contribution to the sequence of values of each coefficient of the linear relation. For example, the ao column contains two-bit entries,arising from the truth table of the one variable ]1. In general, the column of ai contains 2i+l-bit values in hexadecimal notation. For a given characteristic polynomial all entries corresponding to non-zero coefficients of the polynomial must be added modulo 2 to obtain the resulting sequence of values of each coefficient of the linear relation. Note that the entries in the table exhibit the recursive structure given by Proposition 1, which makes the computation very easy. Although the length of these vectors grows exponentially, in practice a couple of gigabytes is not at all 227 ao al a2 a3 a4 a5 a6 Co 3 0 00 0000 0000 0000 0000 0000 0000 0000 Cl 1 F 00 0000 0000 0000 0000 0000 0000 0000 C2 1 6 FF 0000 0000 0000 0000 0000 0000 0000 C3 1 7 69 FFFF 0000 0000 0000 0000 0000 0000 C4 1 6 7E 6996 FFFF FFFF 0000 0000 0000 0000 C5 1 7 68 7EE8 6996 9669 FFFF FFFF FFFF FFFF CG 1 6 7F 6880 7EE8 E881 6996 9669 9669 6996 C7 1 7 69 7FFF 6880 8001 7EE8 E881 E881 8117 ... Cs 1 6 7E 6996 7FFF FFFE 6880 8001 8001 0116 Cg 1 7 68 7EE8 6996 9668 7FFF FFFE FFFE FEE8 ClO 1 6 7F 6880 7EE8 E880 6996 9668 9668 6880 Cu 1 7 69 7FFF 6880 8000 7EE8 E880 E880 8000 Cl2 1 6 7E 6996 7FFF FFFF 6880 8000 8000 0000 Cl3 1 7 69 7EE8 6996 9669 7FFF FFFF FFFF FFFF Table 1: Partial linear relation vectors per polynomial coefficient problematic. By pro-computing and subsequently storing all the vectors up to some maximum length, the LES and the LEB can be more efficiently determined for a given characteristic polynomial. If one looks at Table 1 carefully, it can be seen that one efficiency improvement can additionally be made. If we represent linear relations as integers A, with A = L a.i2i and take the entries in a row together represented as a hexadecimal integer, we obtain the relative contribution to the complete linear relation. This is shown in Table 2. In .h···jl: 0 1 2 3 4 5 6 7 8 9 A B e D E F co: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Cl: 2 3 2 3 2 3 2 3 2 3 2 3 2 3 2 3 C2: 4 7 6 5 4 7 6 5 4 7 6 5 4 7 6 5 C3: 8 F E B e B A F 8 F E B e B A F C4: 10 lF lE 15 le 17 16 19 18 17 16 lD 14 lF lE 11 Table 2: Complete linear relation vectors per polynomial coefficient practice, Table 1 is used to construct a table like Table 2, but with many more rows. In fact, it can be shown that the entries in the columns for ao, al, ... , tu, ... in Table 1 have periods of 1,2,4,4,8, ... , 2l+Llog2 iJ, ... respectively, thereby greatly reducing the required storage space. Note that for all c., the second half of all values in a row are identical the values of the first half with the exception of the i - pt bit, which is due to a·i-I. This property reduces storage space by a factor of two. Storing all data for Co up to C30 therefore requires 4 gigabytes. Example 1 Table 2 is used to find the LES and LEB of all degree L = 4 polynomials with Co = l. The results are given in the table below. 228 LES LEB Co + C4 11 le lf 14 ld 16 17 18 19 16 17 le 15 le 1f 10 2 +Cl 13 ld ld 17 1f 15 15 lb lb 15 15 1f 17 ld ld 13 4 +C2 15 19 19 11 19 11 11 ld ld 11 11 19 11 19 19 15 6 +C3 19 11 11 1f 11 ld ld 17 11 19 19 17 19 15 15 lf 4 -t-Cj + C2 17 la lb 12 lb 12 13 le 1f 12 13 la 13 la lb 16 3 +Cj + C3 lb 12 13 le 13 le 1f 14 13 la lb 14 lb 16 17 le 3 +C2 + C3 ld 16 17 la 15 la lb 12 15 le 1f 12 ld 12 13 la 3 -t-Cj + C2 + C3 1f 15 15 19 17 19 19 11 17 ld ld 11 1f 11 11 19 4 The three irreducible polynomials of degree 4 all have LEB equal to 4, but this is by no means a general property. The highest value of the LEB for this degree occurs for (x2 + x + I? 4 Conclusions This paper presents a new approach to solving the problem of finding the Linear Equiv- alenee Bias of irregularly stepped Linear Finite State Machines. In particular, the method of pre-calculating the complete linear relation vectors per polynomial coeffi- cient, discussed in Section 3, can be implemented easily in software on a PC, requiring very little resources. Further research in this area includes generalizations in two directions: 1) general clock control in stead of jumping, and 2) extended linear relation, i.e. linear relations of length greater than the degree of the characteristic polynomial. References [1] Jansen, C.J.A.: Modern stream cipher design: A new view on multiple clocking and irreducible polynomials. In , S. González, C. Martinez eds.: Actas de la VII Reunión Espaiiola sabre Criptologia y Seguridad de la Información. Volurne Tomo 1. Servicio de Publicaciones de la Universidad de Oviedo (2002) 11-29. [2] Jansen, C.J.A.: Streamcipher design: Make your LFSRs jump! In: The State of the Art of Stream Ciphers, Workshop Record, ECRYPT Network of Excellence in Cryptology (2004) 94-108 [3] Jansen, C.J.A.: Partitions of polynomials: Stream ciphers based on jumping shift registers. In Cardinal, J., Cerf, N., Delgrange, 0., Markowitch, 0., eds.: 26th Symposium on Information Theory in the Benelux, Brussels, Werkgemeenschap voor Informatie- en Communicatietheorie (2005) 277-284. [4] Jansen, C.J.A.: Stream cipher design based on jumping finite state machines. Cryp- tology ePrint Archive, Report 2005/267 (2005) http://eprint.iaer.org/2005/267/. 229 [5] Jansen, C.J .A.: Stream Cipher Constructions over Binary Extension Fields. In Lagendijk, R.L., Weber, J.H., eds.: 27th Symposium on Information Theory in the Benelux, Noordwijk, Werkgemeenschap voor Informatie- en Communicatietheorie (2006) 213-220. [6] Jansen, C.J.A.: Properties of Self-dual and Dual-reciprocal Polynomials over Finite Fields. In Veldhuis, R.N.J, ed.: 28th Symposium on Information Theory in the Benelux, Enschede, Werkgemeenschap voor Informatie- en Communicatietheorie (2007) [7] Jansen, C.J.A., Helleseth, T., Kholosha, A.: Cascade Jump Controlled Sequence Generator and Pomaranch Stream Cipher (Version 3). eSTREAM, ECRYPT Stream Cipher Project, End of 2nd Phase, March 2007. http://www.ecrypt.eu.org/stream/p3ciphers/pomaranch/pomaranch_p3.pdf. [8] Jansen, C.J.A., Kholosha, A.: Countering the Correlation Attack on Pomaranch. eSTREAM, ECRYPT Stream Cipher Project, Phase I, October 2005. http://www.ecrypt.eu.org/stream/papersdir/070.pdf. [9] Khazaei, S.: Cryptanlysis of Pornaranch. eSTREAM, ECRYPT Stream Cipher Project, Phase I, October 2005. http://www.ecrypt.eu.org/stream/papersdir/065.pdf. 230 FPGA Implementation of SQUASH François Gosset l François- Xavier Standaert? Jean-Jacques Quisquater Université catholique de Louvain Crypte Group, 3 Place du Levant 1348 Louvain-la-Neuve, Belgium francois.gosset@uclouvain.be fstandae@uclouvain.be jean-jacques.quisquater@uclouvain.be Abstract Passive RFID tags are devices with very poor computational capability. How- ever an increasing number of applications require authentication of the tag. For this purpose, a simple solution is to use a challenge-response protocol. For exam- ple, the reader can send a random challenge R and the tag responds H(R EBSJ, where S is a secret known by the reader and H is a hash function. Then, the reader can check whether the tag knows S. SQUASH, introduced by Adi Shamir in February 2008 [1], is a new hash function designed for this task. In this ar- ticle, we describe an FPGA implementation of this algorithm minimizing the resources. SQUASH is based on the one-way function c = rn2 mod n coming from the Rabin cryptosystem [2]. To make it secure, the binary length of n must be at least 1000 bits long [8]. In [1], the author suggests using a 64-bit non-linear feedback shift register to generate rn, a not yet factorized Mersenne's number (2X - 1) as modulus n, and to send out the bits of c without storing them. This process avoids storing three 1000-bit long numbers. The multiplications are achieved by on-the-fly convolutions, sending each bit as soon as it is computed. Consequently, the only needed memory aims at storing the carry of the previous steps in the convolution. For the output, a window of 32 or 64 (or more) bits in c is used. It yields a hash function with inputs of 64 bits that is scalable in output. In this paper, we propose implementations designed in order to minimize the resources, possibly at the cost of an increased execution time. The target device is a Xilinx Virtex-4 XC4VLX200-1O FPGA. The algorithm recommended by Acli Shamir has 64 bits in input and 32 in output, and n = 21277 - 1. To reduce the hardware cost, we minimized the number of registers in the implementation data and control part. On the XC4VLX200, the design results require 377 slices. The full execution time to produce 32 bits is 63,250 clock cycles at 222 MHz, so we reach a throughput of 112,300 bits per second. We also implemented the algorithm with other size numbers. For 128 bits in input and 64 in output, we get 619 slices and 104,114 clock cycles at 206 MHz. In general, the length of the output influences the execution time while the length of the input influences the number of registers and slices. I Supported by the Walloon region (Project E.USER, Belgium) 2Supported by the FNRS (Belgium) 231 1 Introduction In the last few years, RFID tags have been introduced in an increasing number of applications. They can now be found in supermarket antithefts, warehouse inventory control, public transportation passes, pet identification, secure passports, etc. With the multiplication and specialization of their uses, RFID tags need to be secured. Classical cryptography, however, is generally unsuitable for low-cost tags. Indeed, their computational capability is weak (typically 1,000 to 10,000 gates shared between their application and the security) and their memory does not exceed several hundreds of bits [1]. In low cost applications, the storage of a single 1024-bit RSA key is already a real challenge. As a consequence, the design of new cryptographic primitives facing strong implementation constraints is an important research direction. Classical RFID applications require the possibility for the tag to be able to interac- tively authenticate itself securely to a reader. A simple challenge-response protocol can be used for this purpose. This protocol implies that, when challenged by the reader, the tag is able to prove that it knows a secret S without revealing it. Namely, the reader first sends the challenge R to the tag. Then the tag computes H(R EBS) and sends it to the reader. Finally, the reader computes H(R EBS) and compares it with the response of the tag. The secret is not revealed if it is cornputa- tionally hard to extract S knowing H(R EBS) and R. Computationally hard means that it is impossible to compute with current technologies. Such a scenario can be performed with hash functions. Most of them (like SHA-l) are designed to be one-way and collision resistant, although the collision resistant aspect is not important in the present application. In February 2008, Adi Shamir introduced a new hash function, called SQUASH, to perform this challenge-response protocol [1]. Due to its low-cost objective, it was expected to provide an efficient alternative for lightweight hardware implernentations. The goal of this work is to present an FPGA implementation of SQUASH, as a first step in the assessment of the hardware cost of this new hash function. FPGA's were chosen because they make it possible to quickly implement a hardware design and because they are comparison point, in terms of frequencies or hardware resources. In this paper, wefirst describe the SQUASH algorithm. Then, we discuss the selection ot lts parameters. Fmally, we present its lmplernentatiou results in a reecut FPGA family of devices. 2 The SQUASH algorithm 2.1 From Rabin's scheme ... Rabin encryption scheme is a public-key cryptosystem [2]. The public key n is generated from two prime numbers pand q. The couple p, q is the secret key. If m is the message that must be encrypted, the ciphertext is c = m2 mod n. The security of this scheme is related to the difficulty of factorization; so, to make it secure, the binary length of ti must be at least 1000 bits long [8]. The function c = m2 mod n is a good one way function, but not a collision resistant one. Indeed, m, ~m, m + n, .. have the same response c. Because it has been studied for more than 30 years, Rabin's scheme is a good candidate for the construction of a secure one way function. However, it requires storing m, nand c, which means roughly 3000 bits in memory. Moreover, a modular square must be computed, which is usually too expensive for small devices like RFIDs. Therefore, the goal of SQUASH is to reduce these resources. 232 2.2 ... to SQUASH! SQUASH simplifies Rabin's scheme by reducing the size of the operands, and by simplifying and approximating the modular square operation. In this section, we use 64-bit length input and 32-bit length output as suggested in [1]. However, it is not a requirement of the algorithm and we implemented SQUASH with different sizes, as described in section 3.1. Do not store big numbers. Rabin's scheme requires computing c = m2 mod n where c, m and n are at least 1000 bit long. SQUASH avoids storing them. First of all, m is not stored but generated from the 64-bit long input of SQUASH (in the example of the challenge-response protocol explained in the introduction, the input is simply REElS). The input is used as a seed for a reversible nonlinear feedback shift register (NLFSR). It is easy to generate successive bits of m when they are needed in the forward and backward direction: m = NLFSR(R EElS). To avoid storing n, SQUASH uses universal moduli, which have a simple and efficient binary representation, i.e. the Mersenne numbers that have the from 2k -1. A good candidate is 21277 -1, a composite number with no known factors. Finally, the output of SQUASH is a 32-bit length number. SO, SQUASH uses only a short window in the Rabin ciphertext as output hash. This window is computed in the center of c, starting at C616 with a length of 32 bits. This avoids storing the 3000 bits for m, nand c. Compute the multiplication by on-the-fty convolution. The multiplication is com- puted by on-the-fly convolutions. They require only an 12-bit register for the carry generated by the previous steps in the convolution, and a 12-bit adder. Approximate the value of the window. The bits of the windoware not computed exactly, but approximated. To compute the exact least significant bit (LSE) of the window, all the previous bits should have to be computed. However, SQUASH extends the window with only 16 additional bits, called guard bits. SQUASH computes the value of the extended window assuming that the carry into its LSE was zero. It is sufficient because the carry into each bit position in the computation of m2 can be at most l l-bit long. Then, if we add 16 guard bits to the computed window, we have only a small probability of less than 1/32 of computing an incorrect carry into the 17th bit we compute. Modular reduction mod n = 2k - 1. The use of Mersenne number as a modulus gives an advantage for the computation of the modular reduction. Let gl be the upper half of m2 and go the lower half of m2; so m2 = gl2k + go. If the modulus n is 2k - 1, the modular reduction is very easy and requires only an addition: m2 = gl + go = c mod n since 2k = 1 mod n. To compute the bit j in the lower half of m2, we have to sum (over the integers, not modulo 2) all the products mv·mj-v for v = 0,1, ..., j and add to the carry from the computation of the previous bit this sum. To compute the bit j + k in the upper half of m2, we have to sum (over the integers, not modulo 2) all the products mv.mj-v+k for v = j + 1, .., k - 1 and add the carry from the computation of the previous bit to this sum. And to compute the bit j in c = m2 mod n, where n = 2k - 1, we have to add bits j and j + k of m2, along with their carries. 233 The final SQUASH algorithm is: Set c = 0, ffi = NLFSR(R E9S) for j = 600 to j = 647 ",1276 c = Dv=O ffiv·ffi(j-v mod k) + c Cj = Co C = L~J Output the 32 bits C616, ... , CfYl7 3 Implementation 3.1 The parameters In SQUASH, different parameters have to be fixed. They are the modulus n = 2k-1, the nonlinear feedback shift register, the size of the inputs and the size of the outputs. The modulus n. As described in section 2.2, we chose ti = 21277 - I, as suggested in [1], but it is not the only interesting Mersenne number 2k - l. Alternatives like 21061 - 1 and 21237 - I, both composite numbers not yet factorized, could have been used. The NLFSR. Another important parameter to fix is the form of the nonlinear feed- back shift register. A linear shift register cannot be used because a polynomial- time attack exists'' when the short mixed value R E9S is expanded by a linear feedback shift register, and then squared modulo n = pq. For the implementa- tions, we chose a nonlinear feedback shift register with a feedback function of this form: f(xl, ... , xn) = g(x\ ... , xn) E9X1X2 .. Xn-1, where g(x1, ... , z") is a feedback polynomial of the same-size maximum-length linear shift register, and x is NOT(x). A NLFSR with this feedback function f(xl, ... ,xn) is a maximum-length NLFSR [3]. The size of the inputs and the outputs. In [1], Shamir suggests to use a 64 bit- length input and a 32 bit-length output, but we chose to be more flexible on the size of the inputs and the outputs. The scalable behavior of the output is very simple to get. We just have to compute more bits in the window of c. It does not require more hardware resources (except the size of the counter that counts the number of bits in the window of c computed), just more computation time. We implemented SQUASH with output sizes of 32, 64 and 128 bits. Smaller outputs would result in a too weak security level and larger outputs are probably not necessary for RFID applications. Changing the size of the inputs implies more changes in the architecture. Indeed, the construction of the nonlinear feedback shift register directly depends on the size of the inputs. However, the remainder of the architecture is the same because the goal of the nonlinear shift register is to produce the number to be squared. We implemented SQUASH with two input sizes: 64 and 128 bits. This choice was guided by the same considerations as the size of the outputs: smaller inputs would give unacceptable security levels (in the case of a 32-bit length input, the complete response of the hash function can be tabulated with only 4.3 x 109 entries) and bigger inputs would make no sense in the context of RFID. 3Developecl by Serge Vauclenay in a private communication [IJ. 234 3.2 Architecture The operative part of SQUASH includes on the one hand the nonlinear feedback shift registers and on the other hand the I2-bit adder. The nonlinear feedback shift registers provide the bits of m used for the multiplication, and the I2-bit adder com- putes the sums used for the multiplication and the reduction (see section 2.2). The I-bit multiplier is just the logic operator AND. The multiplications a.re computed by convolution: ej = mv·m(j-v mod 1277) + L~::g ca.rry. To a.chieve this convolution, we use two nonlinea.r feedba.ck shift registers. The first NLFSR has to provide the bits of m in the forward direction, from mo to m1276; a.nd the second NLFSR in the backward direction, from m1276 to moo When the first NLFSR delivers m1276, the next delivered bit must be moo In the sa.me wa.y, when the second NLFSR delivers mo, the next delivered bit must be m1276. To implement this jump in the succession of the bits of m a.voiding a.n unreasona.ble increase of the execution time, we use a third register. It stores the sta.te mo or m1276 a.nd provides the sta.te required by one or the other shift register. This is illustra.ted by Figure 1. First Second Third convolution convolution convolution k-I Slate of the shift register I Slate of the k-I I I .f\;_ shin register 2 I 602 I I I 600 I I Time k-I ..... ___, .. State kept in I I I auxiliary register I I I I I I I I I I I I OL---~====~----~===-----~==~~ Time Figure 1: The sta.te of the registers during the convolutions. Shift register 1 starts a.t moo Shift register 2 sta.rts at m600. The a.uxilia.ryregister is in the state m1276. When the computation of the convolution begins, the first shift register increases and the second one decreases. When shift register 2 rea.ches mo, the a.uxilia.ryregister provides the state m1276 and stores the sta.te mo given by the second shift register. This state mo will be given at the first shift register, and so on. For the first convolution, the first shift register must give mo, the second one m600 a.nd the auxiliary register must be at m1276. However, at the beginning of the execution, the only available state is mo (remember tha.t m is genera.ted by the nonlinear feedback shift register, whose seed is R E9S). An initialization phase is consequently required: 1. Load R E9S in the three registers. 235 2. Shift the first nonlinear feedback shift register 1276 times forward. Then, it will be at the state m1276· 3. Load m1276 in the second nonlinear shift register, and swap the contents of the first nonlinear feedback shift register and the auxiliary register. Now, the shift register 1 has the state mo and the two other registers the state m1276· 4. Shift the nonlinear feedback shift register 2 backward to get m600. Then, the first shift register has mo, the second m600 and the auxiliary register m1276. 5. The initialization phase is finished. The second shift register can go on shifting backward, and the first one starts shifting forward, as shown in figure l. To perform the addition, a 12-bit adder is used (Figure 2). The adder adds the products mi.mj-v comming from the NLFSR's. The counter counts the additions in the convolution z=t::g mv·m(j-v mod 1277) -l-carry. When a new convolution starts, the least significant bit of the result of the previous convolution can be sent and the right-shifted result of the previous convolution is the new carry into the new convolution. Figure 2: Architecture of the adder. Finally, the control part of the algorithm is based on counters. Each nonlinear feedback shift register has a counter memorizing the state in which they are. Simple tests on those counters give the load and the shift instructions for the registers. 4 Results Implementation results were achieved for the XC4VLX200 Xilinx Virtex4 LX FPGA, with the lowest speedgrade. ISE 9.1i was used for synthesis and place & route while test/debug was performed with Modelsim SE 6.1d. SQUASH was implemented with different parameters. The sizes of the inputs are 64 or 128 bits (it means that the secret S and the challenge R have to be 64- or 128-bit long), and the sizes of the outputs are 32, 64 or 128 bits. Tables 1 and 2 present our implementation results from which the following observations can be highlighted: l. First, the size of the outputs only influences the execution time. Indeed, to get one more bit in output, SQUASH just needs to compute one more convolution, so 1277 clock cycles. Moreover, for each full execution of SQUASH, a fixed 236 initialization phase" of 22,386 clock cycles is required, regardless of the size of the inputs and the outputs. The bit rate in table 1 includes this initialization phase. 2. By contrast, the size of the inputs influences the hardware cost. On a Xilinx Virtex4 FPGA, SQUASH requires approximately 400 slices when the input is 64-bit long and 700 slices when it is 128-bit long. The difference comes from the larger shift register used when the input is 128-bit long. Table 2 also mentions the number of gates, but these numbers strongly relate to the target FPGA. Therefore, they do not represent the number of gates needed to make an ASIC like a real RFID tag. In such a device, we can reasonably expect that there will be fewer gates. So, this number can be used as an upper bound of the number of gates, to compare with other implementations. SQUASH requires between 6,000 and 7,000 gates for a 64-bit long input, and between 11,000 and 13,000 gates for a 128-bit long input. Input size Output size Frequency # clock cycles Execution time Bit rate # bits # bits MHz (full execution) ms bit/s 64 32 222 63,250 0.285 112,300 64 64 217 104,114 0.479 133,400 64 128 208 185,842 0.893 143,300 128 32 222 63,250 0.285 112,300 128 64 212 104,114 0.491 130,300 128 128 206 185,842 0.902 141,900 Table 1: Timing results. Input size Output size # registers # slices # gates Frequency # bits # bits MHz 64 32 252 377 6,303 222 64 64 254 378 6,328 217 64 128 258 425 7,089 208 128 32 451 613 11,237 222 128 64 452 619 11,293 212 128 128 469 756 12,920 206 Table 2: Hardware resources needed. Finally, these results can be compared with the hardware costs of standard cryp- tographic algorithms. In [5], a very small hardware implementation of the Advanced Encryption Standard AES is presented. It is optimized for low-resource requirements, like RFID tags and requires 3400 gates. In [6], a strong symmetric authentication us- ing AES is presented. This implementation requires 3600 gates. Compared with those two implementations, SQUASH shows a higher implementation cost. But it is to be traded with its interesting security properties. Additionally, ASIC implementations of SQUASH would certainly give rise to lower gate counts. As a matter of fact, the present FPGA implementation is a only first prototype purposed to obtain intuitions on the performances of SQUASH. "The initialization phase includes the initialization of the shift registers (section 3.2) and the computation of the 16 guard bits (section 2.2). 237 5 Conclusion This work presents an FPGA implementation of the SQUASH algorithm. The motivation was to assess hardware cost of this algorithm designed for low-cost RFID tags. This kind of device has between 1,000 and 10,000 gates. We can reasonably devote one quarter of those resources to the security; it means 250 to 2,500 gates for the biggest tags. Our implementation of SQUASH requires at most 6,000 gates. It is an upper bound, because this number represents the gates used in the FPGA (as discussed in section 4). Currently, it seems too much for low-cost RFIDs, but it gives some encouraging perspectives. On the one hand, we can reasonably expect doing better with an ASIC implementation. On the other hand, SQUASH relies on a well investigated mathematical problem, which consequently gives better confidence in its security. Indeed, although SQUASH itself is not provably secure, it is based on a construction (SQUASH without the NLFSR) that is proved to be as secure as Rabin's scheme. In [IJ, Shamir argues that the NLFSR is probably a good choice to complete the construction. We followed this suggestion. However, it should be noted that another function could be used with limited impact on the hardware cost if the NLFSR exhibits weaknesses. References [1] Adi Shamir, SQUASH - A New MAC With Provable Security Properties for Highly Constrained Devices Sash As RFID Tags, Proc. Fast Sofl.ware Encryption - PSE 2008, Lausanne, Switzerland, February 2008 [2] Michael Rabin, Digitalized Signatures and Public-Key Functions as Intractable as Factorization, Massachusetts Intitute of Technology, Laboratory for Computer Sci- ence, TR-212, January 1979 [3] Alfred J. Menezes, Paul C. van Oorschot and Scott A. Vanstone, Handbook of Applied Cryptography, CRC Press, August 2001, pp. 202-203. [4] Xilinx, Inc., Virtex-4 User Guide, available at www.xilinx.com. [5] Martin Feldhofer, Johannes Wolkerstorfer and Vincent Rijmen, AES Implementa- tion on a Grain of Sand, lEE Proc., vol. 152, no. 1, Oct. 2005, pp. 13-20. [6] Martin Feldhofer, Sandra Dominikus and Johannes Wolkerstorfer, Strong Authen- tication for RFID Systems Using the AES Algorithm, Proc. Workshop on Crypto- graphic Hardware and Embedded Systems - CHES 2004, Cambridge (Boston), Ma., USA, Springer, vol. 3156, August 2004, pp. 357-370. [7] Thomas Eisenbarth, Sandeep Kumar, Christof Paar, Axel Poschmann and Leif Uhsadel, A Survey of Lightweight-Cryptography Implementations, IEEE Design & Test of Computers, vol. 24, no. 6, November 2007, pp. 522-533. [8] Steve Babbage, Dario Catalano, Carlos Cid, Louis Granboulan, Tanja Lange, Arjen Lenstra, Phong Nguyen, Christof Paar, Jan Pelzl, Thomas Pornin, Bart Preneel, Vin- cent Rijmen, Matt Robshaw, Andy Rupp, Nigel Smart and Michael Ward, ECRYPT Yearly Report on Algorithms and Keysizes (2006), D.SPA.21 Rev. l.1, January 2007. 238 On the Energy Cost of Communication and Cryptography in Wireless Sensor Networks Giacomo de Meulenaer François Gosset François-Xavier Standaert Luc Vandendorpe {giacomo.demeulenaer, francoi .gosset, fstandae, luc.vandendorpe }@uclouvain.be DCL/DICE Crypto Group Place du Levant, 3 Louvain-la-Neuve, Belgium. Abstract Energy is a central concern in the deployment of wireless sensor networks. In this paper, we investigate the energy cost of cryptographic protocols, both from a comrnunication and a computation point of view, based on practical measurements on the MICAz and TelosB sensors. 'vVefocus on the cost of two key agreement protocols: Kerberos and the Elliptic Curve Diffie-Hellman key exchange with authentication provided by the Elliptic Curve Digital Signature Algorithm (ECDH-ECDSA). We find that, in our context, Kerberos is around one order of magnitude less costly than the ECDH-ECDSA key exchange and confirm that it should be preferred in situations where a trusted third party is available. We also observe that the power dedicated to communications can be- come a central concern when the nodes need to stay in listen mode, e.g. between the protocol rounds, even when reduced using a Low Power Listening (LPL) protocol. Therefore, listening should be considered when assessing the cost of cryptographic protoeels on sensor nodes. 1 Introduction Wireless Sensor Networks (WSN) are composed of small autonomous devices that process and communicate data acquired from the environment in which they are de- ployed. Their low cost and rapidity of deployment make them particularly attractive for many applications requiring strong security (health monitoring, pollution detec- tion, etc). However, sensor nodes being powered through batteries, the energy cost of security techniques can be prohibitive and must therefore be minimized. Various techniques can be adopted to perform the cryptographic tasks in WSN. As an example, key exchange can be carried out by relying on methods from symmetric key cryptog- raphy (e.g., through Kerberos [15]), or from public-key cryptography (e.g., through SSL/TLS [3]). Besides, different techniques have been proposed, that allow trading between security, communication and computation (e.g., [12] and [4]). In order to appreciate the practical effectiveness of these trading techniques in a specific WSN, the cost of communication and computation must be well understood. Contradictions appear in previous works concerning the importance of the communication energy cost when comparing cryptographic algorithms in WSN (see [16] and [18]). Our goal is to assess and analyze the real cost of cryptography on WSN nodes. This will help choosing directions to optimize the cost of cryptography in low power WSN. For this purpose, we investigate the cost of cryptography through a case study based on measurements on the MICAz [Ll] and TelosB [l l] sensor nodes. We focus on two key agreement pro- tocols, Kerberos and ECDH-ECDSA, the Elliptic Curve Diffie-Hellman key exchange 239 with authentication provided by the Elliptic Curve Digital Signature Algorithm (i.e., the ECC-based SSL/TLS handshake, see [1]). We assess their energy cost using energy models of the sensors based on measurements. Our main contributions are: 1. a methodology to assess the real cost of cryptography on WSN nodes which makes it possible to establish the relative costs of computation and communication. 2. the estimates of the key agreement protocols obtained for the MICAz and TelosB nodes. They allow us to compare symmetric and asymmetrie techniques. They point out the importance of idle listening consumption. This paper is structured as follows. Section 2 presents the previous related works. Then, Section 3 explains how we determined the energy models of the sensors MICAz and TelosB. Next, Section 4 provides an assessment and analysis of energy cost of Ker- beros and ECDH-ECDSA, followed by a comparison with related results in Section 5. Finally, the conclusion is given in Section 6. 2 Previous works Many recent works investigate the usability of cryptographic algorithms in the context of wireless sensor networks. For instance, symmetric encryption using AES is discussed in e.g., [9] and [13]. For public-key cryptography, implementations of Elliptic Curve Cryptography (ECC [8]) on such sensors are described in e.g., [6] and [14]. Several previous works focused on the energy cost of key agreement protocols for WSN. Based on the first implementations of ECC and RSA on 8-bit microprocessors by Gura et al. l7J, Wander et al. [18] quantified the energy ClJtiLti of ECC and RSA based digi tal signature and key exchange with mutual authentication for networks composed of Mica2dot sensors [l l]. They concluded that these operations are affordable for such sensors. In [16], Piotrowski et al. assessed the energy consumption of most common R.SAand ECC operations for other sensor nodes. They based their assessments on the implementation results of [6] and on the datasheets of the sensors. They found that the energy consumed by transmissions was at least one order of magnitude less than the one required for the computation of the cryptographic operations. Therefore, they concluded that it was not an important factor. Hodjat and Verbauwhede [10]compared the cost of the protocols Kerberos and ECDH on 32-bit WINS sensor nodes. The cost of Diffie-Hellman was found between one to two orders of magnitude larger than AES- based Kerberos. Later, GroBschädl et al. [5] performed the same comparison but with another version of Diffie-Hellman, ECMQV, on WINS nodes. They found that the cost of ECMQV was only up to twice the cost of Kerberos. To quantify the communication energy costs, these two works used transmission and reception per-bit costs based on measurements. However, this excludes the energy consumption of practical elements such as listening which happens when nodes are waiting for incoming packets of which the exact times of arrival are uncertain. Compared to these previous works, we take more into account the practical aspects of the energy consumption for communication. 3 Energy model of the sensors In this section, we determine the energy models of the sensors MICAz and TelosB that we later use to estimate the energy consumption of cryptographic protocols. The MICAz is based on the low-power 8-bit micro controller ATmega128L with a clock fre- quency of 7.37 MHz. The TelosB features the 16-bit MSP430 micro controller running at 4 MHz. Both nodes run TinyOS and embed a IEEE 802.15.4 compliant CC2420 transceiver with a claimed data rate of 250 kbps. Table 1 presents the measured con- sumption of the main operating modes for both platforms. The energy models are established in the following way. For the cost of computation, we make the approxima- tion that the overall power consumption of the node while computing remains constant 240 I Power consumption I MICAz TelosB Transmit 65 mW (@ Ptx = -5 dBm) 54 mW (@ Ptx = -5 dBm) Listen 68mW 60mW Receive 72mW 61 mW Compute 26 mW (@ 7.37 MHz) 4.8 mW (@ 4 MHz) Sleep 25 }.LW (power down mode) 35 }.LW (low-powermode 3) Table 1: Measured power consumption of the MICAz and TelosB in different operating modes. Energy cost MICAz TelosB Compute for 1 Telk 3.5 nJ (1) 1.2 nJ (1) Transmit 1 bit 0.60 }.LJ (170) 0.72 ~d (600) Receive 1 bit 0.67 }.LJ (190) 0.81 ~d (680) Listen for 1 TelA; 9.2 nJ (3) 15.0 nJ (13) Sleep for 1 Telk 3 pJ (10 -J) 9 pJ (10 -<) Table 2: Energy costs of common operations on the MICAz running at 7.37 MHz and TelosB at 4 MHz for application data rates of respectively 108 kbps and 75 kbps. The equivalence in number of cycles of computation is indicated in parenthesis. with the type of microcode operation performed. Therefore, the cost of a particular computation can be assessed knowing the per-cycle mean energy consumption and the total number of cycles of the computation. This simplifying assumption was verified by Law et al. in [13] for the sensor node used in the EYES project [2], which is quite similar to the TelosB. For the communication cost, we measured the effective data rates and the consumption in the transmit, listen and receive modes. The measured data rates, 121 kbps and 94 kbps for the MICAz and TelosB respectively, are far below the claimed rates (250 kbps). The presence of footers and headers and the use of ac- knowledgment further decrease the rates available for application data to respectively 108 kbps and 75 kbps. Our energy costs of Table 2, based on the measurement results of Table 1, assume these data rates and a typical transmit power of -5 dBm. The consumption in the listening mode is almost as high as for reception (see Table 1) because the transceiver is also active in this mode. It suggest· that this mode should be avoided as much as possible to save energy. That is the goal of Low Power Listening (LPL) protocols that save energy at the expense of greater latencies in the communications. They make the time spent in listen mode less important from an energy point of view. In TinyOS, the LPL protocol available is based on B-MAC [17]. In this protocol, the receiving radio modules are periodically turned on to check for activity on the channel and remain active only if a packet is being transmitted. Sending nodes must be kept retransmitting the same packets until the checks of the receivers. The consumption of a listening node can arbitrary be reduced by increasing the sleep interval (i.e., the delay between two checks). However, this is done at the expense of increased synchronization energy costs for senders that have to retransmit during a longer period before the checks of the receivers. After a reception, both the sender and the receiver keep their radio on for a small delay in case of a consecutive packet transmission. This also generates a synchronization cost for the receiver. In this work, we chose the typical values of respectively 10 ms and 100 ms for the delay after reception and the sleep interval while the check duration was a constant of 5 ms. Accordingly, we estimated the energy costs due to LPL as indicated in Table 3. We use the energy costs of Table 2 and Table 3 as an energy model to predict the energy cost of protocols on the MICAz and TelosB platforms. It requi.res the number of cycles of computation, the 241 Energy cost MICAz TelosB Listen for 1 Tclk 0.4 nJ (0.1) 0.7 nJ (0.6) Send synchronization 3.77 mJ (1.1 M) 3.17 mJ (2.6 M) Receive synchronization 0.68 mJ (0.2 M) 0.60 mJ (0.5 M) Table 3: Energy costs of the LPL protocol for the MICAz and TelosB. The equivalence in number of cycles of computation is indicated in parenthesis. 1: A.B. nA 2: {kAB. B. tso t e. n,,} kA,J', {k,lB. A.ts. tdk8'J' 3: {k,w. A. tso tu}kB'I'. {A. t,dkAB 4: {tA}k/IIJ Figure 1: The simplified Kerberos protocol. number of bits communicated, the number of synchronizations in the communications (if using LPL) and the time spent in sleep mode. 4 Energy consumption of key agr-eement protocols In this section, we use the energy models of Section 3 to assess and analyze the energy cost of cryptographic protocols. As an example, we focus on two key agreement proto- cols, Kerberos and ECDH-ECDSA. We first describe these protocols, then assess the cost of the cryptographic operations and cornmunications. 4.' Protocols description The establishment of shared secret keys between nodes is a first step to provide other security services such as encryption in WSN, This could be achieved by means of pre- deployed shared keys but it raises problems of storage of the keys in large networks and of resiliency to node oompromise. Therefore, a solution is to use key distribution or key agreement protocols after the deployment of the nodes, In this work, we compare two of these protoeels. Thefirst protocol is Kerberos [15], a key distribution scheme built on secret-key cryptography, which authenticates the partreipants. We use its simplified version de- scribed in [5], In this protocol, the two entities A and B wishing to establish a shared secret key kAB already share a secret key (kAT and kBT respectively) with a trusted third party T. In this protocol (see Figure 1), there is first an exchange of messages between A and T, The request of A contains the identities of A and B, In the reply, the key kAB generated by T is encrypted with the keys kAT and kBT, Then, A recovers the key kAB and forwards to B the piece of the message encrypted with kST together with its identity encrypted with kAB' Finally, B recovers kAB and sends back to A a timestamp encrypted with kAB. Replay attacks are avoided thanks to a timestamp tA, a nonce nA and expiration times ts, tE, The second protocol is ECDH [S],the Diffie-Hellman key agreement based on Ellip- tic Curve Cryptography (ECC [S]) which does not need any trusted third party, In its standard form, ECDH does not provide authentication. Therefore, we use the version known as ECDH - ECDSA in [1], In this version, authentication is provided throuf!;h certificates verified using the Elliptic Curve Digital Signature Algorithm (ECDSA [SJ), 242 Energy cost MICAz TelosB AES-128 128-bit encrypt 38 {LJ (10742) 9 {LJ (7483) ECC-160 point mult 55 mJ (15.6 M) 17 mJ (14.0 M) ECDSA-160 sign 52111J (H.7 M) 15 rnJ (12.7 NI) ECDSA-160' verify 63 rnJ (18.0 M) 19 rnJ (16.2 M) Table 4: Estimated energy costs of cryptographic operations for the MICAz and TelosB. The number of cycles of computation is indicated in parenthesis. Thus, the two parties A and B must possess a certificate generated by an authority. They agree to use the same curve parameters and generate in advance their private keys, kA and k» and corresponding public keys QA = kA . G and QB = kB' G where G is the generator of the group defined by the elliptic curve. In this protocol, A and B first exchange random nonces. Then, B sends its certificate to A (its public key signed by the authority using ECDSA). After the certificate verification, A uses his private key and B's public key to perform a point multiplication and arrive to a common se- cret kA . kB . G, which is used with the exchanged nonces to derive a shared secret key. Then, A sends its certificate to B who performs the same operations to obtain the shared secret (kA' kB . G = kB . kA . G) and derive the shared secret key. The possession of the shared secret key is proved in the ability of both parties to encrypt the exchanged nonces and their identities with the shared secret key. These results, forming the content of Finished messages, are exchanged at the end of the protocol. 4.2 Cost of cryptographic operations We assess the energy costs of the cryptographic operations playing a part in Kerberos and ECDH-ECDSA using the energy model of the sensors (cf. Section 3) and the number of cycles of computation from known implementations. For the symmetric encryption employed in Kerberos, we use the implementation results of Healy et al. [9]. They implemented AES (128-bit keys) on the microcontrollers of both MICAz and TelosB nodes. We assess the ECC point multiplications and ECDSA verifications in- volved in ECDH-ECDSA relying on the results of Liu et al. [14]. They implemented ECC and ECDSA (160-bit keys) in TinyOS for many platforms including MICAz and TelosB. Table 4 shows the estimated energy costs of these cryptographic operations. The cost of symmetric encryption is negligible compared to elliptic curve operations. The number of cycles for elliptic curve computations does not diminish much on the TelosB (however based on a 16-bit microcontroller) because the implementation avail- able for this platform is less optimized. We estimate the cost of the computations for both protocols based on the assess- ments of Table 4. For Kerberos, the computations consist in the encryption and de- cryption of 8 blocks of 128 bits (assuming 64-bit timestamps and node IDs and a 32-bit nonce). As a result, the cost of Kerberos is respectively 0.61 mJ and 0.14 mJ on the MICAz and TelosB. For ECDH-ECDSA, each party mainly achieves an ECDSA verifi- cation and a point multiplication. The key derivation and symmetric encryption of the nonces and nodes IDs can be neglected considering the relative small cost of AES with respect to ECC operations (see Table 4). It leads to an energy cost for ECDH-ECDSA of respectively 236 mJ and 72 mJ on the MICAz and TelosB. ECDH-ECDSA is more than 2 orders of magnitude more costly than Kerberos on both platforms. This was expected as elliptic curve operations are much more costly than AES-based encryp- tion. The costs of both protocols are around 4 times lower on the more energy-efficient TelosB. 243 4.3 Communication and total energy assessment Here we assess the communication energy costs of the protoeels. Together with the computation costs of the previous section, they make it possible to obtain the total costs of the protoeels. The communication costs are composed of the cost of transmission, reception and listening. For transmission and reception, we make use of the per-bit costs presented in Table 2. The total number of bits communicated in Kerberos is 1568 and 2208 in ECDH-ECDSA (assuming 86-byte certificates, 32-byte nonces and 20-byte Finished messages as in [6]). For listening, we use the energy costs (see Table 3) of the LPL protocol of Section 3 and the total listening durations of the protoeels. For the MICAz and TelosB, these are respectively 9.1 sand 15.1 s for ECDH-ECDSA and 61 ms and 72 ms for Kerberos. Synchronization costs appear for each transmission except when the nodes answer a previous transmission within the delay after reception of 100 ms (e.g., B immediately answers the first message of A in ECDH-ECDSA). The estimated communication costs for Kerberos and ECDH-ECDSA on the MICAz and TelosB nodes are shown in Table 5. They are higher for ECDH-ECDSA mainly because of the high listening cost due to the long computation delays of this protocol. However, one could save the major part of the LPL listening energy loss by temporarily increasing the sleep interval when waiting for cryptographic results. That would be done at the expense of loosing connectivity during the run of the protocol. By doing this, the communication costs of ECDH-ECDSA would not be much more than those of Kerberos. Cornmunication cost MICAz TelosB Communication cost MICAz TelosB Kerberos (mJ) ECDH-BCDSA (mJ) Send 0.9 1.1 Send 1.3 1.6 Receive 1.1 1.3 Receive 1.5 1.8 LPL listen 02 0.2 LPL listen 29.5 43 LPL synchro 8.9 7.5 LPL synchro 14 11.9 Total 11.1 10.1 Total 46.3 58.3 Table 5: Estimated communication energy costs of Kerberos and ECDH-ECDSA for the MICAz and TelosB. Gathering the computation and communication costs found above provides the total costs for the protocols shown in Table 6. ECDH-ECDSA is close to respectively 25 times and 13 times more costly than Kerberos on MICAz and TelosB. Communications compose almost exclusively the cost of Kerberos as opposed to ECDH-ECDSA. For both protocols, the relative importance of communications grows for the TelosB which has a lower computational cost. Kerberos MICAz TelosB ECDH-ECDSA MICAz TelosB cost (mJ) cost (mJ) Comp. 0.6 (5%) 0.14 (1%) Camp. 236 (84%) 72 (55%) Comm. 11.1 (95%) 10.1 (99%) Comm. 46.3 (16%) 58.3 (45%) Total 11.7 10.24 Total 282.3 130.3 Table 6: Estimated total energy costs of Kerberos and ECDH-ECDSA for the MICAz and TelosB. 244 5 Comparison with related results As described in Section 2, two previous works already compared the energy cost of Kerberos and the Diffie-Hellman key exchange on sensor nodes. First, there is the work by Hodjat and Verbauwhede. They used the standard version of ECDH, which does not provide any authentication. They found that ECDH was between one to two orders of magnitude larger than Kerberos on WINS nodes. This is similar to our results of preceding section on the MICAz and TelosB. However, for the same amount of energy (140 mJ), WI s nodes can run Kerberos while TelosB nodes can perform an ECDH-ECDSA key exchange. This illustrates the important impact of the hardware. The WINS node, which contains a more powerful microprocessor (32-bit, 133 MHz), consumes much more energy than the TelosB. The 'authors obtained the energy cost of computations by implementing the cryptographic algorithms on the WINs node. For the cost of comrnunications, they used the measurement results from a previous work. They did not include the cost of listening in their estimates which therefore should be higher. Second, GroBschädl et al. also compared AES-based Kerberos with ECMQV, a variant of ECDH that provides authentication, on WINS nodes. They found that the ECMQV was only up to twice as costly as Kerberos on the WINS node. ECMQV assumes that both participants have already exchanged their long-term public keys. For large networks, this means a large number of stored keys per node, which may not be desirable. Therefore, the exchange and verification of the long-term public keys could be included in the cost of this protocol. The authors estimated the cost of computations and communications as Hodjat and Verbauwhede. Similarly, they did not take the listening cost into account. Including it in their estimates is likely to have a more important impact for both protocols as the relative cost of cornmunications is higher than in the results ofHodjat and Verbauwhede. 6 Conclusion Our work provides a methodology to assess the real cost of cryptography on WSN nodes. Our estimates of the energy costs of Kerberos and ECDH-ECDSA on the MI- CAz and TelosB nodes confirm the advantage of Kerberos, what was noted in previous works. We find that Kerberos is around respectively 25 times and 13 times less costly than ECDII-ECDSA 011 Lhe MICALIand TelosB. Therefore, it should be preferred in situations where a trusted third party is available. As opposed to previous works, the energy cost of listening is included in our assessments, resulting in higher communi- cation costs. It can remain significant even when minimized using a LPL protocol. Therefore, it should be considered when assessing the cost of cryptographic protocols on WSN nodes. Our work also provides practical insights on the relative costs of computation and communication in WSN. It could therefore be useful to study the in- terest of techniques trading the cost of computations for communications. A thorough analysis of the energy gain of such techniques could be part of a future work. References [1] S. Blake-Wilson, T. Dierks, C. Hawk, "ECC cipher suites for TLS," Transport Layer Security Working Group, Internet draft available from http://tools.ietf.org/idjdraft-ietf-tls-ecc-Ol.txt, Sept. 2001. [2] EYES, "European research project on self-organizing and collaborative energy- efficient sensor networks," http://www.eyes.eu.orgj. 245 [3] A. Freier, P. Karlton, P. Kocher, "The SSL protocol version 3.0," Transport Layer Security Working Group, Internet draft available from http://wp.netscape.com/eng/ssI3/draft302.txt. Nov. 1996. [4] M. Girault, D. Lefranc, "Server-aided verification: theory and practice," Asi- acrypt'05, LNCS 3788, pages 605-623. Springer, 2005. [5] J. Grof3schädl, A. Szekely, S. Tillich, "The Energy Cost of Cryptographic Key Establishment in Wireless Sensor Networks," Proc. of 2nd ACM Symposium on Information, Computer and Communications Security (ASIACCS 2007), pages 380- 382, ACM Press, 2007. [6] V. Gupta, M. Millard, S. Fung, Y. Zhu, N. Gura, H. Eberle, S. C. Shantz, "Sizzle: A standards-based end-to-end security architecture for the embedded Internet," Proc. of Third IEEE International Conference on Pervasive Computing and Corn- munications (PERCOM '05), pages 247-256, IEEE Computer Society, 2005. [7] N. Gura, A. Patel, A. Wander, H. Eberle, S. C. Shantz, " Comparing Elliptic Curve Cryptography and RSA on 8-bit CPUs," Proc. of CHES, pages 119-132, 2004. [8] D. Hankerson, A. Menezes, S. Vanstone," Guide to Elliptic Curve Cryptography," Springer-Verlag, 2003. [9] M. Healy, T. Newe, E. Lewis, " Efficiently securing data on a wireless sensor net- work," Journal of Physics Conference Series, vol. 76, Issue 1, 2007. [10] A. Hodjat, 1. Verbauwhede, "The energy cost of secrets in ad-hoc networks," Proc. IEEE Circuits and Systems Workshop on Wireless Communications and Network- ing, page 4, 2002. [11] Crossbow Technology Inc., "Crossbow product information," available at http://www.xbow.com/Products/productdetails.aspx?sid=156. [12] B.C. Lai, D. Hwang, S. Kim, 1. Verbauwhede, "Reducing radio energy consump- tion of key management protocols for wireless sensor networks," Proc. ACM/IEEE International Symposium on Low Power Electronics and Design (ISLPED 2004), pages 351-356. ACM Press, 2004. [13] Y. Law, J. Doumen, P. Hartel, "Survey and benchmark of block ciphers for wireless sensor networks," ACM Trans. Sen. Netw., vol. 2, pages 65-93, 2006. [14] A. Liu, P. Ning, "TinyECC: A configurable library for Elliptic Curve Cryptography in Wireless Sensor Networks," Technical Report TR-2007-36, North Carolina State University, Department of Computer Science, 2007. [15] B. Neuman, T. Ts'o, "Kerberos: An authentication service for computer net- works," IEEE Communications, volume 32(9), pages 33-38, Sept. 1994. [16] K. Piotrowski, P. Langendoerfer, S. Peter, "How public key cryptography influ- ences wireless sensor node lifetime," Proc. of fourth ACM workshop on Security of ad hoc and sensor networks (SASN '06), pages 169-176, 2006. ACM. [17] J. Polastre, J. Hill, D. Culler," Versatile low power media access for wireless sensor networks," Proc. of 2nd international conference on Embedded networked sensor systems (SenSys '04), pages 95-107, 2004. ACM Press. [18] A. Wander, N. Gura, H. Eberle, V. Gupta, S. C. Shantz, "Energy analysis of public-key cryptography for wireless sensor networks" Proc. of Third IEEE Inter- national Conference on Pervasive Computing and Communications (PerCom '05), pages 324-328, March 2005. 246 Efficiency and Pseudo-Randomness of a Variant of Zémor-Tillich Hash Function Christophe Petit, Nicolas Veyrat-Charvillon, Jean-Jacques Quisquater Université catholique de Louvain UCL Crypto Group Bätirnent Mawell, Place du Levant 3 Louvain-la-Neuve, Belgium christophe .petit, nicolas.veyrat, jjq@uclouvain.be Abstract Recent breakthroughs concerning the current standard SRA-l prompted NIST to launch a competition for a new secure hash algorithm [1,13]. Prouabh) secure hash functions (in the sense that their security relates to the hardness of some mathematical problems [5,7,9,12]) are particularly interesting from a theoretical point of view but are often much slower than heuristic functions like SRA. In this paper, we consider a variant of ZT hash, a provably secure hash func- tion designed by Zémor and Tillich proposed in 1994 [12]. Despite some attack proposals, its security has not been fundamentally challenged to this day. Our function is twice as fast as ZT hash and has enhanced security properties. 'vVe propose optimized parameters and algorithms to increase the speed of both hash functions. This makes our function one of the most efficient "provably secure" hash functions to this day. Finally, we show that our hash function successfully passes most pseudo-randomness tests in the Dieharder suite [2]. 1 Introduction Hash functions are widely used in cryptographic applications such as commitment schemes, digital signature schemes, key derivation, message authentication codes or password encryption. Typical properties required for a hash function are: • nearly uniform output distribution; • preimage resistance it must be computationally hard to find a preimage to a given hash value; • collision resistance: it must be computationally hard to find two messages hash- ing to the same hash value. Additionally, a hash function is often required to behave indistinguishably from a random function. The SHA family has spread since its publication in 1993 as a cryptographic hash standard [3]. However, recently discovered vulnerabilities in SHA-l [13] prompted NIST to launch a competition for a New Cryptographic Hash Algorithm [1]. NIST competition is stimulating research on hash functions in the cryptographic community and a lot of new schemes have recently been designed and put forward. Particularly interesting from a theoretical point of view, some of these schemes are provably secure, in the sense that their security relies on the hardness of some mathe- matical problems [5,7,9,12]. A good reduction to a simply formulated mathematical 247 challenge facilitates the evaluation process and increases the confidence once the func- tion has resisted first cryptanalytic attempts. However, it also gives the cryptanalyst a lead on how to break the scheme, especially when the mathematical problem involved has not been studied for years or even decades. Indeed, the LPS hash presented in [5] is now completely broken [10,14]. In this paper, we consider a variant of ZT hash, a provably secure hash function proposed by Zémor and Tillich at CRYPTO'94 [12]. Since 1994, a few attacks have been presented against ZT hash [4,6,8,11]. Although these attacks are either unpractical or targeting particular weak parameters, they still lead to a lack of confidence in the function. The ZT hash has been forgotten for more than ten years, until it recently regained interest due to the LPS hash proposal [5]. Indeed, the design principles of ZT and LPS hashes are very similar. The input messages are decomposed into bits or k-its, and a walk is performed in some regular (Cayley) graph according to the k-its, the hash value being the last vertex reached by the walk. The security of both functions can be expressed both in algebraic form and in terms of some properties of the corresponding graphs. LPS and ZT hashes only differ in the graphs that are used, but as the attacks discovered in [10,14] exploit structural properties specific to LPS graphs, they do not seem to generalize to ZT hashes. Today, 14 years after its publication, the collision and preimage resistance of the Zémor-Tillich hash function has not been significantly broken. Besides its positive security properties, ZT hash has two major weaknesses com- pared to classical hash functions like SHA: first, it is inherently malleable, i. e. the hash values of related messages are also related, and second, it is actually not preimage re- sistant when the images of short messages are considered. The variant we propose is aimed to solve these problems and to be twice as fast. As observed by Zémor and Tillich in their paper [12], the arithmetic of the ZT hash function operates in a field of characteristic 2, hence it is efficient in both software and hardware. However and to the best of our knowledge, no running times for an actual implementation of ZT hash has been given so far. Here, we present computational opti- mizations for our variant, including a careful choice of the parameters and appropriate data paths, and give runnmg time results. These optuuizal.iuus allow us Lu l",duce the computation time to less than 25 times the one for SHA-256. We point out that our optimizations are fully applicable to the original ZT hash that will however be twice as slow. Cryptographic hash functions have been used for key derivation: assuming it be- haves indistinguishably from a random function, a hash function is used to derive many uncorrelated subkeys from a single seed key. Using a malleable hash function like the ZT hash in this application might create serious security threats. In order to certify the use of our variant for this application, we tested its pseudo-randomness using the Dieharder battery of tests [2]. Our variant passes these tests. This paper is organized as follows. In Sections 2 and3, we remind Zémor and Tillich hash function and present our variant. In Section 4, we describe an implementation of our construction and the algorithmic tricks we use to improve its efficiency. Section 5 discusses the pseudo-randomness of our construction and Section 6 concludes and discusses work in progress and future improvements of our work. 2 The Zérnor-Tillich hash function We now describe the Zémor-Tillich hash function, following [12]. Let tri = 7nj7n2 ... mi; be the bit string representation of the message to be hashed. Let Pn(X) be an ir- 248 reducible polynomial of degree n and let IF2 n = IF2j(Pn(X)). Let Aa and Al be the following matrices Aa = (~ ~) A =(X 1 X+l)1 1 . Define the following mapping rr : {O,I} ---> {Aa, Ad o ---> Aa 1 ---> A] . The hashcode of m is just the matrix product hZT(m) := 7r(ml)7r(m2) ... 7r(mk) where the arithmetic is made modulo P,,(X), that is in the field lE'2n. For a message m of length k, computing hZT(m) seems to require k: matrix-by-matrix multiplications bilt multiplying by Aa or Al can actually be done with only a few SHIFT and XOR operations. The security of ZT hash can be related to both algebraic and graph-theoretical problems that we will not detail here [5,12]. Existing attacks against the ZT hash function are either unpractical, giving long messages at the price of discrete logarithm computations in IF22n [8], or targeting particular weak parameters [6, n]. The largest binary field where discrete logarithms have been computed is IF2607, but as the colli- sions produced in [8] have expected length 2";+2 we will not consider this attack as practical even for n :::::: 128. In partienlar in the rest of the paper we will consider n = 127,251,509,1021 and 2039 that are safe with respect to the attacks developed in [6, i i]. Although fundamentally unbroken in the sense of preimage and collision resistance, the Zémor-Tillich hash function has two main security problems: it is malleable in a sense we will explain below, and it is invertible when short messages are hashed. The malleability property directly results from the design strategy of dealing with the message bits one after the other. Given the hash h(m) of an unknown message m, the hash value of any message xljjmjjx2 can easily be computed. The invertibility for short messages was observed in [ll]. When the message size k is smaller than n, no polynomial reduction is performed. The hash value has the form ak(X) bk_1(X)) (ak(X) bk(X)) ( Ck-l(X) clk-2(X) or Ck-l(X) clk-I(X) depending on whether the last message bit is 0 or 1 (the subscript indices are the degrees of the polynomials). Consequently, an adversary can easily recover the message bits one by one. For partionlar polynomials with very sparse coefficients (like the polynomials in Figure 1), the polynomial reductions change very few bits. For such polynomials we observed that the hash values of large messages (up to a few times n-length) with long sequences of bits 0 also have long sequences of bits 0, an artifact that can be seen both as an additional malleability or as invertibility of larger message sets. None of these weaknesses contradiets the preimage nor the collision resistance prop- erty, because the formal definition of preimage resistance only requires the function to be computationally non-invertible on randomly chosen inputs. However, ZT hash can certainly not be used for some important applications of hash functions that require a good random function. The variant of ZT hash that we present now solves the security problems of the original function. 249 3 A variant of Zémor-Tillich 'vVepropose to use the following hash function: H(m) := h,&':J(mIIO"(hz':f(m))) where hZeT(m) is the concatenation of the entries (1,1) and (1,2) of hzT(-m) with the same parameters nand Pn(X), and 0" {G, ... 22n - l} ~ {G, ... 22n - I} : x ~ x EBc. The parameter c is some fixed constant whose bits "look like random"; in our implementations c is the binary representation of pi. The function hzy(m) corresponds to the first row of hZT(m). It can be com- puted one bit at a time like hZT(m), and each matrix-by-matrix multiplication is now replaced by a vector-by-matrix multiplication that is twice as fast. The func- tion 0" is of course very efficient. The second instance of hZeT, namely computing hzeT(mIIO"(hzeT(m))) = hzef(m)hzT(O"(hzy(m))), only requires 2n additional vector- by-matrices multiplications for the bits of O"(hzef(m)). It is thus negligible for long messages. Like the original ZT hash, our variant can be related to both algebraic and graph- theoretical problems, which are very close and partially equivalent to the original prob- lems. We now argue on its non-malleability and its preimage resistance even for short messages. In the Zémor-Tillich hash function, the preimage problem is easy for messages of length k < n because in that case no polynomial reduction is done, an effect amplified for partienlar polynomials like those of Figure l. However, the preimage problem for ZT hash is still believed to be hard if the input space is not restricted to some partienlar message sets. Thanks to the function 0", the bit string that is the input of the second instance of hZy does not belong to a weak preimage set. Consequently, it cannot be inverted and neither can the whole function. Now, consider a simple malleability issue present in both hZT and hZy, that is a relation between the hash values of m and m' = mlIG: if hzy(m) = h11lh2 then hZy(m') = (hjX + h2)llh1. Consider H(m) = hzef(mIIO"(hzy(m))). Although they are strongly correlated, the hash values h'jfj(m) and hZy(m') will differ in many bits in general, so O"(hzy(m)) and O"(hzef(m')) will differ in many bits and H(m) and H(m') will be completely uncorrelated. Of course some particular values (rn, m') such that hz':'j.(m) and h'jfj(m') are very close, for example differ by only the last bit, but finding such a pair without inverting hzej already seems a hard problem. Moreover, any such m and m' will differ in many bits, so again H(m) and H(m') will be completely uncorrelated. Considering more elaborated malleability relations involving for example the hash values of more than one message, leads to the same conclusion: the hash function H does not suffer from apparent malleability properties. 4 Efficiency of our hash function We now show how to efficiently compute our function. We point out that all the optimized parameters and algorithms we give are also applicable to the original ZT hash. The computational time of our hash function can be characterized as follows 250 n Polynomial 127 X127 + X + 1 251 X251 + X7 + X4 + X2 + 1 509 X509 + X8 + X7 + X3 + 1 1021 X1021 + X5 + X2 + X + 1 2039 X2a39 + XlO + X9 + X8 + X7 + X5 + X4 + X2 + 1 Figure 1: Irreducible polynomials that allow cheap modular reductions where t; is the time needed to multiply by Ai and ki(m) is the number of bits i in mlla-(hz'j(m)). Clearly ti > to : we have (a, b)Aa = (aX + b, a), (a, b)A1 = (aX + b, aX + a + b), so multiplying by Aa requires one multiplication by X and one addition in the field lF2n while multiplying by Al requires one addition more. The arithmetic is in a field of characteristic 2 and is thus very efficient. In our C implementation on a 32-bit processor, we reptesent an element a = an_Ixn-1 + an_2xn-2 r + ...aIX + aa as an array A of L := Ë1 integers (L := 1 in 54-bit r~ architectures). An addition requires only L XORs, and a multiplication a by X requires L SHIFTs and a polynomial modular reduction. The operations aX + band aX + a can be performed with L SXORs and a modular reduction. In general a polynomial reduction would cost one TEST and L XORs, but for the well-chosen parameters of Figure 1 we reduce this cost to a TEST instruction and two XORs. For example, reducing by X1021 + X5 + X2 + X + 1 amounts to testing whether A[31] /\ 20000000h is equal to 0, and if not to compute A[31] = A[31] EB20000000h and A[O] = A[O] EB27h. For long messages, the TEST instruction will return 1 half of the times. According to this analysis, to LtsxOR + tXOR + tTEST + Co ~ LtsxoR ti L(txOR + iexon) + tXOR + tTEST + Cl ~ L(txoR + tSXOR) where Co and Cl are constant times needed to call the functions. We obtain additional speedup by grouping the computation of consecutive message bits. Indeed, (a, b)AoAa (aX2 + bX + a, aX + b), (a, b)AoAI (aX2 + bX + a, aX2 + aX + bX + a + b), (a, b)AIAo (a,X2 + aX + bX + a + b, aX + b), (a, b)AIAI (aX2 + aX + bX + a + b, aX2 + bX + a). The last product can be computed by computing first aX + b, then (aX + b)X + a = aX2 + bX + a and finally (aX2 + bX + a) + (aX + b). The cost of this sequence of instructions is at most tu L(tXOR + 2tSXOR) + 2txOR + 2tTEST + Cll ~ L(txOR + 2tsxOR) 251 n No 2-bit 4-bit grouping grouping grouping 127 122 114 121 251 159 153 156 509 251 244 238 1021 386 368 388 2039 699 655 686 Figure 2: Running time (seconds) of different algorithms for H with different parame- ters SHA Time SHA-1 2.5 SHA-256 5.0 SHA-512 23.7 Figure 3: Running time (seconds) for the SHA family which is about 25% smaller than 2tj. We generalized this approach Lo more matrix groupings with the help of a computer program. More specifically, we wrote a Maple program that • Computes the vector-by-matrices product; • Looks for the best data paths with respect to the operations a --7 aX, (a, b) --7 aX + b and (a, b) --7 a + b; • Selects the very best data path according to an optimization function includ- ing the computation times of individual operations and the number of registers needed in a C implementation; • Writes a C code computing the products. The running time results for our function and SHA are shown at Figure 2 and 3. All tests were performed on an ::l:2-bitintel Q6600 quad processor running at 2.4 GHz, with 2Go DDR2 Ram. The OS is Ubuntu running kernel 2.6.24. Test vectors for performance evaluation were 500Mo random files generated using / dev /urandom. The performances of our function should be further improved by using the multime- dia sets of instructions available on processors. The computation time is linear in the word size in the processor, so it should be roughly halved on a 64-bit word computer (SHA-512 should also run faster). 5 Pseudorandomness We now show that om hash function can be used to generate good sequences of pseudo- random numbers. More specifically, we consider the bitstring sequences 1i(0) 111i(1)111i(2)11··.1i(9999) te (0) 111i(1i(0)) 111i(3) (0) 11...1i(lOOOO) (0) 252 for H = hzef, H = H, and give them as inputs to the Dieharder battery of tests of pseudo-randomness [2]. Results for hzef exhibit a high correlation in the outputs, with a Chi square distri- bution exceeded only 0.01% of the time by a random value, for all the polynomials of Figure 1. H seems to behave undistinguishibly from a random stream, as it passes successfully all tests in the Dieharder suite, and exhibits good Chi square distribution results, with values exceeded between 25 and 90% of the time. 6 Conclusion and Further Work In this paper, we present a new provable cryptographic hash function that is twice as fast as Zémor and Tillich hash function and has enhanced security properties. We proposed optimal parameters and algorithms for both ZT hash and our construction, and analyzed the pseudo-randomness properties of our function. A careful implemen- tation of the hash function allows for performances within a factor 23 of SHA-256 for an equivalent level of security (127 bit polynomial), and only 6.5 for SHA-512 (251 bit polynomial). Our hashing scheme H passes all tests in the ent and Dieharder test suites without exhibiting any particular behavior. Our function is very efficient (for a "provably secure" hash function) because it uses the arithmetic of a binary field, but it is still slow for large parameters as intermediary results have to be stored in large integer arrays. In a future work, we will investigate how MMX instructions can partially solve this problem in software. We will also implement the function on an FPGA, for which we expect a throughput of 800Mb/ s for 1024-bit parameters, only one half of the very best SHA-2 implementation. Finally, the provable security aspects of our construction will be presented in an oncoming paper. Acknowledgment Part of this work is supported by Belgian Interuniversity Attraction Pole P6/26 BCRYPT. Christophe Petit is a research fellow F.R.S.-F.N.R.S. at UCL Crypto group, Univer- sité catholique de Louvain. Nicolas Veyrat-Charvillon is a post-doctoral fellow at UCL Crypto group, Université catholique de Louvain, supported by the Translogistic project from the Walloon region. References [1] http://csrc.nist.gov/groups/ST/hash/documents/FR_Notice_Nov07.pdf. [2] Dieharder. http://www.phy.duke.edu/ rgb/General/dieharder.php. [3] FIPS 180-2 secure hash standard. [4] K. S. Abdukhalikov and C. Kim. On the security of the hashing scheme based on SL2. In FSE '98: Pmceedings of the 5th International Workshop on Fast Software Encryption, pages 93-102, London, UK, 1998. Springer-Verlag. [5] D. X. Charles, E. Z. Goren, and K. E. Lauter. Cryptographic hash functions from expander graphs. To appear in Journalof Cryptology. [6] C. Charnes and J. Pieprzyk. Attacking the SL2 hashing scheme. In ASIACRYPT '94: Proceedings of the 4th International Conference on the Theory and Applica- tions of Cryptology, pages 322-330, London, UK, 1995. Springer-Verlag. 253 [7] S. Contini, A. K. Lenstra, and R. Steinfeld. VSH, an efficient and provable collision-resistant hash function. In S. Vaudenay, editor, EUROCRYPT, volume 4004 of Lecture Notes in Computer Science, pages 165-182. Springer, 2006. [8] W. Geiselmann. A note on the hash function of Tillich and Zémor. In Fast Software Encryption, pages 51-52, 1996. [9] V. Lyubashevsky, D. Micciancio, C. Peikert, and A. Rosen. Provably secure FFT hashing. In NIST 2nd Cryptogaphic Hash Workshop, 2006. [10] C. Petit, K. E. Lauter, and J.-J. Quisquater. Full cryptanalysis of LPS and Mor- genstern hash functions. Preprint, 2008. [11] R. Steinwandt, M. Grassl, W. Geiselmann, and T. Beth. Weaknesses in the SL2(lF'2n) hashing scheme. In Proceedings of Advances in Cryptology - CRYPTO 2000: 20th Annual International Cryptology Conference, 2000. [12] J.-P. Tillich and G. Zémor. Hashing with SL2. In Y. Desmedt, editor, CRYPTO, volume 839 of Lecture Notes in Computer Science, pages 40-49. Springer, 1994. [13] X. Wang, Y. L. Yin, and H. Yu. Finding collisions in the full SHA-l. In V. Shoup, editor, CRYPTO, volume 3621 of Lecture Notes in Computer Science, pages 17-36. Springer, 2005. [14] G. Zémor and J.-P. Tillich. Collisions for the LPS expander graph hash function. To appear in the proceedings of Advances in Cryptology - EUROCRYPT 2008, 2008. 254 Efficient Template Generation for Object Classification in Video Surveillance Rob Wijnhovenl-", Peter H. N. de With2,3, Ivo Creusenlv Bosch Security Systems B.yI / Univ. Techn. Eindhoven? / CycloMedia Techn. B.y.3 Glaslaan, Eindhoven I/P.O. Box 68,4180 BB Waardenburg, The Netherlands 3 rob.wijnhoven@nl.bosch.com or P.H.N.de.With@tue.nl Abstract For object classification in video surveillance, features extracted from images are compared with a visual dictionary. The best-matching features are learned by the classifier to determine the object class. In this paper, the visual dictionary concept is extended with Interest Point Operators (IPOs). In a first experiment, the influence of using IPOs on the visual dictionary creation process is mea- sured and optimized. Secondly, given this optimal dictionary, the computational efficiency is evaluated for the dictionary matching process. Experiments show that the creation of the dictionary is most effective when extracting features at random locations. For the dictionary matching step, the use of IPOs gives a massive improvement (factor 8) in computational efficiency, while retaining a close-to-optimaI classification result. 1 Introduction With the growing number of security cameras, content-agnostic video surveillance sys- tems are extended with intelligent algorithms in order to effectively monitor all video data. Video Content Analysis (YCA) algorithms generate a notion of the activity in the monitored scene, in order to assist security personnel. State-of-the-art YCA algo- rithms comprise object detection and tracking, thereby generating location data of key objects in the scene. Classification of these objects is commonly performed based on the size of the object as a simple feature, combined with modest camera calibration to compensate for the perspective. However, misclassification occurs regularly, because shadows and occlusions negatively influence the size of the objects. For a better classification per- formance, more robust object models are required, which is the research objective of this paper. When looking into literature on object classification, an image is commonly pro- cessed with an Interest Point Operator (IPO) to determine interesting points from which descriptions are extracted. These descriptions are matched with a Visual Dic- tionary and the matching results are classified to obtain an object label. Extensive work is available on comparing various combinations of IPOs and descriptors [1] [2]. A slightly different approach is taken by LeCun [3] and Serre et al. [4],who propose a biologically plausible recognition system that does not contain any IPO and considers all image points equally important. Recently, the authors have considered the so-called standard model by Serre et al. in [5]. In this paper, we combine the invariant descriptions from [4] with the concept of IPOs. The use of IPOs relaxes the computational cost of the standard model because only a subset of all image points is analyzed. As the identified points are located within 255 an information-rich context, we hope that the processing of these points is sufficient for classification. In a first validation experiment, the influence of the considered IPOs on the con- struction of the visual dictionary is considered. In the second experiment, we trade-off the decrease in classification performance against the gain in computational efficiency, which is required for an embedded implementation. The sequel of the paper is as follows. In Section 2, the complete classification system will be explained, thereby specifically addressing the considered IPOs, the description-model and the Clustering Algorithm. The results are presented in Section 3 for both experiments. Conclusions and future work are discussed in Section 4. 2 System over-view Images from the security camera are first processed with the segmentation and track- ing algorithm from [6]. In this first step, each input image is divided into a static background and moving foreground objects. Next, each detected foreground object is processed with the classification model to determine the object-class label. Prior to introducing the new system proposal, we discuss the standard-model pro- posed by Serre et al. [4]. This model consists of a description-generation step, a visual- dictionary matching step and a classification step, as depicted in Figure l. This system will be expanded with an Interest Point Operator (IPO) and clustering algorithm. The effect on the construction of the visual dictionary will be discussed. Furthermore, we analyze the improvement in computational efficiency. The description model used is presented in Subsection 2.2 in more detail. Object Class Description Dictionary Classification generation matching Figure 1: The standard model system from !4}. The operation of the system can be divided in two main steps: training and testing, which will be presented now. Training of the system is applied at two levels. At first, the visual dictionary is generated, which is commonly done by extracting features from the training images [7]. However, with the considered descriptor, it has been shown that the features can be effectively extracted in a random way from natural images [4]. The second training step, compares the training images with the words in the visual dictionary and trains the Classifier with the corresponding responses. This process will now be discussed in more detail. A system overview is depicted in the block diagram of Figure 2. Relevant points are detected in the image using the IPO algorithm (block 2). Next, the Description Generation (block 3) creates descriptions from the local image regions around these image points. These resulting descriptions are called features in the remainder of this paper. Because the IPO results in the extraction of several visually similar features, similar features have to be removed. Therefore, the features are condensed with a clustering algorithm (block 4). The resulting cluster centers are stored as features in the visual dictionary (block 5). 256 The second part of training the system, given the visual dictionary, is the training of the classifier that distinguishes the various object classes. For each training image, a feature vector is generated. First, each training image is processed by the IPO (block 2) to extract relevant points and for these points descriptions are generated. Next, in the Dictionary Matching step (block 6), each feature in the dictionary is compared with all features extracted from the training image and the matching-score for the best match is stored. This results in a feature vector that contains all best-matching scores for the features in the dictionary. After generating feature vectors for all training images, these vectors are used to train the classifier (block 7). For the classifier a Support Vector Machine (SVM) is used. Since a classifier is typically binary meaning that it can only distinguish two classes, the SVM is used in a one-vs-all fashion. For each object class, a binary classifier is trained to distinguish this class from all other classes. This is applied for all classes, resulting in a number of classifiers that is equal to the number of object classes. 1a Object Class Interest point Description Dictionary Classification detection generation matching Figure 2: System block diaqram. After generating the dictionary and training the classifier-subsystem, the system is tested with the images from the test set in the bottom database in block l.b in Figure 2. After comparing all features with the visual dictionary, the resulting feature vector of each test image is input to all classifiers. The classifier with maximum response determines the inferred object-class label. In the following sub-sections, all sub-processes of the system are explained in more detail. Firstly, the interest point operators are discussed. Next, the used descriptor is presented, after which the clustering algorithm will be addressed. 2.1 Interest Point Operators The objective of using an IPO is to find interesting points in the image. However, the definition of "interesting points" is different for every application. Therefore, the choice for an IPO is not straightforward. Where some detectors prefer corner-points like the Harris-detector [8],other detectors provide blob-alike regions like the Difference-of- Gaussian detector proposed by Lowe [9]. The relevant scale of the image in a scale-space representation, at each point is determined by finding an extremum in the scale-space, which is commonly implemented using the Laplace operator. Mikolajczyk and Schmid extended the Harris and Hessian detectors with this scale-selection mechanism [10]. For the purpose of object classification, the goal of the IPO is to find image points that result in local image descriptions that are descriptive for the object classes and at the same time discriminative between the various object classes. Various work has been done on comparing IPOs for the purpose of object detection and classification. Mikolajczyk et al. [2] conclude that the Hessian-Laplace detector in conjunction with the GLOH descriptor [1] performs best. This result is valid for all considered object classes. This paper considers a different descriptor with different invariant properties. Each IPO has a different way of controlling the number of resulting points detected in each image. For a performance comparison of different detectors, the number of 257 resulting points is taken as a measure for the computational efficiency of the total system, since each additional interest point requires the matching with all features in the visual dictionary. The processing time of the interest point extraction process is assumed to be negligible compared to the visual dictionary matching. In the measurements presented in Section 3, five different operators are compared with the used description model. Besides the Harris-Laplace and the Hessian-Laplace operators, a random interest-point selection algorithm is considered, as well as a grid- like uniform sampling of the image. For the implementation of the Harris-Laplace and Hessian-Laplace operators, the software provided by Mikolajczyk' has been used. An example of detected points and their corresponding scales are shown in Figure 3. Input image Uniform sampling Random selection Hessian-Laplace Harris-Laplace Figure 3: Example interest points for a bus image. 2.2 Local Image Descriptor To describe the local image region around a detected interest point, the standard model as proposed by Serre et al. [4] is used. The model is based on the concept of a feed- forward architecture (see Figure 1), alternating between so-called simple and complex layers. The first layer of the model (SI) applies (1 battery of Gabor filters to the input image. Each Gabor filter has a specific orientation and is employed at several apertures, as to obtain scale-invariance. In the secondlayer of the model (Cl) first the element-wise maximum is taken over two scales of SI responses. Next, the maximum SI response in a local region is calculated and the result is downsampled, thereby only keeping the maximum filter responses. Figure 4 shows example SI and Cl responses for the image of a city bus. Consecutively, the S2 layer applies a matching step with the set of features from the visual dictionary, extracted at the Cl layer. These features are generated in an independent processing step. Finally, at the C2 layer, a feature vector is extracted by taking the maximum S2 response for each dictionary teature. both over space and scale. For each object image, a feature vector is generated and processed by a classifier (Support Vector Machine) in order to obtain a final classification decision. More details of the implementation can be found in [5]. Input image S1. Gabor filter responses (4orientations) Scale 15 ~ •••• C1: MAX Gabor responses (4orientations) Figme 4: E.Tample 51 and Cl responses for a bus image. 1 http:j jwww.robots.ox.ac.ukjvggjresearchjaffinej 258 In the original model [4], all image points are considered equally important, so no IPO is applied. For creation of the visual dictionary, random points are extracted from natural images, excluding the training images. In this paper, the same descriptor is used, but the visual dictionary is created using an IPO. Consecutively, visually similar features are removed by a clustering algorithm. In the SI and Cl stages of the model, only relevant points need to be to be processed, thereby decreasing the required computation power. Instead of considering all image points and scales, the addition of an IPO concentrates the model onto the spatial and scale selectivity of the operator. 2. 3 Clustering In the process of creating the visual dictionary, an IPO is applied and descriptions are generated for the resulting image points. These features are stored in the visual dictionary. The dictionary should contain features that apply to two criteria: (1) the features should be descriptive for the object classes considered, (2) the features should be discriminative in order to distinguish between the different classes. The first criterion is addressed by the IPO, combined with a clustering algorithm that groups similar features and thus avoids double appearances. The second criterion is addressed by the classification algorithm. Clustering algorithms can be divided into hierarchical and partitional algorithms. Hierarchical clustering methods find new clusters using previously established clusters, where partitional clustering methods determine all clusters at once. Recently, Teynor and Burkhardt [l l] have considered existing clustering algorithms (agglomerative hierarchical clustering and k-means clustering) for object classification and proposed a new partitional clustering algorithm, called Modified Basic Sequential Algorithmic Scheme (MBSAS). The concept of the algorithm is based on the creation of hyperspheres with a certain radius. This radius is selected as the maximum distance between two visually similar samples. The algorithm finds cluster centers in a first pass and in a second pass, it adds each remaining sample to the closest cluster center. Furthermore, a minimum cluster density is specified, as to limit the minimum number of cluster members. A comparison of hierarchical and k-means clustering and the proposed sequential algorithm, yields that the latter one is preferred because of its much lower computation time. This approach is used in this paper. In this paper, we follow a two-stage approach, in order to save computation power and to enable a distributed implementation. In the first stage, features are extracted and clustered per object class. To obtain one visual dictionary for the total set of object classes, the resulting object-class clusters are combined and clustered for a second time. The final cluster centers are stored in the visual dictionary. Since the size of the dictionary is limited to 1,000 features, only the cluster centers of the largest clusters are stored as features. 3 Results In this paper two concepts have been evaluated. At first, the infiuence of interest point operators (IPOs) on the dictionary creation process has been analyzed. Further- more, given the optimal visual dictionary, the computational efficiency of the system is evaluated against the classification performance for various IPOs. In the original standard model as described in Section 2.2, the visual dictionary is extracted in an unsupervised fashion from natural images. In the approach considered in this paper, features are extracted from the training images of each object class using an IPO. For an objective comparison of different interest point selection algorithms, the size of the visual dictionary is limited to 1,000 features by selecting the cluster centers of the largest 1,000 clusters. 259 Input for the analysis experiments is the surveillance dataset from [5]. For each of the 13 object-classes, 10 training images are randomly selected and all other images are used to test the system. To obtain a statistically stable measure, five iterations are performed. The presented scores are averages over the iterations, where each iteration measures the average per-class correct classification rate over all classes. 3.1 Visual Dictionary Creation For the creation of the visual dictionary, several IPOs have been analyzed. For the dictionary matching process, all image points are used to eliminate the effect of IPOs in this step. As discussed in Section 2.1, the Harris-Laplace and Hessian-Laplace operators are evaluated, together with random point selection (at random scale) and uniform grid-like sampling (at all scales). To compare with the standard model, an additional random IPO is applied on natural images as a reference. In this case, exactly 1,000 features are extracted and therefore, no clustering is applied. The threshold- settings of the various IPOs are chosen such that an approximately equal amount of interest points is generated (except for the uniform sampling operator, which considers all image points). Class. rate (%) NN SVM Table 1: Classification scores for different IPOs in the dictionary creation process. The classification performance of the various operators is depicted in Table 1 for both a Nearest Neiohbor (NN) and a Support Vector Machine (SVM) classifier. As can be seen in the table, the random selection of interest points outperforms the other IPOs. When using an SVM, extraction from natural images is best (RandNat), com- pared to favoring the training set (Rand) with NN classification. After random se- lection, uniform sampling gives results comparable to the Hessian-Laplace detector. Harris-Laplace performs worst in both cases. Underlying these results is the influence of the clustering algorithm and feature selection. For IPOs that extract more points, more cluster centers remain and thus the feature selection process has a harder task to converge to the essential representative clusters. This convergence aspect and the intrinsical feature selection process needs further study and is left for future work. Fur- thermore, it is expected that the influence of the dataset is significant in this measure. 3.2 Performance vs. Complexity In the previous experiment, it has been shown that the creation of the visual dictionary is optimally performed by extracting features at random positions and random scale in the image. The next experiment compares the classification performance with the computational efficiencyof the system for the consiclered IPOs, given the optimal visual dictionary. Only the SVM classifier is used. As introduced in Section 2.1, the number of extracted points is taken as the measure for the complexity of the system. The processing time of the IPO is not taken into account and assumed negligible. The number of interest points is varied by changing the respective thresholds of the IPOs. For the random operator, the number of points can be exactly specified and for the uniform-sampling operator, the sub-sampling factor is varied. The results are depicted in Figure 5. The highest classification rate is obtained when all image points are considered in the dictionary matching process (uniform sampling without sub-sampling). This value (72.3%) is visualized at the right of the figure and is considered as the reference score. Over the complete complexity range, the random 260 75 ~ 70 Ht Ol u c:: ~ co E Ol 65 - 0 '-=:1'-'-'-- ---+ I--- a. ~I c:: .9 ;t; £1 ~ f..--- ro ~u 60 p/ -+- Hessian-Laplace '"co'" :1 60 - 7- - - Harris-Laplace Ü 55 i- -e- Uniform sampling 55 0 2 4 6 8 10 12 14 -+--Random 50 o 10 20 30 40 50 60 70 80 90 100 Computational complexity (% from max #points) Figure 5: Computational complexity vs classification performance. The middle inset is an enlarged view of the main fiqure, showing the classification between 0 and 14%. operator gives the lowest performance, followed by the uniform-sampling operator. Since the Harris-Laplace operator resulted in a limited number of points, it cannot be objectively compared to the Hessian-Laplace operator. Overall, in the 1-12% range, the effects of limiting the number of points may result in an subjective comparison. Concluding, the Hessian-Laplace operator approaches the optimal solution best, with a significantly lower computational requirement than the other operators (71.0 ± 0.7% compared to 72.3 ± 0.9% with only 12% of the total number of image points). 4 Conclusions and Future Work In this paper, popular interest-point operator (IPO) algorithms have been combined with the standard model descriptor proposed by Serre et al. [4]. The choice of proper IPOs has been evaluated in two ways. Firstly, the effect of the IPO on the creation of the visual dictionary has been measured. The second experiment has considered the computational efficiency of system given this optimal visual dictionary, where the number of extracted points for each IPO was varied and compared against the correct classification rate. The conclusions of the above experiments are as follows. For the effect on the IPO choice, the random sampling algorithm has proven to result in the most optimal dictionary. Random sampling on the training images works best with a nearest neighbor classifier, whereas randomly selecting from natural images combines best with an SVM classifier. With respect to computational efficiency of the IPOs, the Hessian-Laplace operator overall outperforms the other operators in terms of efficiency. At this point, it is relevant to also discuss the mutual dependencies between the dictionary generation and matching process. Although this paper advocates the use of IPOs, we have found that surprisingly enough, for the dictionary generation step, the use of IPOs negatively influences the results. This is in contrast with the dictionary matching step, where both the Harris-Laplace and the Hessian-Laplace give a boost in performance over the random and uniform-sampling operators. Having concluded the above, a number of important aspects of the conducted ex- periments were only marginally discussed and explored in this paper. First, the choice of the clustering algorithm was fixed and taken from earlier experiments [l l]. How- ever, the influence of this algorithm on the results requires attention and will have 261 its influence on the conditions of the experiments. Second, in the feature selection process we have currently assumed that the largest clusters are the most suitable ones to choose. However, this may not be the best choice and optimization of this process can give additional performance improvement. Third, and finally, the dataset for the conducting experiment was still very limited and for more firm conclusions, a much broader evaluation is desired. For future work, we will consider the influence of using multiple dictionaries for different object viewpoints. Furthermore, a shape model will be considered, adding constraints to the spatial configuration of objects. Leibe [7]proposed an Implicit Shape Model to efficiently model the spatial configuration of an object class. This leads to a merge of local appearance models with global object models which are also applied in e.g. 3D wire-frame models. References [1] Krystian Mikolajczyk and Cordelia Schmid, "A performance evaluation of local descriptors," IEEE Transactions on Pattern Analysis and Machine Inielliçence (PA MI), vol. 27, no. 10, pp. 1615-1630, October 2005. [2] K. Mikolajczyk, B. Leibe, and B. Schiele, "Local features for object class recogni- tion," in Proc. of Tenth IEEE Int. Con]. on Computer Vision (ICCV), October 2005, vol. 2, pp. 1792-1799. [3] F.J. Huang and Yann LeCun, "Large-scale learning with svm and convolutional nets for generic object categorization," in Proc. of Computer Vision and Pattern Recoçnition (CVPR). June 2006, vol. 1, pp. 284-291, IEEE Press. [4] Thomas Serre, Lior Wolf, S. Bileschi, M. Riesenhuber, and Tomaso Poggio, "Ro- bust object recognition with cortex-like mechanisms," Trans. Pattern Analysis and Machine Intelligence (PAMI), vol. 29, no. 3, pp. 4ll-426, March 2007. [5] R.G.J. Wijnhoven and P.H.N. de With, "Experiments with patch-based object classification," in IEEE Int. Conf. on Advanced Video and Signal based Surveil- lance, September 2007. [6] S. Muller-Schneiders, T. Jager, H.S. Loos, and W. Niem, "Performance evaluation of a real time video surveillance system," in Proc. of 2nd Joint IEEE Int. WOTkshop on Visual Surveillance and Performance Eualuatioti of Tracking and Surveillance (VS-PETS), October 2005, pp. 137-144. [7] Bastian Leibe, Ale Leonardis, and Bernt Schiele, "Robust object detection with interleaved categorization and segmentation," International Journal of Computer Vision (IJCV), vol. 77, no. 1, pp. 259-289, May 2008. [8] C. Harris and M. Stephens, "A combined corner and edge detector," in Proceedinqs of the 4th Alvey Vision Conference, 1988, pp. 147-151. [9] D.G. Lowe, "Distinctive image features from scale-invariant keypoints," Interna- tional Journalof Computer Vision (IJCV2004), vol. 60, no. 2, January 2004. [10] K. Mikolajczyk and Cordelia Schmid, "Indexing based on scale invariant interest points," in Proc. IEEE Int Conf. on Computer Vision (ICCV). July 2001, vol. 1, pp. 525-531, IEEE Computer Society, Washington, DC, USA. [l l.] Alexandra Teynor and Hans Burkhardt, "Fast codebock generation by sequential data analysis for object classification," in Proc. of the Srd Int. Symp. on Visual Computing (ISVC), 2007. 262 Multiple-view Scene Reconstruction using Graph Cut with Image Content Adaptive Energy Functions Ping Li 1,2, Rene Klein Gunnewiek2, Peter H. N. de With 1,3 Eindhoven Univ. of Technotoqy ' /Philips Research Europe2/CycloMedia Technology B.V3 p.li@tue.nllrene.klein.gunnewiek@philips.com/PH.N.de.With@tue.nl Abstract Multi-view scene reconstruction from multiple uncalibrated images can be solved by two stages of processing: first, a sparse reconstruction using Structure From Mo- tion (SFM), and second, a surface reconstruction using optimization of Markov random field (MRF). This paper focuses on the second step, assuming that a set of sparse fea- ture points have been reconstructed and the cameras have been calibrated by SFM. The multi-view surface reconstruction is formulated as an image-based multi-Iabeling prob- lem solved using graph cut. First, we construct a 2D triangular mesh on the reference image, based on the image segmentation results provided by an existing segmentation process. By doing this, we expect that each triangle in the mesh is well aligned with the object boundaries, and a minimum number of triangles are generated to represent the 3D surface. Second, various objective and heuristic depth cues such as the slanting cue, are combined to define the local penalty and interaction energies. Third, these local energies are adapted to the local image content, based on the results from some simple content analysis techniques. The experimental results show that the depth discontinuity is well preserved because of the image content adaptive local energies. 1 Introduetion This paper aims at reconstructing the 3D shape of a scene from an image sequence taken by a video camera at different viewpoints. One direct application of our work is one of the first 3DTV proposals based on video-plus-depth data representation requiring the depth maps of the video. This is a classic computer vision problem, and has been extensively studied in both industry and academia in last decades. Typically, to do the reconstruction from uncalibrated images, the Structure From Motion (SFM) is first conducted to calibrate the cameras. SFM is able to reconstruct only a sparse set offeature points in space. To obtain a dense shape, the density insufficiency and the depth holes in the image have to be filled. For this purpose, many surface reconstruction algorithms have been proposed in computer graphics. Unfortunately, due to the sparse and uneven distribution of the reconstructed 3D points obtained by SFM, many proposed algorithms in graphics cannot be applied to such sparse 3D data [1]. The dense reconstruction has to be solved by multi-view reconstruction methods. 1.1 Related work There are two classes of multi-view reconstruction techniques in terms of how the 3D scene is represented: volumetrie and image-based representations. The voxel coloring and space- carving algorithms belong to the first category. The advantage ofthe volumetrie technique is its ability to preserve the depth discontinuity and handle occlusion. The drawback is that it can be easily trapped in local minima because of the lack of spatial smoothing. Especially, for image areas with little texture or having object boundaries, the photo consistency does not give a good confidence. As a result, the space carving based on the photo consistency cannot work well. Another drawback is that the visibility of each voxel needs to be known to compute the consistency cost. A base shape or visual hull is typically required. Recently, a few volumetrie graph cuts [2] were proposed, where the smoothing between neighboring voxels can be applied. For image-based techniques, an image is selected as the reference image. Each pixel in the reference image is then assigned a discrete disparity or depth value, which is often formulated as a problem of energy minimization of a MRF network. Fast optimization algo- rithms such as graph cuts [3,4] or belief propagation [5] can be used. One advantage of this method is that it provides a clean and computationally-tractable formulation, where various depth cues or prior information can be integrated. Our work aims at reconstructing the 3D scene from image sequences taken by a video camera. The image motion between successive images is typically small due to the small camera baselines. The occlusion is not an issue since most pixels in the reference image are visible in neighboring images. Thus, the image-based method is appropriate for our problem and is used in this paper. 1.2 Our contributions Inspired by [6], this paper presents an MRF-optimization approach that combines various depth cues, constraints and prior information into a MRF framework for scene reconstruc- tion, using the existing MRF-optimization software from [7, 8]. Given the available MRF-optimization software, we assume that an approximate optimal solution can be obtained, provided that we construct an appropriate graph and define the appropriate penalty and interaction energies. Thus, our focus is on the graph construction and design of the cost functions. Our basic idea is the graph construction and design of the local energies should be based on local image content. Due to the irregularity of the 3D scene structures, it is difficult to accurately describe the complex energy interaction inside an MRF network using well-established mathematical equations as we do in fluid dynamics. Consequently, the two general fundamental constraints (photo-consistency and smooth.ness) need to be tuned to local image content. This paper makes some attempts in this direction, and gives the following contributions. This paper proposes a 20 triangular mesh construction to accurately represent the object surface by a minimum number of triangles. The image is first over-segmented using existing software from [9] based on color and texture. The triangular mesh is then constructed on the segmentation map such that each triangle is well aligned with object boundaries. 2 Various depth cues are combined to define the penalty and interaction energies to re- move the ambiguity among depth labels. Besides the photo-consistency cost, several costs are introduced: (1) a new smoothing cost that imposes the smoothness of the lo- cal motion field is explored, (2) a slanting cost that prefers a larger depth for the object on the top of a image is introduced, (3) a prior is considered assuming the absence of small distinct objects in the scene. 3 We propose a method to adapt both the data and the smoothing costs to the local image content, based on a few simple content analysis methods. 264 2 Problem formulation Given a group of images {PI, P2, ... , P,,} taken by cameras at different viewpoints, we want to find the depth value for every pixel pEP, where P is the reference image (central image of the given image group). We use the factorization-based SFM method [10] to first calibrate the camera parameters and reconstruct the 3D locations of a number of sparse feature points. Knowing the camera parameters, our problem then converts to the conventional multi-view reconstruction problem, with certain differences as mentioned in Subsection l.L Given the depths of those reconstructed sparse points, we discretize the depth into a number of discrete depth labels LEL. Our task is to assign a depth label to each pixel in the image, i.e., to find a labeling function f: P --t L. This is a typical combinatorial optimization problem, which can be solved by the max-ftow algorithm [6]. Each pair (p,L), where pEP and LEL, corresponds to a point in 3D space. This 3D point is projected onto multiple views. 3 Algorithm description The core of this paper is constructing the graph and designing the cost functions, which is presented in this section. Given the constructed graph and cost functions, we expect the available software will be able to obtain an approximate optimal solution. Following the notations from [11], the energy of the 3D scene surface (and also most graph-based methods in vision) can be represented as: E(L) = L Dp(Lp) + L Vp,q(Lp,Lq), (I) pEP (p,q)E'lI{_ where L = {Lplp E P} is a labeling of image P, Dp(.) is a data penalty function, Vp,q is an interaction energy, and 'JI(_ is a set of all interactive neighboring pixels. Corresponding to the software, we need to define the neighborhood 'J'{ and two cost functions: dCost (pixel, label) and sCost (pixell, labell, pixe12, labe12) . 3.1 Graph construction We construct the graph for our energy optimization on the segmentation map provided by the segmentation algorithm from [12]. The steps to construct the 2D triangular mesh and its dual are summarized as follows: I. Segment the central image - Fig. 3(b). 2. Sample the triangle vertices on the segment boundaries - Fig. 3(c). 3. Generate the 2D triangular mesh using Delaunay triangulation - Fig. 3(d). 4. Split the big triangles based on the triangle size - Figs. 3(e) and (f). 5. Generate the dual of the triangular mesh, i.e., a tetrahedral mesh, by connecting the centroids of neighboring triangles - Fig. 3(g). It is well known that the neighboring pixels with the similar color or texture are likely to lie in the same local planar surface. The above construction algorithm guarantees that: (I) each triangle in the mesh is well aligned with the object boundaries; (2) a minimum number of triangles are generated to represent the 3D surface. As depicted in Figs. 3(e) and (f), the triangles are larger for image areas with uniform color and texture, and smaller for complex image areas that are likely to correspond to complex scene surfaces. The latter feature is desired for an efficient optimization. The energy optimization is carried out over the dual of the triangular mesh. The reason is that all pixels in each triangle are likely to have the same image properties, and should be 265 treated uniformly. A fixed 3-neighbor tetrahedral graph will be better for optimization than the triangular mesh where each node has varying number of neighbors. Since we use the tetrahedral mesh, the term 'pixel' in this paper does not refer to the actual calor pixel in the image, but to the centraid of the triangle, or the vertex of the tetra- hedral mesh. It represents the triangle in the triangular mesh. For the ease of reference, we do not discriminate the term 'pixel' from 'vertex' or 'triangle' in following discussion. 3.2 Data penalty energy As stated in Subsection 1.2, the photo-consistency cost and smoothness cost need to be tuned to local image content. This section presents how to combine a number of depth cues and prior information into the local energies, and adapt the energies to local image content. Photo consistency cost. Given a depth L for pixel p, the photo consistency cost E;holO (L) is computed as the average of the Sum of Absolute Difference (SAD) between image patches in the reference image and the neighboring images. A high SAD value means a low correlation, which implies that the depth L is not appropriately set. Fig. 1 shows a typical SAD - Depth rejected by max-displacement : rejected by rnax-displacement and other constraints and other constraints global minimum! { ·1 local minimum /i local ~inimum Depth Figure I: Removing ambiguity among different depth labels. curve, where we see that the photo-consistency constraint alone is hard to determine the optimal solution because of the many localminima. The ambiguity has to be removed using other depth cues. For example, if we can limit our solution to within [a, bl, the elianee to reach the optimal solution will be much higher, though we still need to handle the multiple local minima around the global minimum. Max-displacement constraint. The 3D point (p,L) is projected onto multiple views. Given a depth L, the pixel displacement between two neighboring frames Pi and Pj for p can be easily computed, which is denoted as v~,j. For an image sequence taken by a video camera, the pixel displacement between two successive frames are usually limited. This is referred to as the rnax-displacement constraint in this paper. A large number of depths can be rejected once we detect that the pixel displacement v~,j exceeds a certain threshold. In this case, we set the consistency cost to infinity. As illustrated in Fig. I, we significantly reduce the search range for the depth. Slanting cost. For most outdoor scenes, we can safely assume that the objects at the top of an image are usually farther away than the bottom objects, which is referred to as slanting cue in this paper. We introduce a slanting cost in our penalty energy to indicate the preference for scene slanting. To compute the slanting cost E~IClntil1g, an initial depth label La is computed based on the vertical coordinate of the pixel in the image. Given the relative label difference dL = IL - LoI/#label between the current label L and initial label La, the cost is computed as: Eslal1lillg = 3(dL-O.5)·IO ' dL >.OS { 0, (2) IJ elsewhere. The shape of the cost function is shown in Fig. 2(a). We observe that the top object some- 266 L" depth Ik labels L,_ )• L, LOl L C1 co C2 Ca) Shape of the slanting cost func- (b) Depth planes with increasing lion. depth from the central camera. Figure 2: Shape of slanting cost function and depth planes. times can be closer than the bottom object. Further, the initial label Lo that is computed based on only the vertical pixel coordinate cannot give a high confidence of the pixel depth. Thus, the cost should be designed such that only the label that is significantly different from the initial label should be rejected. This explains the broad zero cost interval in Fig. 2(a). Surface-point constraint. Since a number of sparse points have been reconstructed, we can enforce the surface to pass through/near these known 3D points. For this purpose, we introduce a surface-point cost Ef;°ill/ into the data penalty energy. For each triangle, we first detect all 'known' 3D points that locate within the same triangle as the pixel p, The cost is then computed as the Euclidian distance between the point (p, L) and the 3D points within the same triangle. Rejection of single-out object. In most scenes, there will be few small objects whose depths differ significantly from neighboring objects. To reject such single-out objects, we introduce a weighting factor Ws to incorporate this prior information. During energy min- imization, once we detect that the depth of a triangle is significantly different from all its three neighbors, we increase the data cost by multiplying it with Ws. Integration of the above costs: adaptation of penalty energy to local image content. With all above costs, the data cost Dp(L) for pixel p can be computed as: D (L) = { Ws A p [ WIEpph%() L r:« L )+ W3EpPOill/()]·f· + W2Ep L, I (pixe I di ISp. < max diISp.) p 00, elsewhere, (3) where Ap is the area of the 2D triangle p; WI, W2 and W3 are the weight factors, which are adjusted according to local image content. For example, if the photo consistency is able to give a high confidence, the weight for the consistency cost should be increased, while the weight for the smoothing cost should be decreased. Below, we describe how the confidence of the photo consistency is measured based on simple content analysis methods. There are two basic observations about the photo consistency. First, for smooth image areas, the correlation between two image patches will be consistently high for all depths. Second, for the pixels on object boundaries or in image areas with varying illuminations or specular properties, the correlation will be consistently low for all depths. In both cases, the photo consistency cannot give good confidence, and should be given a smaller weight. For implementation, we compute the intensity variance (5~ of the image patch around pixel p, 'ip EP. For each pixel p, we compute the SAD value Ef;ho/O(L) for depth L, 'iL E L. The following two measurements are proposed to measure the confidence of the photo consistency: 1> = (57,/average((5~,p EP), (4) r~ = min(E/;"o/O(L),L E L)/average(Ef;"o/O(L),L EL). (5) Ratio 1> measures the smoothness of the image patch around the pixel, and r~ measures the 267 consistency of the photo-consistency costs. The smaller the rJJ or the larger the r~, the lower the confidence of the photo consistency const, and thus a smaller weight should be assigned to the cost. 3.3 Interaction energy Given two depths Lp and Lq for two neighboring pixels pand q, we project the two 3D points (p,Lp) and (q,Lq) into all images. The displacement vectors vY,j) and VY,j) between every successive image pair (P;, Pj) can be computed. The smoothing cost is then computed as: Vp,q(Lp,Lq) = L IlVy,j) (Lp) - VJi,j)(Lq)ll, (6) (i,j)El where, I is the set of all successive image pairs. This cost implies that the displacement vec- tors between two neighboring pixels should have similar magnitudes and directions, which is robust to scene structure and camera motion. Depth discontinuity. The central image is over-segmented for our graph construction, from which we know which segment Sp where each pixel p locates. We assume that the depth dis- continuity occurs only across segment boundaries with a large depth variation. With the segmentation results, we can easily adjust the smoothing cost between two neighboring pix- els according to their segments and depth variation. A large depth variation between two segments implies a high probability of an object boundary, and thus a small smoothing is applied. The smoothing cost is in this way adapted to the local image content. Slanting cost. To penalize the configuration that the pixel at the top has a smaller depth, we multiply the smoothing cost by a penalizing factor Wt (Wt :S I), when the slanting is violated. Combining the above results, the smoothing cost is then computed as: ILl' -Lql > Th and s, ie Sq, r-lsewhere. (7) Weight Wt = 2 when slanting is violated, and Wt = I otherwise. The slanting violation is de- tected if the top pixel has a depth that is smaller than the bottom pixel by a certain threshold. 4 Experimental results The proposed algorithm was applied to the 'castle' sequence from [13] for testing. The cameras are first calibrated using the factorization-based SFM method [10]. The sparse points that are reconstructed by SFM are shown in Fig. 3(a). Fig. 3 shows the results of the each major step of the proposed algorithm. Totally five consecutive images are selected from the sequence for our surface recon- struction. The central image is selected as the reference image. Similar to [6], we first align the world coordinates to the camera coordinates of the central image. Then the depth planes are sampled in the 3D space with increasing depth to the central camera. The depth differ- ence between two consecutive depth planes was chosen in such a way that every label change results in the pixel displacement of the principal point in the central image by at most 1 pixel in both x and y directions. Fig. 2(b) illustrates the depth planes. A 5 x 5 window was used to compute the intensity variance cr~ of the image patch around pixel pEP. A 17 x 17 window was used to compute the SAD value Sp(L) for all depths LEL. The SAD value was computed in R, G, B channels and then averaged. If the pro- jection of the 3D point is outside an image, the SAD value for that image pair is discarded. 268 Because of the lack of ground truth, the evaluation of the reconstruction accuracy mainly relies on visual inspection. As we see from the depth map in Fig. 3(h), we observe that the depth discontinuity is well preserved. For applications in which small details need to be re- constructed, the dense shape reconstructed by the proposed algorithm can be used as a base shape for further improvement. 5 Conclusion We have presented an image-based multi-view reconstruction technique for surface recon- struction from multiple images with small or moderate baselines, using MRF optimization. The principal idea is that the local penalty energy and interaction potential need to be adapted to local image content. This paper proposes technique to combine various cues and prior in- formation to exploit image locality. The combination is based on three features. First, we propose a method to construct a 2D triangular mesh on the over-segmented image. The gen- erated triangles are well aligned with the object boundaries, and are able to accurately rep- resent the object surface using a minimum number of triangles. Second, we employ various objective and heuristic depth cues do define the penalty and interaction energies, such that the ambiguity among depth labels can be removed. Third, based on simple content analysis, we tune both the penalty and interaction energies to the local image content. The experimen- tal results show that the depth discontinuity is well preserved because ofthe content-adaptive energy functions in our proposal. The evaluation results have been tested for outdoor scenes with small baselines. Further testing for a larger data set is our future work. References [I] Gang Zeng, Sylvain Paris, Long Quan, and Maxime Lhuillier, "Surface reconstruction by propagating 3d stereo data in multiple 2d images," in Proc. European Conf. Computer Vision, 2004. [2] G. Vogiatzis, P.H.S. Torr, and R. Cipolla, "Multi-view stereo via volumetrie graph-cuts," in Proc. IEEE Con! Computer Vision and Pattern Recognition, June 2005, vol. 2, pp. 391-398. [3] Sebastien Roy and Ingemar J. Cox, "A maximum-flow formulation of the u-camera stereo correspondence problem," in Proc. Int. Con! Computer Vision, Jan 1998, pp. 492-499. [4] Yuri Boykov, Olga Veksler, and Rarnin Zabih, "Fast approximate energy minimization via graph cuts," IEEE Trans. Pal/ern Analysis and Machine Intelligence, vol. 23, no. 11, pp. 1222-1239, Nov. 2003. [5] Jian Sun, Nan-Ning Zheng, and Heung- Yeung Shum, "Stereo matching using belief propagation," IEEE Trans. Pattern Analysis and Machine lntelligence, vol. 25, no. 7, pp. 787-800, Jul. 2003. [6] Vladirnir Kolrnogorov and Ramin Zabih, "Multi-camera scene reconstruction via graph cuts," in Proc. European Con! Computer Vision., 2002, vol. LNCS: 2352, pp. 82-96. [7] ''http://vision . middlebury. edu/MRF I codei," . [8] Richard Szeliski et. al., "A cornparative study of energy minimization methods for rnarkov random fjelds," in Proc. European Conf. Computer Vision, 2006, vol. LNCS 3952, pp. 16-29. [9] ''http://people . cs. uchicago. edul - pffl segmenti," . [10] Mei Han and Takeo Kanade, "A perspective factorization method for euclidean reconstruction with uncalibrated cameras," 1. Visual. Comput. Animat., 2002. [11] Yuri Boykov and Vladimir Kolrnogorov, "An experimental comparison of min-cut/max-flow algorithms for energy minimization in vision," IEEE Trans. Pattern Analysis and Machine lntelligence, vol. 26, no. 9, pp. I 124--1137, Sep 2004. [12] Pedro F. Felzenszwalb and Daniel P. Huttenlocher, "Efficient graph-based image segmentation," Int. J. Computer Vision, vol. 59, no. 2, pp. 167-181, Sep 2004. [13] ''http://www.cs.unc.edu/-marc/,''. 269 (a) Central image with reconstructed points. (b) Segrnentation map. (c) Segment boundaries. (d) Triangular mesh by Delaunay triangulation (e) Splitting of the large triangles. (f) Final triangular mesh after splitting. Cg) Tetrahedralmesh for MRF optimization. (h) Depth map. Figure 3: ResuJ ts of each maj~7éfP of the proposed algorithm. Regression-Based Occlusion Handling U sing Silhouette Data in Video Surveillance Minwei Feng", Jungong Han" Peter H.N. de Witha,b "Unlversity of Technology Eindhoven bCycloMedia Technology 5600 MB 4180 BB Eindhoven, The Netherlands Waardenburg, The Netherlands m.feng©student.tue.n1 p.h.n.de.with©tue.n1 jghan©tue.n1 Abstract This paper aims at addressing the occlusion problem, which is the challenging part in a video tracking system. Our algorithm is composed of two steps: loca- tion and recognition. In the location step, we first apply a non-linear regression after segmentation to model the human body silhouette. Afterwards, we identify peak points of the regression curve which are then used as candidate positions of occluded objects. In the recognition step, we find the correct correspondence between candidate models and object color models stored prior to occlusion, so that we can derive the position of each person during occlusion. We have com- pared our tracking method with two other popular tracking algorithms: mean- shift and particle- fiJter. Experimental results show that the correctness of our method is much higher than the mean-shift algorithm and basically the same as a particle-filter, however, with the major benefit of being a factor of 10-20 faster in computing. 1 Introduction Video surveillance systems have become widely accepted because of political develop- ruuuts allel the continuous decreasing costs of cameras, large-capacity storage systems and high speed broad-band networks. Typically, a complete video surveillance system includes multiple hardware and software components. Of these components, tracking is the most crucial, as it often determines the performance of the whole system. A chal- lenging task in the tracking module is occlusion handling, which occurs when small groups of people are moving together, or interacting with each other. In these cases, individual persons are not visually isolated, but are partially or totally occluded by other people. Several tracking techniques already have been developed, which can be generally di- vided into two categories. The first category is called target modeling and localization. By designing the target model (constructed from the previous frame) and the target candidate model (in the current frame), we can define a similarity function to describe the distance between the target model and candidates. This similarity function con- structs a feature space in which we try to find the best matching position. Mean-shift tracking [IJ belongs to this category. The essential contribution of this algorithm is 271 that it searches the best matching position along density gradients, instead of the full feature space, thereby enabling a fast system. Unfortunately, this algorithm is limited in the occlusion handling. When occlusion occurs, this algorithm cannot find a reliable gradient direction, since the object pixels would be partially or totally lost. The second category for tracking is defined as the target prediction and correction. In this category, the tracking is supposed to be a probabilistic inference problem. More specifically, let X, be the state of a object at the ith frame, and the observed features obtained in the ith frame be denoted by Y'i' Assume we have a representation of P(Xi-1Iyo, ... , Yi-l), then the prediction procedure can be defined by: (1) Once we have new observations Yi in the ith frame, we perform a correction step: P(Xi, Yo, ... , Yi) P(Yo, ... , Yi) P(Y'iIXi, Yo, ... , Yi-l)P(Xilyo, ... , Yi-dP(yo,. "Yi-d P(Yo, .. " Yi) (2) P(YiIXi)P(XiIYo, ... , Yi-dP(yo, ... , Yi-l) Particle filter [2]is a typical example that employs the above concept. This algorithm is capable of addressing the occlusion problem, but at the expense of high computational demands. In our previous work [3], we have proposed an occlusion-handling algorithm based on a non-linear regression model. This model effectively changes the person location computation during the occlusion into the finding of the local maximum points on a smooth curve (function), so that visual persons m the partial or complete occlusion can still be precisely captured. This paper provides a more robust performance of the location computation. Our contributions here are twofold. Firstly, we address the overfitting problem of our regression model [3], in order to solve the occlusion caused by more than two persons. Secondly, we add a Kalman filter to the tracker so that it can deal with the case that occluded people wear similar clothes. The paper is organized as follows, Section 2 describes the system framework. Sec- tion 3 introduces the two contributions. Experimental results are shown in Section 4. In Section 5 we present the conclusions. 2 System Framework The system framework is depicted in Fig. 1. The six components are summarized as follows. (1) Object-segmentation component: this is employed to label the foreground pixels of the moving objects, (2) Target-detection component: it enables to find the appearing persons in terms of detected foreground pixels. (3) Occlusion detector: it determines whether occlusion occurs, (4) Mean-shift tracking: this module is applied 272 NO Mean-shift Trajectory Segmentation • Target Detection • Tracking Generation YES T Regression Based Tracking Figure 1: System framework for tracking. to track targets, if there is no occlusion. (5) Regression-based tracking: this will be triggered when occlusion is going to occur, and the mean-shift tracking will stop. (6) Trajeetory generation: each person wil! be assigned a trajectory which is stored for high-level analysis. In this framework, we intend to concentrate on the occlusion-handling component. From earlier work, we have derived a regression-based tracking algorithm [3]. Our basic idea for solving occlusions can be described as follows: when occlusion occurs, we select the body silhouettes from the foreground image and model the projected silhouettes on a horizontalline by a mixture Gaussian regression function. We utilize the fact that the shape of one Gaussian function is similar to the horizontally projected silhouette of a human. Moreover, the number of Gaussian functions corresponds to the amount of persons involved in the occlusion. After regression, we compute local maximum points of the regression function (smooth curve, locating the top of the head), each corresponding to one person during the occlusion. 3 Ocelusion Handling U sing N onlinear Regression The tracking algorithm is composed of two steps: location and recognition. They are described as follows. 3_1 Locate the people during the occlusion By projecting the human silhouette on an axis perpendicular to the assumed torso axis, one should observe a peak in the projection in the vicinity of a head. Therefore, the shape of a 2D binary silhouette is represented by its horizontal projected histogram, which is computed by projecting the binary foreground region on the x-axis. It is noted that the y-coordinate of each bin on our histogram map does not sta.rt at the zero point, but at the y-coordinate of its lowest projection point. By doing so, the spatial information of the human body is preserved. The benefit is that the achieved human geometric sha.pe is more similar to the curve (model) used in our regression algorithm, thereby leading to more accurate results. Let us now describe our modeling of the projection histograms. Let {Xi, y.;}i=l...m represent the horizontal projection histogram of a person silhou- ette, where i denotes the bin index of the histogram, x, is the x-coordinate of the ith 273 bin on the histogram map, and Yi is its y-coordinate. We intend to find a smooth curve (function) to model the data points (Xi, Yi). Mathematically, this is a nonlinear least-squares regression problem. This problem can be solved by minimizing X2, which is the sum of the squared residuals over m experimental data points (Xi, Yi) for the model F( c, x), specified by m X2 = 2:)Yi - F(c, X.;))2 (3) i=l The parameters of the model are in the vector c = {co, Cl, ... }. The model F( c, x) used in this algorithm is a Gaussian model, whose term number equals to the number of persons in the occlusion. The number of persons in the occlusion can be easily determined by the occlusion-detection component. For instance, if we know that there are two persons involved in the occlusion, the applied Gaussian model would have two terms, and would be written as: (X - C2)2 (x - C5)2 F(C,X)=Clexp(- 2 )+C4exP(- 2)' (4) 2C3 2c6 The Levenberg-Marquardt optimization algorithm helps to solve the minimization problem mentioned above, returning the best-fit vector c and the covariance matrix of the individual components. Once we obtain all the parameters of F(c, x), the next step is to find the relative maximum (peak) points on these curves, each corresponding visually to the head of one person. Suppose that there is a point Xi, and there exists some E > 0 such that F( c, Xi) ~ F( c, Xj) for IXj - Xi I < E, the value of the F( c, Xi) is the relative maximum of the function. Our model is fully automatic, e.g., it can output two peak points when two persons are partially occluded, but provide only one peak point when they are completely occluded. 3.2 Recognize the people during the occlusion Apart from locating the person during the occlusion, it is also required to recognize the person. We base our recognition technique on the template-matching approach using color histogram distributions [1]. Assuming that there are n templates for n persons, and all the templates are generated and maintained by the mean-shift algorithm prior to the occurrence of occlusion. The probability of the feature {u;} i=l...m iu tlie '11'" template is i; (Ui)' Here, Ui represents the color histogram distribution and i denotes the bin number of the histogram. Furthermore, we use the same technique to model the appearance of the blobs obtained by the people-locating module, and represent them by Wj(Ui)' The aim of template matching is to find the best match to the template. Mathematically, finding the best match means maximizing the correspondence between the templates and the blobs in the occlusion, so that we compute (5) The term P(Wj(Ui), Tn(ui)) is a metric to mea.sure the matching between the tem- plates a.nd the target candidate. For metric p, the Bhattacharyya coefficient [1] is used. 274 3.3 Improvement The algorithm in this paper further improves the regression-based occlusion handling algorithm proposed in [3J. Om contributions here are twofold. Firstly, we extend the algorithm so that it can solve the occlusion caused by more than two persons. Suppose three people are occluded with each other, the regression function will be a three- mixture Gaussian of which 9 parameters need to be computed, within the expression In this case, it is required to deal with an overfitted regression problem, occurring when people are nearly coinciding. Such a situation is not observed in the two-people occlusion case. The reason can be explained as follows. When three people are going to occlude (Fig. 2:left), the number of peaks in foreground would be less than three (see Fig. 2:middle for an example) sometimes. For this case, our regression model may still give three peak points, since we use a three-Gaussian model to fit the projected silhouette (Fig. 2:right). Here, we have designed a heuristic model that employs the in- formation obtained from the object-segmentation part to solve this overfitting problem. More specifically, for each detected local maximum point, we turn to the foreground image and compute the probability that the local maximum is at the top of a person's head position in the context of the number of foreground pixels surrounding this local maximum point. The idea can be formulated as follows. Suppose the local maximum point is (xm,Ym) L (1 - Ó(L(Xi, Yi))) _ (xi,Yi)Hl P( Xm, Ym) - .:...-'.::::..:..:.---N----- (7) L('.. .) = {I if (Xi, Yi) is a foreground pixel, .r." v. 0 otherwise. (8) P(Xm, Ym) is the probability that the local maximum (xm, Ym) is a person head posi- tion. n is the neighborhood of the local maximum (xm, Ym) whose size can be defined by the user. We have used a 11 x 11 block here. N is the number of pixels in the neighborhood and parameter Ó (-) denotes the Kronecker delta function. After calcu- lating the P(xm, Ym), we can compare it with the predefined threshold and decide if the detected local maximum is a person's head position. Fig. 2 shows that we successfully detect the overfitting and the local maximum caused by overfitting is not regarded as one person's position. The recognition step in [3J is only based on the color histogram of the object. However, if two people wear clothes with a similar color, the algorithm may not provide good results. Therefore, we have added a Kalman filter to handle this case. The Kalman filter is a set of mathematical equations that provide an efficient computational (recursive) means to estimate the state of a process, in a way that minimizes the mean of the squared error. When occlusion happens, we first compare the color models of the occluded people. If it is impossible to distinguish persons by looking at their appearance calor only, the Kalman filter will make predictions based on their past moving tendency. Fig. 3 shows our system can successfully deal with similar object-color cases. 275 Figure 2: Overfitting Handling. The left picture is the original video frame; the middle picture shows the segmentation result; the right picture visualizes the regression result (red curve) and detectedlocal maximum points (two bright points at the top). Figure 3: Kalman filter. Two people wear clothes with similar color. The left picture is the scene prior to occlusion; the middle picture shows the scene during occlusion; the right picture is the scene after occlusion. 4 Experimental Results The tracking in the video surveillance system has been tested for four video clips (each one has more than 1000 frames) captured by a SONY DFW-X710 firewire camera. In our dataset, we have designed two oCc!Ublullsccnarioo, using two anr] t.hrf:f: people in the scene. Tn our test set, the video sequences had 320 x 240 (CIF) resolution with 15-Hz frame rate. We have compared our system with the mean-shift algorithm and the particle-filter algorithm (200 particles per object). Table 1 shows the performance of those tracking algorithms during occlusions. The ground-truth data was manually generated. The evaluation criterion is that at least 70% of the human body is included in the detection window. To sum up, the mean-shift algorithm achieves an average of 73.88% tracking accuracy during the occlusion events. The particle-filter algorithm achieves an average Table 1: Comparison of tracking algorithms. Type Mean shift Particle filter Our algorithm Clip1 two people 80.6% 99.5% 99% Clip2 two people 54.8% 99.2% 92.1% Clip3 three people 90.1% 8l.l% 90% Clip4 three people 70% 85% 93% 276 Figure 4: Two-people occlusion handling. Left: prior to occlusion; middle: during occlusion; right: after occlusion. Figure 5: Three-people occlusion handling. Left: prior to occlusion; middle: during occlusion; right: after occlusion. of 91.2% accurate rate, and our regression-based algorithm is correct for 93.5% of the frames when the occlusion occurs. Fig. 4 and Fig. 5 portray two examples where Fig. 4 highlights the two-people occlusion. Fig. 5 shows that our algorithm succeeds in handling the occlusion case caused by three persons. Fig. 6 gives the time consumed for each tracking algorithm during the occlusion, and also the execution times of the complete system. In the occlusion situation, the average execution times per frame for the tracking component of mean-shift, particle- filter and our technique are 20.45, 504.92 and 9.07 ms, respectively. Moreover, the execution times per frame for the complete algorithm including object segmentation, object tracking and trajectory generation, are 54.52,553.78 and46.77 ms, respectively. The experiments were performed on a P-IV 3GHz Pc. The right graph in Fig. 6 indi- cates at the bottom that our proposal is a near real-time system with small fluctuations between successive frames. 5 Conclusions In this paper, we have further improved a previously proposed [3]non-linear regression- based occlusion handling algorithm for video tracking. The improvement is that our new algorithm can successfully handle three-people occlusion cases by solving an over- fitted regression problem. The solution is based on designing a heuristic model to calculate the probability of maximum points at the top of a person's silhouette gener- ated by overfitting. We have also added a Kalman filter to the tracker so that it can solve the occlusion even if occluded people wear similarly colored clothes. Compared 277 100 Occlusion Handling Efficiency 540 100 GOO System Efficiency 90 520 90 80 "0 0 70 500 80 ....... Mean..shilt J; J:: ~ ~0 60 ....... Mean .. hift ~Our method 500 50 480 70 ~ ..... Particle 40 2 110 • E 30 4&0 j: 20 440 10 420 1 3 5 7 9 11131517 1921 23252729 Frame 1 4 7 to 13 ts 19 22 25 28 31 34 374043 46 49Frame Figure 6: System efficiency. Left: running time of the algorithm during the occlusion. Right: running time of the whole system. to other tracking techniques [1] [2], the correct rate of person location of our technique is sometimes 10% higher than the particle-filter and sometimes equal in performance (90-99%) and clearly higher than the popular mean-shift algorithm. The new algorithm has an attractive fast execution which is about 10-20 times faster than the particle-filter algorithm. References [1] D. Comaniciu, V. Ramesh and P. Meer, "Kernel-Based Object Tracking," IEEE Trans. PAMI, vol. 25, no. 5, pp. 564-577, 2003. [2] K. Nummiaro, E. Kollor-Meier anel L. Van gool, "A Color-Based Particle Filter," First International Workshop on Cenerative-Model-Based Vision, ill conjunction with ECCV'02, pp. 53-60, 2002. [3] J. Han, M. Feng and P. H.N. de With, "A Real-Time Video Surveillance System with Human Occlusion Handling Using Nonlinear Regression," International Con- ference on Multimedia & Expo (ICME), 2008. 278